simplifying the arch/arm64/boot/dts/freescale/Makefile

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

simplifying the arch/arm64/boot/dts/freescale/Makefile

1,004件の閲覧回数
dsiegers
Contributor I

I'm using the i.MX 8MP SOC for a custom board. I'm using a Debian Bookworm OS, non-Yocto platform and have downloaded the lf-6.1.y_var03 repository for the kernel build.
Can I simplify the Makefile so that I don't have to include all the dts files and bindings for the entire i.MX8 family of processors? I'm finding it difficult to remove the features that we don't intend to support without breaking the kernel build when I alter the Makefile using the make menuconfig tool.
Are there any examples for this procedure available?

David

ラベル(2)
0 件の賞賛
返信
4 返答(返信)

982件の閲覧回数
dsiegers
Contributor I

Also, is there a suggested approach to modifying the defconfig file (we are using the Variscite dev kit, hence the imx8_var_defconfig file). It seems every time I attempt to remove even a simple subsystem, I break the kernel build because of bindings to others SOCs.

0 件の賞賛
返信

982件の閲覧回数
dsiegers
Contributor I

Thank you @Chavira. By maintaining the makefile as provided, are you indicating that it is suggested to carry all the .dts files and supported subsystems contained in the baseline freescale Makefile with our custom designs kernel?

0 件の賞賛
返信

956件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

Hi @dsiegers!

 

You should maintain all the files, you only have to add your configurations and device tree files to the kernel.

If you do your own configurations you only can compile for your target.

 

 

0 件の賞賛
返信

998件の閲覧回数
Chavira
NXP TechSupport
NXP TechSupport

HI @dsiegers!
Thank you for contacting NXP Support!

You can modify the Makefile to support the targets that you need, I recommend to maintain the make file as we provide.

Also you can take as a reference this community post.

 

Best Regards!

Chavira

0 件の賞賛
返信