[PATCH] phy: export phy_mii_ioctl

Pedro Luis D. L. carcadiz at hotmail.com
Wed Sep 19 18:54:39 EST 2007


Hello Jon,
I´m also working with a Phytec pcm030, but I can´t get it booted...
Which kernel are you using?
I tried to apply the 7 bestcomm patches from Sylvain and patch over these with this new ones that Domen released.
The base kernel I´m using is 2.6.22.6 from kernel.org.
Although I used the patch that creates pcm030.c in arch/platforms/52xx/ and compiled using this file, it gets halted at booting time.

Bytes transferred = 5091 (13e3 hex)
## Booting image at 00500000 ...
   Image Name:   Linux-2.6.22.6
   Created:      2007-09-19   8:53:02 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1196911 Bytes =  1.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
   Booting using flat device tree at 0x400000

(No more output and boot is halted)


Are you using any other patch for the platform or any other kernel, because I tried to apply these patches to a 2.6.20 kernel and are not successful.

Bests,
Pedro.


> Date: Tue, 18 Sep 2007 15:29:09 -0400> From: jonsmirl at gmail.com 
> To: domen at coderock.org> Subject: Re: [PATCH] phy: export phy_mii_ioctl 
> CC: netdev at vger.kernel.org; linuxppc-embedded at ozlabs.org 
>> On 9/18/07, Domen Puncer  wrote: 
>> More testing and getting it to work properly on Phytec pcm030 would 
>> be great.>> Do we want to do anything about this? 
>> [ 1.569657] net eth0: attached phy 0 to driver Generic PHY 
> [ 2.576013] Sending DHCP requests .PHY: f0003000:00 - Link is Up 
> - 100/Full> [ 4.612000] ., OK 
> [ 6.764005] IP-Config: Got DHCP answer from 192.168.1.200, my 
> address is 192.168.1.5
>> What is happening is the printk for "PHY: f0003000:00 - Link is Up 
> - 100/Full" is done in an interrupt and it comes in the middle of the> kernel doing DHCP and printing ... without a CR. 
>> Two possible solutions, get rid of the link-up message or wait in in 
> the initial driver load until the link is up. Or we could leave it the 
> way it is, but some people may report this as a bug.
>>> --> Jon Smirl> jonsmirl at gmail.com 
> _______________________________________________ 
> Linuxppc-embedded mailing list> Linuxppc-embedded at ozlabs.org> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

_________________________________________________________________
Busca desde cualquier página Web con una protección excepcional. Consigue la Barra de herramientas de Windows Live hoy mismo y GRATUITAMENTE.
http://www.toolbar.live.com


More information about the Linuxppc-embedded mailing list