From b65574840ab97b089dbad5fa1437f26057ac9c78 Mon Sep 17 00:00:00 2001 From: Alexandru Costache Date: Sat, 25 Mar 2023 18:48:28 +0200 Subject: [PATCH] u-boot-tegra: Increase environment size Changelog-entry: u-boot-tegra: Increase environment size Signed-off-by: Alexandru Costche --- .../Increase-default-u-boot-environment-size.patch | 2 +- ...no-Integrate-with-Balena-and-load-kernel-from-root.patch | 6 +++--- .../tx2-Integrate-with-Balena-u-boot-environment.patch | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/Increase-default-u-boot-environment-size.patch b/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/Increase-default-u-boot-environment-size.patch index 1f68534ad..d805adae1 100644 --- a/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/Increase-default-u-boot-environment-size.patch +++ b/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/Increase-default-u-boot-environment-size.patch @@ -23,7 +23,7 @@ index f2cdd9c019..a27cfa28ed 100644 /* Environment */ - -+#define CONFIG_ENV_SIZE 0x3000 /* Total Size Environment */ ++#define CONFIG_ENV_SIZE 0x5000 /* Total Size Environment */ /* * NS16550 Configuration */ diff --git a/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/nano-Integrate-with-Balena-and-load-kernel-from-root.patch b/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/nano-Integrate-with-Balena-and-load-kernel-from-root.patch index c323c5132..2a5f46b37 100644 --- a/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/nano-Integrate-with-Balena-and-load-kernel-from-root.patch +++ b/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/nano-Integrate-with-Balena-and-load-kernel-from-root.patch @@ -109,7 +109,7 @@ index 9e84984135..c9d5a606e9 100644 +#CONFIG_USB_ETHER_ASIX=y +#CONFIG_ENV_IS_IN_MMC=y +#CONFIG_ENV_IS_NOWHERE=y -+CONFIG_ENV_SIZE=0x3000 ++CONFIG_ENV_SIZE=0x4000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_ENV_OFFSET=0xFFFD8000 -CONFIG_BOOTP_PREFER_SERVERIP=y @@ -199,7 +199,7 @@ index 0000000000..bd172b7154 +#CONFIG_USB_ETHER_ASIX=y +CONFIG_ENV_IS_NOWHERE=y +#CONFIG_ENV_IS_IN_SPI_FLASH=y -+CONFIG_ENV_SIZE=0x3000 ++CONFIG_ENV_SIZE=0x4000 +CONFIG_ENV_SECT_SIZE=0x1000 +CONFIG_ENV_OFFSET=0xFFFD8000 +#CONFIG_BOOTP_PREFER_SERVERIP=y @@ -289,7 +289,7 @@ index 9e3e3cd213..4e34d8e4c1 100644 -CONFIG_ENV_IS_IN_SPI_FLASH=y -CONFIG_ENV_SIZE=0x2000 +CONFIG_ENV_IS_NOWHERE=y -+CONFIG_ENV_SIZE=0x3000 ++CONFIG_ENV_SIZE=0x4000 CONFIG_ENV_SECT_SIZE=0x1000 CONFIG_ENV_OFFSET=0xFFFD8000 -CONFIG_BOOTP_PREFER_SERVERIP=y diff --git a/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/tx2-Integrate-with-Balena-u-boot-environment.patch b/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/tx2-Integrate-with-Balena-u-boot-environment.patch index 551478df6..0f74e6f19 100644 --- a/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/tx2-Integrate-with-Balena-u-boot-environment.patch +++ b/layers/meta-balena-jetson/recipes-bsp/u-boot/u-boot-tegra/tx2-Integrate-with-Balena-u-boot-environment.patch @@ -26,7 +26,7 @@ index 1ff344240f..26e59c45b1 100644 CONFIG_TEGRA=y CONFIG_SYS_TEXT_BASE=0x80080000 -CONFIG_ENV_SIZE=0x2000 -+CONFIG_ENV_SIZE=0x3000 ++CONFIG_ENV_SIZE=0x4000 CONFIG_ENV_OFFSET=0xFFFD8000 CONFIG_NR_DRAM_BANKS=1026 CONFIG_TEGRA186=y @@ -75,7 +75,7 @@ index 9117982fb9..3763ec3fb3 100644 CONFIG_TEGRA=y CONFIG_SYS_TEXT_BASE=0x80080000 -CONFIG_ENV_SIZE=0x2000 -+CONFIG_ENV_SIZE=0x3000 ++CONFIG_ENV_SIZE=0x4000 CONFIG_ENV_OFFSET=0xFFFD8000 CONFIG_NR_DRAM_BANKS=1026 CONFIG_TEGRA186=y