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 Tue 29 Jul 2014, 09:13
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Raspberry Puppi
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 16 [237 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 14, 15, 16 Next
Author Message
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Tue 08 May 2012, 00:56    Post subject:  

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.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 08 May 2012, 01:29    Post subject:  

Quote:
If you are able to get the RaspberryPi Arch image running


You may be right.
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 . . . Cool

For future ref this is the advice I followed

Quote:

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


Ay chihuahua - I have to make (compile) the hello_audio program . . . Shocked
Fortunately it was as easy as pie (so to speak)

OK gonna go through the Raspberry Pi wiki and forums
for any other tips . . . Smile

_________________
Puppy WIKI

Last edited by Lobster on Sun 13 May 2012, 04:18; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 08 May 2012, 18:37    Post subject:  

Quote:
I tried setting up woof2
have done it previously (at least initial stages)
http://puppylinux.info/topic/getting-started


Tried again . . .
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
Quote:
# ./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


and this near the end
Quote:
Uncompressing 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.
#


Not successful Crying or Very sad

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 . . . Smile

_________________
Puppy WIKI

Last edited by Lobster on Fri 11 May 2012, 01:09; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Wed 09 May 2012, 08:20    Post subject:  

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 Sad

_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
Back to top
View user's profile Send private message 
Dinor

Joined: 19 Sep 2008
Posts: 5

PostPosted: Wed 09 May 2012, 10:49    Post subject:  

Just got the go ahead to order my Raspi today here in Sweden so I guess it will be July at the earliest before I get my hands on it! Do you guys think a working Puppi will be available by then?
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Wed 09 May 2012, 13:48    Post subject:  

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!

Very Happy

_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
Back to top
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Wed 09 May 2012, 15:30    Post subject:  

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.
Rpi_Arch_partitions.jpg
 Description   
 Filesize   70.23 KB
 Viewed   637 Time(s)

Rpi_Arch_partitions.jpg

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


Joined: 27 Jan 2012
Posts: 405

PostPosted: Wed 09 May 2012, 15:52    Post subject:  

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

_________________
My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 09 May 2012, 21:13    Post subject:  

Quote:
Hi Lobster,
I have tried using woof before and got very confused.


My normal mind state . . . Smile

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. Shocked

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. Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Wed 09 May 2012, 21:18    Post subject:  

Quote:
Do you guys think a working Puppi will be available by then?


Yes.
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

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Thu 10 May 2012, 18:21    Post subject:  

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/general-discussion/arch-linux-arm-and-qemu/page-3
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 10 May 2012, 19:20    Post subject:  

Good job tman Smile

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

I read . . .
Quote:
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?

_________________
Puppy WIKI

Last edited by Lobster on Fri 11 May 2012, 01:13; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Thu 10 May 2012, 20:24    Post subject:  

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/
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Fri 11 May 2012, 01:19    Post subject:  

Quote:
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!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Fri 11 May 2012, 02:13    Post subject:  

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


Many thanks.
Partial success. Smile
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.

Quote:
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 Rolling Eyes

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 7 of 16 [237 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 14, 15, 16 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.1013s ][ Queries: 12 (0.0125s) ][ GZIP on ]