mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +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>
20 lines
525 B
Diff
20 lines
525 B
Diff
--- a/configs/mt7623n_bpir2_defconfig
|
|
+++ b/configs/mt7623n_bpir2_defconfig
|
|
@@ -51,6 +51,16 @@ CONFIG_SYSRESET=y
|
|
CONFIG_SYSRESET_WATCHDOG=y
|
|
CONFIG_TIMER=y
|
|
CONFIG_MTK_TIMER=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=":2"
|
|
+CONFIG_ENV_FAT_FILE="uboot.env"
|
|
+CONFIG_CMD_ASKENV=y
|
|
+CONFIG_ENV_SIZE=0x2000
|
|
+CONFIG_CMD_SETEXPR=y
|
|
CONFIG_WDT_MTK=y
|
|
CONFIG_LZMA=y
|
|
# CONFIG_EFI_GRUB_ARM32_WORKAROUND is not set
|