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 D62B9C433EF for ; Tue, 11 Jan 2022 13:51:30 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8C32B81B4B; Tue, 11 Jan 2022 14:51:28 +0100 (CET) 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="pex9EbUg"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DE12383025; Tue, 11 Jan 2022 14:51:26 +0100 (CET) Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 68526803CE for ; Tue, 11 Jan 2022 14:51:23 +0100 (CET) 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-xd34.google.com with SMTP id y11so22432824iod.6 for ; Tue, 11 Jan 2022 05:51:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=atXaL2DAleoFg67YkHUCNA8q42OoGy44jHId9cknMjI=; b=pex9EbUgx0190U5i395G+GZ0Tb69aXe87L0BnxY9Y3x8lDBO8SFkrb3r9LhDOcOjVs rRccIKbG6bqUw+C5av87ERqc824krqsZe6uSzHJKFA7vcPfulWmbKk1iNDYFCuxiCwmb CP3DGPWRjUuDsoJ9R0XvCIqRSOZFK2MWXAaH5NE0XWMRqAXBaKjvZL6UdAImGtxEpV4Z gP34VaX9Wn786UAJZ0Z+zvnuQjZrrN1bCpNQf45VbJV7XkICwE43x7HbisZn7wWdW5X2 M5euJwb1GGN7N6ZxM+RMAR7PDzdeFLT2/pl5BJAONy9Bi6e86AYW3TKX8fPqkDy/iLyR kyvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=atXaL2DAleoFg67YkHUCNA8q42OoGy44jHId9cknMjI=; b=okuOW/OffCNfrOddIT41sBao7imrVlBIm7a5s5ZNfSrT0jxs05TRxtCMbZa4r4cjOr xq6Y51xMKgVvm2KB0vp81HdYWBq9elAlWwbPnphKTGk3SNVChcC+j97OYrqEf7Xo9z+P B03r+V9Hz/56l5yg/bkA7H2902eMvKwSkY3U2x8ted6+dnJ2YMqVKYdm6q0/JuBktX1u lyMUMnjT2e2LDr2mM63uEF0zw8YrRAGPNaK0d7suOEzRqmMZsVErzNDHeNxMsZLyuGz1 t3G6iTcYyXB7mnNxc9QIPGDHTenQvNU/a0QtWqmpO7TxU9NbKMm4k6EvpP3Qxa5BUKYI OzEw== X-Gm-Message-State: AOAM532Wakm6osCkrUD3/zNhduXhUSGPH1ySflv9unexf79Qbs36qU9S WQja4HT729Ln/yw2ouH9kF6jnEqSWs1YVA== X-Google-Smtp-Source: ABdhPJyl4G5rMQAghzGS7aECFMxPcgvH44HkXv77vISDMnXZJnz60soHaLAao8QeUi8F18RESiEJAQ== X-Received: by 2002:a05:6638:1401:: with SMTP id k1mr2201570jad.289.1641909080651; Tue, 11 Jan 2022 05:51:20 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:4c04:d3be:5d02:89a]) by smtp.gmail.com with ESMTPSA id u14sm5790968ilv.66.2022.01.11.05.51.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 05:51:20 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: sbabic@denx.de, trini@konsulko.com, aford@beaconembedded.com, Adam Ford Subject: [PATCH] imx8mm_beacon/imx8mn_beacon: Update build instructions Date: Tue, 11 Jan 2022 07:51:04 -0600 Message-Id: <20220111135104.23553-1-aford173@gmail.com> X-Mailer: git-send-email 2.32.0 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.2 at phobos.denx.de X-Virus-Status: Clean With binman generating flash.bin, it's not longer necessary to specify either the location of ATF nor is it necessary to specify building flash.bin, so let's update the build instructions to remove those. While in here, update the revision of ATF and DDR firmware so both Mini and Nano reference the same revision. Signed-off-by: Adam Ford diff --git a/board/beacon/imx8mm/README b/board/beacon/imx8mm/README index 03d9412f0d..200549d924 100644 --- a/board/beacon/imx8mm/README +++ b/board/beacon/imx8mm/README @@ -12,21 +12,21 @@ Get and Build the ARM Trusted firmware Note: $(srctree) is U-Boot source directory $ git clone https://source.codeaurora.org/external/imx/imx-atf -$ git checkout imx_5.4.70_2.3.0 +$ git checkout lf_v2.4 $ 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.5.bin -$ chmod +x firmware-imx-8.5.bin -$ ./firmware-imx-8.5 -$ cp firmware-imx-8.5/firmware/ddr/synopsys/lpddr4*.bin $(srctree) +$ 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 flash.bin CROSS_COMPILE=aarch64-linux-gnu- +$ make CROSS_COMPILE=aarch64-linux-gnu- Burn U-Boot to microSD Card =========================== diff --git a/board/beacon/imx8mn/README b/board/beacon/imx8mn/README index a9eddd4e64..7e5d1545e6 100644 --- a/board/beacon/imx8mn/README +++ b/board/beacon/imx8mn/README @@ -12,7 +12,7 @@ Get and Build the ARM Trusted firmware Note: $(srctree) is U-Boot source directory $ git clone https://source.codeaurora.org/external/imx/imx-atf -$ git checkout imx_5.4.47_2.2.0 +$ git checkout lf_v2.4 $ make PLAT=imx8mn bl31 CROSS_COMPILE=aarch64-linux-gnu- $ cp build/imx8mm/release/bl31.bin $(srctree) @@ -26,7 +26,7 @@ $ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree) Build U-Boot ============ $ make imx8mn_beacon_defconfig -$ make flash.bin CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x960000 +$ make CROSS_COMPILE=aarch64-linux-gnu- Burn U-Boot to microSD Card =========================== -- 2.32.0