Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the simply-static domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/html/wp-includes/functions.php on line 6121
树莓派4b更新(系统引导程序)EEPROM Boot loader

树莓派4b更新(系统引导程序)EEPROM Boot loader

树莓派 4B 板载了 EEPROM 芯片,参数为 4MBits/512KB,通过 SPI 协议读写。出厂时已写入了 Boot loader(系统引导程序)。通常不需要自己手动管理系统引导程序。只在必要的时候,可以通过更新树莓派 EEPROM 中的引导程序获得新的功能(需要在树莓派官方系统下进行更新操作)。引导程序更新的方法如下。

1sudo apt update
sudo apt upgrade# 安装更新工具
sudo apt install rpi-eeprom# 检测更新
sudo rpi-eeprom-update

如果检测到了新版本,程序会提示「需要更新」。这时可以采用两种方式:

1、官方自动更新

1sudo rpi-eeprom-update -a

更新完成重启即可。需要注意的是,此命令自动更新为正式版最新固件,如果需要更新到 beta 版本,可以采用下面这种方式。

2、自定义更新

获取树莓派最新的 EEPROM 固件。

1wget https://github.com/raspberrypi/rpi-eeprom/archive/master.zip # 解压下载的文件,然后进入相应的固件文件夹
unzip master.zip
cd rpi-eeprom-master/firmware/critical/

在 firmware 文件夹中,beta 为测试版本,critical 为稳定版本,可自行选择,测试版固件请慎用,如果变砖了就很难恢复。用下面的命令更新固件。

1sudo rpi-eeprom-update -d -f 固件文件名

更新完成后会提示「更新完成」,然后重启树莓派就更新好了!

1sudo reboot