MCIMX6DL-SDP and Yocto

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

MCIMX6DL-SDP and Yocto

跳至解决方案
2,264 次查看
donmate
Contributor II

Hi,

I am trying to bitbake an image for the MCIMX6DL-SDP board. After powering-on the board, nothing happens on the serial line ;(

The following layers are added into bblayers.conf:

  • meta-fsl-arm
  • meta-openembedded/meta-oe

I tried the 'imx6sabrelite', 'imx6sabresd' and 'imx6sabreauto' machine.

Even writing the U-boot to the sd card with 'dd if=uboot.imx of=/dev/mmcblk0 bs=512 seek=2' does not show anything on the serial line.

Thanks for any help about this,

Alex

标签 (3)
1 解答
1,426 次查看
daiane_angolini
NXP Employee
NXP Employee

first step would be include a new machine file. Look at

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata

I would take some imx6q as reference.

Or you can use this file as reference:

https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/wandboard-dual.conf

But, imx6dl-sdp must be included on meta-fsl-arm and you must work on master branch.

second step would be include imx6dl support on u-boot.

Take this file:

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata

And make the chages to point to

uboot-imx.git - Freescale i.MX u-boot Tree

(I think it's the latest u-boot for imx6dl-sdp)

When you get there we can discuss further

Then, 3th step would be include imx6dl support on kernel

This is the recipe that need to be changed:

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata

And it will point to

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_3.0.35_12.10.02

I will double check if 12.10.02 is latest for imx6dl

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,426 次查看
daiane_angolini
NXP Employee
NXP Employee

meta-fsl-arm does not support MCIMX6DL-SDP today.

But include board support (and u-boot and kernel) would be easy. If you want to work to include it I can guide you.

1,426 次查看
donmate
Contributor II

So I have to add new recipes for kernel and bootloader? A little guidance would be nice.

Thanks,

Alex

0 项奖励
回复
1,427 次查看
daiane_angolini
NXP Employee
NXP Employee

first step would be include a new machine file. Look at

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata

I would take some imx6q as reference.

Or you can use this file as reference:

https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/wandboard-dual.conf

But, imx6dl-sdp must be included on meta-fsl-arm and you must work on master branch.

second step would be include imx6dl support on u-boot.

Take this file:

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata

And make the chages to point to

uboot-imx.git - Freescale i.MX u-boot Tree

(I think it's the latest u-boot for imx6dl-sdp)

When you get there we can discuss further

Then, 3th step would be include imx6dl support on kernel

This is the recipe that need to be changed:

meta-fsl-arm - Layer containing Freescale ARM hardware support metadata

And it will point to

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_3.0.35_12.10.02

I will double check if 12.10.02 is latest for imx6dl

0 项奖励
回复
1,426 次查看
OtavioSalvador
Senior Contributor II

The kernel needs to be the 3.0.0 one (which is not packaged); the U-Boot mainline does not yet support the other variants of i.MX6 so you should use the U-Boot i.MX (the 3.0.0 BSP one) however I cannot work on this as I don't have the board to work and test.

1,426 次查看
donmate
Contributor II

Ok, the first step to test the functionality of the MCIMX6DL-SDP board would be to use kernel and bootloader from BSP and the root file system from my Yocto build run. I will try this now...

Thanks,

Alex

0 项奖励
回复