Puppylinux for the OLPC laptops: XOpup

For talk and support relating specifically to Puppy derivatives
Message
Author
jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Re: XOpup for the XO-4

#281 Post by jamesbond »

mavrothal wrote: (will not work with vfat formatted media) and boot your XO-4 or XO-1.75.
Now that I've booted my very first XO-1.75 kernel (still buggy, very early days), I can answer this question: it is because you use "initrd.arm.2" as the filename. OLPC's OpenFirmware doesn't support vfat due to patent reasons, it only support FAT (with 8.3 filename convention). If you rename "initrd.arm.2" to "initrd.2" (or anything that meets 8.3 filename convention, and fix the olpc.fth accordingly), it will work with vfat (at least, in my case it allows me to complete the boot process to console).

cheers!
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: XOpup for the XO-4

#282 Post by mavrothal »

jamesbond wrote:
mavrothal wrote: (will not work with vfat formatted media) and boot your XO-4 or XO-1.75.
Now that I've booted my very first XO-1.75 kernel (still buggy, very early days), I can answer this question: it is because you use "initrd.arm.2" as the filename. OLPC's OpenFirmware doesn't support vfat due to patent reasons, it only support FAT (with 8.3 filename convention). If you rename "initrd.arm.2" to "initrd.2" (or anything that meets 8.3 filename convention, and fix the olpc.fth accordingly), it will work with vfat (at least, in my case it allows me to complete the boot process to console).

cheers!
Boy you did your homework!
I had forgotten about the name size limit :oops: Thank you.
I just needed to change olpc.fth. a bit and the name and is fine!

BTW I _think_ The uploaded build has some issues.
I'm now running a new one (that also includes kernel headers in the initrd and behaves much better (faster, SeaMonkey/ wifi.sh OK etc)
I'll uplade it as soon as I mange to get it under 300MB (is 300.05!!!)
I'll compress the SFS with xz and if is not too slow, I'll go with this.
Last edited by mavrothal on Sat 14 Sep 2013, 09:41, edited 1 time in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: XOpup for the XO-4

#283 Post by mavrothal »

mavrothal wrote: I'll compress the SFS with xz and if is not too slow, I'll go with this.
Well, it is just a bit slower, but still plays youtube videos full screen with sound :D
Is also a 45MB smaller download so I uploaded this xz version.
See post above for the link
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jamesbond
Posts: 3433
Joined: Mon 26 Feb 2007, 05:02
Location: The Blue Marble

Re: XOpup for the XO-4

#284 Post by jamesbond »

mavrothal wrote: Well, it is just a bit slower, but still plays youtube videos full screen with sound :D
Is also a 45MB smaller download so I uploaded this xz version.
See post above for the link
Great! Did you decompress omni.ja from SM (the "faster seamonkey")? I did that and the gzip SFS went down by 1MB, I'm quite sure if you use xz it will go down a bit more. I uploaded the full unzip to the repo too.
Fatdog64 forum links: [url=http://murga-linux.com/puppy/viewtopic.php?t=117546]Latest version[/url] | [url=https://cutt.ly/ke8sn5H]Contributed packages[/url] | [url=https://cutt.ly/se8scrb]ISO builder[/url]

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: XOpup for the XO-4

#285 Post by mavrothal »

jamesbond wrote:Did you decompress omni.ja from SM (the "faster seamonkey")?
Neah... I'm waiting for a3/b1 :wink:
I just try to do only XO-specific changes for now (as you can see)
Is a first development release anyway.

BTW, If you have specific packages that need recompiling to become XO-1.75 compatible too, I can put my XOs to work :wink: .
Though from what I saw, gcc, libtoolise, m4 work but make, autoreconf etc spit "Illegal instruction", so the problem appears deep. PM as needed anyway.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: XOpup for the XO-4

#286 Post by mavrothal »

jamesbond wrote:Did you decompress omni.ja from SM (the "faster seamonkey")?
Oh, well... I couldn't help it :roll:
So I did and it now SeaMonkey opens in 5sec! Is also 1MB smaller so I can upload the gzipped squashed file that is just under 300MB.
So I did :lol: (above). Third time is the charm :P

Since I will not be committing this change (would be short lived), I'll put it here so I remember it. Other people may find it handy if they modify their sfs.

Code: Select all

mv $SFSROOT/usr/lib/seamonkey-2.20/omni.ja $SFSROOT/usr/lib/seamonkey-2.20/omni.zip
mkdir -p $SFSROOT/usr/lib/seamonkey-2.20/omnidir
unzip -d $SFSROOT/usr/lib/seamonkey-2.20/omnidir $SFSROOT/usr/lib/seamonkey-2.20/omni.zip 
rm -f $SFSROOT/usr/lib/seamonkey-2.20/omni.zip
(cd $SFSROOT/usr/lib/seamonkey-2.20/omnidir ; zip -0 -y -R ../omni '*')
rm -rf $SFSROOT/usr/lib/seamonkey-2.20/omnidir
mv $SFSROOT/usr/lib/seamonkey-2.20/omni.zip $SFSROOT/usr/lib/seamonkey-2.20/omni.ja
Where $SFSROOT is the directory that you expanded the sfs.
Or you can skip the $SFSROOT part and do it in your system that runs SeaMonkey-2.20 (will take ~32Mb in your save file).
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Fatdog-Arm for the XO-4

#287 Post by mavrothal »

This is the version "1.0" release of FatDog-ARM Linux for the OLPC XO-4 laptop. :lol:

Is based on fd-arm-a3 with additional modification for the specific hardware.

All functions of the laptop are supported including touch, screen rotation, gamekeys, video camera and power management.

At 290MB this build is a full development environment to build any applications that are not in the fd-arm repository yet (please upstream any applications you may build).

This build will not boot the XO-1.75 laptop that requires binaries with the VFPv3-d16 instruction-set

To run fd-arm_XO-4 download the fd-arm_xo4_1.0.tar.gz file from ibiblio or one if its (faster) mirrors,
extract the tarball at the root of any USB (thumb) drive or SDcard,
connect/insert it to your XO-4 and power up.

Using: Fatdog is a bit different than classic puppy as many/most tools including connection tools, are under Menu> Control panel.
fd-arm_xo4 is using (the bit wordy) Network-wizard for connection.
There is also wifi.sh cli tool for fast/transient connections

Known issues

- Visiting specific pages may result in web page and desktop image corruption.
This is a problem of the dove video driver exposed by the mozzila/firefox browsers (also present in OLPC builds).
A solution is to set Option "UseGPU" to "false" in xorg.conf. However this will result in decreased video performance and inability to use Adobe Flash.

- Network wizard may fail to save the settings the first time is run.
To solve this problem just run the network wizard again.

Please report other problem here, at the fd-arm-a3 thread or the fd-arm ticket tracking site.

Fixes/Solutions are accepted everywhere :wink:
Last edited by mavrothal on Thu 31 Oct 2013, 09:39, edited 2 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

install in internal SDcard

#288 Post by mavrothal »

Puppy and FatDog can install in the internal SDcard along side your official OLPC Fedora builds without affecting them.

The attached script will do just that!
Download it, un-gzip it and run it as root from the directory you have downloaded fd-arm_xo4_1.0.tar.gz into.
If you do not have downloaded fd-arm_xo4_1.0.tar.gz, do not wary, the script will do it for you :D

To boot to fd-arm just reboot and hold the "O" gamekey while powering up.
Attachments
install_fd_internally.sh.gz
A script to download fd-arm_xo4_1.0 and install it along side the official OS
in the internal storage of the XO-4 laptop.
Updated Oct 31 with the new file location
(902 Bytes) Downloaded 1314 times
Last edited by mavrothal on Thu 31 Oct 2013, 09:38, edited 2 times in total.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#289 Post by mavrothal »

To the person that uploads XO-puppy builds to Internet Archive:

THANK YOU!

Who are you?
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#290 Post by ally »

hey mavrothal

'tis me.......

for anybody who hasn't visited please do - lots to see!!

:)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

fd-arm_xo4_1.1

#291 Post by mavrothal »

FatDog-ARM just had a bugfix update to a4 and "Fatdog-Arm for the XO-4" was updated to version 1.1.

To install download fd-arm_xo4_1.1.tar.gz from ibiblio or one of its faster mirrors
extract the tarball at the root of any USB (thumb) drive or SDcard with at least 400MB free space,
connect/insert it to your XO-4 and power up.

You can also install it in the internal SDcard alongside the official OLPC build by the attached "install_fd-1.1_internally.sh" script.
Just download it to your XO-4 extract it (gunzip) and run it as root (sudo).
To boot to fd-arm just reboot and hold the "O" gamekey while powering up.
Make sure that you have at least 650MB free space in your XO-4 (~300MB for the installation and ~300MB for the download - you can delete the downloaded tarball after you finish).
The script will not update fd-arm_xo4_1.0 if already installed in the internal SDcard.
Attachments
install_fd-1.1_internally.sh.gz
Download and run from an XO-4 to install fd-arm_xo4_1.1
in the internal SDcard
(905 Bytes) Downloaded 1322 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

afrbrown
Posts: 1
Joined: Fri 25 Oct 2013, 18:56

Admiration and thanks for OLPC XO Puppy

#292 Post by afrbrown »

I downloaded OLPC XO Puppy Slacko, and once I had bought an 8-GB SD to put it on, and after initial fussing, it performed much better than I had hoped. It is one of the best pieces of free software I have ever used. Many thanks to all those who have helped to produce and present it.

When I bought an XO on the Buy-Two-Get-One in 2008, I also bought something similar on an SD for $50. It was decidedly inferior to what you have done. And it couldn't be duplicated -- not that I know anyone else who wants such a thing, but I believe in backups. Since then I have looked for some sort of backup, now and then, and I finally found a superior replacement for free.

I don't mean to suggest that Slacko is worth exactly $51 -- perhaps the XO is really worth nothing to me -- but it is a great piece of work.

Menno0
Posts: 1
Joined: Thu 10 Oct 2013, 18:36

#293 Post by Menno0 »

I still use the XO1 when i am not at home and it serves me well as a ereader and for mail etc.

so i want to say: thanks to mavrothal for the Puppy release for the XO1, version Precise-5.6.1_XO.
Much appriciated!

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#294 Post by mavrothal »

Wow! I thought that _I_ was the last XO user :D
Maybe I'll update the original XOpup when the Lucid update stabilizes, then :wink:

Do not hesitate to report any problems/needed features on these pups.
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

jl123
Posts: 2
Joined: Sat 09 Nov 2013, 21:14

#295 Post by jl123 »

I still sometimes use my xo, but I must admit I have not kept up with the recent xo pup builds. Maybe I will start again. :D

Pelo

OLPC means one laptop per child !

#296 Post by Pelo »

OLPC means one laptop per child !
I should have known that !
It's a distro for poor people.
For afrique francophone, oh bien !

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#297 Post by mavrothal »

Here is quirky running from a USB stick on the XO-1 :lol:
The good news is that it runs :roll:
The bad news is that is not any faster or lighter than other "XOpup" offerings. It is actually a bit slower.

The only thing that is really nice is that on the first generation touchpad (the "jumpy" one :twisted: ) I do not have any jumping events yet!

Unless there is an overwhelming demand ( :P ) I do not think I'll be making a public offering
Attachments
quirky-XO-1_web.jpg
(64.39 KiB) Downloaded 1670 times
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

thyvon
Posts: 3
Joined: Tue 21 Jan 2014, 19:51
Location: Brabant, the Netherlands

#298 Post by thyvon »

mavrothal wrote:Here is quirky running from a USB stick on the XO-1 :lol:
The good news is that it runs :roll:
The bad news is that is not any faster or lighter than other "XOpup" offerings. It is actually a bit slower.

The only thing that is really nice is that on the first generation touchpad (the "jumpy" one :twisted: ) I do not have any jumping events yet!

Unless there is an overwhelming demand ( :P ) I do not think I'll be making a public offering
not used to this, my questions and comments went lost in the (mistaken) attchement-file comment. In short:
got Quirky working on eeePc701 but could not read the f2fs filesystem with the XO-1 installed puppy, and i'M overwheelmed with all the hard work so many and so few are doing. Hope i can contribute in the future when i know and understand more than the simple CLI rules

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#299 Post by mavrothal »

thyvon wrote: got Quirky working on eeePc701 but could not read the f2fs filesystem with the XO-1 installed puppy
Could you explain what this means?
Which is the "XO-1 installed puppy"?
Original quirky will not run. You need to add an appropriate /boot/olpc.fth file* and replace the kernel (/boot/vmlinuz and /lib/modules/<kernel-version>) either with one from some recent "xopup" or with the original from a recent (13.x.x) OLPC build.
You will also need to compile the geode-2.11.15 video driver (older versions will not compile with this X version).
In either case will not boot (or read) from an f2fs filesystem because the kernels do not support it. You need an ext2/3/4 formatted USB stick.
BTW f2fs is clearly better than ext4 in SDcards but not so in USB sticks

* Here is a simple /boot/olpc.fth for booting from a USB stick

Code: Select all

\ OLPC boot script
visible 
boot u:\boot\vmlinuz console=ttyS0,115200 console=tty0 fbcon=font:SUN12x22 no_console_suspend PDEV1=sda1 root=/dev/sda1 rootwait rw
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Boukman
Posts: 3
Joined: Tue 31 May 2005, 04:17

Quirky

#300 Post by Boukman »

mavrothal wrote:Here is quirky running from a USB stick on the XO-1 :lol:
The good news is that it runs :roll:
The bad news is that is not any faster or lighter than other "XOpup" offerings. It is actually a bit slower.

The only thing that is really nice is that on the first generation touchpad (the "jumpy" one :twisted: ) I do not have any jumping events yet!

Unless there is an overwhelming demand ( :P ) I do not think I'll be making a public offering
Hi mavrothal,

I've been looking for a linux distribution with a recent kernel to try out a few things on my son's XO-1. Can I politely request that you post that new quirky build somewhere so that I can download and try it?

Once I start playing with it, I will probably have a few questions for you regarding which modifications you made to the "base" quirky distribution, but that will be for later.

Thanks!

Post Reply