[PATCH 19/54] Add arch/nios2/boards/generic/env/config
franck.jullien at gmail.com
franck.jullien at gmail.com
Thu Mar 3 17:58:33 EST 2011
From: Franck JULLIEN <franck.jullien at gmail.com>
Add arch/nios2/boards/generic/env/config
---
arch/nios2/boards/generic/env/config | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 arch/nios2/boards/generic/env/config
diff --git a/arch/nios2/boards/generic/env/config b/arch/nios2/boards/generic/env/config
new file mode 100644
index 0000000..3ba4eb4
--- /dev/null
+++ b/arch/nios2/boards/generic/env/config
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# can be either 'net' or 'flash'
+kernel=flash
+root=flash
+
+# use 'dhcp' todo dhcp in barebox and in kernel
+ip=none
+
+eth0.ipaddr=192.168.1.69
+eth0.netmask=255.255.255.0
+eth0.gateway=192.168.0.1
+eth0.serverip=192.168.1.117
+eth0.ethaddr=00:50:C0:C8:10:12
+
+nor_parts="256k(barebox),128k(env),4M(kernel),-(rootfs)"
+
+# set a fancy prompt (if support is compiled in)
+PS1="\e[1;33mbarebox@\e[1;32mgeneric:\w\e[0m "
+
--
1.7.3.4
More information about the barebox
mailing list