mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-16 16:57:28 +00: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>
46 lines
1.5 KiB
Diff
46 lines
1.5 KiB
Diff
From f85e675d7be222d88246bfdb42a1faac92f1eb63 Mon Sep 17 00:00:00 2001
|
|
From: Christian Marangi <ansuelsmth@gmail.com>
|
|
Date: Wed, 28 May 2025 03:18:32 +0200
|
|
Subject: [PATCH 2/2] airoha: add default configuration
|
|
|
|
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
---
|
|
configs/an7581_evb_defconfig | 2 ++
|
|
configs/an7583_evb_defconfig | 2 ++
|
|
defenvs/an7581_rfb_env | 4 ++++
|
|
defenvs/an7583_rfb_env | 4 ++++
|
|
4 files changed, 12 insertions(+)
|
|
create mode 100644 defenvs/an7581_rfb_env
|
|
create mode 100644 defenvs/an7583_rfb_env
|
|
|
|
--- a/configs/an7581_evb_defconfig
|
|
+++ b/configs/an7581_evb_defconfig
|
|
@@ -94,3 +94,5 @@ CONFIG_MTD_UBI_BEB_LIMIT=20
|
|
CONFIG_UBI_BLOCK=y
|
|
# CONFIG_UBIFS_SILENCE_MSG is not set
|
|
# CONFIG_UBIFS_SILENCE_DEBUG_DUMP is not set
|
|
+CONFIG_ENV_USE_DEFAULT_ENV_TEXT_FILE=y
|
|
+CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="defenvs/an7581_rfb_env"
|
|
--- a/configs/an7583_evb_defconfig
|
|
+++ b/configs/an7583_evb_defconfig
|
|
@@ -96,3 +96,5 @@ CONFIG_MTD_UBI_BEB_LIMIT=20
|
|
CONFIG_UBI_BLOCK=y
|
|
# CONFIG_UBIFS_SILENCE_MSG is not set
|
|
# CONFIG_UBIFS_SILENCE_DEBUG_DUMP is not set
|
|
+CONFIG_ENV_USE_DEFAULT_ENV_TEXT_FILE=y
|
|
+CONFIG_ENV_DEFAULT_ENV_TEXT_FILE="defenvs/an7583_rfb_env"
|
|
--- /dev/null
|
|
+++ b/defenvs/an7581_rfb_env
|
|
@@ -0,0 +1,4 @@
|
|
+loadaddr=0x81800000
|
|
+ipaddr=192.168.1.1
|
|
+serverip=192.168.1.10
|
|
+bootargs=ubi.mtd=ubi root=/dev/ubiblock0_5 rootwait
|
|
--- /dev/null
|
|
+++ b/defenvs/an7583_rfb_env
|
|
@@ -0,0 +1,4 @@
|
|
+loadaddr=0x81800000
|
|
+ipaddr=192.168.1.1
|
|
+serverip=192.168.1.10
|
|
+bootargs=ubi.mtd=ubi root=/dev/ubiblock0_5 rootwait
|