mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 23:42:43 +00:00
9dfc2b3ca4
MediaTek published their current U-Boot patchset on github: https://github.com/mtk-openwrt/u-boot/commits/mtksoc Import the platform patches from there (`00-mtk-*.patch`), arrange, them nicely, drop no longer needed local patches and rebase on top of U-Boot 2021.04-rc3. Tested and works well on Linksys E8450 (snand-1ddr) as well as Bananapi BPi-R64 (sdmmc-2ddr, emmc-2ddr). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 lines
430 B
Diff
16 lines
430 B
Diff
--- a/configs/mt7623a_unielec_u7623_02_defconfig
|
|
+++ b/configs/mt7623a_unielec_u7623_02_defconfig
|
|
@@ -52,3 +52,12 @@ CONFIG_TIMER=y
|
|
CONFIG_MTK_TIMER=y
|
|
CONFIG_WDT_MTK=y
|
|
CONFIG_LZMA=y
|
|
+CONFIG_CMD_BOOTZ=y
|
|
+CONFIG_OF_LIBFDT_OVERLAY=y
|
|
+#enables savenenv-command
|
|
+CONFIG_ENV_IS_IN_FAT=y
|
|
+CONFIG_ENV_FAT_INTERFACE="mmc"
|
|
+CONFIG_ENV_FAT_DEVICE_AND_PART="0:2"
|
|
+CONFIG_ENV_FAT_FILE="uboot.env"
|
|
+CONFIG_CMD_ASKENV=y
|
|
+CONFIG_CMD_SETEXPR=y
|