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