iMX6 NFS启动
来源:互联网 发布:js 初始化数组为0 编辑:程序博客网 时间:2024/04/29 13:52
iMX6 NFS启动
1、Tftp下载uImage:
1.1,设置ubuntu
(1) Setup tftp server files
# apt-get install tftpd tftp openbsd-inetd
(2) make a tftp directory Here we make /opt/tftpboot be a tftp directory.
# mkdir /opt/tftpboot
# chmod 777 /opt/tftpboot
(3) Open /etc/inetd.conf and edit it
# gedit /etc/inetd.conf
Add this line:
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /opt/tftpboot
(4)Restarting tftp service
#sudo /etc/init.d/openbsd-inetd restart
可以根据你的uImage文件放在路径,修改上述路径;也可以在/opt/tftpboot目录下生成一个目标连接文件。
1.2,tftp下载uImage
MX6Q SABRESD U-Boot >tftpboot uImage
2、文件系统以NFS方式加载
2.1 ,设置ubuntu
(1), Install NFS server package
# apt-get install nfs-kernel-server
(2), Configure portmap
# dpkg-reconfigure portmap
Select “NO”
(3) ,Configure mounted directory and authority
# gedit /etc/exports
Add the following line at the end of the file:
/home/ rootfs *(rw,sync,no_root_squash)
(4) ,Restart the NFS service
#sudo /etc/init.d/portmap restart
#sudo /etc/init.d/nfs-kernel-server restart
2.2,通过串口设置uboot变量设置
setenv ipaddr 192.168.1.xxx #设置板子IP
setenv serverip 192.168.1.xxx #设置为开发机的IP
setenv bootfile uImage
setenv nfsroot /home/rootfs
setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
setenv bootargs_nfs 'setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsrootdebug nfsroot=${serverip}:${nfsroot},v3,tcp fec_mac=${ethaddr} video=mxcfb0:dev=ldb,CVBS-TV,if=RGB666,bpp=16'
setenv bootcmd_net 'run bootargs_base bootargs_nfs;bootm'
setenv bootcmd 'tftpboot uImage; run bootcmd_net'
saveenv
- iMX6 NFS启动
- Freescale IMX6 Android (2): Android NFS启动问题汇总
- imx6 NFS boot
- imx6 nfs搭建
- imx6的nfs配置
- imx6 ubuntu1204 nfs环境搭建
- imx6 启动流程
- imx6 启动流程分析
- imx6 nand Flash 启动
- imx6 android SD卡启动
- nfs启动
- 启动NFS
- nfs 启动
- imx6 android开机启动守护进程
- 从NFS启动TQ2440
- Ubuntu 启动NFS Server
- nfs启动问题
- 从NFS启动Linux
- rabbitmq学习
- 2014 Q1智能手机出货量:逾1/3是大屏机 中企占十大厂商半数
- Linux popen函数的使用总结
- malloc可分配的最大空间
- 简单js控制页面小例子
- iMX6 NFS启动
- Eclipse 一直不停 building workspace... 完美解决总结
- 用bat运行.jar文件
- ios的信息推送
- UVa:120 - Stacks of Flapjacks
- 【UvaOJ】【基础题目】【Maths - Misc】 10014 - Simple calculations
- xpdf的使用
- flexIDE
- HTML5新增的INPUT输入类型