From patchwork Tue Apr 23 13:33:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 238911 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id DBCEF2C0168 for ; Tue, 23 Apr 2013 23:34:20 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 71DDA4A17B; Tue, 23 Apr 2013 15:34:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wv6SnhJid74Q; Tue, 23 Apr 2013 15:34:16 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 32D204A17F; Tue, 23 Apr 2013 15:34:06 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DF5F84A16C for ; Tue, 23 Apr 2013 15:34:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kzQ7Hcomlp2w for ; Tue, 23 Apr 2013 15:34:01 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by theia.denx.de (Postfix) with ESMTPS id 0FBEF4A166 for ; Tue, 23 Apr 2013 15:33:59 +0200 (CEST) Received: by mail-wi0-f173.google.com with SMTP id c10so6073628wiw.12 for ; Tue, 23 Apr 2013 06:33:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:content-type :x-gm-message-state; bh=0rxBJ2KWYcr6DwL4StMPlUAn/0lZR6RQ6p4YlKF5h5E=; b=KEy92XbuJeN5zsmOjOgxAALwm7K7TApTRnn8WVxitS9JhTWJ/UqEHoAV1axikXzdvm QsybQsiLYguzgDUhFqIuj+rz8LzOxhhHUT1WxcZvwca/Yp4IGt4+RPULxhJliuskY8t4 ExIBUG+Cg3CNUU0r8DKlA8Bz02TBHRqhFOqQhXsS9EUjPdrUi0HAt6DAbZY+vlGZoB8T HQlHDniEF+EXR6GFEaIFvxfcTci0gbtBSqBln97gxF/QS8jdoiOpN8UFFcCgaAeZIJL6 zRqKxMfZZXwDw0/yD4nUQmF6A/04qw9TqFOdiqT/9j1XwFA9m/VpeoyjFMA6CxbBwJd5 sWFg== X-Received: by 10.194.88.138 with SMTP id bg10mr61516325wjb.13.1366724038962; Tue, 23 Apr 2013 06:33:58 -0700 (PDT) Received: from localhost (nat-63.starnet.cz. [178.255.168.63]) by mx.google.com with ESMTPS id g4sm28909193wib.11.2013.04.23.06.33.57 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 23 Apr 2013 06:33:58 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, Michal Simek , Tom Rini Date: Tue, 23 Apr 2013 15:33:37 +0200 Message-Id: X-Mailer: git-send-email 1.8.2.1 In-Reply-To: References: In-Reply-To: References: X-Gm-Message-State: ALoCoQnoFtGMEbops/hi/I+QsGDi6lKJsGQAxxPVvSlrwsm3MRCj/T7COPQzD7hpGvL3+DBEOemW Cc: Peter Crosthwaite , Jagannadha Sutradharudu Teki Subject: [U-Boot] [PATCH v2 2/4] microblaze: Enable netconsole X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Michal Simek Setup environment and enable netconsole. Signed-off-by: Michal Simek Signed-off-by: Michal Simek Reviewed-by: Tom Rini --- Changes in v2: - Remove trailing 1 for configurations - Remove \; from nc variable include/configs/microblaze-generic.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 1.8.2.1 diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index d172e56..8c0353a 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -414,10 +414,17 @@ "nor0=flash-0\0"\ "mtdparts=mtdparts=flash-0:"\ "256k(u-boot),256k(env),3m(kernel),"\ - "1m(romfs),1m(cramfs),-(jffs2)\0" + "1m(romfs),1m(cramfs),-(jffs2)\0"\ + "nc=setenv stdout nc;"\ + "setenv stdin nc\0" \ + "serial=setenv stdout serial;"\ + "setenv stdin serial\0" #define CONFIG_CMDLINE_EDITING +#define CONFIG_NETCONSOLE +#define CONFIG_SYS_CONSOLE_IS_IN_ENV + /* Use the HUSH parser */ #define CONFIG_SYS_HUSH_PARSER