Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

EDK error during software build.

Status
Not open for further replies.

Rob B

Full Member level 4
Joined
Oct 30, 2005
Messages
195
Helped
27
Reputation
56
Reaction score
18
Trophy points
1,298
Activity points
2,564
xdefine_config_file

I've started using the EDK 9.1i for the Microblaze IP core.

The hardware synthesises but I have a problem building the software for it. A section of the end of the console output is shown below.

I'm only trying to build the built in test applications for the peripherals (just LEDs and switches) but I get the following error. Debug is to be via the UART and RS232 and that seems to something to do with the error.

Or is it just a path problem?

Code:
ERROR:MDT - uartlite () - couldn't open "src/xuartlite_g.c": no such file or
   directory
       while executing
   "open $filename w"
       (procedure "xdefine_config_file" line 4)
       invoked from within
   "xdefine_config_file $drv_handle "xuartlite_g.c" "XUartLite"  "DEVICE_ID"
   "C_BASEADDR" "C_BAUDRATE" "C_USE_PARITY" "C_ODD_PARITY"  "C_DATA_BITS""
       (procedure "::sw_uartlite_v1_01_a::generate" line 3)
       invoked from within
   "::sw_uartlite_v1_01_a::generate 37526856" 
ERROR:MDT - gpio () - couldn't open "src/xgpio_g.c": no such file or directory
       while executing
   "open $filename w"
       (procedure "xdefine_config_file" line 4)
       invoked from within
   "xdefine_config_file $drv_handle "xgpio_g.c" "XGpio"  "DEVICE_ID"
   "C_BASEADDR" "C_INTERRUPT_PRESENT" "C_IS_DUAL""
       (procedure "::sw_gpio_v2_01_a::generate" line 4)
       invoked from within
   "::sw_gpio_v2_01_a::generate 37538364" 
Copying Library Files ...

ERROR:MDT - Error while running "generate" for processor microblaze_0...

make: *** [microblaze_0/lib/libxil.a] Error 2

Done!

~Edit~

That was my error, the toolchain does not like whitespace in project paths :oops:.

Now I am exiting with:

Code:
collect2: ld returned 1 exit status
make: *** [TestApp_Peripheral/executable.elf] Error 1

Switched to a default linker script rather then the generated one and it built.
 

hi,
I have the same error, have find a solution of this error ?
 

Code:

collect2: ld returned 1 exit status
make: *** [TestApp_Peripheral/executable.elf] Error 1

If this is the error your are stuck at can you please give more info ... this does not tell the exact error. Paste the console output after you give build project..
 

Have you made sure there are no spaces in your working folder path?

I can't remember what I did to get rid of that second one, something to do with the linker script maybe.

I did manage to get a MicroBlaze working with custom and generated IP though :).
 

hello
i am also faced similar problem,but solved by removing spaces in my folder name...
I dont know why...try this it may work...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top