mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-12-13 08:02:09 -05:00
Changes: * removed upstreamed patches, * rebased local patches, * fix en7581_evb/an7583_evb booting issues * enable position independent code Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu> Link: https://github.com/openwrt/openwrt/pull/20400 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
From 10bd131a6a365965ce868419933fd7936e91c635 Mon Sep 17 00:00:00 2001
|
|
From: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
|
|
Date: Mon, 13 Oct 2025 20:48:00 +0300
|
|
Subject: [PATCH 2/3] arm: airoha: disable environment inside mtd partition
|
|
|
|
When booting on en7581_evb board equipped with spinand flash, a u-boot
|
|
panic occurs. The panic is caused by the absence any available mtd
|
|
partition.
|
|
|
|
Disable CONFIG_ENV_IS_IN_MTD to avoid an issue. The environment will
|
|
be stored in the EMMC or in UBI, so actually CONFIG_ENV_IS_IN_MTD is
|
|
not needed.
|
|
|
|
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
|
|
---
|
|
configs/an7581_evb_defconfig | 1 +
|
|
configs/an7583_evb_defconfig | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/configs/an7581_evb_defconfig
|
|
+++ b/configs/an7581_evb_defconfig
|
|
@@ -40,6 +40,7 @@ CONFIG_CMD_LOG=y
|
|
CONFIG_OF_UPSTREAM=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
+# CONFIG_ENV_IS_IN_MTD is not set
|
|
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
--- a/configs/an7583_evb_defconfig
|
|
+++ b/configs/an7583_evb_defconfig
|
|
@@ -41,6 +41,7 @@ CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_CMD_LOG=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
CONFIG_ENV_IS_IN_MMC=y
|
|
+# CONFIG_ENV_IS_IN_MTD is not set
|
|
CONFIG_ENV_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
|