NOR flash writing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All!

I have barebox running on a board with SPI flash chip.
I can write to the SPI flash chip using /dev/nor0 interface.
Before writing data to the /dev/nor0 device I have to erase it explicitly with 'erase /dev/nor0' command.

How I can write to /dev/nor0 in a more transparent way. E.g. if I want to update only several bytes
on /dev/nor0 then I use 'mw -d /dev/nor0 ...' command and barebox  automatically reads appropriate
flash sector into RAM, modify it, erase NOR flash device sector and write new sector content into NOR flash device.

-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux