I don't know your status,maybe I misunderstand this, I thought you have two different customized board on your hands, you couldn't distinguish them, in fact, when the board boot up, you can read the cpu information from the uboot, so I ask for the log file, the source code from
“https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/mach-imx/imx8/cpu.c?h=imx_v2020.0...
u32 get_cpu_rev(void)
{
u32 id = 0, rev = 0;
int ret;
ret = sc_misc_get_control(-1, SC_R_SYSTEM, SC_C_ID, &id);
if (ret)
return 0;
rev = (id >> 5) & 0xf;
id = (id & 0x1f) + MXC_SOC_IMX8; /* Dummy ID for chip */
/* 8DXL uses A1/A2, so generate dummy rev to differentiate with B/C */
if (id == MXC_CPU_IMX8DXL && rev != 0)
rev = 0x10 + rev;
return (id << 12) | rev;
}