From patchwork Mon Jan 25 11:57:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heinrich Schuchardt X-Patchwork-Id: 1431165 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.a=rsa-sha256 header.s=badeba3b8450 header.b=LwCE4rXY; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DPT4M52Ccz9sVS for ; Mon, 25 Jan 2021 23:01:54 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8FA6882674; Mon, 25 Jan 2021 13:01:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=gmx.net header.i=@gmx.net header.b="LwCE4rXY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B69A082666; Mon, 25 Jan 2021 13:01:46 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id B2A5482666 for ; Mon, 25 Jan 2021 13:01:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=xypron.glpk@gmx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1611575840; bh=oym+YSXjvg63Zrt8tksB0zZYzyBzOWNcR3Y4VPp1eSc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=LwCE4rXYqSwhi8yew1cf9GnbGhz02Zj30Nqa2GEBQ/zw2vDMLO1exczFOVmRpm6Ei O9ZG8Zmo7AF8hLTWbftaTLXqtWxq6kpq8pWLIa3fqBL95FmjYQm/EDMXQIgJtPR3Mi eGrUQdYrwiC0JguBPY3BHfgwd8pqYlDluaQrudqI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from LT02.fritz.box ([62.143.246.89]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MNbkp-1lNaeZ2vpj-00P8uU; Mon, 25 Jan 2021 12:57:20 +0100 From: Heinrich Schuchardt To: Tom Rini Cc: Simon Glass , Andrii Anisov , Oleksandr Andrushchenko , Anastasiia Lukianenko , u-boot@lists.denx.de, Heinrich Schuchardt Subject: [PATCH 0/2] disk: part: sandbox support in dev_print() Date: Mon, 25 Jan 2021 12:57:13 +0100 Message-Id: <20210125115715.105568-1-xypron.glpk@gmx.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Provags-ID: V03:K1:HPCCzW+l7EMKoPW0A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wz5NxwifDpheRp5luqaEe5FpT8PbnnBYwd1uaF+DliZQOfHQ7bV5Bt9HIa8ez8iu O3TqumkDk8AeE5TF+SrQ== X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Without the series the fatinfo command shows an error for host file backed block devices: => host bind 0 ../sandbox.img => fatinfo host 0:1 Interface: Unknown Device 0: Unhandled device type: 9 Filesystem: FAT16 "NO NAME " => With the series reasonable information is shown: => host bind 0 ../sandbox.img => fatinfo host 0:1 Interface: Unknown Device 0: Vendor: U-Boot Rev: 1.0 Prod: hostfile Type: Removable Hard Disk Capacity: 128.9 MB = 0.1 GB (264190 x 512) Filesystem: FAT16 "NO NAME " => The "Interface:" line is created in file_fat_detectfs() and still needs to be fixed. Heinrich Schuchardt (2): sandbox: fill block device meta information disk: part: sandbox support in dev_print() disk/part.c | 1 + drivers/block/sandbox.c | 11 +++++++++++ 2 files changed, 12 insertions(+) --- 2.29.2