[U-Boot-Users] [PATCH 8/8] SPARC: Added LEON2 and LEON3 boards and simulators

This patch adds support for three LEON3 boards: * GR-XC3S-1500 (Low cost Xilinx Spartan FPGA board) * GR-CPCI-AX2000 (AX system with switchable AX FPGA) * ALTERA NIOS Development board, Stratix II edition
The simulators GRSIM and TSIM for LEON2 and LEON3 has been added as a board. A separate board is needed due to that the FLASH CFI interface has not been implemented in the simulators. Configuring the GR-XC3S-1500 board without FLASH support should run in the simulator.
Note that by board support I mean support for the pre synthezied template design for the board in question. Supporting any configuration is not possible but almost, due to the Plug & Play system... The FPGA can be programmed with the template design by: $ cd grlib/designs/BOARD $ make ise-prog-prom-ref
Best Regards, Daniel Hellstrom
MAKEALL | 2 +- Makefile | 21 ++ board/gaisler/gr_cpci_ax2000/Makefile | 52 ++++ board/gaisler/gr_cpci_ax2000/config.mk | 37 +++ board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c | 54 ++++ board/gaisler/gr_cpci_ax2000/u-boot.lds | 160 ++++++++++ board/gaisler/gr_ep2s60/Makefile | 52 ++++ board/gaisler/gr_ep2s60/config.mk | 35 +++ board/gaisler/gr_ep2s60/gr_ep2s60.c | 54 ++++ board/gaisler/gr_ep2s60/u-boot.lds | 160 ++++++++++ board/gaisler/gr_xc3s_1500/Makefile | 52 ++++ board/gaisler/gr_xc3s_1500/config.mk | 34 ++ board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c | 54 ++++ board/gaisler/gr_xc3s_1500/u-boot.lds | 162 ++++++++++ board/gaisler/grsim/Makefile | 50 +++ board/gaisler/grsim/config.mk | 34 ++ board/gaisler/grsim/grsim.c | 43 +++ board/gaisler/grsim/u-boot.lds | 161 ++++++++++ board/gaisler/grsim_leon2/Makefile | 50 +++ board/gaisler/grsim_leon2/config.mk | 34 ++ board/gaisler/grsim_leon2/grsim_leon2.c | 44 +++ board/gaisler/grsim_leon2/u-boot.lds | 159 ++++++++++ include/configs/gr_cpci_ax2000.h | 398 +++++++++++++++++++++++++ include/configs/gr_ep2s60.h | 348 +++++++++++++++++++++ include/configs/grsim.h | 388 ++++++++++++++++++++++++ include/configs/grsim_leon2.h | 378 +++++++++++++++++++++++ include/configs/grxc3s1500.h | 334 +++++++++++++++++++++ 27 files changed, 3349 insertions(+), 1 deletions(-)
The patch is larger than 40Kb, you can find it at ftp://ftp.gaisler.com/gaisler.com/u-boot/patches/8_sparc_boards.patch

In message 47D8F681.4010306@gaisler.com you wrote:
This patch adds support for three LEON3 boards:
- GR-XC3S-1500 (Low cost Xilinx Spartan FPGA board)
- GR-CPCI-AX2000 (AX system with switchable AX FPGA)
- ALTERA NIOS Development board, Stratix II edition
The simulators GRSIM and TSIM for LEON2 and LEON3 has been added as a board. A separate board is needed due to that the FLASH CFI interface has not been implemented in the simulators. Configuring the GR-XC3S-1500 board without FLASH support should run in the simulator.
Note that by board support I mean support for the pre synthezied template design for the board in question. Supporting any configuration is not possible but almost, due to the Plug & Play system... The FPGA can be programmed with the template design by: $ cd grlib/designs/BOARD $ make ise-prog-prom-ref
Best Regards, Daniel Hellstrom
MAKEALL | 2 +- Makefile | 21 ++ board/gaisler/gr_cpci_ax2000/Makefile | 52 ++++ board/gaisler/gr_cpci_ax2000/config.mk | 37 +++ board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c | 54 ++++ board/gaisler/gr_cpci_ax2000/u-boot.lds | 160 ++++++++++ board/gaisler/gr_ep2s60/Makefile | 52 ++++ board/gaisler/gr_ep2s60/config.mk | 35 +++ board/gaisler/gr_ep2s60/gr_ep2s60.c | 54 ++++ board/gaisler/gr_ep2s60/u-boot.lds | 160 ++++++++++ board/gaisler/gr_xc3s_1500/Makefile | 52 ++++ board/gaisler/gr_xc3s_1500/config.mk | 34 ++ board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c | 54 ++++ board/gaisler/gr_xc3s_1500/u-boot.lds | 162 ++++++++++ board/gaisler/grsim/Makefile | 50 +++ board/gaisler/grsim/config.mk | 34 ++ board/gaisler/grsim/grsim.c | 43 +++ board/gaisler/grsim/u-boot.lds | 161 ++++++++++ board/gaisler/grsim_leon2/Makefile | 50 +++ board/gaisler/grsim_leon2/config.mk | 34 ++ board/gaisler/grsim_leon2/grsim_leon2.c | 44 +++ board/gaisler/grsim_leon2/u-boot.lds | 159 ++++++++++ include/configs/gr_cpci_ax2000.h | 398 +++++++++++++++++++++++++ include/configs/gr_ep2s60.h | 348 +++++++++++++++++++++ include/configs/grsim.h | 388 ++++++++++++++++++++++++ include/configs/grsim_leon2.h | 378 +++++++++++++++++++++++ include/configs/grxc3s1500.h | 334 +++++++++++++++++++++ 27 files changed, 3349 insertions(+), 1 deletions(-)
The patch is larger than 40Kb, you can find it at ftp://ftp.gaisler.com/gaisler.com/u-boot/patches/8_sparc_boards.patch
Split this (one board per patch) and it will easily fit in the 100 kB hard limit.
But please fix all the coding style issues before resubmitting.
Also make sure to clean up dead code - ther eshould be no "#if 0" anywhere in your code.
Best regards,
Wolfgang Denk
participants (2)
-
Daniel Hellstrom
-
Wolfgang Denk