-
Build the image.
export BUILD_DEVICE=rpi4-32 bitbake aws-biga-image
After building, the images will be in the following directory.
ls tmp/deploy/images/raspberrypi4-64/*sdimg
Where my image happens to be:
FILE=tmp/deploy/images/raspberrypi4-32/core-image-minimal-raspberrypi4-32.rpi-sdimg
-
Image the target device using
dd
. You can also use an imaging tool you are comfortable with. BE SUPER CAREFULFirst identify the device using
lsblk
and then set it to the output variable. This will help you confirm that this is really the target device you want to image. BE SUPER CAREFULlsblk #DEVICE=<IDENTIFIED DEVICE, i.e.> DEVICE=/dev/sda sudo dd if=$FILE of=$DEVICE bs=1m
-
Modify config.txt
In my case, I use the UART to communicate with the Raspberry Pi. I then remove the remark for the
init_uart_baud
andinit_uart_clock
properties. -
Eject the SD Card, insert the SD Card to the Raspberry Pi, connect the UART and Ethernet, and power up.