mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
35efee1329
This commit bumps u-boot layerscape package to lf-6.6.3-1.0.0 version. Removed upstreamed: 0001-board-ls1046ardb-force-PCI-device-enumeration.patch 0002-board-ls1043ardb-force-PCI-device-enumeration.patch Manually rebased: 0900-layerscape-adjust-LS1021A-IOT-config-for-OpenWrt.patch Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
50 lines
1.4 KiB
Diff
50 lines
1.4 KiB
Diff
From 54a19a8c97608c71b440639c878f2f57b5add95d Mon Sep 17 00:00:00 2001
|
|
From: Pawel Dembicki <paweldembicki@gmail.com>
|
|
Date: Mon, 24 Oct 2022 14:19:38 +0200
|
|
Subject: [PATCH] layerscape: adjust LS1021A-IOT config for OpenWrt
|
|
|
|
Two configs are required:
|
|
- FIT
|
|
- Ext4load
|
|
|
|
Let's enable it. U-boot is now bigger than 512K. Let's enlarge it to
|
|
768K. Envs start at 1M, so it will fit.
|
|
|
|
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
|
|
---
|
|
configs/ls1021aiot_sdcard_defconfig | 7 +++++--
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
--- a/configs/ls1021aiot_sdcard_defconfig
|
|
+++ b/configs/ls1021aiot_sdcard_defconfig
|
|
@@ -24,7 +24,7 @@ CONFIG_AHCI=y
|
|
CONFIG_LAYERSCAPE_NS_ACCESS=y
|
|
CONFIG_PCIE1=y
|
|
CONFIG_PCIE2=y
|
|
-CONFIG_SYS_MONITOR_LEN=524288
|
|
+CONFIG_SYS_MONITOR_LEN=786432
|
|
CONFIG_OF_BOARD_SETUP=y
|
|
CONFIG_OF_STDOUT_VIA_ALIAS=y
|
|
CONFIG_RAMBOOT_PBL=y
|
|
@@ -40,7 +40,7 @@ CONFIG_SPL_MAX_SIZE=0x1a000
|
|
CONFIG_SPL_PAD_TO=0x1c000
|
|
CONFIG_SPL_HAS_BSS_LINKER_SECTION=y
|
|
CONFIG_SPL_BSS_START_ADDR=0x80100000
|
|
-CONFIG_SPL_BSS_MAX_SIZE=0x80000
|
|
+CONFIG_SPL_BSS_MAX_SIZE=0xc0000
|
|
CONFIG_SPL_FSL_PBL=y
|
|
# CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
|
|
CONFIG_SYS_SPL_MALLOC=y
|
|
@@ -66,8 +66,11 @@ CONFIG_CMD_MII=y
|
|
# CONFIG_CMD_MDIO is not set
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_EXT2=y
|
|
+CONFIG_CMD_EXT4=y
|
|
CONFIG_CMD_FAT=y
|
|
# CONFIG_SPL_EFI_PARTITION is not set
|
|
+CONFIG_FIT=y
|
|
+CONFIG_FIT_VERBOSE=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|