From patchwork Thu Aug 19 03:40:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1518337 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; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=PUmiJENf; 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 4GqrCG2hNKz9sW8 for ; Thu, 19 Aug 2021 13:40:58 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D76D82DE8; Thu, 19 Aug 2021 05:40:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org 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; unprotected) header.d=chromium.org header.i=@chromium.org header.b="PUmiJENf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C103682EBD; Thu, 19 Aug 2021 05:40:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0:4864:20::336]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id F21DD82DBC for ; Thu, 19 Aug 2021 05:40:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-ot1-x336.google.com with SMTP id c19-20020a9d6153000000b0051829acbfc7so6955392otk.9 for ; Wed, 18 Aug 2021 20:40:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sg6bG5vz4/bH0CDlTMyYG7ykSKbhdsAMHpFmNV8Ogd0=; b=PUmiJENf6KU4y06qfcavyeTMv1KQtu4FkgxaAix6jzbm5E6X6D1kYXF8JVOWzbrpWQ J2Ukq4iWJc4lGbMDScsieyhHFNAXaTUV0uh+6NPxBfYl3k8VWU413EanAhO449MBCDOf GK4FD6ZORKoO1WWHrpuNOA3Nj0US8IovGCYsQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sg6bG5vz4/bH0CDlTMyYG7ykSKbhdsAMHpFmNV8Ogd0=; b=G5lJehdx7rBDA2vTBgKh8u2F0CAWd5t9C2wfKjXT/h6ZyJ/CGLV13P2xATqdPTKptU 7PhjHX7O/6xWw/SJFVplsuuAmLe11VWLf36D4Fp4ZESaJUD0gh7oONChUHGWYWSKQFPF 3BT3F5MsE9rG3C+xxB9CGLdXMxOw+Qlu9XUMFGZiqo+FO5OpojvsIwx10rfbIQ2cx3MU yKm1crW3MGX0deb2A9BVmoTr8pIT1WHLA8vcNKYiJPvD9OCUKiFSCu96Rc2wtJ2cs2oM e4Cw1/MVDvDz5DewpIT6MEA4L5gWRMu6tnpUxnP8eqIn2a7Bt5pZo5O3u84/sKnUmuJW mxiQ== X-Gm-Message-State: AOAM533NxWkstdxtgIAD1dmzd+nlpQmId6NQ86x4fqQptenFCnl1UrkC LQsjUwhkavmUEwt+u0pA4Uwb6KY48p7PZg== X-Google-Smtp-Source: ABdhPJzpNDttK7kKjv3wBdRLOsR7qty7NTH0PEWTM6vRy+l/H0CL1ZMGZns8rd+kFxWckGZk64/jWA== X-Received: by 2002:a9d:17c2:: with SMTP id j60mr10339713otj.128.1629344439992; Wed, 18 Aug 2021 20:40:39 -0700 (PDT) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id q27sm415877oof.12.2021.08.18.20.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Aug 2021 20:40:39 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Simon Glass , Bin Meng , Claudiu Manoil , Dario Binacchi , Etienne Carriere , Heiko Schocher , Heinrich Schuchardt , Jaehoon Chung , Jean-Jacques Hiblot , Joao Marcos Costa , Kory Maincent , Marek Behun , Marek Vasut , Michael Walle , Miquel Raynal , Patrick Delaunay , Pavel Herrmann , Peng Fan , Philippe Reynes , Qu Wenruo , Sean Anderson , Sean Anderson , Thomas Petazzoni , =?utf-8?q?Vincent_Stehl?= =?utf-8?q?=C3=A9?= , Walter Lozano , linux-btrfs@vger.kernel.org Subject: [PATCH 00/11] sandbox: Minor fixes and improvements Date: Wed, 18 Aug 2021 21:40:22 -0600 Message-Id: <20210819034033.1617201-1-sjg@chromium.org> X-Mailer: git-send-email 2.33.0.rc1.237.g0d66db33f3-goog MIME-Version: 1.0 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.103.2 at phobos.denx.de X-Virus-Status: Clean This series collects a few patches that correct and improve sandbox and sandbox_spl: - Fix a bug in --rm-memory works - Support an MMC backing file for MMC emulator, to allow filesystems to be used without needing the 'host' filesystem - Allow skipping console output when checking verbose commands - Suppress unwanted filesystem warnings when probing partitions - Tidy up a few comments Simon Glass (11): dtoc: Further improve documentation about warnings sandbox: Correct handling of --rm_memory sandbox: Add license headers to the dts files btrfs: Suppress the message about missing filesystem sqfs: Suppress the message about missing filesystem test: Tidy a comment in the bloblist test dm: core: Fix a few incorrect comments on first/next functions sandbox: Add a way to find the size of a file sandbox: Add a way to map a file into memory sandbox: mmc: Support a backing file test: Add a way to skip console checking until a string matches arch/sandbox/cpu/os.c | 52 +++++++++-- arch/sandbox/dts/overlay0.dts | 5 ++ arch/sandbox/dts/overlay1.dts | 5 ++ arch/sandbox/dts/sandbox.dts | 5 ++ arch/sandbox/dts/sandbox.dtsi | 1 + arch/sandbox/dts/sandbox64.dts | 4 + arch/sandbox/dts/test.dts | 9 ++ doc/develop/driver-model/of-plat.rst | 92 +++++++++++++++++++- doc/device-tree-bindings/mmc/sandbox,mmc.txt | 18 ++++ drivers/mmc/sandbox_mmc.c | 46 ++++++++-- fs/btrfs/disk-io.c | 8 +- fs/squashfs/sqfs.c | 2 +- include/dm/device.h | 4 +- include/dm/uclass.h | 2 +- include/os.h | 21 +++++ include/test/ut.h | 24 +++++ test/bloblist.c | 2 +- test/ut.c | 26 ++++++ 18 files changed, 299 insertions(+), 27 deletions(-) create mode 100644 doc/device-tree-bindings/mmc/sandbox,mmc.txt