PowerPC平台 Linux移植三

继PowerPC平台 Linux移植二,实现单板挂载nfs网络文件系统。

1.ubuntu安装 配置 启动nfs服务
详细过程见 http://blog.csdn.net/u010216127/article/details/8825735
=> nfs 0x3000000 10.3.56.9:/home/freescale/work/nfs_root/hello
Speed: 100, full duplex
Using eTSEC2 device
File transfer via NFS from server 10.3.56.9; our IP address is 10.3.56.242
Filename '/home/freescale/work/nfs_root/hello'.
Load address: 0x3000000
Loading: ##T T *** ERROR: Cannot umount
解决方法:
要在主机的/etc/hosts文件中加入
你的开发板ip     nfs目录(Ubuntu),eg
10.3.56.242        /home/freescale/work/nfs_root
=> nfs 0x3000000 10.3.56.9:/home/freescale/work/nfs_root/hello
Speed: 100, full duplex
Using eTSEC2 device
File transfer via NFS from server 10.3.56.9; our IP address is 10.3.56.242
Filename '/home/freescale/work/nfs_root/hello'.
Load address: 0x3000000
Loading: ##
done
Bytes transferred = 7920 (1ef0 hex)
=>

2.烧写uImage dtb
=> setenv ethact eTSEC2                                                                                                                                                    
=> tftp 0x1000000 uImage
Speed: 100, full duplex
Using eTSEC2 device
TFTP from server 192.168.2.242; our IP address is 192.168.2.21
Filename 'uImage'.
Load address: 0x1000000
Loading: #################################################################
         #################################################################
         #################################################################
         ####
done
Bytes transferred = 2907800 (2c5e98 hex)
=> erase 0xee080000 0xee37ffff

........................ done
Erased 24 sectors
=> cp.b 0x1000000 0xee080000 0x300000
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=> md 0xee080000
ee080000: 27051956 2899922f 55640aa4 002c5e58    '..V(../Ud...,^X

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值