目前,我已成功启动我的wandboard用TFTP for kernel和NFS for rootfs本地。
但是,我希望通过在Amazon EC2中设置的云启动它。机器可以获取内核文件并启动正常。但是,它仍然无法挂载NFS rootfs。
由于TFTP非常慢,我已经将文件移动到本地并且工作正常。 rootfs仍在云中,我无法连接到它。我可以将nfs安装到Ubuntu机器上并毫无问题地访问文件。
我还打开了EC2中的所有TCP和UDP端口,但这并不好。 NFS需要打开哪些特定端口?我相信TFTP使用UDP:69。
请建议。
内核命令行:console = ttymxc1,115200 root = / dev / nfs ip = 192.168.0.154:192.168.0.227:192.168.0.1:255.255.255.0 :: eth0:off nfsroot = 52.22.87.79:/ nfsroot,v3 ,tcp video = mxcfb0:dev = hdmi,1280x720M @ 60,if = RGB24
IP-Config:完成:
device = eth0,hwaddr = 10:07:23:60:22:6c,ipaddr = 192.168.0.154,mask = 255.255.255.0,gw = 192.168.0.1 host = 192.168.0.154,domain =,nis-domain =(none) bootserver = 192.168.0.227,rootserver = 52.22.87.79,rootpath =Q = 1 == SD2_DAT0 reg:3
MQ = 1 == SD2_DAT0 conf reg:130b0
MQ = 1 == SD2_DAT1 reg:3
MQ = 1 == SD2_DAT1 conf reg:130b0
MQ = 1 == SD2_DAT2 reg:3
MQ = 1 == SD2_DAT2 conf reg:110b0
MQ = 1 == SD2_DAT3 reg:3
MQ = 1 == SD2_DAT3 conf reg:130b0
ALSA设备清单:
MQ = 1 == GPIO_0 reg:0
MQ = 1 == CCOSR reg2:e017b
MQ = 1 == GPIO_0 config reg3:1f0b0
MQ = 2 == GPIO_0 reg:0
MQ = 2 == CCOSR reg2:10e0180
MQ = 2 == GPIO_0 config reg3:1f0b0
#0:imx6dl-rt5631#1:imx-hdmi-soc VFS:无法打开根设备“nfs”或unknown-block(2,0):错误-6
请附加正确的“root =”启动选项;这里有可用的 分区:
b300 7634944 mmcblk0驱动程序:mmcblk
b301 7840 mmcblk0p1 00000000-01
b302 7840 mmcblk0p2 00000000-02
b303 1 mmcblk0p3
b304 5842080 mmcblk0p4 00000000-04
b305 500024 mmcblk0p5 00000000-05
b306 250040 mmcblk0p6 00000000-06
b307 1000024 mmcblk0p7 00000000-07
b318 2048 mmcblk0rpmb(司机?)
b310 2048 mmcblk0boot1(司机?)
b308 2048 mmcblk0boot0(司机?)
b320 7814144 mmcblk1驱动程序:mmcblk
b321 7711744 mmcblk1p1 000b6489-01
内核恐慌 - 不同步:VFS:无法挂载根fs 未知块(2,0)
CPU1:停止
CPU:1 PID:0 Comm:swapper / 1不受污染3.10.17-1.0.0_ga + yocto#2
来自[< 800114f8>]的[< 800138c0>](unwind_backtrace + 0x0 / 0xf4) (show_stack + 0×10/0×14)
来自[< 80012ae8>]的[< 800114f8>](show_stack + 0x10 / 0x14) (handle_IPI +量0x108 /量0x118)
来自[< 80008584>]的[< 80012ae8>](handle_IPI + 0x108 / 0x118) (gic_handle_irq +将0x58 / 0x5c)
来自[< 8000dc80>]的[< 80008584>](gic_handle_irq + 0x58 / 0x5c) (__irq_svc + 0×40 / 0x70)
异常堆栈(0xa8095f50到0xa8095f98)
5f40:a8095f98 0000007a bfcb6973 0000001c
5f60:bf633310 0000001c 815b1130 80cc8508 00000000 00000000 a8094000 a8094000
5f80:00000017 a8095f98 80059784 8047c5d8 60000113 ffffffff
来自[< 8047c5d8>]的[< 8000dc80>](__ irq_svc + 0x40 / 0x70) (cpuidle_enter_state +为0x50 / 0xe0的)
来自[< 8047c718>]的[< 8047c5d8>](cpuidle_enter_state + 0x50 / 0xe0) (cpuidle_idle_call + 0XB0 / 0x148)
来自[< 8000ec5c>]的[< 8047c718>](cpuidle_idle_call + 0xb0 / 0x148) (arch_cpu_idle + 0×10 / 0x54)
来自[< 80059058>]的[< 8000ec5c>](arch_cpu_idle + 0x10 / 0x54) (cpu_startup_entry +量0x104 /量0x150)
来自[< 1067a604>]的[< 80059058>](cpu_startup_entry + 0x104 / 0x150) (0x1067a604)
(Re)start USB...
USB0: lowlevel init failed
USB1: USB EHCI 1.00
scanning bus 1 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
No storage devices, perhaps not 'usb start'ed..?
no usb storege founded!
EHCI failed to shut down host controller.
(Re)start USB...
USB0: lowlevel init failed
USB1: USB EHCI 1.00
scanning bus 1 for devices... 3 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
No storage devices, perhaps not 'usb start'ed..?
not detect usb storage
Hit any key to stop autoboot: 0
=> printenv
baudrate=115200
boot_fdt=try
bootargs=console=ttymxc1,115200 root=/dev/nfs ip=192.168.0.154:52.22.87.79:192.168.0.1:255.255.255.0::eth0:off nfsroot=52.11.87.79:/nfsroot,v3,tcp video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
bootcmd=hdcp;run netboot
bootdelay=1
bootscript=echo Running bootscript from mmc ...; source
box_console_conf=console=ttymxc1,115200
box_recovery=console=tty0 console=ttymxc1,115200 root=/dev/mmcblk0p6 init=/linuxrc rootwait
boxargs=setenv bootargs ${box_console_conf} root=${boxroot} ${hdmi} splash vt.handoff=7 ubootver=${ubootver}
boxcmd=run boxargs;tftp ${loadaddr_box} ${uimage_box};bootm
boxroot=/dev/mmcblk0p3 rootwait rw
checkimg=fatload usb 0:1 0x84000000 dtbcheckupdate= echo start checking update...;usb start;if test run checkimg; thensetenv mmcroot=/dev/mmcblk1p2 rootwait rw;fi;
console=ttymxc1
emmcdev=2
ethact=FEC
ethprime=FEC
fdt_addr=0x18000000
fdt_file=hio-imx6dl-board.dtb
fdt_high=0xffffffff
gatewayip=192.168.0.250
get_cmd=tftp
hdmi=video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
initrd_high=0xffffffff
ip_dyn=no
ipaddr=192.168.0.154
load_box=mmc read ${loadaddr} 0x800 0x2800
loadaddr=0x12000000
loadaddr_box=0x10800000
loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};
loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}
loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}
mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi}
mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; el
se echo WARN: Cannot load the DT; fi; fi; else bootm; fi;
mmcdev=2
mmcpart=1
mmcroot=/dev/mmcblk1p2 rootwait rw
netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=${nfs_ip} nfsroot=${rootpathip}:${nfsroot},v3,tcp ${hdmi}
netboot=run netargs;${get_cmd} ${loadaddr} ${uimage};${get_cmd} ${fdt_addr} ${fdt_file};bootm ${loadaddr} - ${fdt_addr}
netmask=255.255.255.0
nfs_ip=192.168.0.154:192.168.0.227:192.168.0.1:255.255.255.0::eth0:off
nfsroot=/nfsroot
rootpathip=52.22.87.79
script=boot.scr
serverip=192.168.0.227
ubootver=U-Boot 2014.01 (Aug 24 2015 - 22:25:05)
uimage=uImage
uimage_box=uImage_box
update_emmc_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if ${get_cmd} ${update_sd_firmware_filename}; then if mmc dev ${emmcdev} && mmc open ${emmcdev} 1; then
setexpr fw_sz ${filesize} / 0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; mmc close ${emmcdev} 1; fi; fi
update_sd_firmware=if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; if mmc dev ${mmcdev}; then if ${get_cmd} ${update_sd_firmware_filename}; then setexpr fw_sz ${filesize} /
0x200; setexpr fw_sz ${fw_sz} + 1; mmc write ${loadaddr} 0x2 ${fw_sz}; fi; fi
Environment size: 2985/8188 bytes