ML300-gpio
hi all,
I'm working with the ML300 platform running the shipped Montavista Linux (and hw configuration). I need to use the onboard gpio and I found a driv= er,
the xilinx_gpio, that I have loaded (insmod xilinx_gpio). After insmoding=
the driver it is registered in /dev/xgpio (why is not it loaded in /proc/=
before?) I have tried to use the GPIOs...
cat "111111000000" > /dev/xgpio
I was expecting some leds lighting but nothing at all... Is there someone experienced with the ml300 gpios? Please I need help
Luigi
Quoted 8 lines · [email protected] wrote:
hi all,
I'm working with the ML300 platform running the shipped Montavista Linux (and hw configuration). I need to use the onboard gpio and I found a driver, thexilinx_gpio, that I have loaded (insmodxilinx_gpio). After insmoding the driver it is registered in/dev/xgpio(why is not it loaded in/proc/before?) I have tried to use the GPIOs...cat "111111000000" >
/dev/xgpio
You must use ioctl's.
This driver has the same API as IBM OCP GPIO driver. Please check include/linux/ibm_ocp_gpio.h.
Thanks,
Andrei
Quoted 10 lines
I was expecting some leds lighting but nothing at all... Is there someone experienced with the ml300 gpios? Please I need help Luigi
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded