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 25EAAC433F5 for ; Sat, 22 Jan 2022 20:48:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 15D5E8209A; Sat, 22 Jan 2022 21:48:54 +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="nXMaBYGB"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8554481429; Sat, 22 Jan 2022 21:48:52 +0100 (CET) Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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 9D66E82EBB for ; Sat, 22 Jan 2022 21:48:49 +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-il1-x131.google.com with SMTP id d3so10530219ilr.10 for ; Sat, 22 Jan 2022 12:48:49 -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=ogPHkB/au5vDUNWk/7QdSd/QX8LvJdi/ryy8zNAA13Q=; b=nXMaBYGB+LkRJvXEO4+IQNiEg+t8u0WhZBXe/9Usw/qv+vi3y3SYtA1PFY/4EPH380 3nUk3p+S1//zSTCDjBGLUdZ7x+VpwToxc4rzvGYNTr+J72AVtJwaOmme3+cmLy+p/lWc gSydlYJ7F7fFF/muTyHHZwXE1awEpTujxhy/3NKTIZ4OJA3gJoB8xsGcakZOtw0dD0wD R8e5ru81kY40M9eyGJME1e9Y7QAbKqb8G/BS9wWn9X8sUgSlRlcod0IIlKNXLgMm9S4U wM/vfYZop2sLP7OeuR3YHREat5LsesO8FrsGHC7YC4AbJ3iubnJcYI+TPL+bK6+Ahasz ZCgA== 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=ogPHkB/au5vDUNWk/7QdSd/QX8LvJdi/ryy8zNAA13Q=; b=Fh5lJBadsBNJPNxOuX6dddgj0ZUeIqpTkmWde2e3bKOJiWEaO+IswRgfQTbIhN9k5I 9j0j62PBEX88diIkkasMuMevUDLEBNawBLBogfT+DL9ndxLfRhfmCjpPhgTuqEq7lKw8 AMou8EwB48hzRVaPlcRF5PG0RqdqUpq6Iu3FyLVMzWQiXLfoWbrniv5rAFtMXGZrf07F pOAljQ8vynT5M/R7qbzSUJ1Yu5cqZ48dhEQbKXJgXvhoHcW4HRzeEPuYLMheAPHLj5MZ xZzwyW/GNOPsFowz3i8DK53u9DiSdeYSY7KYAAzlXCHa7l19lSqwdUVOUF2I7l4n+1QQ 51iw== X-Gm-Message-State: AOAM532jONC/FDJpOm8GagWIcdheHpQNuCaNPE6sgswQew2Gqc8EtuGL l1ZkQfLZaHY0GvLKXiAh4Fl2P0pIp4E= X-Google-Smtp-Source: ABdhPJzhp81QbXUgGnw9EaMOSs/bZ7C3iH0vqBFGcBmuNSqUwsRLNpGmBuPT0iqqqYgsR6br84TjGA== X-Received: by 2002:a92:c265:: with SMTP id h5mr3962431ild.290.1642884527751; Sat, 22 Jan 2022 12:48:47 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:6f25:fae8:96cf:3bfc]) by smtp.gmail.com with ESMTPSA id g6sm3926301iow.4.2022.01.22.12.48.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Jan 2022 12:48:47 -0800 (PST) From: Adam Ford To: u-boot@lists.denx.de Cc: sbabic@denx.de, festevam@gmail.com, aford@beaconembedded.com, Adam Ford Subject: [PATCH V2] imx8mm_beacon/imx8mn_beacon: Update build instructions Date: Sat, 22 Jan 2022 14:48:40 -0600 Message-Id: <20220122204840.71270-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.5 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 --- V2: Use tag lf-5.10.72-2.2.0 for ATF instead of branch. Fix small typo in Nano readme diff --git a/board/beacon/imx8mm/README b/board/beacon/imx8mm/README index 03d9412f0d..c65acef22d 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 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.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..788ab1093b 100644 --- a/board/beacon/imx8mn/README +++ b/board/beacon/imx8mn/README @@ -12,9 +12,9 @@ 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 lf-5.10.72-2.2.0 $ make PLAT=imx8mn bl31 CROSS_COMPILE=aarch64-linux-gnu- -$ cp build/imx8mm/release/bl31.bin $(srctree) +$ cp build/imx8mn/release/bl31.bin $(srctree) Get the DDR firmware ==================== @@ -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