主题 : tiny4412板子,linux 开发从nfs挂载文件系统不成功 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 41614
精华: 0
发帖: 58
金钱: 290 两
威望: 58 点
综合积分: 116 分
注册时间: 2011-03-30
最后登录: 2017-09-13
楼主  发表于: 2015-05-06 19:15

 tiny4412板子,linux 开发从nfs挂载文件系统不成功

我在网上找了一下tiny4412板子,linux 开发从nfs挂载文件系统资料很少,自己也不知道怎么弄,改如何配置呢?请大师们指点,谢谢
命令行:root=/dev/nfs nfsroot=192.168.2.129:/opt/rootfs_qtopia_qt4 rw  console=ttySAC0,115200 init=/linuxrc ctp=2 skipcali=y ethmac=1C:6F:65:34:51:7E

打印信息:

[    3.490000]   No soundcards found.
[    3.490000] Freeing init memory: 212K
1Wire touchscreen OK
switch_root: bad newroot /r
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00                                                                                        000100
[    3.525000]
[    3.525000] [<c001aa44>] (unwind_backtrace+0x0/0xf0) from [<c0614834>] (panic                                                                                        +0x88/0x1dc)
[    3.525000] [<c0614834>] (panic+0x88/0x1dc) from [<c003616c>] (do_exit+0x684/                                                                                        0x7e4)
[    3.525000] [<c003616c>] (do_exit+0x684/0x7e4) from [<c0036528>] (do_group_ex                                                                                        it+0x3c/0xb0)
[    3.535000] [<c0036528>] (do_group_exit+0x3c/0xb0) from [<c00365ac>] (sys_exi                                                                                        t_group+0x10/0x18)
[    3.540000] [<c00365ac>] (sys_exit_group+0x10/0x18) from [<c0013a00>] (ret_fa                                                                                        st_syscall+0x0/0x30)
[    3.550000] CPU3: stopping
[    3.550000] [<c001aa44>] (unwind_backtrace+0x0/0xf0) from [<c00192fc>] (handl                                                                                        e_IPI+0x184/0x1b8)
[    3.550000] [<c00192fc>] (handle_IPI+0x184/0x1b8) from [<c0008514>] (gic_hand                                                                                        le_irq+0x60/0x68)
[    3.550000] [<c0008514>] (gic_handle_irq+0x60/0x68) from [<c0013600>] (__irq_                                                                                        svc+0x40/0x70)
[    3.550000] Exception stack(0xed06bf38 to 0xed06bf80)
[    3.550000] bf20:                                                       ed06b                                                                                        f80 00000000
[    3.550000] bf40: d3ce2ca5 00000000 d3990c0f 00000000 c1a18358 ed06bf80 00000                                                                                        000 c09065fc
[    3.550000] bf60: 00000000 c0987aec 3b9aca00 ed06bf80 c0071cec c045226c 90000                                                                                        013 ffffffff
[    3.550000] [<c0013600>] (__irq_svc+0x40/0x70) from [<c045226c>] (cpuidle_wra                                                                                        p_enter+0x4c/0xa0)
[    3.550000] [<c045226c>] (cpuidle_wrap_enter+0x4c/0xa0) from [<c0451e94>] (cp                                                                                        uidle_idle_call+0xdc/0x360)
[    3.550000] [<c0451e94>] (cpuidle_idle_call+0xdc/0x360) from [<c0014f84>] (cp                                                                                        u_idle+0xc8/0x11c)
[    3.550000] [<c0014f84>] (cpu_idle+0xc8/0x11c) from [<40611834>] (0x40611834)
[    3.550000] CPU1: stopping
[    3.550000] [<c001aa44>] (unwind_backtrace+0x0/0xf0) from [<c00192fc>] (handl                                                                                        e_IPI+0x184/0x1b8)
[    3.550000] [<c00192fc>] (handle_IPI+0x184/0x1b8) from [<c0008514>] (gic_hand                                                                                        le_irq+0x60/0x68)
[    3.550000] [<c0008514>] (gic_handle_irq+0x60/0x68) from [<c0013600>] (__irq_                                                                                        svc+0x40/0x70)
[    3.550000] Exception stack(0xed067f38 to 0xed067f80)
[    3.550000] 7f20:                                                       ed067                                                                                        f80 00000000
[    3.550000] 7f40: d3ce2c28 00000000 d39902c8 00000000 c1a08358 ed067f80 00000                                                                                        000 c09065fc
[    3.550000] 7f60: 00000000 c0987aec 3b9aca00 ed067f80 c0071cec c045226c 90000                                                                                        013 ffffffff
[    3.550000] [<c0013600>] (__irq_svc+0x40/0x70) from [<c045226c>] (cpuidle_wra                                                                                        p_enter+0x4c/0xa0)
[    3.550000] [<c045226c>] (cpuidle_wrap_enter+0x4c/0xa0) from [<c0451e94>] (cp                                                                                        uidle_idle_call+0xdc/0x360)
[    3.550000] [<c0451e94>] (cpuidle_idle_call+0xdc/0x360) from [<c0014f84>] (cp                                                                                        u_idle+0xc8/0x11c)
[    3.550000] [<c0014f84>] (cpu_idle+0xc8/0x11c) from [<40611834>] (0x40611834)
[    3.550000] CPU2: stopping
[    3.550000] [<c001aa44>] (unwind_backtrace+0x0/0xf0) from [<c00192fc>] (handl                                                                                        e_IPI+0x184/0x1b8)
[    3.550000] [<c00192fc>] (handle_IPI+0x184/0x1b8) from [<c0008514>] (gic_hand                                                                                        le_irq+0x60/0x68)
[    3.550000] [<c0008514>] (gic_handle_irq+0x60/0x68) from [<c0013600>] (__irq_                                                                                        svc+0x40/0x70)
[    3.550000] Exception stack(0xed069f38 to 0xed069f80)
[    3.550000] 9f20:                                                       ed069                                                                                        f80 00000000
[    3.550000] 9f40: d3ce2d9f 00000000 d39942e9 00000000 c1a10358 ed069f80 00000                                                                                        000 c09065fc
[    3.550000] 9f60: 00000000 c0987aec 3b9aca00 ed069f80 c0071cec c045226c 90000                                                                                        013 ffffffff
[    3.550000] [<c0013600>] (__irq_svc+0x40/0x70) from [<c045226c>] (cpuidle_wra                                                                                        p_enter+0x4c/0xa0)
[    3.550000] [<c045226c>] (cpuidle_wrap_enter+0x4c/0xa0) from [<c0451e94>] (cp                                                                                        uidle_idle_call+0xdc/0x360)
[    3.550000] [<c0451e94>] (cpuidle_idle_call+0xdc/0x360) from [<c0014f84>] (cp                                                                                        u_idle+0xc8/0x11c)
[    3.550000] [<c0014f84>] (cpu_idle+0xc8/0x11c) from [<40611834>] (0x40611834)
[    3.550000] Rebooting in 5 seconds..
[ 此帖被nawei87在2015-05-06 20:52重新编辑 ]
级别: 新手上路
UID: 98793
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2013-12-07
最后登录: 2016-09-10
1楼  发表于: 2015-05-08 00:00
root=/dev/nfs nfsroot=192.168.1.130:/home/ubuntu64/rootfs ip=192.168.1.9:192.168.1.130:192.168.1.1:255.255.255.0::eth0:off rootfstype=ext4 console=ttySAC0,115200 init=/linuxrc ctp=2 skipcali=y uhost=y
级别: 新手上路
UID: 116361
精华: 0
发帖: 2
金钱: 10 两
威望: 2 点
综合积分: 4 分
注册时间: 2015-06-16
最后登录: 2015-06-23
2楼  发表于: 2015-06-17 10:55
我也遇到了这个问题。。正在解决!!!!
级别: 新手上路
UID: 64837
精华: 0
发帖: 39
金钱: 200 两
威望: 40 点
综合积分: 78 分
注册时间: 2012-03-10
最后登录: 2018-05-10
3楼  发表于: 2015-12-21 11:42
解决了吗
级别: 新手上路
UID: 118256
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2015-08-17
最后登录: 2016-04-26
4楼  发表于: 2016-01-21 10:42
1、虚拟机和电脑主机能ping通没?然后开发板uboot设置了同网段,运行起linux的时候,虚拟机应该要能ping通开发板的
2、虚拟机挂载nfs,可以先测试一下虚拟机能不能自己挂载自己的文件夹,比如把某个文件夹挂载到/mnt,看/mnt是不是有该文件夹的东西,这样保证虚拟机的nfs服务是没问题的
3、然后就是busybox配置编译对了没,开发板linux系统挂载虚拟机上的文件夹,那个文件夹的各种文件都准备好了没。开发板linux运行起来挂载虚拟机上的文件夹,读取里面的文件,运行文件里的配置,最后才进入了一个命令行的。
我的是tiny4412开发板+32位Ubuntu
级别: 侠客
UID: 98591
精华: 0
发帖: 60
金钱: 300 两
威望: 60 点
综合积分: 120 分
注册时间: 2013-12-01
最后登录: 2018-07-12
5楼  发表于: 2016-03-01 15:17
你们的bootloader使用的是Uboot吗?我买的super4412 开发板uboot不知道怎么操作