AnsweredAssumed Answered

Boot the  Yocto L3.10.17_1.0.0-ga in i.MX6Q-SABRESD.

Question asked by Keita Nagashima on May 19, 2014
Latest reply on May 21, 2014 by Keita Nagashima

Dear Sir or Madam,

 

Hello.

I tried to boot the Yocto L3.10.17_1.0.0-ga in i.MX6Q-SABRESD.

Building is succeeded.

But, can't get kernel image.

Please help me!!

 

====Steps=====

[Copying the Boot Loader Image]

sudo dd if=u-boot-imx6qsabresd_sd.imx of=/dev/sdb bs=512 seek=2 conv=fsync

 

[Copying the Kernel Image and DTB File]

sudo dd if=uImage_imx_v7_defconfig of=/dev/sdb bs=512 seek=2048 conv=fsync

sudo dd if=uImage-imx6q-sabresd.dtb of=/dev/sdb bs=512 seek=20480 conv=fsync

 

[Copying the Root File System (rootfs)]

I refer to "7.4 Copying the Root File System (rootfs)" in i.MX_6_SABRE-SD_Linux_User's_Guide.pdf

 

[Run the Image from MMC/SD]

U-Boot > setenv loadaddr 0x12000000

U-Boot > setenv fdt_addr 0x18000000

U-Boot > setenv fdt_high 0xffffffff

U-Boot > setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'

U-Boot > setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p2 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'

U-Boot > setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read ${loadaddr} 0x800 0x2000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - ${fdt_addr}'

U-Boot > setenv bootcmd 'run bootcmd_mmc'

U-Boot > saveenv

U-Boot > run bootcmd

 

[Error Log]

U-Boot > run bootcmd

mmc1 is current device

 

MMC read: dev # 1, block # 2048, count 8192 ... 8192 blocks read: OK

 

MMC read: dev # 1, block # 20480, count 2048 ... 2048 blocks read: OK

## Booting kernel from Legacy Image at 12000000 ...

   Image Name:   Linux-3.10.17-1.0.0_ga+g232293e

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    5260872 Bytes = 5 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... Bad Data CRC

ERROR: can't get kernel image!

U-Boot >

 

========

 

Best Regards,

Keita

Outcomes