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 Fri 28 Nov 2014, 13:15
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 5 of 16 [237 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 14, 15, 16 Next
Author Message
Lobster
Official Crustacean


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

PostPosted: Thu 03 May 2012, 09:36    Post subject:  

Do not know enough to advise about compiling. Embarassed

Good news is rxvt and clock working fine on Rpi (genuine raspberry powered hardware) Very Happy

Yes will be great when you have a board. Cool

We are the Dorg
Resistance is Fruity

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


Joined: 27 Jan 2012
Posts: 405

PostPosted: Thu 03 May 2012, 10:35    Post subject:  

That's excellent Lobster! Very Happy Very Happy Very Happy
Now I feel I can go ahead and compile some more things. Smile
mark
rubix.png
 Description   
 Filesize   456.72 KB
 Viewed   888 Time(s)

rubix.png


_________________
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: Thu 03 May 2012, 18:53    Post subject:  

Antiloquax,

I compiled Qemu over the weekend, but my internet was down since Monday and I haven't tested it with any images yet. I am downloading your Puppi image now.

Qemu is brand new territory for me. I would like to know the command parameters I would need to run your Puppi in qemu. Thanks in advance.

qemu-system-arm ??? ( I don't know the rest )
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: Fri 04 May 2012, 03:05    Post subject:  

Here's my qemu command:

Code:
qemu-system-arm -M versatilepb -cpu arm1176 -m 192 -hda <path to the file-system image> -kernel /mnt/home/RPi/zImage -append "root=/dev/sda" -serial stdio -redir tcp:2222::22


The zImage I use is here.

One other thing that may be of use is a virtual usb drive (please excuse me if you already know this!)
I make a partition whatever size I want (usually 512Mb) and put any files I want to access within qemu onto it. Then I dd it to an img file and add this to my start-up script:
Code:
-hdb <path to usb.img>

You can then mount this as a drive and read /write to it. There may be an easier way to do this, but that's how I have been doing 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 
Lobster
Official Crustacean


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

PostPosted: Fri 04 May 2012, 04:34    Post subject:  

Whilst I have been playing Smile
http://lobster.thenewhive.com/puppi
and pretending to change the world . . .

. . . Mark has created an Ubuntu1 shared account for Rpi compiled programs. If anyone needs access or can provide more open storage let either of us know.

I am gonna have another go at testing Barry's compiled programs
because I have discovered the weakest link in the testing procedure [paws down please - yes it is me Embarassed ]

Have you ordered your Pi yet?
Rpi is silent. solid state and inexpensive.
and . . .and . . . fun . . . just like Puppy . . .
http://raspberrypy.tumblr.com/post/22363858794/cult-of-pi

Puppy Linux
Bring on the smart dogs

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


Joined: 27 Jan 2012
Posts: 405

PostPosted: Fri 04 May 2012, 05:45    Post subject:
Subject description: Ubuntu One shared folder
 

Here are links for tar.gz archives for rxvt and rubix (hosted on Ubuntu One - you're welcome to share the folder as Lobster mentioned above, just let me have your email).

rxvtARMv6
rubixARMv6

I've had a go at compiling some other things (I think bcrypt is okay, but I haven't checked it fully yet). I have had problems with ROX - to do with some dependencies that I have not yet got installed.

Does anyone know if there's a suggested "sequence" in which to build packages. I'd rather not rely on much more from the Arch repo than I already have. I'm going to have another look at Barry's site and see if it makes more sense.
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 
Tman


Joined: 22 Jan 2011
Posts: 814
Location: Toronto

PostPosted: Fri 04 May 2012, 12:18    Post subject:
Subject description: Ubuntu One shared folder
 

antiloquax wrote:

Does anyone know if there's a suggested "sequence" in which to build packages. I'd rather not rely on much more from the Arch repo than I already have. I'm going to have another look at Barry's site and see if it makes more sense.
mark


You seem to be compiling properly. I use src2pkg for more simple apps. I believe Amigo has a non-puppy src2pkg version as well.

For apps that don't work with src2pkg, I use the traditional:

./configure --help ( sift through the options and figure out what you need to add )
./configure [add your options]
make -jX
( where "X" represents the number of cpu cores you have, eg dual-core would be make -j2 )
make install DESTDIR=/pathname/of/your/choice

Create your own .desktop entry for the app, if it doesn't come with one
Then, trim the folders of whatever is not needed
Next, strip and/or upx if you want to make the binaries smaller
Also, Iguleder's "splitpkg" tool can split the folder into separate categories for DEV, DOC and NLS pets. I've read that new2dir has a similiar option.

Thanks for the parameters for qemu. I don't have much free time for it today, but will be sure to try it out sometime on the weekend.
Back to top
View user's profile Send private message 
antiloquax


Joined: 27 Jan 2012
Posts: 405

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

Thanks for the compiling tips, Tman.
_________________
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: Sat 05 May 2012, 04:00    Post subject:  

Quote:
./configure [add your options]


Are there generic options for ARM that I should look out for?
If compiling is considered a useful penguin skill
I come bottom of the class Smile

Barry has provided user notes in the comments section here
http://bkhome.org/blog/?viewDetailed=02805

no rhyme or reason every instance seems different?

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
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  183 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  186 Time(s) 
puppi1366x768.jpg
Description  1366x768
jpg

 Download 
Filename  puppi1366x768.jpg 
Filesize  692.36 KB 
Downloaded  176 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   853 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 
Display posts from previous:   Sort by:   
Page 5 of 16 [237 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, ..., 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.0946s ][ Queries: 12 (0.0055s) ][ GZIP on ]