Re: [ANNOUNCE] CELF open project proposal

2009-12-04 Thread Robert Schwebel
On Fri, Dec 04, 2009 at 02:29:12PM +1100, Aras Vaichas wrote: In barebox (aka u-boot-v2) we have USB DFU support, in a very flexible way. Would that fit your needs? That would probably be better than TFTP over ethernet. A USB DFU upgrade would only require the microcontroller to be

[POWER] battery calibration parameters from sysfs

2009-12-04 Thread Linus Walleij
Hi, we're working on battery charging support for ST-Ericsson MFD ASICs like AB3100 and later series. I have this issue about battery calibration parameters that I need advice on, and more specifically on how to use sysfs to get that data in. Most devices of this kind does not need the stuff

Re: [POWER] battery calibration parameters from sysfs

2009-12-04 Thread Mark Brown
On Fri, Dec 04, 2009 at 11:42:22AM +0100, Linus Walleij wrote: Most devices of this kind does not need the stuff we're doing so we're the odd bird here. Other batteries are smart (contain factory calibration inside of them) or get calibration from some BIOS or such. In our code we have a

Re: [POWER] battery calibration parameters from sysfs

2009-12-04 Thread Alexander Clouter
Linus Walleij linus.wall...@stericsson.com wrote: [snipped] Is probably not very elegant. (Or is it?) Would it be permissible to pass in a table like: cat /sys/.../v_vs_cap EOF x0,y0 x1,y1 x2,y2 EOF And have the kernel parse x,y pairs up to EOF? Or would it be preferable to do

Re: [POWER] battery calibration parameters from sysfs

2009-12-04 Thread Mark Brown
On Fri, Dec 04, 2009 at 10:49:31AM +, Mark Brown wrote: Isn't the standard thing here to handle this voltage to capacity mapping in userspace if we're just extrapolating from experimental results? Even with the smart batteries in PCs there are some accuracy concerns and obviously the

Re: [ANNOUNCE] CELF open project proposal

2009-12-04 Thread Kyungmin Park
On Thu, Dec 3, 2009 at 10:50 PM, Mike Frysinger vapier@gmail.com wrote: On Thu, Dec 3, 2009 at 08:38, Kyungmin Park wrote: On Thu, Dec 3, 2009 at 3:25 PM, Wolfgang Denk wrote: Aras Vaichas wrote: Support for 2nd stage booting from NAND with newer filesystems such as UBIFS. i.e. simplified

Re: [ANNOUNCE] CELF open project proposal

2009-12-04 Thread Kyungmin Park
On Fri, Dec 4, 2009 at 5:54 AM, Robert Schwebel r.schwe...@pengutronix.de wrote: On Thu, Dec 03, 2009 at 10:38:07PM +0900, Kyungmin Park wrote: How about the TFTP over USB? It's required feature for no ethernet devices In barebox (aka u-boot-v2) we have USB DFU support, in a very flexible