mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
50f7c5af4a
Update to next U-Boot timed release. Remove now obsolete patch 100-01-board-mediatek-add-more-network-configurations.patch Default IP addresses are now dealt with in Kconfig, no longer in board- specific C header files. Add patches to restore ANSI support in bootmenu which was broken upstream, always use high-speed mode on serial UART for improved stability and fix an issue with pinconf not being applied on MT7623 resulting in eMMC being inaccessible when booting from micro SD card. In order to keep the size of the bootloader on MT7623 below 512kB remove some unneeded commands on both MT7623 boards. Tested on: * BananaPi BPi-R2 (MT7623N) * BananaPi BPi-R3 (MT7986A) * BananaPi BPi-R64 (MT7622A) * Linksys E8450 (MT7622B) Signed-off-by: Daniel Golle <daniel@makrotopia.org>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From 93d7086edb0db4b05149dfea21a2a82d8f160944 Mon Sep 17 00:00:00 2001
|
|
From: Weijie Gao <weijie.gao@mediatek.com>
|
|
Date: Sat, 6 Mar 2021 16:29:33 +0800
|
|
Subject: [PATCH 10/12] configs: mt7622: enable environment for mt7622_rfb
|
|
|
|
Enable environment vairables for mt7622_rfb
|
|
|
|
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
|
|
---
|
|
configs/mt7622_rfb_defconfig | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/configs/mt7622_rfb_defconfig
|
|
+++ b/configs/mt7622_rfb_defconfig
|
|
@@ -6,6 +6,8 @@ CONFIG_TEXT_BASE=0x41e00000
|
|
CONFIG_SYS_MALLOC_F_LEN=0x4000
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_DEFAULT_DEVICE_TREE="mt7622-rfb"
|
|
+CONFIG_ENV_SIZE=0x20000
|
|
+CONFIG_ENV_OFFSET=0x280000
|
|
CONFIG_SYS_PROMPT="MT7622> "
|
|
CONFIG_DEBUG_UART_BASE=0x11002000
|
|
CONFIG_DEBUG_UART_CLOCK=25000000
|
|
@@ -24,6 +26,9 @@ CONFIG_CMD_SF_TEST=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_SMC=y
|
|
CONFIG_ENV_OVERWRITE=y
|
|
+CONFIG_ENV_IS_IN_MTD=y
|
|
+CONFIG_ENV_MTD_NAME="spi-nand0"
|
|
+CONFIG_ENV_SIZE_REDUND=0x40000
|
|
CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_USE_IPADDR=y
|