UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer billbracken
Observer
6,497 Views
Registered: ‎11-15-2013

Xilkernel

I have generated a MicroBlaze on a Virtex5.  One 64kb BRAM for code/data.  3 BRAMs connected via PLB (data side only) for exchanging data between custom VHDL logic (currently no VHDL is connected).  2 Interrupts, timers, interrupt controller, 2 uarts.  I generated an SDK for standalone mode and am able to run the design on an ML507.  I then generated an SDK for using Xilkernel.  The hello_world program does not compile with the following error:

 

         ../src/hellowworld.c;21:17: fatal error: xmk.h: No such file or directory.

 

The xmk.h file is in the design at the following location:

 

        hellow_world_0_bsp/microblaze_0/libsrc/xilkernel_v5_01_a/src/include

 

There seems to be an issue with the setup of eclipse to be able to properly locate the Xilkernel files.

 

bb

 

Tags (2)
0 Kudos
5 Replies
Explorer
Explorer
6,488 Views
Registered: ‎03-31-2011

Re: Xilkernel

Be sure that your library is properly linked with xilkernel...

0 Kudos
Observer billbracken
Observer
6,484 Views
Registered: ‎11-15-2013

Re: Xilkernel

joy1887,

 

Thanks for the response.  It appears that the Xilkernel library is not being built.  I didn't notice it because the build showed the errors in the console log for a very short amount of time and then attempted to build hello_world.  The following is the log file from the attempt to generate what I believe to be the Xilkernel library.

 

Release 14.7 - libgen Xilinx EDK 14.7 Build EDK_P.20131013
(nt64)
Copyright (c) 1995-2013 Xilinx, Inc. All rights reserved.

Command Line: libgen -hw ../hw_platform_0/system.xml -pe microblaze_0 -log
libgen.log system.mss


Staging source files.
Running DRCs.
Running generate.
ERROR:EDK:3900 - issued from TCL procedure "::sw_xilkernel_v5_01_a::generate"
line 283
xilkernel () - System Timer Interrupt PORT is not specified
ERROR:EDK - intc () - Internal error: Num intr inputs 1 not the same as length
of xget_interrupt_sources 0
ERROR:EDK:3416 - Error(s) while running TCL procedure generate().

 

It appears that my MicroBlaze might not be defined correctly.  I do have an interrupt controller which I just verified is set to have two interrupt sources (XPS doesn't allow me to change it via the XPS interface).

 

I couldn't find much on Xilkernel when it came to describing what IP needed to be included in the Microblaze in order to support XilKernel.  I did find one reference that showed Xilkernel needing a single interrupt controller.  I will eventually need to support two uarts... both of which will need to be interrupt driven.

 

Thanks in advance,

bb

0 Kudos
Explorer
Explorer
6,473 Views
Registered: ‎03-31-2011

Re: Xilkernel

Ok..atfirst check whether all the demos are running fine in UG758

0 Kudos
Observer billbracken
Observer
6,471 Views
Registered: ‎11-15-2013

Re: Xilkernel

I had already looked at UG758.  I can't actually run any of the demos because I have a different board.  I did look at the MicroBlaze definition in XPS.  The MB looks comparable to the one I have done for the ML507.  The difference between the two designs:  Virtex5 v. Virtex6.  My Virtex design uses PLB instead of AXI.

 

You will probably think I crazy, but when I build only the xilkernel_bsp_0, it also fails... and there entire microblaze_0 directory is gone.  I have included the log of the xillkernel_bsp_0 build.  Could this be a windows directory structure problem.  For UG758 my directory to the worksapce is:

 

     C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace

 

My workspace directory for my project is:

 

    C:\Data\MACE\MACE_PLB_RTX\ML507\XilKernel

 

Again, I suspect that there is something amiss with my MB.  But not sure what... however it looks like the UG758 also doesn't work.

 

bb

 

Release 14.7 - libgen Xilinx EDK 14.7 Build EDK_P.20131013
(nt64)
Copyright (c) 1995-2013 Xilinx, Inc. All rights reserved.

Command Line: libgen -hw ../ug758_example_hw_platform/system.xml -pe
microblaze_0 -log libgen.log system.mss

ERROR:EDK:3323 -
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bs
p_0\system.mss line 71 - Cannot find MDD file tmrctr_v2_1_0.mdd for the
driver tmrctr 2.03.a
INFO:EDK:1040 - Directories Searched :
-
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bsp_0
\drivers/tmrctr_v2_03_a/data
-
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bsp_0
\pcores/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\lib\drivers/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\lib\pcores/tmrctr_v2_03_a/data
-
C:\Xilinx\14.7\ISE_DS\EDK\sw\XilinxProcessorIPLib\drivers/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\XilinxProcessorIPLib\pcores/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\ThirdParty\drivers/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\ThirdParty\pcores/tmrctr_v2_03_a/data
ERROR:EDK:3323 -
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bs
p_0\system.mss line 77 - Cannot find MDD file tmrctr_v2_1_0.mdd for the
driver tmrctr 2.03.a
INFO:EDK:1040 - Directories Searched :
-
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bsp_0
\drivers/tmrctr_v2_03_a/data
-
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bsp_0
\pcores/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\lib\drivers/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\lib\pcores/tmrctr_v2_03_a/data
-
C:\Xilinx\14.7\ISE_DS\EDK\sw\XilinxProcessorIPLib\drivers/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\XilinxProcessorIPLib\pcores/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\ThirdParty\drivers/tmrctr_v2_03_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\ThirdParty\pcores/tmrctr_v2_03_a/data
ERROR:EDK:3323 -
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bs
p_0\system.mss line 101 - Cannot find MDD file intc_v2_1_0.mdd for the driver
intc 2.02.a
INFO:EDK:1040 - Directories Searched :
-
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bsp_0
\drivers/intc_v2_02_a/data
-
C:\Users\Bill\Downloads\ug758_example_design_files\SDK\Workspace\xilkernel_bsp_0
\pcores/intc_v2_02_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\lib\drivers/intc_v2_02_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\lib\pcores/intc_v2_02_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\XilinxProcessorIPLib\drivers/intc_v2_02_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\XilinxProcessorIPLib\pcores/intc_v2_02_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\ThirdParty\drivers/intc_v2_02_a/data
- C:\Xilinx\14.7\ISE_DS\EDK\sw\ThirdParty\pcores/intc_v2_02_a/data
INFO:EDK:772 - Check the following for possible causes of not finding MDD:
- If DRIVER_VER is specified in MSS, it must follow literal form X.YY.Z
- There is no driver with given name
- Driver exists but not that version
- Driver and version (directory) exist but no MDD is available

ERROR:EDK:1204 - Errors occured while creating Software System.

0 Kudos
Observer billbracken
Observer
6,470 Views
Registered: ‎11-15-2013

Re: Xilkernel

The xilkernel bsp files go away only in the UG758 project.  They remain intact in my project.

 

bb

0 Kudos