树莓派使用u盘启动(不需要内存卡)

简介

最近看树莓派的io很慢,然后想着换个高速卡,或者系统放在u盘里,后来看了下,貌似树莓派4现在已经支持了直接冲usb启动

操作

首先更新固件到最新的版本

sudo rpi-eeprom-update

一般来说会现实

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
*** UPDATE AVAILABLE ***
BOOTLOADER: update available
   CURRENT: Thu 29 Apr 16:11:25 UTC 2021 (1619712685)
    LATEST: Tue 25 Jan 14:30:41 UTC 2022 (1643121041)
   RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
            Use raspi-config to change the release.

  VL805_FW: Dedicated VL805 EEPROM
     VL805: up to date
   CURRENT: 000138a1
    LATEST: 000138a1

表示你有固件更新

之后就是更新

rpi-eeprom-update -a

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
*** INSTALLING EEPROM UPDATES ***

BOOTLOADER: update available
   CURRENT: Thu 29 Apr 16:11:25 UTC 2021 (1619712685)
    LATEST: Tue 25 Jan 14:30:41 UTC 2022 (1643121041)
   RELEASE: default (/lib/firmware/raspberrypi/bootloader/default)
            Use raspi-config to change the release.

  VL805_FW: Dedicated VL805 EEPROM
     VL805: up to date
   CURRENT: 000138a1
    LATEST: 000138a1
   CURRENT: Thu 29 Apr 16:11:25 UTC 2021 (1619712685)
    UPdate:   Tue 25 Jan 14:30:41 UTC 2022 (1643121041):00
    BOOTFS: /boot

EEPROM updates pending. Please reboot to apply the update.
To cancel a pending update run "sudo rpi-eeprom-update -r".

然后重启就好了

使用usb启动之后果然io快了很多,顺便我还换成了64位的系统

欢迎关注我的博客 www.bboy.app

Have Fun