IMX8mmevk 在YOCTO上怎么创建自己的驱动和应用?

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

IMX8mmevk 在YOCTO上怎么创建自己的驱动和应用?

1,591 Views
2046880190
Contributor III

大家好:

     通过NXP官方提供的资料,使用 bitbake fsl-image-validation-imx ,我已经编译出来可用的镜像,烧录到SD卡能够正常运行。

      现在我需要创建自己的驱动和应用,然后开发公司的产品。

       目前想先创建一个hello wolrd的驱动和应用。百度之后,发现需要在yocto上创建新的层。参考链接:https://blog.csdn.net/weixin_34133829/article/details/88507862

      很尴尬的是我第一步就失败了。yocto-layer create my_layer这个命令无法执行

      pastedImage_1.png

看参考链接,前面有一句话是要我执行环境脚本,说的是setup-environment么?

pastedImage_2.png

执行bitbake之前,我会运行  source setup-environment imx8mmevk_wayland/

但是创建新层我该怎么做?

0 Kudos
1 Reply

1,121 Views
joanxie
NXP TechSupport
NXP TechSupport

pls refer to the yocto training, I think the task #10 is useful for you

https://community.nxp.com/docs/DOC-94849 

0 Kudos