AnsweredAssumed Answered

Yocto - u-boot for iMX6UL EVK

Question asked by nickbedbury on Mar 14, 2018
Latest reply on Mar 22, 2018 by nickbedbury

I'm getting started with the NXP Yocto stuff.  I've followed the tutorials and built "core-image-base" and other recipes.


In the tmp/deploy/images/imx6ulevk/ directory of my Yocto repo, there are u-boot files/links like so:

Files generated by bitbake

I'm not exactly sure which recipe these files came from, but I assume the .img is a bootable binary.  This is the output for "file" info:

$ file u-boot-sd-v2017.11+gitAUTOINC+ca0c3f3fac-r0.img
u-boot-sd-v2017.11+gitAUTOINC+ca0c3f3fac-r0.img: u-boot legacy uImage, U-Boot 2017.11+fslc+gca0c3f3 for\270, Firmware/ARM, Firmware Image (Not compressed), 344176 bytes, Tue Mar 13 14:19:51 2018, Load Address: 0x87800000, Entry Point: 0x00000000, Header CRC: 0x0F9794F0, Data CRC: 0x01F24B80


Therefore I tried this command to write u-boot to an SD:

sudo dd if=u-boot-sd-v2017.11+gitAUTOINC+ca0c3f3fac-r0.img of=/dev/mmcblk0 seek=2 bs=512


But after powering up the EVK with the SD, I see nothing happening on the serial if it's never running u-boot.


Can I use the .img file to boot my EVK?  If so, how?  It's unclear if I got something wrong with the "dd" command, or am trying to use the wrong file.