Problem with PPC405-Virtex4 Demo
Posted by Bohdan Arzhanov
on November 10, 2012
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.
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. :)
RE: Problem with PPC405-Virtex4 Demo
Posted by Richard
on November 10, 2012
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 target ”
This 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? [you can see the path in the error string]. I presume Cygwin, which is used by the Xilinx tools, is installed correctly?
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.