Avnet Electronics Marketing - Community Forum
    |   
 
Home Design Services My Account About Avnet
Reply
Visitor
OliverFrank
Posts: 2
Registered: ‎12-16-2011
0

Bootloader-Tutorial: linker error "cannot find -lxilisf"

Hi,

 

i have some troubles with the Tutorial "Creating a MicroBlaze SPI Flash Bootloader" (Lab 6) running on EDK/SDK 13.1.

 

Instead of the first steps in the tutorial on page 6 i didn't create a MicroBlaze system by myself. I use the hardware plattform 211 based on a AXI bus.

So i start on page 9 to "Create a New Software Application Running from LPDDR".

My problem occurs when i follow the steps on page 10 "Create the Boot Loader Application".

In step 6 and 7 i include the xilisf library to the board support package. But when i have done this the compile run stop with the error:

 

c:\...\ld.exe: cannot find -lxilisf
collect2: ld returned 1 exit status
make: *** [SPI_Boot.elf] Fehler 1

 

When i check the folder of the bsp:

<projectname>\BSP_with_ISF\microblaze_0\libsrc

The SDK generate the library sources with c-files:

..\xilisf_v2_01_a\src

 

So my question is: Where must i configure a path ore something else so the compiler and the linker will find the source/object files?

 

 

thanks

Oliver Frank

 

 

 

Avnet Employee
JBethurem
Posts: 174
Registered: ‎02-18-2010
0

Re: Bootloader-Tutorial: linker error "cannot find -lxilisf"

I just repeated your steps, though using 13.2 as I don't have 13.1 on my PC anymore.

 

It worked fine. 

 

Are you sure you are using the bootloader.c file from the EDK tutorial #6?     This may

not even be an issue as this step is done after you create the BSP with ISF.

 

Im tyring to upload my project in another broswer window.  Its taking forever..  Stay tuned.

 

Jayson

Visitor
OliverFrank
Posts: 2
Registered: ‎12-16-2011
0

Re: Bootloader-Tutorial: linker error "cannot find -lxilisf"

Hi Jayson,

I wish you a glad new year and hope that you could enjoy likewise your vacation.

In fact i did not copy the file because it is part of the next steps in the tutorial.
It was not clear to me that when i change the BSP he will compile the whole project at once. I thought he only check the modifications in the BSP.

Now everything is running. Thanks for your help.


Oliver