[U-Boot] arm: socfpga: Repair SoCrates board
Jan Viktorin
viktorin at rehivetech.com
Mon Nov 23 14:45:28 CET 2015
Hi Marek,
On Fri, 20 Nov 2015 17:17:33 +0100
Marek Vasut <marex at denx.de> wrote:
> This board was constantly parasiting on the CV SoCDK, so split it
> into it's own separate directory. Moreover, the board config was
> missing important bits, like simple-bus support in SPL, the DRAM
> configuration was incorrect and the DTS was also missing the pre
> reloc bits.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> Cc: Dinh Nguyen <dinh.linux at gmail.com>
> Reviewed-by: Stefan Roese <sr at denx.de>
> ---
> arch/arm/dts/socfpga_cyclone5_socrates.dts | 5 +
> arch/arm/mach-socfpga/Kconfig | 7 +
> board/ebv/socrates/MAINTAINERS | 6 +
> board/ebv/socrates/Makefile | 9 +
> board/ebv/socrates/qts/iocsr_config.h | 660 +++++++++++++++++++++++++++++
> board/ebv/socrates/qts/pinmux_config.h | 219 ++++++++++
> board/ebv/socrates/qts/pll_config.h | 85 ++++
> board/ebv/socrates/qts/sdram_config.h | 341 +++++++++++++++
> board/ebv/socrates/socfpga.c | 85 ++++
> configs/socfpga_socrates_defconfig | 3 +-
> include/configs/socfpga_socrates.h | 97 +++++
> 11 files changed, 1516 insertions(+), 1 deletion(-)
> create mode 100644 board/ebv/socrates/MAINTAINERS
> create mode 100644 board/ebv/socrates/Makefile
> create mode 100644 board/ebv/socrates/qts/iocsr_config.h
> create mode 100644 board/ebv/socrates/qts/pinmux_config.h
> create mode 100644 board/ebv/socrates/qts/pll_config.h
> create mode 100644 board/ebv/socrates/qts/sdram_config.h
> create mode 100644 board/ebv/socrates/socfpga.c
> create mode 100644 include/configs/socfpga_socrates.h
> [snip]
SoCrates (1.2) boots now properly:
U-Boot SPL 2016.01-rc1 (Nov 23 2015 - 14:34:13)
drivers/ddr/altera/sequencer.c: Preparing to start memory calibration
drivers/ddr/altera/sequencer.c: CALIBRATION PASSED
drivers/ddr/altera/sequencer.c: Calibration complete
Trying to boot from MMC
U-Boot 2016.01-rc1 (Nov 23 2015 - 14:34:13 +0100)
CPU: Altera SoCFPGA Platform
FPGA: Altera Cyclone V, SE/A6 or SX/C6 or ST/D6, version 0x0
BOOT: SD/MMC Internal Transceiver (3.0V)
Watchdog enabled
I2C: ready
DRAM: 1 GiB
MMC: SOCFPGA DWMMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Model: EBV SOCrates
Net:
Error: ethernet at ff702000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0
=>
Applied after manual fix of this:
default "socfpga_sockit" if TARGET_SOCFPGA_TERASIC_SOCKIT
+ default "socfpga_sockit" if TARGET_SOCFPGA_EBV_SOCRATES
I don't understand the issue with Ethernet:
"Error: ethernet at ff702000 address not set."
Otherwise
Tested-By: Jan Viktorin <viktorin at rehivetech.com>
--
Jan Viktorin E-mail: Viktorin at RehiveTech.com
System Architect Web: www.RehiveTech.com
RehiveTech
Brno, Czech Republic
More information about the U-Boot
mailing list