From patchwork Sat Sep 2 17:14:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Massimo Pegorer X-Patchwork-Id: 1829126 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=FPR4DoWY; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RdM3N23Fbz1ygM for ; Sun, 3 Sep 2023 03:15:10 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B151886741; Sat, 2 Sep 2023 19:15:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FPR4DoWY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6758B86758; Sat, 2 Sep 2023 19:15:04 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 DCBA8866CF for ; Sat, 2 Sep 2023 19:15:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=massimo.pegorer+oss@gmail.com Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-31c8321c48fso565641f8f.1 for ; Sat, 02 Sep 2023 10:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693674901; x=1694279701; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=oLTUk3sfwEKdrnKVYSVf55XuUxs1fKx07R33W5O6ie8=; b=FPR4DoWY1EWdLXi8oUiw0hBHwn+joc/nq06p8JQ8zS9PYq6v5yiDZFhksrHxsZ6lob TQ1mu+2kX8JY6wvyD1Ioc/3IeObVwWdi19DGxdqqHEoEbETqceJp1YI4Hc2mc6uznkjh e++YihOWoZuXbbmBiHn4JumHo1qoLIRPCJQVKpqR2Yafaepygg8N5/eVpUshk9tj0i1S y3VIW3vLzB3bKsw3cKzL1jYvrRpw8wHoOm+1Rvlg5ytgoVMVt9EZCrZvTY2n2+FPxVri DKACQbYiQWjjkvPj/xQUL6YEsRdNDkAx5irHUQ2I0/syqjrzCcaA2YbdLhDSEQESuzFP Benw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693674901; x=1694279701; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=oLTUk3sfwEKdrnKVYSVf55XuUxs1fKx07R33W5O6ie8=; b=PsvL449kUvaEB5Pn3qZxtGBWDAEy2d2G7CS55dkI4GrN6iPJX6PLsLpc1ymOi9FyZy dBBN3VQJAkoMrJA83ryKbQIL6WUPQFfusm1b+qEtX+K0aJCF7C8kdAcS8N58uKqVr8+T jt7mc1JY7IIEaZa6ddQYY5MOjbKBD7K5xTccbpnyOMp1jZrPN3tkGbnaV1wk7TXBmdFp Db7Q7nO4fz2vPx00HQ7WUkgEDMDm5mQIheyb4MM8mMTSjkXliphF8JEFT5cmPZi0b9ka lYUFXC8xfQXjrNFEcuKtrm7YwD/8Nfgbu9OtNZ1Rc4s7dm6uuKmDJWEZXZbDg1ALNzal XiAg== X-Gm-Message-State: AOJu0Yzj+eH3aCGANI0qh9sxepvXngWmte4Z8fgW7GhDle4/7+BmiIHc hh9g2KxEKxdkkamvu+RRnvA5bEM/obDhjw== X-Google-Smtp-Source: AGHT+IEOWtHlVnmB8LBg3Ja24004VITxh6qx4drVDQWJrvsJ1IwM7ju9L0dYA064ITZtiYYeYZeHuA== X-Received: by 2002:a05:6000:1291:b0:315:a235:8aa8 with SMTP id f17-20020a056000129100b00315a2358aa8mr6527853wrx.2.1693674901187; Sat, 02 Sep 2023 10:15:01 -0700 (PDT) Received: from pegmas-T15.fritz.box ([151.71.185.187]) by smtp.gmail.com with ESMTPSA id m13-20020a7bce0d000000b003fed630f560sm8562841wmc.36.2023.09.02.10.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Sep 2023 10:15:00 -0700 (PDT) From: Massimo Pegorer To: u-boot@lists.denx.de, Akash Gajjar , Andy Yan , Kever Yang , FUKAUMI Naoki , Jayantajit Gogoi Cc: Massimo Pegorer Subject: [PATCH 1/2] configs: rockchip: add DOS_PARTITION to rock-pi-s defconfig Date: Sat, 2 Sep 2023 19:14:48 +0200 Message-Id: <20230902171448.351737-1-massimo.pegorer+oss@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case so add DOS_PARTITION (only for U-Boot proper build) to ROCK Pi S defconfig. Reported-by: Jayantajit Gogoi Signed-off-by: Massimo Pegorer --- configs/rock-pi-s-rk3308_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/rock-pi-s-rk3308_defconfig b/configs/rock-pi-s-rk3308_defconfig index cc3274a98b..1c1fdc6611 100644 --- a/configs/rock-pi-s-rk3308_defconfig +++ b/configs/rock-pi-s-rk3308_defconfig @@ -48,7 +48,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_ITEST is not set # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_SLEEP is not set -# CONFIG_DOS_PARTITION is not set +# CONFIG_SPL_DOS_PARTITION is not set # CONFIG_ISO_PARTITION is not set CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64 CONFIG_SPL_OF_CONTROL=y From patchwork Sat Sep 2 17:15:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Massimo Pegorer X-Patchwork-Id: 1829127 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=j+FTyxeS; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RdM3d0fwLz1ygM for ; Sun, 3 Sep 2023 03:15:25 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 05A938678A; Sat, 2 Sep 2023 19:15:23 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="j+FTyxeS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BED70866CF; Sat, 2 Sep 2023 19:15:21 +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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) (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 3DC708679F for ; Sat, 2 Sep 2023 19:15:19 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=massimo.pegorer+oss@gmail.com Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-401b393ddd2so1308235e9.0 for ; Sat, 02 Sep 2023 10:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693674918; x=1694279718; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=eh4HtzuNxc18n3xpzZnm3op/HPcb2OOJKYN3E7ovhLU=; b=j+FTyxeSavK1l0HBsII3Euy/BbVqmuSLYisLBSLZwxL5ZU4cHZDyZHjjN7o6AUR0pW qkfIG8HdEui4fTgn2n57z0g/PtvSK9LPb3RZ4Jpr9t+IUgdq2fSMUhROu70isb8Wnjl5 4XcDgNthb4UN+dHRvfGH/1R+Eolq62WsOsEqeEE6im5nSWJ6qf546oE27sxMtr747C6r BDqNlKlp0XcoaNJkqYKQ95R/oBvNwp7zD4AP6BhdptB56BrPd0w2PhlRpMAkn4ZE11HG JSexPU5dylzCgHTml0BqowKKY84mMqpubs+3gQ+EQRH3erW8y8ZZxj5I8RIItZqqsXV+ cdaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693674918; x=1694279718; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=eh4HtzuNxc18n3xpzZnm3op/HPcb2OOJKYN3E7ovhLU=; b=eFrmWdO8IMF69lI/dXyu/PR0+9j1D+g9a4UGMaM+X09evItSw5QiiQ0OKcgUtadg4a Jo7U/9+LqX4ySKnwJdViszpJskkgtHZutwSJsPL7u2Vovbz9c4Ajq+8DM4R3AjVYRhOh ILU3fF6hDJgihxN3Y+6EcAd90LVjBrdqsvQXnLyALwhCR2fJhuIwCteNaSsXl+45DbKw /Ep2AJ2FvjIgku6XB+OiI2E4PAEm0sJcoyqqKGWRweldP9PZpBGH1VEgbDaCm98hzTMb EFzvLy2WR9M0O1PXkgqVoNW/RXMfvRK6wTrPF+L4jTmv3aCRu6wjrZxdJrzeIS0/hJ9R 1RKw== X-Gm-Message-State: AOJu0Yy7i5zcD4sQRL9PMBBrB8R/38cq5qlUXbrixxstvkcccKGTcFNx QNx7L8cK1hm8yFt9i319fpx/yPQ6Uym+7w== X-Google-Smtp-Source: AGHT+IEbwQLGGETeNGBdSli9tGI5nhvpK+cBcageGLr865OprI7ybWuDUoZ1oxRIIIvYhPBeZRqTlw== X-Received: by 2002:adf:de0f:0:b0:317:cdc4:762e with SMTP id b15-20020adfde0f000000b00317cdc4762emr3978623wrm.63.1693674918518; Sat, 02 Sep 2023 10:15:18 -0700 (PDT) Received: from pegmas-T15.fritz.box ([151.71.185.187]) by smtp.gmail.com with ESMTPSA id l4-20020a5d4804000000b0031c56218984sm9042994wrq.104.2023.09.02.10.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Sep 2023 10:15:18 -0700 (PDT) From: Massimo Pegorer To: u-boot@lists.denx.de, Akash Gajjar , Andy Yan , Kever Yang , FUKAUMI Naoki , Jayantajit Gogoi Cc: Massimo Pegorer Subject: [PATCH 2/2] configs: rockchip: add DOS_PARTITION to RK3308 boards defconfig Date: Sat, 2 Sep 2023 19:15:07 +0200 Message-Id: <20230902171507.351774-1-massimo.pegorer+oss@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 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 Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case, so add DOS_PARTITION (only for U-Boot proper build) to Rockchip RK3308 EVB and Firefly roc-rk3308-cc board: they are the only RK boards missing of DOS_PARTITION. Signed-off-by: Massimo Pegorer --- configs/evb-rk3308_defconfig | 2 +- configs/roc-cc-rk3308_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/evb-rk3308_defconfig b/configs/evb-rk3308_defconfig index a13a809c1e..c6472a2c9c 100644 --- a/configs/evb-rk3308_defconfig +++ b/configs/evb-rk3308_defconfig @@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_ITEST is not set # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_SLEEP is not set -# CONFIG_DOS_PARTITION is not set +# CONFIG_SPL_DOS_PARTITION is not set # CONFIG_ISO_PARTITION is not set CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64 CONFIG_SPL_OF_CONTROL=y diff --git a/configs/roc-cc-rk3308_defconfig b/configs/roc-cc-rk3308_defconfig index 9a789b212f..ca92b8f744 100644 --- a/configs/roc-cc-rk3308_defconfig +++ b/configs/roc-cc-rk3308_defconfig @@ -47,7 +47,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y # CONFIG_CMD_ITEST is not set # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_SLEEP is not set -# CONFIG_DOS_PARTITION is not set +# CONFIG_SPL_DOS_PARTITION is not set # CONFIG_ISO_PARTITION is not set CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64 CONFIG_SPL_OF_CONTROL=y