Raspberry Puppi
Antiloquax,
I have no idea how to code in Assembly. I think learning how to program in C is hard enough for my tastes.
Lobster,
If you are able to get the RaspberryPi Arch image running, it would offer you newer tools than Debian...you have a better chance of compiling bleeding-edge software with Arch, which is very bleeding-edge itself.
I have no idea how to code in Assembly. I think learning how to program in C is hard enough for my tastes.
Lobster,
If you are able to get the RaspberryPi Arch image running, it would offer you newer tools than Debian...you have a better chance of compiling bleeding-edge software with Arch, which is very bleeding-edge itself.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
You may be right.If you are able to get the RaspberryPi Arch image running
I will give it another go.
Just got some sound out of the Rpi for the first time (just a test)
I was connected to mini speakers and I was worried that they would require more power than headphones (these are unpowered speakers) but it worked . . .
For future ref this is the advice I followed
Ay chihuahua - I have to make (compile) the hello_audio program . . .The ALSA sound driver is "alpha" and has issues, but some applications do work. If you are running Debian, try
cd /opt/vc/src/hello_pi/hello_audio
make
./hello_audio.bin
to test analogue output. And
./hello_audio.bin 1
for HDMI
Fortunately it was as easy as pie (so to speak)
OK gonna go through the Raspberry Pi wiki and forums
for any other tips . . .
Last edited by Lobster on Sun 13 May 2012, 08:18, edited 1 time in total.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Tried again . . .I tried setting up woof2
have done it previously (at least initial stages)
http://puppylinux.info/topic/getting-started
This time I used the 1.20 binary of Fossil (rather than the updated)
I also created a separate partition for the process
This enabled me to go through the whole of the woof2 process
- including the setting up of an image to an SD card
This is near the start of the process
and this near the end# ./merge2out
This script merges woof-arch, woof-code and woof-distro, to ../woof-out_*.
woof-arch: architecture-dependent (x86, arm) files, mostly binary executables.
woof-code: the core of Woof. Mostly scripts.
woof-distro: distro-configuration (Debian, Slackware, etc.) files.
Important: the host architecture is distinct from the target architecture.
The host is the machine you are running Woof on, the target is the machine
in which the Puppy that you build is going to run. Typically, you will build
on a x86 machine, and the target may be x86 or arm.
1 arm
2 x86
Type number of host architecture: 2
...ok, x86
1 arm
2 x86
Type number of target architecture: 1
...ok, arm
Not successfulUncompressing image, please wait...
Writing skeleton image to /dev/sdc, please wait very patiently...
7727264+0 records in
7727264+0 records out
3956359168 bytes (4.0 GB) copied, 2240.47 s, 1.8 MB/s
mount: wrong fs type, bad option, bad superblock on /dev/sdc2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Something is wrong. There should be two partitions on the SD card,
vfat and ext4. There was an error mounting them. Aborting script.
#
I have sent Barry more of this process to his gmail address.
A lot of error messages came up . . . however woof2
may be the most complete option
For the ARM build only Debian Squeeze and the Mele compiled kernel
were available
Progress.
Geeky
Slow.
Spurts
Getting there . . .
Last edited by Lobster on Fri 11 May 2012, 05:09, edited 1 time in total.
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
Hi Lobster,
I have tried using woof before and got very confused.
I was wondering about trying the "Linux from Scratch" approach. However, I only got as far as compiling binutils following the instructions in the book. When I tried to move on to gcc, my luck evaporated
I have tried using woof before and got very confused.
I was wondering about trying the "Linux from Scratch" approach. However, I only got as far as compiling binutils following the instructions in the book. When I tried to move on to gcc, my luck evaporated
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.
"[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.
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
Hi Dinor - glad to hear your Pi is imminent. I hope Lobster can answer your question ...
In the mean-time, I have compiled a few more packages: gmeasures, SDL and xarchive. They are on my ftp site!
In the mean-time, I have compiled a few more packages: gmeasures, SDL and xarchive. They are on my ftp site!
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.
"[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.
In Qemu; I wasn't able to run the Arch image downloaded from http://www.raspberrypi.org/downloads , so I decided to copy the image onto a 4GB SD card to see its contents. ( dd works in Slacko, but you need to reboot to see the changes on the SD card )
I discovered that it contains 2 partitions: the 1st is a Fat16 partition with files I've never seen before, and the 2nd is an ext3 partition containing the Arch linux filesystem.
Antiloquax,
if you take this image and replace the contents of the 2nd partition with the contents of your Puppi.img, I think that it should work on Lobsters Rpi. The screenshot below is are of the contents of the 2 partitions. I don't know what all the individual files in the first partition specifically do, but I assume that their combined purpose is to boot the linux distro in the Rpi.
I discovered that it contains 2 partitions: the 1st is a Fat16 partition with files I've never seen before, and the 2nd is an ext3 partition containing the Arch linux filesystem.
Antiloquax,
if you take this image and replace the contents of the 2nd partition with the contents of your Puppi.img, I think that it should work on Lobsters Rpi. The screenshot below is are of the contents of the 2 partitions. I don't know what all the individual files in the first partition specifically do, but I assume that their combined purpose is to boot the linux distro in the Rpi.
- Attachments
-
- Rpi_Arch_partitions.jpg
- (70.23 KiB) Downloaded 722 times
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
Hi Tman,
Yes, I'd thought of trying that, but I haven't got as far as uploading the combined partitions. I'll see if I can get something sorted later tonight.
mark
Yes, I'd thought of trying that, but I haven't got as far as uploading the combined partitions. I'll see if I can get something sorted later tonight.
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.
"[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.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
My normal mind state . . .Hi Lobster,
I have tried using woof before and got very confused.
Woof2 is under development, especially the ARM part.
There are some unique qualities of formatting an SD card, on the Rpi it seems to have two partitions.
For the bootstrapping working with an existing working image and cutting it down is sufficient and may be the better option for now.
The advantages of the woof2 system is that Fatdog (pre woof), Lucid, Slacko, Racy, Wary, Precise, Upup and Puppi can all be very similar. We are turning into a mature distro and our users can expect some consistency,
RacyPy, Saluki, Calf and custom derivatives or radical configurations are all part of the learning kennel.
The Raspberry Pi is a development system. You are buying a board with operating systems (Debian, Fedora, Arch etc) that are of Alpha quality.
So be prepared to help, test, tinker, develop a case, a project. Dream. program etc.
An ARM Puppi is going to run quiet (solid state) with less energy requirements. You can already program on it.
If your attitude is what can I put into Puppi and Raspberry, you will get a great deal out of it.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Yes.Do you guys think a working Puppi will be available by then?
Some of the programs will be mature. Some aspects will be very much Alpha build.
We have the Geek Scouts, working towards a mind controlled robot on our side . . .
http://www.raspberrypi.org/archives/1185
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
I followed his instructions and was able to do the same:
http://www.raspberrypi.org/forum/genera ... emu/page-3
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Good job tman
In this post . . .
http://www.raspberrypi.org/archives/1195
I read . . .
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?
In this post . . .
http://www.raspberrypi.org/archives/1195
I read . . .
Light goes on in the 100 000 neurons Lobster pretends is his brain . . .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.
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.
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/
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/
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
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!
This explains why Mark's Arch image did not work on actual hardware.
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.
"[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.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Many thanks.Lobster, if you have time can you see if it works on your Raspberry Pi?
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.
Look forward to trying it.I am going to try to make an image of the whole thing
So . . . you guys are creating an image that works on VGA but the actual hardware requires HDMI output
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
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 ...Lobster wrote: So . . . you guys are creating an image that works on VGA but the actual hardware requires HDMI output
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.
"[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.
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
Let me know if you get anywhere with this.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.
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.
"[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.
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.antiloquax wrote: Let me know if you get anywhere with this.
In the mean-time, I have compiled a couple more things.
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.
- antiloquax
- Posts: 405
- Joined: Fri 27 Jan 2012, 09:17
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.
"[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.