Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4C242C7619A for ; Sat, 8 Apr 2023 20:45:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B287885E82; Sat, 8 Apr 2023 22:45:19 +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="XgBskdpz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D146485E7D; Sat, 8 Apr 2023 22:45:17 +0200 (CEST) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 6D3F985AA2 for ; Sat, 8 Apr 2023 22:45:14 +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-pj1-x1035.google.com with SMTP id c10-20020a17090abf0a00b0023d1bbd9f9eso4186877pjs.0 for ; Sat, 08 Apr 2023 13:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1680986712; x=1683578712; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=o+vUD92q0lgusi81vY+g7zQAlKZ5sh221aUyhjZ32xU=; b=XgBskdpz5EHnZHXSPxcXK0ZDAoxUlKYLGZBCehotiq1MOsENdwQxvaW9Yg1TwnGfSI 8hFb13CpX+LrYGfzfuE3hIKrqIJJgc9WpDE5x9Nv1esuzou4T/QlLkPw5YSyhrNONuii 8keZq6SZtGD0NSLA2kHUOSqRl8rLjbOo7JSQM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680986712; x=1683578712; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=o+vUD92q0lgusi81vY+g7zQAlKZ5sh221aUyhjZ32xU=; b=Kmdk+RRdObXIaBWzFNIly+FyW9VzrzW4HCX02cMXngBTgU2p81Ir2CoFFTRfSCaso/ AEjK0PORt6ewRTqrtLtS7Gy+ZbhpxR7kGTuyIP3AiAL8T732Vw9ZO6EngSmvYRAbqlE1 Y1YkP4qcHr0FM3B7Qd1jnDqCu9R7uKn9NyNwya51UJ8mwbbJopArkaZgy10l2bW35hKE +MIUJpg/YpwD4a+h7k6VMsnAGIGieNpLvjdX++OjahGpSj7DfLvRfUkLlx9QNVltjWmB u/ox/rZJFqyT22FsaVp9XhHKwbEb6OAad/JKTewPgAU+++8CdJ7PSiW48s3D6iSrFv+G OuBA== X-Gm-Message-State: AAQBX9fUffjmLlXV9QCzenjgh5yPlRwjHSdXjFanyNf+94vsvqlEqw8i EDtRVK2M+VvCWx2Oql7Rx85ZozP1jBjWGuATST8= X-Google-Smtp-Source: AKy350Y33Z26Q9zoMUnGzZu1bOBUyU8/HX3c5wHszrIH0NaSP7gSoNeuzEYL9oNE+Njx66WMg5DUiw== X-Received: by 2002:a17:90a:1911:b0:23a:5f51:6ee5 with SMTP id 17-20020a17090a191100b0023a5f516ee5mr8357554pjg.12.1680986712590; Sat, 08 Apr 2023 13:45:12 -0700 (PDT) Received: from localhost.localdomain ([27.110.126.54]) by smtp.gmail.com with ESMTPSA id s1-20020a17090ae68100b00234115a2221sm3973579pjy.39.2023.04.08.13.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Apr 2023 13:45:12 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mark Kettenis , Tom Rini , huang lin , Jeffy Chen , Simon Glass , Kever Yang , Philipp Tomsich , Vagrant Cascadian Subject: [PATCH v9 0/9] bootstd: Convert rockchip and add various fixes and tweaks Date: Sun, 9 Apr 2023 08:44:48 +1200 Message-Id: <20230408204457.2689812-1-sjg@chromium.org> X-Mailer: git-send-email 2.40.0.577.gac1e443424-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.8 at phobos.denx.de X-Virus-Status: Clean This series converts rockchip boards over to use standard boot. It also fixes various problems which have come up recently, showing differences between the current implementation and the distroboot scripts. This should get us closer to being able to turn down the scripts. Changes in v9: - Drop patches which enable BOOTSTD_DEFAULT Changes in v8: - Add new patch to adjust code ordering to work around compiler quirk - Add new patch to use blk uclass device numbers to set efi bootdev - Add cover letter Changes in v7: - Don't resync after defconfig changes Changes in v6: - Fix 'unable' typo - Add new patch to report missing labels only when asked - Add new patch to show a message sometimes if no bootflows are found - Redo patch for the new approach Changes in v5: - Add new patch to tweak bootflow logic for device tree - Add new patch to ensure PCI is set up first when using virtio - Add new patch to support booting EFI where multiple options exist - Drop patch to relax the argument requirements for bootflow scan Changes in v4: - Add back BOOT_TARGETS - Rebase to -next - Add new patch to use the same boot_targets for all boards Changes in v3: - Update rk3588 boards too Changes in v2: - Add new patch to move rockchip to standard boot Mathew McBride (1): bootstd: Use blk uclass device numbers to set efi bootdev Simon Glass (8): bootstd: Tweak bootflow logic for device tree virtio: Ensure PCI is set up first bootstd: Support booting EFI where multiple options exist bootstd: Report missing labels only when asked bootstd: Show a message sometimes if no bootflows are found bootstd: Adjust code ordering to work around compiler quirk rockchip: Move to standard boot rockchip: Use the same boot_targets for all boards boot/bootdev-uclass.c | 37 +++++++++++++----- boot/bootmeth_efi.c | 49 +++++++++++++++--------- cmd/bootflow.c | 3 ++ drivers/virtio/virtio-uclass.c | 6 +++ include/bootdev.h | 2 +- include/configs/px30_common.h | 3 +- include/configs/rk3036_common.h | 4 +- include/configs/rk3066_common.h | 4 +- include/configs/rk3128_common.h | 3 +- include/configs/rk3188_common.h | 4 +- include/configs/rk322x_common.h | 4 +- include/configs/rk3288_common.h | 4 +- include/configs/rk3308_common.h | 3 +- include/configs/rk3328_common.h | 3 +- include/configs/rk3368_common.h | 6 +-- include/configs/rk3568_common.h | 5 +-- include/configs/rk3588_common.h | 5 +-- include/configs/rockchip-common.h | 62 ------------------------------- include/configs/rv1108_common.h | 2 +- test/boot/bootdev.c | 12 +++--- 20 files changed, 90 insertions(+), 131 deletions(-) -- 2.40.0.577.gac1e443424-goog