Parsing extracted i.MX NAND flash

Rogan Dawes lists at dawes.za.net
Mon Nov 18 09:39:39 PST 2024


Hi folks,

I have an i.MX6 target I am trying to get a shell on. It is using High
Assurance Boot and various other configurations to prevent this. My
current approach is to remove the flash, extract the filesystems, modify
one that is not subject to HAB, then put it all back, in order to enable
a shell.

I have removed the flash, and extracted its contents using an Xgecu
flash reader. Now I need to parse the FCB and extract the actual data
from the dump. I have found imx-nand-tools, but this doesn't work due to
bitrot (the bchlib dependency has moved on while imx-nand-tools has not
been updated).

I was wondering whether there was a way to layer the existing linux
drivers on top of nandsim, in order to actually interpret the dump
correctly? This would seem to be the most future-proof way of solving
this problem, since the Linux drivers would be kept up to date.

Any suggestions?

Thanks and regards,

Rogan





More information about the linux-mtd mailing list