[U-Boot] [PATCH V2] Ethernut 5 board support

Albert ARIBAUD albert.u.boot at aribaud.net
Sun Oct 16 15:18:31 CEST 2011


Hi Harald,

Le 21/04/2011 00:36, Wolfgang Denk a écrit :
> Dear Harald Kipp,
>
> In message<4D7DEFB5.7010309 at egnite.de>  you wrote:
>> Add support for the Ethernut 5 open hardware design, based
>> on Atmel's AT91SAM9XE512 SoC.
>>
>> Signed-off-by: Harald Kipp<harald.kipp at egnite.de>
>> ---
>>
>> V2:
>>   - Fix several coding style issues.
>>   - Remove Ethernet MAC address from default environment.
>>
>>   MAINTAINERS                               |    3 +
>>   board/egnite/ethernut5/Makefile           |   54 +++++
>>   board/egnite/ethernut5/ethernut5.c        |  259 ++++++++++++++++++++++
>>   board/egnite/ethernut5/ethernut5_pwrman.c |  339 +++++++++++++++++++++++++++++
>>   board/egnite/ethernut5/ethernut5_pwrman.h |   68 ++++++
>>   boards.cfg                                |    1 +
>>   include/configs/ethernut5.h               |  281 ++++++++++++++++++++++++
>>   7 files changed, 1005 insertions(+), 0 deletions(-)
>>   create mode 100644 board/egnite/ethernut5/Makefile
>>   create mode 100644 board/egnite/ethernut5/ethernut5.c
>>   create mode 100644 board/egnite/ethernut5/ethernut5_pwrman.c
>>   create mode 100644 board/egnite/ethernut5/ethernut5_pwrman.h
>>   create mode 100644 include/configs/ethernut5.h
>
> Acked-by: Wolfgang Denk<wd at denx.de>

I have applied the patch on top of u-boot-arm/master (minus slight 
adaptations to boards.cfg and MAINTAINERS) but the board does not seem 
to build properly:

uboot at lilith:~/src/u-boot-arm$ ./MAKEALL ethernut5
Configuring for ethernut5 board...
In file included from /home/uboot/src/u-boot-arm/include/asm/arch/gpio.h:18,
                  from at91sam9260_devices.c:29:
/home/uboot/src/u-boot-arm/include/asm/arch/at91_pio.h:91: error: 
'ATMEL_PIO_PORTS' undeclared here (not in a function)
make[1]: *** [at91sam9260_devices.o] Erreur 1
make: *** [arch/arm/cpu/arm926ejs/at91/libat91.o] Erreur 2
make: *** Attente des tâches non terminées....
make: *** wait: Aucun processus enfant. Arrêt.
arm-linux-size: './u-boot': No such file

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with warnings or errors: 1 ( ethernut5 )
----------------------------------------------------------

> Best regards,
>
> Wolfgang Denk

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list