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 9206CC77B7C for ; Sun, 28 May 2023 19:19:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8A84985813; Sun, 28 May 2023 21:18:28 +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="L4+azbjV"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 86B3783FEE; Sun, 28 May 2023 21:18:20 +0200 (CEST) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 799AD8575B for ; Sun, 28 May 2023 21:18:13 +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-xd30.google.com with SMTP id ca18e2360f4ac-76c791e2d8dso223485039f.3 for ; Sun, 28 May 2023 12:18:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685301492; x=1687893492; 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=mBLdhozni5VhY2C2glRwJXNBOeBikkJnl8TO8mk9By0=; b=L4+azbjVnU/XwSJMGjzxOL/DOPTSkSNpkF5bhXGcdiGiYrrWsACMlkqsyebPVajG88 RW66gNbU1H4A5Iv9rTJnWiilMyKK3qdvIZiIyyzTEvkUJpufNf/tIOniod/ggVmfkN98 IrTwVRA6YvpcgGHJO4O22hLSGHXb+BcctNxH01LrIXzxvXMdpbnrzdVRJvk0QKPsIe8c tjDYCl7hCJL1rkSp4UlbPHY/MZ6l4g5gqYNSMvZhWvuXfGOGrP4ULqE2go0AR8bXMoYh 88PpuU/AIIJJDpFreof6LKSbHS2GI/KDw4M/P2u2BZgz8szJIdXdjuKt7xiGLCkg3MQM OW7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685301492; x=1687893492; 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=mBLdhozni5VhY2C2glRwJXNBOeBikkJnl8TO8mk9By0=; b=lJ5FtRnXo8eA5+aX+4GtgiljD8w1oGwn8NJMZXGkRqt+MNRhBiXbjf6kO82qScpOda sYrKMIxoiOyer1zKVyqRCu+2WuG86LLioKBKVl5E/db00xjYP+a8L32uJiiiKfoUqIsP qmO+NwFK4yFZCzfWJrrAMiVIeJxx8B0YKgxuBjBRCGYL8kmmoQi0RWsjtzk8Qj5KQRuy hrHBlR7Cq2uFEJfIJBJFtQXspxtonJkJSLq7yrmwu4i6CahG9qZ9p5OG4NvPw6WlplKs qL3d6msW9HA8uMgv99aSb1KxlxYzwiGXmzIHofwBwNET+xjTNbtJthQsLpLwSTq4rxuI BWGA== X-Gm-Message-State: AC+VfDx6/k+avs+2pPqn/fw2UcPj5excM9KzxF/w317WHgJ58MmtpnpS zS9aBmcZBIWLkUNWp3SY8WKgyIGv8SQ= X-Google-Smtp-Source: ACHHUZ7G4+pQ/Sr1SkujXiwGN25ySR8huKJ8trWlWAO9qE/TDpzgq9YxoD7CPhXHqOl+73szlvBffw== X-Received: by 2002:a5e:a618:0:b0:73a:6c7f:c476 with SMTP id q24-20020a5ea618000000b0073a6c7fc476mr7682146ioi.16.1685301491715; Sun, 28 May 2023 12:18:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 May 2023 12:18:11 -0700 (PDT) From: Adam Ford To: u-boot@lists.denx.de Cc: trini@konsulko.com, aford@beaconembedded.com, Adam Ford Subject: [PATCH 4/5] imx8m: imx8mn-beacon: Migrate README to rst Date: Sun, 28 May 2023 14:18:03 -0500 Message-Id: <20230528191805.66713-4-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/imx8mn/README | 38 --------------------- doc/board/beacon/beacon-imx8mn.rst | 53 ++++++++++++++++++++++++++++++ doc/board/beacon/index.rst | 1 + 3 files changed, 54 insertions(+), 38 deletions(-) delete mode 100644 board/beacon/imx8mn/README create mode 100644 doc/board/beacon/beacon-imx8mn.rst diff --git a/board/beacon/imx8mn/README b/board/beacon/imx8mn/README deleted file mode 100644 index 49da03c8d8..0000000000 --- a/board/beacon/imx8mn/README +++ /dev/null @@ -1,38 +0,0 @@ -U-Boot for the Beacon EmbeddedWorks i.MX8M Nano 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=imx8mn bl31 CROSS_COMPILE=aarch64-linux-gnu- -$ cp build/imx8mn/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 imx8mn_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=32 - -Boot -==== -Set baseboard DIP switch: -S17: 1100XXXX diff --git a/doc/board/beacon/beacon-imx8mn.rst b/doc/board/beacon/beacon-imx8mn.rst new file mode 100644 index 0000000000..bb4a86369b --- /dev/null +++ b/doc/board/beacon/beacon-imx8mn.rst @@ -0,0 +1,53 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +U-Boot for the Beacon EmbeddedWorks i.MX8M Nano 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=imx8mn bl31 CROSS_COMPILE=aarch64-linux-gnu- + $ cp build/imx8mn/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 imx8mn_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=32 + +Boot +---- + +Set baseboard DIP switches for micoSD Card: +S17 (1:8): 1100xxxx diff --git a/doc/board/beacon/index.rst b/doc/board/beacon/index.rst index 8eba5e81cd..bf62b09fba 100644 --- a/doc/board/beacon/index.rst +++ b/doc/board/beacon/index.rst @@ -8,3 +8,4 @@ Beacon beacon-imx8mp beacon-imx8mm + beacon-imx8mn -- 2.39.2