Re: Problem Ethernet Initialization MPC5200 + LXT971A

2010-11-08 Thread Stefan Strobl
Hi Tiejun tiejun.chen wrote: Stefan Strobl wrote: To workaround I could make u-boot run eth_init() always but that doesn't seem the right approach to this. Yes. Often we shouldn't depend the bootloader do this when we use NIC. But its worth tracking eth_init in detail to check what

Problem Ethernet Initialization MPC5200 + LXT971A

2010-11-05 Thread Stefan Strobl
Hi I'm having a Problem with the Initialization of my Ethernet PHY (FEC_MPC5200 + LXT971A Phy). I'm using latest U-Boot and Linux 2.6.37 from Denx. Once in Linux I can ping my own IP-Address but not any other device in my network. The Link LED is on when connected to the network but when

ethernet phy attached to wrong driver

2009-08-05 Thread Stefan Strobl
Hi I'm having trouble with my Ethernet device on a TQM5200 based board with LXT971 Phy. I'm running U-Boot 2009.03 and a Kernel 2.6.30. When doing a ping under U-Boot before booting into Linux, Ethernet works fine in Linux also. Dmesg reads: [ 262.369444] net eth0: Using PHY at MDIO address 0 [

Re: MPC52xx simple GPIO support

2009-06-03 Thread Stefan Strobl
Anton Vorontsov wrote: Hi Stefan, On Tue, Jun 02, 2009 at 07:02:25PM +0200, Stefan Strobl wrote: Hi I still don't quite understand how to use the Flattened Device Tree / Open Firmware. I see there's a driver (mpc52xx_gpt.c) that supports to use the Pins on the GPT as simple GPIOs. I can

How to add i2c platform data in dts file

2009-06-02 Thread Stefan Strobl
Hi I'm using the i2c/chips/tsl2550 driver. In the tsl2550_probe() function the driver checks for platform data to set the operating_mode. I suppose I can provide this data in my dts file but I don't know how to do that. Currently my dts looks like this: tsl2...@39 { compatible =

MPC52xx simple GPIO support

2009-06-02 Thread Stefan Strobl
Hi I still don't quite understand how to use the Flattened Device Tree / Open Firmware. I see there's a driver (mpc52xx_gpt.c) that supports to use the Pins on the GPT as simple GPIOs. I activated it by adding these lines to my dts file: gpt2: ti...@620 { compatible =

ADS5121 problem using audio interface

2009-02-04 Thread Stefan Strobl
Hi I'm trying to get the audio interface working on my ADS5121 Rev4.0 and have some questions. I did manage to record and play audio files of type raw and format S32_BE like this: $ arecord -traw -c2 -fS32_BE -Dhw:0,0 testfile $ aplay -traw -c2 -fS32_BE -Dhw:0,0 testfile I am not able to get

ADS5121 how to use /dev/ttyPSC

2009-01-14 Thread Stefan Strobl
Hi I'm new to Kernel 2.6 and OF. I'm using a ADS5121 board with kernel from denx (ads5121 branch from linux-2.6-denx). According to my dts file both PSC3 and PSC4 should be accessible through /dev/ttyPSC0 and /dev/ttyPSC1 respectively. When I simply try to run: $ echo Hello /dev/ttyPSC* I