Author Topic: Where can I find QTopia SDK which supprots XScale CPU?  (Read 4116 times)

kevinkithk

  • Newbie
  • *
  • Posts: 2
    • View Profile
Where can I find QTopia SDK which supprots XScale CPU?
« on: April 03, 2004, 11:31:09 am »
As subject~

Since QTopia SDK 1.7 only supports Zaurus SL-5500, but not support PDAs using XScale CPU such as SL-5600, SL-6000, SL-C860 and so on. I want to write programs for SL-C860, therefore I want to know where can I find QTopia SDK which supports XScale CPU. Can you tell me?

I would be very grateful if you could tell me.

Thx~

amrein

  • Sr. Member
  • ****
  • Posts: 345
    • View Profile
    • http://
Where can I find QTopia SDK which supprots XScale CPU?
« Reply #1 on: April 03, 2004, 12:37:02 pm »
What do you need to be able to compile Qtopia:

. qtopia 1.7 snapshot
. qt-embedded (2.3.7 or 2.3.8 snapshot)
. qt-2.3.2 if you want to test your application first on PC.
. a cross-compiler. The one you want. The one that will support XScale CPU like the one on handhelds.org.

markb

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
Where can I find QTopia SDK which supprots XScale CPU?
« Reply #2 on: April 03, 2004, 12:57:44 pm »
I have qtopia sdk 1.7, and as far as I know it works with all models.
I\'ve built apps that run on an old 5000D as well as my new C860.

For info on setting up a development environment and cross-compiler, please
see the development howto docs.

http://www.zaurususergroup.com/modules.php...name=Developing

The compiler setup section is probably the one you want to start off with.
There are also plenty of existing discussions on this website about setting up a development environment, and the problems you may encounter.

- Mark

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Where can I find QTopia SDK which supprots XScale CPU?
« Reply #3 on: April 03, 2004, 03:20:02 pm »
The sl 5500 has a StrongArm processor which uses the ARM4 instruction set.

The C machines (and sl5600) have Intel XScale processors which use the ARM5 instruction set.

ARM instruction sets are backward compatible. Therefore you can run (and program) for a 5500 and it\'ll work on a C machine, but not vice-versa (which is why the majority of programs compiled for the pdaXrom won\'t work on my 5500).

So the answer is that what\'s available will work, but won\'t be optimised (ie using the latest ARM5 instruction set - though I\'m not sure what kind of speed/size differences this produces in any case). If you want it optimised you\'ll have to roll your own.


Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

kevinkithk

  • Newbie
  • *
  • Posts: 2
    • View Profile
Where can I find QTopia SDK which supprots XScale CPU?
« Reply #4 on: April 03, 2004, 09:35:50 pm »
Thank you~

I have also found a XScale cross compiler which released by Intel website:

http://www.intel.com/design/intelxscale/de...dHat_021022.htm

Have you ever used this? If yes, does it work in Redhat 9?

Thanks~

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Where can I find QTopia SDK which supprots XScale CPU?
« Reply #5 on: April 04, 2004, 08:23:47 am »
I\'ve not tried it and I wouldn\'t bother.

If you want to roll your own, then the easiest thing to do is probably to look at the pdaXrom SDK which builds (from source) libc 2.2.x and GCC 3.x with xscale optimisations (or the OZ OE system for that matter). Take a look at the makefiles (or I can provide them if you can\'t be bothered to download it all yourself).

Actually even easier would be to just use the pdaXrom cross-toolchain (which has xscale optimisations enabled). I imagine this will work without troubles after you copy across the Qtopia base libs, etc.

Do you really need the xscale optimisations though? What kind of stuff are you thinking of building? I\'d recommend that you just use the standard Sharp cross-toolchain until you become familiar with it all then possibly make your own toolchain if you need it.


Simon

Simon
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

chapman

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://www.currybrothers.com/zaurus
Where can I find QTopia SDK which supprots XScale CPU?
« Reply #6 on: April 04, 2004, 01:23:47 pm »
lardman\'s question about whether you really need the Xscale optimizations is a valid question that any developer should consider.  It depends on what you are attempting to do with your software.

I\'ve had a comparison between GCC optimizations on my zaurus web page for quite some time.  I added another page last night which compares the SL-5600 standard and overclocked kernels with the SL-6000.  The comparisons use nBench and can be found here.  You should look at the nbench-armv4, nbench-armv5te, nbench-cpu-xscale and nbench-tune-xscale tables.  The results vary, but xscale opimizations usually are the best.

I guess I should mention on my web page that my SL-5600 has the PXA-250, since there are some SL-5600s with the PXA-255.