[U-Boot-Users] [PATCH 1/13] SPARC: Added support for generic SPARC architecture.

Daniel Hellstrom daniel at gaisler.com
Fri Mar 28 13:44:55 CET 2008


Hello Wolfgang,

This patch adds support for the SPARC achitecture.

Not much to say, I have fixed the mess you commented on and split the
patches to smaller chunks, and tested on LEON2 simulator and LEON3 boards.

ABOUT SPARC-ELF COMPILER
------------------------
Compiling u-boot for LEON3 and LEON2 has only been has been tested
with GCC 3.4.4 compiler with added LEON2 and LEON3 support available from
www.gaisler.com or
ftp://ftp.gaisler.com/gaisler.com/bcc/bin/linux/sparc-elf-3.4.4-1.0.30.tar.bz2, 

installation instructions can be found in bcc/doc/bcc.pdf. (extract to 
/opt/
and add /opt/sparc-elf-3.4.4/bin to PATH).

U-BOOT support tested
---------------------
- LEON3 (and LEON3FT Fault tolerant version)
- LEON3 Simulator (GRSIM and TSIM)
- LEON2 Simulator (GRSIM and TSIM)
- Network (GRETH and SMC91111)
- USB 1.1 (UHCI)
- Linux and RTEMS booting
- booting UBOOT from RAM and FLASH by changing board/gaisler/xxx/config.mk
- DDR, DDR2, SRAM, FT-SRAM
- UART, IRQ, Timer

This patch is available at 
ftp://ftp.gaisler.com/gaisler.com/u-boot/patches/1_sparc.patch.

Best Regards,
Daniel Hellstrom



MAKEALL                         |    7 +
Makefile                        |    9 +-
README                          |    1 +
examples/Makefile               |    3 +
examples/sparc.lds              |   61 +++++
examples/stubs.c                |   16 ++
include/asm-sparc/asi.h         |   32 +++
include/asm-sparc/asmmacro.h    |   45 ++++
include/asm-sparc/atomic.h      |   29 +++
include/asm-sparc/bitops.h      |   29 +++
include/asm-sparc/byteorder.h   |   37 +++
include/asm-sparc/cache.h       |   31 +++
include/asm-sparc/errno.h       |  162 ++++++++++++
include/asm-sparc/global_data.h |   85 +++++++
include/asm-sparc/io.h          |   94 +++++++
include/asm-sparc/irq.h         |   49 ++++
include/asm-sparc/machines.h    |   92 +++++++
include/asm-sparc/page.h        |   43 ++++
include/asm-sparc/posix_types.h |  139 +++++++++++
include/asm-sparc/processor.h   |  109 ++++++++
include/asm-sparc/prom.h        |  297 ++++++++++++++++++++++
include/asm-sparc/psr.h         |   97 ++++++++
include/asm-sparc/ptrace.h      |  181 ++++++++++++++
include/asm-sparc/srmmu.h       |  301 ++++++++++++++++++++++
include/asm-sparc/stack.h       |  162 ++++++++++++
include/asm-sparc/string.h      |   55 ++++
include/asm-sparc/types.h       |   71 ++++++
include/asm-sparc/u-boot.h      |   74 ++++++
include/asm-sparc/winmacro.h    |  151 +++++++++++
lib_sparc/Makefile              |   45 ++++
lib_sparc/board.c               |  521 
+++++++++++++++++++++++++++++++++++++++
lib_sparc/bootm.c               |  226 +++++++++++++++++
lib_sparc/cache.c               |   33 +++
lib_sparc/interrupts.c          |  122 +++++++++
lib_sparc/time.c                |   78 ++++++
sparc_config.mk                 |   24 ++
36 files changed, 3510 insertions(+), 1 deletions(-)




More information about the U-Boot mailing list