I'm trying to use lolo load and burn commands to burn a raw binary image to the NOR flash. However, no matter what flash adress I use in the load command the subsequent burn command warns me that the one or more of the first sectors will be erased (supposedly containing lolo + config).
Anyone knows the trick to write something to the NOR flash on a i.MX31 Litekit?
Version 2.4.0-IMX31_10 0001
*****************************************************************
losh> ifconfig sm0 /dev/config
losh> load raw 0xa0060000 10000 /tftp/192.168.1.5.zero.bin
error: load: failed to open (/tftp/192.168.1.5.zero.bin)
losh> load raw 0xa0060000 10000 /tftp/192.168.1.5:zero.bin
loading from /tftp/192.168.1.5:zero.bin:
loading raw binary to 0xa0060000 (flash) len 00002710:
.....done
file loaded to ram buffer, destined for flash addr: 0xa0060000
losh> burn
region name /dev/flash0
phys_address 0xa0000000
virt_address 0xa0000000
size 0x200000
Nor flash erase: The area (or parts of it) 0x0 - 0x10000 is locked.
The area you are trying to write to is locked
************************* WARNING!! *****************************
You are about to erase locked areas.
They might be needed to boot the card engine. If you erase this block the
card engine may not boot. Are you sure you want to do this?
************************* WARNING!! *****************************
Do you wish to continue? (y/n)