summaryrefslogtreecommitdiff
path: root/board/toradex/verdin-imx8mp/Makefile
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-11-12 18:34:50 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-11-19 20:31:31 +0100
commited39664c84cf4936ba37f2dc6da34bc0c4f4c4a5 (patch)
tree2f0c514195ed76c4ce5fa3f74b7e2a7ed6a0bb68 /board/toradex/verdin-imx8mp/Makefile
parent416025ff878ba7d4c2723a3ff5420b32b424b681 (diff)
board: toradex: add verdin imx8m plus support
This adds initial minimal support for the Toradex Verdin iMX8M Plus Quad 4GB WB IT V1.0A and Toradex Verdin iMX8M Plus Quad 2GB V1.0A modules. They are strapped to boot from eFuses which are factory fused to properly boot from their on-module eMMC. U-Boot supports booting from the on-module eMMC or, if the recovery button/pin is asserted, via USB serial download aka SDP support. Functionality wise the following is known to be working: - eMMC, 8-bit and 4-bit MMC/SD card slots - Ethernet (but only 2nd one available on the Verdin Development board) - GPIOs - I2C Boot sequence is: SPL ---> ATF (TF-A) ---> U-boot proper ATF, U-boot proper and u-boot.dtb images are packed into a FIT image, loaded by SPL. Boot: U-Boot SPL 2020.04-00217-gfad48768ba (Nov 18 2020 - 14:22:31 +0100) DDRINFO: start DRAM init DDRINFO: DRAM rate 4000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done Normal Boot Trying to boot from BOOTROM Find FIT header 0x4803afa0, size 855 Need continue download 1024 Download 833424, total fit 834544 NOTICE: BL31: v2.2(release):imx_5.4.24_er3-6-g0a236bda5 NOTICE: BL31: Built : 13:40:19, Nov 12 2020 U-Boot 2020.04-00217-gfad48768ba (Nov 18 2020 - 14:22:31 +0100) alloc_simple() alloc space exhausted CPU: i.MX8MP[8] rev1.0 1800 MHz (running at 1200 MHz) CPU: Commercial temperature grade (0C to 95C) at 46C Reset cause: POR DRAM: 4 GiB MMC: FSL_SDHC: 1, FSL_SDHC: 2 In: serial Out: serial Err: serial Model: Toradex Verdin iMX8M Plus Quad 4GB Wi-Fi / BT IT V1.0A, Serial# 06775455 MISSING TORADEX CARRIER CONFIG BLOCKS BuildInfo: - ATF 0a236bd - U-Boot 2020.04-00217-gfad48768ba Detect USB boot. Will enter fastboot mode! Net: Warning: ethernet@30bf0000 (eth1) using random MAC address - 56:c0:c6:84:63:a0 eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME] Fastboot: Normal Boot from USB for mfgtools *** Warning - Use default environment for mfgtools , using default environment Run bootcmd_mfg: fastboot 0 Hit any key to stop autoboot: 0 Verdin iMX8MP # Related-to: ELB-3208 Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'board/toradex/verdin-imx8mp/Makefile')
-rw-r--r--board/toradex/verdin-imx8mp/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/toradex/verdin-imx8mp/Makefile b/board/toradex/verdin-imx8mp/Makefile
new file mode 100644
index 0000000000..287601390b
--- /dev/null
+++ b/board/toradex/verdin-imx8mp/Makefile
@@ -0,0 +1,11 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright 2020 Toradex
+#
+
+obj-y += verdin-imx8mp.o
+
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o
+endif