AnsweredAssumed Answered

Linux booting on MCIMX28EVK

Question asked by Pt A R on Jul 9, 2014
Latest reply on Jul 10, 2014 by Pt A R

Hi Qiang Li - Mpu Se, raymond wang, JackLee1z igorpadykov Yixing Kong

alejandrolozano  William Huang PeterChan

 

I am using MCIMX28EVK board. I have used the script mk_mx28_sd to load uboot (imx28_ivt_uboot.sb) and rootfs on the SD card.


./mk_mx28_sd -u /dev/sdb


I need to configure u-boot to  boot the kernel from the SD card.  I used u-boot commands to boot(boot,bootm).

But linux image is not loading.


/* terminal message*/


PowerPrep start initialize power...

Battery Voltage = 4.24V

boot from battery. 5v input not detected

May 20 201412:16:00

FRAC 0x92925552

memory type is DDR2

Wait for ddr ready 1power 0x00820710

Frac 0x92925552

start change cpu freq

hbus 0x00000003

cpu 0x00010001

 

 

 

 

U-Boot 2009.08 (Jun 03 2014 - 16:56:55)

 

 

Freescale i.MX28 family

CPU:   454 MHz

BUS:   151 MHz

EMI:   205 MHz

GPMI:   24 MHz

DRAM:  128 MB

MMC:   IMX_SSP_MMC: 0, IMX_SSP_MMC: 1

In:    serial

Out:   serial

Err:   serial

Net:   got MAC address from IIM: 00:04:9f:02:b6:94

FEC0

Hit any key to stop autoboot:  0

MX28 U-Boot > boot

Unknown command 'console=ttyAM0,115200' - try 'help'

MX28 U-Boot > bootm

Wrong Image Format for bootm command

ERROR: can't get kernel image!

MX28 U-Boot >


The printenv commands displays the following messages


MX28 U-Boot > printenv

ipaddr=192.168.1.103

serverip=192.168.1.101

netmask=255.255.255.0

bootcmd_net=run bootargs_nfs; dhcp; bootm

bootcmd_mmc=run bootargs_mmc; mmc read 0 ${loadaddr} 100 3000; bootm

ethact=FEC0

bootdelay=5

bootargs_mmc=console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait ip=none ssp1

bootcmd=run bootargs_mmc

bootargs_nfs=/boot/uImage

nfsroot=/tools/rootfs

bootfile=uImage

baudrate=115200

kernel=uImage

loadaddr=40000000

bootargs=noinitrd console=ttymxc0,115200 init=/linuxrc root=/dev/nfs nfsroot=10.29.244.27:/tftpboot/rootfs ip=dhcp

bootargs_base=setenv bootargs console=ttyAM0,115200

stdin=serial

stdout=serial

stderr=serial

ver=U-Boot 2009.08 (Jun 03 2014 - 16:56:55)

 

 

Environment size: 670/130044 bytes

 

How can I configure u-boot to be able to boot the linux image from sd?

 

Regards

Pt A R

Outcomes