[PATCH 1/5] [Nios2]: Update generic env/config

franck.jullien at gmail.com franck.jullien at gmail.com
Sun May 15 15:34:28 EDT 2011


From: Franck JULLIEN <franck.jullien at gmail.com>

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 at gmail.com>
---
 arch/nios2/boards/generic/env/config |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/arch/nios2/boards/generic/env/config b/arch/nios2/boards/generic/env/config
index df7d09e..5d23098 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 "
 
-- 
1.7.0.4




More information about the barebox mailing list