
Hello Adam,
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Adam Ford Sent: Thursday, December 10, 2020 5:08 PM To: u-boot@lists.denx.de Cc: aford@beaconembedded.com; Adam Ford aford173@gmail.com; Stefano Babic sbabic@denx.de; Fabio Estevam festevam@gmail.com; NXP i.MX U- Boot Team uboot-imx@nxp.com Subject: [PATCH] imx: Add support for i.MX8MN Beacon EmbeddedWorks devkit.
Beacon EmbeddedWorks is releasing a devkit based on the i.MX8M Nano SoC consisting of baseboard + SOM.
The kit is based on the same design as the Beacon dev kit with the i.MX8M Mini.
Signed-off-by: Adam Ford aford173@gmail.com
<snip>
diff --git a/board/beacon/imx8mn/README b/board/beacon/imx8mn/README new file mode 100644 index 0000000000..b1d7a19a39 --- /dev/null +++ b/board/beacon/imx8mn/README @@ -0,0 +1,39 @@ +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://source.codeaurora.org/external/imx/imx-atf +$ git checkout imx_5.4.47_2.2.0 +$ make PLAT=imx8mn 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
There is a newer version of DDR firmware available from NXP: https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.9.bin
It is also aligned with imx_5.4.47_2.2.0 ATF release, so for completeness purposes I would recommend you to include the updated link into README file.
Yocto meta-freescale layer is already using this firmware version for mx8m series [1], and it is operable.
I believe it would be beneficial to recommend users to pull the latest version available.
+$ chmod +x firmware-imx-8.5.bin +$ ./firmware-imx-8.5 +$ cp firmware-imx-8.5/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
+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
<snip>
2.25.1
Link: [1]: https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/firmware...
-- andrey