Hi, we have both a NOR flash (QSPI) and an eMMC chip on our custom, LS1046A-based board.
We can flash QSPI just fine and it boots, but we'd also like to to flash eMMC, but not the general purpose partition, but rather the first hardware boot partition, which in Linux, shows as /dev/mmcblk0boot0.
Question is, how can we do that from CodeWarrior?
I have this line in our Target Initialization File:
fl.add_device({"alias": "mmc", "name": "EMMC_MTFC8_SDHC2", "address": 0x0, "ws_address": 0x80000000, "ws_size": 0x1FFFF, "geometry": "8x1", "controller": "eSDHC"})
If I write BL2 to this device, though, it writes to the general purpose partition, and not the hardware boot partition.
We're using MTFC32GBCAQTC-IT, connected to the eSDHC if it helps, and otherwise works fine, we can boot into Linux that's on it.
Thanks!