Andrews email segment below was pulled from the list archives.

I am definitely interested in your gcc 4.x based cross toolchain build 
instructions for arm.

Thanks for the git repo, I was able to take an ubuntu 8.04 32 bit from 
which I used gcc 3.4 to build a gcc 3.4 based arm toolchain which worked 
using your build scripts (arm-gba has some success and 
arm-integrator-nommu).   Would rather not have to use the older ubuntu 
in a virtual machine to build the toolchain though, would rather live on 
the current 9.10 64 bit machine using 4.x.

I saw a post about cortex-m3 interest, which would be more interesting 
with a thumb2 compiler like 4.x instead of just a thumb 3.x compiler, so 
gcc 4.x is again more interesting.

So far I have not had success with code sourcery lite and prex, I have 
not tried emdebian yet, the code sourcery tools are a bit more mature. 
I would hope this project wants to build with tools that get you from C 
to objects/binaries and uses its own C library instead of relying on the 
toolchains C library for success.

I have some stellaris (cortex-m3) eval boards that might be fun getting 
this working on, so I am also interested in that.  For the moment I want 
to understand the basics first and maybe add serial port support to the 
gba.  I have a simple gba serial bootloader I use and want to understand 
the various memory regions in prex.

#
# Memory configuration
#
memory      PAGE_OFFSET 0x00000000
memory      UMEM_MAX    0x80000000
memory      LOADER_BASE 0x03000000
memory      KERNEL_BASE 0x02000000
memory      DRIVER_BASE AUTODETECT
memory      SYSPAGE_BASE    0x03002000
memory      BOOTIMG_BASE    0x08002000
memory      KSTACK_SIZE 768
memory      BOOTINFO_SIZE   1024

Basically can it all run from the ram available or is the rom required? 
  My gba bootloader lives in rom and loads ram applications.  I also am 
interested in another port (mpcore) and want to start with a ram based 
solution first (I have plenty of memory available on that platform).

This gba 3 in 1 card from EZ is real easy to use
http://www.realhotstuff.com/expansion-pack-size-p-212.html
I use an nds to put the bootloader on the first time then so long as I 
dont screw up the bootloader will allow itself to be re-loaded or 
program other sections of rom to run from or my preferred method develop 
ram based programs.  Serial cables are trivial to make as well, maybe 
$15-$20 in parts.
http://www.sparkfun.com/commerce/product_info.php?products_id=449
then cut a pigtail of off a head to head gba cable.
If any one is interested in this setup let me know.  Works on the GBA 
and SP, I have not been successful on the mini yet and wont work on the 
NDS(i).  If nothing else it frees up the display for your application 
and serial for debugging.

Thanks,
David



Andrew wrote:

NOTE:
1) I only use gcc, in fact I have added features that rely on gcc
2) should work with earlier gcc versions, but I've only been using gcc
4.x (currently gcc 4.4.0 and binutils 2.19.1)

Some suggestions:
1) build toolchains for i386-elf and arm-elf. I have done this on
Linux and OSX 10.4 and can provide notes if required. I have also
build toolchains for XP/Vista but this is much more complicated. There
are some pre-build toolchains around elsewhere if you _really_ want to
use windows
2) I have provided an "allconfig" script to make configuring the tree
easy, here is a suggested way to get started:

$ mkdir ~/src
$ cd ~/src
$ git clone git://github.com/AndrewD/prex.git
$ cd prex
$ ./allconfig $HOME/src/build
$ for d in $HOME/src/build/* ; do make -sj3 BUILDDIR=$d ; done

David Welch wrote:
> 
> Hello all.  I just joined the list I have not gone through all of the 
> prior emails and suspect I am going to ask already answered questions.
> 
> I am interested in getting Prex up on one or more ARM based platforms. I 
> want to get it working on the GBA which I assume it has already worked 
> on as well as the integrator in qemu.  I have an arm 11 I want to target 
> as well as have access and experience with nds, and some cortex-m3 
> boards and the like.
> 
> After a couple of part-time days I have not been able to get it running 
> on the gba (vba) nor qemu arm-integrator.  I suspect it is a tools 
> issue.  I would like to see it work with code sourcery lite as a tool 
> chain, probably emdebian, and then homebuilt gcc toolchains.  I had not 
> heard of pcc before but seeing it mentioned on a prex web page also 
> sparked an interest there.  anthing-not-gcc is interesting...
> 
> I prefer to build and run from Linux so if there are successes in 
> getting the arm-gba or arm-integrator builds working from Linux (Ubuntu 
> 9.10 64 bit is preferred).  I would appreciate some pointers.
> 
> Thanks,
> David
> 
> 


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to