mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
7666cccf4f
Supported peripherals: Ethernet, eMMC, Serial. U-Boot SPL 2021.04-00911-g5fa1e2ffeb-dirty (Apr 23 2021 - 09:11:14 +0200) Normal Boot Trying to boot from MMC2 U-Boot 2021.04-00911-g5fa1e2ffeb-dirty (Apr 23 2021 - 09:11:14 +0200) CPU: Freescale i.MX8MQ rev2.1 at 1000 MHz Reset cause: POR Model: Ronetix iMX8M-CM SoM DRAM: 1 GiB WDT: Started with servicing (60s timeout) MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... OK In: serial Out: serial Err: serial Net: Warning: ethernet@30be0000 (eth0) using random MAC address - 42:0d:e7:78:da:53 eth0: ethernet@30be0000 Hit any key to stop autoboot: 0 u-boot=> Signed-off-by: Ilko Iliev <iliev@ronetix.at> |
||
---|---|---|
.. | ||
imx8mq_cm.c | ||
imximage-8mq-lpddr4.cfg | ||
Kconfig | ||
lpddr4_timing.c | ||
MAINTAINERS | ||
Makefile | ||
README | ||
spl.c |
U-Boot for the Ronetix i.MX8MQ-CM board Quick Start =========== - Build the ARM Trusted firmware binary - Get ddr firmware - Build U-Boot - Boot Get and Build the ARM Trusted firmware ====================================== $ git clone https://source.codeaurora.org/external/imx/imx-atf $ cd imx-atf $ git checkout imx_4.19.35_1.0.0 $ make PLAT=imx8mq bl31 $ cd .. $ cp imx-atf/build/imx8mq/release/bl31.bin . Get the ddr firmware ==================== $ 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.bin $ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin . Build U-Boot ============ $ /opt/cross/aarch64-ronetix-linux-9.2/bin/aarch64-ronetix-linux-gnu- $ make imx8mq_cm_defconfig $ make Burn the flash.bin to MicroSD card offset 33KB ============================================== $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=sync $sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384 conv=sync Boot ==== Set Boot switch on base board iMX8M-MB to SD boot: SW1[8:1]: OFF OFF OFF ON - OFF ON OFF OFF SW4[2:1]: OFF OFF J4: 1,2 - open; 3,4 - close; 5,6 - open