Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


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?


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner