mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 10:46:41 +00:00
uboot-mediatek: add missing options for mt7988-rfb
Fixes autoboot and storing env in UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
52a225cba4
commit
3bc9ac2942
@ -157,10 +157,11 @@
|
|||||||
CONFIG_MTD=y
|
CONFIG_MTD=y
|
||||||
--- a/configs/mt7988_rfb_defconfig
|
--- a/configs/mt7988_rfb_defconfig
|
||||||
+++ b/configs/mt7988_rfb_defconfig
|
+++ b/configs/mt7988_rfb_defconfig
|
||||||
@@ -11,6 +11,24 @@ CONFIG_DEBUG_UART_BASE=0x11000000
|
@@ -11,7 +11,24 @@ CONFIG_DEBUG_UART_BASE=0x11000000
|
||||||
CONFIG_DEBUG_UART_CLOCK=40000000
|
CONFIG_DEBUG_UART_CLOCK=40000000
|
||||||
CONFIG_SYS_LOAD_ADDR=0x46000000
|
CONFIG_SYS_LOAD_ADDR=0x46000000
|
||||||
CONFIG_DEBUG_UART=y
|
CONFIG_DEBUG_UART=y
|
||||||
|
-# CONFIG_AUTOBOOT is not set
|
||||||
+CONFIG_OF_LIBFDT_OVERLAY=y
|
+CONFIG_OF_LIBFDT_OVERLAY=y
|
||||||
+CONFIG_SMBIOS_PRODUCT_NAME=""
|
+CONFIG_SMBIOS_PRODUCT_NAME=""
|
||||||
+CONFIG_CFB_CONSOLE_ANSI=y
|
+CONFIG_CFB_CONSOLE_ANSI=y
|
||||||
@ -179,10 +180,10 @@
|
|||||||
+CONFIG_NAND_BOOT=y
|
+CONFIG_NAND_BOOT=y
|
||||||
+CONFIG_BOOTSTD_DEFAULTS=y
|
+CONFIG_BOOTSTD_DEFAULTS=y
|
||||||
+CONFIG_BOOTSTD_FULL=y
|
+CONFIG_BOOTSTD_FULL=y
|
||||||
# CONFIG_AUTOBOOT is not set
|
|
||||||
CONFIG_DEFAULT_FDT_FILE="mt7988-rfb"
|
CONFIG_DEFAULT_FDT_FILE="mt7988-rfb"
|
||||||
CONFIG_LOGLEVEL=7
|
CONFIG_LOGLEVEL=7
|
||||||
@@ -22,15 +40,118 @@ CONFIG_SYS_PBSIZE=1049
|
CONFIG_LOG=y
|
||||||
|
@@ -22,15 +39,120 @@ CONFIG_SYS_PBSIZE=1049
|
||||||
# CONFIG_BOOTM_PLAN9 is not set
|
# CONFIG_BOOTM_PLAN9 is not set
|
||||||
# CONFIG_BOOTM_RTEMS is not set
|
# CONFIG_BOOTM_RTEMS is not set
|
||||||
# CONFIG_BOOTM_VXWORKS is not set
|
# CONFIG_BOOTM_VXWORKS is not set
|
||||||
@ -293,16 +294,18 @@
|
|||||||
+CONFIG_USB_XHCI_MTK=y
|
+CONFIG_USB_XHCI_MTK=y
|
||||||
+CONFIG_USB_STORAGE=y
|
+CONFIG_USB_STORAGE=y
|
||||||
+CONFIG_OF_EMBED=y
|
+CONFIG_OF_EMBED=y
|
||||||
|
+CONFIG_OF_SYSTEM_SETUP=y
|
||||||
+CONFIG_ENV_OVERWRITE=y
|
+CONFIG_ENV_OVERWRITE=y
|
||||||
+CONFIG_ENV_IS_IN_MMC=y
|
+CONFIG_ENV_IS_IN_UBI=y
|
||||||
+CONFIG_ENV_OFFSET=0x400000
|
+CONFIG_ENV_UBI_PART="ubi"
|
||||||
+CONFIG_ENV_OFFSET_REDUND=0x440000
|
+CONFIG_ENV_SIZE=0x1f000
|
||||||
+CONFIG_ENV_SIZE=0x40000
|
+CONFIG_ENV_SIZE_REDUND=0x1f000
|
||||||
+CONFIG_ENV_SIZE_REDUND=0x40000
|
+CONFIG_ENV_UBI_VOLUME="ubootenv"
|
||||||
|
+CONFIG_ENV_UBI_VOLUME_REDUND="ubootenv2"
|
||||||
CONFIG_DOS_PARTITION=y
|
CONFIG_DOS_PARTITION=y
|
||||||
CONFIG_EFI_PARTITION=y
|
CONFIG_EFI_PARTITION=y
|
||||||
CONFIG_PARTITION_TYPE_GUID=y
|
CONFIG_PARTITION_TYPE_GUID=y
|
||||||
@@ -46,6 +167,9 @@ CONFIG_PROT_TCP=y
|
@@ -46,6 +168,9 @@ CONFIG_PROT_TCP=y
|
||||||
CONFIG_REGMAP=y
|
CONFIG_REGMAP=y
|
||||||
CONFIG_SYSCON=y
|
CONFIG_SYSCON=y
|
||||||
CONFIG_CLK=y
|
CONFIG_CLK=y
|
||||||
|
Loading…
Reference in New Issue
Block a user