Enable returning back to BootROM from spear SPL
Get series with b4
b4 am 20190507145210.7c1513a9@xps13Versions newest first
- v1 Latest0 of 12 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 12 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 00/12] Enable returning back to BootROM from spear SPL
Hi Stefan,
Stefan Roese <[email protected]> wrote on Tue, 7 May 2019 14:50:02 +0200:
Quoted 19 lines · Miquel Raynal
Quoted 18 lines
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.
Quoted 7 lines
Quoted 1 line
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).
Absolutely no problem, thanks for reviewing!
Miquèl