[U-Boot] [RFC PATCH 0/8] da850evm: Add SPL support for booting from SPI flash
Christian Riesch
christian.riesch at omicron.at
Tue Nov 15 11:37:24 CET 2011
Hi all,
Heiko Schocher added patches for the low level configuration
of the DA850 SoCs and I would like to use this code on my board. At the
same time I would like to add support for this low level configuration
for the da850evm board. This makes it possible to test/use the
lowlevel functions also for developers who don't have access neither to
Heiko's board nor to mine.
The patchset aims at implementing SPL support for the da850evm
configuration to allow booting this board from SPI flash without
using the UBL (see doc/README.davinci).
This patchset is not a complete implementation, it is missing the
code that is actually used to load u-boot from SPI flash to the
DDR memory. The code just hangs after the initialization is done. But
I submit it nevertheless as RFC and I am looking forward to your comments.
The patches apply on top of git://git.denx.de/u-boot-ti.git and Heiko's
patches
arm, arm926ejs: always do cpu critical inits
http://patchwork.ozlabs.org/patch/124787/
arm, davinci: da850/dm365 lowlevel cleanup
http://patchwork.ozlabs.org/patch/124788/
To build run
make da850evm_config
make tools
make u-boot.ais
Then program u-boot.ais to SPI flash. The board responds with an
error message since we do hang() after the configuration.
Regards, Christian
Cc: Heiko Schocher <hs at denx.de>
Cc: Wolfgang Denk <wd at denx.de>
Cc: Sandeep Paulraj <s-paulraj at ti.com>
Cc: Nagabhushana Netagunte <nagabhushana.netagunte at ti.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
Christian Riesch (8):
arm, davinci: Move pinmux functions from board to arch tree
arm, davinci: Fix clear_bss for zero length bss
arm, davinci: Add SPL support for DA850 SoCs
arm: printf() is not available in the SPL
arm, davinci: Replace pinmuxing in da850_lowlevel.c
da850evm: Add a basic SPL for SPI boot
mkimage: Fix variable length header support
arm, davinci: Add support for generating AIS images to the Makefile
.gitignore | 1 +
Makefile | 7 ++
arch/arm/cpu/arm926ejs/davinci/Makefile | 5 +-
arch/arm/cpu/arm926ejs/davinci/da850_lowlevel.c | 34 +++----
.../arm/cpu/arm926ejs/davinci/pinmux.c | 0
arch/arm/cpu/arm926ejs/davinci/spl.c | 11 ++-
arch/arm/cpu/arm926ejs/start.S | 8 +-
arch/arm/include/asm/arch-davinci/hardware.h | 2 +
arch/arm/lib/eabi_compat.c | 3 +
board/davinci/common/Makefile | 2 +-
board/davinci/da8xxevm/da830evm.c | 2 -
board/davinci/da8xxevm/da850evm.c | 2 -
board/davinci/da8xxevm/hawkboard_nand_spl.c | 2 -
board/davinci/da8xxevm/u-boot-spl.lds | 73 +++++++++++++++
board/davinci/ea20/ea20.c | 2 -
include/configs/da850evm.h | 70 ++++++++++++++-
nand_spl/board/davinci/da8xxevm/Makefile | 6 +-
tools/mkimage.c | 97 ++++++++++----------
18 files changed, 239 insertions(+), 88 deletions(-)
rename board/davinci/common/davinci_pinmux.c => arch/arm/cpu/arm926ejs/davinci/pinmux.c (100%)
create mode 100644 board/davinci/da8xxevm/u-boot-spl.lds
More information about the U-Boot
mailing list