[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] EDK6.2 and Linux



Hi again,

As of EDK6.2, the EDK is supported natively under Linux.  I for one am 
very happy about this, since I now only really need to maintain one 
development machine.

One thing to consider, the mb-gcc toolchain that comes with EDK6.2 SP1 
can *almost* build kernels / images, but not quite.  In particular, 
what's missing is the elf2flt support.

When you install edk under linux, it inserts itself at the start of the 
$PATH variable, so running 'which mb-gcc' will show you the path to the 
EDK toolchain, not the mb-gcc linux binaries that I've been distributing 
for about a year now.

It's very simple to modify the edk Gnu tools to support uClinux:

Assumptions:

  - edk installed into /opt/xilinx/edk6.2
  - "original" linux mb-gcc toolchain in /usr/local/microblaze-elf-tools

Adjust the following as appropriate - you will probably need to be root 
on your linux machine.

$ cd /opt/xilinx/edk6.2/gnu/microblaze/lin
$ mv bin/mb-ld bin/mb-ld.real
$ cp /usr/local/microblaze-elf-tools/bin/mb-ld bin/
$ cp /usr/local/microblaze-elf-tools/bin/mb-elf2flt bin/
$ cp /usr/local/microblaze-elf-tools/microblaze/lib/elf2flt.ld 
microblaze/lib/

Regards,

John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/