Minor correction: 2014-09-01 10:23 GMT+02:00 Guillermo Rodriguez Garcia <guille.rodrig...@gmail.com>: > Hi Juergen, > > I have just send a patchset to the list. > > My suggestion for the manual (perhaps at the end of section 5, Bring > in the Bootloader Barebox), could be something similar to this: > > === > It is possible to install Barebox to the Mini2440 NOR flash memory in > order to use it as a fall-back or rescue bootloader, in case the main > copy of Barebox in the NAND flash is corrupted. This step is optional > -- you can also leave the default vivi bootloader in NOR. > > To install Barebox to NOR, you can just use the following command: > > mini2440:/ update -t barebox -d nor > > Note that the NOR flash is internally disabled when the Mini2440 boots > from NAND. It will only work:
"It will only work" -> "So the above command will only work" Guillermo > > - If the system boots from NOR and the default vivi bootloader is then > used to download Barebox to RAM > - Once Barebox is installed to NOR, when the system boots Barebox > directly from NOR > > Since the copy of Barebox in NOR should only be used as a fall-back in > case the NAND flash is corrupted, by default the init script will not > autoboot Linux when the Mini2440 boots from NOR. Instead it will drop > you directly at the Barebox shell. > === > > Let me know if this is helpful. > > Guillermo > > 2014-08-29 12:26 GMT+02:00 Guillermo Rodriguez Garcia > <guille.rodrig...@gmail.com>: >> 2014-08-29 12:20 GMT+02:00 Juergen Borleis <j...@pengutronix.de>: >>>> > Can you give me a patch based on the current git repository? And also >>>> > some notes I can add to the Mini2440 specific part of the documentation >>>> > about this feature? >>>> >>>> I assume you mean the current mini2440 git repository (using >>>> barebox-2011.05), not the current barebox repository. >>>> >>>> Yes, please give me 2-3 days to finish some stuff and I will send a >>>> patch and some notes to you. >>> >>> It depends. If you using the most recent Barebox its okay to provide the >>> patches for Barebox only. Then I will update the Barebox in the BSP as well. >>> This update is already on my todo-list for a long time, because I also want >>> to >>> support bootspec and better NFS support on the Mini2440 (which does not work >>> with the 2011 revision). >> >> I am actually using version 2013.10 of the BSP which uses >> barebox-2011.05 so if that's OK I will provide the patches based on >> that. >> >> Thank you, >> >> Guillermo Rodriguez Garcia >> guille.rodrig...@gmail.com > > > > -- > Guillermo Rodriguez Garcia > guille.rodrig...@gmail.com -- Guillermo Rodriguez Garcia guille.rodrig...@gmail.com