From 19ce32980ee2ff4f7b27ae378c0c35e2792d29c2 Mon Sep 17 00:00:00 2001 From: Jacob Dahl <37091262+dakejahl@users.noreply.github.com> Date: Wed, 2 Sep 2026 16:21:31 -0600 Subject: [PATCH] fix(ark/fmu-v6xrt): probe PAB EEPROM after I2C6 is up (#28513) The 24LC64T on I2C3_BASE is wired to LPI2C6 (X1_8/10). Manifest MTD talks I2C, so it has to run after those pins are I2C and VDD_5V_PERIPH is on, or the chip does not attach and netman cannot save. --- boards/ark/fmu-v6xrt/src/init.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boards/ark/fmu-v6xrt/src/init.c b/boards/ark/fmu-v6xrt/src/init.c index bed434b1639..d8de12de68a 100644 --- a/boards/ark/fmu-v6xrt/src/init.c +++ b/boards/ark/fmu-v6xrt/src/init.c @@ -506,8 +506,6 @@ __EXPORT int board_app_initialize(uintptr_t arg) imxrt_spiinitialize(); - px4_platform_configure(); - if (OK == board_determine_hw_info()) { syslog(LOG_INFO, "[boot] Rev 0x%1x : Ver 0x%1x %s\n", board_get_hw_revision(), board_get_hw_version(), board_get_hw_type_name()); @@ -557,6 +555,10 @@ __EXPORT int board_app_initialize(uintptr_t arg) px4_platform_i2c_init(); + /* PAB 24LC64T is on I2C3_BASE = LPI2C6 (X1_8/10). Manifest MTD talks I2C, so it + * runs after those pins are I2C and VDD_5V_PERIPH is on. FlexSPI FRAM does not care. */ + px4_platform_configure(); + /* Configure the Actual SPI interfaces (after we determined the HW version) */ imxrt_spiinitialize();