设置环境变量 开发板

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

 

 

 

 

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

转载于:https://www.cnblogs.com/china-sdd/p/6171981.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值