Software | Hardware |
---|---|
ubuntu 18.04/20.04/22.04 | Beaglebone black |
Task | Description |
---|---|
01 | adding and modifying user account in local.conf |
02 | created a layer and wrote a recipe image |
- Download poky repo
$ git clone https://git.yoctoproject.org/poky -b kirkstone
- Prepare the build environment
$ cd poky
$ source oe-init-build-env ../build_beaglebone
$ bitbake core-image-minimal
- The images are available in
tmp/deploy/images/beaglebone-yocto
.
$ cd tmp/deploy/images/beaglebone-yocto
-
Fix and format your sd card.
-
Check sd card with the command below.
$ dmesg
- Data duplicate/copy images to the sd card
$ sudo dd if=core-image-minimal-beaglebone-yocto.wic of=/dev/sdb
-
Plug the sd card and fix it to your beaglebone. Connect the txd, rxd, gnd of your beaglebone to a uart-usb adapter connected to your machine.
-
After connecting serial and beaglebone black to pc, using the dmesg to identify the new port
$ dmesg
- Use the command to access the beaglebone black
$ sudo picocom -b 115200 /dev/ttyACM0
- By default beaglebone black boots from its internal eMMC storage, to boot a new image from the sdcard, press and hold the reset button while you power your board.