参见github manifest配置拉取yocto相关代码:
https://github.com/675816156/manifest/tree/raspi4b
export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo'
repo init -u https://github.com/675816156/manifest.git -b raspi4b
repo sync
编译yocto for raspi4b
source build.sh
bitbake core-image-base
编译结果存放在:output_raspberrypi4-64/tmp/deploy/images/raspberrypi4-64/
烧写sdcard
# ubuntu下面安装烧写工具bmaptool
sudo bmaptool copy output_raspberrypi4-64/tmp/deploy/images/raspberrypi4-64/core-image-base-raspberrypi4-64.wic.bz2 /dev/sdb # sdb是我的sdcard设备
登陆账户
账户名:root
无密码
raspberrypi4-64 login: [ 15.331221] Bluetooth: HCI UART driver ver 2.3
[ 15.340106] Bluetooth: HCI UART protocol H4 registered
[ 15.347861] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 15.360421] Bluetooth: HCI UART protocol Broadcom registered
[ 15.895772]