Running AutoSD on Raspberry Pi 4¶
The Automotive SIG publishes images built via OSBuild based on the Automotive Image Builder manifest present in the sample-images repository.
Here is a quick guide on how to get you started with them.
We recommend you start with the rpi4 developer image. See
AutoSD sample images for more information about the
available prebuilt images.
-
Update eeprom.
Note
If eeprom is out-of-date, you might experience boot failures on Raspberry Pi 4 (rpi4). For more information about how to update eeprom, see the guide.
-
Download your
rpi4image from https://autosd.sig.centos.org/AutoSD-9/nightly/. -
Unpack the image.
-
Flash it onto your SD card.
-
Insert the SD card into your Raspberry Pi 4.
- Boot the Raspberry Pi 4.
-
Connect the Raspberry Pi 4.
Important
Serial and WiFi are not yet functional.
Connect to the Raspberry Pi 4 via a USB keyboard or via SSH with an Ethernet cable.
-
Log in as
rootorguestusing the password:password. -
Connect the Raspberry Pi 4 to the internet.
- Option 1) Connect by using an Ethernet cable if you have one. This is the most simple solution.
- Option 2)
If you are not near a router or cannot connect the Raspberry Pi by using an Ethernet cable,
use the
rpi4developer image.
Enable Bluetooth¶
-
To enable Bluetooth functionality, install some required packages:
-
Enable and start the service:
-
List the available Bluetooth devices:
Notice the MAC address of the device is listed as
AA:AA:AA:AA:AA:AA. This is incorrect, and it indicates that some Linux firmware is missing.# cd lib # grep -rni . -e firmware/ | grep brcm | grep dracut ./dracut/modules.d/62bluetooth/module-setup.sh:37: /lib/firmware/brcm/*.hcd* \ # ls /lib/firmware/brcm/ 'brcmfmac43430a0-sdio.ONDA-V80 PLUS.txt.xz' 'brcmfmac43455-sdio.MINIX-NEO Z83-4.txt.xz' 'brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi 4 Model B.txt.xz' brcmfmac43455-sdio.acepc-t8.txt.xz brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt.xz 'brcmfmac43455-sdio.Raspberry Pi Foundation-Raspberry Pi Compute Module 4.txt.xz' brcmfmac43455-sdio.bin.xz brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt.xz brcmfmac43455-sdio.clm_blob.xz brcmfmac43455-sdio.raspberrypi,4-model-b.txt.xzNotice there are no *.hcd files for any Bluetooth firmware.
-
Download the required firmware from GitHub:
-
Reboot the system:
-
List the available Bluetooth devices again to confirm that the device has a MAC address:
-
Start the device:
-
Put a selected device, such as a controller or a portable speaker, in pairing mode so you can connect it to the Raspberry Pi 4.
-
Scan for nearby Bluetooth devices:
-
Connect to the device:
> connect F4:93:9F:63:7F:6C [bluetooth]# connect F4:93:9F:63:7F:6C Attempting to connect to F4:93:9F:63:7F:6C [CHG] Device F4:93:9F:63:7F:6C Connected: yes [CHG] Device F4:93:9F:63:7F:6C UUIDs: 00001124-0000-1000-8000-00805f9b34fb [CHG] Device F4:93:9F:63:7F:6C UUIDs: 00001200-0000-1000-8000-00805f9b34fb [CHG] Device F4:93:9F:63:7F:6C ServicesResolved: yes [CHG] Device F4:93:9F:63:7F:6C Paired: yes Connection successful -
After the device is connected, exit
bluetoothctl: