Hi all,

I've made some further research about development environment suitable
for developing HelenOS port to LEON3. Firstly, the emulators:

* TSIM - worked perfectly with u-boot 1.3.3 from Gaisler. However,
  simulation stops after 2^32 clock cycles - which is about 2 minutes
  on my machine (Xeon E5345 2,33GHz). After that time simulator
  needs to be restarted.

  Here's complete output: http://wklej.org/hash/251c15f0c1c/

* qemu - totally no luck. I've tried passing u-boot binary as -bios
  parameter (which seems to be expected, as default "PROM_FILENAME"
  in https://github.com/qemu/qemu/blob/master/hw/sparc/leon3.c is
  "u-boot.bin"). There was no console output and no signs of life.

Next, the boards:

* Spartan-6 SP605 evaluation kit - mentioned in LEON3 tutorial:
  http://www.rte.se/blog/blogg-modesty-corex/leon3-soft-processor
  is priced at $495. It's not very expensive, but unavailable
  in europe. It's equipped with 32MB parallel flash, 128MB
  DDR3 memory and many I/O devices.

* USB-FPGA Module 1.11c from ZTEX (Germany). Xilinx Spartan 6 LX25,
  64MB DDR RAM, 128Kbit EEPROM, SD card slot and some I/O ports.
  Verified that it's capable of running LEON3, there's even a nice
  tutorial: http://wiki.ztex.de/doku.php?id=en:projects:leon3

  URLs: http://www.ztex.de/usb-fpga-1/usb-fpga-1.11.e.html
        http://shop.ztex.de/product_info.php?cPath=21&products_id=52

  They also have Open Source discount program:
  http://www.ztex.de/os_discount_program.e.html

  Price: 129 EUR and location in Germany, so there are no problems
  with shipping. That board is VERY low cost solution compared to
  every other possibility (including emulators).

Toolchains:

* Official "BCC" toolchain from Gaisler, based on gcc-4.6.2
* GCC mainline supports LEON as of 4.6.0
* Extra question: what is minimum version of GCC required
  to build HelenOS?

PS I'm about to upload my official proposal, probably I'll do
   it tomorrow.

Jakub

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to