From 64424c24275bf254cc515197b14da165255b8830 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Wed, 2 Oct 2024 15:07:47 +0200 Subject: [PATCH] bcm53xx: enable CONFIG_EEPROM_AT24 Meraki MX6x devices use them to store MAC address, so it is required to be built-in for networking to probe properly, before preinit network setup happens, which in turn is required for proper failsafe mode access. Enable CONFIG_EEPROM_AT24 for the target. Signed-off-by: Lech Perczak Link: https://github.com/openwrt/openwrt/pull/16634 Signed-off-by: Hauke Mehrtens --- target/linux/bcm53xx/config-6.6 | 1 + target/linux/bcm53xx/image/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/target/linux/bcm53xx/config-6.6 b/target/linux/bcm53xx/config-6.6 index 37088eb101..26fa023595 100644 --- a/target/linux/bcm53xx/config-6.6 +++ b/target/linux/bcm53xx/config-6.6 @@ -125,6 +125,7 @@ CONFIG_DTC=y CONFIG_EARLY_PRINTK=y CONFIG_EDAC_ATOMIC_SCRUB=y CONFIG_EDAC_SUPPORT=y +CONFIG_EEPROM_AT24=y CONFIG_EXCLUSIVE_SYSTEM_RAM=y CONFIG_EXTCON=y CONFIG_FIXED_PHY=y diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile index e02eba387c..501486c063 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -382,7 +382,7 @@ TARGET_DEVICES += luxul_xwr-3150 define Device/meraki_mr26 DEVICE_VENDOR := Meraki DEVICE_MODEL := MR26 - DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc kmod-eeprom-at24 \ + DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc \ kmod-hwmon-ina2xx kmod-leds-uleds nu801 DEVICE_DTS := bcm53015-meraki-mr26 # resize the initramfs to fit the size of the existing part.safe. @@ -399,7 +399,7 @@ TARGET_DEVICES += meraki_mr26 define Device/meraki_mr32 DEVICE_VENDOR := Meraki DEVICE_MODEL := MR32 - DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc kmod-eeprom-at24 \ + DEVICE_PACKAGES := $(B43) kmod-i2c-bcm-iproc \ kmod-leds-pwm kmod-hwmon-ina2xx kmod-bluetooth DEVICE_DTS := bcm53016-meraki-mr32 # Meraki FW r23 tries to resize the part.safe partition before it will -- 2.30.2