Re: flash barebox to NAND

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

 



On 2019-10-23 11:39 a.m., Mihaita Ivascu wrote:
Hello all,

   I would like to know what possibilities do I have to flash a barebox
image to mtd partition from Linux?
  Using ubifs commands does not work. the barebox will not boot so
probably additional info needs to be written except the barebox image
itself.

I needed to flash updates to barebox from userspace myself and struggled with a solution for a bit.

I'm doing three things:

 1) get the correct /dev-device for barebox
 2) use `flash_erase` on that device
 3) use `nandwrite` to write the barebox_*.img onto the device

This works for me, and there's probably some documentation for this around, but i do not recall where i found it anymore.

good luck
Andreas

_______________________________________________
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