This shows you the differences between two versions of the page.
ass:labs-2025:03:tasks:01 [2025/08/06 12:54] florin.stancu |
ass:labs-2025:03:tasks:01 [2025/08/06 12:56] (current) florin.stancu |
||
---|---|---|---|
Line 138: | Line 138: | ||
Afterwards, [re]compile u-boot, copy the u-boot ''.bin'' files again to the ''imx-mkimage'' directory and regenerate your ''flash.bin''. | Afterwards, [re]compile u-boot, copy the u-boot ''.bin'' files again to the ''imx-mkimage'' directory and regenerate your ''flash.bin''. | ||
- | Test it by booting your new firmware using ''uuu''. Did it work? if not, you may need to repeat this process (this is where a script comes in handy!). | + | Test it by booting your new firmware using ''uuu''. |
+ | Try using ''run linux'' to run the ''linux'' script (if you used that), otherwise edit the ''bootcmd'' to do that automatically after the timeout! | ||
+ | Did it work? if not, you may need to repeat this process (this is where a script comes in handy!). | ||
+ | Note that real devices have their uboot configuration proceed automatically with booting the OS if a physical button is NOT pressed (remember those old Android phones? you could stop this process by holding several volume keys together!). You can script this using GPIO, but it's out of scope for today. | ||