Table of Content
- 1. RPI Image Installation
- 2. RPI 4 Image Build - Buildroot
- 3. Device Driver Development for RPI 4 - Buildroot
- 3. RPI Image Build - Yocto
- 4. RPI Driver Development
- 99. Reference URL
1. RPI Image Installation
1. Raspberry Pi OS Lite
-
Download image from: https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-05-28/2021-05-07-raspios-buster-armhf-lite.zip
https://www.raspberrypi.org/software/operating-systems/
-
Copy image to the SD card
On host PC (sdX is SD card partition on you host)
$ unzip 2021-05-07-raspios-buster-armhf-lite.zip $ sudo dd if=2021-05-07-raspios-buster-armhf-lite.img of=/dev/sdX bs=4M conv=fsync
-
Boot from SD
2. RPI 4 Image Build - Buildroot
$ git clone git://git.busybox.net/buildroot -b master
$ cd buildroot
$ make raspberrypi4_64_defconfig
$ make -j8
//copy image to SD card
$ sudo dd if=output/images/sdcard.img of=/dev/sdX bs=4M conv=fsync
//Boot from SD
//Done