Re: XO-1.75 OpenFirmware serial terminal
I agree with Mitch, the size of it is insignificant. Even without any tuning and integration with existing code, the dictionary only grows by about 2400 bytes for the 5248 byte source file. If you think it will be useful, we can add it. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Techteam] XO-1.75 OpenFirmware serial terminal
On Wed, Mar 28, 2012 at 09:50:07AM -0400, Martin Langhoff wrote: > On Tue, Mar 27, 2012 at 5:52 AM, James Cameron wrote: > > This is a serial terminal implementation for an XO-1.75 using Open > > Firmware. > > > > Allows a laptop to be a host for a target laptop through a crossover > > cable. > > That's a very cool trick. So only XO-1.75 can be the host, but any XO > model can be the target? The latest version 2d57785 works on XO-1, XO-1.5, and XO-1.75 as the host, and any XO can be the target. It can also send a BREAK, for kernel SysRq or Open Firmware keyboard interrupt ... although the Open Firmware support for BREAK recognition was missing on XO-1.75. Fixed in svn 2932. References: http://wiki.laptop.org/go/Serial_adapters#Open_Firmware http://dev.laptop.org/git/users/quozl/olpc-firmware-terminal.git/ git://dev.laptop.org/users/quozl/olpc-firmware-terminal.git -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC Engineering] [Techteam] XO-1.75 OpenFirmware serial terminal
The space required by the serial terminal thing is insignificant. On 3/28/2012 4:44 PM, John Watlington wrote: On Mar 27, 2012, at 5:52 AM, James Cameron wrote: This is a serial terminal implementation for an XO-1.75 using Open Firmware. Useful --- the computer science equivalent of the voltmeter. Educational --- I learned that OFW has structs, and some new primitives (/n, ukey). Credit to the existing Open Firmware serial port FIFO queue implementation. Couldn't have made it stable without it. Nice. It is cool to see a Forth version of what I wrote so many variations of in C. My favorite two lines (for simplicity) in the terminal emulator were: \ serial interrupt handler for received data : si ( -- ) ukey read-q enque ; I'd love to see serial terminal preloaded, but also acknowledge that I'm the one pushing against a 2MB SPI Flash ROM. How about specifying a location in the main build, where another 20KB of example OFW code isn't as important ? Say: devalias lib int:2 # build a pointer to the library into OFW dir lib:\ofwlib\ # See what is available (anyway to avoid the dir name ?) fload lib:\ofwlib\serial.fth serial We could also move some of the existing non-essential OFW utilities there as SPI Flash ROM space gets tighter, such as emacs. Cheers, wad ___ Techteam mailing list techt...@lists.laptop.org http://lists.laptop.org/listinfo/techteam ___ Engineering mailing list engineer...@laptop.org http://lists.laptop.org/listinfo/engineering ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: XO-1.75 OpenFirmware serial terminal
On Mar 27, 2012, at 5:52 AM, James Cameron wrote: > This is a serial terminal implementation for an XO-1.75 using Open Firmware. Useful --- the computer science equivalent of the voltmeter. Educational --- I learned that OFW has structs, and some new primitives (/n, ukey). > Credit to the existing Open Firmware serial port FIFO queue > implementation. Couldn't have made it stable without it. Nice. It is cool to see a Forth version of what I wrote so many variations of in C. My favorite two lines (for simplicity) in the terminal emulator were: \ serial interrupt handler for received data : si ( -- ) ukey read-q enque ; I'd love to see serial terminal preloaded, but also acknowledge that I'm the one pushing against a 2MB SPI Flash ROM. How about specifying a location in the main build, where another 20KB of example OFW code isn't as important ? Say: devalias lib int:2 # build a pointer to the library into OFW dir lib:\ofwlib\ # See what is available (anyway to avoid the dir name ?) fload lib:\ofwlib\serial.fth serial We could also move some of the existing non-essential OFW utilities there as SPI Flash ROM space gets tighter, such as emacs. Cheers, wad ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: PATCH: revise firmware name used in OOB
On Wed, 2012-03-28 at 16:04 +0100, Peter Robinson wrote: > On Wed, Mar 28, 2012 at 2:02 PM, Jerry Vonau wrote: > > Hi All: > > > > Patch to correct the firmware name used in olpc-os-builder, due to the > > recent renaming of the bootfw rpm. > > This fix is already in the master branch of OOB. > > Peter Sorry that was meant for version 4.1, but I see dsd just fixed that. Is version 4.1 in git going to be released as an rpm at some point in the future? Jerry ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Techteam] XO-1.75 OpenFirmware serial terminal
On Wed, Mar 28, 2012 at 09:50:07AM -0400, Martin Langhoff wrote: > On Tue, Mar 27, 2012 at 5:52 AM, James Cameron wrote: > > This is a serial terminal implementation for an XO-1.75 using Open > > Firmware. > > > > Allows a laptop to be a host for a target laptop through a crossover > > cable. > > That's a very cool trick. So only XO-1.75 can be the host, but any XO > model can be the target? Yes. I've only written the program for XO-1.75, but it could be ported also to XO-1.5 and XO-1. Let me know if that is interesting. XO-1.5 has a much faster Open Firmware scroll rate, so would be a better unit to use. -- James Cameron http://quozl.linux.org.au/ ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: 12.1.0; dri drivers
On Tue, Mar 27, 2012 at 3:29 PM, Yioryos Asprobounitis wrote: > That is correct. on Nov 15 2010. > > It was added back on Nov 16 2011 commit > 0fd2b01338952b944d93187079795db85dea4891 "Cleanups to BuildRequires, > Requires, Conflicts, etc." with no further explanation Great, thanks for investigating this. I filed https://bugzilla.redhat.com/show_bug.cgi?id=807750 Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: PATCH: revise firmware name used in OOB
On Wed, Mar 28, 2012 at 2:02 PM, Jerry Vonau wrote: > Hi All: > > Patch to correct the firmware name used in olpc-os-builder, due to the > recent renaming of the bootfw rpm. This fix is already in the master branch of OOB. Peter ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: Disable mesh
On Wed, 2012-03-28 at 10:17 -0400, Kevin Gordon wrote: > Folks: > > If one never uses mesh in a 15-20 group XO-1 classroom environment, > but always uses AP's, is there any appreciable benefit to disabling > mesh completely - perhaps to reduce chatter or power usage? > > I have read one can use the following to do so, if desired: > > echo 0 > /sys/class/net/eth0/lbs_mesh > > > > and put it into the rc.local if one wants to persist this state. > > Opinions welcome. :-) You would have use powerd's postresume.d hooks to disable that after a suspend cycle. Have a look at how dextrose does that: http://download.sugarlabs.org/dextrose/testing/dx3/rpms/source/dextrose-platform-2-2.fc14.src.rpm Jerry ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Disable mesh
Folks: If one never uses mesh in a 15-20 group XO-1 classroom environment, but always uses AP's, is there any appreciable benefit to disabling mesh completely - perhaps to reduce chatter or power usage? I have read one can use the following to do so, if desired: echo 0 > /sys/class/net/eth0/lbs_mesh and put it into the rc.local if one wants to persist this state. Opinions welcome. :-) Thanks KG ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [OLPC Engineering] [Techteam] XO-1.75 OpenFirmware serial terminal
martin wrote: > On Tue, Mar 27, 2012 at 5:52 AM, James Cameron wrote: > > This is a serial terminal implementation for an XO-1.75 using Open > > Firmware. > > > > Allows a laptop to be a host for a target laptop through a crossover > > cable. > > That's a very cool trick. So only XO-1.75 can be the host, but any XO > model can be the target? a cool trick indeed. now if james and mitch could just get OFW to support python, there's a whole lot of middleware we could get rid of. paul =- paul fox, p...@laptop.org ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Techteam] XO-1.75 OpenFirmware serial terminal
On Tue, Mar 27, 2012 at 5:52 AM, James Cameron wrote: > This is a serial terminal implementation for an XO-1.75 using Open > Firmware. > > Allows a laptop to be a host for a target laptop through a crossover > cable. That's a very cool trick. So only XO-1.75 can be the host, but any XO model can be the target? > Caution: the program turns off the Open Firmware serial console when it > starts, to avoid unpleasant interaction between the Open Firmware ok > prompt and any connected device. Connecting the cable before the > program is started may result in each laptop screaming at the other > repeatedly. ok ok ok ok ok ok ok ok ok ok :-) m -- 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
PATCH: revise firmware name used in OOB
Hi All: Patch to correct the firmware name used in olpc-os-builder, due to the recent renaming of the bootfw rpm. Jerry diff --git a/olpc-os-builder/modules/xo1_5/kspkglist.50.xo1_5.inc b/olpc-os-builder/modules/xo1_5/kspkglist.50.xo1_5.inc index a678230..9843807 100644 --- a/olpc-os-builder/modules/xo1_5/kspkglist.50.xo1_5.inc +++ b/olpc-os-builder/modules/xo1_5/kspkglist.50.xo1_5.inc @@ -3,4 +3,4 @@ xorg-x11-drv-chrome # currently XO-1.5 / XO-1.75 only olpc-runin-tests -bootfw +olpc-firmware ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel