U-Boot Not Booting After Trying to Change Its Device Tree File Name

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

U-Boot Not Booting After Trying to Change Its Device Tree File Name

ソリューションへジャンプ
765件の閲覧回数
Martiya
Contributor I

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"

0 件の賞賛
返信
1 解決策
700件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
701件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信