Skip to contentSkip to conversation

TI OMAP1610 H2 config update

PATCH New George G. Davis 2 participants 2 messages Mar 11, 2004 – Mar 14, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 TI OMAP1610 H2 config update

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

include/configs/omap1610h2.h +3 -6
diff -u -r1.2 omap1610h2.h
@@ -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

#1 lore raw

PATCH 1/1 TI OMAP1610 H2 config update

Quoted 2 lines · In message <[email protected]> you wrote:

Remove hard coded network settings in TI OMAP1610 H2 default board config:

Added, thanks.

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Quantum Mechanics is God's version of "Trust me."