[openwrt/openwrt] uboot-mediatek: Fix ramips/mt76x8 buildbot

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 18 12:28:04 PST 2023


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ef9acfb68bb4e3dbddbd19d2333147a935bcda0e

commit ef9acfb68bb4e3dbddbd19d2333147a935bcda0e
Author: Jo Deisenhofer <jo.deisenhofer at gmail.com>
AuthorDate: Tue Jan 17 19:46:04 2023 +0100

    uboot-mediatek: Fix ramips/mt76x8 buildbot
    
    Move defines from header to defconfig
    The package build and the Buildbot hang in 'make syncconfig' for
    u-boot-ravpower_rp-wd009 because CONFIG_SYS_MIPS_TIMER_FREQ is not in
    the .config, causing a console prompt. Also moved two other defines in
    defconfig causing duplicate definition warnings.
    
    Fixes: 3d5c5427e17a ("uboot-mediatek: update to U-Boot 2023.01")
    Signed-off-by: Jo Deisenhofer <jo.deisenhofer at gmail.com>
---
 .../patches/420-add-support-for-RAVPower-RP-WD009.patch          | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch b/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch
index 80af85a959..a89b6c68bd 100644
--- a/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch
+++ b/package/boot/uboot-mediatek/patches/420-add-support-for-RAVPower-RP-WD009.patch
@@ -125,7 +125,7 @@ Subject: [PATCH] add support for RAVPower RP-WD009
 +}
 --- /dev/null
 +++ b/configs/ravpower-rp-wd009-ram_defconfig
-@@ -0,0 +1,61 @@
+@@ -0,0 +1,64 @@
 +CONFIG_MIPS=y
 +CONFIG_SYS_LOAD_ADDR=0x80010000
 +CONFIG_NR_DRAM_BANKS=1
@@ -140,6 +140,7 @@ Subject: [PATCH] add support for RAVPower RP-WD009
 +CONFIG_SYS_CONSOLE_INFO_QUIET=y
 +CONFIG_VERSION_VARIABLE=y
 +CONFIG_BOARD_RAVPOWER_RP_WD009=y
++CONFIG_SYS_MIPS_TIMER_FREQ=290000000
 +CONFIG_HUSH_PARSER=y
 +CONFIG_CMD_LICENSE=y
 +# CONFIG_CMD_ELF is not set
@@ -187,9 +188,11 @@ Subject: [PATCH] add support for RAVPower RP-WD009
 +CONFIG_WDT_MT7621=y
 +CONFIG_LZMA=y
 +CONFIG_BAUDRATE=57600
++CONFIG_SYS_MAXARGS=64
++CONFIG_SYS_CBSIZE=512
 --- /dev/null
 +++ b/include/configs/ravpower-rp-wd009.h
-@@ -0,0 +1,42 @@
+@@ -0,0 +1,40 @@
 +/* SPDX-License-Identifier: GPL-2.0+ */
 +/*
 + * Copyright (C) 2018 Stefan Roese <sr at denx.de>
@@ -219,9 +222,7 @@ Subject: [PATCH] add support for RAVPower RP-WD009
 +#define CONFIG_SYS_MEMTEST_END		0x80400000
 +
 +/* Memory usage */
-+#define CONFIG_SYS_MAXARGS		64
 +#define CONFIG_SYS_BOOTPARAMS_LEN	(128 * 1024)
-+#define CONFIG_SYS_CBSIZE		512
 +
 +/* Environment settings */
 +




More information about the lede-commits mailing list