[U-Boot-Users] [Patch][CVS]Updating for RPXlite DW -- 2005/04/09

Hi list,
To make things better on RPXlite DW board with more flexible functions, a small patch added and tested. But this staff need to be enabled manually:-)
CHANGELOG: * Patch by Sam Song, 9 April 2005: - Add netconsole and several useful commands
Best regards,
Sam
_________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1...
--- ./include/configs/RPXlite_DW_cvs.h Sat Apr 2 20:22:50 2005 +++ ./include/configs/RPXlite_DW.h Sun Apr 3 07:45:29 2005 @@ -45,7 +45,7 @@ */
/* #define DEBUG 1 */ -/* #ifdef DEPLOYMENT 1 */ +/* #define DEPLOYMENT 1 */
#undef CONFIG_MPC860 #define CONFIG_MPC823 1 /* This is a MPC823e CPU. */ @@ -117,6 +117,37 @@
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
+#if 0 /* Enable this staff when necessary. Once added, the image size of + u-boot.bin could enlarge about 25KB. So think it twice:-) */ + +/* Orignal from TQM823L.h. Sam Song April 2, 2005 */ +#ifdef CONFIG_SPLASH_SCREEN +#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \ + CFG_CMD_ASKENV | \ + CFG_CMD_BMP | \ + CFG_CMD_JFFS2 | \ + CFG_CMD_PING | \ + CFG_CMD_ELF | \ + CFG_CMD_REGINFO | \ + CFG_CMD_DHCP ) +#else +#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \ + CFG_CMD_ASKENV | \ + CFG_CMD_JFFS2 | \ + CFG_CMD_PING | \ + CFG_CMD_ELF | \ + CFG_CMD_REGINFO | \ + CFG_CMD_DHCP ) +#endif + +/* test-only */ +#define CFG_JFFS2_FIRST_BANK 0 /* use for JFFS2 */ +#define CFG_JFFS2_NUM_BANKS 1 /* ! second bank contains U-Boot */ + +#define CONFIG_NETCONSOLE + +#endif + /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ #include <cmd_confdefs.h>
@@ -446,5 +477,6 @@ #define CONFIG_SERVERIP 172.16.115.6 #define CONFIG_ROOTPATH /workspace/myfilesystem/target/ #define CONFIG_BOOTFILE uImage.rpxusb +#define CONFIG_HOSTNAME LITE_H1_DW
#endif /* __CONFIG_H */

In message 20050409024906.22772.qmail@web15901.mail.cnb.yahoo.com you wrote:
To make things better on RPXlite DW board with more flexible functions, a small patch added and tested.
The patch as is does not change anything, as all added stuff is commented out. It just makes the code less readable.
But this staff need to be enabled manually:-)
Then may the person add this who enables it.
CHANGELOG:
- Patch by Sam Song, 9 April 2005:
- Add netconsole and several useful commands
Sorry, but I reject this patch. Adding dead code makes no sense to me.
Best regards,
Wolfgang Denk
participants (2)
-
Sam Song
-
Wolfgang Denk