Skip to content

Commit

Permalink
bcm53xx: enable CONFIG_EEPROM_AT24
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: openwrt/openwrt#16634
Signed-off-by: Hauke Mehrtens <[email protected]>
  • Loading branch information
Leo-PL authored and hauke committed Oct 21, 2024
1 parent 8d7c08f commit 64424c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions target/linux/bcm53xx/config-6.6
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions target/linux/bcm53xx/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 64424c2

Please sign in to comment.