Re: xo-1.75 support in olpc-utils
martin wrote: > On Mon, Jun 27, 2011 at 11:37 AM, Richard A. Smith > 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.langh...@gmail.com > mar...@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@lists.laptop.org > http://lists.laptop.org/listinfo/devel =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: xo-1.75 support in olpc-utils
On Mon, Jun 27, 2011 at 11:37 AM, Richard A. Smith 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" > 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.langh...@gmail.com mar...@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@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: xo-1.75 support in olpc-utils
On 06/25/2011 11:00 AM, Daniel Drake wrote: > Thanks for sharing it. I agree with developing it as a scratch branch, > while temporary hacks are needed and it targets F13 instead of F14. > > Looking at what is there already, I'm hopeful that you will soon have > device tree access working (this is not a big job) which would > eliminate the olpc-configure changes, and the X stuff seems to be in > flux so I think a scratch branch is the right place for now. How are you determining in olpc-utils that you are running on a 1.75? Is this available for runin to pickup? 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. -- Richard A. Smith One Laptop per Child ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: xo-1.75 support in olpc-utils
On 23 June 2011 17:54, Martin Langhoff wrote: > Unless there's concerns with this, I'm planning to use this branch as > a bit of a scratch branch for xo-1.75 support patches, so it's visible > to you and others hacking on olpc-utils, and can be merged or reworked > as appropriate. Thanks for sharing it. I agree with developing it as a scratch branch, while temporary hacks are needed and it targets F13 instead of F14. Looking at what is there already, I'm hopeful that you will soon have device tree access working (this is not a big job) which would eliminate the olpc-configure changes, and the X stuff seems to be in flux so I think a scratch branch is the right place for now. Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
xo-1.75 support in olpc-utils
I've pushed out a patch with initial support for xo-1.75 -- it's on an 'xo-1.75' branch, if you think it passes review, perhaps worthy of a merge. Unless there's concerns with this, I'm planning to use this branch as a bit of a scratch branch for xo-1.75 support patches, so it's visible to you and others hacking on olpc-utils, and can be merged or reworked as appropriate. So far, so trivial http://dev.laptop.org/git/projects/olpc-utils/log/?h=xo-1.75 cheers, m -- martin.langh...@gmail.com mar...@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@lists.laptop.org http://lists.laptop.org/listinfo/devel