Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 21 Apr 2014, 10:46
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
XOpup Interest Group. Puppy Linux for the OLPC XO-1 laptop
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 8 of 30 [448 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 28, 29, 30 Next
Author Message
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Sun 13 Dec 2009, 02:34    Post subject: Re: kernel  

Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Sun 13 Dec 2009, 03:48    Post subject:  

ttuuxxx
I do not know what is your work flow/plan but if you want to build a puppy in the iso form (initrd/vmlinuz/pup.sfs) it may be _way more_ tricky and will _not_ boot any locked XO (eg the ones without developer's key).
To boot a locked XO you need in addition to the vmlinuz/initrd from a signed official image the cryptographed /boot/os.zip and /boot/rd.zip files as well as the /security that come from the official build.
So ideally theses files eg the entire "official" /boot folder should be preserved and additional modules should be loaded after, by rc.local. The trick here (I guess) is when you rebuild your kernel from the same_version_olpc_src to give it the same extraversion so is named like the original and then (hopefully) the modules can be inserted in the "official" running kernel. Of course such a scheme allows only for the "full install".

Any way, as I said let's get something that will run on an unlocked machine and then take it from there. Besides running on locked machines might not be such a good idea for the start, before a mature/secure build is ready.
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Sun 13 Dec 2009, 17:36    Post subject: Mouse OK!  



OK! Still using playdayz uPup with the OLPC 2.6.31 kernel and the mouse is working. It was "easy". Just set the 'Option "Device" "dev/mouse0" ' instead of the default "dev/mouse". Also adjusted the Xft.dpi to 117 (50% increase) in .Xresources so the default letters are viewable in the 7.5" 1200x900(!) XO-1 screen.

As you can see though now the network is missing although libertas is there! I guess puppy is totally unaware of the XO. Sad

ttuuxxx you have your job cut out for you Twisted Evil

BTW can anybody tell me how you can make puppy that runs in full install and does _not_ uses GRUB to load, to run from the RAM? Please!
Back to top
View user's profile Send private message 
eowens2

Joined: 27 Aug 2008
Posts: 64

PostPosted: Mon 14 Dec 2009, 01:31    Post subject:  

Ttuuxxx and Mavrothal - I am delighted to see all of the progress that you guys have made booting Puppy on the XO.

Mavrothal: what did you have to do to get xorg to make you a window? I have been working off-and-on at booting puppy too, and have been stuck at this point for several days.

I have tried to fuse the XO's 8.2.0 kernel (2.6.25.15 with squashfs added, and using unionfs, not AUFS) with Puppy 4.12 components on an ext3 USB stick to construct a hybrid. I moved the XO's xorg-dcon.conf to the hybrid's /etc/X11/, and symlinked xorg.conf to xorg-dcon.conf. I also moved over to the hybrid the XO's xorg drivers: evdev_drv.so, amd_drv.so and mouse_drv.so.

This hybrid makes it thru switch_root but hits a wall at trying to get x-windows up and running and I am dropped to a shell. All of the contents of pup_412.sfs are visible and it is easy to move around in them using the shell.

At this point the /var/Xorg.0.log reveals: "failed to load amd_(evdev,mouse)drv.so" because of "undefined symbols" (The XO's 8.2 uses xorg version 1.4.99.906 whereas Puppy 4.12 uses xorg version 1.3.0). I even tried to move the XO'x xorg into the hybrid...the "undefined symbols" disappear, but incompatable C library problems appear. (Puppy's xorg v 1.3.0 seem pretty tightly bound to libc.so.6=>libc-2.6.1 whereas XO's xorg v1.4.99.906 and its libraries seem to need libc.so.6=>libc-2.8.so...I thought these libraries were supposed to be backward compatible!).

Any ideas on how to proceed? Maybe re-compiling xorg and the drivers with this kernel would do it? I have been working on that, but so far without success.

Ttuuxxx, I cast my vote for a spreadsheet capability too. But if it can be added by a "plug-in", that's fine. There is, I admit, a certain appeal in keeping the base package < 100MB!

In any event I am happy to see all of the activity and interest in this thread.
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 14 Dec 2009, 03:21    Post subject:  

I bought a usb Lan card, that looks like the image below, its has a identical blue clear case, but the chipset inside looks different, Anyways I bought it locally for like $20 but on ebay you can purchase them delivered for less than $5, do a search on ebay with the term usb lan and you'll get links like http://cgi.ebay.com.au/USB-Ethernet-10-100-Network-LAN-RJ45-Adapter-Convertor_W0QQitemZ180423497387QQcmdZViewItemQQptZAU_Networking?hash=item2a021416ab

http://cgi.ebay.com.au/USB-to-RJ45-Card-Lan-10-100-Ethernet-Network-Adapter_W0QQitemZ280406197290QQcmdZViewItemQQptZAU_Networking?hash=item414983042a

anyways I plugged it into the XO with original OS with sugar, etc and booted up, when It came to the desktop I clicked the internet and boom it was working, I didn't have to configure anything, so finally I sent away for my keys to unlock the laptops Smile I did it on each Smile
Soon guys I'll have something, Man I'm not used to this security stuff, etc Smile


Ps I tried it on puppy on my main pc and it didn't work, so I'll have to try to figure something out.

So it works excellent on xo but not yet on puppy.
ttuuxxx
81.jpg
 Description   
 Filesize   5.97 KB
 Viewed   828 Time(s)

81.jpg


_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Mon 14 Dec 2009, 04:31    Post subject:  

ttuuxxx wrote:

anyways I plugged it into the XO with original OS with sugar, etc and booted up, when It came to the desktop I clicked the internet and boom it was working, I didn't have to configure anything,
...
Ps I tried it on puppy on my main pc and it didn't work, so I'll have to try to figure something out.

So it works excellent on xo but not yet on puppy.


Sugar-puppy 1-0 Laughing Laughing Laughing

ttuuxxx wrote:
so finally I sent away for my keys to unlock the laptops Smile I did it on each Smile


For the next one Wink keep in mind that you do _not_ need an internet connected XO to unlock it. You can download the key in another computer and pass it on

ttuuxxx wrote:
Man I'm not used to this security stuff, etc Smile


Well,... if you think that the XO is given to elementary school kids with parents that may not even know how to read and write and in countries that the safety/security might not be stellar, you may want to consider it Rolling Eyes
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Mon 14 Dec 2009, 04:46    Post subject:  

eowens2 wrote:

Mavrothal: what did you have to do to get xorg to make you a window? I have been working off-and-on at booting puppy too, and have been stuck at this point for several days.

Actually, nothing! (see the post with the picture on page 6)
But I think is due on how the xserver is compiled and configured. Even when I use technosaurus' (sorry ttuuxxx Very Happy ) geode video drivers for puppy 4.3.1 it did not work

eowens2 wrote:
I have tried to fuse the XO's 8.2.0 kernel (2.6.25.15 with squashfs added, and using unionfs, not AUFS) with Puppy 4.12 components on an ext3 USB stick to construct a hybrid.
....
This hybrid makes it thru switch_root but hits a wall at trying to get x-windows up and running and I am dropped to a shell. All of the contents of pup_412.sfs are visible and it is easy to move around in them using the shell.

That's nice! Does the stick boots by itself (assuming you corrected the 8.2.0 initutil.py)?
Are you using the sfs file as is or its contents copied to the stick?
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Mon 14 Dec 2009, 05:01    Post subject:  

Let me ask again:

mavrothal wrote:
BTW can anybody tell me how you can make puppy that runs in full install and does _not_ uses GRUB to load, to run from the RAM? Please!


C'mon ttuuxxx (and other puppy gurus), don't be so "tight-liped" Sad
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Mon 14 Dec 2009, 05:20    Post subject:  

mavrothal wrote:
Let me ask again:

mavrothal wrote:
BTW can anybody tell me how you can make puppy that runs in full install and does _not_ uses GRUB to load, to run from the RAM? Please!


C'mon ttuuxxx (and other puppy gurus), don't be so "tight-liped" Sad


wakepup2 can do that http://www.murga-linux.com/puppy/viewtopic.php?t=7979
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Mon 14 Dec 2009, 16:03    Post subject:  

I give up Sad
I did managed to get the wireless going on playdayz uPup 451 running as full install from an SD card under the OLPC 2.6.31 kernel and initrd. I tried network-wizard, terminal, manual configuration, no luck. I did manage to get puppy to use liberats for the wireless but then it kept connecting with a IV4ALL warning as pppop and the wrong IP. Mad

Anyway, besides that puppy on the XO-1 is a huge disappointment (got you attention didn't I? Smile ). Not because is not running or apps are missing or anything else but because is as slow as any other distro running on the XO-1. Actually faster than Sugar or Gentoo on par with DebXO and probably slower than Ubuntu 8.10.
Parenthesis: Given that puppy does not have a spinning mouse when apps are loading, in the beginning I thought that it does not work at all and then I was ending up with 5 copies of the application from re-clicking the icon... Very Happy

I guess the major problem is that in full install and without GRUB, puppy is not running from the ram ( and ttuuxxx, there was nothing in that thread that I could figure out) so all the speed benefits of that are gone and you are stuck with the slow seek times and reads of the SD card. Obviously using a generic uPup not optimized at all for the XO did not help either...
I can now better appreciate ttuuxxx' persistence of getting as small an XOpup as possible running as frugal. That's where the speed comes from

So as a proof of principle the exercise was good. Woof-build pups will run on the XO provided an OLPC kernel and initrd is used. As an actual XOpup,... not even close...

I guess the real challenge, that hopefully ttuuxxx will tackle soon, is to build an initrd that will satisfy both XO's and puppy's needs and allow puppy to run from the RAM and show its true power.
Back to top
View user's profile Send private message 
hailpuppy

Joined: 28 Oct 2009
Posts: 73

PostPosted: Mon 14 Dec 2009, 21:41    Post subject:  

Come on!!! Mavrothal....dont give up on us yet.. Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad

There has to be something that we can do....Please please please..OK what help do you want on this? Cant Barry do something about this..Or is this just a joke and is the surprise of our working xopup yet to come??? Wink

Please ttuuxxx dont give up up yet..Remember Barrys idea of the mascot Puppy..Small but brave!!!
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10730
Location: Ontario Canada,Sydney Australia

PostPosted: Tue 15 Dec 2009, 01:38    Post subject:  

guys guys guys, I'll get it going soon, next week is my last week working then I have 3 months off, lol I'll look for another job durring the 3 months Smile
So I'll have ample time to devote to this project very soon. Until then I'll just putter around.

ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1386

PostPosted: Tue 15 Dec 2009, 04:09    Post subject:  

hailpuppy wrote:
Come on!!! Mavrothal....dont give up on us yet..


I'm giving up on going down that specific road.

What I wanted to know is if OFW or the XO hardware has anything that would block puppy from running on it. Obviously it does not.
I also wanted to know if any generic puppy (with minor modifications) will run on the XO. Not any that I could find.
Incidentally I realized that in full install puppy loses all its obvious speed advantages on the XO and becomes comparable to any other distro. Thus I give up on this road.

So this little exercise suggested that an XOpup can be build but it must be XO specific (build for the exact hardware) to have any impact.
Here is where ttuuxxx, BK and other puppy developers must take an active initiative.

ttuuxxx already gave us some time frame and hopefully (for the children of the world Wink and unfortunately for him Shocked ) is going to deliver. However, remember that is a free software eg is developed on spare time....

....Yes, I could try to learn and do what these people do, but will take me a couple of years to get going... Very Happy
Back to top
View user's profile Send private message 
raffy

Joined: 25 May 2005
Posts: 4752
Location: Manila

PostPosted: Tue 15 Dec 2009, 06:40    Post subject: GTK and Geode  

Hi guys,

Keep in mind that only earlier GTK will run speedily in a Geode version earlier than LX800 (XO-1 uses LX 700, right?).

So if the kernel issue can be solved, ttuuxxx can then try getting 214X or even earlier Puppy version - pakt has packaged iPup based on Puppy 2.02 regression, and this should give some speed to the XO.

_________________
Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
Back to top
View user's profile Send private message 
hailpuppy

Joined: 28 Oct 2009
Posts: 73

PostPosted: Tue 15 Dec 2009, 06:55    Post subject:  

Bravo Raffy!!!! Very Happy Very Happy Very Happy Thanks for joining in... Hm Im just wondering what Barry could be thinking of this thread...this effort is cumbersome ,as it seems, but the prize is worthy for your great effort!!!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 8 of 30 [448 Posts]   Goto page: Previous 1, 2, 3, ..., 6, 7, 8, 9, 10, ..., 28, 29, 30 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0937s ][ Queries: 12 (0.0072s) ][ GZIP on ]