Project

General

Profile

flash script needs to boot enable the device

Added by Nathan Wright about 6 hours ago

Fyi we recently discovered the flash script located here...

https://support.criticallink.com/gitweb/?p=meta-mitysom.git;a=blob;f=recipes-devtools/mitysom-auto-flash-emmc/files/mitysom-am62x/flash.sh;h=11d09737f57e5e5bdfd8533e1fa2374a5ed123c0;hb=72802113c772aa5c8697846984a2e81a4ee5302d

...has a minor hole you might want to update.

We did not notice it at first because our dev board SOM had these steps completely manually in the development of the process.
But on brand new SOMs, the script does not succeed at making the emmc bootable.

We had to add these steps...
1. add mmc-utils to the image recipe
2. add this step to the script after the md5 hash check

#######################
# Boot enable the device
#######################
echo "Enable the emmc as a boot device" 
mmc bootpart enable 1 1 ${mmc_dev}
mmc bootbus set single_backward x1 x8 ${mmc_dev}

That is all. Thanks!


Go to top
Add picture from clipboard (Maximum size: 1 GB)