7363
- 收藏
- 点赞
- 分享
- 举报
【已解决】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
-
2016-11-28 16:36:35
-
2017-05-15 17:33:28
-
2023-06-12 19:31:32
-
2015-05-28 18:52:06
-
2019-07-30 11:51:13
-
2016-07-11 15:24:35
-
2018-10-10 16:48:13
-
2016-11-29 17:14:48
-
2016-10-15 23:46:16
-
2016-05-21 09:05:58
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5RK3588的DPHY0接lt6911uxe转HDMI抓帧分辨率不对
-
20求rv1106板子的sdk包或者开发板资料
-
10ss928烧录uboot失败
-
10求助,3588调试imx586和ov50c40时,按照瑞芯微的单摄8k配置好设备树后,驱动配置的8k分辨率的,但是只能抓到4k的图,且颜色偏粉
-
50帮忙解决个交叉编译的问题
-
20帮忙交叉编译个源码
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认