
Hi,
I have not yet factored out the general elements of SPL direct boot. ATM i don't have the time - so if someone wants to take it :)
If not this will have to wait, maybe until next year.
Regards Simon
On 12/13/2011 11:20 AM, Simon Schwarz wrote:
Adds direct Linux boot to SPL. It implements a spl export command to save ATAGS or FDT to NAND flash. The kernel image has to be in place for this!
Changes in V10:
- spl_start_uboot replaces spl_uboot_key and is defined weak
- if the linux image is not found a normal u-boot is started
- some minor changes
based on:
- Prep subcommand patch for arm
Please test this patch - there have been major changes!
Simon Schwarz (7): Add cmd_spl command devki8000: add config for spl command omap-common: Add NAND SPL linux booting devkit8000/spl: init GPMC for dm9000 in SPL omap-common/spl: Add linux boot to SPL omap/spl: change output of spl_parse_image_header devkit8000: Implement and activate direct OS boot
arch/arm/cpu/armv7/omap-common/spl.c | 51 ++++++- arch/arm/cpu/armv7/omap-common/spl_nand.c | 75 ++++++++-- arch/arm/include/asm/omap_common.h | 3 + board/timll/devkit8000/devkit8000.c | 57 ++++++- common/Makefile | 1 + common/cmd_spl.c | 229 +++++++++++++++++++++++++++++ doc/README.commands.spl | 31 ++++ include/cmd_spl.h | 30 ++++ include/configs/devkit8000.h | 15 ++- include/image.h | 2 + 10 files changed, 464 insertions(+), 30 deletions(-) create mode 100644 common/cmd_spl.c create mode 100644 doc/README.commands.spl create mode 100644 include/cmd_spl.h