| Author |
Message |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Tue 01 May 2012, 23:44 Post subject:
|
|
| Quote: | | assembly code, Lisp and Perl. |
Lisp? Interesting but not required . . .
I can not remember if we are Perl independent yet? It is one of Barrys goals . . .
Assembly coding is gonna make a lot of sense.
http://www.shervinemami.info/armAssembly.html
Assembly language optimisation is more involved for ARM
I looked at some High Level Assemblers many years ago (I know it sounds contrary but these are amazingly easy compared to traditional assembler)
_________________ Puppy WIKI
Last edited by Lobster on Wed 02 May 2012, 23:42; edited 1 time in total
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Wed 02 May 2012, 01:29 Post subject:
|
|
I've been reading "Rebel Code" about GNU and Linux and there's a fair bit of discussion of LISP in that.
I think this is the reference manual for the RPi chip.
I tried to download my "arch-puppi" from adrive, but it wouldn't untar properly
_________________ 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
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Wed 02 May 2012, 07:35 Post subject:
downloadable filesystem for arch-puppi |
|
Well, I have checked this and it's working.
The file is here.
The md5dum of the extracted puppi.img is:
| Code: | 66a141b3cb1f1c5b51007b6ae677c789 puppi.img
|
I'd be interested to hear if this works on a real RPi, Lobster.
If anyone else wants to tell me how to improve it, I'd be delighted!
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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Thu 03 May 2012, 00:29 Post subject:
|
|
| Quote: | | I'd be interested to hear if this works on a real RPi, Lobster. |
Thanks for uploading
but . . . no success ['turtle soup and seaweed', as the mermaids say when disappointed]
The download site was VERY slow
The hashfile checked out OK
Basically only the red power LED came on but no booting sequence LED is initiated . . .
It may be feasible to take the boot part of the released Arch and add this to your image . . . will have a brief look at that
. . . meanwhile Barry has a real woof build Puppy on ARM. Brilliant.
http://bkhome.org/blog/?viewDetailed=02808
Dougal posts in the comments section of Barrys blog:
Besides that, linux.com has something about Yocto and apparently you can use it to build a distro even if you don't have the HW, as they have an ARM emulator:
https://www.linux.com/news/embedded-mobile/mobile-linux/571345-getting-started-with-yoctos-12-release
(that might be better than trying a T2 build... and you can build on a desktop machine, which might be faster.)
We really need Puppy on Rpi as we have the means to speed Raspberries up.
Pi 'r squared as some might say
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Thu 03 May 2012, 00:38 Post subject:
|
|
Hi Lobster,
sorry that didn't work
It'll be easier when I have a Pi and I can test stuff properly before sharing links to stuff that doesn't work!
Anyway ... I've had a look at Barry's blog where he was talking about compiling stuff and I have compiled rxvt.
It works fine. I will have a go at making a .pet later.
EDIT - by the way Lobster - do I need to do anything special when compiling, or is ./configure, make, make install ok?
| Description |
|
| Filesize |
463.33 KB |
| Viewed |
745 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
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Thu 03 May 2012, 07:55 Post subject:
|
|
@Lobster (or anyone with an RPi or qemu vrtualisation).
This is a tar.gz of my compile of rxvt.
It'd would be cool if someone could test it.
I've tested it as much as I can and it seems okay.
I haven't made it into a .pet (as I assume we can't use those yet!)
So, if you don't want to manually install the programs, go into rxvt-2.6.5/usr/local/bin and try:
or
I've got rubix working too, but I haven't made that into an archive yet.
| Description |
|

Download |
| Filename |
rxvt-2.6.4.tar.gz |
| Filesize |
60.72 KB |
| Downloaded |
154 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Thu 03 May 2012, 09:36 Post subject:
|
|
Do not know enough to advise about compiling.
Good news is rxvt and clock working fine on Rpi (genuine raspberry powered hardware)
Yes will be great when you have a board.
We are the Dorg
Resistance is Fruity
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Thu 03 May 2012, 10:35 Post subject:
|
|
That's excellent Lobster!
Now I feel I can go ahead and compile some more things.
mark
| Description |
|
| Filesize |
456.72 KB |
| Viewed |
760 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
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 732 Location: Toronto
|
Posted: 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
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Fri 04 May 2012, 04:34 Post subject:
|
|
Whilst I have been playing
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 ]
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
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: 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
|
|
 |
Tman

Joined: 22 Jan 2011 Posts: 732 Location: Toronto
|
Posted: 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
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: 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
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: 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
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
|
|
 |
|