Skip to contentSkip to conversation

PCI, Ethernet, IXDP425

U-Boot-Users Ara Avanesyan 5 participants 12 messages Jan 11, 2005 – Jan 12, 2005

lore
Share & tools
lore
#0 lore raw

Hi all,

I've just got my ixdp425 evaluation board and tried u-boot on it.

I have a PCI Ethernet card on the board. I need to connect to the network from u-boot via this device.

Are there any ways to do so? What I will have to do to enable this support? Or at least are there ANY PCI Ethernet drivers in u-boot?

Thanks for your help,
Ara

#1 lore raw
Quoted 3 lines · In message <002d01c4f7bf$e180b7e0$1000000a@araav> you wrote:

I have a PCI Ethernet card on the board. I need to connect to the network from u-boot via this device.

Just do it.

Quoted 2 lines

Are there any ways to do so? What I will have to do to enable this support? Or at least are there ANY PCI Ethernet drivers in u-boot?

How about checking the code before posting?

Yes, there are.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson
#2 lore raw

Thanks for so helpful and informative reply.

configs/ixdp425.h, line 59:
#define CONFIG_COMMANDS (CONFIG_CMD_DFL & ~CFG_CMD_NET)

So how about checking the code before posting?;-)

Thanks,
Ara

----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "Ara Avanesyan" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 12, 2005 2:40 AM
Subject: Re: [U-Boot-Users] PCI, Ethernet, IXDP425

Quoted 25 lines
Quoted 3 lines · In message <002d01c4f7bf$e180b7e0$1000000a@araav> you wrote:

I have a PCI Ethernet card on the board. I need to connect to the network from u-boot via this device.

Just do it.

Quoted 3 lines

Are there any ways to do so? What I will have to do to enable this support?
Or at least are there ANY PCI Ethernet drivers in u-boot?

How about checking the code before posting?

Yes, there are.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson
#3 lore raw

Ara,

If you see the driver for your PCI Ethernet card on the drivers directory, then you'll be fine. However, you may need to write your own driver if it does not exist. So check on the drivers directory first and then, if it exists, write the appropriate CFG parameter on the configs/ixdp425.h file. try removing the ~CFG_CMD_NET, and other parameters that the driver might require.

Regards,
Rodel

P.S. Anyone working on ethernet MAC's with MII-only interfaces??? I'm actually lost... Please help.

Quoted 52 lines · Ara Avanesyan

Thanks for so helpful and informative reply.

configs/ixdp425.h, line 59:
#define CONFIG_COMMANDS (CONFIG_CMD_DFL & ~CFG_CMD_NET)

So how about checking the code before posting?;-)

Thanks,
Ara

----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "Ara Avanesyan" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 12, 2005 2:40 AM
Subject: Re: [U-Boot-Users] PCI, Ethernet, IXDP425

Quoted 17 lines
Quoted 3 lines · In message <002d01c4f7bf$e180b7e0$1000000a@araav> you wrote:

I have a PCI Ethernet card on the board. I need to connect to the network from u-boot via this device.

Just do it.

Quoted 3 lines

Are there any ways to do so? What I will have to do to enable this support?
Or at least are there ANY PCI Ethernet drivers in u-boot?

How about checking the code before posting?

Yes, there are.

Best regards,

Quoted 8 lines

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#4 lore raw

Thanks Rodel,

I think we'll switch to one supported by u-boot right now, as poritng will take a long time.
Ok, I'm going to play with u-boot's net paramters.

Thanks,
Ara

----- Original Message -----
From: "Rodel Miguel" <[email protected]>
To: "Ara Avanesyan" <[email protected]>
Cc: "Wolfgang Denk" <[email protected]>; <[email protected]>
Sent: Wednesday, January 12, 2005 10:41 AM
Subject: Re: [U-Boot-Users] Re: PCI, Ethernet, IXDP425

Quoted 70 lines

Ara,

If you see the driver for your PCI Ethernet card on the drivers directory, then you'll be fine. However, you may need to write your own driver if it does not exist. So check on the drivers directory first and then, if it exists, write the appropriate CFG parameter on the configs/ixdp425.h file. try removing the ~CFG_CMD_NET, and other parameters that the driver might require.

Regards,
Rodel

P.S. Anyone working on ethernet MAC's with MII-only interfaces??? I'm actually lost... Please help.

Quoted 53 lines · Ara Avanesyan

Thanks for so helpful and informative reply.

configs/ixdp425.h, line 59:
#define CONFIG_COMMANDS (CONFIG_CMD_DFL & ~CFG_CMD_NET)

So how about checking the code before posting?;-)

Thanks,
Ara

----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "Ara Avanesyan" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, January 12, 2005 2:40 AM
Subject: Re: [U-Boot-Users] PCI, Ethernet, IXDP425

Quoted 18 lines
Quoted 4 lines · In message <002d01c4f7bf$e180b7e0$1000000a@araav> you wrote:

I have a PCI Ethernet card on the board. I need to connect to the network
from u-boot via this device.

Just do it.

Quoted 3 lines

Are there any ways to do so? What I will have to do to enable this support?
Or at least are there ANY PCI Ethernet drivers in u-boot?

How about checking the code before posting?

Yes, there are.

Best regards,

Quoted 8 lines

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#5 lore raw
In reply to Rodel Miguel
Quoted 2 lines

P.S. Anyone working on ethernet MAC's with MII-only interfaces??? I'm actually lost... Please help.

I have tried to approach the ethernet driver development for IXP425 NPE, but unfortunately there are some problems with the Intel library and the APIs that are not well described.
The source code seems to be not completely available as well.

Actually we have stopped the driver development on u-boot by accepting only to use the NPE with linux (which still requires a big part of library to be resident to work properly), but we are ready to evaluate any possible cooperation to support this development.

regards

Gianfranco

#6 lore raw
In reply to Ara Avanesyan
Quoted 1 line · In message <001001c4f86e$882391e0$1000000a@araav> you wrote:

Thanks for so helpful and informative reply.

You are welcome.

Quoted 4 lines

configs/ixdp425.h, line 59:
#define CONFIG_COMMANDS (CONFIG_CMD_DFL & ~CFG_CMD_NET)

So how about checking the code before posting?;-)

So what? The "CONFIG_" part in this define is intended to indicate that this is a user configurable setting - one user does not need or want network support, another may want it.

What exactly are you complaining about? That you don't find the system pre-configured to your specifc wishes?

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Documentation is like sex: when it is good, it is  very,  very  good;
and when it is bad, it is better than nothing.         - Dick Brandon
#7 lore raw
Quoted 4 lines

What exactly are you complaining about? That you don't find the system pre-configured to your specifc wishes?

have i complained in my posts? although there is one: that the ixp port does not support pci support at all though you said "Just do it" to my

Quoted 2 lines

I have a PCI Ethernet card on the board. I need to connect to the network from u-boot via this device.

btw, if you don't know the answer to questions, just don't answer:) there are many other users in the list ;)

anyways, thanks,
Ara

#8 lore raw

"Ara Avanesyan" <[email protected]> schreibt:

Quoted 3 lines

have i complained in my posts? although there is one: that the ixp port does
not support pci support at all though you said "Just do it" to my

The ixdp425 port does not _include_ PCI support; that does not mean PCI is not supported.

Quoted 3 lines
Quoted 1 line

I have a PCI Ethernet card on the board. I need to connect to the

network

Quoted 1 line

from u-boot via this device.

You still haven't mentioned which one...
(BTW, there are truckloads of supported PCI Ethernet cards in U-Boot)

Quoted 3 lines

btw, if you don't know the answer to questions, just don't answer:) there are many other users in the list ;)

You obviously haven't done your homework (i.e. read the README), otherwise you would have known that Wolfgang is the project leader.

Cheers
Anders

#9 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

The ixdp425 port does not _include_ PCI support; that does not mean PCI is not supported.

It does. See my previous message.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Motto of the Electrical Engineer: Working computer hardware is a  lot
like an erect penis: it stays up as long as you don't fuck with it.
#10 lore raw
In reply to Ara Avanesyan
Quoted 3 lines · In message <004201c4f889$b1b825a0$1000000a@araav> you wrote:

have i complained in my posts? although there is one: that the ixp port does not support pci support at all though you said "Just do it" to my

You sounded a bit aggressive to me, and you are wrong again: The IXP port does support PCI:

Quoted 5 lines
Quoted 2 lines

I have a PCI Ethernet card on the board. I need to connect to the network from u-boot via this device.

btw, if you don't know the answer to questions, just don't answer:) there are many other users in the list ;)

Here you go again. You should not insult people who you ask for help. I know EXACTLY what I'm speaking of. See here:

---------------------
PatchSet 1138
Date: 2005/01/09 17:12:27
Author: wdenk
Branch: HEAD
Tag: (none)
Log:
* Patch by Jon Loeliger, 02 Sep 2004:
Reset monitor size back to 256 so environment can be written to flash on MPC85xx ADS and CDS releases.

* Patch by Paolo Broggini, 02 Sep 2004:
Make BSS clearing on ARM systems more robust

* Patch by Yue Hu and Joe, 01 Sep 2004:
===>>> - add PCI support for ixp425;
===>>> - add EEPRO100 suppor tfor ixdp425 board.

	* Fix problem with protected sector detection in driver/cfi_flash.c
	  
	Members: 
		CHANGELOG:1.406->1.407 
		board/ixdp425/ixdp425.c:1.3->1.4 
		board/xilinx/xilinx_iic/iic_adapter.c:1.2->1.3 
		cpu/arm720t/start.S:1.9->1.10 
		cpu/arm920t/start.S:1.9->1.10 
		cpu/arm925t/start.S:1.7->1.8 
		cpu/arm926ejs/start.S:1.8->1.9 
		cpu/at91rm9200/start.S:1.7->1.8 
		cpu/ixp/Makefile:1.1->1.2 
		cpu/ixp/cpu.c:1.2->1.3 
		cpu/ixp/pci.c:INITIAL->1.1 
		cpu/ixp/start.S:1.4->1.5 
		cpu/lh7a40x/start.S:1.1->1.2 
		cpu/pxa/start.S:1.6->1.7 
		cpu/sa1100/start.S:1.6->1.7 
		drivers/cfi_flash.c:1.15->1.16 
		drivers/pci.c:1.10->1.11 
		include/version.h:1.25->1.26 
		include/asm-arm/arch-ixp/ixp425pci.h:INITIAL->1.1 
		include/configs/MPC8540ADS.h:1.6->1.7 
		include/configs/MPC8541CDS.h:1.3->1.4 
		include/configs/MPC8555CDS.h:1.3->1.4 
		include/configs/MPC8560ADS.h:1.6->1.7 
		include/configs/ixdp425.h:1.3->1.4 
		lib_arm/board.c:1.30->1.31 
	---------------------

Seems it's you who has no clue.

I don't blame you for that - I cannot expect that you spend so much time with U-Boot like me, but then you should rather think twice what you write.

I cannot help you if you continue to ignore what I'm trying to tell you.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
They say a little knowledge is a dangerous thing,  but it is not  one
half so bad as a lot of ignorance.   - Terry Pratchett, _Equal Rites_
#11 lore raw

Sorry for being so rude. I shouldn't write like that, i just got somewhat uncomfortable when I asked a help for doing something and you said "just do it".

omg, the PCI support was added like three days ago, I'm now feeling so lucky.
(I spent all my day reinventing the wheel). I'm now going to try it out. I really hope it will work.

Hey, thanks!
Ara

Quoted 89 lines
Quoted 4 lines · In message <004201c4f889$b1b825a0$1000000a@araav> you wrote:

have i complained in my posts? although there is one: that the ixp port does
not support pci support at all though you said "Just do it" to my

You sounded a bit aggressive to me, and you are wrong again: The IXP port does support PCI:

Quoted 6 lines
Quoted 3 lines

I have a PCI Ethernet card on the board. I need to connect to the network
from u-boot via this device.

btw, if you don't know the answer to questions, just don't answer:) there are many other users in the list ;)

Here you go again. You should not insult people who you ask for help. I know EXACTLY what I'm speaking of. See here:

---------------------
PatchSet 1138
Date: 2005/01/09 17:12:27
Author: wdenk
Branch: HEAD
Tag: (none)
Log:
* Patch by Jon Loeliger, 02 Sep 2004:
Reset monitor size back to 256 so environment can be written to flash on MPC85xx ADS and CDS releases.

* Patch by Paolo Broggini, 02 Sep 2004:
Make BSS clearing on ARM systems more robust

* Patch by Yue Hu and Joe, 01 Sep 2004:
===>>> - add PCI support for ixp425;
===>>> - add EEPRO100 suppor tfor ixdp425 board.

* Fix problem with protected sector detection in driver/cfi_flash.c

Members:
CHANGELOG:1.406->1.407
board/ixdp425/ixdp425.c:1.3->1.4
board/xilinx/xilinx_iic/iic_adapter.c:1.2->1.3
cpu/arm720t/start.S:1.9->1.10
cpu/arm920t/start.S:1.9->1.10
cpu/arm925t/start.S:1.7->1.8
cpu/arm926ejs/start.S:1.8->1.9
cpu/at91rm9200/start.S:1.7->1.8
cpu/ixp/Makefile:1.1->1.2
cpu/ixp/cpu.c:1.2->1.3
cpu/ixp/pci.c:INITIAL->1.1
cpu/ixp/start.S:1.4->1.5
cpu/lh7a40x/start.S:1.1->1.2
cpu/pxa/start.S:1.6->1.7
cpu/sa1100/start.S:1.6->1.7
drivers/cfi_flash.c:1.15->1.16
drivers/pci.c:1.10->1.11
include/version.h:1.25->1.26
include/asm-arm/arch-ixp/ixp425pci.h:INITIAL->1.1
include/configs/MPC8540ADS.h:1.6->1.7
include/configs/MPC8541CDS.h:1.3->1.4
include/configs/MPC8555CDS.h:1.3->1.4
include/configs/MPC8560ADS.h:1.6->1.7
include/configs/ixdp425.h:1.3->1.4
lib_arm/board.c:1.30->1.31
---------------------

Seems it's you who has no clue.

I don't blame you for that - I cannot expect that you spend so much time with U-Boot like me, but then you should rather think twice what you write.

I cannot help you if you continue to ignore what I'm trying to tell you.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
They say a little knowledge is a dangerous thing,  but it is not  one
half so bad as a lot of ignorance.   - Terry Pratchett, _Equal Rites_