summaryrefslogtreecommitdiffstats
path: root/arch/nios2/boards
diff options
context:
space:
mode:
authorFranck JULLIEN <franck.jullien@gmail.com>2011-05-15 21:34:28 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-05-16 08:23:49 +0200
commit793b74bc779b1dc0230ac630a34a98c49e87cf88 (patch)
treedbd66730333eba1a04c8e0d09c9d7d8b8a5d40d3 /arch/nios2/boards
parente7ed69d570b9624e7f645e5d6d91340f65899a4e (diff)
downloadbarebox-793b74bc779b1dc0230ac630a34a98c49e87cf88.tar.gz
barebox-793b74bc779b1dc0230ac630a34a98c49e87cf88.tar.xz
Update generic env/config
This adds kernel_loc, kernelimage_type and bootargs to the generic board environment. This allows the generic board to boot linux on the example I'll provide on my website. Signed-off-by: Franck JULLIEN <franck.jullien@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/nios2/boards')
-rw-r--r--arch/nios2/boards/generic/env/config5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/nios2/boards/generic/env/config b/arch/nios2/boards/generic/env/config
index df7d09e85f..5d23098390 100644
--- a/arch/nios2/boards/generic/env/config
+++ b/arch/nios2/boards/generic/env/config
@@ -4,6 +4,9 @@
kernel=flash
root=flash
+kernel_loc=nor
+kernelimage_type=uimage
+
# use 'dhcp' todo dhcp in barebox and in kernel
ip=none
@@ -11,6 +14,8 @@ autoboot_timeout=3
nor_parts="256k(barebox),128k(env),4M(kernel),-(rootfs)"
+bootargs="console=ttyS0,9600"
+
# set a fancy prompt (if support is compiled in)
PS1="\e[1;33mbarebox@\e[1;32mgeneric:\w\e[0m "