How to optimize the BSP ?

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

How to optimize the BSP ?

3,056 次查看
Jimmychea
Contributor III

Currently, i using the BSP of the i.MX8M Plus, but i intend to optimize the BSP due to some features disabled such as camera, display, can, wifi, bluetooth and audio. Therefore, i would like to know how to optimize the BSP like what are those .bb or .bbappend files in BSP need to remove. Thanks.

0 项奖励
回复
5 回复数

3,043 次查看
joanxie
NXP TechSupport
NXP TechSupport

you can disable them in the dts file

0 项奖励
回复

3,034 次查看
Jimmychea
Contributor III

I would like to optimize the BSP which is meta-imx.

0 项奖励
回复

3,026 次查看
joanxie
NXP TechSupport
NXP TechSupport

if you just disable these peripherals, you just disable them in the kernel, then when you build the bsp again, the driver about these peripherals wouldn't been load and build, these peripherals are belong to the kernel, they don't have standalone bb file

0 项奖励
回复

3,023 次查看
Jimmychea
Contributor III

ya i knew those are not standalone bb file, however i would like to optimize the BSP (meta-imx or meta-bsp) if some of the feature have been removed. Example, if my custom board without wifi, so when i bitbake to generate the final image should also doesn't have the wifi firmware / configuration. Therefore, my question is which bb or bbappend files should i modify or remove in order those wifi firmware or configuration will not be included when bitbake.

0 项奖励
回复

2,978 次查看
joanxie
NXP TechSupport
NXP TechSupport

you don't need to modify the bb file, for example, if you need disable WIFI, you can refer to the chapter 4.13.5 Menu Configuration Options of enclosed file, just remove them in the configure file

0 项奖励
回复