From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7306058951758446592 X-Received: by 2002:a92:d446:0:b0:35d:1ea0:f252 with SMTP id r6-20020a92d446000000b0035d1ea0f252mr8480977ilm.28.1701354921025; Thu, 30 Nov 2023 06:35:21 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6e02:219e:b0:35d:2592:9624 with SMTP id j30-20020a056e02219e00b0035d25929624ls304375ila.1.-pod-prod-00-us; Thu, 30 Nov 2023 06:35:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH2pmt8dBkqNTK/L2qUrHUkx8N1df/DtAnUVCfa2oZ1PDTKEWesDxJiycqiO1zKQ++fC+5m X-Received: by 2002:a05:6e02:1a69:b0:35c:789a:ccb6 with SMTP id w9-20020a056e021a6900b0035c789accb6mr16380135ilv.5.1701354919635; Thu, 30 Nov 2023 06:35:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701354919; cv=none; d=google.com; s=arc-20160816; b=Jz9SCUtZe1vi+DiKkLW1tD48DFHStvkhBube0guc8ntD2Ji8c2U+ns71dveu87ks5U g32AR3E1S8i4cr/FcVu2xMRxAqiQnl0/dOh2gBb5zXL36DDZjCYlWh6rrtglwp84NEa3 /45v8INd/kqjv29S/kcnaIjoyhDbJHL8BVf82IhSdOknkjL4aKeTszwqBmXKbCFl3ay0 HG2ePwbTIBxCo60hSBbsQQneRFppFtuBAhPV4Oy4ulFplZVy+2Ow0qFZPy9GqdePHdGU MmD1re4LUpZuap+5idFXZrNN67w4LAtycheikZd9zX1JnZw7Py6vlMrgQcyrKxnuSlnE EB6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id; bh=cl6kU+XXjwoyp6oX0hXjT//2Qn1oArmS1CH9Nt3LCwQ=; fh=ZrK7djbGBSYYJ8VeQpmgMgb0gCOQrDgcCx9u2k90i1U=; b=0w5fOiJkHr7nU5OhThmSacf4CdMjUjt8TAjBWTZFYSiHww7D5EbUEUAn0vLmehip5W iaZ5aREn52YY7moTA7qE9YU7wq6U+7Yi1HU8829PRDaGhbIbVlGxtplkaTeXnpg/bpwa sdvGYouidK81BNYwjMr60hpWELSvx4xnyswOc8F9kKv6jIL6qa1uiR7Z9XpxXWKQ1Czx /ViUXOzkSh9dQeBfU1DwcbVNUgzjbUjYq7BcitYQW24ZBapofacF9FWPj4I26efISnmi V1SGytg49RQGM+vEvEUd1JAwEmZaJrGXTT9i2VjsaZPVCORoozBtQfN9IuCMTsXdSCVr rkFg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id i3-20020a056e021d0300b0035c8d7c3820si353530ila.2.2023.11.30.06.35.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 Nov 2023 06:35:19 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from [127.0.0.1] (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 3AUEZB8M030085 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Nov 2023 15:35:13 +0100 Message-ID: <27fdddcf6a07b1671056daaab9f59075f98f6c3e.camel@ilbers.de> Subject: Re: [PATCH] nanopi-neo: Use partition uuid instead of particular disk From: Uladzimir Bely To: Badrikesh Prusty , isar-users@googlegroups.com Date: Thu, 30 Nov 2023 17:35:37 +0300 In-Reply-To: <20231127151259.7554-1-badrikesh_prusty@mentor.com> References: <20231127151259.7554-1-badrikesh_prusty@mentor.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.1 (by Flathub.org) MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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-TUID: rMGS35i9kCGg On Mon, 2023-11-27 at 20:42 +0530, Badrikesh Prusty wrote: > From: Badrikesh Prusty >=20 > Observing boot failure on nanopi-neo, if booted from external sd-card > due to dev/mmcblk2p1 not found. >=20 > From FriendlyElec documentation, mmcblk2 is used as internal emmc, > while mmcblk0 is used for external sd-card. >=20 > Some nanopi-neo's doesn't support emmc, instead uses external sd-card > as a boot device. >=20 > 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. >=20 > Signed-off-by: Badrikesh Prusty > --- > =C2=A0meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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 @@ > =C2=A0 > =C2=A0part u-boot --source rawcopy --sourceparams "file=3D/usr/lib/u- > boot/nanopi_neo/u-boot-sunxi-with-spl.bin" --no-table --align 8 > =C2=A0 > -part / --source rootfs-u-boot --ondisk mmcblk2 --fstype ext4 --mkfs- > extraopts "-T default" --sourceparams "builtin_dt=3Dyes" --label > platform --align 1024 --active > +part / --source rootfs-u-boot --use-uuid --fstype ext4 --mkfs- > extraopts "-T default" --sourceparams "builtin_dt=3Dyes" --label > platform --align 1024 --active > =C2=A0 > =C2=A0bootloader --append "rw rootwait" > --=20 > 2.39.2 >=20 Applied to next, thanks.