Hi,
I have designed a custom board with IMX7ULP SoC. The board has the peripherals below:
My boot mode is fixed to the single boot mode via resistors.
As you can see, I do not have a QSPI flash on my board. This figure is taken from Reference Manual Pg:1466.
I have compiled my u-boot and downloaded it via the uuu tool in serial download mode. It works fine. I can reach eMMC with "mmc info" command. The next step I have to move on is booting the linux.
This is the .auto file I use in uuu.
uuu_version 1.2.39
SDP: boot -f /home/myname/projects/IMX7ULP/u-boot-fslc/u-boot-dtb.imx -nojump
sdpu: delay 100
# SDP: write -f /home/myname/projects/IMX7ULP/linux-fslc/arch/arm/boot/uImage -addr 0x60800000
SDP: write -f /home/myname/projects/IMX7ULP/linux-fscl3/linux-fslc-5.15.x-fslc/arch/arm/boot/uImage -addr 0x60800000
# SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/uImage -addr 0x60800000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/DTB/imx.dtb -addr 0x63000000
# SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/imx7ulp-evkb-lpuart.dtb -addr 0x63000000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot -addr 0x63800000
# SDP: write -f /home/myname/projects/IMX7ULP/buildroot/output/images/rootfs.ext2.gz.uboot -addr 0x63800000
sdpu: delay 100
SDP: write -f /home/myname/projects/IMX7ULP/LF_v5.10.72-2.2.0_images_IMX7ULPEVK/imx7ulp_m4_demo.img -addr 0x62000000
sdpu: delay 100
SDP: jump -f /home/myname/projects/IMX7ULP/u-boot-fslc/u-boot-dtb.imx
# sdpu: delay 3000
FB: done
Then I run the bootm command to boot from memory. However, the u-boot is stuck at "Starting Kernel".
Question 1: I do nothing about M4 core. Do I have to initialize the M4 core in single boot mode?
If the answer of the question 1 is YES:
Question 2: How can I program M4? I did not expand the SWD pins of M4 out of the board. I can not reach BGA balls. Can I program M4 via u-boot? If yes, do I have to use bootaux command with the patch you mentioned below:
IMX7ULP Bootaux Patch to U-boot
I have done this patch to the u-boot and followed the instructions. But the result is below. Resetting ...
Can you give some detailed explanation about bootaux operation in u-boot?
Question 3: What can be the problem if it is not related to M4?
I think u-boot can not load the kernel to RAM. I have used older or newer versions of u-boot from fslc, the result is same.
I am forwarding your response.
Thanks.
Thanks for the reply.
As I mentioned before, I do not have QSPI flash placed on my board.
Thanks.
Any reply will be helpful.