Yocto Bitbake compiling u-boot kernel

Source: Internet
Author: User
Tags yocto

1,u-boot

< enter ...-yocto>

Bitbake-c cleansstate u-boot (two s)

Bitbake-c Patch U-boot ( so that it can be compiled locally, not from the online fetch code )

< enter ...-release>

Bitbake-e u-boot |grep ^s= ( get u-boot code path, can be modified after entry )

< modification completed, enter release>

SOURCE Source_this

Bitbake-c compile-f u-boot >> log.txt ( show output in log.txt )

Bitbake U-boot

2,kernel

< enter ...-yocto>

Bitbake-c cleansstate Virtual/kernel

Bitbake-c Patch Virtual/kernel

Bitbake-e Virtual/kernel |grep ^s=

update kernel_defconfig variable in meta-fsl-ppc/conf/machine/<machine>.conf ( modify KERNEL Defconfig )

update kernel_devicetree variable in meta-fsl-ppc/conf/machine/<machine>.conf ( modify DTS)

Bitbake-c menuconfig virtual/kernel (Enter the Kernel configuration menu menu configuration)

Screen-r Devshell

< enter ...-release>

Bitbake-c compile-f Virtual/kernel

bitbake Virtual/kernel ( compiled kernel file, will be in Build_<machine>_release/tmp/deploy/imag es/)

Yocto Bitbake compiling u-boot kernel

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.