7367
- 收藏
- 点赞
- 分享
- 举报
【已解决】3516a的uboot重启后无法获取以前的设置环境变量
本帖最后由 goodman 于 2016-4-4 09:28 编辑
uboot中设置环境变量后,重启后环境变量还是原来的环境变量,一直没找到原因,麻烦知道的指点一下,谢谢
U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L 256/257 35 E/F"
MMC: Card did not respond to voltage select!
No EMMC device found!!!
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
USB: scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon # setenv serverip 192.168.1.14
hisilicon # saveenv
Saving Environment to SPI Flash...
Erasing SPI flash, offset 0x00040000 size 256K ...done
Writing to SPI flash, offset 0x00040000 size 256K ...done
hisilicon # print
bootargs=mem=96M console=ttyAMA0,115200
bootcmd=bootm 0x82000000
bootdelay=1
baudrate=115200
ethaddr=00:00:23:34:45:66
ipaddr=192.168.1.10
netmask=255.255.255.0
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
serverip=192.168.1.14
Environment size: 301/262140 bytes
hisilicon # reset
resetting ...
U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L 256/257 35 E/F"
MMC: Card did not respond to voltage select!
No EMMC device found!!!
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
USB: scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon # print
bootargs=mem=96M console=ttyAMA0,115200
bootcmd=bootm 0x82000000
bootdelay=1
baudrate=115200
ethaddr=00:00:23:34:45:66
ipaddr=192.168.1.10
serverip=192.168.1.2
netmask=255.255.255.0
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
Environment size: 300/262140 bytes
hisilicon #
补充内容 (2016-4-1 14:44):
问题已解决
uboot中设置环境变量后,重启后环境变量还是原来的环境变量,一直没找到原因,麻烦知道的指点一下,谢谢
U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L 256/257 35 E/F"
MMC: Card did not respond to voltage select!
No EMMC device found!!!
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
USB: scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon # setenv serverip 192.168.1.14
hisilicon # saveenv
Saving Environment to SPI Flash...
Erasing SPI flash, offset 0x00040000 size 256K ...done
Writing to SPI flash, offset 0x00040000 size 256K ...done
hisilicon # print
bootargs=mem=96M console=ttyAMA0,115200
bootcmd=bootm 0x82000000
bootdelay=1
baudrate=115200
ethaddr=00:00:23:34:45:66
ipaddr=192.168.1.10
netmask=255.255.255.0
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
serverip=192.168.1.14
Environment size: 301/262140 bytes
hisilicon # reset
resetting ...
U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
Check spi flash controller v350... Found
Spi(cs1) ID: 0xC2 0x20 0x19 0xC2 0x20 0x19
Spi(cs1): Block:64KB Chip:32MB Name:"MX25L 256/257 35 E/F"
MMC: Card did not respond to voltage select!
No EMMC device found!!!
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
USB: scanning bus for devices... 1 USB Device(s) found
0 Storage Device(s) found
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
hisilicon # print
bootargs=mem=96M console=ttyAMA0,115200
bootcmd=bootm 0x82000000
bootdelay=1
baudrate=115200
ethaddr=00:00:23:34:45:66
ipaddr=192.168.1.10
serverip=192.168.1.2
netmask=255.255.255.0
bootfile="uImage"
stdin=serial
stdout=serial
stderr=serial
verify=n
ver=U-Boot 2010.06-dirty (Mar 31 2016 - 12:41:40)
Environment size: 300/262140 bytes
hisilicon #
补充内容 (2016-4-1 14:44):
问题已解决
我来回答
回答10个
时间排序
认可量排序
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-09-21 20:42:52
-
2013-07-23 17:45:41
-
2016-03-26 12:38:17
-
2016-11-07 18:52:56
-
2016-10-11 20:08:38
-
2019-05-17 16:00:57
-
2017-06-05 09:18:21
-
2016-07-21 09:44:40
-
2018-12-20 15:50:55
-
2017-05-15 17:33:28
-
2016-11-28 16:36:35
-
2023-06-12 19:31:32
-
2015-05-28 18:52:06
-
2016-10-15 23:46:16
-
2019-07-30 11:51:13
-
2016-07-11 15:24:35
-
2016-11-29 17:14:48
-
2016-05-21 09:05:58
-
2018-10-10 16:48:13
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5SS928的emmc有32GB,bootargs设置使用16GB,但是为啥能用的只有rootfs的大小
-
33SS928怎样烧写ubuntu系统
-
10ToolPlatform下载rootfs提示网络失败
-
10谁有GK7205V500的SDK
-
5Hi3516CV610 烧录不进去
-
10Hi3559AV100 芯片硬解码h265编码格式的视频时出现视频播放错误,解码错误信息 s32PackErr:码流有错
-
5海思SS928 / SD3403的sample_venc.c摄像头编码Demo中,采集到的摄像头的YUV数据在哪个相关的函数中?
-
5海鸥派openEuler无法启动网卡,连接WIFI存在问题
-
66有没有ISP相关的巨佬帮忙看看SS928对接IMX347的图像问题
-
50求助hi3559与FPGA通过SLVS-EC接口对接问题
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认