Raspberry Puppi

A home for all kinds of Puppy related projects
Post Reply
Message
Author
User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#101 Post by Tman »

Someone from the Raspberry Pi forum has managed to boot the Debian and Arch images from the Official Raspberry Pi site with Qemu.
I followed his instructions and was able to do the same:

http://www.raspberrypi.org/forum/genera ... emu/page-3

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

#102 Post by Lobster »

Good job tman :)

In this post . . .
http://www.raspberrypi.org/archives/1195

I read . . .
The firmware is the code that starts up the device, and is loaded on to the GPU to make it work. It then hands control to the OS. A bit like the BIOS on a desktop.
Light goes on in the 100 000 neurons Lobster pretends is his brain . . . :idea:

This explains why Marks Arch image did not work on actual hardware.
Barry also is talking about a dual partition on the SD card needed for the Mele
Read the comments here:
http://bkhome.org/blog/?viewDetailed=02823

This means with an ARM device we can use an open source bios equivalent?
Last edited by Lobster on Fri 11 May 2012, 05:13, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#103 Post by Tman »

Lobster,

Thanks for the info. I was playing around with the Arch image, which I am uploading now.
It is still very barebones, but it does have Rox, Jwm and a few apps.

Lobster, if you have time can you see if it works on your Raspberry Pi?

To extract: tar xvfJ archRpi.tar.xz - ( capital "J" )
To copy to SD disk: dd if=archRpi.img of=/dev/sdX - replace "X" with the letter of your SD drive

I realized that you don't need to reboot to see the new image on the SD card, after you use "dd".
You just need to unplug it and replug it back in.

The Arch image will be ready for download in about 1 hour from now...it's still uploading.
http://www.smokey01.com/Tman/Rpi/

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

#104 Post by antiloquax »

:idea:

This explains why Mark's Arch image did not work on actual hardware.
Yes, sorry. The file I uploaded was just an image of the second partition. I have a 2gb SD card which is the arch fat partition with my set-up on the second. I am going to try to make an image of the whole thing. It might be quicker to post you the card, Lobster!
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:

#105 Post by Lobster »

Lobster, if you have time can you see if it works on your Raspberry Pi?
Many thanks.
Partial success. :)
The image was getting past the power on LED on the Raspberry Pi - in other words it was booting . . .
but no display was getting through to my HDMI TV, it was not connecting.

The Arch image should be displaying the boot up sequence on the TV, this was not happening.
I am going to try to make an image of the whole thing
Look forward to trying it.

So . . . you guys are creating an image that works on VGA but the actual hardware requires HDMI output :roll:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#106 Post by antiloquax »

Lobster wrote: So . . . you guys are creating an image that works on VGA but the actual hardware requires HDMI output :roll:
:oops: That's an interesting point, Lobster, I hadn't thought of that! I don't know if there is any way to do that under qemu?? My video card has an HDMI out ... I wonder ...

Anyway ... I have set up a swap partition for my qemu pi to use, so that may speed up the compiling side of things.

Here's an archive with the ARM leafpad
Attachments
leafpadARM.tar.gz
(91.22 KiB) Downloaded 277 times
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
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#107 Post by Tman »

So . . . you guys are creating an image that works on VGA but the actual hardware requires HDMI output :roll:
Unfortunately, my monitor only supports VGA and DVI connections. :?
I will look into the QEMU settings and see if it can emulate a HDMI connection.

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

#108 Post by antiloquax »

Tman wrote: Unfortunately, my monitor only supports VGA and DVI connections. :?
I will look into the QEMU settings and see if it can emulate a HDMI connection.
Let me know if you get anywhere with this.
In the mean-time, I have compiled a couple more things.
Attachments
dhcpcdARM.tar.gz
(62.37 KiB) Downloaded 262 times
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
Tman
Posts: 808
Joined: Sat 22 Jan 2011, 21:39
Location: Toronto

#109 Post by Tman »

antiloquax wrote: Let me know if you get anywhere with this.
In the mean-time, I have compiled a couple more things.
Sure thing, you might want to PM Barry to let him know that you've compiled some apps for Arm, or maybe just create a reply in his blog.

The thing is; he's compiling his apps in Ubuntu Lucid Lynx, and you're compiling in Arch, so I hope there are no compatability conflicts.

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

#110 Post by antiloquax »

Hi Tman, I've put a link to my ftp index on Barry's blog. I'll also PM him.
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
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

ARM compiling

#111 Post by antiloquax »

Sorry. Duplicate post.
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:

#112 Post by Lobster »

Hi Lobster,
I have tried using woof before and got very confused.
The Woof2 system only supports the Mele ARM device at present, so it is not yet applicable to Puppi.

Barry has updated the instructions

http://bkhome.org/fossil/woof2.cgi/wiki ... +with+Woof

This is 01micko's tutorial:
http://www.smokey01.com/01micko/woof2/f ... pdate.html
Last edited by Lobster on Sun 20 May 2012, 01:22, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#113 Post by antiloquax »

I haven't done much RPi related stuff this week. For one thing, I've had problems with my internet at home (we live in a rural spot and I think we are connected to the web by a bit of wet string :twisted: ).
Also, I haven't managed to get the gtk+ development libraries etc installed in Arch that allow me to compile some more of the GTK based programs. I need to spend a bit more time finding out exactly what I need (Arch doesn't have "dev" packages in the way that other distros do ...).

I have managed to compile Vim - my editor of choice!
I've spent quite a lot of time trying to do some basic assembly code in qemu. So far I've had nothing but errors from "as". At some point I am going to have to post up what happens on the RPi forum and get some help. But I might also try compiling a C program and saving the output assembly code - that might shed some light on what I am doing wrong.

I have been able to order a Pi this week, but I still might have a 3 week wait, apparently. :roll:

Anyway, I am posting a picture of my build of Leafpad running on my qemu -Pi ...
Attachments
leaf.png
(24.75 KiB) Downloaded 733 times
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
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#114 Post by antiloquax »

After a lot of false starts, I've had a bit of success with an assembly program. It's just a little "hello world" type thing. But I think I now understand a little better what some of the parts of the code do.
Anyway, I'll post up a couple of pics. :)
I'm really impressed that you can do this in a qemu emulation. It's re-assuring ...
Attachments
hellocode.png
(5.6 KiB) Downloaded 3626 times
hellooutput.png
(34.8 KiB) Downloaded 698 times
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:

#115 Post by Lobster »

Image
Hi Guys, Fellow Raspberrians,

Tried QtonPi
http://www.raspberrypi.org/downloads
Not my basket case (punnet) of fruitiness but some might find it qt [cute]

I tried combining the boot files from QtonPi to the img file created on Qemu by antiloquax. Need more knowledge and info on this boot procedure. It could be quite fiddly.

This is what I need compiled on Qemu, if anyone is up for it.
http://code.google.com/p/gtkdialog/

OK gonna put Arch back on my one reliable SD card. Then I can be sure that vala works - antiloquax again - many thanks. :)

Here is an interlude:
What is a variable? In programming we learn the concept early. When dealing with new hardware, a newish changing programming language, one variable is required. A better brain. I am trading mine in for a sieve. :roll:

Another thing to get ready is a case for your pi . . . mine is still cluttering up the TV room.
http://www.raspberrypi.org/archives/1310

Nice Puppy
Does it come in raspberry?
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#116 Post by antiloquax »

I'll have a look at gtkdialog.
My RPi has been dispatched! I hope it arrives today.
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:

#117 Post by Lobster »

antiloquax wrote:I hope it arrives today.
Don't bite the messenger. The tendency to bite the postman if he does not deliver is overwhelming. OK time to boot up into Rpi but it ain't . . . you will have one soon enough . . .

Do post a pic or record your reaction. I was quite blasé and then I had the wrong power cable and it would not boot . . . but when it worked I went into geek dance mode (not a pretty sight). :)

Good luck. Keep us posted!
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#118 Post by antiloquax »

Fingers crossed it'll be waiting for me when I get home from work!
I'm quite pleased today because the deputy Principal has told me they want me to teach some GCSE computer studies next year (I am an English teacher by trade). I'm also hoping the Principal will be getting a suite of RPis set up (I had a meeting with him a couple of weeks ago).

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:

#119 Post by Lobster »

Image
Raw JWM running on genuine Raspberry Pi hardware

The procedure:
http://puppylinux.org/wikka/PuppiArch

The good news (OK it is a dummy configuration nothing working yet)
is it is FAST. 8)

The next step is to populate it a little with progs and such . . .

Puppy Linux
Because we can!
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

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

#120 Post by Lobster »

English teacher by trade
My badly using of english
must drive you madly? :wink:

My claws are crossed. 8)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply