I am preparing to boot my custom board using the i.MX 8M Plus System on Chip (SoC) with Linux. To achieve this, I created a meta layer and established a custom-machine.conf file that builds upon the existing imx8mp-lpddr4-evk.conf. Additionally, I modified the SRC_URI variable in the u-boot-imx_2024.04.bbappend file to point to my GitHub repository, which contains the modified U-Boot source code based on the original u-boot-imx.
In the initial stage of verifying that the new machine and U-Boot are functioning correctly, I copied or modified the files related to the i.MX 8MP EVK with minimal changes. I primarily changed the board name, addresses, and other necessary details to test its operation on the i.MX 8MP EVK. You can review all the modifications here.
I can successfully boot U-Boot on the evaluation kit (EVK) as long as no modifications are made to the custom_board_defconfig file, which is copied from imx8mp_evk_defconfig. However, when I attempt to change only the device tree name, U-Boot fails to boot on the EVK, and there is no output on the serial console.
The changes are as follows:
- CONFIG_DEFAULT_DEVICE_TREE: Changed from "imx8mp-evk" to "imx8mp-ifs"
- CONFIG_DEFAULT_FDT_FILE: Changed from "imx8mp-evk.dtb" to "imx8mp-ifs.dtb"
Solved! Go to Solution.
Hello,
Please copy arch/arm/dts/imx8mp-evk-u-boot.dtsi to arch/arm/dts/imx8mp-ifs-u-boot.dtsi and then try again.
Best Regards,
Zhiming
Hello,
Please copy arch/arm/dts/imx8mp-evk-u-boot.dtsi to arch/arm/dts/imx8mp-ifs-u-boot.dtsi and then try again.
Best Regards,
Zhiming