Help - Search - Members - Calendar
Full Version: Porting APU design to linux 2.6 kernel
Impulse Support Forums > Impulse Forums > Xilinx Platform Support
hamedkhan
Hi,

I have implemented a simple APU design using ImpulseC which consists two processes one hardware and one software communicating through a shared memory and one 32-bit process (target board is ML410).
I have some basic questions:

1- How I should port the design to the Linux. I brought up a kernel 2.6 linux on PowerPC and I want to run my software process under this OS. Is some kind of device driver required? Or just simply cross-compile my sources for PowerPC.

2- When I want to compile software sources exported to EDK, the compiler complaining: expecting ':' or ')' before p_config_sys_status when calling HW_STREAM_WRITE(config,sys,&membase); macro. I think I've included almost all of the header files, but the problem still exists.


thanks in advanced
Hamed Khan
meix
Hi Hamed,

1. For porting your design to Linux, please refer to the Impulse C APU Linux documentation for details. No device driver is needed, but you need to hack the Linux kernel a little bit.

2. In order to use the macro "HW_STREAM_WRITE", the port name, in your case "p_config_sys_status", has to match the port name in the generated VHDL file xxx_top.vhd exactly. What PSP are you using in CoDeveloper? Please make sure that the option "Do not include co_ports in bus interface" is checked, if you don't use "co_port".

Hope these help.

Regards,

Mei
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.