From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wy0-f177.google.com ([74.125.82.177]) by canuck.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1QLh5J-0000HF-Jc for barebox@lists.infradead.org; Sun, 15 May 2011 19:34:38 +0000 Received: by wyb28 with SMTP id 28so3786457wyb.36 for ; Sun, 15 May 2011 12:34:36 -0700 (PDT) From: franck.jullien@gmail.com Date: Sun, 15 May 2011 21:34:28 +0200 Message-Id: <1305488072-1765-2-git-send-email-franck.jullien@gmail.com> In-Reply-To: <1305488072-1765-1-git-send-email-franck.jullien@gmail.com> References: <1305488072-1765-1-git-send-email-franck.jullien@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 1/5] [Nios2]: Update generic env/config To: barebox@lists.infradead.org From: Franck JULLIEN 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 --- 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@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox