aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-10-24 00:11:41 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-10-24 00:12:25 -0600
commit4e6a3740c0b13f2de89db3f362c2b483119fdc55 (patch)
treeda41fb242af6eddb6b826f7ee84f53c9c7ff2d9b
parentc3b2e4e4b1b4d3c9f1f455d48e35f5fff217ce77 (diff)
downloadu-boot-linaro-stable-4e6a3740c0b13f2de89db3f362c2b483119fdc55.tar.gz
OMAP3: igep0020: Enable PXE support
Signed-off-by: John Rigby <john.rigby@linaro.org>
-rw-r--r--include/configs/igep0020.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/include/configs/igep0020.h b/include/configs/igep0020.h
index b6534e474..083d8069c 100644
--- a/include/configs/igep0020.h
+++ b/include/configs/igep0020.h
@@ -173,6 +173,9 @@
"run nandargs; " \
"onenand read ${loadaddr} 280000 400000; " \
"bootm ${loadaddr}\0" \
+ "kernel_addr_r=0x88000000\0" \
+ "ramdisk_addr_r=0x81600000\0" \
+ "pxefile_addr_r=0x86000000\0"
#define CONFIG_BOOTCOMMAND \
"if mmc rescan ${mmcdev}; then " \
@@ -184,7 +187,13 @@
"else run nandboot; " \
"fi; " \
"fi; " \
- "else run nandboot; fi"
+ "fi; " \
+ "setenv autoload no; "\
+ "bootp; " \
+ "if pxe get; then " \
+ "pxe boot;" \
+ "fi;" \
+ "run nandboot;" \
#define CONFIG_AUTO_COMPLETE 1
@@ -268,6 +277,20 @@
#define CONFIG_SMC911X
#define CONFIG_SMC911X_32_BIT
#define CONFIG_SMC911X_BASE 0x2C000000
+
+/* BOOTP options */
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+
+/* PXE */
+#define CONFIG_CMD_PXE
+#define CONFIG_MENU
+#define CONFIG_BOOTP_PXE
+#define CONFIG_BOOTP_PXE_CLIENTARCH 0x100
+#define CONFIG_BOOTP_VCI_STRING "U-boot.armv7.omap3_igep0020"
+
#endif /* (CONFIG_CMD_NET) */
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1