Puppi Raspberry Pi Hardware

News, happenings
Message
Author
User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#256 Post by sickgut »

I am very interested in learning about clustering, and the rasp pi is simply the cheapest available stable linux platform. Its alot cheaper than multiple intel based systems.

However the rasp pi performance is nowhere near a modern intel based platform and maybe ten rasp pi's is still nothing like a new intel based system.
I am not wanting to create some kind of super performing computer with a lot of rasp pi's, just actually learn how to do it, and learn how to do it with a budget of only a few hundred dollars.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#257 Post by Lobster »

Image
Puppi pre-alpha running on ARM Raspberry Pi Motherboard

When you get your pannet of raspberries
this will get you started:
http://puppylinux.org/wikka/Puppi
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#258 Post by Dave_G »

Nice one Lobster.

Although this is a start, I will wait for a complete Puppy for the Pi where one can run root.
This whole sudo su story every time I want to do something will drive me (even more) mad.

aarf

#259 Post by aarf »

Pussy has solved the root thing for debian. Perhaps you can get ideas from there.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#260 Post by antiloquax »

That looks great, Lobster. I'm still unable to put icons on my desktop :(
Do you know how to get rox and jwm to co-operate?
mark
(and you can run as root in Arch!)
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#261 Post by Dave_G »

Thanks aarf, will check it out.

antiloquax wrote:
(and you can run as root in Arch!)
Great stuff, but since I don't have a Pi as yet, haven't tried any of the distros.
Can one go straight into root in Arch without having to log in (type anything) at all?

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#262 Post by sickgut »

No need to use sudo, etc... Setup a permanent root account and login as root instead.

I do not have a rasp pi yet and i havent examined the debian image that somes with it, but to make a proper root login, where you type root and the password for root at the login screen rather than the user level pi and raspberry user and pass and have to use su or sudo all the time once logged it, you could do the following:

1) First of all log in normally with the default user and pass.
2) type: sudo -i (this will give you root access)
3) type: passwd password (where password is the new password)
4) reboot, poweroff, shutdown -h now or whatever to start the OS again.
5) when the login screen welcomes you, use your new root login:

user: root password: password


This will log you in as root and you will not have to worry about silly su root or sudo -i or sudo root etc etc commands. You are now root and should have access to everything that root has access to, just like in puppy with the exception you have to type something to start the computer and login still.

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#263 Post by sickgut »

Question:

Does the Rasp Pi debian image that is the recommended for the Rasp Pi use a Grub bootloader or something like syslinux?

If so then it is possibly able to support the user= and pass= tags in its boot code (could also be username= and password=), and if so then this can be setup to automatically log you in as root once you have setup an actual normal root account.

This is what has been done with Pussy, but Pussy is a debian live base, i do realize that this is slightly different from a normal debian base or debian arm base, but its worth a look.

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#264 Post by sickgut »

antiloquax wrote:That looks great, Lobster. I'm still unable to put icons on my desktop :(
Do you know how to get rox and jwm to co-operate?
mark
(and you can run as root in Arch!)
Yeah LXDE is strange like that. Definately a WTF moment when you use LXDE for the first time and it doesnt even have desktop icon drag and drop support. Rox-filer background support is still the best solution in my opinion until you make the huge step of running something like XFCE or some other huge desktop environment

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#265 Post by Dave_G »

sickgut wrote:
Does the Rasp Pi debian image that is the recommended for the Rasp Pi use a Grub bootloader or something like syslinux?
That is a very good question.
I've never bothered to investigate the link (if any) between the grub bootloader and BIOS.

If there is a link, which I suspect there is, as I remember reading something
about the bootloader reading some values from the BIOS, and since the Pi
does not have a BIOS but more of a binary "blob", this could be a problem.
But then again the bootloader for Pi would be different and probably make use
of the "blob" (sounds like something from a low budget sci-fi movie :-) )

I know that the Pi makes use of boot.asm and config.txt at boot time so
your idea may even be useable in there.

I guess one way to check is to download the image and have a look
around in it's contents but at 443MB, that's my cap for the rest of the month gone.

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#266 Post by sickgut »

Lobster wrote:Image
Puppi pre-alpha running on ARM Raspberry Pi Motherboard

When you get your pannet of raspberries
this will get you started:
http://puppylinux.org/wikka/Puppi
I love this wiki article, the first step for making your rasp pi debian a puppy after you login and start the desktop is to put a puppy wallpaper as the background.

After all, this is the only different between debian and puppy and one puppy version when compared to another, the background....

Question: how do i upgrade from Puppy 5.4 to Puppy 5.5?
Answer: load the wallpaper into mtpaint and change the Puppy 5.4 logo to Puppy 5.5.

Question: How do i upgrade from Puppy 5.5 to Puppy 6?
Answer: Upgrade the browser to the newest version, then load wallpaper into mtpaint and change the Puppy 5.5 logo to Puppy 6.

Question: How do i upgrade from Puppy 6 to Puppy 6.5?
Answer: change window manager from JWM to openbox, then load wallpaper into mtpaint and change the logo to Puppy 6.5.

Question How do i upgrade from Puppy 6.5 to Puppy 7?
Answer: change window manager back to JWM and use chrome browser instead of seamonkey, and ofcause load wallpaper into mtpaint and change Puppy 6.5 to Puppy 7.

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#267 Post by sickgut »

Dave_G wrote:sickgut wrote:
Does the Rasp Pi debian image that is the recommended for the Rasp Pi use a Grub bootloader or something like syslinux?
That is a very good question.
I've never bothered to investigate the link (if any) between the grub bootloader and BIOS.

If there is a link, which I suspect there is, as I remember reading something
about the bootloader reading some values from the BIOS, and since the Pi
does not have a BIOS but more of a binary "blob", this could be a problem.
But then again the bootloader for Pi would be different and probably make use
of the "blob" (sounds like something from a low budget sci-fi movie :-) )

I know that the Pi makes use of boot.asm and config.txt at boot time so
your idea may even be useable in there.

I guess one way to check is to download the image and have a look
around in it's contents but at 443MB, that's my cap for the rest of the month gone.
I know the boot process isnt as straight forward as other systems, something to do with the gpu booting first and using it to boot the rest of the system or some such thing.

But have a look in /boot dir of the filesystem, if there are directories like /boot/grub then its an obvious giveaway.

I seem to be posting alot here for someone who hasnt even seen a rasp pi in real life, if i have things wrong or am overstepping my mark let me know ppl. I spose i feel drawn to this thread because the last whole year i have been slaving over a hot debian system for 24 hour stretches every 2nd day in pursuit of the Pussy OS. Now Rasp Pi is released with a debian image, im like: "Yay... its debian ... i know about this and i can help!"
If they used the fedora image instead of debian i wouldnt be here posting because i know nothing about fedora at all whatsoever.

User avatar
Dave_G
Posts: 453
Joined: Thu 21 Jul 2011, 13:53

#268 Post by Dave_G »

sickgut

With the exception of Lobster, no one else here that I am aware of has a Pi either.
Any thoughts/info/suggestions are a good thing, whether one has a Pi or not.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#269 Post by antiloquax »

sickgut wrote: Rox-filer background support is still the best solution in my opinion until you make the huge step of running something like XFCE or some other huge desktop environment
Yes - it's this Rox-filer background support that I am trying to do. If anyone knows, I'd appreciate it.

re Arch. At the moment, I am still logging as root, then X starts automatically. I will look at auto-login at some point soon.

There's more to Puppy than the wallpaper - must get that rubick's cube game running :D :wink:
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#270 Post by sickgut »

antiloquax wrote:
sickgut wrote: Rox-filer background support is still the best solution in my opinion until you make the huge step of running something like XFCE or some other huge desktop environment
Yes - it's this Rox-filer background support that I am trying to do. If anyone knows, I'd appreciate it.

re Arch. At the moment, I am still logging as root, then X starts automatically. I will look at auto-login at some point soon.

There's more to Puppy than the wallpaper - must get that rubick's cube game running :D :wink:
try this once roxfiler is installed and you have booted into xorg with startx:

in a terminal :

rox --pinboard=pin

the background should appear.

ofcause tho you must install rox via: apt-get install rox-filer

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#271 Post by sickgut »

sickgut wrote:
antiloquax wrote:
sickgut wrote: Rox-filer background support is still the best solution in my opinion until you make the huge step of running something like XFCE or some other huge desktop environment
Yes - it's this Rox-filer background support that I am trying to do. If anyone knows, I'd appreciate it.

re Arch. At the moment, I am still logging as root, then X starts automatically. I will look at auto-login at some point soon.

There's more to Puppy than the wallpaper - must get that rubick's cube game running :D :wink:
try this once roxfiler is installed and you have booted into xorg with startx:

in a terminal :

rox --pinboard=pin

the background should appear.

ofcause tho you must install rox via: apt-get install rox-filer
This is the line i have inserted in Pussy's JWM config file to activate the roxfiler background:

<Program label="ROX-filer background">rox -p --pinboard=PIN</Program>

and you can start foxfiler background by using this command in a terminal:

rox -p --pinboard=PIN

you could create a script file that contains that command and save it with a easy to remember name in the main dir of your filesystem like /background.sh or something like that. So when you startx you open a terminal and type /background.sh and then the rox filer background activates. If you save the script file in /usr/bin/ then you can type the filename without any /'s in front of it. The script only has to contain that single line: rox -p --pinboard=PIN

and doesnt have to have the .sh after the name. I just do that so i can immediately identify that file as a script as .sh extention assigns a script icon for the file when viewed with rox and other filemanagers.

the command to invoke the background is very flexible and there are many options and versions of that command that will do the same thing. Note that if you start roxfiler when you are a root user, you will see a different background than when you start rox filer background as a normal user, because rox automatically seems to setup profiles for the different users, and this is a pain in the butt. So just remember to setup your desktop as the user its intended for (easy to remember if your just running as root user all the time)

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#272 Post by antiloquax »

Thanks sickgut,
I have been trying the"rox -p pinboard=pin", but I haven't had any success.
I'll try later and add the line you mentioned into my .jwmrc

I tried "rox -S" and I did get a pinboard - but no mouse!
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
sickgut
Posts: 1156
Joined: Tue 23 Mar 2010, 19:11
Location: Tasmania, Australia in the mountains.
Contact:

#273 Post by sickgut »

antiloquax wrote:Thanks sickgut,
I have been trying the"rox -p pinboard=pin", but I haven't had any success.
I'll try later and add the line you mentioned into my .jwmrc

I tried "rox -S" and I did get a pinboard - but no mouse!

no mouse......

no idea how to help with that, if this happened to me... i would have no idea what to do at all whatsoever.

what happens when you are at the console and you type: xinit
this should bring up xorg and a mouse pointer and a single non resizable terminal in the screen somehwere...... does this happen?

if this step goes well, type: jwm......
and if that goes well, try the rox -p --pinboard=PIN or whatver rox command works for you

if the mouse goes away when you type either jwm or rox then they are interfering with it, however if you have no mouse when you type: xinit .....
then its an xorg problem.

ill just run a test on my pussy which is debian also to make sure im giving you the right info brb

--------------------------
update:
yes xinit bring sup a mouse pointer.
typing jwm brings up jwm once xinit is running
to run rox background, you need to use jwm to open a new terminal, as this current terminal is now dedicated to jwm, if you type in here nothing happens, and if you exit with ctrl + c then it will kill jwm.

once you use jwm to open another terminal, try: rox -p --pinboard=PIN
and the background should activate. Also once the background activates you can right click on the background and then select all the rox filer options and make it behave how you want it too.

but like i said, if no mouse after typing xinit.... your boned... or atleast i dont know how to help you.
------------------------------------------

oh yeah btw, if your jwm is configured incorrectly (most likely an entry that is manually entered into your jwmrc file that is not entered correctly) when you startx, you end up with a black screen and nothing else.

This is prob nothing to do with your situation, just letting people know about the jwm stuff incase they try it.

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#274 Post by antiloquax »

Thanks sickgut - this helped. First of all I couldn't "startx" without jwm. I installed xorg-twm and then got the rox pinboard working. Finally I realised that the problem was that I had set a background image in my .jwmrc. When I got rid of this, everything was peachy.
mark
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#275 Post by Lobster »

In an email Eben Upton mentioned:
Btw, have you considered doing a complete rebuild of your userland
with hardware floating point acceleration enabled? I think that made
the Arch Linux version much faster.
:? userland? Is that like Disneyland?
http://en.wikipedia.org/wiki/User_space

I don't even know where to begin . . .
However it might make sense at some point . . . to someone . . . 8)

. . . meanwhile I am gonna recreate Puppi and maybe this time get rox
compiled on another ARM processor by Barry working
http://bkhome.org/blog/?viewDetailed=02800

What I can tell you already is rox is faster 8)
JWM I hope will be too (just using debs) - not working yet and not a priority for me
Midori is not usable (at the moment) as a reliable browser - I have only tried Chromium - much better
- however Dillo and other small browsers might work
- I may try Iceweevil or weasel this time . . .

The important thing to remember is Puppy aims to run not on a 4GB card - not even 2GB, we should run on a 1GB card, with room to spare . . . well OK 2GB would allow loads of storage

so I will be redoing and refining this process
http://puppylinux.org/wikka/Puppi

and then doing some stripping . . . of bloat
. . . soon we will have a partial Monty . . . :oops:
http://img545.imageshack.us/img545/115/wallpaper5t.jpg

IMHO a Puppi you build yourself gives a deeper appreciation
and attachment to Puppy

Puppy Linux
Built by Penguins
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply