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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Franck JULLIEN <franck.jullien@xxxxxxxxx>

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@xxxxxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox


[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux