iMX53- QSB can't get kernel image!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX53- QSB can't get kernel image!

905 Views
rajsanghavi
Contributor I

Hi,

I have iMX53 QSB.

I have downloaded Ubuntu VM from freescale site. Along with it a pre-built  image for iMX53 QSB board is available.

So with the help of manual I burn this image (ubuntu_start_board.bin) into 4GB SD Card with help of following command

sudo dd if=/home/lucid/Desktop/ubuntu_start_board.bin of=/dev/sdb

But I am getting following error can't get kernel image!.

Please help me regarding same. Am I missing anything while following document. I am attaching document with this post.

U-Boot 2009.08 (Oct 20 2011 - 13:11:26)

CPU:   Freescale i.MX53 family 2.1V at 800 MHz

mx53 pll1: 800MHz

mx53 pll2: 400MHz

mx53 pll3: 432MHz 

mx53 pll4: 455MHz

ipg per clock : 33333333Hz

uart clock : 66666666Hz

cspi clock 108000000Hz

ahb clock  133333333Hz

axi_a clock   : 400000000Hz

axi_b clock   : 200000000Hz

emi_slow clock:da9052_i2c_is_connected - i2c write success....

Serial reinitilized!

Net:   got MAC address from IIM: 00:04:9f:01:db:da

FEC0 [PRIME]

Hit any key to stop autoboot:  0

MMC read: dev # 0, block # 2048, count 6144 ... Card did not respond to voltage select!

MMC: block number 0x2000 exceeds max(0x0)

0 blocks read: ERROR

Wrong Image Format for bootm command

ERROR: can't get kernel image!

Following is log from printenv:

baudrate=115200

loadaddr=0x70800000

netdev=eth0

ethprime=FEC0

uboot=u-boot.bin

kernel=uImage

ethact=FEC0

bootcd=run bootcmd_mmc

bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

bootcmd_net=run bootargs_base bootargs_nfs; tftpboot ${loadaddr} ${kernel}; bootm

bootcmd_mmc=run bootargs_base bootargs_mmc; mmc read ${loadaddr} 0x800 0x1800; bootm

bootargs_mmc=set bootargs ${bootargs} root=/dev/mmcblk0p1 rw rootwait

vga=setenv bootargs console=ttymxc0,115200 video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga

bootcmd_obds=ext2load mmc 0:1 0x70800000 /unit_tests/obds.bin; go 70800000

nfsroot=/tftpboot/rootfs

lcd=video=mxcdi0fb:RGB24,SEIKO-WVGA di0_primary

lvds=video=mxcdi0fb:RGB666,XGA di0_primary ldb=di0

bootcmd=run bootcmd_mmc

bootfile=uImage

fileaddr=70800000

netmask=255.255.254.0

hdmi=setenv bootargs console=ttymxc0,115200 video=mxcdi0fb:RGB24,1024x768M@60 hdmi di0_primary

serverip=192.168.0.1

ipaddr=192.168.0.2

gatewayip=192.168.0.1

bootargs_base=setenv bootargs console=ttymxc0,115200 gpu_nommu ${vga}

dnsip=192.168.0.1

bootdelay=3

stdin=serial

stdout=serial

stderr=serial

bootargs=console=ttymxc0,115200 gpu_nommu setenv bootargs console=ttymxc0,115200 video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga root=/dev/mmcblk0p1 rw rootwait

Environment size: 1289/8188 bytes

Thanks in advance.

Raj Sanghavi

Labels (2)
Tags (1)
0 Kudos
5 Replies

680 Views
Yuri
NXP Employee
NXP Employee

  According to the message from the log

"MMC read: dev # 0, block # 2048, count 6144 ... Card did not respond to voltage select!"


there is no proper card inserted to SD port 0.

Is Your SD card located there (in slot 0) ?


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

680 Views
rajsanghavi
Contributor I

HI Yuri,

Thanks for valuable reply.

I changed dev #0 to dev #1 and my board just started working as of now.

I used following command to do this thing

setenv bootcmd_mmc 'run bootargs_base bootargs_mmc; mmc dev 1;mmc read ${loadaddr} 0x800 0x1800; bootm'

bootargs=console=ttymxc0,115200 gpu_nommu setenv bootargs console=ttymxc0,115200 video=mxcdi0fb:RGB24,1920x1080M@60 hdmi di0_primary root=/dev/nfs ip=dhcp nfsroot=10.2

9.240.144:/tftpboot/rootfs,v3,tcp

setenv bootargs 'console=ttymxc0,115200 gpu_nommu ${lvds}'

Though my board is booting now, to understand things correctly can you please guide me why I have to change dev #0 to dev#1 and what these above command needed.

Thanks in advance.

Raj sanghavi

0 Kudos

680 Views
Yuri
NXP Employee
NXP Employee

Looks like Your boot device is SD port 1 (0,1, ...).
And the modififation from dev #0 to dev #1 is correct

in such case.

Regards,

Yuri.

0 Kudos

680 Views
rajsanghavi
Contributor I

Hi yuri,

Thanks a lot for help

Raj sanghavi

0 Kudos

680 Views
rajsanghavi
Contributor I

Sorry I forgot to mention that I am using SD card and not micro SD card.

Thanks a lot

0 Kudos