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 Fri 29 Aug 2014, 14:20
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Puppylinux for the OLPC laptops: XOpup
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 12 of 21 [306 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13, 14, ..., 19, 20, 21 Next
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Mon 22 Aug 2011, 20:27    Post subject:  SlaXO booting  

Hi mavrothal

Nice!

Typing from SlaXO now!

Very painless to set up, remarkable indeed!

There is a bug in the init script where XO can't boot from mmcb1kp1 (internal SD card).. but that should be easy to fix. I am booting from usb stick no problem. I'll report to Barry.

So far, I got 2 barks at a sane volume, Cam works in gnome-mplayer.. sorry no screenshot as mplayer is notorious for not showing in mtpaint captures... woops, just went to blacksceen, something with power management, just hit power button to recover.

I will test ffmpeg (on the XO-1.5 atm) and the equalizer see if they work...YES! pequalizer works perfect! You can save a preset for XO's tinny speakers too, makes an improvement

I'll script up your little tutorial

Cheers!

Later.... Ok, tried on XO-1, same usb stick install with save file from XO-1.5. Naturally had to run xorgwizard and alsa was messed but fixed easily. The equalizer works there too, so does the Cam. Seamonkey is a bit like treacle but stable. I might compile Dillo with a view for using in XO-1, it's very light and will be swift on the limited hardware.

Start a new thread I think, as I said, early days for SlaXO
SlaXO-1.png
 Description   XO-1
 Filesize   160.61 KB
 Viewed   1063 Time(s)

SlaXO-1.png

SlaXO.png
 Description   XO-1.5
 Filesize   78.89 KB
 Viewed   1082 Time(s)

SlaXO.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Mon 22 Aug 2011, 23:28    Post subject: Re: SlaXO booting  

01micko wrote:


There is a bug in the init script where XO can't boot from mmcb1kp1 (internal SD card).. but that should be easy to fix. I am booting from usb stick no problem. I'll report to Barry.


I'm not sure about this.
I have modified pup_event_frontend_d NOT to automount the internal SDcard of the XO-1.5, so users will not inadvertently messup with it.
This maybe affecting the boot process. Just put back the original and see.

I do not know what you have in the internal SDcard but I think that the issue might be that you put the files in the big mmcblk0p2 partition?
OFW can not read this because is etx4. The boot* folders must go to the ext2 mmcblk0p1 but then the init must be instructed to look in another partition for the sfs. Confused

...or it could be the olpc.fth setup. The way it is now defines the internal SD as "PDEV1=mmcblk1p1", but without an external card the internal is "mmcblk0p1". Change line 106 of /boot/olpc.fth accordingly and see what happens. Actually this looks like the most likely reason since pup_event is not coming into play during init boot.
Anyway I would stay out of the internal SDcard/NAND as principle, but if people ask it can be done properly at the /boot/olpc.fth level.

Quote:
woops, just went to blacksceen, something with power management, just hit power button to recover.

Yes, if you do not have the full udev installed the user activity monitoring daemon (kbdshim-udev) is not working.

Quote:
Later.... Ok, tried on XO-1, same usb stick install with save file from XO-1.5. Naturally had to run xorgwizard and alsa was messed but fixed easily
.
Actually, you do not need to do that. Just delete xorg.conf and reboot or copy the included /etc/X11/xorg.conf.XO-1 to xorg.conf and startx Smile
I guess this could be automated in the rc.local where the xorg.conf selection is done but I did not think that many "normal" users will do that, and X takes too long to load as it is already.

Quote:
Start a new thread I think, as I said, early days for SlaXO

Me?...

Actually, I was thinking to try XO-drake*. Is the only rpm-based puppy spin and then maybe jump to Fed(ora)-X(O) Laughing to be closer to base. Combining the 3 upstreams woof, OLPC and Fedora will make the project just a packaging issue Wink

* Yep, XO-drake works Very Happy . Some hiccups but mostly OK

Come on. There are no puppy-fedora lovers? Razz (though I would stay out of F14+)

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Tue 23 Aug 2011, 16:51    Post subject: even faster  

If you want to cut another 3-6 seconds from the XOpup-2.2 (xopup-205) boot time install the attached init-1.pet.

Do not install in earlier versions
init-1.pet
Description  rc.sysinit for XOpup-2.2
pet

 Download 
Filename  init-1.pet 
Filesize  5.18 KB 
Downloaded  539 Time(s) 

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Tue 23 Aug 2011, 22:47    Post subject:  

Latest Wary .. Cool more later

Ok, here it is....

create_xo_puppy-0.1.tar.bz2 9752K

4269fc10c76b51b127f772c5d33c32b1 create_xo_puppy-0.1.tar.bz2


Fully automated building of a bootable Puppy on the XO hardware


Code:
./create_xo_puppy -i /initrd/mnt/dev_save/wary-5.1.3.2.iso


That built me an almost sane Wary.. of course you need the exact path to an iso on your machine! Only works in Puppy. It works ok on XO-1 but the chrome driver is no good on the XO-1.5.

I tested with an earlier spup aka slacko and no problem.

Have fun! Laughing
waryXO.png
 Description   
 Filesize   131.91 KB
 Viewed   981 Time(s)

waryXO.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Wed 24 Aug 2011, 01:10    Post subject:  

01micko wrote:

create_xo_puppy-0.1.tar.bz2 9752K

4269fc10c76b51b127f772c5d33c32b1 create_xo_puppy-0.1.tar.bz2


Fully automated building of a bootable Puppy on the XO hardware


Man... This is WAY cool Laughing

I'll tested latter but looks good on paper. Exclamation

The chrome driver must be compiled agains the puppy's xserver, but I already have the ubuntu and compiling for wary, drake, Dpup etc (hopefully) should not be a problem.
Unless of course if you want to script it from an included source Cool with a (modified) src2pet, hoping that the devx will have all the dependencies Wink

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Wed 24 Aug 2011, 02:36    Post subject:  

mavrothal wrote:
Man... This is WAY cool Laughing


Well, I have some more ideas. Actually, the old seamonkey was quite usable on the Xo-1, it is a lot lighter, I just hate all the nag screens.. Rolling Eyes Maybe that can be in the base package and replace the main browser (except lupu, it has midori)?

Also, forget compiling on the fly, this works without the devx installed, why complicate? I'll compile Wary driver, you take care of Drake, and when I get to it I'll do squeeze. They are small, just put them in the package.

Also, all the stuff not used on XO platform can be discarded or packed into an sfs on the fly, also default font sizes can be changed, heaps of tweaks can be accomplished, all at only the cost of a bit rough bash coding. (I already found a bug with the size check Rolling Eyes )

I think this is a bit of a break through. Smile You wait til you fire it up.. it's fun too!
create_xo.png
 Description   the usage instructions
 Filesize   10.35 KB
 Viewed   939 Time(s)

create_xo.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Wed 24 Aug 2011, 04:26    Post subject:  

01micko wrote:

Well, I have some more ideas. Actually, the old seamonkey was quite usable on the Xo-1, it is a lot lighter, I just hate all the nag screens.. Rolling Eyes Maybe that can be in the base package and replace the main browser (except lupu, it has midori)?

I think that Webkit browsers are better on the XOs. The lupu included Midori is a truncated version, and the full one from the Lupu repo, never worked well. Compiling for/on XO may be a way to go.
Is a pretty good browser.

Quote:
Also, forget compiling on the fly, this works without the devx installed, why complicate? I'll compile Wary driver, you take care of Drake, and when I get to it I'll do squeeze. They are small, just put them in the package.


Agree. We'll do drake.

Quote:
Also, all the stuff not used on XO platform can be discarded or packed into an sfs on the fly, also default font sizes can be changed, heaps of tweaks can be accomplished, all at only the cost of a bit rough bash coding.


Oh sure.
The major bulk is kernel and firmware (for builds w/o zdrv), the video drivers (since you only need geode, ztv, sisusb and the provided chrome), all dri and a bunch of intel/ati libraries. Is a good 20MB+ !
There are other little things but I do not think it worths the hassle.
The font sizes both for ROX and ruvtx are taken care of in the installed /root/.X* files and I remember seeing a hack that does that globally (from the /etc/fonts/ I think)
There are also other little things from XOpup that I did not put in the original files, like the easy access to internal SDcard/NAND, the freeram daemon, the make-swap.sh script, a couple of XO-1 touchpad apps, welcome/first screen, quickpet mod, etc.

Quote:
create_xo.png

Waaaay, way cool. With the logo and everything! Laughing
Next thing you know is in the puppy-common repo Laughing


Latter Thinking about it... this approach could be the base for customizing any puppy for any specific hardware! Make the puppy even lighter and customized! Like a re-master puppy but with predefined changes and USB boot.

In any case put the next version in new thread something like "Hardware-specific customization of puppy; the XO case" Laughing

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Wed 24 Aug 2011, 07:28    Post subject:  

I was thinking (can be dangerous!) .. where to put the new thread.. ?

It is cutting edge stuff but that may scare off new comers..it isn't a puplet.. just how to make one.. so I guess "HOWTO" section.

Will do it tomorrow, or next day.. bit busy tomorrow.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Wed 24 Aug 2011, 07:52    Post subject:  

01micko wrote:
so I guess "HOWTO" section.


Agree.

BTW here is some other stuff you can safely remove from XO builds (besides kernel, firmware) as reported in
/root/.packages/buitin_files Wink
grub
grub4dos
915resolution
flsynclient
floppy_format
makebootfat
powerapplet_tray
xserver_xvesa_*
xf86-vedeo-* BUT the -geode

Also
/usr/sbin/
puppyinstaller
bootflash
wakepup2
/usr/share/applications/
Puppy-universal-installer.desktop
BootFlash-usb-installer.desktop
WakePup2.desktop

and if present
/usr/lib or /usr/X11R7/lib
libIntelXvMC.*
libI810XvMC.*
libdrm_*
dri/
other video driver specific libs?

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Wed 24 Aug 2011, 16:52    Post subject:  

Just uploaded create_xo_puppy-0.2.tar (md5sum : 5d4e07966ff27d7d6a3520629f84cf8e)
Has some additions of programs and some changes in the script but not major. Runs nice in Fedora Shocked
Did not try to use the buildin files to remove unneeded pets, though I remember having seen this somewhere in the forum Question (yep, is here)

BTW, drake is a nightmare in XO-1.5. Tried hours to get keyboard/mouse to work and nothing Evil or Very Mad but the video driver works Smile

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 26 Aug 2011, 07:31    Post subject:  

Ha!

Script now works with dpup squeezed Exprimo!

Very Happy
squeeze.png
 Description   
 Filesize   109.47 KB
 Viewed   874 Time(s)

squeeze.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Fri 26 Aug 2011, 09:02    Post subject:  

01micko wrote:
Ha!

Script now works with dpup squeezed Exprimo!

Very Happy


Laughing

So the question now is which one of the 50+ puppies and puplets out there will work best on the XOs out of the box Laughing
(still like XOpup-2.2 though Embarassed )

See if I can finish this kernel building script anytime soon Wink

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Fri 26 Aug 2011, 19:24    Post subject:  

How To is posted

Smile

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
mavrothal


Joined: 24 Aug 2009
Posts: 1602

PostPosted: Mon 24 Oct 2011, 17:06    Post subject: PPM patch  

One of the (few) things that bother me with PPM is that when you update the repos is an all-or-nothing process.
Given the XO's processing power this can be painful if you just want to update the puppy-lucid repo for example and you are forced to process the entire Ubuntu repo first.
So here is a little patch that will modify PPM and allow skipping repos that you do not want to update.

This patch should work with all puppies, though is tested only in XOpup/Lupu and Slacko

Is a "p0" patch so after you download and decompress the file, you need to type in terminal
Code:
patch -p0 < /path-to-patch/0setup.patch
0setup.patch.gz
Description 
gz

 Download 
Filename  0setup.patch.gz 
Filesize  545 Bytes 
Downloaded  230 Time(s) 

_________________
Kids all over the world go around with an XO laptop. They deserve one puppy (or many) too Very Happy
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6825
Location: Chatham, Kent, UK

PostPosted: Mon 24 Oct 2011, 19:21    Post subject:  

Wow....just been reading.....you guys are buzzin' ! Laughing

Nice job.....makes me want an XO to try..... Wink

Aitch Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 12 of 21 [306 Posts]   Goto page: Previous 1, 2, 3, ..., 10, 11, 12, 13, 14, ..., 19, 20, 21 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
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.1098s ][ Queries: 13 (0.0112s) ][ GZIP on ]