fw_printenv/fw_setenv can't work in my arm-linux board's userspace?
来源:互联网 发布:钢铁雄心4汉化版mac 编辑:程序博客网 时间:2024/06/08 13:10
@author : Mingling.lu@date : 2015年11月23日 08:53:22@e-mail : mingllu@163.com
How to get fw_printenv/fw_setenv?
cd $(U_BOOTDIR)make envls tools/env/Then you will find fw_printenv . rename $(U-BOOTDIR)/tools/env/fw_printenv.c $(U_BOOTDIR)/tools/env/fw_setenv.cmake envls tools/env/Then you will find fw_setenv.
How to use fw_printenv/fw_setenv in my arm-linux board’s userspace?
fw_printenv usage example:[root@demobaord] fw_printenvfw_setenv usage example:[root@demobaord] fw_setenv bootdelay 1
*note : fw_printenv will change env’s value in SDRAM, not write into nandflash/norflash/eeprom., but, fw_setenv will write env’s value into nandflash/norflash/eeprom.
Why am I can’t run fw_printenv/fw_setenv in my arm-linux board’s userspace?
- Maybe your u-boot and your linux kernel use different ECC mode,You must ensure your u-boot and your kernel use same ECC mode if you use NandFlash to store ENV.
- Your u-boot’s CROSS_COMPILE must be same as your kernel’s CROSS_COMPILE.
Last but not least
To sump up, if you want to use fw_printenv/fw_setenv in Userspace, I think you should be clear ECC mode if you use NandFlash to store your ENV parameter.U-boot’s nand Ecc mode must be same as your linux kernel’s ECC mode.
0 0
- fw_printenv/fw_setenv can't work in my arm-linux board's userspace?
- OC sign-in can't work's solution
- Why won't my ASP pages work in IIS 6.0?
- ADB can't work
- Linux Filesystem in Userspace(FUSE)
- Linux Filesystem in Userspace(FUSE)
- Linux Filesystem in Userspace(FUSE)
- Why can't I ...? Why won't ... work?" What to do in case of problems
- How can I make my existing HTML files work in XML?
- How SMP schedule work in Linux kernel? (ARM architecture)
- My Backspace Key doesn't work!
- My Backspace Key doesn't work!
- When Element add attribute by the method "setAttribute",It can't work in IE
- HorizontalScrollview+LinearLayout+Gridview can't work?
- Synergy can't work on Fedora 18
- Why You Can’t Work For Google
- bootstrap-datetimepicker can't work with fontawesome.
- simulate ( board vexpress_ca9x4) arm in qemu
- C# 索引器与属性的区别
- 周记(四)
- js 正则表达式详解
- VS.net中快捷键收缩和展开代码段
- Hibernate 注解中CascadeType用法汇总
- fw_printenv/fw_setenv can't work in my arm-linux board's userspace?
- AJAX中的同步加载与异步加载
- Delphi Ping 返回通或不通
- Mac下将sunbilme text路径加到环境变量中,实现在终端中用subl打开文件或文件夹
- Leveldb源码分析--1
- iOS开发——React Native入门总结
- 关于铣槽&参数化部件改大小
- Leveldb源码分析--2
- dorado5中viewModel的几种状态