Re: GPIO driver for MPC8313.

2009-09-23 Thread Peter Korsgaard
Johnny == Johnny Hung johnny.hack...@gmail.com writes: Johnny Hi All: Johnny    Is there a alreday written GPIO dirver or example for Johnny MPC8313/similar ppc platform. It looks like many people need GPIO Johnny dirver to control LED, etc... I think is it possible to write a Johnny

Re: GPIO driver for MPC8313.

2009-09-23 Thread Johnny Hung
Thanks, got it. BTW, how to trigger GPIO level in user space application? I also found arch/powerpc/platforms/52xx/mpc52xx_gpio.c is a good example. Any reply is appreciate. BRs, H. Johnny 2009/9/23 Peter Korsgaard jac...@sunsite.dk: Johnny == Johnny Hung johnny.hack...@gmail.com writes:  

Re: GPIO driver for MPC8313.

2009-09-23 Thread Peter Korsgaard
Johnny == Johnny Hung johnny.hack...@gmail.com writes: Johnny Thanks, got it. BTW, how to trigger GPIO level in user space Johnny application? I also found Johnny arch/powerpc/platforms/52xx/mpc52xx_gpio.c is a good Johnny example. Any reply is appreciate. Through sysfs. See 'Sysfs

linux booting fails on ppc440x5

2009-09-23 Thread Vineeth
I am trying to port linux on IBM powerpc-440x5. I have this board which has this processor, a 16MB SRAM sits on location 0x0, uart and a flash.I have a simple bootloader which does the following. 1. Initialize the processor (as part of it, we Generates the tlbs for UART,16MB flash,16MB SRAM)

Re: GPIO driver for MPC8313.

2009-09-23 Thread Johnny Hung
Many thanks for your help. I will try it. 2009/9/23 Peter Korsgaard jac...@sunsite.dk: Johnny == Johnny Hung johnny.hack...@gmail.com writes:  Johnny Thanks, got it. BTW, how to trigger GPIO level in user space  Johnny application? I also found  Johnny