From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Date: Tue, 7 May 2019 14:52:10 +0200 Subject: [U-Boot] [PATCH 00/12] Enable returning back to BootROM from spear SPL In-Reply-To: <5cb343aa-9981-6d36-f9fc-98c0a16209c9@denx.de> References: <20190507121854.18575-1-miquel.raynal@bootlin.com> <5cb343aa-9981-6d36-f9fc-98c0a16209c9@denx.de> Message-ID: <20190507145210.7c1513a9@xps13> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de Hi Stefan, Stefan Roese wrote on Tue, 7 May 2019 14:50:02 +0200: > 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. > >=20 > > Most of the patches are cleanups and preparation work to ease the > > reading of the main assembly file. > >=20 > > 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. > >=20 > > Tested on a custom board featuring a SPEAr600. > >=20 > > Hope this change will find users! =20 >=20 > 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=C3=A8l