Page 14 of 16

Re: Precise 5.6.1 for the XOs

Posted: Sat 07 Sep 2013, 18:40
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...

Re: Precise 5.6.1 for the XOs

Posted: Thu 12 Sep 2013, 15:07
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).

XOpup for the XO-4

Posted: Thu 12 Sep 2013, 16:59
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.

Re: Precise 5.6.1 for the XOs

Posted: Fri 13 Sep 2013, 17:22
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.

Re: Precise 5.6.1 for the XOs

Posted: Fri 13 Sep 2013, 18:33
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

Re: Precise 5.6.1 for the XOs

Posted: Fri 13 Sep 2013, 19:13
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*.

Posted: Fri 13 Sep 2013, 19:27
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..

Re: Precise 5.6.1 for the XOs

Posted: Fri 13 Sep 2013, 19:32
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?

Posted: Fri 13 Sep 2013, 19:40
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.

Posted: Fri 13 Sep 2013, 19:56
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..

Re: XOpup for the XO-4

Posted: Sat 14 Sep 2013, 05:52
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!

Re: XOpup for the XO-4

Posted: Sat 14 Sep 2013, 07:45
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.

Re: XOpup for the XO-4

Posted: Sat 14 Sep 2013, 09:40
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

Re: XOpup for the XO-4

Posted: Sat 14 Sep 2013, 10:39
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.

Re: XOpup for the XO-4

Posted: Sat 14 Sep 2013, 11:00
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.

Re: XOpup for the XO-4

Posted: Sat 14 Sep 2013, 16:01
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).

Fatdog-Arm for the XO-4

Posted: Thu 03 Oct 2013, 08:28
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:

install in internal SDcard

Posted: Mon 07 Oct 2013, 18:58
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.

Posted: Tue 08 Oct 2013, 04:34
by mavrothal
To the person that uploads XO-puppy builds to Internet Archive:

THANK YOU!

Who are you?

Posted: Tue 08 Oct 2013, 09:20
by ally
hey mavrothal

'tis me.......

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

:)