Hi Felipe,

[ Dropping Greg and [email protected] ]

> Hi,

> Petr Vorel <[email protected]> writes:
> >> > [1] 
> >> > https://github.com/linux-sunxi/sunxi-livesuite/blob/master/awusb/awusb.c

> >> Why is this even a driver at all, it looks like you can write a small
> >> userspace program using libusb to do everything it does, right?  What
> >> exactly is this driver needed for?

> > I'm sorry for not providing more info at the beginning. This is a driver for
> > host computer (i.e. developers laptop) used by LiveSuit tool [2] to flash 
> > Images
> > to the NAND of Allwinner devices. LiveSuit itself [3] is unfortunately 
> > provided
> > only in binary form. The only open source code with GPL v2 license is awusb
> > driver. Thus I thought I could ease my life with upstreaming at least the
> > kernel driver. But maybe it's not a good idea. I'm using LiveSuit for 
> > flashing
> > Allwinner A31, but it requires quite old distro due libqtgui4. Maybe sunxi 
> > folks
> > use something newer nowadays, but I haven't found anything in their wiki.

> looks like you could implement that entirely in userspace with libusb ;-)
Thanks for a hint. Yes, whole thing should be able to implement in userspace.
I'll have look if I'm able to reveal what current userspace code (LiveSuit)
does. The goal is to have simple command line tool (no GUI).

Kind regards,
Petr

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/YPxBID3rk0NY5IC8%40pevik.

Reply via email to