XAPP1026 on the Zedboard
I have downloaded this tutorial from http://zedboard.org/support/design/1521/11
There is no explanation as to what to do with the files. It does contain the XAPP1026 application note. It requires ISE 14.5 (so I downloaded this from the Xilinx website).
Step 1 (page 9) Specify work space.
Eclipse organizes projects within a folder called workspace. In SDK, a workspace can only
contain projects for one specific hardware platform. When SDK starts up, specify a folder to
contain software projects for a particular hardware design.
Does this mean specify any folder? I tried this.
And I get an empty project as you would expect.
Step 2: Create a local repository for FreeRTOS BSP
This requires you to download the FreeRTOS BSP. This appears to have already been done with the XAPP1026-Zedboard design.
Step 3: Import Software Projects
Software platforms and applications can be created in SDK after the hardware platform is
specified. Instead of creating a new software platform/application, import the existing software
platforms and example applications provided with this reference design.
When I do this I get an error in the fsbl "Symbol 'XPS_DDR_CTRL_BASEADDR' couldn't be found
This is not too surprising as the design doesnu2019t include the hardware platform. To get this I double click on system in C:Zedboardxapp1026_zedboard-27-11-15xapp1026_14_5zedboard_GigEhwsystem.xmp. This gives the XPS design.
I then hit export design & launch SDK.
This includes the hardware platform. Now I can go back to step 3.
Unfortunately I get errors. Item 5 of step 3 does say this might happen and suggest that I clean and rebuild the project. However after the clean Iu2019m still left with errors in the socket_apps - fatal error:lwip/inet.h: No such file or dir, fatal error: xil_io.h: No such file or dir
If I create a new FSBL as follows with zed_hardware_platform(pre-defined) I get a different set of errors in the socket_apps.
Symbol 'DEFAULT_THREAD_PRIO' could not be resolved.
(ignoring the errors with sockets_apps I move on)
Step 3: Download the Bitstream
I am able to still programme the FPGA. This is using hw_platform_0 ( it also works with hw_hw_platform!!).
Step 4: Download the MFS Image
The preceding procedure does not apply to Zynq devices. For downloading image.mfs for
Zynq devices, See the following section (step 5). See Appendix A: Creating an MFS Image for
instructions on how to create the MFS image.mfs.
Following this procedure I get something that looks very like what is achieved in appendix A.There appears to be just the one error.
Step 5: Create a Run Configuration and Run the Application
Iu2019m able to run the raw_app.
And I get the following error:
platform_init_fs: ERROR: unable to locate indx.html in MFS. One of your app requires a memory system to be loaded. ERROR intializing platform
I checked this error out on the forums. The only reply was to make sure the xilmfs is ticked. This it is.
Any help with any one of these issues would be very much appreciated.
(I have also posted this on the Xilinx forum and because I'm able to add attachments this has images as well - see https://forums.xilinx.com/t5/Embedded-Processor-System-Design/XAPP1026-working-on-the-Zedboard/td-p/668211)