Erasing part of the nand

Lluís Batlle i Rossell viriketo at gmail.com
Mon Nov 22 15:21:32 EST 2010


On Mon, Nov 22, 2010 at 08:44:05PM +0100, Bas Wijnen wrote:
> Op 22-11-10 20:37, Lluís Batlle i Rossell schreef:
> > On Mon, Nov 22, 2010 at 10:30:22AM +0800, Xiangfu Liu wrote:
> >> you right. the 'nrpog' use nand-pages, the 'nerase' use nand-blocks.
> >>
> >> it's probably  a bug of "xburst_stage2" of 'usbboot', we will fix that.
> >> (I just changed the code. will test it a little before commit)
> > Thank you!
> > 
> > Now that you are at it... could you make 'usbboot' not require root access? I
> > tried to have proper permissions in /dev/bus/usb for the device (through udev
> > rules), but usbboot keeps asking for root access.
> 
> I do the same thing. As a workaround, you can run it using fakeroot and
> it works well. This means that the only problem is that the program
> checks for root permissions, not that it actually needs them for anything.
I know.

'minicom' does the same. It's annoyingly full of   "if (getuid() == 0)"

Regards,
Lluís.




More information about the discussion mailing list


interactive