I have imx8mm evk
I am using this u-boot.
git clone https://github.com/nxp-imx/uboot-imx
I installed aarch64-linux-gnu- /usr/bin (ubuntu 22.04),
and I also have the aarch64--glibc--stable-2022.08-1 (I tried both compilers)
I am building like this.
COMPILER=aarch64-linux-gnu- # from apt
##COMPILER=aarch64-linux-
export PATH=/path/to/tc/bin:$PATH
ARCH=arm CROSS_COMPILE=$COMPILER make imx8mm_evk_defconfig
ARCH=arm CROSS_COMPILE=COMPILER make clean
ARCH=arm CROSS_COMPILE=COMPILER make
after building I have these files
find -name '*.bin' -o -name '*.img'
./u-boot-dtb.img
./u-boot-nodtb.bin
./spl/u-boot-spl-nodtb.bin
./spl/u-boot-spl.bin
./tools/binman/test/descriptor.bin
./u-boot-dtb.bin
./u-boot.img
./u-boot.bin
I tried to dd the u-boot and/or spl as all kinds of combinations I've could find in scripts.
sudo dd if=./u-boot-*.bin<img> of=/dev/mmcblk0 bs=1k seek=XX=33/69
What is the right dd command and what u-boot files and what seek (ofsets) are correct ones for IMX8MM
sdcard and emmc?
I also tried all these
$ sudo dd if=<U-Boot image> of=/dev/sdx bs=1k seek=<offset> conv=fsync
Where offset is:
• 1 - for i.MX 6 or i.MX 7
• 33 - for i.MX 8QuadMax A0, i.MX 8QuadXPlus A0, and i.MX 8M Quad, and i.MX 8M Mini
• 32 - for i.MX 8QuadXPlus B0, i.MX 8QuadMax B0, i.MX 8DualX, i.MX 8DXL, i.MX 8M Nano, i.MX 8M Plus,
i.MX 8ULP, and i.MX 9
Thank you