falingtrea wrote:
Figured it out!! zoltan mentioned a bootstrap in the software package. I pulled down the 9g20 software package and there is a version of the bootstrap code that seems to use modules similar to the SAM-BA modules. Using this code, I was able to compile a serialflash bootstrap that loads and executes u-boot from the NAND flash. It looks like there is a EccNandFlash.c file in the package so maybe you can add ECC support, prinzenrolle. Check the file link below. There is a at91bootstrap-at91sam9g20.zip file in the zip file pointed to by the link. One thing I had to do was change the destination address from 0x20000000 to 0x23F00000.
http://www.atmel.com/dyn/resources/prod ... ck-1.8.zipWhich compiler did you use to compile the bootstrap?
We already tried different versions, but all builds failed:
- gcc-arm-angstrom-linux-gnueabi version 4.2.4
o Different errors in linker sections
- gcc version 4.2.0 Microcross GNU X
o Linkererror: region sram1 is full
- gcc arm-linux-uclibcgnueabi version 4.3.4
o Error: selected processor does not support ‘blx r0’
It seems, that the new version of the bootstrap highly depends on the std files coming with the software package and does not fit to the declarations coming with the compiler.