Re: imx6 usb update

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

 



Hey all,

the bootmode detection I figured out, but the using DFU to directly
flash barebox bricks my system;

usbgadget -D /dev/nand0.barebox(barebox)s

That doesn't work. 

Is there a way to update barebox via DFU? 

If not directly is it possible to trigger a script after DFU uploaded a
file, so I can call barebox_update ?

Or what would be the "barebox" way to do it ?

TIA,

Erwin

On Fri, 2018-11-30 at 14:49 +0100, Erwin Rol wrote:
> Hallo all,
> 
> I have my barebox running on a iMx6 (phyBOARD-Segin + phyCORE-i.MX 6UL
> Modul).
> 
> Loading via USB works fine, and via DFU I can upload a barebox image
> and use barebox_update to flash barebox in NAND.
> 
> Is it possible to have DFU correctly flash barebox, without first
> upload a image to /tmp/barebox and than use barebox_update ?
> 
> And a second question is it possible to detect if barebox was booted
> from NAND or from USB via imx-loader ? I woud like to use that to start
> the system normal when it boots from NAND but go in DFU update mode
> when it was started via imx-usb-loader.
> 
> As always hints and tips are very welcome,
> 
> Erwin
> 
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/barebox

_______________________________________________
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