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 89B5AC001DB for ; Mon, 7 Aug 2023 13:43:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0285F831BE; Mon, 7 Aug 2023 15:43:02 +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="LvuwAuiB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2BDA0831BE; Mon, 7 Aug 2023 15:43:00 +0200 (CEST) Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) (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 18ED1807D6 for ; Mon, 7 Aug 2023 15:42:58 +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=festevam@gmail.com Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-1bb6d6b09d6so936037fac.1 for ; Mon, 07 Aug 2023 06:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691415777; x=1692020577; 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=LcC1fOEU9sx0tBFIE+DYs5S77VLAuVP5pVA5sPGFwnQ=; b=LvuwAuiB7SD+05FxLi92D2nL7Ps/uoQ1NKXt1+Znl0T6TbtN0g+8zghzrlfVN9216t j8mKW2IMivIYI6DWgs37bHnM3Yn5HAMUbVDPwqESBdz7nnXnsqQAU2l4SAvyzTU3W+Xt KzkFpVIkPO6vNYSXFbFhh7F1nTc+fVL46SEq7S/LOdHXgqQC+scc29z9xWr14fTaeSGc XZl1hsOOEogniwbnBFI/fPQviYLxXP7M6b8/UWdhctUvxt3sN6R5S695598nR9VkPYzQ hPWLT9uxVasbFEYuFDa/QvAmWveXJI20McAQfEJEMtSzcZV5T2qqQE6wGnjVTSOskEV+ Y+aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691415777; x=1692020577; 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=LcC1fOEU9sx0tBFIE+DYs5S77VLAuVP5pVA5sPGFwnQ=; b=fnddPqM75MnDkX3+UAq/cFwcr1GgNtcabfH9MtL7e51+kRrChTQKvKu2Vsu9cB8RvS 8B3Z08LOEtwhuBM/8UUYEQbmevu8lwoemE3o0zU7RZ1JG261K6FSBG/4CyRypl2SckF6 mqdKJ69Nhw5/d5uIGnA1UozqpkwN5QUSGgUxMcmr8ykNXS0Zk3Xua53+edC3+jui/DoZ zFArnTGDMVvEtlLn+JnaVSJI6Jt3IplzWKIoFUcDDJoRMb4A5DzZrrkfU7Q6ZgiUamBH KoUjWY9XjOo3g2m/zf9mOnqJr/8gEHW9gMFH7bFJN3rG6RqVt68CG+0bAEKQtAoIY4OY XJcQ== X-Gm-Message-State: ABy/qLaL/pnH+7/USZkVvAPBcftGdvCiXrwJafbsZQ7BPMiRQFa1s+Kv ZpJTnF0uJlpjdtLiqqE/HxU6OiYwbJM= X-Google-Smtp-Source: APBJJlGhs4afsy4jciv0gU6ncPOyvSzhkRxTLHmHBlTfHafwvcJt8srMhWre/oBJNiUKZNfq2bbE1Q== X-Received: by 2002:a05:6870:9707:b0:1be:f764:2887 with SMTP id n7-20020a056870970700b001bef7642887mr22093563oaq.2.1691415776635; Mon, 07 Aug 2023 06:42:56 -0700 (PDT) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:7797:78d3:629b:e907]) by smtp.gmail.com with ESMTPSA id y5-20020a056870428500b001bb71264dccsm4951831oah.8.2023.08.07.06.42.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 06:42:56 -0700 (PDT) From: Fabio Estevam To: sbabic@denx.de Cc: u-boot@lists.denx.de, peng.fan@nxp.com, Fabio Estevam Subject: [PATCH 2/2] doc: imx8mp_evk: Use in-tree build in the example Date: Mon, 7 Aug 2023 10:42:47 -0300 Message-Id: <20230807134247.926793-2-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230807134247.926793-1-festevam@gmail.com> References: <20230807134247.926793-1-festevam@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 From: Fabio Estevam To make it consistent with the instructions from other NXP imx8m boards, such as imx8mm-evk and imx8mn-evk, use U-Boot in-tree build in the examples. Signed-off-by: Fabio Estevam --- doc/board/nxp/imx8mp_evk.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/board/nxp/imx8mp_evk.rst b/doc/board/nxp/imx8mp_evk.rst index e106c3c71872..0297cc8ffc16 100644 --- a/doc/board/nxp/imx8mp_evk.rst +++ b/doc/board/nxp/imx8mp_evk.rst @@ -37,20 +37,22 @@ Build U-Boot .. code-block:: bash +Note: builddir is U-Boot build directory (source directory for in-tree builds). + $ export CROSS_COMPILE=aarch64-poky-linux- $ make O=build imx8mp_evk_defconfig - $ cp ../imx-atf/build/imx8mp/release/bl31.bin ./build/bl31.bin - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem_202006.bin ./build/ - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem_202006.bin ./build/ - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem_202006.bin ./build/ - $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem_202006.bin ./build/ - $ make O=build + $ cp ../imx-atf/build/imx8mp/release/bl31.bin $(builddir) + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_dmem_202006.bin $(builddir) + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_1d_imem_202006.bin $(builddir) + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_dmem_202006.bin $(builddir) + $ cp ../firmware-imx-8.10/firmware/ddr/synopsys/lpddr4_pmu_train_2d_imem_202006.bin $(builddir) + $ make Burn the flash.bin to the MicroSD card at offset 32KB: .. code-block:: bash - $sudo dd if=build/flash.bin of=/dev/sd[x] bs=1K seek=32 conv=notrunc; sync + $ sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=32 conv=notrunc; sync Boot ---- -- 2.34.1