Yocto: customize device tree .dtsi before bitbake build image sdcard

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Yocto: customize device tree .dtsi before bitbake build image sdcard

4,477 次查看
karolmlynczak
Contributor II

Hello all.

I am writing in reference to the post
https://community.nxp.com/docs/DOC-328663

I'm using yocto / toaster to build a system image.

In the directory /boot
I have such drivers:
imx7d-sdb.dtb
imx7d-sdb-epdc.dtb

After setting in u-boot:
setenv fdt_file imx7d-sdb.dtb
I have access to the network but I do not have access to epdc.

After choosing:
setenv fdt_file imx7d-sdb.dtb
vice versa. Epdc works but network does not work.

I found google content in the file
Imx7d-sdb-epdc.dtsi in which i see
"Disabled" status on network interfaces.

Where can I find the file imx7d-sdb-epdc.dtsi in my yocto project
So that I could edit this file before building the system
And enable network support.

For help thank you in advance.
Greetings Karol Mlynczak

标签 (4)
0 项奖励
3 回复数

2,798 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Karol,

within your build directory you can find all device tree sources (.dts and .dtsi) inside the kernel -source folder on arch/arm/boot/dts


Best regards,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

2,798 次查看
imx7newbie
Contributor II

Hi,

in kernel -source folder on arch/arm/boot/dts (in my case  /opt/PHYTEC_BSPs/yocto_imx7/build/tmp/work-shared/imx7d-phyboard-zeta-001/kernel-source/arch/arm/boot/dts) there are thousands of dts and dtsi files and confusing. Which one is right one for PCIE? I would like to increase memory size.

0 项奖励

2,798 次查看
Carlos_Musich
NXP Employee
NXP Employee

Hi Karol,

imx7d-sdb-epdc.dts is not in this path?

0 项奖励