I would like to compile my own image using Yocto, is there a guide for this?
I would like to compile my own image using Yocto, is there a guide for this?
hi
I have successfully merged maaxboard company's linux and uboot code into the yocto project.
some key steps:
1. in freescale yocto guide I use yocto version:(asked from technical supporter)
...
$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m
imx-4.14.98-2.0.0_ga.xml
$ repo sync
..
2.the board is imx8mqevk
3. patches kernel DTB using:
em_sbc_imx8m.dts
remove the other dts we do not use. that 's it!
3.directly use maaxboard uboot code
em_sbc_imx8m_defconfig for uboot config
modify key files
modified: ../../conf/machine/imx8mqevk.conf (flash_ddr4_em for uboot image,for dtb, for uboot config ,please change
modified: ../u-boot/u-boot-imx_2018.03.bb
modified: ../../recipes-kernel/linux/linux-imx-src-4.14.98.inc
4. uboot makimage tools;
modified: imx-mkimage_git.inc (directly company's source code in u-boot folder : source/u-boot/tools/imx-boot)
Thant's it!
hi
I have successfully merged maaxboard company's linux and uboot code into the yocto project.
some key steps:
1. in freescale yocto guide I use yocto version:(asked from technical supporter)
...
$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://source.codeaurora.org/external/imx/imx-manifest -b imx-linux-sumo -m
imx-4.14.98-2.0.0_ga.xml
$ repo sync
..
2.the board is imx8mqevk
3. patches kernel DTB using:
em_sbc_imx8m.dts
remove the other dts we do not use. that 's it!
3.directly use maaxboard uboot code
em_sbc_imx8m_defconfig for uboot config
modify key files
modified: ../../conf/machine/imx8mqevk.conf (flash_ddr4_em for uboot image,for dtb, for uboot config ,please change
modified: ../u-boot/u-boot-imx_2018.03.bb
modified: ../../recipes-kernel/linux/linux-imx-src-4.14.98.inc
4. uboot makimage tools;
modified: imx-mkimage_git.inc (directly company's source code in u-boot folder : source/u-boot/tools/imx-boot)
Thant's it!
you can download the tar I did for maaxboard yocto project. please read READ.me and I posted before as hint.
the tar file I did not test. it should work.
https://drive.google.com/drive/folders/1hT6AgSL9Y1xAYyshSJcXCPYYbBQZOPrg?usp=sharing