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 Sat 23 Aug 2014, 13:31
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 6 of 16 [237 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, ..., 14, 15, 16 Next
Author Message
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Sat 05 May 2012, 05:22    Post subject:  

Okay, I am trying to host these files on my website instead.

ftp PupPi files

account name: a3804781
password: puppi1

So far, it's just the rubix tar.gz that's there.

Edit
Adding rxvt, gfrename, bcrypt, xorg-server and puppi.tar.gz (the image of the Arch File system I've made look a bit like Puppy!)

By the way, I did a pacman -Syyu on the arch OS yesterday and lots of updates came through. I think Arch are about to release a new version ...

I am going to add a little text file here which shows the steps I take to get to a basic graphical environment from the arch image (using xorg-twm).
mark
archsetup.tar.gz
Description 
gz

 Download 
Filename  archsetup.tar.gz 
Filesize  525 Bytes 
Downloaded  173 Time(s) 

_________________
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: Sat 05 May 2012, 13:54    Post subject:  

Lobster wrote:
Quote:
./configure [add your options]


Are there generic options for ARM that I should look out for?


Here are generic .configure options for Puppy ( it varies, according to the Linux distro ):
Code:

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
make install DESTDIR=/tmp/MyPackage


The above should work for a lot of apps, as long as you have all of the needed dependencies for it installed. But adding or removing certain options can make the package less bloated, maybe more responsive, and sometimes results in less dependencies needed for the package to run.
Back to top
View user's profile Send private message 
pacer106

Joined: 11 Jan 2011
Posts: 365

PostPosted: Sat 05 May 2012, 21:57    Post subject:  



Uploaded with ImageShack.us



Uploaded with ImageShack.us
puppi1024x768.jpg
Description  1024x768
jpg

 Download 
Filename  puppi1024x768.jpg 
Filesize  516.57 KB 
Downloaded  170 Time(s) 
puppi1366x768.jpg
Description  1366x768
jpg

 Download 
Filename  puppi1366x768.jpg 
Filesize  692.36 KB 
Downloaded  169 Time(s) 
Back to top
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Sat 05 May 2012, 23:45    Post subject:  

Antiloquax, I tried your puppi.img in qemu and managed to login as root.
However, I can seem to get X running at the moment. And how did you get a window that says "Qemu" in the titlebar? This is just a quick report; I will try some more tommorrow...signing off after this message. When I run "startx", I get the following error messages:
Code:

[root@alarmpi ~]# startx


X.Org X Server 1.12.1
Release Date: 2012-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.1.10-6-ARCH armv5tel
Current Operating System: Linux alarmpi 3.1.9 #3 Tue Mar 6 05:34:11 GMT 2012 armv6l
Kernel command line: root=/dev/sda
Build Date: 15 April 2012  04:42:06PM
 
Current version of pixman: 0.24.4
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun May  6 03:46:42 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
JWM: warning: key binding: root menu 1 not defined
qemu-puppi.jpg
 Description   
 Filesize   32.12 KB
 Viewed   837 Time(s)

qemu-puppi.jpg

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


Joined: 27 Jan 2012
Posts: 405

PostPosted: Sun 06 May 2012, 00:44    Post subject:  

Hi Tman,
I don't think the JWM warning is the problem here. I get that as well, I must have made some mistake in my .jwmrc, but it doesn't ususally stop X from starting.

I'll get back to you when I've seen if I can sort this out.
mark

As for the "qemu" title bar. That's just how it has always looked since I installed it!

_________________
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 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Sun 06 May 2012, 01:59    Post subject:  

Hi Tman. I have just downloaded the puppi.tar.gz and unpacked it.
The md5sum was okay:
Code:
66a141b3cb1f1c5b51007b6ae677c789  puppi.img


I am using this zImage.

When I boot it up and login, X starts automatically.
I'm not sure why it didn't work for you. Let me know if you have any more information, or if you do get it going!
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: Sun 06 May 2012, 05:38    Post subject:  

Check out Magpi - online free mag
http://www.themagpi.com/

Issue 1 info on the Puppy powered RacyPy Cool

_________________
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: Sun 06 May 2012, 17:48    Post subject:  

I dunno why i can't get a graphical interface going. I compiled it with the following settings:
Code:

./configure --prefix=/usr --sysconfdir=/etc --target-list=arm-softmmu,arm-linux-user --enable-uuid --cpu=i686 --enable-linux-user --enable-system


My guess is, that I am missing some dependencies. If all else fails, I guess run a pre-compiled qemu in another linux distro.

Is there a way for qemu to write its contents somewhere outside of the .img file?
Or would I have to use "dd" and extract the needed files?
Back to top
View user's profile Send private message 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Sun 06 May 2012, 23:09    Post subject:  

Good news,

I downloaded Slacko, and tried compiling it again. And it worked! Smile
I have uploaded a pet for Slacko, if anyone wishes to try it out.

Qemu-arm 1.0.1 for Slacko
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Mon 07 May 2012, 01:17    Post subject:  

Glad to hear that it's working!

Tman wrote:


Is there a way for qemu to write its contents somewhere outside of the .img file?
Or would I have to use "dd" and extract the needed files?


I think there is. I haven't found out how. I will do so, as it would save time!
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: Mon 07 May 2012, 02:26    Post subject:  

You guys are doing great Smile

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

Could not even download woof
even reregistered with a new woof name . . .

May have to try compiling programs again
or try learning some Chinese for light relief . . .
gou = dog

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


Joined: 27 Jan 2012
Posts: 405

PostPosted: Mon 07 May 2012, 04:08    Post subject:  

@Tman - I think you can use Samba to set up a shared folder. I'm not sure how (yet). I am just DDing things back and to. It's slow, but it works! Smile

If anyone can tell me how to use Samba, I'd appreciate it.
I've tried pnethood, but nothing seems to happen. Do I need to install Samba, or is it already there?
I am downloading a Samba pet to have a go with that.

EDIT
I installed Samba, but it gave me a segmentation fault!
I have compiled a few more things.
ftp index

_________________
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: Mon 07 May 2012, 14:43    Post subject:  

I've never used samba, but i thought it was for sharing files between a Linux System and Windows System.

Anyhow, I have discovered an easier method: you can mount your puppi.img ...

Example: First, create a folder called /mnt/imgdisk (or whatever name you prefer), then use the following terminal command:

mount -o loop /path/to/puppi.img /mnt/imgdisk

Unfortunately, I don't know what the unmount command in Puppy is:
I thought it was "unmount" but, I guess that doesn't exist in Puppy.

EDIT: I just found out that the unmount command would be: umount /mnt/imgdisk

umount, not unmount Twisted Evil Smile
-

Last edited by Tman on Sat 12 May 2012, 18:49; edited 1 time in total
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Mon 07 May 2012, 16:14    Post subject:  

[quote="Tman"
Anyhow, I have discovered an easier method: you can mount your puppi.img ...

[/quote]

Good point ... why didn't I think of that?

I have been trying to have go at Assembly code today. I kept getting segmentation faults!
Do I use "as" or do I need a specific arm assembler?

_________________
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: Tue 08 May 2012, 00:36    Post subject:  

I am not sure that qemu would work on the assembly level?
. . . apparently it does . . . wow Cool

Quote:
QEMU works well for testing program correction (i.e. whether the code would properly run on an actual ARM or PowerPC) but it is not good for testing program efficiency: the emulation is not cycle accurate, and speed measured with QEMU cannot be reliably (or even unreliably) correlated with speed on true hardware.

Also, QEMU will not trap unaligned memory accesses, which is not a problem for PowerPC emulation (the PowerPC tolerates unaligned accesses) but may be for ARM (an unaligned access, e.g. reading a 32-bit word in RAM from an address which is not a multiple of 4, will work fine with QEMU but would trigger an exception on a true ARM processor).


I have been looking at compiling in wxglade in Rpi Debian
and comparing wth Slacko 5.3.3
Some partial success with the Rpi, then I messed up the SD image using apt-get

Back to square 1 but have some trouble shooting leads here
http://elinux.org/R-Pi_Troubleshooting

from the new official Rpi forum
http://www.raspberrypi.org/phpBB3/index.php

My learning curve:


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