I am in possession of a LX2160A CEx7 CoM with a broken primary DIMM slot.
Firmware images fail to boot with a DIMM in the secondary DIMM slot, because there is a bug after disabling the first DDR controller in the upstream ATF-A NXP DDR code.
I have opened an issue with ATF-A here nxp ddr: Unused first DDRC is disabled improperly · Issue #144 · TrustedFirmware-A/trusted-firmware-a · GitHub , outlining the problem and the solution (a single-line change).
The slightly clumsy way of applying the change is to clone
Then running an arbitrary build once.
Then change in build/atf/drivers/nxp/ddr/nxp-ddr/utility.c line 147 from
priv->phy[0] = priv->phy[0];
to
priv->phy[0] = priv->phy[1];