Puppylinux for the OLPC laptops: XOpup

For talk and support relating specifically to Puppy derivatives
Message
Author
anthill
Posts: 3
Joined: Sat 07 Sep 2013, 17:31

Re: Precise 5.6.1 for the XOs

#271 Post by anthill »

mavrothal wrote:Not sure if anyone (in the wild) is still using Puppylinux on the XOs
I'm still breaking it out from time to time. Thanks for the update Mavrothal!

edit: I don't suppose you know how to change the backlight dimming level / time out? I'd like to see if the screen could blank to 'reflective' zero backlight mode (still this laptop's distinguishing feature).

edit2: Kernel headers? :roll: Hoping to compile some DVB tuner drivers for an ezcap RTL2832 i have lying around...

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

Re: Precise 5.6.1 for the XOs

#272 Post by mavrothal »

anthill wrote: edit: I don't suppose you know how to change the backlight dimming level / time out? I'd like to see if the screen could blank to 'reflective' zero backlight mode (still this laptop's distinguishing feature).

edit2: Kernel headers? :roll: Hoping to compile some DVB tuner drivers for an ezcap RTL2832 i have lying around...
Almost missed the edit...

Code: Select all

powerd-config
to configure timeouts and level
Manually you can do it from the XO buttons. They work! Use also the ctrl and alt modifiers with them :wink:
You can even reverse the colors using this pet

The headers are here.
Since I do not know which version you are uing I have bothe the 2.6 and th 3.3 headers of the XO-1 kernels (though should be OK for XO-1.5 too).
Last edited by mavrothal on Fri 13 Sep 2013, 18:33, 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

XOpup for the XO-4

#273 Post by mavrothal »

Here is the first development release of FatDog-ARM linux (a Puppy heritage "dog") for the ARM-based XO-4 and XO-1.75.
Is working fine on the XO-4 but there is no GUI for the XO-1.75 (for more on XO-1.75 problem see here)

Is intended mostly for developers ( there are not many "wild" XO_ARMs anyway).

At 300 MB has the full development tools, kerne- specific, X and all the other headers, git etc, with the usual assortment of puppy/fatdog apps.


To test/work/check it out, download fd-arm_a2_XO.tar.xz (md5sum:ae0f16950da130b7d50a484db4be662d), expand it at the root of a USB stick or SDcard and boot your XO-4 or XO-1.75.

Known Issues (besides the major XO-1.75 X problem):
- Touches are not recognized by X in XO-4 (but they are from the power management infrastructure)
Edit: To fix touchscreen open Gslapt and upgrade to the xf86-input-evdev-2.8.1git-armhf-2 package.
- Screen rotation does not work.
Edit: To fix rotation open Gslapt install xf86-video-dove-0.3.11xo4-armhf-1 and uprate to xorg-server-1.14.3
- The rocker pad keys are not recognized (the game keys are OK - Edit: now fixed. Fix will be in a3).
- The Wifi.sh connection tool crashes after wake up from suspend. Use it only for occasional/transient connections as it is much faster.
Use Classic Network Wizard for more permanent setting (is a bit laborious - see visual instructions if not familiar)

Report, better yet solve :wink: , any problems here (PM is fine too).

Oh... the customary screen shot :P

Edit Sep, 14: The tar.gz file might have been problematic and has been deleted. Please download the tar.xz file.
Attachments
newscreen.jpg
fatdog-arm alpha 2 running on the XO-4
(28.28 KiB) Downloaded 1524 times
Last edited by mavrothal on Mon 30 Sep 2013, 12:13, edited 8 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] ==

anthill
Posts: 3
Joined: Sat 07 Sep 2013, 17:31

Re: Precise 5.6.1 for the XOs

#274 Post by anthill »

mavrothal wrote: The headers are here.
Since I do not know which version you are uing I have bothe the 2.6 and th 3.3 headers of the XO-1 kernels (though should be OK for XO-1.5 too).
Ah, sorry, I should have specified! I'm running the latest one:

Code: Select all

-Version-
Kernel		: Linux 3.3.8_xo1-20130530.2216.olpc.f12d9e6_Aufs (i586)
Version		: #1 PREEMPT Thu May 30 22:38:40 EEST 2013
C Library		: GNU C Library version 2.15 (stable)
Distribution		: Precise Puppy - 5.6.1
Puppy package manager complains that the 3.3.8 pet is for the wrong kernel version - but that's just the date/time of build that differs, right?

Thanks for the brightness daemon configuration tip - that does the trick all right.

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

Re: Precise 5.6.1 for the XOs

#275 Post by mavrothal »

anthill wrote:[
Puppy package manager complains that the 3.3.8 pet is for the wrong kernel version - but that's just the date/time of build that differs, right?
Might be some very minor changes (different git version) but better be safe.
Here is the correct ones both for the XO-1 and XO-1,5
== [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] ==

anthill
Posts: 3
Joined: Sat 07 Sep 2013, 17:31

Re: Precise 5.6.1 for the XOs

#276 Post by anthill »

mavrothal wrote:better be safe.
Here is the correct ones both for the XO-1 and XO-1,5
Thanks Mavrothal! The package unpacks the headers into /usr/include/linux - is that the desired behavior? Most packages seem to look for /usr/src/linux-headers*.

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#277 Post by Ted Dog »

Does MESH networking WORK in this? I'm interested in turning my Mele into a WiFi Access point, like Byzantine Linux does..

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

Re: Precise 5.6.1 for the XOs

#278 Post by mavrothal »

anthill wrote: Thanks Mavrothal! The package unpacks the headers into /usr/include/linux - is that the desired behavior? Most packages seem to look for /usr/src/linux-headers*.
The kernel source goes in /usr/src .
Headers of (all kind) are going into /usr/include. If you load devx your see all the other header files there too.
If any problem you can symlink to wherever you want.
BTW which package is looking for headers in /usr/src?
== [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

#279 Post by mavrothal »

Ted Dog wrote:Does MESH networking WORK in this? I'm interested in turning my Mele into a WiFi Access point, like Byzantine Linux does..
Which one is "this"?
Mesh networking is only available for the XO-1 wifi card. Other XO models do not have cards with this functionality. I have no idea if the MELE WiFi card supports mesh.
However, AFAIK mesh networking and turn it into wifi AP are different things, and again it depends on the wifi hardware of your machine.
== [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
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#280 Post by Ted Dog »

Oh, thanks, I must be behind on my XO knowledge, did not know they did way with MESH, the software MESH method used by BznLinux acts like a AP on all the boxes tested (all x86 worked, nicely). They have a version for RazPi so I guess an ARM version is do-able..

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!!

:)

Post Reply