xo-1.75 support in olpc-utils

Paul Fox pgf at laptop.org
Mon Jun 27 13:28:32 EDT 2011


martin wrote:
 > On Mon, Jun 27, 2011 at 11:37 AM, Richard A. Smith <richard at laptop.org> wrote:
 > > How are you determining in olpc-utils that you are running on a 1.75?
 > > Is this available for runin to pickup?
 > 
 > +        # FIXME XO-1.75 fallback support until we get ofw data
 > +        # exposed via device tree
 > +        elif [ `uname -m` == 'armv7l' ]; then
 > +	    XO_VERSION="1.75"

note that i've also added detection code in runin-battery -- if
/sys/power/ec doesn't exist, it tries for the new debugfs node.
so that module already knows what platform it's on.

paul

 > 
 > > Right now the battery test seems to skate by.  We have a minimum SOC
 > > diff of 20 clicks and the battery discharge test is coming in at 24
 > > clicks.  From the sample set I have so far the runin power draw seems to
 > > be very consistent and a margin of 4 may be enough but its pretty close.
 > >  I may need to adjust the test levels if a 1.75 is detected.
 > 
 > Sounds reasonable. James has been looking after runin so CC'd.
 > 
 > 
 > 
 > m
 > -- 
 >  martin.langhoff at gmail.com
 >  martin at laptop.org -- Software Architect - OLPC
 >  - ask interesting questions
 >  - don't get distracted with shiny stuff  - working code first
 >  - http://wiki.laptop.org/go/User:Martinlanghoff
 > _______________________________________________
 > Devel mailing list
 > Devel at lists.laptop.org
 > http://lists.laptop.org/listinfo/devel

=---------------------
 paul fox, pgf at laptop.org



More information about the Devel mailing list