From patchwork Tue Dec 17 01:03:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Yanovich X-Patchwork-Id: 301949 X-Patchwork-Delegate: marek.vasut@gmail.com 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 059832C007E for ; Tue, 17 Dec 2013 12:05:34 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CB8D74AC42; Tue, 17 Dec 2013 02:05:32 +0100 (CET) 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 KUMlXYhv43m2; Tue, 17 Dec 2013 02:05:32 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id F17F84AC99; Tue, 17 Dec 2013 02:05:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id B070D4AC96 for ; Tue, 17 Dec 2013 02:05:06 +0100 (CET) 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 eragBJsDEZD8 for ; Tue, 17 Dec 2013 02:05:02 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) by theia.denx.de (Postfix) with ESMTPS id 168804AC41 for ; Tue, 17 Dec 2013 02:04:10 +0100 (CET) Received: by mail-la0-f48.google.com with SMTP id n7so2931190lam.7 for ; Mon, 16 Dec 2013 17:04:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1x+B4qiZyk4UP9JGe4R9da81yDeK32yqG+s0XEIRMHc=; b=t4e6qZXqIHSuuebm73+kpaxy6UyJMOtWHy5wTn1mr9kr8yuJxUUzZItzJ5667zJy4b IyAg3phJEFObCgc91dd8CbydK6r1qRTBdYQjlZzELX7VAWQJO4cUzdTicPTYDLy4E5Tx u62dvM+BxTG/kYymD7mUvaafPn5mUcTSGS3zV7ku2Wi0XWSs3tbisAojJ1kJrEWhcpiz QXMRkFS5EGndw4E2cZqlVCerri6D+Iz0ZLobUCqJeXrToQFuG/MteBEpfBWoyvA46GN8 OWo4gTWE2dfEV55Vdb4e94z8Qv47KIHo4UFKQf4MrronIMnZnMUzwcvCNhP8jNNgWCfT AMkg== X-Received: by 10.112.160.170 with SMTP id xl10mr134241lbb.40.1387242250408; Mon, 16 Dec 2013 17:04:10 -0800 (PST) Received: from host5.omatika.ru (0893675324.static.corbina.ru. [95.31.1.192]) by mx.google.com with ESMTPSA id y11sm290262lbm.13.2013.12.16.17.04.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Dec 2013 17:04:09 -0800 (PST) From: Sergei Ianovich To: u-boot@lists.denx.de Date: Tue, 17 Dec 2013 05:03:43 +0400 Message-Id: <1387242224-22495-5-git-send-email-ynvich@gmail.com> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1387242224-22495-1-git-send-email-ynvich@gmail.com> References: <1386999720-23460-1-git-send-email-ynvich@gmail.com> <1387242224-22495-1-git-send-email-ynvich@gmail.com> Cc: Marek Vasut Subject: [U-Boot] [PATCH v2 4/5] arm: pxa: update LP-8x4x to boot DT kernel 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 DT kernel requires CONFIG_OF_LIBFDT. 'bootm' needs to know DT location. In addition, fix kernel console device and enable U-Boot long help. Signed-off-by: Sergei Ianovich CC: Marek Vasut --- Changes v1..v2 * don't disable USB * update serial console include/configs/lp8x4x.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/lp8x4x.h b/include/configs/lp8x4x.h index 565940c..501b94a 100644 --- a/include/configs/lp8x4x.h +++ b/include/configs/lp8x4x.h @@ -20,18 +20,18 @@ #define CONFIG_SYS_MALLOC_LEN (128*1024) #define CONFIG_ARCH_CPU_INIT #define CONFIG_BOOTCOMMAND \ - "bootm 80000;" + "bootm 80000 - 240000;" #define CONFIG_BOOTARGS \ - "console=ttySA0,115200 mem=128M root=/dev/mmcblk0p1 rw" \ - "init=/sbin/init rootfstype=ext3" + "console=ttyS0,115200 mem=128M root=/dev/mmcblk0p1 rw" \ + "init=/sbin/init rootfstype=ext4 rootwait" #define CONFIG_TIMESTAMP #define CONFIG_BOOTDELAY 2 /* Autoboot delay */ #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_LZMA /* LZMA compression support */ -#undef CONFIG_OF_LIBFDT +#define CONFIG_OF_LIBFDT /* * Serial Console Configuration @@ -101,7 +101,7 @@ */ #define CONFIG_SYS_HUSH_PARSER 1 -#undef CONFIG_SYS_LONGHELP +#define CONFIG_SYS_LONGHELP #ifdef CONFIG_SYS_HUSH_PARSER #define CONFIG_SYS_PROMPT "$ " #else