Hi,
I am using Imx6q Sabre board.
I was successful in building a dfb image using
fsl-arm-yocto-bsp.git - Freescale i.MX Yocto Project manifests
But I was unable to boot the board after copying the kernel zimage to board.
So, I read a blog and converted the zImage and dtb file to uImage format but still unable to boot.
Please help me.
Regards,
Subodh
Follow the link in mt previous comment.
Just enter the mentioned address (0x1008000) in mkimage.
No need to change anything for DTB files.
Once image is ready, follow the prodecure for SD Card creation.
Following are my uboot params, I think I had to change an address offset and confirm the card detected to set root=
setenv loadaddr 0x12000000
setenv fdt_addr 0x18000000
setenv fdt_high 0xffffffff
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk2p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'
setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read ${loadaddr} 0x800 0x4000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - ${fdt_addr}'
setenv bootcmd 'run bootcmd_mmc'
run bootcmd
Hopefully that should fix the problem if you are using the yocto built kernel directly.
Currently I am using following uboot parameters with uImage
setenv loadaddr 0x12000000
setenv fdt_addr 0x18000000
setenv fdt_high 0xffffffff
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'
setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read ${loadaddr} 0x800 0x4000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - ${fdt_addr}'
setenv bootcmd 'run bootcmd_mmc'
run bootcmd
Converted the kernel using the following link, used the address as 0x1008000
How to convert a zImage into uImage for booting with u-boot - Unix & Linux Stack Exchange
Please verify and comment on the solution I found.