在uboot中加入一键nfs启动选项,方便调试工作
来源:互联网 发布:数据圈登录不了 编辑:程序博客网 时间:2024/05/01 20:25
一般情况下,买的开发板,附带的uboot包含了菜单
为了内核开发的方便,可以在菜单中增加一键nfs启动选项
启动菜单一般在common/main.c中
ExecuteCmd("setenv netmask 255.255.255.0");ExecuteCmd("setenv ipaddr 10.199.36.55");ExecuteCmd("setenv serverip 10.199.36.1");ExecuteCmd("setenv gatewayip 10.199.36.250");ExecuteCmd("tftp 0xC0008000 zImage");ExecuteCmd("setenv serverip 10.199.36.2");ExecuteCmd("setenv hostname s5pv210");ExecuteCmd("setenv netdev eth0");ExecuteCmd("setenv rootpath /kf/nfs/210rootnfs");ExecuteCmd("setenv bootargs console=ttySAC2,115200 root=/dev/nfs ro nfsroot=$serverip:$rootpath,nolock,tcp ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off");ExecuteCmd("bootm 0xC0008000");
0 0
- 在uboot中加入一键nfs启动选项,方便调试工作
- 浏览器console中加入jquery方便调试
- tiny210 uboot nfs 启动android
- 在Myeclipse中加入jad方便查看.class文件
- 在uboot中加入cmd_run命令,运行环境变量
- 在应用程序中加入调试窗口
- 在关机键 电源菜单 中加入 重启、recovery 等选项的教程
- uboot-tiny4412启动流程(下)----如何将自己的裸板测试程序加入uboot中启动测试
- 在文件夹右键选项中加入cmd命令
- 如何在Excel的单元格中加入下拉选项
- 在CmakeLists中加入c++11编译选项
- NFS ROOT 启动内核的配置(UBoot)
- NFS ROOT 启动内核的配置(UBoot)
- NFS ROOT 启动内核的配置(UBoot)
- uboot如何设置nfs的启动参数
- NFS ROOT 启动内核的配置(UBoot)
- NFS ROOT 启动内核的配置(UBoot)
- 寻找在启动WSAD5时丢失的工作区选项
- 3.12伪代码
- 006.self 作为方法的返回值
- fill和fill_n函数的应用
- 使用TCP传输从客户端上传文件到服务器端
- Linux初学笔记之<用户和用户组操作>
- 在uboot中加入一键nfs启动选项,方便调试工作
- Spark高级数据分析——互动出版网
- 视频H.263与H.264的比较
- Pawn Storm网络间谍行动再度现身
- 005.self 用来访问成员变量
- 二.简单tree
- QListWidget滚动条自动下滚
- 此为传送门,关于学习html、css、js、apache、php、mysql的学习
- Spring MVC 乱码问题