
16 Jul
2009
16 Jul
'09
8:22 p.m.
Hi Alessandro,
Alessandro Rubini a écrit :
So, with the current code base, you can't autodetect ram size on the atmel 926x.
I have the same problem, as I have boards that ship as either 64M or 128M. I'd configure for 128M and look for aliases, reconfiguring for 64M if needed. This can be done in lowlevel_init.S or by setting up a temporary C environment with sp in static RAM and doing it in C.
In both cases, this doesn't fit the current code base and some refactoring would be needed to go mainline.
OK, in our case auto detection is not required so my updated patch gives the choice between both configurations through the Makefile.
Eric