From patchwork Tue Jun 16 19:20:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Opaniuk X-Patchwork-Id: 1310661 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Ah2QcSfe; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49mdNk49Qdz9sRW for ; Wed, 17 Jun 2020 05:21:42 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DC18781F3E; Tue, 16 Jun 2020 21:20:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ah2QcSfe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6B95581F44; Tue, 16 Jun 2020 21:20:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0178C81F3A for ; Tue, 16 Jun 2020 21:20:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=igor.opaniuk@gmail.com Received: by mail-lj1-x244.google.com with SMTP id i3so20423234ljg.3 for ; Tue, 16 Jun 2020 12:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QUzH9hisHigRXcLBZmWjhqnfqiKfbMzDdGpdrJdBkTk=; b=Ah2QcSfeWUgBj/1A1j7/9PbXQhZ+gCWoICIyRNUs/qymr52V4YoLiEO7KeC+Q826QL WNfjIL6k6wzq6QX8XE2XdQc7+ozDG2HSMtTTa43RybInHKtAnFQisB5hc2QrFCa7sSwV NwKcgfRI7VsRQN9m/oGLQfE95GV39lx9c21aN5Lt3XEmgvdJHvl8Ct77856IbZIz+ioA 4kiqW7eayske9ClJnRPNbROLAyTx73gPmpQQLW7Kc1P00IiwBGBywwM37aibAF+AZjru 0pQdmFpbJPPeE1AvStfm+sWGWfN57hdEmMuZBVNsirzQGKZrdAb1TXpKv57kWKJyX3hB ycqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QUzH9hisHigRXcLBZmWjhqnfqiKfbMzDdGpdrJdBkTk=; b=kVXEjAPoaVngkf65unGu1jayxDft480N3FvtJDF0ZyM0Rv/wCO++su+/BSknntCrSr MaqVBN8GyhEKGpBKdoa8yW22jwZce8bKJB5ot08z0qILJ4UPsXpXxIpAHRP/91JOl3rt 9sMah/VnvLBmZm4dnx+mI1IP/LfmPzfHzlm+Pwv5LUnHGWba4PsxAy9FYbkv+y85xGcm Iul6+74Sw3dTmAI3ODlsGcqZWYROjsHcYoQ9xWsCwiXrq2/3EaFu8xH13ffAxEAW7mou zRysQHnnpEAeXDLPxlh/OlbHZXwoicDbmS2Wk8HHhw0+0qZIYXLhswzUiPPxnO936a6k oedQ== X-Gm-Message-State: AOAM533Dq9Ju+r/EATD3pYOuPoNQ+bI95KEQV1UnS7HgIzcvtFvBSKcq rzo4hmbW/6FO+7hPU1jYGhCdI828 X-Google-Smtp-Source: ABdhPJxixtj+9ZyUYKC6i8ftHiNEuRHXLrH7TkMaBtbu9RhEdTLLHXWFoGuJHG31XguuZvSwQFDPGw== X-Received: by 2002:a2e:145e:: with SMTP id 30mr2245096lju.205.1592335224281; Tue, 16 Jun 2020 12:20:24 -0700 (PDT) Received: from localhost ([194.44.17.239]) by smtp.gmail.com with ESMTPSA id r70sm1793573lff.97.2020.06.16.12.20.23 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2020 12:20:23 -0700 (PDT) From: Igor Opaniuk To: u-boot@lists.denx.de Cc: twarren@nvidia.com, stefan.agner@toradex.com, marcel.ziswiler@toradex.com, max.krummenacher@toradex.com, oleksandr.suvorov@toradex.com, philippe.schenker@toradex.com, Igor Opaniuk Subject: [PATCH v1 05/13] colibri-imx6ull/imx7: define bootubipart for distro boot Date: Tue, 16 Jun 2020 22:20:03 +0300 Message-Id: <1592335211-5998-6-git-send-email-igor.opaniuk@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1592335211-5998-1-git-send-email-igor.opaniuk@gmail.com> References: <1592335211-5998-1-git-send-email-igor.opaniuk@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean From: Stefan Agner When using distro boot to boot from UBI volumes the boot partition has been hardcoded to "UBI" (capital letters). However, our default MTD layout uses "ubi" (lower case letter). Define "ubi" as the default UBI partition for distro boot for Toradex. This allows to use distro boot without having to redefine the MTD partition layout which is useful for TorizonCore. Signed-off-by: Stefan Agner --- include/configs/colibri-imx6ull.h | 1 + include/configs/colibri_imx7.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/configs/colibri-imx6ull.h b/include/configs/colibri-imx6ull.h index 2d3b4c1..c80fb96 100644 --- a/include/configs/colibri-imx6ull.h +++ b/include/configs/colibri-imx6ull.h @@ -88,6 +88,7 @@ NFS_BOOTCMD \ UBI_BOOTCMD \ UBOOT_UPDATE \ + "bootubipart=ubi\0" \ "console=ttymxc0\0" \ "defargs=user_debug=30\0" \ "dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \ diff --git a/include/configs/colibri_imx7.h b/include/configs/colibri_imx7.h index b550bc6..b3f660b 100644 --- a/include/configs/colibri_imx7.h +++ b/include/configs/colibri_imx7.h @@ -169,6 +169,7 @@ MODULE_EXTRA_ENV_SETTINGS \ UBOOT_UPDATE \ "boot_file=zImage\0" \ + "bootubipart=ubi\0" \ "console=ttymxc0\0" \ "defargs=\0" \ "fdt_board=eval-v3\0" \