RE: Compile program using XGpio

2008-10-21 Thread John Linn
Hi Bruno, I don't think you can do what you're trying to do, unless I'm misunderstanding or just not smart enough. The EDK from Xilinx ships with drivers that are not Linux drivers. Those functions in main below are intended for a standalone (no RTOS) system such they can't just be called f

RE: Xilininx GPIO

2008-10-21 Thread John Linn
Hi Peter, Sorry for the delay. Are you using arch/powerpc and the xilinx_gpio driver from the Xilinx Git tree has not been converted to use device tree yet? We have a new gpio driver that we have not released out yet that is flattened and designed to work with arch/powerpc. I have recentl

Compile program using XGpio

2008-10-21 Thread Bruno Monteiro
Hi all, I'm working with a Virtex2p. I have a running system using: - EDK 9.1 - Crosstool-ng (svn) - linux-2.6-xlnx - BusyBox 1.12.1 Now, i'm trying to build a small program that turn off leds. I guess it should be something like this: void main (void){ XGpio led; XGpio_Init

[HELP]: Question about MPC8321E PCI configuration

2008-10-21 Thread wiseker
Hello, every one. Now I want to port MPC8321E PCI support to linux2.4.20 from linux2.6.20. I have read the patch http://www.mail-archive.com/linuxppc-embedded@ozlabs.org/msg13903.html, but some problems also occured. When the linux kernel PCI subsystem initialize, it can probe 2 PCI devices. Foun