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 036FEC4332F for ; Tue, 20 Dec 2022 18:38:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 28DEE8533F; Tue, 20 Dec 2022 19:38:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.com 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=collabora.com header.i=@collabora.com header.b="KgcG98Qp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 10E328533F; Tue, 20 Dec 2022 19:38:36 +0100 (CET) Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) (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 9969085174 for ; Tue, 20 Dec 2022 19:38:33 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=martyn.welch@collabora.com Received: from pan.home (unknown [IPv6:2a00:23c6:c311:3401:be81:c5f8:bf74:3e79]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: martyn) by madras.collabora.co.uk (Postfix) with ESMTPSA id D15736602CAC; Tue, 20 Dec 2022 18:38:32 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1671561513; bh=TWVx5lLMtOjslcugzgdNn07m/883TjCihVlH3I3+6vM=; h=From:To:Cc:Subject:Date:From; b=KgcG98QpIWhSFU0BV2lVhj66qhLht8HUlc4iDg5q4/ReSamXTHIRCL6kLBYoQlRSa tHTeLLBhgiZi8hNvHa2HnQS8zpSLNHsCowUtsTmq+n9TBYYZoly5322qyeGARC1qco 9ge+Asc+pTgaUNmmadY3kwaufZnT0ai6m/P3jzZx4deCBOnxR+38DclLK8+Rmt7wds 2UFzJz7reuOSIkLJDavPAjL+nJyYg3YL+JNZfsTuVAZpDa+7uMZCAoqiNl7TY1W5iU uGMnmMhZVLk94VLCPG+Kaci6UR1FuZDoHJCCVXCnwX0OLvFuEuUqnTSCfIuqTbiSll A8JN/AEXq17rw== From: Martyn Welch To: Dave Gerlach Cc: u-boot@lists.denx.de, Martyn Welch Subject: [PATCH 0/2] Enable distroboot as a boot option for am62x Date: Tue, 20 Dec 2022 18:38:17 +0000 Message-Id: <20221220183819.515667-1-martyn.welch@collabora.com> X-Mailer: git-send-email 2.35.1 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.6 at phobos.denx.de X-Virus-Status: Clean The am62x config currently doesn't enable distroboot as an option for booting. Add this as a further option after the existing mechanisms have failed. Whilst working on this it was found that boot detection was failing on the am625-sk when attempting to boot from raw offsets on an SD card. Boot mode is updated to correctly detect the boot mode from the SoC boot config. Martyn Welch (2): arm64:mach-k3 am625_init: Correct boot mode detection configs: Enable distroboot on am625 arch/arm/mach-k3/am625_init.c | 19 +++++++++---------- configs/am62x_evm_a53_defconfig | 2 +- include/configs/am62x_evm.h | 26 +++++++++++++++++++++++++- 3 files changed, 35 insertions(+), 12 deletions(-) -- 2.35.1