On 07.05.19 14:18, Miquel Raynal wrote:
Spear machines currently have only the possibility to boot from NOR
while an interesting alternative exist: booting from USB. For this,
the BootROM will enumerate an USB device and wait for a RAM driver
(likely, the SPL). It will load the driver in SRAM and jump to
it. Once the initialization done, the SPL must return back into the
BootROM so that another enumeration occurs allowing the user to upload
the full Bootloader (eg. U-Boot). The BootROM will finally load the
file in RAM and jump into it.
Most of the patches are cleanups and preparation work to ease the
reading of the main assembly file.
The last patch is a fallback on USB Boot if the NOR is empty or
corrupted. Of course if USB boot has not been enabled, nothing will
happen.
Tested on a custom board featuring a SPEAr600.
Hope this change will find users!
Many thanks for working on this and improving the neglected SPEAr
U-Boot port. It's quite some time since I worked on this platform
and I still do have a x600 board hidden somewhere. Frankly, if
there is no real need I will not dig this board up to update and
test a new U-Boot version on it (sorry).
Thanks,
Stefan
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot