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
V3 changes: FIX missing brackets 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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot