XOpup Interest Group. Puppy Linux for the OLPC XO-1 laptop
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
The latest iso version is 539M compressed.
http://www.skolelinux.de/XO-LiveCD/
man that's big, probably just a small version. Hmmm maybe later I could look at koffice, should be able to get that around 80MB. And if you remove the abiword/Gnumeric it would only add about 65MB or less.
But first I'll try abiword. and see how it goes.
ttuuxxx
http://www.skolelinux.de/XO-LiveCD/
man that's big, probably just a small version. Hmmm maybe later I could look at koffice, should be able to get that around 80MB. And if you remove the abiword/Gnumeric it would only add about 65MB or less.
But first I'll try abiword. and see how it goes.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Yikes! As the great Maxwell Smart would say "I missed it by that much!" (none other than 80 Mb!).ttuuxxx wrote:The latest iso version is 539M compressed.
http://www.skolelinux.de/XO-LiveCD/
man that's big, probably just a small version. Hmmm maybe later I could look at koffice, should be able to get that around 80MB. And if you remove the abiword/Gnumeric it would only add about 65MB or less.
But first I'll try abiword. and see how it goes.
ttuuxxx
Good luck with that ttuuxxx. I'll watch this thread for news.
best
Yes, after lots of 'weightlifting" practice with 214X, ttuuxxx tries the XOpup.
Please keep notes here in the forum as you go on as others may follow your example for other platforms.
Good luck!
Please keep notes here in the forum as you go on as others may follow your example for other platforms.
Good luck!
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Hi Raffy I'll try my best to detail what I've been doing like the 2.14X thread is, I have a feeling the Kernel will be a large effort, Once the kernel is compiled then it shouldn't be so bad after that. First I would like to get Upup or Dpup working on it. Then compile a kernel, Xorg, alsa and start using woof. Really PPup would be good and probably the smallest, but it looks like its the end of the road for 4 series soon, 6 months give or take until 5 series takes off. So I'll opt for a larger version that includes extra deps.
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
some usefull info
Hey ttuuxxx
please do not hesitate to provide snapshots and alphas for testing. Would be better if they run from a USB or SDcard instead of the internal NAND
Some info that you may find useful
Th latest stable XO-1 release is os 802. Is 223MB (jffs2) to install in the NAND or 450MB with all the aplications and data libraries. You can get the ext3 version for installation in USB/SD card however is not going to work without a little hack.
The OS is Fedora 9 based and uses a patched 2.6.25 kernel. Kernel sources are here.
There are Fedora 11 based development builds using the 2.6.30 kernel. They are about 500MB but include >100MB worth of applications. However these still have problems with the video driver, battery monitor/embedded controller and camera drivers.
There is also a Debian version with more mainstream infrastructure and a geode video driver that supports multiple resolutions, that you may find useful.
The Ubuntu Intrepid version is probably the most polished XO distro and the developers provides several goodies, including power management, screen rotation, battery monitor keybindings etc that you may also find useful.
Finally olpc-powerd and olpc-kbdshim are very handy packages for touchpad, keyboard monitoring, mods and power management. Are HAL-based and may be proven handy.
A lot/all the Open Firmware/FORTH info can be found here
A word of caution. XO-1 is not playing well with some SDcard brands and types. Transend and Kingston are pretty reliable but people are reporting more problems with bigger cards. Never heard anyone using a 32GB on the XO.
Also XO-1 has also some quircks. Ask if you come across anything strange or hard to guess eg ctrl-alt-neibourhood (the 3 dot button) drops you to console...
please do not hesitate to provide snapshots and alphas for testing. Would be better if they run from a USB or SDcard instead of the internal NAND
Some info that you may find useful
Th latest stable XO-1 release is os 802. Is 223MB (jffs2) to install in the NAND or 450MB with all the aplications and data libraries. You can get the ext3 version for installation in USB/SD card however is not going to work without a little hack.
The OS is Fedora 9 based and uses a patched 2.6.25 kernel. Kernel sources are here.
There are Fedora 11 based development builds using the 2.6.30 kernel. They are about 500MB but include >100MB worth of applications. However these still have problems with the video driver, battery monitor/embedded controller and camera drivers.
There is also a Debian version with more mainstream infrastructure and a geode video driver that supports multiple resolutions, that you may find useful.
The Ubuntu Intrepid version is probably the most polished XO distro and the developers provides several goodies, including power management, screen rotation, battery monitor keybindings etc that you may also find useful.
Finally olpc-powerd and olpc-kbdshim are very handy packages for touchpad, keyboard monitoring, mods and power management. Are HAL-based and may be proven handy.
A lot/all the Open Firmware/FORTH info can be found here
A word of caution. XO-1 is not playing well with some SDcard brands and types. Transend and Kingston are pretty reliable but people are reporting more problems with bigger cards. Never heard anyone using a 32GB on the XO.
Also XO-1 has also some quircks. Ask if you come across anything strange or hard to guess eg ctrl-alt-neibourhood (the 3 dot button) drops you to console...
PPup
It will be good to target small size and the packages that you've polished in 214X. Applications using GTK-1, for example, stand a better chance of being speedy. Last time I checked (using the Wizbook) the LX700 (which is in the XO-1) isn't that fast of a processor. Experience with the LX800 was better, but this is not the one used in the XO-1. (If this information is outdated, feel free to correct me.)ttuuxxx wrote:Really PPup would be good and probably the smallest, but it looks like its the end of the road for 4 series soon..
4.13 was the Woof build out of 4.2.1 packages - hope you've taken note of that.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
This last one (the kernel) might not be as simple as it sounds.ttuuxxx wrote:Hi Raffy, I'll explain.
It will not be a tradition puppy, most gtkdialog applications will be tossed. The reason, is that they take too much resources compared with C programs. Most scripts will have to stay because there aren't many replacements.
Gxine will be tossed and VLC will be used, I'll have to recompile 8.6h.
Most drivers will be tossed and I'll compile the ones needed for XO.
That will slim the OS size, why include extra that aren't needed?
all in all my goal is 75-130MB including gimp, wx. not sure on the size of sugar yet. I bet the battery life will almost double when I'm finished, compared to a regular puppy. Plus I'll have to do some custom things also. And yes I'll release testing versions and take input etc just like I did with 2.14X. So it can be a group effort if people want help, great.
The main request by the OLPC company is that I keep them informed with the progress and difficulties I encounter once a month.
My first target will be getting a working kernel, compiled just for XO, that way it will reduce extra drivers and make the OS even smaller. Same with alsa etc.
ttuuxxx
I guess a question would be what the starting point should be.
Compiling the 2.6.30.5 puppy patched kernel with the XO 2.6.30 config results in an unusable kernel. OLPC config has extended kernel hacking, security and nfs activated. It is not clear which of these are really needed for the XO hardware and may be patched by OLPC.
3-4 Aufs2 patches that I tried with the 2.6.30 olpc kernel did not work so it makes trickier to start with the OLPC kernel. Using 2.6.30 olpc kernel you may also have the problems mentioned in my pervious mail, with the XO hardware.
The 2.6.25 olpc kernel needs both squashfs and Aufs patches (i did not try any) and maybe more to make it puppy 4.x compatible.
Of course you could start from a vanilla kernel but OLPC is using git and does not produce any patches for the vanilla kernel, so you'll may need to reproduce their work...
I would go with an OLPC kernel as base, but I know you are way ahead of my abilities in this front. Is just my 2 cents....
Regarding the XOpup, certainly OOo is an overkill. The major advantage over Abi/Grumeric is the PowerPoint compatibility but the XO does not even have a VGA out...
Regarding browsers, Opera seems to be the best compromise of features/performance on the XO under traditional distros though it requires Qt, but it can also serve as mail client, torrent client and feed-reader so it's a trait-off. Also Qt is needed for Skype too. In any case is good to have an HTML5 capable browser since that's the way the web moves and Sugar content is build around HTML5/Javascript.
Obviously a lot of Puppy drivers are useless but given the XO target audience you may want to retain some of the most popular modem drivers.
However, I think that the major goal should be to build a puppy that will not diverge too much from the original so available pet/sfs could be used without further modification. Would be nice for example if someone could just install Java and Python (required for Sugar) from the pet/sfs without recompiling, and in general allow the end user to build their XOpup to suit their needs without too much hassle.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Thanks mavrothal for a great heads-up post. Firefox would be my browser of choice since It autoupdates and I have it tweaked nicely in 2.14x with a couple of plugins, for wysiwyg and email. Opera I don't like the location of the tabs by default and there aren't many themes or plugins compared to Firefox. Yes in the past I was able to hack the tabs location to give it a regular general browser feel.
As for kernels and OS version compatibility, hmmm maybe download 2.14X and give it a try its based on a old 2 series kernel from like 2005, and most of 4 series apps work on it, once in awhile some apps don't work, but I would say 75% do, if anything GlibC is the issue not really the kernel version. The newer the kernel the larger the iso, the latest kernel is very large compared to 4 series kernel, something like 5000 lines of a code is added everyday to the latest kernel. I would say bleeding edge is out, that can be like the large other versions that XO already has, something like 4 series or even 3 series would be good, hmmm I would like to see it compatible with one of larger main stream distros like Slackware, Ubuntu or Debian.
Still tracking the shipping of the laptop, should be here by friday
It Depart Facility from LA yesterday, So it but be on its way overseas today.
ttuuxxx
As for kernels and OS version compatibility, hmmm maybe download 2.14X and give it a try its based on a old 2 series kernel from like 2005, and most of 4 series apps work on it, once in awhile some apps don't work, but I would say 75% do, if anything GlibC is the issue not really the kernel version. The newer the kernel the larger the iso, the latest kernel is very large compared to 4 series kernel, something like 5000 lines of a code is added everyday to the latest kernel. I would say bleeding edge is out, that can be like the large other versions that XO already has, something like 4 series or even 3 series would be good, hmmm I would like to see it compatible with one of larger main stream distros like Slackware, Ubuntu or Debian.
Still tracking the shipping of the laptop, should be here by friday
It Depart Facility from LA yesterday, So it but be on its way overseas today.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
well I received the 2X laptops today, They are the current model, I did specifically asked for the next generation or prototype, The reason is that, If this take like 6 months like 2.14X did, Then once its finished it could be useless. Also The power adapters are North American, They must know by the address that its being shipped to Australia, So no I have to go out and buy 2x 12V adapters.
The Gui I really don't like, the symbol icons aren't really easily used, well I figure out a couple but most are like learning all over again. I just see it as confusing bloat, its not like windows, Linux, Mac. Come on whats up with that?
So tomorrow I'll go and buy some power adapters, looks like it doesn't have a wired network adsl plugin just wireless, so I'll have to buy a usb to adsl adapter. I know they sell them on ebay, but that could take 1.5 weeks or so. Also its very slow, I can't wait to remove the default layout etc.
ttuuxxx
The Gui I really don't like, the symbol icons aren't really easily used, well I figure out a couple but most are like learning all over again. I just see it as confusing bloat, its not like windows, Linux, Mac. Come on whats up with that?
So tomorrow I'll go and buy some power adapters, looks like it doesn't have a wired network adsl plugin just wireless, so I'll have to buy a usb to adsl adapter. I know they sell them on ebay, but that could take 1.5 weeks or so. Also its very slow, I can't wait to remove the default layout etc.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
enjoy!
OK! You (and hopefully us soon) are in business!
The new model differs only in the processor, so your job is not going to be wasted at all. Also the new model is still at the B-boards and with several problems. ( I think they have only ~100 of these machines and still rewiring things around...). Finally the 1mil+ machines out there (your target ) are like the ones you got.
Yes, Sugar is everything Puppy isn't
Slow and cumbersome with a UI aimed at elementary school kids that never saw a computer in their life. However, when you try to build a system that kids will be free to mess with it as much as they want and still will not brake, they can form ad-hoc networks without an AP and still be centrally controlled and secure, you may end-up is such a thing...
Now transforming this elephant with a heart of a Cheetah to a herding dog is a real challenge (I like all 3 animals for what they do)
PS:
Also the XO has a really strange size power input plug that does not match any of the common laptop or other transformer plugs (big story... so will not be stolen etc...)
The new model differs only in the processor, so your job is not going to be wasted at all. Also the new model is still at the B-boards and with several problems. ( I think they have only ~100 of these machines and still rewiring things around...). Finally the 1mil+ machines out there (your target ) are like the ones you got.
Yes, Sugar is everything Puppy isn't
Slow and cumbersome with a UI aimed at elementary school kids that never saw a computer in their life. However, when you try to build a system that kids will be free to mess with it as much as they want and still will not brake, they can form ad-hoc networks without an AP and still be centrally controlled and secure, you may end-up is such a thing...
Now transforming this elephant with a heart of a Cheetah to a herding dog is a real challenge (I like all 3 animals for what they do)
PS:
The power supply is 100-240V input. You need to buy 2 x$.05 plug adapters to fit the wall plug.So no I have to go out and buy 2x 12V adapters
Also the XO has a really strange size power input plug that does not match any of the common laptop or other transformer plugs (big story... so will not be stolen etc...)
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Hi mavrothal I actually found 1 power adapter at my house that worked fine, you can't buy anything for $0.05 in Australia, If there were cheap adapters like that, for sure they wouldn't sell them here. They would probably make you buy a whole kit . In the past when I used a power plug converter with a power adapter, the adapter blew up, I tried that a few times when I first moved to Australia, So I would be better off buying a new adapter for the other laptop.
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Well, 5 cents was a typo and really too cheap but I'm using a 50cents one (3 for $1.49) every day for 1 and a half now , all over Europe with the XO transformer, without any problem. As long as it makes good contact is fine.ttuuxxx wrote:Hi mavrothal I actually found 1 power adapter at my house that worked fine, you can't buy anything for $0.05 in Australia, If there were cheap adapters like that, for sure they wouldn't sell them here. They would probably make you buy a whole kit . In the past when I used a power plug converter with a power adapter, the adapter blew up, I tried that a few times when I first moved to Australia, So I would be better off buying a new adapter for the other laptop.
ttuuxxx
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Ok The first power adapter plugged in but didn't work, I then found another, And that one worked, then I found my wife's power converter so now I have 2 working power supplies.
Do you know how to open up the XO so that I can remove and replace the sd card inside, not the external one under the monitor. The one that the actual OS is located on.
ttuuxxx
Do you know how to open up the XO so that I can remove and replace the sd card inside, not the external one under the monitor. The one that the actual OS is located on.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
disassembly
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
disassemble w/pictures
Opening the XO is simple. However you CAN NOT remove the internal RAW flash memory that is wired to the motherboard. The SD slot is your best option for a semi-permanent storage/booting and the USB for err... USB.ttuuxxx wrote: Do you know how to open up the XO so that I can remove and replace the sd card inside, not the external one under the monitor. The one that the actual OS is located on.
ttuuxxx
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Thanks for the images Raffy, I managed to get it 50% apart and then came across mavrothal input, lol
Ok mavrothal how to I change the bios so it boot with SD card under the monitor. I don't see any bios options when booting.
ttuuxxx
Ok mavrothal how to I change the bios so it boot with SD card under the monitor. I don't see any bios options when booting.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
No BIOSttuuxxx wrote:Thanks for the images Raffy, I managed to get it 50% apart and then came across mavrothal input, lol
Ok mavrothal how to I change the bios so it boot with SD card under the monitor. I don't see any bios options when booting.
ttuuxxx
XO is using OFW (see previous page).
Basically the OFW looks in order to the USB, SDcard, Internal NAND to find a /boot folder and an olpc.fth file within this folder and does whatever this olpc.fth file is telling it. Basically 3 things, what is the root partition and its file system, the path to vmlinuz and the path to initrd (if used).
Here is my olpc.fth located in the SDcard that will boot Ubuntu from the SDcard if the "O" game key is pressed, and Fedora/Suagr from the NAND if not.
/boot/olpc.fth (in the SDcard)
Code: Select all
\ Boot script
\
\ overclock first
\
7de009e
5dd
4c000014
wrmsr
\
\ end of overclock
\
\ boot option
\
game-key-mask h# 80 and if
" ro root=/dev/mmcblk0p1 rootfstype=ext2 console=tty0 fbcon=font:SUN12x22 video=fb:1200x900 loglevel=3 splash" to boot-file
" sd:\boot\vmlinuz" to boot-device
" sd:\boot\olpcrd.img" to ramdisk
else
\ original teapot's version
\
\ " ro root=mtd0 rootfstype=jffs2 console=tty0 fbcon=font:SUN12x22" to boot-file
\ " nand:\boot\vmlinuz" to boot-device
\ " nand:\boot\olpcrd.img" to ramdisk
\
\ f11-xo1 vesion
\
" root=/dev/mtdblock0 rootfstype=jffs2 console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 selinux=0" to boot-file
" nand:\boot\vmlinuz" to boot-device
" nand:\boot\initrd.img" to ramdisk
setup-smbios
unfreeze
dcon-unfreeze
visible
then
boot
Now, the "setup-smbios" you need to simulate a "normal" BIOS. The unfreeze etc is so you get to see the console during boot.
Setting console, fonts, etc is not nessecary but good to have before you know you do not need...
( I hope you noticed the "overclock" )
look here for more OFW and here for a booting specifically
PS: If you copy/paste my olpc.fth file make sure there is no <return> in the long lines that look-like they are braking. The lines that end with: to boot-file. Should be in one line.
Last edited by mavrothal on Sat 24 Oct 2009, 06:34, edited 3 times in total.
- ttuuxxx
- Posts: 11171
- Joined: Sat 05 May 2007, 10:00
- Location: Ontario Canada,Sydney Australia
- Contact:
Re: disassemble w/pictures
actually if look at this image the microSD internal card is removablemavrothal wrote:Opening the XO is simple. However you CAN NOT remove the internal RAW flash memory that is wired to the motherboard. The SD slot is your best option for a semi-permanent storage/booting and the USB for err... USB.ttuuxxx wrote: Do you know how to open up the XO so that I can remove and replace the sd card inside, not the external one under the monitor. The one that the actual OS is located on.
ttuuxxx
http://wiki.laptop.org/images/f/f0/XO_1 ... rboard.png
just found this image after putting it all back together, grrr, so still trying to figure out how to change the boot order?
ttuuxxx
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)
Re: disassemble w/pictures
No you are good .ttuuxxx wrote: actually if look at this image the microSD internal card is removable
http://wiki.laptop.org/images/f/f0/XO_1 ... rboard.png
just found this image after putting it all back together, grrr,
This is for XO-1.5, the machine under development. You have XO-1