diff options
author | Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com> | 2015-01-23 09:54:14 +0100 |
---|---|---|
committer | Juergen Borleis <jbe@pengutronix.de> | 2015-01-31 07:49:34 +0100 |
commit | 36418fe1dfc631d3d24a0d848cc55e63b493a84d (patch) | |
tree | 9502af0a64361826da045fcecbcc364cab73d4c3 | |
parent | 061e8bf9eed99be3d6236f03b28d1faf39495034 (diff) | |
download | OSELAS.BSP-Pengutronix-Mini2440-36418fe1dfc631d3d24a0d848cc55e63b493a84d.tar.gz OSELAS.BSP-Pengutronix-Mini2440-36418fe1dfc631d3d24a0d848cc55e63b493a84d.tar.xz |
Docu/Platform/bootloader: mention the new NOR boot support in the manual
Signed-off-by: Guille Rodriguez <guille.rodriguez@gmail.com>
Acked-by: Juergen Borleis <jbe@pengutronix.de>
-rw-r--r-- | documentation/plain_sources/booting_the_mini2440.tex | 5 | ||||
-rw-r--r-- | documentation/plain_sources/updating_the_mini2440.tex | 26 |
2 files changed, 28 insertions, 3 deletions
diff --git a/documentation/plain_sources/booting_the_mini2440.tex b/documentation/plain_sources/booting_the_mini2440.tex index 5e8c4b9..b799941 100644 --- a/documentation/plain_sources/booting_the_mini2440.tex +++ b/documentation/plain_sources/booting_the_mini2440.tex @@ -49,8 +49,9 @@ all other supported media. \section{NOR Type Flash Memory} -As the NOR type flash memory is not supported in this board support package, -we skip its explanation here. +Starting the Mini2440 via this type of memory is intended as a fall-back or +rescue bootloader if everything else is broken. Its usage is not intended to +boot a regular Linux system. \section{NAND Type Flash Memory} \label{sec:nandflashmem} diff --git a/documentation/plain_sources/updating_the_mini2440.tex b/documentation/plain_sources/updating_the_mini2440.tex index 8d35fae..834740f 100644 --- a/documentation/plain_sources/updating_the_mini2440.tex +++ b/documentation/plain_sources/updating_the_mini2440.tex @@ -36,7 +36,31 @@ Note: This chapter is not finished yet. \section{NOR flash memory case} -Not yet supported. +It is possible to install Barebox to the Mini2440's 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: + +\begin{ptxshell}[escapechar=|]{^} +mini2440:/ update -t barebox -d nor +\end{ptxshell} + +Note that the NOR flash is internally disabled when the Mini2440 boots from +NAND. It will only work: + +\begin{itemize} + \item If the system boots from NOR and the default vivi bootloader is then + used to download Barebox to RAM + \item Once Barebox is installed to NOR, when the system boots Barebox + directly from NOR +\end{itemize} + +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. \section{NAND flash memory case} |