mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-07 07:12:45 +00:00
uboot-layerscape: Add ls1028ardb support
Support uboot for NXP LS1028ARDB reference board. GIC V3 has to be disabled in the uboot config to allow booting upstream kernels. This patch can be dropped once uboot is updated to 2022.04 version to nxp-qoriq github lf-6.1.1 branch. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@protonmail.ch>
This commit is contained in:
parent
29149a9b35
commit
b812844c43
@ -45,6 +45,16 @@ define U-Boot/fsl_ls1012a-frwy-sdboot
|
||||
ENV_SIZE:=0x10000
|
||||
endef
|
||||
|
||||
define U-Boot/fsl_ls1028a-rdb
|
||||
NAME:=NXP LS1028ARDB
|
||||
UBOOT_CONFIG:=ls1028ardb_tfa
|
||||
endef
|
||||
|
||||
define U-Boot/fsl_ls1028a-rdb-sdboot
|
||||
NAME:=NXP LS1028ARDB SD Card Boot
|
||||
UBOOT_CONFIG:=ls1028ardb_tfa
|
||||
endef
|
||||
|
||||
define U-Boot/fsl_ls1043a-rdb
|
||||
NAME:=NXP LS1043ARDB
|
||||
UBOOT_CONFIG:=ls1043ardb_tfa
|
||||
@ -127,6 +137,8 @@ UBOOT_TARGETS := \
|
||||
fsl_ls1012a-frdm \
|
||||
fsl_ls1012a-rdb \
|
||||
fsl_ls1012a-frwy-sdboot \
|
||||
fsl_ls1028a-rdb \
|
||||
fsl_ls1028a-rdb-sdboot \
|
||||
fsl_ls1043a-rdb \
|
||||
fsl_ls1043a-rdb-sdboot \
|
||||
fsl_ls1046a-frwy \
|
||||
|
@ -0,0 +1,10 @@
|
||||
fdtaddr=0x8f000000
|
||||
loadaddr=0x81000000
|
||||
fdt_high=0x8fffffff
|
||||
initrd_high=0xffffffffffffffff
|
||||
hwconfig=fsl_ddr:bank_intlv=auto
|
||||
sd_boot=ext4load mmc 0:1 $loadaddr fitImage;bootm $loadaddr
|
||||
bootargs=root=/dev/mmcblk0p2 rw rootwait rootfstype=squashfs,f2fs noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200
|
||||
bootcmd=echo starting openwrt ...;run sd_boot
|
||||
bootdelay=3
|
||||
fsl_bootcmd_mcinitcmd_set=y
|
@ -0,0 +1,9 @@
|
||||
fdtaddr=0x8f000000
|
||||
loadaddr=0x81000000
|
||||
bootm_size=0x10000000
|
||||
hwconfig=fsl_ddr:bank_intlv=auto
|
||||
qspi_boot=sf probe 0:0;sf read $loadaddr 1000000 1000000;bootm $loadaddr
|
||||
bootargs=rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=20c0000.spi:1m(bl2),4m(fip),1m(u-boot-env),128k(secure-boot-headers),48m@0x1000000(firmware)
|
||||
bootcmd=echo starting openwrt ...;run qspi_boot
|
||||
bootdelay=3
|
||||
fsl_bootcmd_mcinitcmd_set=y
|
@ -0,0 +1,8 @@
|
||||
--- a/configs/ls1028ardb_tfa_defconfig
|
||||
+++ b/configs/ls1028ardb_tfa_defconfig
|
||||
@@ -1,5 +1,4 @@
|
||||
CONFIG_ARM=y
|
||||
-CONFIG_GIC_V3_ITS=y
|
||||
CONFIG_TARGET_LS1028ARDB=y
|
||||
CONFIG_TFABOOT=y
|
||||
CONFIG_SYS_MALLOC_F_LEN=0x6000
|
Loading…
Reference in New Issue
Block a user