From patchwork Wed Feb 10 07:41:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 581338 X-Patchwork-Delegate: trini@ti.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 69E111402A9 for ; Wed, 10 Feb 2016 18:41:30 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=sAVdmSYP; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 62158A7506; Wed, 10 Feb 2016 08:41:27 +0100 (CET) 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 2OoJuSfo7oHv; Wed, 10 Feb 2016 08:41:27 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 99ADFA749F; Wed, 10 Feb 2016 08:41:26 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8100AA749F for ; Wed, 10 Feb 2016 08:41:23 +0100 (CET) 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 HQTT3gM2mbKY for ; Wed, 10 Feb 2016 08:41:23 +0100 (CET) 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-io0-f194.google.com (mail-io0-f194.google.com [209.85.223.194]) by theia.denx.de (Postfix) with ESMTPS id 107434BA29 for ; Wed, 10 Feb 2016 08:41:19 +0100 (CET) Received: by mail-io0-f194.google.com with SMTP id z135so919603iof.2 for ; Tue, 09 Feb 2016 23:41:18 -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; bh=9IMtH2Badv47BtyR+V9nf+Kk+dNMfg6ft2g8JNTPq1Q=; b=sAVdmSYP81bIbY/bIPBtbbLakTArLKs6NtrIax3RaSaG60x772l0gneyEDXPYcKHsQ BOJBwyUL+khOWJNIAvUUvkHNsDBT7lUQmJ4rdLlHxFyOH60TvEeQe2NznYWt2U20v0hq xE6/n858pmhBJK4jdfxzVUEiw9z14kSsb2eUCygklGkfouoVn1kD3yb3RJE4buAnNT02 sZSxtM6Q+RDYRuOavR4LZqTLK45HyzTB2rd7aVPv1Q71lLahvgQgIuXMaM29Nl4uaG0M STBk21IB0BRXgJBkpUej5ECHq92jDDH0kEuGhINClnwJPTb/Jf17xWDh7YfdbgCsggnu tRCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9IMtH2Badv47BtyR+V9nf+Kk+dNMfg6ft2g8JNTPq1Q=; b=L7dd1KB/6R9rDLApYTgLPcNVFOs8dHOnZi2yu/6L0MCqVP111uXYFn7+/n/52N1jWe tAw8aAy/6KFifDG01HP1dvlAm5J497c/Qy0Oy/MjbDEiTKo3zeYbrq9YFpArswMwp7W3 S+fai7/xpUbC6LLYZbEPJnlDZq5Braaf/sJW8W8S4wQfBtP+ZcatyNl/DPSUuuOQxL86 KyfB5wHKztQ96u174sY/ZdAuBp+NtzqqZzWyjkB/M/CVjBXYdJN2dzFqoRYlnh2hMs9/ SFNGA7NW9haDz3piWyzWJRL8sBAlgTF9UiUVbzegPPFzkhV3R5qzgPm19z2aaorKxJgJ 9c5g== X-Gm-Message-State: AG10YOS5opCNFvONRULtUW8+hb3EaG1bhPxo7ZRJb6+K0POktQSq8mtqM7ap6l4LLDVQPQ== X-Received: by 10.107.138.90 with SMTP id m87mr40109160iod.127.1455090077593; Tue, 09 Feb 2016 23:41:17 -0800 (PST) Received: from localhost.localdomain (c-76-113-128-183.hsd1.mn.comcast.net. [76.113.128.183]) by smtp.gmail.com with ESMTPSA id k10sm9180103igg.17.2016.02.09.23.41.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Feb 2016 23:41:16 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Date: Wed, 10 Feb 2016 01:41:10 -0600 Message-Id: <1455090070-9250-1-git-send-email-aford173@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: trini@konsulko.com, adam.ford@logicpd.com Subject: [U-Boot] [PATCH V2] OMAP3_logic: Add NAND args to boot UBIFS X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" With the recent addition of UBI support, this patch will add the preset parameters to allow for mouting an UBIFS from the 'fs' partition in NAND. -V2: ubi.mtd=fs instead of ubi.mtd=4 Signed-off-by: Adam Ford Reviewed-by: Tom Rini --- include/configs/omap3_logic.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h index 9ea6ef3..fba2a12 100644 --- a/include/configs/omap3_logic.h +++ b/include/configs/omap3_logic.h @@ -180,6 +180,8 @@ "mmcdev=0\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \ "mmcrootfstype=ext4 rootwait\0" \ + "nandroot=ubi0:rootfs rw ubi.mtd=fs noinitrd\0" \ + "nandrootfstype=ubifs rootwait\0" \ "autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \ "if run loadbootscript; then " \ "run bootscript; " \ @@ -221,6 +223,10 @@ "${optargs} " \ "root=${mmcroot} " \ "rootfstype=${mmcrootfstype}\0" \ + "nandargs=run setconsole; setenv bootargs console=${console} " \ + "${optargs} " \ + "root=${nandroot} " \ + "rootfstype=${nandrootfstype}\0" \ "fdtaddr=0x86000000\0" \ "loadfdtimage=mmc rescan; " \ "fatload mmc ${mmcdev} ${fdtaddr} ${fdtimage}\0" \