# Raspberry Pi 5 ## Components The following components are required to fully automate the board: - [Flylead MIB](/hardware/mibs/flylead.md) - Short RJ45 network cable - JST PH 3pin to female socket cab - USB-A male to USB-C male cable - USB-C male to USB-C male cable - Micro SD Card ## MIB ```{figure-md} ![RPi5 connected to the MIB](/_images/rpi5/connections.jpg){align=center} RPi5 connected to the MIB ``` ### Configuration Set the voltage level switch on the top of the MIB to 3v3: ```{figure-md} ![voltage level](/_images/rpi5/vio-selector.jpg){align=center} Vio level set to 3v3 ``` ### Network Connect the Raspberry Pi network interface to the LAA private network interface. ### USB Connect the LAA USB OTG port (front facing) to one of the Raspberry-Pi USB port. ### Power Connect a USB C-to-C cable from LAA Port 1 (facing upward) to the RPi USB power port. ### Serial Connect the RPi debug port to the flylead header in the middle. ```{figure-md} ![serial connection](/_images/rpi5/serial-header.jpg){align=center} Serial connection ``` ```{admonition} 3-pin debug socket :class: tip The RPi5 provide debug and serial via a 1mm JST socket. You can either order one or use the one provided with the Raspberry Pi Debug Probe. ``` ## Software In order for the Raspberry Pi DUT to be easily testable by LAVA, the DUT should boot to u-boot. To boot the Raspberry Pi 5, we will boot from USB Mas Storage using USB Mass Storage Emulation. ### USB Mass Storage Emulation The LAA USB OTG port will act as a USB Mass Storage device with the content that you specify in LAVA. This setup allows to update the bootloader without reflashing the DUT. We provide [pre-built image](https://firmwares.lavacloud.io/rpi-5/boot.img.zst). ### Setup a simple recovery mechanism Refer to the [RPi 4 documentation](rpi-3-and-4.md#setup-a-simple-recovery-mechanism).