From patchwork Mon Nov 27 15:12:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Badrikesh Prusty X-Patchwork-Id: 3218 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Mon, 27 Nov 2023 17:01:59 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-pg1-f185.google.com (mail-pg1-f185.google.com [209.85.215.185]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 3ARG1s2h015308 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 27 Nov 2023 17:01:55 +0100 Received: by mail-pg1-f185.google.com with SMTP id 41be03b00d2f7-5c19a3369c2sf4663107a12.2 for ; Mon, 27 Nov 2023 08:01:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701100908; cv=pass; d=google.com; s=arc-20160816; b=WhhXRsRhHqU9wkDhSFn9f8JGrmowetDqQzCn9k/kn/X8o2KKv/HV5VwthgsTGc+mNc DK63Q5cyYJ7DvnTyzF00Q24oyiQF2MrBFL9LEC1rJpv8ziEM2fNAk8DXf6sgL8qm4xvd kH6MVyFYz3y0VAYh/jK4KCqc5p5H/B++qB8ibWMSqL8QLY47s99Son0oG1FT5vIwazQG 4WAOUWvYGVEbeZFKVXy3vgCxyn/Bw4VXd8CmnKSvLvqrtdNJ7bIERwdGX5DHQ735V3JX z5jCmYEXXuGKB3sybbX/4K0ZQTU3iYDZhNz+3uYrU9ujruUXaMQ6fBiJH7HFcsfNCXQK tDtw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr:sender :dkim-signature; bh=OjgAYymDTd3FkY7T1t6GX7hikhyG2lStLSo5oct/SCw=; fh=F4R8d8MZz4e5TZM675wSZVz+eMNa1apx7X6eFG4Iths=; b=nT8kawVE1RvnPh7Gt+CWDybieowt7ctZtpgqG+1DeAvJF7fHxaklwGtC2DQgI2ZzcS OYHd5kJy2vqUL7cvNc/4BO6WpCWeSevp5IwaLY4zi5zrKQiteDquNlGBByjALKd2wYXY ElubVgjL6Qd2sJpbDmqkAY5cRxjnRkdoqSUp21YAE6ae+wZqocq9bkCPH47AD4Hj1ZYT 1bh7RvdSpGlK60izP+WIiIPU2lYoFDABqdcOmS/NQXaPk4PTZdFUgXncGlGGU7Fip+5n IjDEsZ21COB6T+refKkwIeT+YYOOFlfF5tJjBmD21NYnMm+f875LPn3oiGJO/zEct64j jq7A== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of badrikesh_prusty@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Badrikesh_Prusty@mentor.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1701100908; x=1701705708; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:ironport-sdr:sender:from:to:cc:subject:date :message-id:reply-to; bh=OjgAYymDTd3FkY7T1t6GX7hikhyG2lStLSo5oct/SCw=; b=m+7I8fs/eadflSHwaQTwBW+ahww7cnfZdfpX6rh8mQk4FbEh08Pt8caP4tQIf9DrIO MKciJQbrwQ3TpX7Sag8AqjbLTzjbc/XsL58ZctOS4agd5SNZ2/lTT8iAsgGnTeBdq/zr ATielRkcHEUTRW8lEua70l3cZt0xRTLejfznIA1p+C43lgQJ7N+uU518MjMA5d28M5mB nWs8Unb5c7m77tt8lBG25s+7f1ujdP2+EKzm9mq9/sDlHSuiQCFhp/koiop2QfFsX9j+ NkrWttwI257Gm5Kr2eJdpoGWIImr13nBVLiZa0+Qi6V9lQ/n3cWVt3YHbiXXkNZf6CL0 yjDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701100908; x=1701705708; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:ironport-sdr:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=OjgAYymDTd3FkY7T1t6GX7hikhyG2lStLSo5oct/SCw=; b=T5dzQZzIn0hn76V3EpsvDZWZ11pyXzdf/ES2ulvebodhM2jcU6OCokRBUHQATU2tG6 +7Bjm+ODTlisVNoTpb5tyvoGYXCD3FpyLfIsoYY2sDVqbUXuCLlean8+9nJ8HPBZO9Rl XrEs2xzUPCrmJNR03liq3MT9Q/H7o3eBgXrrvkda082/jCLFpxa8BDKsysT7M3sd3rKu MacDFIaUvg0e+uERcuKHz6rlNyKTyxbJN9gfUg8s4rcHnILBF7MsWbdPztqkrMFLHzAF pS7D9s1bZO1GHmJ7ZNGEvjMHfMwqJN//5SHGzfIG1ZeaS6ty3nkVAHCn1guZgrtKVfYR Hm+A== Sender: isar-users@googlegroups.com X-Gm-Message-State: AOJu0YypnxMe59rtPeWQsbyuyjKNcXhrNIVIc+qBig+epABxGdWLIw8d FZw3hbeEwtwX/Q7fVNt2Ac4= X-Google-Smtp-Source: AGHT+IHXrO9wbw84xLGVgMrocw5hKXnoLfprPSzezITGtdcrA0kCjGmBUFS6vIxJQiFODQwXoXyEZQ== X-Received: by 2002:a05:6a20:9e4d:b0:14c:c511:387d with SMTP id mt13-20020a056a209e4d00b0014cc511387dmr13214183pzb.9.1701100908372; Mon, 27 Nov 2023 08:01:48 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6a00:3a09:b0:6c0:fb5e:7625 with SMTP id fj9-20020a056a003a0900b006c0fb5e7625ls3395414pfb.0.-pod-prod-05-us; Mon, 27 Nov 2023 08:01:48 -0800 (PST) X-Received: by 2002:a63:1807:0:b0:5bd:3d6e:26fd with SMTP id y7-20020a631807000000b005bd3d6e26fdmr2017544pgl.0.1701100907799; Mon, 27 Nov 2023 08:01:47 -0800 (PST) Received: by 2002:a05:6808:f09:b0:3b3:ed04:dbd0 with SMTP id 5614622812f47-3b83d8fdde2msb6e; Mon, 27 Nov 2023 07:08:42 -0800 (PST) X-Received: by 2002:a05:6870:7d84:b0:1ea:fd94:965 with SMTP id oq4-20020a0568707d8400b001eafd940965mr16672649oab.24.1701097721799; Mon, 27 Nov 2023 07:08:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701097721; cv=none; d=google.com; s=arc-20160816; b=PFHsHOalzkpvDBRCryo341I6tTJcRWJLjtjVhZ2230f84uTsnDbUMvtleNDreKz81f UWdXO2gxcMP/ynWyzPwg95WVzUaGeI0fRfHHIuROFjnucuCxEci+3bGkyI+GCy7YlQU8 OMMaoso8JweF729iSxM5z00ViUehdh8pYVwl7rcWURa9Zo6S0h8xrOEEek0IlzxyBUFL 3F9J/RLCbY7QaefJjUuXisaZrUOR0vruObpGElLA9nzQidQ0sBaSZ3jxIptSexp4W9xA NmxMfIldbjQffwtpt+xkhLmvAagxDEzmT6Age1MfuAQkU4qab0Gwe6JWzS2QDTInhiMJ xqkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr; bh=WnpvrX9ILxdzWmf+V0wVSzpJeB8/9Pnhnpcrfv6gk3w=; fh=F4R8d8MZz4e5TZM675wSZVz+eMNa1apx7X6eFG4Iths=; b=fP8g9mGK7s9ZD9nv72otFruWgmKo2InqFVTAqZE9hp6EauRGBkV8MNYZo1gEbkZJVh OOAlDCyQa/EpZLp4zcpRaaaarVoEmSDAm5wznVu2vd2sZCqR6w8SnPsJkJCFvmHQylyf /R8iSjr3RBNZBhF5aavEqoaWc23EzhFe7//sJLWjlrKZShsICqlVYwnB2YoP2CsyfYWF hVKYpYYsIHp/45mIUt9w/cfRsx25MmHrp96ZrbLhWpoiOaaat61a77oxiT8e1oGdiLhR UhuUFpuqVSS0ML6Som+PUsvkYhJato9E1NzjIZ17Z9cbl51x5kNJTyVQGQOt5rI+FRcP 1HTQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of badrikesh_prusty@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Badrikesh_Prusty@mentor.com Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com. [68.232.137.252]) by gmr-mx.google.com with ESMTPS id jd4-20020a0568702a4400b001fa3b060d68si983241oab.2.2023.11.27.07.08.41 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Nov 2023 07:08:41 -0800 (PST) Received-SPF: pass (google.com: domain of badrikesh_prusty@mentor.com designates 68.232.137.252 as permitted sender) client-ip=68.232.137.252; X-CSE-ConnectionGUID: HpkCRZgwRAal9b2FOVrQlQ== X-CSE-MsgGUID: g3AmaHM4TymTVDnyzlvw5Q== X-IronPort-AV: E=Sophos;i="6.04,231,1695715200"; d="scan'208";a="23778794" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 27 Nov 2023 07:08:39 -0800 IronPort-SDR: LLCXw4zLmUnOw/6XvRdz+VER2K0qCl1qVamGlL3JOnHMDeTbuqEbohyrFVih78fLISfKROfDjW rSS1ceAOVFpnFSqeOp5RcKQaO43tQgYlIx4VEgVCbpGO4hbpOYXPDzkvMhgdNNv6ekztGYGAxl KIaQ+s+DXJnYE9Rk8t0O8aoxGM9HnllM9l3HDfE/cUUoTLxMdIpJNucAeE1fIlEhwx4KEt4e77 nONx7VhgsCLNgLqgaz8drE6iCd5FPTVjNYAcLq5FWm0yixEWkAIzXRJgwV1d/VFSrTF8/B//ax 8sc= From: Badrikesh Prusty To: CC: Badrikesh Prusty Subject: [PATCH] nanopi-neo: Use partition uuid instead of particular disk Date: Mon, 27 Nov 2023 20:42:59 +0530 Message-ID: <20231127151259.7554-1-badrikesh_prusty@mentor.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 X-ClientProxiedBy: svr-orw-mbx-13.mgc.mentorg.com (147.34.90.213) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Original-Sender: badrikesh_prusty@mentor.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of badrikesh_prusty@mentor.com designates 68.232.137.252 as permitted sender) smtp.mailfrom=Badrikesh_Prusty@mentor.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Badrikesh Prusty Observing boot failure on nanopi-neo, if booted from external sd-card due to dev/mmcblk2p1 not found. From FriendlyElec documentation, mmcblk2 is used as internal emmc, while mmcblk0 is used for external sd-card. Some nanopi-neo's doesn't support emmc, instead uses external sd-card as a boot device. With this change it will allow booting from external sd-card and the image can be copied to emmc to boot from emmc as well. Signed-off-by: Badrikesh Prusty --- meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in b/meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in index af5b6f08..9489bd12 100644 --- a/meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in +++ b/meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in @@ -5,6 +5,6 @@ part u-boot --source rawcopy --sourceparams "file=/usr/lib/u-boot/nanopi_neo/u-boot-sunxi-with-spl.bin" --no-table --align 8 -part / --source rootfs-u-boot --ondisk mmcblk2 --fstype ext4 --mkfs-extraopts "-T default" --sourceparams "builtin_dt=yes" --label platform --align 1024 --active +part / --source rootfs-u-boot --use-uuid --fstype ext4 --mkfs-extraopts "-T default" --sourceparams "builtin_dt=yes" --label platform --align 1024 --active bootloader --append "rw rootwait"