
22 Jan
2021
22 Jan
'21
3:32 p.m.
On Fri, Jan 22, 2021 at 9:23 PM Amit Tomar atomar25opensource@gmail.com wrote:
Can I load the modified u-boot binary from the currently running u-boot command line?
Yes, U-boot supports chain loading.
On host machine you can use ckermit[1] program to load U-boot image using serial or you can use tftp to load modified U-boot image at SYS_TEXT_BASE address. Once the image is loaded , you can bootm "SYS_TEXT_BASE".
I think this only works if SYS_TEXT_BASE is a RAM address, which is mostly the case for boards that don't run U-Boot from NOR flash after POR.
Regards, Bin