[U-Boot-Users] Problem with compiling u-boot

Hello
Porting u-boot to a Xilinx ML300 board
I build my HW platform with EDK.
then, I wanted to mention that I am not working in standalone (I am going to use u-boot)
The problem that in XPSàProjectàSoftWare platform settings, I only find linux, VxWorks, standalone but not u-boot????
After that I generated my xparameters.h, I put it in /u-boot/board/xilinx/ml300,
I added to this file the part /*U-BOOT Redefines*/ from the initial xparameters.h
And I got this error:
======================================
-msoft-float -Wall -Wstrict-prototypes -I../ml300 -I../common -I../xilinx_enet -c -o ml300.o ml300.c ml300.c: In function `get_sys_info': ml300.c:96: `XPAR_XUARTNS550_CLOCK_HZ' undeclared (first use in this function) ml300.c:96: (Each undeclared identifier is reported only once ml300.c:96: for each function it appears in.) make[1]: *** [ml300.o] Erreur 1 make[1]: Quitte le répertoire `/opt/eldk/usr/src/u-boot-1.1.1/board/xilinx/ml300' make: *** [board/xilinx/ml300/libml300.a] Erreur 2 [root@limande u-boot]# ==================================
Thanks very much Abdelmajid

In message 008f01c43cbb$07ffebe0$3136a8c0@sassenage.massy.thalesees.com you wrote:
The problem that in XPSàProjectàSoftWare platform settings, I only find linux, VxWorks, standalone but not u-boot????
This is a problem of your own tool environment, but has nothing to do with U-Boot.
/u-boot/board/xilinx/ml300,
I added to this file the part /*U-BOOT Redefines*/ from the initial xparameters.h
If I understand this correctly this file gets automatically generated; I'm not sure if you are supposed to modify it manually.
And I got this error:
...
ml300.c:96: `XPAR_XUARTNS550_CLOCK_HZ' undeclared
Obviously you made errors when modifying xparameters.h;normally the #define is there.
Best regards,
Wolfgang Denk
participants (2)
-
Abdelmajid Bouajila
-
Wolfgang Denk