Re: writing to flash from linux
From: Ratheesh <hidden>
Date: 2007-09-12 04:08:39
Hi,
You can write into flash from linux if you have mapped the flash in mtd
partition. you can open /dev/mtdx(partition that covers your flash
area) file and use normal read/write function calls to read/write from the
flash. Remember to erase the flash before attempting to write data. You can
refer sourcecode of mtd-utils.
Regards
Ratheesh
On 9/11/07, Yoni Levin [off-list ref] wrote:Hi , I have EN29LV640H flash (http://www.eonsdi.com/pdf/EN29LV640.pdf) On my mpc83xx board. How can I write data to flash from linux.? I guess it done with mtd , there is an example somewhere? Thanks. _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded