组织介绍

Linux BSP

The Linux BSP is a collection of source code that can be used to create U-Boot boot loader, Linux kernel image, a root filesystem and an ARM Trusted Firmware (TF-A) images for the supported boards.

U-Boot source

bitbake -e u-boot | grep "^S="

Linux source

bitbake -e virtual/kernel | grep "^S="

Rebuild kernel and deploy

bitbake virtual/kernel -c clean
bitbake virtual/kernel -c menuconfig
bitbake virtual/kernel -c compile -f
bitbake virtual/kernel

Rebuild U-Boot and deploy

bitbake u-boot -c configure
bitbake u-boot -c devshell
cd ../build/<defconfig>
make menuconfig
exit
bitbake u-boot -c compile -f
bitbake u-boot

Populate SDK for image

bitbake <image> -c populate_sdk

Populate rootfs again for image

bitbake <image> -c clean
bitbake <image> -c rootfs -f
bitbake <image>

To use Comprehensive Yocto Image

lsblk
export DEVSD=<disk>
sudo dd if=<sdcard> of=${DEVSD} bs=1M && sync
成就
1
Star
0
Fork
成员(1)
1566830 happy2discover 1629043381
happy2discover

搜索帮助