From: Simon Schwarz Date: Wed, 24 Aug 2011 12:39:15 +0200 Subject: [U-Boot] [PATCH V2 0/8] SPL Linux boot In-Reply-To: <1313073896-12952-1-git-send-email-simonschwarzcor@gmail.com> References: <1313073896-12952-1-git-send-email-simonschwarzcor@gmail.com> Message-ID: <1314182363-25732-1-git-send-email-simonschwarzcor@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Adds direct Linux boot to SPL. It implements a savebp command to save ATAGS or FDT to NAND flash. The kernel image has to be in place for this! checkpatch whines about not using strict_strtoull - since this is not available - I can't change this. V2 changes: FIX FDT creation ADD Readme based on: - The new SPL layout - OMAP3 new SPL layout (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105260) Related to: - http://article.gmane.org/gmane.comp.boot-loaders.u-boot/102669 Simon Schwarz (8): arm: Add Prep subcommand support to bootm Add savebp command arm: Add savebp implementation for arm omap-common/spl: Add linux boot to SPL devkit8000/spl: init GPMC for dm9000 in SPL omap-common: Add NAND SPL linux booting omap-common: fixes BSS overwriting problem savebp: added Readme arch/arm/cpu/armv7/omap-common/spl.c | 49 +++++++++- arch/arm/cpu/armv7/omap-common/spl_nand.c | 63 +++++++++--- arch/arm/include/asm/omap_common.h | 2 + arch/arm/include/asm/savebp.h | 27 +++++ arch/arm/lib/Makefile | 1 + arch/arm/lib/bootm.c | 116 ++++++++++++---------- arch/arm/lib/savebp.c | 91 ++++++++++++++++++ board/timll/devkit8000/devkit8000.c | 33 +++++-- common/Makefile | 1 + common/cmd_bootm.c | 2 +- common/cmd_savebp.c | 149 +++++++++++++++++++++++++++++ doc/README.commands.savebp | 28 ++++++ include/command.h | 5 + include/configs/devkit8000.h | 14 +++- 14 files changed, 499 insertions(+), 82 deletions(-) create mode 100644 arch/arm/include/asm/savebp.h create mode 100644 arch/arm/lib/savebp.c create mode 100644 common/cmd_savebp.c create mode 100644 doc/README.commands.savebp -- 1.7.4.1