设置环境变量 开发板

1.uboot制作过程:

配置: make mini2440_config

编译:make ARCH = arm CROSS_COMPILE=arm-linux-

将生成的uboot.bin 通过超级终端写入开发板。

首先从norflash启动,然后格式化nandflash for linux ;然后download vivi ;使用dnw即可将uboot.bin烧写入开发板。

 

2.bootloader参数设置

setenv bootargs noinitrd console=ttySAC0,115200 init=/init root=/dev/nfs rw nfsroot=192.168.1.3:/home/rootfs ip=192.168.1.4:192.168.1.3:192.168.1.1:255.255.255.0::eth0:off

setenv bootcmd tftp 30000000 uImage \; bootm 30000000

3.启动tftp:/etc/init.d/xinetd restart

4.tftp配置:/etc/xinetd.d/tftp

5.嵌入式内核制作:make distclean  ;make menuconfig ARCH=arm ; make uImage ARCH=arm CROSS_COMPILE=arm-linux-

6.根文件系统的制作:

7.根文件系统挂载

 

使用vim /etc/exports 确保rootfs的路径;使用/etc/init.d/nfs restart 开启nfs

 

 

 

 

此处根文件系统制作不完全  有待完善

posted @ 2016-11-11 14:16  china_sdd  阅读(641)  评论(0编辑  收藏  举报