
Wolfgang Denk wrote:
In message 200711060631.12189.sr@denx.de you wrote:
-#define CFG_MALLOC_LEN (CFG_ENV_SIZE + 128*1024) +#define CFG_MALLOC_LEN (128*1024)
...
see why this change would be needed. If there is a compi8le problem, the reason for that problem should be located and fixed, without changing this code.
...
Well ARM assembly only accepts immediate values with certain properties (representable as an 8-bit value plus a 5-bit shift or something, I forgot the details). My ARM assembly skills
My gut feeling is that this is not the root of the problem. I feel that probably the assembler does not see a pure numerical expression, but instead is confronted with the (unsubstituted) string literal CFG_ENV_SIZE, and that this is causing the problem.
This is what I think needs to be checked and fixed, as the same problem might be present (eventually undetected) somewhere else, too.
Look at the davinci specific files. U-boot builds fine with an EABI compiler for davinci. I know we had some problems with EAVI compilers at first.
Philip