[openwrt/openwrt] bcm4908: add testing support for kernel 5.10

LEDE Commits lede-commits at lists.infradead.org
Wed Nov 3 04:35:08 PDT 2021


rmilecki pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/20d3e236b2a85e22ffeb9da7cbc699d6103ca212

commit 20d3e236b2a85e22ffeb9da7cbc699d6103ca212
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Wed Nov 3 12:12:52 2021 +0100

    bcm4908: add testing support for kernel 5.10
    
    CONFIG_COMPAT_32BIT_TIME is a new symbol and has to be set to avoid:
    Provide system calls for 32-bit time_t (COMPAT_32BIT_TIME) [N/y/?] (NEW)
    
    CONFIG_RELOCATABLE needs to be enabled to make kernel start booting.
    That raises a question: do we really need CONFIG_EXPERT=y ?
    
    Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
 target/linux/bcm4908/Makefile    | 2 +-
 target/linux/bcm4908/config-5.10 | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/linux/bcm4908/Makefile b/target/linux/bcm4908/Makefile
index bbe5030b65..4aae7acfcd 100644
--- a/target/linux/bcm4908/Makefile
+++ b/target/linux/bcm4908/Makefile
@@ -10,7 +10,7 @@ CPU_TYPE:=cortex-a53
 SUBTARGETS:=generic
 
 KERNEL_PATCHVER:=5.4
-KERNEL_TESTING_PATCHVER:=5.4
+KERNEL_TESTING_PATCHVER:=5.10
 
 define Target/Description
 	Build firmware images for Broadcom BCM4908 SoC family routers.
diff --git a/target/linux/bcm4908/config-5.10 b/target/linux/bcm4908/config-5.10
index 5dc035ed69..71f7d60d72 100644
--- a/target/linux/bcm4908/config-5.10
+++ b/target/linux/bcm4908/config-5.10
@@ -50,6 +50,7 @@ CONFIG_CLONE_BACKWARDS=y
 CONFIG_CMDLINE="earlycon=bcm63xx_uart,0xff800640 console=ttyS0,115200"
 CONFIG_CMDLINE_FORCE=y
 CONFIG_COMMON_CLK=y
+# CONFIG_COMPAT_32BIT_TIME is not set
 CONFIG_CPU_RMAP=y
 CONFIG_CRC16=y
 CONFIG_CRYPTO_ACOMP2=y
@@ -183,6 +184,7 @@ CONFIG_RATIONAL=y
 CONFIG_REFCOUNT_FULL=y
 CONFIG_REGMAP=y
 CONFIG_REGMAP_MMIO=y
+CONFIG_RELOCATABLE=y
 CONFIG_RFS_ACCEL=y
 CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
 CONFIG_RPS=y



More information about the lede-commits mailing list