From patchwork Sun Nov 26 20:09:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Badrikesh Prusty X-Patchwork-Id: 3217 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 09:40:15 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f58.google.com (mail-oo1-f58.google.com [209.85.161.58]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 3AR8eEQe013757 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 27 Nov 2023 09:40:15 +0100 Received: by mail-oo1-f58.google.com with SMTP id 006d021491bc7-58d5a587f4asf362255eaf.0 for ; Mon, 27 Nov 2023 00:40:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1701074409; x=1701679209; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=YvcK6Ggy7HLJdiPoyXKG9rho308/Ay32gryR+fXWW2c=; b=RYp5K4FelpqFR3MtxLCTiWoHQYIspHcfb/Sz6E+mYaKopVbcCmF/Pfia9oOjH5/YrB c6Xhz3ue7kRjENrQOswuL7sIR6+64K9brW8RXVoDxNGiV+1okRi7dysQZxVPxbwPz8ZL V+hGrgiE6aLKvy+VvXjccneYZM/MkDevq+0cH8KSdbvT+BXGKqtpdcxs2GV6f7w98Z4u CMsrChR4E9q9mBrowBtPYGW2YwTJCUNAJeJr8e4PXMTHGGSlJztOhz6i+WHrNmwhpq13 F8djmuk4CZfvDLlQte6yMGaeUOU2D3RCEoEk+m/rmvw9b23KjQAr1XZ3bwqwD5enrjMA GYYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701074409; x=1701679209; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YvcK6Ggy7HLJdiPoyXKG9rho308/Ay32gryR+fXWW2c=; b=VSpakbikN3lZSQHP0mwVaRCO06N9cTJFwddlACM+kx4tJ2PgGtJFH5VlNNAPowBc+X DgbKZ/UXGzlNXwz/cVY2lCSXmemSoGfl33ff0ZMLO8tBne/Rmu811SkzNMod1e3szLMv CP4EvOkTnlAWMNWUVGLFJDNX8kgvqLplo6rCn1PQMz8Bs0gxWDjOrK37II+GL6PnQQ5H dcZXRVOY2b8zNbIeSTXNZnDmSNFmciG0BXELyT5cNUn08DYMxxsvegbvwiG+Jb582fn2 aK5KnBzfzBfi7Z5fhOj8ew0nZXnIwLOpTRJAquXcGqU5wMA9iaPBhXvOU25BJL/Pohl/ NPZw== X-Gm-Message-State: AOJu0YyixeR6rbDiySzJd7HMbqa8kobL8FyJFn9jWwQ+WPeHpxbn4qkN grUr8pAofvG6ZPoo7cFaZCQ= X-Google-Smtp-Source: AGHT+IFuxxEQIX3C00VsFglajhptwGbH7EPwrNWAMFvpdNrio67pqG0KVEYc64lN4wJYWelnSQW/pg== X-Received: by 2002:a4a:c691:0:b0:584:1080:f0a5 with SMTP id m17-20020a4ac691000000b005841080f0a5mr9961669ooq.1.1701074408679; Mon, 27 Nov 2023 00:40:08 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6820:1c8b:b0:58a:b02:fee with SMTP id ct11-20020a0568201c8b00b0058a0b020feels1329434oob.1.-pod-prod-06-us; Mon, 27 Nov 2023 00:40:08 -0800 (PST) X-Received: by 2002:a05:6830:1282:b0:6bf:192d:31dc with SMTP id z2-20020a056830128200b006bf192d31dcmr399715otp.2.1701074408337; Mon, 27 Nov 2023 00:40:08 -0800 (PST) Received: by 2002:a05:6808:211a:b0:3b2:e349:d5c2 with SMTP id 5614622812f47-3b83d618753msb6e; Sun, 26 Nov 2023 12:09:21 -0800 (PST) X-Received: by 2002:a17:90a:ce8d:b0:27d:1ce0:7cf with SMTP id g13-20020a17090ace8d00b0027d1ce007cfmr2019910pju.0.1701029360358; Sun, 26 Nov 2023 12:09:20 -0800 (PST) Date: Sun, 26 Nov 2023 12:09:19 -0800 (PST) X-Patchwork-Original-From: "'Badrikesh' via isar-users" From: Badrikesh Prusty To: isar-users Message-Id: <9ed33d28-4442-480d-aa3c-0d68d216905en@googlegroups.com> Subject: [PATCH] nanopi-neo.wks.in: use partition uuid instead of providing mmcblk2 disk MIME-Version: 1.0 X-Original-Sender: badrikesh.prusty@siemens.com X-Original-From: Badrikesh Reply-To: Badrikesh 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=-1.2 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,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?= Observing boot failure on nanopi, if booted from external sd-card From FriendlyElec documentation, mmcblk2 is used as internal emmc, while mmcblk0 is used for external sd-card. Some nanopi's doesn't support emmc, instead uses ext sd for booting With this change it will allow booting from external sd-card. Also, the image can be copied to emmc to boot from emmc as well Signed-off-by: Badrikesh Prusty Acked-by: Felix Moessbauer --- meta-isar/scripts/lib/wic/canned-wks/nanopi-neo.wks.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) "-T default" --sourceparams "builtin_dt=yes" --label platform --align 1024 --active bootloader --append "rw rootwait" -- 2.39.2 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