[U-Boot] [PATCH 9/9] sunxi: H6: add generic H6 32-bit SPL defconfig
Andre Przywara
andre.przywara at arm.com
Thu Feb 21 01:30:34 UTC 2019
To be able to use FEL booting (Allwinner's USB-OTG protocol), we need a
32 bit SPL, to easily return into the 32 bit BootROM.
Add a generic defconfig for that purpose, that should work on all boards.
The resulting spl/sunxi-spl.bin can be used with the sunxi-fel tool to
initialise the DRAM via FEL. This allows to load the normal versions for
the rest of the firmware components (ATF, 64 bit U-Boot proper).
This SPL will determine the architecture of the loaded binaries and will
switch the bitness if necessary.
Signed-off-by: Andre Przywara <andre.przywara at arm.com>
---
configs/sun50i-h6-lpddr3-spl_defconfig | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 configs/sun50i-h6-lpddr3-spl_defconfig
diff --git a/configs/sun50i-h6-lpddr3-spl_defconfig b/configs/sun50i-h6-lpddr3-spl_defconfig
new file mode 100644
index 0000000000..8480d027a5
--- /dev/null
+++ b/configs/sun50i-h6-lpddr3-spl_defconfig
@@ -0,0 +1,12 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_MACH_SUN50I_H6=y
+CONFIG_SUNXI_ARMV8_32BIT_BUILD=y
+CONFIG_MMC_SUNXI_SLOT_EXTRA=2
+CONFIG_NR_DRAM_BANKS=1
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_SPL_DOS_PARTITION is not set
+# CONFIG_SPL_EFI_PARTITION is not set
+CONFIG_DEFAULT_DEVICE_TREE="sun50i-h6-pine-h64"
--
2.14.5
More information about the U-Boot
mailing list