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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

4,983 Views
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

Labels (4)
0 Kudos
Reply
3 Replies

3,304 Views
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 Kudos
Reply

3,304 Views
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 Kudos
Reply

3,304 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Karol,

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

0 Kudos
Reply