[U-Boot] boardname xxx-yyy produce error

Willi Schulte ws at ibschulte.de
Mon Dec 8 09:55:02 CET 2008


Hello Wolfgang,

> In message <RrUex1l7p1yWeEjJWCB8SJaUQzMYn83nRzpzwIEO0aV at akmail> you wrote:
>>
>> Compiling a board with a name xxx-yyy produce an error
>> with eldk 4.2 (ARM) and u-boot-2008.10.

> It would be really helpful if you had copied the exact error
> messages...

>> Everbody can check it for instance with bf533-ezkit in
>> the board-file.

> I can check it, but I don't see a problem.

this is what I can see:

willi at ubu:~/Src/X40/u-boot-2008.10$ make distclean
willi at ubu:~/Src/X40/u-boot-2008.10$ make bf533-ezkit_config
Configuring for bf533-ezkit board...
willi at ubu:~/Src/X40/u-boot-2008.10$ make > ws.log
cc1: warning: unknown register name: P5
In file included from include/common.h:112:
/home/willi/Src/X40/u-boot-2008.10/include/image.h:466:3: error: #error Unknown CPU type
cc1: warning: unknown register name: P5
In file included from /home/willi/Src/X40/u-boot-2008.10/include/common.h:112,
                 from hello_world.c:24:
/home/willi/Src/X40/u-boot-2008.10/include/image.h:466:3: error: #error Unknown CPU type
cc1: warning: unknown register name: P5
In file included from /home/willi/Src/X40/u-boot-2008.10/include/common.h:112,
                 from smc91111_eeprom.c:30:
/home/willi/Src/X40/u-boot-2008.10/include/image.h:466:3: error: #error Unknown CPU type
cc1: warning: unknown register name: P5
In file included from /home/willi/Src/X40/u-boot-2008.10/include/common.h:112,
                 from /home/willi/Src/X40/u-boot-2008.10/include/exports.h:6,
                 from stubs.c:1:
/home/willi/Src/X40/u-boot-2008.10/include/image.h:466:3: error: #error Unknown CPU type
make[1]: *** Keine Regel vorhanden, um das Target ».depend«, 
  benötigt von »_depend«, zu erstellen.  Schluss.
cc1: warning: unknown register name: P5
In file included from include/common.h:112:
/home/willi/Src/X40/u-boot-2008.10/include/image.h:466:3: error: #error Unknown CPU type
bmp_logo.c: In Funktion »main«:
bmp_logo.c:71: Warnung: Der Rückgabewert von »fread«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
bmp_logo.c:73: Warnung: Der Rückgabewert von »fread«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
bmp_logo.c:75: Warnung: Der Rückgabewert von »fread«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
bmp_logo.c:77: Warnung: Der Rückgabewert von »fread«, der mit dem Attribut warn_unused_result deklariert wurde, wird ignoriert
cc1: warning: unknown register name: P5
hello_world.c:1: error: bad value (bf533-0.3) for -mcpu= switch
Assembler messages:
Error: unknown cpu `bf533-0.3'
Error: unrecognized option -mcpu=bf533-0.3
make[1]: *** [hello_world.o] Fehler 1
make: *** [examples] Fehler 2
willi at ubu:~/Src/X40/u-boot-2008.10$

Info: The bmp_logo.c warnings I get in every case.

Best Regards,
Willi



More information about the U-Boot mailing list