From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Balister Date: Tue, 06 Nov 2007 06:30:12 -0700 Subject: [U-Boot-Users] EABI Problem In-Reply-To: <20071106073348.EDED6249E7@gemini.denx.de> References: <20071106073348.EDED6249E7@gemini.denx.de> Message-ID: <47306C64.5080905@balister.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3303 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.denx.de/pipermail/u-boot/attachments/20071106/61ed6c63/attachment.bin