From patchwork Sun Jun 25 23:43:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alison Chaiken X-Patchwork-Id: 780563 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wwqQc3ckZz9s4q for ; Mon, 26 Jun 2017 10:18:16 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 47054C21ECE; Mon, 26 Jun 2017 00:11:40 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3B168C21E7B; Mon, 26 Jun 2017 00:11:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E9FFFC21E3A; Sun, 25 Jun 2017 23:43:45 +0000 (UTC) Received: from bonnet.exerciseforthereader.org (173-228-89-192.dsl.static.fusionbroadband.com [173.228.89.192]) by lists.denx.de (Postfix) with ESMTP id 58AEEC21D7B for ; Sun, 25 Jun 2017 23:43:39 +0000 (UTC) Received: by bonnet.exerciseforthereader.org (Postfix, from userid 1000) id C2F33A05A2; Sun, 25 Jun 2017 16:43:37 -0700 (PDT) From: alison@peloton-tech.com To: u-boot@lists.denx.de Date: Sun, 25 Jun 2017 16:43:20 -0700 Message-Id: <1498434205-21115-5-git-send-email-alison@peloton-tech.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1498434205-21115-1-git-send-email-alison@peloton-tech.com> References: <20170618110845.1E50B120250@gemini.denx.de> <1498434205-21115-1-git-send-email-alison@peloton-tech.com> Cc: trini@konsulko.com, alison@she-devel.com, alison@peloton-tech.com Subject: [U-Boot] [PATCH v7 4/9] sandbox: README: fix partition command invocation X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Alison Chaiken The instructions for creating a disk image that are presently in README.sandbox fail because sfdisk doesn't know about GPT. Changes since v6: none. Signed-off-by: Alison Chaiken --- board/sandbox/README.sandbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox index 02d8ab3..9dc2eb0 100644 --- a/board/sandbox/README.sandbox +++ b/board/sandbox/README.sandbox @@ -333,7 +333,7 @@ the contents of the root directory on the second partion of the image A disk image can be created using the following commands: $> truncate -s 1200M ./disk.raw -$> echo -e "label: gpt\n,64M,U\n,,L" | /usr/sbin/sfdisk ./disk.raw +$> echo -e "label: gpt\n,64M,U\n,,L" | /usr/sbin/sgdisk ./disk.raw $> lodev=`sudo losetup -P -f --show ./disk.raw` $> sudo mkfs.vfat -n EFI -v ${lodev}p1 $> sudo mkfs.ext4 -L ROOT -v ${lodev}p2