OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Compiling For Armv4 Processors
ShadowMaster
post Mar 2 2006, 11:36 PM
Post #1





Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275



Ok, first above anything else, hello everybody n_n
If someone here already know me, he/she may know then that I'm not here for asking 34352452234 support questions and give no answers...
I'm here because I'm a developer who recently acquired a zaurus device and I would love to port and create software for this platform just as I did (and still do) for HPC devices....
pdaXrom is GREAT, specially for developers like me. Thanks for making such a great "distro".
However... let's get to the point...

I'm already developing some stuff on my zaurus like dockapps and some utilities that are needed on a jornada (under linux).
The problem is... that the zgcc provided by you compiles for the xscale processor.
Binaries made by zgcc on the zaurus are useless in any linux distro on a jornada 720 (StrongARM processor.... that's ARMv4 instruction set if the information I handle is right).
I tried some gcc switches in a couple of attempts on building for older ARM processors but all of them failed in some degree... always causing the typical illegal instruction error in the J720..

gcc has way too many options and flaws, settings and switches, environmental variables and ways to configure each step.

What are the proper switches, environmental settings, bells and whistles that I need to set-up in order to compile binaries compatibles with a Jornada 72x (or other ARMv4 device)????
Is it possible at all?
Any information on the matter will be appreciated.
Thanks for your time, your effort... and of course.... pdaXrom wink.gif
Elias Zacarias
Go to the top of the page
 
+Quote Post
pgas
post Mar 2 2006, 11:54 PM
Post #2





Group: Members
Posts: 1,099
Joined: 17-December 03
From: Athens, Greece
Member No.: 1,210



here:
http://mail.pdaxrom.org/1.1.0beta1/Zaurus-5000D-5500/

You'll find pdaxrom for 5x000.
a zgcc and cross compiler that produce code for armv4

However the processor is not the only problem, for instance pdaxrom use softfloat, if the glibc on your jordana isn't compiled for softfloat, a binary compiled with the cross-compiler above will probably not work.

You must also take into account that the version of gcc - glibc used might be different and that not all versions are compatible.....

It is probably easier to use the toolchain that is used to build the distro for the jordana to recompile your applications.

You can perhaps also have a look at the pdaxrom builder (docs on www.pdaxrom.org)
Go to the top of the page
 
+Quote Post
ShadowMaster
post Mar 3 2006, 09:18 AM
Post #3





Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275



Thanks, I'll take a look at those tools.
I'll report you the results as soon as I test it tongue.gif

[EDIT] The binary didn't run... incompatible glibc version i think..
Go to the top of the page
 
+Quote Post
ShadowMaster
post Mar 5 2006, 12:48 AM
Post #4





Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275



QUOTE(ShadowMaster @ Mar 3 2006, 01:18 PM)
Thanks, I'll take a look at those tools.
I'll report you the results as soon as I test it tongue.gif

[EDIT] The binary didn't run... incompatible glibc version i think..
*


Well.. seems like here is where my adventure ends.....
I had the brilliant idea of running a NAND blocks test on my zaurus and I got 2 bad blocks....
Even when some people say that's normal, I had the even_more_brilliant idea to try a NAND erase....
and now... I've a bricked Zaurus! sad.gif
Development was stopped when it wasn't even started...
well... I'll see if I can save my zaurus....
I've been on that all night long.... 5:45am and I'm still on it (downloading original NAND and preparing stuff)...
Sorry guys... I really wanted to develop things for the Zaurus sad.gif
I'll let you know if I can get my zaurus running again....
Go to the top of the page
 
+Quote Post
ShadowMaster
post Mar 5 2006, 07:27 AM
Post #5





Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275



Uff..... I could revive it....
I was so worried sad.gif It was worse than any possible nightmare....
But finally my Zaurus is back wink.gif
Go to the top of the page
 
+Quote Post
Antikx
post Mar 5 2006, 12:41 PM
Post #6





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



QUOTE(ShadowMaster @ Mar 5 2006, 09:27 AM)
Uff..... I could revive it....
I was so worried sad.gif It was worse than any possible nightmare....
But finally my Zaurus is back wink.gif
*

Hee Hee. Good job. Welcome back. We look forward to your Zaurus developments.
Go to the top of the page
 
+Quote Post
ShadowMaster
post Mar 5 2006, 03:45 PM
Post #7





Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275



I'll try luck in porting a HP49 emulator... Even when there's a working HP48 emulator for pdaxrom is always good to use the lattest mathematical horse-power that technology can offer smile.gif
There's nothing better than a HP48/49 emulator on a handheld device in times of study.... smile.gif
Go to the top of the page
 
+Quote Post
ShadowMaster
post Mar 6 2006, 07:55 PM
Post #8





Group: Members
Posts: 25
Joined: 2-March 06
Member No.: 9,275



Ok... I got xcircuits compiled on my zaurus smile.gif anyone interested on an ipkg?
seems like it was compiled before (an old version) but I just tried it and it's quite unstable (this is unstable too, but seems like quite less)

Edit: Some screenshots. and.. it's TOTALLY reliable (At least loading big examples provided) now that I set some proper directories.

Attached File  xcircuit1.jpg ( 184.79K ) Number of downloads: 123

Attached File  xcircuit2.jpg ( 199.92K ) Number of downloads: 89

Attached File  xcircuit3.jpg ( 428.66K ) Number of downloads: 84
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 11:45 AM