public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] fix the ARM memory layout
@ 2003-11-12 17:23 Anders Larsen
  2003-11-12 19:52 ` Kyle Harris
  2003-12-07  0:17 ` Wolfgang Denk
  0 siblings, 2 replies; 23+ messages in thread
From: Anders Larsen @ 2003-11-12 17:23 UTC (permalink / raw)
  To: u-boot

Hi,

here's a fresh version of my rather intrusive patch from the 17.th sept.
to rearrange the ARM memory layout to bring it in line with the README.

This has the positive side-effect of actually allow U-Boot to run on
PXA- and IXP-based targets; the current implementation sets up the heap
using bogus addresses causing u-boot to crash (this even applies to the
recently added board "ixdp425").

This patch doesn't go all the way, though, since doing away with the
board-specific setting of TEXT_BASE would require the code to be
position-independent, which at least the cpu initialization code in
cpu/*/start.S is _not_.

CHANGELOG:
   Bring the ARM memory layout in line with the documentation.

Cheers
 Anders

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.arm-memory.patch.gz
Type: application/x-gzip
Size: 9520 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20031112/c4b90e69/attachment.bin 

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-11-12 17:23 [U-Boot-Users] [PATCH] fix the ARM memory layout Anders Larsen
@ 2003-11-12 19:52 ` Kyle Harris
  2003-11-13  9:14   ` Anders Larsen
  2003-12-07  0:17 ` Wolfgang Denk
  1 sibling, 1 reply; 23+ messages in thread
From: Kyle Harris @ 2003-11-12 19:52 UTC (permalink / raw)
  To: u-boot

On Wednesday 12 November 2003 12:23 pm, Anders Larsen wrote:

> Hi,
>
> here's a fresh version of my rather intrusive patch from the 17.th sept.
> to rearrange the ARM memory layout to bring it in line with the README.
>
> This has the positive side-effect of actually allow U-Boot to run on
> PXA- and IXP-based targets; the current implementation sets up the heap
> using bogus addresses causing u-boot to crash (this even applies to the
> recently added board "ixdp425").

I don't disagree that memory layout for ARM is broken. But, I've never seen a 
crash on any of my Xscale boards, including a couple of new ones based on 
ixdp425 and cradle. 

Kyle.

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-11-12 19:52 ` Kyle Harris
@ 2003-11-13  9:14   ` Anders Larsen
  2003-11-13 14:19     ` Kyle Harris
  0 siblings, 1 reply; 23+ messages in thread
From: Anders Larsen @ 2003-11-13  9:14 UTC (permalink / raw)
  To: u-boot

Kyle Harris <kharris@nexus-tech.net> schreibt:
>
>On Wednesday 12 November 2003 12:23 pm, Anders Larsen wrote:
>
>> This has the positive side-effect of actually allow U-Boot to run on
>> PXA- and IXP-based targets; the current implementation sets up the heap
>> using bogus addresses causing u-boot to crash (this even applies to the
>> recently added board "ixdp425").
>
>I don't disagree that memory layout for ARM is broken. But, I've never
>seen a 
>crash on any of my Xscale boards, including a couple of new ones based on 
>ixdp425 and cradle. 

Hi Kyle,

Do you by any chance happen to have RAM at and around address
0x0badc0de ? Otherwise I don't see how PXA/IXP could possible work,
for the reasons Richard already gave.
(see also http://www.catb.org/~esr/jargon/html/S/schroedinbug.html ;-)

(BTW, I recognize you've contributed significantly to the PXA
implementation I'm relying on and I'd like to thank you for that).

Cheers
 Anders

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-11-13  9:14   ` Anders Larsen
@ 2003-11-13 14:19     ` Kyle Harris
  2003-11-21  3:52       ` Kyle Harris
  0 siblings, 1 reply; 23+ messages in thread
From: Kyle Harris @ 2003-11-13 14:19 UTC (permalink / raw)
  To: u-boot

Hi All,

On Thursday 13 November 2003 04:14 am, Anders Larsen wrote:

> Kyle Harris <kharris@nexus-tech.net> schreibt:
> >On Wednesday 12 November 2003 12:23 pm, Anders Larsen wrote:
> >> This has the positive side-effect of actually allow U-Boot to run on
> >> PXA- and IXP-based targets; the current implementation sets up the heap
> >> using bogus addresses causing u-boot to crash (this even applies to the
> >> recently added board "ixdp425").
> >
> >I don't disagree that memory layout for ARM is broken. But, I've never
> >seen a
> >crash on any of my Xscale boards, including a couple of new ones based on
> >ixdp425 and cradle.
>
> Hi Kyle,
>
> Do you by any chance happen to have RAM at and around address
> 0x0badc0de ? Otherwise I don't see how PXA/IXP could possible work,
> for the reasons Richard already gave.
> (see also http://www.catb.org/~esr/jargon/html/S/schroedinbug.html ;-)

Yeh, I don't doubt there is a problem. I guess I need to take a closer look 
and see why it works. But finding the time to work on something that actually 
already works is difficult...(got plenty of stuff that doesn't work to keep 
me busy).

> (BTW, I recognize you've contributed significantly to the PXA
> implementation I'm relying on and I'd like to thank you for that).

You're welcome. But all I did was put the framework in place so that you and 
Richard and others can make it work correctly ;)

Kyle.

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-11-13 14:19     ` Kyle Harris
@ 2003-11-21  3:52       ` Kyle Harris
  2003-11-21  7:47         ` Anders Larsen
  0 siblings, 1 reply; 23+ messages in thread
From: Kyle Harris @ 2003-11-21  3:52 UTC (permalink / raw)
  To: u-boot

On Thursday 13 November 2003 09:19 am, Kyle Harris wrote:

> > Do you by any chance happen to have RAM at and around address
> > 0x0badc0de ? Otherwise I don't see how PXA/IXP could possible work,
> > for the reasons Richard already gave.
> > (see also http://www.catb.org/~esr/jargon/html/S/schroedinbug.html ;-)
>
> Yeh, I don't doubt there is a problem. I guess I need to take a closer look
> and see why it works. 

I think the mystery is solved. I just updated my latest pxa to 1.0.0. It was 
based on 0.2.3 and the ixp port was based on 0.4.0. Early versions of the 
code, while not perfect, did run. Definitely a problem with the later stuff 
without proper patches (thanks for the patches).

Kyle.

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-11-21  3:52       ` Kyle Harris
@ 2003-11-21  7:47         ` Anders Larsen
  2003-11-21  8:13           ` Wolfgang Denk
  0 siblings, 1 reply; 23+ messages in thread
From: Anders Larsen @ 2003-11-21  7:47 UTC (permalink / raw)
  To: u-boot

Kyle Harris <kharris@nexus-tech.net> schreibt:
>
>On Thursday 13 November 2003 09:19 am, Kyle Harris wrote:
>
>> > Do you by any chance happen to have RAM at and around address
>> > 0x0badc0de ? Otherwise I don't see how PXA/IXP could possible work,
>> > for the reasons Richard already gave.
>> > (see also http://www.catb.org/~esr/jargon/html/S/schroedinbug.html ;-)
>>
>> Yeh, I don't doubt there is a problem. I guess I need to take a closer
>look
>> and see why it works. 
>
>I think the mystery is solved. I just updated my latest pxa to 1.0.0. It
>was 
>based on 0.2.3 and the ixp port was based on 0.4.0. Early versions of the 
>code, while not perfect, did run. Definitely a problem with the later
>stuff 
>without proper patches (thanks for the patches).

Hi Wolfgang,

what's needed to make the patch worthy of inclusion?
I know the patch doesn't go all the way you want, but IMHO we need
several steps for that in order not to wreak too much havoc.

Cheers
 Anders

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-11-21  7:47         ` Anders Larsen
@ 2003-11-21  8:13           ` Wolfgang Denk
  0 siblings, 0 replies; 23+ messages in thread
From: Wolfgang Denk @ 2003-11-21  8:13 UTC (permalink / raw)
  To: u-boot

Dear Anders,

in message <fc.004c4e48001ea0e0004c4e48001e6497.1ea0ee@rea.de> you wrote:
> 
> what's needed to make the patch worthy of inclusion?

More time :-(

> I know the patch doesn't go all the way you want, but IMHO we need
> several steps for that in order not to wreak too much havoc.

You are right, and I am perfectly willing to add  this,  but  at  the
moment  I'm caught in some other activities. I hope to find some more
time for U-Boot next week.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Just go with the flow control, roll with the crunches, and, when  you
get a prompt, type like hell.

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-11-12 17:23 [U-Boot-Users] [PATCH] fix the ARM memory layout Anders Larsen
  2003-11-12 19:52 ` Kyle Harris
@ 2003-12-07  0:17 ` Wolfgang Denk
  2003-12-07 17:03   ` Anders Larsen
  2004-01-09 11:14   ` Anders Larsen
  1 sibling, 2 replies; 23+ messages in thread
From: Wolfgang Denk @ 2003-12-07  0:17 UTC (permalink / raw)
  To: u-boot

In message <fc.004c4e48001e6497004c4e48001e6497.1e64ae@rea.de> you wrote:
> 
> here's a fresh version of my rather intrusive patch from the 17.th sept.
> to rearrange the ARM memory layout to bring it in line with the README.

Sorry, I'm working through my backlog sequentuially,  and  I  already
added  the  other  patch.  Can  you please check your current version
against current top-of-tree in CVS and provide a new diff?

Thanks.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"'Tis true, 'tis pity, and pity 'tis 'tis true."
    - Poloniouius, in Willie the Shake's _Hamlet, Prince of Darkness_

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-12-07  0:17 ` Wolfgang Denk
@ 2003-12-07 17:03   ` Anders Larsen
  2004-01-09 11:14   ` Anders Larsen
  1 sibling, 0 replies; 23+ messages in thread
From: Anders Larsen @ 2003-12-07 17:03 UTC (permalink / raw)
  To: u-boot

On Sun, 07 Dec 2003 01:17:08 +0100 Wolfgang Denk <wd@denx.de> wrote:

> In message <fc.004c4e48001e6497004c4e48001e6497.1e64ae@rea.de> you wrote:
> > 
> > here's a fresh version of my rather intrusive patch from the 17.th sept.
> > to rearrange the ARM memory layout to bring it in line with the README.
> 
> Sorry, I'm working through my backlog sequentuially,  and  I  already
> added  the  other  patch.  Can  you please check your current version
> against current top-of-tree in CVS and provide a new diff?

Hi Wolfgang,

sure, only I can't say when I'll be able to do it, since
cvs.sourceforge.net is currently rejecting connections  :-(

Cheers
 Anders

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2003-12-07  0:17 ` Wolfgang Denk
  2003-12-07 17:03   ` Anders Larsen
@ 2004-01-09 11:14   ` Anders Larsen
  2004-02-08 19:36     ` Wolfgang Denk
  1 sibling, 1 reply; 23+ messages in thread
From: Anders Larsen @ 2004-01-09 11:14 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk <wd@denx.de> schreibt:
>In message <fc.004c4e48001e6497004c4e48001e6497.1e64ae@rea.de> you wrote:
>> 
>> here's a fresh version of my rather intrusive patch from the 17.th sept.
>> to rearrange the ARM memory layout to bring it in line with the README.
>
>Sorry, I'm working through my backlog sequentuially,  and  I  already
>added  the  other  patch.  Can  you please check your current version
>against current top-of-tree in CVS and provide a new diff?

Hi Wolfgang,

the attached patch (against CVS 2004-01-08) fixes the rest of the ARM
stuff I had in the pipe.

In particular, the abort-stack is now set up in the correct RAM area
(which I had neglected in my previous patches), and the BSS is zeroed
out as it should be (which most previous ARM implementations had
neglected).

Furthermore, the magic variables 'armboot_end' and 'armboot_end_data'
of the linker scripts are replaced by '__bss_start' and '_end', resp.,
which is a further step to eliminate unnecessary differences between
the implementation of the CPU architectures.

Compilation tested with MAKEALL arm, functionality only tested on my
PXA-based board.

CHANGELOG:
   Fix the ARM memory layout.

Cheers
 Anders

(Patch gzipped due to size constraints on the list)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-cvs.arm-memory.patch.gz
Type: application/x-gzip
Size: 6958 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040109/5349a577/attachment.bin 

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

* [U-Boot-Users] [PATCH] fix the ARM memory layout
  2004-01-09 11:14   ` Anders Larsen
@ 2004-02-08 19:36     ` Wolfgang Denk
  0 siblings, 0 replies; 23+ messages in thread
From: Wolfgang Denk @ 2004-02-08 19:36 UTC (permalink / raw)
  To: u-boot

Dear Anders,

in message <fc.004c4e48001fbb1a3b9aca00884cdb6e.1fbb43@rea.de> you wrote:
> 
> the attached patch (against CVS 2004-01-08) fixes the rest of the ARM
> stuff I had in the pipe.

Thanks a lot, added.

> Compilation tested with MAKEALL arm, functionality only tested on my
> PXA-based board.

I tested it on the SMDK2400 and TRAB boards with several memory  con-
figurations. Workes fine. Thanks a lot!!

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
In theory, there is no difference between  theory  and  practice.  In
practice, however, there is.

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

* [U-Boot-Users] PCI, Ethernet, IXDP425
@ 2005-01-11  9:28 Ara Avanesyan
  2005-01-11 22:40 ` Wolfgang Denk
  0 siblings, 1 reply; 23+ messages in thread
From: Ara Avanesyan @ 2005-01-11  9:28 UTC (permalink / raw)
  To: u-boot

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

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

* [U-Boot-Users] PCI, Ethernet, IXDP425
  2005-01-11  9:28 [U-Boot-Users] PCI, Ethernet, IXDP425 Ara Avanesyan
@ 2005-01-11 22:40 ` Wolfgang Denk
  2005-01-12  6:18   ` [U-Boot-Users] " Ara Avanesyan
  0 siblings, 1 reply; 23+ messages in thread
From: Wolfgang Denk @ 2005-01-11 22:40 UTC (permalink / raw)
  To: u-boot

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.

> 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

-- 
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

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-11 22:40 ` Wolfgang Denk
@ 2005-01-12  6:18   ` Ara Avanesyan
  2005-01-12  6:41     ` Rodel Miguel
  2005-01-12  9:01     ` Wolfgang Denk
  0 siblings, 2 replies; 23+ messages in thread
From: Ara Avanesyan @ 2005-01-12  6:18 UTC (permalink / raw)
  To: u-boot

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" <wd@denx.de>
To: "Ara Avanesyan" <araav@hylink.am>
Cc: <u-boot-users@lists.sourceforge.net>
Sent: Wednesday, January 12, 2005 2:40 AM
Subject: Re: [U-Boot-Users] PCI, Ethernet, IXDP425


> 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.
>
>> 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
>
> -- 
> 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
> 

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12  6:18   ` [U-Boot-Users] " Ara Avanesyan
@ 2005-01-12  6:41     ` Rodel Miguel
  2005-01-12  7:41       ` Ara Avanesyan
  2005-01-12  8:08       ` Ing.Gianfranco Morandi
  2005-01-12  9:01     ` Wolfgang Denk
  1 sibling, 2 replies; 23+ messages in thread
From: Rodel Miguel @ 2005-01-12  6:41 UTC (permalink / raw)
  To: u-boot

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.

On Wed, 12 Jan 2005 10:18:28 +0400, Ara Avanesyan <araav@hylink.am> wrote:
> 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" <wd@denx.de>
> To: "Ara Avanesyan" <araav@hylink.am>
> Cc: <u-boot-users@lists.sourceforge.net>
> Sent: Wednesday, January 12, 2005 2:40 AM
> Subject: Re: [U-Boot-Users] PCI, Ethernet, IXDP425
> 
> > 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.
> >
> >> 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
> >
> > --
> > 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
>

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12  6:41     ` Rodel Miguel
@ 2005-01-12  7:41       ` Ara Avanesyan
  2005-01-12  8:08       ` Ing.Gianfranco Morandi
  1 sibling, 0 replies; 23+ messages in thread
From: Ara Avanesyan @ 2005-01-12  7:41 UTC (permalink / raw)
  To: u-boot

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" <rodelfmiguel@gmail.com>
To: "Ara Avanesyan" <araav@hylink.am>
Cc: "Wolfgang Denk" <wd@denx.de>; <u-boot-users@lists.sourceforge.net>
Sent: Wednesday, January 12, 2005 10:41 AM
Subject: Re: [U-Boot-Users] Re: PCI, Ethernet, IXDP425


> 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.
>
> On Wed, 12 Jan 2005 10:18:28 +0400, Ara Avanesyan <araav@hylink.am> wrote:
>> 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" <wd@denx.de>
>> To: "Ara Avanesyan" <araav@hylink.am>
>> Cc: <u-boot-users@lists.sourceforge.net>
>> Sent: Wednesday, January 12, 2005 2:40 AM
>> Subject: Re: [U-Boot-Users] PCI, Ethernet, IXDP425
>>
>> > 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.
>> >
>> >> 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
>> >
>> > --
>> > 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
>>
> 

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12  6:41     ` Rodel Miguel
  2005-01-12  7:41       ` Ara Avanesyan
@ 2005-01-12  8:08       ` Ing.Gianfranco Morandi
  1 sibling, 0 replies; 23+ messages in thread
From: Ing.Gianfranco Morandi @ 2005-01-12  8:08 UTC (permalink / raw)
  To: u-boot

> 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

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12  6:18   ` [U-Boot-Users] " Ara Avanesyan
  2005-01-12  6:41     ` Rodel Miguel
@ 2005-01-12  9:01     ` Wolfgang Denk
  2005-01-12  9:32       ` Ara Avanesyan
  1 sibling, 1 reply; 23+ messages in thread
From: Wolfgang Denk @ 2005-01-12  9:01 UTC (permalink / raw)
  To: u-boot

In message <001001c4f86e$882391e0$1000000a@araav> you wrote:
> Thanks for so helpful and informative reply.

You are welcome.

> 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

-- 
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

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12  9:01     ` Wolfgang Denk
@ 2005-01-12  9:32       ` Ara Avanesyan
  2005-01-12 10:13         ` Anders Larsen
  2005-01-12 14:16         ` Wolfgang Denk
  0 siblings, 2 replies; 23+ messages in thread
From: Ara Avanesyan @ 2005-01-12  9:32 UTC (permalink / raw)
  To: u-boot

>
> 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
> 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

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12  9:32       ` Ara Avanesyan
@ 2005-01-12 10:13         ` Anders Larsen
  2005-01-12 14:16           ` Wolfgang Denk
  2005-01-12 14:16         ` Wolfgang Denk
  1 sibling, 1 reply; 23+ messages in thread
From: Anders Larsen @ 2005-01-12 10:13 UTC (permalink / raw)
  To: u-boot

"Ara Avanesyan" <araav@hylink.am> schreibt:
>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.

>> I have a PCI Ethernet card on the board. I need to connect to the
>network
>> 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)
>
>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

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12  9:32       ` Ara Avanesyan
  2005-01-12 10:13         ` Anders Larsen
@ 2005-01-12 14:16         ` Wolfgang Denk
  2005-01-12 15:07           ` Ara Avanesyan
  1 sibling, 1 reply; 23+ messages in thread
From: Wolfgang Denk @ 2005-01-12 14:16 UTC (permalink / raw)
  To: u-boot

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:



> > 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

-- 
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_

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12 10:13         ` Anders Larsen
@ 2005-01-12 14:16           ` Wolfgang Denk
  0 siblings, 0 replies; 23+ messages in thread
From: Wolfgang Denk @ 2005-01-12 14:16 UTC (permalink / raw)
  To: u-boot

In message <fc.004c4e48002d477a3b9aca00d3c0d25e.2d478e@rea.de> 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

-- 
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.

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

* [U-Boot-Users] Re: PCI, Ethernet, IXDP425
  2005-01-12 14:16         ` Wolfgang Denk
@ 2005-01-12 15:07           ` Ara Avanesyan
  0 siblings, 0 replies; 23+ messages in thread
From: Ara Avanesyan @ 2005-01-12 15:07 UTC (permalink / raw)
  To: u-boot

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

> 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:
>
>
>
>> > 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
>
> -- 
> 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_
> 

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

end of thread, other threads:[~2005-01-12 15:07 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-11  9:28 [U-Boot-Users] PCI, Ethernet, IXDP425 Ara Avanesyan
2005-01-11 22:40 ` Wolfgang Denk
2005-01-12  6:18   ` [U-Boot-Users] " Ara Avanesyan
2005-01-12  6:41     ` Rodel Miguel
2005-01-12  7:41       ` Ara Avanesyan
2005-01-12  8:08       ` Ing.Gianfranco Morandi
2005-01-12  9:01     ` Wolfgang Denk
2005-01-12  9:32       ` Ara Avanesyan
2005-01-12 10:13         ` Anders Larsen
2005-01-12 14:16           ` Wolfgang Denk
2005-01-12 14:16         ` Wolfgang Denk
2005-01-12 15:07           ` Ara Avanesyan
  -- strict thread matches above, loose matches on Subject: below --
2003-11-12 17:23 [U-Boot-Users] [PATCH] fix the ARM memory layout Anders Larsen
2003-11-12 19:52 ` Kyle Harris
2003-11-13  9:14   ` Anders Larsen
2003-11-13 14:19     ` Kyle Harris
2003-11-21  3:52       ` Kyle Harris
2003-11-21  7:47         ` Anders Larsen
2003-11-21  8:13           ` Wolfgang Denk
2003-12-07  0:17 ` Wolfgang Denk
2003-12-07 17:03   ` Anders Larsen
2004-01-09 11:14   ` Anders Larsen
2004-02-08 19:36     ` Wolfgang Denk

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