How does imx8qxp choose the dtb file?

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

How does imx8qxp choose the dtb file?

Jump to solution
1,922 Views
relax-wu
Contributor IV

After the Android source code is compiled, a lot of imx8qxp dtb files will be generated and packaged into dtbo-imx8qxp.img. How do you choose which dtb file during the machine startup?

Q10.0.0_2.2.0_AUTO_SOURCE 

lunch mek_8q-userdebug

0 Kudos
1 Solution
1,891 Views
joanxie
NXP TechSupport
NXP TechSupport

yes you can change the dtb file under BoardConfig.mk by TARGET_BOARD_DTS_CONFIG

 

View solution in original post

0 Kudos
5 Replies
1,917 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the enclosed document

 

0 Kudos
1,912 Views
relax-wu
Contributor IV

Sorry, I didn't find the answer
I still don't know which DTS file is used when a machine starts up. There are so many of them.

imx8qxp-17x17-val.dtb
imx8qxp-ai_ml.dtb
imx8qxp-ddr3l-val.dtb
imx8qxp-lpddr4-val-a0.dtb
imx8qxp-lpddr4-val-gpmi-nand.dtb
imx8qxp-lpddr4-val-lpspi-slave.dtb
imx8qxp-lpddr4-val-lpspi.dtb
imx8qxp-lpddr4-val-mlb.dtb
imx8qxp-lpddr4-val-mqs.dtb
imx8qxp-lpddr4-val-spdif.dtb
imx8qxp-lpddr4-val.dtb
imx8qxp-mek-a0.dtb
imx8qxp-mek-car.dtb
imx8qxp-mek-car2.dtb
imx8qxp-mek-dom0.dtb
imx8qxp-mek-dsi-rm67191-rpmsg.dtb
imx8qxp-mek-dsi-rm67191.dtb
imx8qxp-mek-dsp.dtb
imx8qxp-mek-enet2-tja1100.dtb
imx8qxp-mek-enet2.dtb
imx8qxp-mek-inmate.dtb
imx8qxp-mek-it6263-lvds0-dual-channel.dtb
imx8qxp-mek-it6263-lvds1-dual-channel.dtb
imx8qxp-mek-jdi-wuxga-lvds0-panel.dtb
imx8qxp-mek-jdi-wuxga-lvds1-panel.dtb
imx8qxp-mek-ov5640-rpmsg-no-dynamic_partition.dtb
imx8qxp-mek-ov5640-rpmsg-no-product-no-dynamic_partition.dtb
imx8qxp-mek-ov5640-rpmsg-no-product.dtb
imx8qxp-mek-ov5640-rpmsg.dtb
imx8qxp-mek-ov5640.dtb
imx8qxp-mek-root.dtb
imx8qxp-mek-rpmsg.dtb
imx8qxp-mek-sof-cs42888.dtb
imx8qxp-mek-sof-wm8960.dtb
imx8qxp-mek.dtb

 

0 Kudos
1,904 Views
joanxie
NXP TechSupport
NXP TechSupport

are you sure the dtb files you sent are for android?

pls refer to the Table 2. Options for uuu_imx_android_flash tool, focus on -d dtb_feature:

Flashes dtbo and vbmeta images with "dtb_feature" in their names. For i.MX
8QuadMax MEK, it can be "md". For i.MX 8QuadXPlus MEK, do not use this option.
If this option is not used, default "dtbo-imx8qm.img" and "vbmeta-imx8qm.img" are
flashed for i.MX 8QuadMax MEK.

so for imx8qxp, should use vbmeta-imx8qxp.img and dtbo-imx8qxp.img, and all of board images are listed Table 1. Board images

 

0 Kudos
1,899 Views
relax-wu
Contributor IV

I know how to choose dtbo-imx8qxp.img to burn into the machine.
dtbo-imx8qxp.img is packaged by many dtb files compiled by dts.
But when the machine starts, only one dtb file in dtbo-imx8qxp.img will be selected.
I want to know how this file is confirmed, is it this keyword?
TARGET_BOARD_DTS_CONFIG

0 Kudos
1,892 Views
joanxie
NXP TechSupport
NXP TechSupport

yes you can change the dtb file under BoardConfig.mk by TARGET_BOARD_DTS_CONFIG

 

0 Kudos