7339
- 收藏
- 点赞
- 分享
- 举报
【已解决】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
-
2016-07-21 09:44:40
-
2017-06-05 09:18:21
-
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-07-11 15:24:35
-
2016-10-15 23:46:16
-
2016-11-29 17:14:48
-
2019-07-30 11:51:13
-
2016-05-21 09:05:58
-
2018-10-10 16:48:13
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认