Flash Apalis iMX6 through internal eMMC

Apalis iMX6 # load mmc 0:4 0 apalis_imx6/flash_blk.img
4261 bytes read in 81 ms (50.8 KiB/s)

I had to include a ‘0’ there or else it wouldn’t even try, I guess for a syntax error of load.

It can read ‘by hand’ since the byte count is the same as ls command.

Can it be an error caused by the first flash_blk.img in the parent directory? It can read that one and the setup fails while executing that script.

EDIT: Found it. On that script fatload ${interface} ${drive}:1 ${loadaddr} ${board_name}/flash_blk.img && source ${loadaddr} is there a way for me to patch this? meta-toradex-nxp?

EDIT2: Found it on the meta-toradex-demos, just like update.sh. I think i will create a new file script in paralell to this one but i think it’s worked out. Thank you one more time Max