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 4DBB2EB64D8 for ; Wed, 14 Jun 2023 12:49:52 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 507F186140; Wed, 14 Jun 2023 14:49:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de 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" (1024-bit key; unprotected) header.d=phytec.de header.i=@phytec.de header.b="AsOA4rp9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 11C4685EEF; Wed, 14 Jun 2023 09:12:39 +0200 (CEST) Received: from mickerik.phytec.de (mickerik.phytec.de [91.26.50.163]) (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 82AE586040 for ; Wed, 14 Jun 2023 09:12:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=phytec.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Y.Moog@phytec.de DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a4; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1686726750; x=1689318750; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TbgNb+Ahrp0jYomWH4sz/gxHJ6cbU7zsEG8I2mma4wI=; b=AsOA4rp9fzv3A8dSz+dBGo1en2mfFl9Y6P8RLnMGY9Wv1h4XJKGAHPFcmFrjFld9 aYabrTqcHDdiw7BhwXvgE98AP3aYcAWF07UddZg66JVIfxYrGpC2PbfkBVop+s6D X57RoFU2IKOA6nbIgEMqEPdg8bB9XcPC4QCP5coUX+k=; X-AuditID: ac14000a-917fe70000007ecb-93-6489685ebf56 Received: from berlix.phytec.de (Unknown_Domain [172.25.0.12]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 10.3F.32459.E5869846; Wed, 14 Jun 2023 09:12:30 +0200 (CEST) Received: from lws-moog.phytec.de (172.25.0.11) by Berlix.phytec.de (172.25.0.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Wed, 14 Jun 2023 09:12:29 +0200 From: Yannic Moog To: Stefano Babic , Fabio Estevam CC: "NXP i . MX U-Boot Team" , Teresa Remmet , , Subject: [PATCH 2/2] doc: board: phytec: add phycore_imx8mp Date: Wed, 14 Jun 2023 09:12:20 +0200 Message-ID: <20230614071220.49605-2-y.moog@phytec.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230614071220.49605-1-y.moog@phytec.de> References: <20230614071220.49605-1-y.moog@phytec.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.25.0.11] X-ClientProxiedBy: Berlix.phytec.de (172.25.0.12) To Berlix.phytec.de (172.25.0.12) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrBLMWRmVeSWpSXmKPExsWyRpKBRzcuozPFoOk4t8XDq/4W7ad8LN7u 7WS3mPJ4PbtF9zt1B1aPebNOsHjsnHWX3ePsnR2MHv3dLaweG9/tYApgjeKySUnNySxLLdK3 S+DKOPdmJUtBp2DFnpmPWRoYO/i6GDk5JARMJBr/3GLpYuTiEBJYwiSxdd4/dgjnEaNE06FJ jCBVbAIqEo9f3GMFsUUE3CS2PDnDDFLELNDFKHHy/W5mkISwgLXEjYO9LCA2i4CqxLnO42Bx XgFTiQt7FjNDrJOX2H/wLJjNKWAmcerOLXYQWwiopmf5PRaIekGJkzOfgNnMQPXNW2czQ9gS EgdfvGCGqJeVeHG+lx1m5rRzr6Hmh0ps/bKdaQKj0Cwko2YhGTULyagFjMyrGIVyM5OzU4sy s/UKMipLUpP1UlI3MYJCX4SBawdj3xyPQ4xMHIyHGCU4mJVEeJ9qtKcI8aYkVlalFuXHF5Xm pBYfYpTmYFES573fw5QoJJCeWJKanZpakFoEk2Xi4JRqYJwudONvkcvepZ+NLl49Yp+W+WPJ 2Qnza176smXr/eLMCPxzMTH10e7EjCaHAFWmj0qf7908Z8YbuHAN05yLRY7bpL6t/u/Vfp3Z +eaqy+XFa1vLN4qGsVgxX67OiN1Vlb7c0+f/ir9nD+saR+41val6LOF64fo1S6Y8E/5uv8Fo 6u9p+/j3VD1WYinOSDTUYi4qTgQAMMDPEWsCAAA= X-Mailman-Approved-At: Wed, 14 Jun 2023 14:49:30 +0200 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 Add documentation on how to build a bootable U-Boot image for the PHYTEC phyCORE-i.MX 8M Plus. Signed-off-by: Yannic Moog --- doc/board/phytec/index.rst | 1 + doc/board/phytec/phycore-imx8mp.rst | 60 +++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 doc/board/phytec/phycore-imx8mp.rst diff --git a/doc/board/phytec/index.rst b/doc/board/phytec/index.rst index 30292d0d76..a5b442045e 100644 --- a/doc/board/phytec/index.rst +++ b/doc/board/phytec/index.rst @@ -7,3 +7,4 @@ PHYTEC :maxdepth: 2 phycore-imx8mm + phycore-imx8mp diff --git a/doc/board/phytec/phycore-imx8mp.rst b/doc/board/phytec/phycore-imx8mp.rst new file mode 100644 index 0000000000..fda751aeff --- /dev/null +++ b/doc/board/phytec/phycore-imx8mp.rst @@ -0,0 +1,60 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +phyCORE-i.MX 8M Plus +==================== + +The phyCORE-i.MX 8M Plus with 2GB of main memory is supported. + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get ddr firmware +- Build U-Boot +- Boot + +Build the ARM Trusted firmware binary +------------------------------------- + +.. code-block:: bash + + $ git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git + $ cd trusted-firmware-a + $ export CROSS_COMPILE=aarch64-linux-gnu + $ export IMX_BOOT_UART_BASE=0x30860000 + $ make PLAT=imx8mp bl31 + +Get the ddr firmware +-------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.19.bin + $ chmod +x firmware-imx-8.19.bin + $ ./firmware-imx-8.19.bin + +Build U-Boot for SD card +------------------------ + +Copy binaries +^^^^^^^^^^^^^ + +.. code-block:: bash + + $ cp /build/imx8mp/release/bl31.bin . + $ cp firmware-imx-8.19/firmware/ddr/synopsys/lpddr4*.bin . + +Build U-Boot +^^^^^^^^^^^^ + +.. code-block:: bash + + $ make phycore-imx8mp_defconfig + $ make flash.bin + +Flash SD card +^^^^^^^^^^^^^ + +.. code-block:: bash + + $ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=sync -- 2.34.1