From: Uladzimir Bely <ubely@ilbers.de>
To: Badrikesh Prusty <badrikesh_prusty@mentor.com>,
isar-users@googlegroups.com
Subject: Re: [PATCH] nanopi-neo: Use partition uuid instead of particular disk
Date: Thu, 30 Nov 2023 17:35:37 +0300 [thread overview]
Message-ID: <27fdddcf6a07b1671056daaab9f59075f98f6c3e.camel@ilbers.de> (raw)
In-Reply-To: <20231127151259.7554-1-badrikesh_prusty@mentor.com>
On Mon, 2023-11-27 at 20:42 +0530, Badrikesh Prusty wrote:
> From: Badrikesh Prusty <badrikesh.prusty@siemens.com>
>
> 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 <badrikesh.prusty@siemens.com>
> ---
> 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"
> --
> 2.39.2
>
Applied to next, thanks.
next prev parent reply other threads:[~2023-11-30 14:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-26 20:09 [PATCH] nanopi-neo.wks.in: use partition uuid instead of providing mmcblk2 disk Badrikesh
2023-11-27 9:22 ` MOESSBAUER, Felix
2023-11-27 15:12 ` [PATCH] nanopi-neo: Use partition uuid instead of particular disk Badrikesh Prusty
2023-11-27 17:12 ` Badrikesh Prusty
2023-11-30 14:35 ` Uladzimir Bely [this message]
2023-11-27 10:24 ` [PATCH] nanopi-neo.wks.in: use partition uuid instead of providing mmcblk2 disk Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27fdddcf6a07b1671056daaab9f59075f98f6c3e.camel@ilbers.de \
--to=ubely@ilbers.de \
--cc=badrikesh_prusty@mentor.com \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox