I have a question regarding the creation of a Linux boot loader (flash.bin) for iMX8QM.
In Linux 4.14.78, I was able to create a loader without u-boot's SPL and confirmed its operation. (make SOC = iMX8QM flash)
However, in Linux 4.19.35, with SPL is the default for u-boot.
I created a loader with the setting with SPL and confirmed the operation. (make SOC = iMX8QM flash_spl)
I want to create a loader without SPL in 4.19.35, but when I check it, u-boot does not start.
Does 4.19.35 not support without SPL? (make SOC = iMX8QM flash)
I set u-boot defconfig without SPL, but it doesn't boot well.
I refer to the documentation below.
Document Number: IMXLUG
i.MX Linux User's Guide Rev. L4.19.35_1.1.0, 11/2019
4.5.13 How to build imx-boot image by using imx-mkimage
已解决! 转到解答。
I don't build it on 4.19.35, but I download the demo images from nxp official website, I found imx-boot-imx8qmmek-sd.bin-flash and imx-boot-imx8qmmek-sd.bin-flash_spl there, you can download and check it, so 4.19.35 should support uboot without SPL
Thank you for your reply.
I checked imx-boot-imx8qmmek-sd.bin-flash. It worked without SPL.
Can you provide the uboot defconfig file for building imx-boot-imx8qmmek-sd.bin-flash?
The following default defconfig is with SPL.
https://source.codeaurora.org/external/imx/uboot-imx -b rel_imx_4.19.35_1.1.0
uboot-imx / configs / imx8qm_mek_defconfig
I will contact you again.
I used imx-boot-imx8qmmek-sd.bin-flash in the image below.
I have confirmed the operation of uboot without SPL.
"https://www.nxp.com/webapp/Download?colCode=L4.19.35_1.1.0_MX8QM&appType=license"
I think the method of generating this file is as follows.
"Make SOC = iMX8QM flash"
And I think that uboot required for generation will be built with a defconfig file that does not use SPL.
I need this defconfig file.
Would you please provide it?
The defconfig file (imx8qm_mek_defconfig) that can be obtained from the following is the one with SPL, and there is no one without SPL.
"git clone https://source.codeaurora.org/external/imx/uboot-imx -b rel_imx_4.19.35_1.1.0"
I modified the imx8qm_mek_defconfig file myself and tried it, but I couldn't boot with the following result.
This is the result of the UART terminal output.
One character of 'U' was output and it freezes.
Is it okay to think that you can boot if you set uboot's defconfig to the correct setting without SPL?
Or are there any other set factors?