| Author |
Message |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Fri 26 Aug 2011, 19:11 Post subject:
HowTo -convert Puppy to OLPC Subject description: A kit to make any Puppy* OLPC compatible |
|
A kit to make any Puppy* OLPC compatible
*any Puppy means that it should work in most recent woof builds of Puppy
*this is alpha at the moment, use with caution
This is a build kit and script developed by mavrothal and myself to make it easy to convert a Puppy build into an OLPC compatible build
The kit includes:*OLPC kernels for XO-1 and XO-1.5
*appropriate firmware
*extra Xorg chrome drivers for OLPC
*extra progs , OLPC specific
*a script that does all the conversion and strips out useless stuff to the OLPC
*README and help
It's really easy. There is pretty good documentation (sorry English only, Spanish on the drawing board).
Alls you do is invoke the program and point it to a Puppy iso of your choosing, the rest is automatic. The script runs on any Linux and does a check for makesquashfs, which is of course an essential dependency.
| Code: | | ./create_xo_puppy --iso /path/to/my/Puppy.iso |
Get it Here:
create_xo_puppy-0.3.tar.bz2 12M (includes kernel etc)
f42b3b8cd226a55751bea5360f1046b9 create_xo_puppy-0.3.tar.bz2
Important edit:reuploaded 10:50am AEST (Australian Eastern Standard Time), corrupt upload at first, sorry
Known working isos and state:o Lupu.. good
o Slacko.. good
o Squeeze.. good
o Next.. fair.. (left click issue, also requires a build host with xz compression)
o Wary.. fair (XO-1 only, fails on XO-1.5, xorg issue)
o Drake.. bad (boots to X ok but input devices unresponsive in X)
Quirky is not supported, though if you are the technical type then you could make it work.. QuirkyNOP may be a good choice.
Isos that probably will work
Dlite -stu90
next -Iguleder (update, tested working XO-1.5)
Spup-100 -01micko
Luci -playdayz
Many Puplets may work. Suggested NOT to use an ISO over 180MB. Of course 64 bit isos will not work. Kernel version is irrelevant as the kernel is replaced. The resulting files will only attempt to boot in OLPC XO-1 and 1.5 isos.
XO-I.75 and above are unsupported.
Disclaimer: | Quote: | /* GPL v3
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*/ SEE /usr/share/doc/legal/ for the licence
While all care is taken, NO responsibility is accepted |
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Fri 26 Aug 2011, 22:08 Post subject:
Subject description: screenies |
|
Here are some screenies of the script in action and some of the resulting builds in action on XO-1 and XO-1.5
The script:
--------------------------------------------------------------------------------------------------------------
Slacko on XO-1.5:
--------------------------------------------------------------------------------------------------------------
Slacko on XO-1:
--------------------------------------------------------------------------------------------------------------
Squeeze on XO-1.5:
--------------------------------------------------------------------------------------------------------------
Wary on XO-1:
--------------------------------------------------------------------------------------------------------------
Next on XO-1.5:
--------------------------------------------------------------------------------------------------------------
Attached is the script. just for perusal. It won't run unless all the support files are there.
 |
| Description |
wont run
|

Download |
| Filename |
create_xo_puppy-3.gz |
| Filesize |
4.69 KB |
| Downloaded |
273 Time(s) |
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sat 27 Aug 2011, 03:44 Post subject:
|
|
Congratulation to Mick and everyone involved in XOpup
http://puppylinux.org/wikka/XOPup
I am beginning to think that targeting Puppy to work
on specific hardware platforms is the way to go.
I am keeping a close eye on the new amazon tablet
- likely to be intel based - expected October 2011
http://www.pcworld.com/article/235699/report_amazon_tablet_set_to_battle_ipad_in_fall.html
Using DORG technology (not yet available) and Woof
we may be able to offer a Puppy on Amazon
oh boy . . have I gone off topic . . . again
Well done on the conversion
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2201 Location: UK
|
Posted: Sat 27 Aug 2011, 05:34 Post subject:
|
|
Holy crap 01micko!! I always thought that the OLPC is a fantastic project, not perfect, but a step in the right direction for those who need it. I also think XOpup is a great idea, and a worthy project. And this script is great!
I know you said it's for Woof built pups, but I am hoping to get this working with Puppy Arcade and Akita Linux (They have DISTRO_SPECS and a few other 'Woof' style updates, so I'll see what I can do!)
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Sat 27 Aug 2011, 06:16 Post subject:
|
|
| sc0ttman wrote: | Holy crap 01micko!! I always thought that the OLPC is a fantastic project, not perfect, but a step in the right direction for those who need it. I also think XOpup is a great idea, and a worthy project. And this script is great!
I know you said it's for Woof built pups, but I am hoping to get this working with Puppy Arcade and Akita Linux (They have DISTRO_SPECS and a few other 'Woof' style updates, so I'll see what I can do!) |
Hi sc0ttman,
It's all dependent on Xorg really.. what version of Xorg is Akita using.. ?? 7.3? If so, then the XO-1 will be ok, but we need an expert to get the chrome driver for the XO-1.5 to link against Xorg-7.3. Previously it was openchrome driver, which is a fail on the XO .
So Akita may well be a candidate for XO-1, which it would suit anyways I think.
I'll download your latest and see if I can "fit it in" (I'll have my shoe horn at the ready)
Cheers.
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Sat 27 Aug 2011, 06:24 Post subject:
Make the kernel for create_xo_puppy |
|
Excellent Micko !!!
The image below shows luci-258 running in the XO-1.5 made with "create_xo_puppy-0.3", but look at the date of the kernel
It is made with the attached script that will download the latest 2..6.35.xx OLPC-kernel and Aufs2.2-standalone from the gits, plus some more pappy and config patches and will make the kernels.
It is fairly flexible and can build either or both kernels. Can be stopped at various point and continue as needed.
It and can be easily automated (Note:check 4 posts below) to run without any user input, but reckoned that the casual user may not need both kernels or stop and have a look if something fails, as the development of both OLPC kernel and Aufs goes on.
Of course in need a good connection to download ~600MB, about 1GB of disk space and a decent processor to compile the 2 kernels, headers, source etc.
It might be useful to others that are looking for automatic kernel building.
Now Mick you have to combine the 2 for v 0.4
I tried to be consistent with create_xo_puppy folders.
 |
| Description |
Automatic kernel building for the OLPC XO-1 and XO-1.5 puppy kernels
|

Download |
| Filename |
XOpup_kernel_builder.sh.gz |
| Filesize |
2.39 KB |
| Downloaded |
248 Time(s) |
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
Last edited by mavrothal on Sun 28 Aug 2011, 14:53; edited 1 time in total
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Sat 27 Aug 2011, 08:14 Post subject:
|
|
| Lobster wrote: |
I am keeping a close eye on the new amazon tablet
|
Actually the next XO version (XO-1.75) is running on ARM and is a prelude to their tablet (XO-3).
What is important in this case though, is that by now is running mainstream Fedora 14! Not an ARM-version of Fedora.
This means that with just deferent kernels you have the same userspace files (eg main sfs) running in both x86 and ARM machines!
Too bad nobody makes a Fedora-compatible puppy…
(what happened to Iguleder's Scientific Linux puppy?)
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
nancy reagan
Joined: 22 Jan 2009 Posts: 440
|
Posted: Sat 27 Aug 2011, 08:37 Post subject:
what is OLPC |
|
Could never figure out what tha xolpc is about, first thought "old" etc.
Q1 But if OLPC is a distro on its own why convert others to it ?
Q2 Bought very cheap tablet yesterday Yarvik TAB311 and was wondering whether it could also be transferred to this tab ????
regards from a very- low- profile- wannabee user
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7037 Location: qld
|
Posted: Sat 27 Aug 2011, 18:22 Post subject:
|
|
Hi nancy reagan
| Quote: | | Q1 But if OLPC is a distro on its own why convert others to it ? |
OLPC (wikipedia) isn't a distro, it's an organisation. It has a basic aim of distributing laptops to poor kids all over the world. The XO series laptops are the hardware. They normally come with a modified fedora installation. The hardware is new but very limited to keep costs down. mavrothal has been instrumental in making XoPup, a modded lupu puplet specific to XO hardware. This "HowTo" is just a program to make any Puppy run on XO hardware. It's a fun experiment. For everyday use on XO hardware it's recommended to use XoPup.
| Quote: | | Q2 Bought very cheap tablet yesterday Yarvik TAB311 and was wondering whether it could also be transferred to this tab ???? |
Sorry, this proggy wont help with that!
Cheers
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Sun 28 Aug 2011, 04:40 Post subject:
Re: Make the kernel for create_xo_puppy |
|
Version 2 of the XOpup_kernel_builder
has the feel and look (and code ) of create_xo_puppy,
does not require any user input other than the original command
and will run on any distro provided the kernel building tools are present.
Enjoy
Update Version 3 will maintain the structure of the git archives for future use and will update them just before compilation. So there is no need to re-download the 600MB if something goes wrong.
Also now the kernel source package has the sources in the "traditional" directory (/usr/src/linux)
Update Version 4 also checks and updates patches if needed
Note: the git repo in the link on the next post has updated versions of this script. Currently at version 8...
| Description |
Version 3+ of the XOpup_kernel_builder, is distro independent and maintains git integrity.
|

Download |
| Filename |
XOpup_kernel_builder-4.sh.gz |
| Filesize |
3.59 KB |
| Downloaded |
245 Time(s) |
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
Last edited by mavrothal on Sat 03 Sep 2011, 07:44; edited 1 time in total
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Wed 31 Aug 2011, 16:04 Post subject:
convert puppy git |
|
I generated a git repository in Github https://github.com/mavrothal/Pox_git
Cloning it or downloading will allow you to build an OLPC-compatible puppy, but this you can do anyway already
The idea is that you can browse the code without the need to download and run everything, and hopefully come up with suggestions/modifications.
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Wed 07 Sep 2011, 15:07 Post subject:
Slacko beta2 |
|
The current version from the git in the above post, will build a sane Slacko beta2
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Tue 08 Nov 2011, 16:51 Post subject:
3.1 kernel |
|
The latest update of the build scripts support the 3.1 kernel that landed in the olpc kernel git.
What I like is how little memory appears to be used.
As the picture below shows Racy on the XO-1 (immediately after the first boot) uses just 53MB
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
rpkopreski

Joined: 03 Jul 2009 Posts: 19 Location: New England
|
Posted: Wed 23 May 2012, 13:34 Post subject:
Arcade Puppy |
|
Hi, I know this thread is a bit dated now. Firstly, thank you 01micko and mavrothal (and all the others) for your work on this. I just got an xo-1 and it has been a fun project machine. Currently I am trying to figure out how to get ArcadePuppy to boot up on the xo-1. My goal is to have a full (or nearly) screen display of games that can be controlled in tablet mode with the game keys.
Anyone have any success with this or helpful tips? I left off not being able to connect wireless with Arcade booted on my Vaio which I think was causing the "make" script to fail.
_________________ synergenerator
H: Ubuntu Studio 8.04 / XP Black (unattended)
W: Ubuntu 9.04 / XP
M: Crunchbang / Puppy-4.2.1 - ChemPup-0.2.5 / XP
|
|
Back to top
|
|
 |
mavrothal

Joined: 24 Aug 2009 Posts: 1062
|
Posted: Wed 23 May 2012, 14:06 Post subject:
Re: Arcade Puppy |
|
| rpkopreski wrote: | Hi, I know this thread is a bit dated now. Firstly, thank you 01micko and mavrothal (and all the others) for your work on this. I just got an xo-1 and it has been a fun project machine. Currently I am trying to figure out how to get ArcadePuppy to boot up on the xo-1. My goal is to have a full (or nearly) screen display of games that can be controlled in tablet mode with the game keys.
Anyone have any success with this or helpful tips? I left off not being able to connect wireless with Arcade booted on my Vaio which I think was causing the "make" script to fail. |
It should work.
Just download and run the build scripts. If you have the kernel will be ready in 5 minutes. Add ~1h to download and build the kernel if not (the build script does that for you).
Tried to download Puppy Arcade 10 to try it from the link provided but says that the iso file does not exist.
What the currect download link for the ISO
_________________ Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too 
|
|
Back to top
|
|
 |
|