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 E994FC77B7C for ; Sun, 28 May 2023 19:18:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B42B6857A3; Sun, 28 May 2023 21:18:18 +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=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="M/RxQArh"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 92B69857A3; Sun, 28 May 2023 21:18:15 +0200 (CEST) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 0153C84791 for ; Sun, 28 May 2023 21:18:10 +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=aford173@gmail.com Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-77480507360so77448339f.3 for ; Sun, 28 May 2023 12:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685301489; x=1687893489; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=XJ/Jgc5J1LwE1/a4pf1LEa3p/GIGV6fkmQNs3HhklYY=; b=M/RxQArhZe/7uW7LT4e1PF7ZjDY9SsbgA7UPOaFFqqPbvP6plp/TiGia7/S+qd9NzS DMl97K00VMr76gOTtA9mvPc/4GQOR9rBZoje4WH4r/6Loh0XXJdze46rOQsWBjqPtp9T 9C2Gw7cny4cfTYFDBetF02I0tVKTQ7rOlqIZeEXar5lsjAJPIzg1S7aveXDf8ngbDASl ioB9X1ymOzTGo1cJK2IAnZ4eZRXdGiOpcCqpbS0hWf3wIZUqlA36CWoS+QGAgTokAGi6 Ti/EaoC9WK9xCbff0Ni/lRv8s/AjS3MUZ6kzCb6wMeIYk2QGc5E9OiilXZDeSEW+jroK G1cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685301489; x=1687893489; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XJ/Jgc5J1LwE1/a4pf1LEa3p/GIGV6fkmQNs3HhklYY=; b=QepTrCQLew6OYYCnXRktS0258FzFy5HZNJPgk0kcAx2EJiaN7ZS912sI4Cwv4LqRyg cqOSWOMSAldN8ekUsIKLWVTUOnuSqOWYAaopNjkcn6SMQXE/SxI+YPmlYb6/tnDY6QqF vARka0/p6RBu4ydlosXlxBmlO5NN7Bqkc8xEr/2xyy2r+IMA1HsmsTACa7hfPp4NnuLM /QTzYNxzBAIXk+lfUqEuLHpxqn3Q3c8zBjSck0O7/yGsgavRePY/deLzkG5UBp6l7I0U s+pvP59sOoHP+SZDHQL6xOQdLK1xClLJjUdIfpRjN3Clo3bQBOpbdnOHP0G2HxGhm6SN w7Cw== X-Gm-Message-State: AC+VfDzauepTIVgQPjbdMz66rnIscU3dI2rUshpd9Rdu0bE/5kXO1JYJ fo2kf/QC3AbNjXRqPATtVJIJ5JMCXuo= X-Google-Smtp-Source: ACHHUZ4X3nZMuZAbYw3GBvB2ZbpLIBqK4eZzMzKus8YjfGtAfdHBzO3kQmVPu4H+M8QxBGOYp+NeyA== X-Received: by 2002:a6b:f013:0:b0:760:e308:107e with SMTP id w19-20020a6bf013000000b00760e308107emr6287577ioc.0.1685301489202; Sun, 28 May 2023 12:18:09 -0700 (PDT) Received: from aford-B741.lan ([2601:447:d001:897f:9ca4:38c2:9b8e:2adc]) by smtp.gmail.com with ESMTPSA id u20-20020a5ec014000000b0076c872823b7sm2154061iol.22.2023.05.28.12.18.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 12:18:08 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: trini@konsulko.com, aford@beaconembedded.com, Adam Ford Subject: [PATCH 2/5] imx8m: imx8mm-beacon: Migrate README to rst Date: Sun, 28 May 2023 14:18:01 -0500 Message-Id: <20230528191805.66713-2-aford173@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230528191805.66713-1-aford173@gmail.com> References: <20230528191805.66713-1-aford173@gmail.com> 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 Since U-Boot builds HTML documentation, migrate the contents of the README file to an rst file which can generate the proper outputs. Signed-off-by: Adam Ford --- board/beacon/imx8mm/README | 37 -------------------- doc/board/beacon/beacon-imx8mm.rst | 55 ++++++++++++++++++++++++++++++ doc/board/beacon/index.rst | 1 + 3 files changed, 56 insertions(+), 37 deletions(-) delete mode 100644 board/beacon/imx8mm/README create mode 100644 doc/board/beacon/beacon-imx8mm.rst diff --git a/board/beacon/imx8mm/README b/board/beacon/imx8mm/README deleted file mode 100644 index 32b24bc03e..0000000000 --- a/board/beacon/imx8mm/README +++ /dev/null @@ -1,37 +0,0 @@ -U-Boot for the Beacon EmbeddedWorks Devkit - -Quick Start -=========== -- Build the ARM Trusted firmware binary -- Get ddr firmware -- Build U-Boot -- Boot - -Get and Build the ARM Trusted firmware -====================================== -Note: $(srctree) is U-Boot source directory - -$ git clone https://github.com/nxp-imx/imx-atf -$ git lf-5.10.72-2.2.0 -$ make PLAT=imx8mm bl31 CROSS_COMPILE=aarch64-linux-gnu- -$ cp build/imx8mm/release/bl31.bin $(srctree) - -Get the DDR firmware -==================== -$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.9.bin -$ chmod +x firmware-imx-8.9.bin -$ ./firmware-imx-8.9 -$ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree) - -Build U-Boot -============ -$ make imx8mm_beacon_defconfig -$ make CROSS_COMPILE=aarch64-linux-gnu- - -Burn U-Boot to microSD Card -=========================== -$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 - -Boot -==== -Set Boot switch to SD boot diff --git a/doc/board/beacon/beacon-imx8mm.rst b/doc/board/beacon/beacon-imx8mm.rst new file mode 100644 index 0000000000..8bf983bff7 --- /dev/null +++ b/doc/board/beacon/beacon-imx8mm.rst @@ -0,0 +1,55 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +U-Boot for the Beacon EmbeddedWorks i.MX8M Mini Devkit +====================================================== + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get DDR firmware +- Build U-Boot +- Burn U-Boot to microSD Card +- Boot + +Get and Build the ARM Trusted firmware +-------------------------------------- + +.. code-block:: bash + + $ git clone https://github.com/nxp-imx/imx-atf.git -b v2.6 + $ make PLAT=imx8mm bl31 CROSS_COMPILE=aarch64-linux-gnu- + $ cp build/imx8mm/release/bl31.bin ../ + +Get the DDR firmware +-------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.15.bin + $ chmod +x firmware-imx-8.15.bin + $ ./firmware-imx-8.15 + $ cp firmware-imx-8.15/firmware/ddr/synopsys/lpddr4*.bin . + +Build U-Boot +------------ + +.. code-block:: bash + + $ make imx8mm_beacon_defconfig + $ make CROSS_COMPILE=aarch64-linux-gnu- + +Burn U-Boot to microSD Card +--------------------------- + +.. code-block:: bash + + $ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 + +Boot +---- + +Set baseboard DIP switches for micoSD Card: +- S11 (1:8) 01101000 +- S10 (1:8) 11001000 +- S17 (1:8) 0110xxxx diff --git a/doc/board/beacon/index.rst b/doc/board/beacon/index.rst index 1fe1046a4c..8eba5e81cd 100644 --- a/doc/board/beacon/index.rst +++ b/doc/board/beacon/index.rst @@ -7,3 +7,4 @@ Beacon :maxdepth: 2 beacon-imx8mp + beacon-imx8mm -- 2.39.2