Device | Release Date | Support | Config |
---|---|---|---|
Raspberry Pi B/B+/A+ | 2012/2014/2014 | not recommended | rpi |
Raspberry Pi 2 B | 2015 | not recommended | rpi2 |
Raspberry Pi 3 B/B+ | 2016/2018 | yes | rpi3 / rpi3_64 |
Raspberry Pi 4 B | 2019 | yes | rpi4 / rpi4_64 |
For access to terminal over serial console, add console=ttyAMA0,115200
to cmdline.txt
and enable_uart=1
, dtoverlay=pi3-disable-bt
into config.txt
. GPIO pins are: 6 = GND / 8 = UART TXD / 10 = UART RXD.
Add dtparam=i2c1=on
and dtparam=i2c_arm=on
to config.txt
. After that we create a module file on host with config usb stick or direct into /etc/modules-load.d
.
rpi-i2c.conf:
i2c-dev
i2c-bcm2708
USB mass storage boot is available on Raspberry Pi 4 (64-bit only), 3B, 3B+, 3A+, and 2B v1.2.
For Raspberry 3B, 3A+ and 2B v1.2, to enable USB boot, add program_usb_boot_mode=1
into config.txt
. Note that this permanently alters the one-time programmable memory of the device.
For Raspberry 4
- Make sure to update the bootloader to a stable release supporting USB mass storage boot (see bcm2711_bootloader_config.md).
- If no SD card is used add
sd_poll_once=on
todtparam
inconfig.txt
(comma separated). This gets rid ofmmc0: timeout waiting for hardware interrupt
kernel errors. - If install still fails, then your SSD likely needs quirks enabled to work correctly (see Finding the VID and PID of your USB SSD). Once you find your adapter's ID, add the quirks parameter in
cmdline.txt
.
For more information see RaspberryPi.
- All bootable SD cards must be removed.
- Boot time can be significantly longer with USB. This is due to the boot process first attempting to boot from SD card, failing, and resorting to USB.
- Many USB drives simply do not work for boot. This is likely due to minimal driver support in uboot and will not be fixed. If you can't get it to boot on one drive, try a different brand/model. SanDisk Cruzer drives seem to have a higher rate of issues.
If you don't need bluetooth, disabled it with add dtoverlay=pi3-disable-bt
into config.txt
.