[U-Boot] [PATCH v2 46/58] avr32: Use generic global_data

Andreas Bießmann andreas.devel at googlemail.com
Thu Feb 14 17:11:09 CET 2013


Hi Simon,

On 02/14/2013 03:25 PM, Simon Glass wrote:
> Hi Andreas,
> 
> On Thu, Feb 14, 2013 at 2:29 AM, Andreas Bießmann
> <andreas.devel at googlemail.com> wrote:
>> Dear Simon Glass,
>>
>> On 12/14/2012 07:49 AM, Simon Glass wrote:
>>> Move avr32 over to use generic global_data.
>>>
>>> Signed-off-by: Simon Glass <sjg at chromium.org>
>>
>> this one produces compile warning in board.c for mimc200, I will try to
>> fix it but can not test it on real hardware (cc'ing board maintainer).
> 
> Actually these boards failed for be even before the patch:
> 
>          avr32:   + hammerhead  + atngw100mkii  + grasshopper  + favr-32-ezkit
>     + atstk1006  + atstk1004  + atstk1003  + atstk1002  + atngw100  + mimc200
> 
> It might be my toolchain - can you suggest an avr32 toolchain to use?

Not currently, I use a self patched OSELAS toolchain which is not yet
mainline. Maybe I should try to add avr32 toolchain to ELDK for reference?

Which errors do you see? Is it like this:

---8<---
avr32-ld:built in linker script:15: warning: memory region `FLASH' not
declared
avr32-ld:built in linker script:69: warning: memory region `CPUSRAM' not
declared
...
--->8---

Unfortunately the avr32-newlib toolchains currently _not_ supported in
u-boot (I've seen a strange runtime error with the atmel provided newlib
toolchain before), you will need avr32-uclibc toolchain instead.

Best regards

Andreas Bießmann


More information about the U-Boot mailing list