Rachael

From Vlsiwiki
Jump to: navigation, search

Compiling ecos / redboot for rachael.

1) use the bcc 3.2.3 toolchain available from the google rachael repo http://code.google.com/p/rachaelsparc-uq09/downloads/list

Edit redboot-rachael/hal/sparc/arch/v2_0b1/makefile change

tail +2

to

tail -n +2

For two sections that require use tail.

Remove the standard toolchain from the path and add 3.2.3 to it.


Once you have the .elf file, you must create an srec for it

 sparc-elf-objcopy -O srec redboot.elf redboot.srec

From srec file, you can create a .vmem file, not: srecord tools must be installed

 srec_cat redboot.srec -Output redboot.vmem -VMEM

Now we have a good vmem file!