Reputation: 1086
I have an iMX8M Mini SoM from Embedian on their carrier board. I want to use the latest Yocto Zeus build, kernel 5.4.24, which requires u-boot to be updated. I followed Embedian's instructions but I am still having issues. When I power on the board I do not get any output on the serial connection, SER3, and this connection is confirmed working from using the onboard u-boot version. Here are the steps I took:
bitbake virtual/bootloader
sudo dd if=u-boot.bin of=/dev/sdb bs=1024 seek=33
I verified that /dev/sdb
is the correct device from lsblk
and tried writing other files for if=<file name>
as well. The instructions on their website say the boot loader file should be called imx-boot-<machine name>-sd.bin-flash_evk
but this file does not exist under the ".../deploy/images/<name>" directory. By shorting TEST# the carrier board is suppose to boot from the SD card but I do not get any output from the serial connection.
Thank you to user @elcfd for the solution. For other users if imx-boot-<machine name>-sd.bin-flash_evk
does not appear after running bitbake imx-boot
then run bitbake -c cleanall virtual/bootlaoder
and bitbake -c cleanall imx-boot
. After that run the bitbake imx-boot
command and the file will then appear.
Upvotes: 0
Views: 930
Reputation: 46
On the NXP boards u-boot can be described as a "container" which holds several different binaries. Your Yocto command is only building u-boot and not the u-boot "container". The command you want to run is bitbake imx-boot
and this will generate the boot-<machine name>-sd.bin-flash_evk
file you are looking for.
Upvotes: 3