
On Mon, Dec 4, 2017 at 2:31 AM, Peng Fan peng.fan@nxp.com wrote:
Add i.MX8MQ EVK support. SPL will initialize ddr and load ddr phy firmware. Then loading FIT image, ATF to OCRAM, U-Boot and DTB to DRAM.
The boot log: " U-Boot SPL 2017.11-00062-gd4c7c3ebb3-dirty (Dec 01 2017 - 14:49:31) PMIC: PFUZE100 ID=0x10 check ddr4_pmu_train_imem code check ddr4_pmu_train_imem code pass check ddr4_pmu_train_dmem code check ddr4_pmu_train_dmem code pass PLL bypass to 100MTS setting done Training PASS PLL bypass to 400MTS setting done Training PASS Training PASS check ddr4_pmu_train_imem code check ddr4_pmu_train_imem code pass check ddr4_pmu_train_dmem code check ddr4_pmu_train_dmem code pass Training PASS
Please turn these messages into debug level. They are too noisy to appear on every boot.
diff --git a/board/freescale/mx8mq_evk/README b/board/freescale/mx8mq_evk/README new file mode 100644 index 0000000000..6be5f51a22 --- /dev/null +++ b/board/freescale/mx8mq_evk/README @@ -0,0 +1,38 @@ +U-Boot for the NXP i.MX8MQ EVK board
+Quick Start +==================== +- Build the ARM Trusted firmware binary +- Build U-Boot +- Generate flash.bin using imx-mkimage +- Boot
+Build the ARM Trusted firmware +==================== +$ make PLAT=imx8mq bl31
+Build U-Boot +==================== +$ export ARCH=arm64 +$ export CROSS_COMPILE=aarch64-poky-linux- +$ make mx8mq_evk_defconfig +$ make
+Generate flash.bin using imx-mkimage
What is imx-mkimage? Why do you need a special tool and can't use the official mkimage one?
+==================== +Copy bl31.bin u-boot-nodtb.bin u-boot-spl.bin fsl-imx8mq-evk.dtb to
imx-mkimage/iMX8M
+Copy lpddr4_pmu_train_1d_dmem.bin lpddr4_pmu_train_1d_imem.bin
lpddr4_pmu_train_2d_dmem.bin lpddr4_pmu_train_2d_imem.bin to
imx-mkimage/iMX8M
+If you want to run with HDMI, copy signed_hdmi_imx8m.bin to imx-mkimage/iMX8M
+make SOC=iMX8M flash_spl_uboot or make SOC=iMX8M flash_hdmi_spl_uboot to +generate flash.bin.
+Burn the flash.bin to MicroSD card offset 33KB +$sudo dd if=iMX8M/flash.bin of=/dev/sd[x] bs=1024 seek=33
+Boot +==================== +Set Boot switch SW801: 1100 and Bmode: 10 to boot from Micro SD.
Sorry, but this README simply does not work.
All these required firmwares and imx-mkimage are really confusing. I am not able to get a bootable image by reading this README file.
Please improve the README so that a user can really make a bootable SD card by following the described step by step sequence.
That's what the README is for :-)
Thanks