* [U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init.
@ 2003-12-01 19:24 Woodruff, Richard
2003-12-01 21:34 ` [U-Boot-Users] Re:ELDK + MPC5200 Victor Wren
2003-12-07 19:41 ` [U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init Wolfgang Denk
0 siblings, 2 replies; 4+ messages in thread
From: Woodruff, Richard @ 2003-12-01 19:24 UTC (permalink / raw)
To: u-boot
Seems I did the order wrong in the diff. Here is the corrected version.
Sorry/Regards,
Richard W.
-----Original Message-----
From: Woodruff, Richard
Sent: Monday, December 01, 2003 12:07 PM
To: u-boot-users at lists.sourceforge.net
Subject: [PATCH] probe for smc91111.c before chip init.
Hello,
This patch adds:
- a probe to verify the existence of the 91c111 chip prior to attempting to
init registers. This allows the code to live in systems where the chip is
not present or disabled. Prior to this a "tftp" or "dhcp" would hang if
attempted when the chip was not there, now it just returns immediately. The
system I use has a plug in ether debug board, so this probe is useful and
allows having a single image around.
- a mac address set function outside of smc_open. This proves useful when
boot happens with out the chip being touched but the kernel wants etherent.
The current Linux kernel drivers assume the MAC address is good so having it
set here saves messing around with the kernel driver.
- all signed characters are now unsigned. A previous patch was issued with
out changing all references. This gets them all.
Regards,
Richard W.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smc_probe.diff
Type: application/octet-stream
Size: 4340 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20031201/a2ea728f/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smc_probe.changelog
Type: application/octet-stream
Size: 192 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20031201/a2ea728f/attachment-0001.obj
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Re:ELDK + MPC5200
2003-12-01 19:24 [U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init Woodruff, Richard
@ 2003-12-01 21:34 ` Victor Wren
2003-12-02 8:30 ` Wolfgang Grandegger
2003-12-07 19:41 ` [U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init Wolfgang Denk
1 sibling, 1 reply; 4+ messages in thread
From: Victor Wren @ 2003-12-01 21:34 UTC (permalink / raw)
To: u-boot
Sorry if this is a dumb newbie question. I'm trying to compile the 2.4.4
kernel that came with ELDK under RH9 using "ppc_82xx-make uImage". It gets
up to drivers/char/flash.c and dies at the "bd_t bd* =(bd_t *)__res"
declaration, with an "bd_t undeclared" error.
I went looking for where bd_t is declared, and while some of the header files
do declare bd_t, it doesn't seem to be any of the ones in linux/ or asm/ that
are included by flash.c (or chained by header files that are included).
My u-boot files are not in the same directory tree as ELDK. Could that cause
a problem? ELDK directories are in my path, and
$CROSS_COMPILE=ppc_82xx-
I notice there doesn't seem to be a default config in the linux tree for the
IceCube. Are there any special linux config options to be aware of?
Thanks,
Victor Wren
Victor Wren
Designer,
Timension Inc.
1350 C Pear Ave
Mountain View CA 94043
(650) 564-9397
Fax: (650) 564-9398
Opinions stated in this letter are not necessarily
those of Timension Inc. or the management. All
Rights Reserved. No spitting.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot-Users] Re:ELDK + MPC5200
2003-12-01 21:34 ` [U-Boot-Users] Re:ELDK + MPC5200 Victor Wren
@ 2003-12-02 8:30 ` Wolfgang Grandegger
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Grandegger @ 2003-12-02 8:30 UTC (permalink / raw)
To: u-boot
Hello,
the 2.4.4 kernel is rather old tree and it does not include
support for MPC5200. Check http://www.denx.de on how to
get an appropriate kernel tree. Therein you will also find
icecube_5200_defconfig. The problems you reported are very
likely due to invalid kernel configuration.
Hope it helps.
Wolfgang.
>-- Original Message --
>From: "Victor Wren" <vwren@timension.com>
>To: u-boot-users at lists.sourceforge.net
>Subject: [U-Boot-Users] Re:ELDK + MPC5200
>Date: Mon, 01 Dec 2003 13:34:52 -0800
>
>
>Sorry if this is a dumb newbie question. I'm trying to compile the 2.4.4
>
>kernel that came with ELDK under RH9 using "ppc_82xx-make uImage". It gets
>
>up to drivers/char/flash.c and dies at the "bd_t bd* =(bd_t *)__res"
>declaration, with an "bd_t undeclared" error.
>
>I went looking for where bd_t is declared, and while some of the header
files
>
>do declare bd_t, it doesn't seem to be any of the ones in linux/ or asm/
>that
>are included by flash.c (or chained by header files that are included).
>
>My u-boot files are not in the same directory tree as ELDK. Could that
cause
>
>a problem? ELDK directories are in my path, and
>$CROSS_COMPILE=ppc_82xx-
>
>I notice there doesn't seem to be a default config in the linux tree for
>the
>IceCube. Are there any special linux config options to be aware of?
>
>Thanks,
>Victor Wren
>
>
>Victor Wren
>Designer,
>Timension Inc.
>1350 C Pear Ave
>Mountain View CA 94043
>(650) 564-9397
>Fax: (650) 564-9398
>Opinions stated in this letter are not necessarily
>those of Timension Inc. or the management. All
>Rights Reserved. No spitting.
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: SF.net Giveback Program.
>Does SourceForge.net help you be more productive? Does it
>help you create better code? SHARE THE LOVE, and help us help
>YOU! Click Here: http://sourceforge.net/donate/
>_______________________________________________
>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] RE: [PATCH] probe for smc91111.c before chip init.
2003-12-01 19:24 [U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init Woodruff, Richard
2003-12-01 21:34 ` [U-Boot-Users] Re:ELDK + MPC5200 Victor Wren
@ 2003-12-07 19:41 ` Wolfgang Denk
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2003-12-07 19:41 UTC (permalink / raw)
To: u-boot
In message <71555548814716479478431542AA5F8A059043@dlee2k04.ent.ti.com> you wrote:
>
> Seems I did the order wrong in the diff. Here is the corrected version.
Does not work either. It conflicts with the current version of the
source in CVS. Can you please check, and resubmit?
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 Say No." - Nancy Reagan
"No." - Ronald Reagan
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-12-07 19:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-01 19:24 [U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init Woodruff, Richard
2003-12-01 21:34 ` [U-Boot-Users] Re:ELDK + MPC5200 Victor Wren
2003-12-02 8:30 ` Wolfgang Grandegger
2003-12-07 19:41 ` [U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.