I want to start with demo PPC405-Virtex4 and change it for working with development platform XUPV2
I read Xilinx PowerPC (PPC405) Port page and Modifying a FreeRTOS Demo page.
I download FreeRTOSV7.3.0, than open with XPS project (system.xmp) in PPC405_Xilinx_Virtex4_GCC directory. I made update bitstream and it had no errors, but when i click “Build Project” over the RTOSDemo (in applications tab) i had next error:
make -f system.make RTOSDemo_program started…
make: *** No rule to make target `/cygdrive/c/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/PPC405_Xilinx_Virtex4_GCC/RTOSDemo/../../../Source/portable/MemMang/heap_2.c’, needed by `RTOSDemo/executable.elf’. Stop.
Done!
I also tried to launch SDK and make build there, but there i have other problems:
powerpc-eabi-gcc -c -I../../ppc405_0_sw_platform/ppc405_0/include -I../../../RTOSDemo -g -O0 -I./RTOSDemo/flop -I../../Source/portable/GCC/PPC405_Xilinx -I./ppc405_0/include/ -IRTOSDemo/ -I. -I./RTOSDemo/ -I../Common/include/ -I../../Source/include/ -I./ppc405_0/include/ -I./ppc405_0/include GCC_PPC405 -mregnames -oBlockQ.o C:/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/Common/Minimal/BlockQ.c
powerpc-eabi-gcc: GCC_PPC405: No such file or directory
C:/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/Common/Minimal/BlockQ.c:105:22: error: FreeRTOS.h: No such file or directory
C:/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/Common/Minimal/BlockQ.c:106:18: error: task.h: No such file or directory
C:/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/Common/Minimal/BlockQ.c:107:19: error: queue.h: No such file or directory
C:/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/Common/Minimal/BlockQ.c:110:20: error: BlockQ.h: No such file or directory
C:/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/Common/Minimal/BlockQ.c:118: error: expected specifier-qualifier-list before ‘xQueueHandle’
C:/workspace/FreeRTOS_PPC405/FreeRTOS/Demo/Common/Minimal/BlockQ.c:124: warning: parameter names (without types) in function declaration
and so on…
PowerPC (PPC405) Port page says:
NOTE: The file system_incl.make contains the line “XILINX_EDK_DIR = C:/devtools/XilinxEDK”. It might be necessary to update this file to be correct for your Xilinx tool installation prior to building the RTOSDemo application.
but system_incl.make file says
# WARNING : This file will be re-generated every time a command
# to run a make target is invoked. So, any changes made to this
# file manually, will be lost when make is invoked next.
I am using 10.1 EDK and ISE.
Very grateful for any help. :)
Problem with PPC405-Virtex4 Demo
Problem with PPC405-Virtex4 Demo
The version of the Xilinx tools used to create the original demo were much older, which may account for the differences in how to set up the path to the tools. It was so old that it used the old GNU Insight debugger. Do Xilinx provide any migration guides?
No rule to make targetThis normally means that it simply can’t find the file it is trying to build. The forum has cut of the file name as it went of the edge, but I expect it was one of the heap_x.c files. Is the path it is looking for the file in valid? . I presume Cygwin, which is used by the Xilinx tools, is installed correctly? Regards.