Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

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.
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. :)

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?

Regards.


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




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.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists