[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] newbie question on xilinx_ll_temac.c u-boot driver




Childhood Hwang wrote:
> By the way, In petalinux , LL_TEMAC works well with my custom board .


Look at LL-temac driver to xps_ll_temac_phy_ctrl function - there is
phy setting. In any driver version was checking for phy ID which is on ml505.
If you remove that "if" testing the behavior will be the same as petalinux one.

This is u-boot pain and pain of all u-boot net drivers. There is missing phy-lib
but good news is that currently one implementation is on u-boot mailing list.
When is stable, I'll take a look at it.

Regards,
Michal



> 
> 2009/8/29 Childhood Hwang <childhood.hwang@xxxxxxxxx>:
>> Hi Jerry:
>>
>> I change anything , I used it with ML506, it works.
>> But I have problem on LL_TEMAC in uboot with my custom board, message like this:
>>
>> U-Boot> ping 192.168.0.211
>> tx 0x91fdf560, rx 0x91fdfb60
>> 1:0x20 0x91fdf540
>> bd_init tx_bd 0x91fdf520, rx_bd 0x91fdf540
>> 1a: 0x20 0x91fdf540
>> 1b: 0x20 0x91fdf540 phys_buf_p 0x00000000 0x91fdf560
>> 1c: 0x20 0x91fdf540
>> 1d: 0x20 0x91fdf540
>> 2: 0x20 0x91fdf540
>> bd_init_end
>> eth0: Xilinx XPS LocalLink Tri-Mode Ether MAC #0 at 0x81C00000.
>> Checking reg 10:00000000
>> Checking reg 5:0000ffff
>> 100BASE-T/FD
>> ping failed; host 192.168.0.211 is not alive
>>
>> uboot set LL_TEMAC to 100M but not 1000M, and it doesn't work. I am
>> checking that.
>>
>> Rgs.
>> Childhood.
>>
>> 2009/8/27  <0105_jerry@xxxxxxxxxxxxx>:
>>> Hi Childhood,
>>>
>>> I meet a problem on ll_temac when using u-boot.
>>> Did you change anything of the petalinux-v0[1].40-rc1?
>>>
>>> Regards,
>>> Jerry
>>>
>>>> -----原始邮件-----
>>>> 发件人: "Childhood Hwang" <childhood.hwang@xxxxxxxxx>
>>>> 发送时间: 2009年8月25日 星期二
>>>> 收件人: microblaze-uclinux@xxxxxxxxxxxxxx
>>>> 抄送:
>>>> 主题: Re: [microblaze-uclinux] newbie question on xilinx_ll_temac.c u-boot
>>>        driver
>>>> Hi Luigi:
>>>>
>>>> The attachment is work well with EDK10.01.03, ML506. I was using the
>>>> petalinux-v0[1].40-rc1,
>>>> It also cost me weeks to make it work, It's a little hard.
>>>>
>>>> Rgs.
>>>> Childhood.
>>>>
>>>>
>>>> 2009/8/24  <L.Campora@xxxxxxxx>:
>>>>> Hi all,
>>>>>
>>>>> I continue to have problems with my ml505 hard temac, and sure
>>>>> they come from my ISE 11.1 wizard-generated ml505 project
>>>>> (I do not see any other reason for this..)
>>>>>
>>>>> - u-boot is the lastest shapshot from petalogix repository
>>>>> - sdk_repository for top application is the latest from petalogix repository
>>>>> - toolchain isn't in fact (I have microblaze-uclinux-gcc 3.4.1, and I had to
>>>>> revert the .rodata directive in the linker script, but I
>>>>>   dot'n think this can have a deep effect on a single peripheral...)
>>>>> - Xilinx ISE suite is 11.1.
>>>>>
>>>>> I still download u-boot in memory via the USB cable and XMD, but this again
>>>>> shouldn't be a major issue with the ethernet..
>>>>>
>>>>> What happens is that I cannot ping a host: I can see ARP packets sent from
>>>>> my ml505, I can see the pinged station replying to the ARP,
>>>>> sometimes I see the ml505 sending the ping, sometines I don't, sometimes
>>>>> ml505 stucks after the reception of the ARP.
>>>>>
>>>>> My question is: is there a place where I can find some reference .msh and
>>>>> .mss for the ml505 ensuring me that hard temac will work
>>>>> properly on that project?
>>>>>
>>>>> Thanks in advance, and don't hesitate to advice me if Im out of topic with
>>>>> this request.
>>>>>
>>>>> Bye
>>>>>
>>>>> Luigi
>>>>>
>>>>>>  Michal Simek <Michal.Simek@xxxxxxxxxxxxx> wrote:
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> L.Campora@xxxxxxxx wrote:
>>>>>>> Michal,
>>>>>>> is the driver yuu indicated me suitable also for Virtex5 Hard TEMAC?
>>>>>>>
>>>>>>> I'm using a ml505 board and I'm having lot of troubles when trying to
>>>>>>> use that peripheral from u-boot,
>>>>>>> so I was wondering whether there's something different when dealing with
>>>>>>> V5 family..
>>>>>> I use ml505 and there is no problem with this driver.
>>>>>>
>>>>>> Regards,
>>>>>> Michal
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> NOTA DI RISERVATEZZA
>>>>> Questo messaggio e  i suoi allegati sono  destinati esclusivamente
>>>>> alle persone in indirizzo e puo' contenere informazioni riservate.
>>>>> Se  avete ricevuto  il  messaggio  per errore,  Vi  informiamo che
>>>>> qualsiasi  utilizzo dei contenuti della presente e'  assolutamente
>>>>> vietato.  Vi  invitiamo  a  rispedire  immediatamente  la mail  al
>>>>> mittente e  a distruggere il messaggio. Per  qualsiasi dubbio,  Vi
>>>>> invitiamo a contattarci rispondendo a webmaster@xxxxxxxx
>>>>>       Grazie   www.sirti.it
>>>>>
>>>>>
>>>>> CONFIDENTIALITY NOTICE
>>>>> This  message  and its  attachments are  addressed  solely  to  the
>>>>> persons above and may contain confidential information. If you have
>>>>> received the message  in error,  be informed that any  use  of  the
>>>>> content hereof is prohibited.  Please return it  immediately to the
>>>>> sender  and delete the  message. Should  you  have  any  questions,
>>>>> please contact us by replying to webmaster@xxxxxxxx
>>>>>       Thank you   www.sirti.it
>>>>>
>>>>>
>>>>>
>>>
>>> ___________________________
>>> microblaze-uclinux mailing list
>>> microblaze-uclinux@xxxxxxxxxxxxxx
>>> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>>> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>>>
>>>
> 
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@xxxxxxxxxxxxxx
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
> 
> 

-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/