I always use the block device
'cp zImage /dev/mtdblock/3' works for me.
of 'cp zImage /dev/mtdblock3' if you are not using devfs.
Heinz
Rafael Rodr�guez Velilla <[EMAIL PROTECTED]>
Gesendet von: An: linux-arm
<[EMAIL PROTECTED]>
[EMAIL PROTECTED] Kopie:
Thema: MTD and raw
access
05.12.01 20:01
Is there a way to transfer a raw binary file into an mtd partition
from Linux.
I have an Assabet with a some partitions, in the first one I store my
bootloader and the kernel,
I've tried to update the kernel with:
erase /dev/mtd0
dd if=kernelloader.bin of=/dev/mtd0 bs=1
(I have also tried with cp)
But when I reboot it starts to decompress the kernel but stops
regreting of an invalid crc.
(kernelloader.bin is around 750 k)
Do you know of a simple way to do what I want? Is there a lower layer
under mtd that would let me access the flash as a raw device?
--
Rafael Rodr�guez Velilla [EMAIL PROTECTED]
Telef�nica I+D http://www.tid.es
Telf: +34 - 91 337 4270
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.