Sorry, you need to enable JavaScript to visit this website.

Zedboard Tutorial Problem (Lab2)

Zedboard forums is currently read-only while it under goes maintenance.

Unsolved
3 posts / 0 new
Tobias92
Junior(0)
Zedboard Tutorial Problem (Lab2)

Hello,

I am a totally noob and have a Problem with the Tutorial Lab2.
I did lab 1 and the beginning of lab 2 exactly as described and all values and data sets look correctly but when I want to create the Board Support Package and accept the settings

(like at the beginning of this tutorial: http://www.zedboard.org/content/zedboard-sdk-helloworld-example)

I get this Protocol:

-----------------------------------------------------

make -k all
libgen -hw ../system_hw_platform/system.xml\
\
-pe ps7_cortexa9_0 \
-log libgen.log \
system.mss
libgen
Xilinx EDK 14.4 Build EDK_P.49d
Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved.

Command Line: libgen -hw ../system_hw_platform/system.xml -pe ps7_cortexa9_0
-log libgen.log system.mss

Staging source files.
Running DRCs.
Running generate.
Running post_generate.
Running include - 'make -s include "COMPILER=arm-xilinx-eabi-gcc"
"ARCHIVER=arm-xilinx-eabi-ar" "COMPILER_FLAGS= -O2 -c"
"EXTRA_COMPILER_FLAGS=-g"'.

Running libs - 'make -s libs "COMPILER=arm-xilinx-eabi-gcc"
"ARCHIVER=arm-xilinx-eabi-ar" "COMPILER_FLAGS= -O2 -c"
"EXTRA_COMPILER_FLAGS=-g"'.
"Compiling xadc"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [libs] Fehler 2
"Compiling standalone"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -march=armv7-a -mfloat-abi=soft -mfpu=neon -I./. -I../../../include _exit.c _open.c _sbrk.c abort.c close.c errno.c fcntl.c fstat.c getpid.c inbyte.c isatty.c kill.c lseek.c open.c outbyte.c print.c putnum.c read.c sbrk.c sleep.c smc.c uart.c unlink.c usleep.c vectors.c write.c xil_assert.c xil_cache.c xil_exception.c xil_io.c xil_mmu.c xil_printf.c xil_testcache.c xil_testio.c xil_testmem.c xl2cc_counter.c xpm_counter.c xtime_l.c asm_vectors.S boot.S cpu_init.S translation_table.s xil-crt0.S, ...) failed.
"Compiling devcfg"
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [standalone_libs] Fehler 2
make[1]: Das Target »libs« wurde wegen Fehlern nicht aktualisiert.
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [libs] Fehler 2
"Compiling dmaps"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [libs] Fehler 2
"Compiling scugic"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [libs] Fehler 2
"Compiling scutimer"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [libs] Fehler 2
"Compiling scuwdt"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [libs] Fehler 2
"Compiling uartps"
process_begin: CreateProcess(NULL, arm-xilinx-eabi-gcc -O2 -c -g -I./. -I../../../include *.c, ...) failed.
make (e=2): Das System kann die angegebene Datei nicht finden.

make[1]: *** [libs] Fehler 2
"Compiling cpu_cortexa9"
ERROR:EDK:369 - make failed for target "libs"
ERROR:EDK:3418 - Error(s) while running make.
make: *** [ps7_cortexa9_0/lib/libxil.a] Fehler 2
make: Das Target »all« wurde wegen Fehlern nicht aktualisiert.

------------------------------------------------------

I don't know whats the Problem, because in other Tutorials which I have done right now I never had a problem with creating the bsp.
I am using ISE Design Suite 14.4 if this matters....

Please help

Tobias92
Junior(0)
Addition:

If I use the given solution system_hw_platform data to create the BSP everything works correctly, but if I use the given solution planahead project, export it to SDK and then create the BSP I get the same Problem like with my own projects.

Has anyone an idea what I'am doing wrong??

LarryQW
Junior(0)
Only second solution in link worked

I had this same problem.

I couldn't get Jayson's solution to work for me. In the SDK I deleted the BSP reference and disk file. I deleted only the reference to the HW_Platform. I then imported (under General) the HW_Platform back into the SDK. But it still had compile problems. I'm not sure what is meant by "reference all SW apps to the new BSP" as a new BSP can't be created properly due to compile errors.

However, I found what worked is the link by Tobias92 to the solution by Kevin (zedhed).

But I should note that solution 2 from, starting SDK from Start menu did NOT work.

So out of all the suggestions, the only one that worked for me was solution 1 from Kevin (zedhed) on the link by Tobias92:
1. Launch PlanAhead from a command line, then launch SDK from PlanAhead.
Specifically, I launched PlanAhead from the “ISE Design Suite 64-bit Command Prompt” by typing “planahead”. Then I created and exported the HW_Platform to SDK and the BSP was created without errors finally.