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
树莓派cm4设置为从nvme启动

树莓派cm4设置为从nvme启动

https://hagensieker.com/2022/04/17/booting-a-raspberry-pi-cm4-from-an-nvme/
sudo ./rpiboot
cd recovery
sudo nano boot.conf

boot.conf文件内容如下

[all]
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0

# Boot Order Codes, from https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#BOOT_ORDER
# Try SD first (1), followed by, USB PCIe, NVMe PCIe, USB SoC XHCI then network
BOOT_ORDER=0xf25641

# Set to 0 to prevent bootloader updates from USB/Network boot
# For remote units EEPROM hardware write protection should be used.
ENABLE_SELF_UPDATE=1

启动顺序说明

将BOOT_ORDER修改为如下顺序

BOOT_ORDER=0xf25146

执行如下3条指令,完成配置

cd recovery
./update-pieeprom.sh
../rpiboot -d .