[U-Boot-Users] RE: [PATCH] probe for smc91111.c before chip init.

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

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.

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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

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
participants (4)
-
Victor Wren
-
Wolfgang Denk
-
Wolfgang Grandegger
-
Woodruff, Richard