Yocto Linux defconfig question

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

Yocto Linux defconfig question

ソリューションへジャンプ
2,047件の閲覧回数
ottoblom
Contributor III

Hi There,

In the LTIB 4.1.0 BSP release it was very clear which files defined the platform in the arch/mach-imx6 along with a imx6_defconfig file. However, no such luck in the Yocto 1.0.0 BSP. As far as I can tell there is only one defconfig file (imx_v7_defconfig), that confusingly enough defines

CONFIG_SOC_IMX53=y

CONFIG_SOC_IMX6Q=y

CONFIG_SOC_IMX6SL=y

Is this the correct defconfig file for a imx6qsabresd ? And if so, how can one figure that out ? How is the kernel customized if I wanted to build for an imx3 device instead ? I realize the changes to the kernel is made to make it easier to maintain and increase code-reuse and I'm sure it will all make a lot of sense to me later, but not yet.

Thanks in advance and have a great weekend !

/Otto

ラベル(3)
タグ(1)
0 件の賞賛
1 解決策
975件の閲覧回数
ottoblom
Contributor III

Ok, maybe this can help someone else - The Yocto 1.0.0 BSP uses device trees for most of the board-specific items. The top-level dts file for the imx6qsabresd is located at tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/git/arch/arm/boot/dts/imx6q-sabresd.dts. Note that it in turn includes several other files.

Still confusing that the imx_v7_defconfig defines three different IMX SOCs, but maybe there are good reasons for that

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
976件の閲覧回数
ottoblom
Contributor III

Ok, maybe this can help someone else - The Yocto 1.0.0 BSP uses device trees for most of the board-specific items. The top-level dts file for the imx6qsabresd is located at tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/git/arch/arm/boot/dts/imx6q-sabresd.dts. Note that it in turn includes several other files.

Still confusing that the imx_v7_defconfig defines three different IMX SOCs, but maybe there are good reasons for that

0 件の賞賛
975件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

imx_v7_defconfig builds all the imx that are armv7: mx51, mx53 and mx6.

In the past we used to have a defconfig per board. Currently we tend to group the defconfigs as much as we can.

0 件の賞賛