public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] LL_TEMAC on Avnet MiniModule-FX12
@ 2008-06-05  7:14 llandre
  2008-06-06  7:06 ` Michal Simek
       [not found] ` <ADA5878BA63680469C75C14CEEE2FE28014FE336@mail.serveron.com>
  0 siblings, 2 replies; 4+ messages in thread
From: llandre @ 2008-06-05  7:14 UTC (permalink / raw)
  To: u-boot

Hi all,

I ported U-Boot 1.3.1 on Avnet MiniModule-FX12 (the repository I'm 
working with has been patched previously with ML403 patch). Here is my 
first dirty patch:

http://www.dave.eu/download/misc/mmfx12/mmfx12-0.8.3.patch

U-Boot works fine and it boots correctly from flash, however ethernet 
interface (LL_TEMAC) does not work.
For example, when I try to perform a TFTP download, the XEmac_PollSend 
function never returns because the following loop never ends:

/*
  * Loop on the MAC's status to wait for the transmit to complete. The
  * transmit status is in the FIFO when the XMIT_DONE bit is set.
  */
do {
     IntrStatus = XIIF_V123B_READ_IISR(InstancePtr->BaseAddress);
}
while ((IntrStatus & XEM_EIR_XMIT_DONE_MASK) == 0);

Please note that the FPGA bitstream is ok because the linux kernel works 
fine and can mount root file system via NFS so I pretty sure something 
is wrong in my U-Boot port.

Anybody experienced similar problems?


TIA,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave.eu
email: r&d2 at dave-tech.it

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] LL_TEMAC on Avnet MiniModule-FX12
  2008-06-05  7:14 [U-Boot-Users] LL_TEMAC on Avnet MiniModule-FX12 llandre
@ 2008-06-06  7:06 ` Michal Simek
  2008-06-20 15:15   ` llandre
       [not found] ` <ADA5878BA63680469C75C14CEEE2FE28014FE336@mail.serveron.com>
  1 sibling, 1 reply; 4+ messages in thread
From: Michal Simek @ 2008-06-06  7:06 UTC (permalink / raw)
  To: u-boot

Hi Llandre,

that's why you use opb_emac driver for ll_temac. That's all. Different driver
and different ip_core.

Regards,
Michal


> Hi all,
> 
> I ported U-Boot 1.3.1 on Avnet MiniModule-FX12 (the repository I'm 
> working with has been patched previously with ML403 patch). Here is my 
> first dirty patch:
> 
> http://www.dave.eu/download/misc/mmfx12/mmfx12-0.8.3.patch
> 
> U-Boot works fine and it boots correctly from flash, however ethernet 
> interface (LL_TEMAC) does not work.
> For example, when I try to perform a TFTP download, the XEmac_PollSend 
> function never returns because the following loop never ends:
> 
> /*
>   * Loop on the MAC's status to wait for the transmit to complete. The
>   * transmit status is in the FIFO when the XMIT_DONE bit is set.
>   */
> do {
>      IntrStatus = XIIF_V123B_READ_IISR(InstancePtr->BaseAddress);
> }
> while ((IntrStatus & XEM_EIR_XMIT_DONE_MASK) == 0);
> 
> Please note that the FPGA bitstream is ok because the linux kernel works 
> fine and can mount root file system via NFS so I pretty sure something 
> is wrong in my U-Boot port.
> 
> Anybody experienced similar problems?
> 
> 
> TIA,
> llandre
> 
> DAVE Electronics System House - R&D Department
> web:   http://www.dave.eu
> email: r&d2 at dave-tech.it
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] LL_TEMAC on Avnet MiniModule-FX12
       [not found] ` <ADA5878BA63680469C75C14CEEE2FE28014FE336@mail.serveron.com>
@ 2008-06-06  7:22   ` llandre
  0 siblings, 0 replies; 4+ messages in thread
From: llandre @ 2008-06-06  7:22 UTC (permalink / raw)
  To: u-boot

> What repository are you working from?
U-Boot 1.3.1 cloned last February.

> What ML403 patch are you referencing?
http://www.dave.eu/download/misc/mmfx12/ml403.patch
This derives directly from this old patch that has been around since 2005:
http://www.dave.eu/download/misc/mmfx12/4-ml403.2005-10-01.patch
This patch has been applied by my colleague. Then I put my hands on 
repository and started working on MiniModule port.

> I'm working on a ML403 board at the moment and would be willing to help
> debug / share fixes for u-boot.
Thanks for your availability.

> I have just started looking at a u-boot port but have been working lots
> with the 2.6 kernel (using the ACE support).
We did the same. First we worked on the ML403, then we ported our 
project to MiniModule that will be the base for the final application.


-- 
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave.eu
email: r&d2 at dave-tech.it


> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf Of llandre
> Sent: Thursday, June 05, 2008 12:15 AM
> To: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] LL_TEMAC on Avnet MiniModule-FX12
> 
> Hi all,
> 
> I ported U-Boot 1.3.1 on Avnet MiniModule-FX12 (the repository I'm
> working with has been patched previously with ML403 patch). Here is my
> first dirty patch:
> 
> http://www.dave.eu/download/misc/mmfx12/mmfx12-0.8.3.patch
> 
> U-Boot works fine and it boots correctly from flash, however ethernet
> interface (LL_TEMAC) does not work.
> For example, when I try to perform a TFTP download, the XEmac_PollSend
> function never returns because the following loop never ends:
> 
> /*
>   * Loop on the MAC's status to wait for the transmit to complete. The
>   * transmit status is in the FIFO when the XMIT_DONE bit is set.
>   */
> do {
>      IntrStatus = XIIF_V123B_READ_IISR(InstancePtr->BaseAddress);
> }
> while ((IntrStatus & XEM_EIR_XMIT_DONE_MASK) == 0);
> 
> Please note that the FPGA bitstream is ok because the linux kernel works
> fine and can mount root file system via NFS so I pretty sure something
> is wrong in my U-Boot port.
> 
> Anybody experienced similar problems?
> 
> 
> TIA,
> llandre
> 
> DAVE Electronics System House - R&D Department
> web:   http://www.dave.eu
> email: r&d2 at dave-tech.it
> 
> ------------------------------------------------------------------------
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for just about anything Open
> Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] LL_TEMAC on Avnet MiniModule-FX12
  2008-06-06  7:06 ` Michal Simek
@ 2008-06-20 15:15   ` llandre
  0 siblings, 0 replies; 4+ messages in thread
From: llandre @ 2008-06-20 15:15 UTC (permalink / raw)
  To: u-boot

> that's why you use opb_emac driver for ll_temac. That's all. Different driver
> and different ip_core.
I see. I erroneously understood that this driver supports every (t)emac 
flavours.

Thanks for your help,
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave.eu
email: r&d2 at dave-tech.it

>> Hi all,
>>
>> I ported U-Boot 1.3.1 on Avnet MiniModule-FX12 (the repository I'm 
>> working with has been patched previously with ML403 patch). Here is my 
>> first dirty patch:
>>
>> http://www.dave.eu/download/misc/mmfx12/mmfx12-0.8.3.patch
>>
>> U-Boot works fine and it boots correctly from flash, however ethernet 
>> interface (LL_TEMAC) does not work.
>> For example, when I try to perform a TFTP download, the XEmac_PollSend 
>> function never returns because the following loop never ends:
>>
>> /*
>>   * Loop on the MAC's status to wait for the transmit to complete. The
>>   * transmit status is in the FIFO when the XMIT_DONE bit is set.
>>   */
>> do {
>>      IntrStatus = XIIF_V123B_READ_IISR(InstancePtr->BaseAddress);
>> }
>> while ((IntrStatus & XEM_EIR_XMIT_DONE_MASK) == 0);
>>
>> Please note that the FPGA bitstream is ok because the linux kernel works 
>> fine and can mount root file system via NFS so I pretty sure something 
>> is wrong in my U-Boot port.
>>
>> Anybody experienced similar problems?
>>
>>
>> TIA,
>> llandre
>>
>> DAVE Electronics System House - R&D Department
>> web:   http://www.dave.eu
>> email: r&d2 at dave-tech.it
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> U-Boot-Users mailing list
>> U-Boot-Users at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>>
> 
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-20 15:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05  7:14 [U-Boot-Users] LL_TEMAC on Avnet MiniModule-FX12 llandre
2008-06-06  7:06 ` Michal Simek
2008-06-20 15:15   ` llandre
     [not found] ` <ADA5878BA63680469C75C14CEEE2FE28014FE336@mail.serveron.com>
2008-06-06  7:22   ` llandre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox