public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI
@ 2011-12-05 10:58 Christian Riesch
  2011-12-05 10:58 ` [U-Boot] [PATCH v5 1/6] spl: display_options.o is required for SPI flash support in SPL Christian Riesch
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: Christian Riesch @ 2011-12-05 10:58 UTC (permalink / raw)
  To: u-boot


Hi,
this is v5 of the last part of my recent patchset

[PATCH v3 00/15] Add an SPL to boot the da850evm from SPI
http://lists.denx.de/pipermail/u-boot/2011-November/111182.html

Most of the other parts are already merged, together with
this patchset they introduce an SPL for the da850evm to run
u-boot directly without the need of a UBL (see doc/README.davinci).

The first patches fix dependencies and introduce a function
to load the u-boot image from SPI flash. Patch #4 adds an
SPL to the da850evm configuration. Finally, a simple
AIS (Application Image Script) is required to start the SPL.
This AIS is generated by mkimage. Patch #5 fixes mkimage for building
AIS. Finally the last patch introduces a u-boot.ais target in the 
Makefile.

This patchset applies on top of git://git.denx.de/u-boot-ti.git

Changes for v5:
- changed formatting (indentation) of the $(obj)u-boot.ais target in 
  the Makefile
- removed useless '0 | ... ' from include/configs/da850evm.h
- added Acked-bys

Changes for v4:
- added documentation for the SPL to doc/README.davinci
- split patchset because it got too big
- use COBJS-$(CONFIG_SPL_SPI_LOAD) instead of ifdefs in
  drivers/mtd/spi/Makefile
- use __noreturn instead of __attribute__((noreturn))
- added Acked-by

Changes for v3:
- removed noise and hardcoded values from drivers/mtd/spi/spi_spl_load.c
- replaced $(PAD_TO) in Makefile by $(CONFIG_SPL_MAX_SIZE)

Major changes for v2:
- Added code that actually loads u-boot from SPI flash and starts it.

To build run
   make da850evm_config
   make u-boot.ais
Then program u-boot.ais to the SPI flash on the da850evm.

Best regards,
Christian

Cc: Heiko Schocher <hs@denx.de>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
Cc: Tom Rini <trini@ti.com>

Christian Riesch (6):
  spl: display_options.o is required for SPI flash support in SPL
  sf: Add spi_boot() to allow booting from SPI flash in an SPL
  arm, davinci: Add SPL support for DA850 SoCs
  arm, da850evm: Add an SPL for SPI boot
  mkimage: Fix variable length header support
  arm, davinci: Add support for generating AIS images to the Makefile

 .gitignore                              |    1 +
 Makefile                                |   13 ++++
 arch/arm/cpu/arm926ejs/davinci/Makefile |    3 +-
 arch/arm/cpu/arm926ejs/davinci/spl.c    |   34 +++++++++++-
 board/davinci/da8xxevm/da850evm.c       |    4 +-
 board/davinci/da8xxevm/u-boot-spl.lds   |   73 +++++++++++++++++++++++
 doc/README.SPL                          |    1 +
 doc/README.davinci                      |    9 +++
 drivers/mtd/spi/Makefile                |    4 +
 drivers/mtd/spi/spi_spl_load.c          |   58 ++++++++++++++++++
 include/configs/da850evm.h              |   87 +++++++++++++++++++++++++++
 include/spi_flash.h                     |    3 +
 lib/Makefile                            |    2 +
 tools/mkimage.c                         |   97 ++++++++++++++++---------------
 14 files changed, 338 insertions(+), 51 deletions(-)
 create mode 100644 board/davinci/da8xxevm/u-boot-spl.lds
 create mode 100644 drivers/mtd/spi/spi_spl_load.c

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2011-12-09 10:36 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 10:58 [U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI Christian Riesch
2011-12-05 10:58 ` [U-Boot] [PATCH v5 1/6] spl: display_options.o is required for SPI flash support in SPL Christian Riesch
2011-12-05 10:58 ` [U-Boot] [PATCH v5 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL Christian Riesch
2011-12-05 19:33   ` Scott Wood
2011-12-05 19:56     ` Mike Frysinger
2011-12-05 20:03       ` Tom Rini
2011-12-05 21:23         ` Mike Frysinger
2011-12-05 10:58 ` [U-Boot] [PATCH v5 3/6] arm, davinci: Add SPL support for DA850 SoCs Christian Riesch
2011-12-05 10:58 ` [U-Boot] [PATCH v5 4/6] arm, da850evm: Add an SPL for SPI boot Christian Riesch
2011-12-05 15:19   ` Tom Rini
2011-12-05 10:58 ` [U-Boot] [PATCH v5 5/6] mkimage: Fix variable length header support Christian Riesch
2011-12-05 10:58 ` [U-Boot] [PATCH v5 6/6] arm, davinci: Add support for generating AIS images to the Makefile Christian Riesch
2011-12-05 20:05 ` [U-Boot] [PATCH v5 0/6] Add an SPL to boot the da850evm from SPI Tom Rini
2011-12-06 16:46   ` Tom Rini
2011-12-06 17:08     ` Christian Riesch
2011-12-06 17:14       ` Tom Rini
2011-12-06 17:32         ` Christian Riesch
2011-12-06 17:34           ` Tom Rini
2011-12-06 22:17             ` Tom Rini
2011-12-07  9:32               ` Christian Riesch
2011-12-09 10:36                 ` Christian Riesch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox