No subject
Tue Aug 19 22:18:26 CEST 2008
ethernet dirver.
If I do a ping, all netRxPackets are inited to proper
values, and everything works fine.
Thanks
Dave.
--- Wolfgang Denk <wd at denx.de> wrote:
> Dear Dave,
>
> in message
> <20040412213638.57633.qmail at web21412.mail.yahoo.com>
> you wrote:
> >
> > I have 8260 based board and am using u-boot for
> that.
> > I boot kernel from the flash. All works fine
> however
> > sometimes Linux Kernel does not boot after
> > uncompressing, further investigation found that as
> the
> > kernel entry point is address 0, and that is also
> > address of netRxPackets, if a packet is received
> after
>
> You are wrong here. NetRxPackets[] is definitely
> NOT located at
> address 0.
>
> > the kernel is unzipped by u-boot, ethernet driver
> > corrupts data at address 0 thinking it as its
> buffer
> > pointer. Hence kernel does not boot up in that
> case.
>
> No, no, no.
>
> > My first question is that why we dont initialize
> > netRxPackets in net.c?? (these are only
> initialized
> > once a network related operation (like ping) is
> done).
>
> U-Boot uses the network only when a network related
> operation is in
> progress, so why should we waste memory for buffers
> when they are not
> needed?
>
> > Is this the corect behaviour?? has anyone
> observed
> > this problem??
>
> This is correct behaviour. It works perfectly find
> on all boards I
> was able to test.
>
> You are on the wrong track.
>
> 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
> You got to learn three things. What's real, what's
> not real, and
> what's the difference." - Terry Pratchett,
> _Witches Abroad_
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux
> Tutorials
> Free Linux tutorial presented by Daniel Robbins,
> President and CEO of
> GenToo technologies. Learn everything from
> fundamentals to system
>
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/u-boot-users
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
More information about the U-Boot
mailing list