mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 05:13:21 +09:00
![Stefan Roese](/assets/img/avatar_default.png)
This patch enables the use of the kwboot tool, to boot mainline U-Boot on the Marvell Armada XP/38x SoC's. This is done by returning to the SoC's BootROM after SPL has initialized the SDRAM. We need to make sure to not reconfigure the internal register space and MBARs. Otherwise the BootROM will not be able to continue after SPL jumps back to it. To use this feature, please don't forget to change the BOOT_FROM line in your board specfic kwbimage.cfg file this way: BOOT_FROM uart Tested on these Marvell eval boards: DB-MV784MP-GP - Armada XP DB-88F6820-GP - Armada 38x Signed-off-by: Stefan Roese <sr@denx.de> Cc: Dirk Eibach <eibach@gdsys.de> Cc: Kevin Smith <kevin.smith@elecsyscorp.com> Cc: Luka Perkov <luka.perkov@sartura.hr>
32 lines
624 B
Plaintext
32 lines
624 B
Plaintext
if ARCH_MVEBU
|
|
|
|
choice
|
|
prompt "Marvell MVEBU (Armada XP/38x) board select"
|
|
optional
|
|
|
|
config TARGET_DB_88F6820_GP
|
|
bool "Support DB-88F6820-GP"
|
|
|
|
config TARGET_DB_MV784MP_GP
|
|
bool "Support db-mv784mp-gp"
|
|
|
|
config TARGET_MAXBCM
|
|
bool "Support maxbcm"
|
|
|
|
endchoice
|
|
|
|
config SYS_SOC
|
|
default "mvebu"
|
|
|
|
config MVEBU_BOOTROM_UARTBOOT
|
|
bool "Use kwboot to boot via BootROM xmodem protocol"
|
|
help
|
|
This option provides support for booting via the Marvell
|
|
xmodem protocol, used by the kwboot tool.
|
|
|
|
Please don't forget to configure the boot device in
|
|
the board specific kwbimage.cfg file this way:
|
|
BOOT_FROM uart
|
|
|
|
endif
|