lps 发表于 2022-7-15 11:20:23

u-boot无法保存参数

u-boot设置nfs启动时,想保存ip参数无法保存,是怎么回事呢
Environment size: 4162/32764 bytes
=> saveenv
Saving Environment to nowhere...
版本是:
=> version
U-Boot 2017.09(u-boot commit id: fc354ea827411c1cc35ddf76162aed02f7a9c7d5)(sdk version: rk356x_linux_release_20220516_v1.2.4a.xml)-gfc354ea827 #lps (Jul 14 2022 - 17:44:19 +0800)
aarch64-linux-gnu-gcc (Linaro GCC 6.3-2017.05) 6.3.1 20170404
GNU ld (Linaro_Binutils-2017.05) 2.27.0.20161019


Liuth 发表于 2022-7-15 15:56:36

默认不保存,要选择一个存储设备
u-boot 根目录下make menuconfig
存储配置:
Environment--->
Select the location of the environment
(X) Environment in an MMC device

lps 发表于 2022-7-15 16:41:07

Liuth 发表于 2022-7-15 15:56
默认不保存,要选择一个存储设备
u-boot 根目录下make menuconfig
存储配置:


可以成功保存,但是系统启动不了了
页: [1]
查看完整版本: u-boot无法保存参数