From mboxrd@z Thu Jan 1 00:00:00 1970 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 4797FC00140 for ; Tue, 26 Jul 2022 14:12:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DE85B8418C; Tue, 26 Jul 2022 16:12:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="O6H7LK5i"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A415084196; Tue, 26 Jul 2022 16:12:21 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DDA6B8410B for ; Tue, 26 Jul 2022 16:12:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 49F21615F4; Tue, 26 Jul 2022 14:12:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C10EC433D6; Tue, 26 Jul 2022 14:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658844734; bh=wCaCQJ2CDk6uSpLdNDXSQ/xKUoWNcjWBRNS2WM+/DUw=; h=From:To:Cc:Subject:Date:From; b=O6H7LK5iXmtar9PUCAQILJsQCYvnG/yaR3Dc49Nb8GhtUMGG2s9rGF5p6BuOtH5vz 2cD0uOSnJZdlKhATA19Pi9Jea8aXwOtazi3EyrW+edoFOfCUnjD0vgbXGW9nLqiqC/ 9oqgwPjF7iPZIJc7zxKbdObXVDJdkQqdo3Ez5jxCFKcEaDMg8n1bFsKuqnbo1Y5rJP NuUqG5termpiEZRPcr781cQ5O3KfGb1B61yMo1Oj4YUGbnO4c+jiAuLRJVTSMACWQ6 7p3L616Z6ytWWnkuVW5JMAkQ0WFxJHlLnF9kLerl5mRHPEXyvfm35+3Y9jAlpnNyxy MV13IfOykx7Qw== Received: by pali.im (Postfix) id 7EDE282D; Tue, 26 Jul 2022 16:12:11 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Stefan Roese , Michal Simek , Simon Glass Cc: u-boot@lists.denx.de Subject: [PATCH 0/4] cmd: mvebu/bubt: Improvements for image verification Date: Tue, 26 Jul 2022 16:11:55 +0200 Message-Id: <20220726141159.19774-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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.6 at phobos.denx.de X-Virus-Status: Clean This patch series improves verification of bootable Marvell Armada images in U-Boot bubt command before flashing into boot location. Pali Rohár (4): cmd: mvebu/bubt: Verify image type for all 32-bit Aramda SoCs and Armada 3700 cmd: mvebu/bubt: Correctly propagate failure during tftp transport cmd: mvebu/bubt: Add support for sha512 checksum validation for Armada 3700 cmd: mvebu/bubt: Fix cmd main return value on error cmd/mvebu/Kconfig | 1 + cmd/mvebu/bubt.c | 98 +++++++++++++++++++++++++++++++---------------- 2 files changed, 67 insertions(+), 32 deletions(-) -- 2.20.1