
Greetings,
Remove hard coded network settings in TI OMAP1610 H2 default board config:
Index: u-boot/include/configs/omap1610h2.h =================================================================== RCS file: /cvsroot/u-boot/u-boot/include/configs/omap1610h2.h,v retrieving revision 1.2 diff -u -r1.2 omap1610h2.h --- u-boot/include/configs/omap1610h2.h 23 Feb 2004 23:54:52 -0000 1.2 +++ u-boot/include/configs/omap1610h2.h 11 Mar 2004 19:02:42 -0000 @@ -94,12 +94,9 @@
#define CONFIG_BOOTDELAY 3 #define CONFIG_BOOTARGS "mem=32M console=ttyS0,115200n8 noinitrd \ - root=/dev/nfs rw nfsroot=157.87.82.48:\ - /home/a0875451/mwd/myfs/target ip=dhcp" -#define CONFIG_NETMASK 255.255.254.0 /* talk on MY local net */ -#define CONFIG_IPADDR 156.117.97.156 /* static IP I currently own */ -#define CONFIG_SERVERIP 156.117.97.139 /* current IP of my dev pc */ -#define CONFIG_BOOTFILE "uImage" /* file to load */ + root=/dev/nfs ip=dhcp" +#define CONFIG_BOOTCOMMAND "bootp;tftp;bootm" +#define CFG_AUTOLOAD "n" /* No autoload */
#if (CONFIG_COMMANDS & CFG_CMD_KGDB) #define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
That can all be obtained automagically from the bootp/dhcp server or via setenv. I've tested U-Boot on the OMAP1610 H2 with the above default configs. Works for me...
-- Regards, George