again, working off this openwrt page:

http://wiki.openwrt.org/doc/howto/qemu

on my 64-bit fedora rawhide system and BB-rc3 downloaded images, i
tried to boot just the kernel:

$ qemu-system-arm -M realview-eb-mpcore -kernel openwrt-realview-vmlinux.elf 
-net nic -net user -nographic
pulseaudio: set_sink_input_volume() failed
pulseaudio: Reason: Invalid argument
pulseaudio: set_sink_input_mute() failed
pulseaudio: Reason: Invalid argument
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.10.49 (bb@builder1) (gcc version 4.8.3
(OpenWrt/Linaro GCC 4.8-2014.04 r42001) ) #1 SMP Fri Aug 8 04:47:35
CEST 2014
... snip ...
[    0.721801] VFS: Cannot open root device "(null)" or unknown-block(0,0): 
error -6
[    0.723325] Please append a correct "root=" boot option; here are the 
available partitions:
[    0.724939] Kernel panic - not syncing: VFS: Unable to mount root fs on 
unknown-block(0,0)

so, unlike what the wiki page says, this kernel does in fact seem to
boot. that's a good sign.

  now, try the initramfs version:

$ qemu-system-arm -M realview-eb-mpcore -kernel 
openwrt-realview-vmlinux-initramfs.elf -net nic -net user -nographic
pulseaudio: set_sink_input_volume() failed
pulseaudio: Reason: Invalid argument
pulseaudio: set_sink_input_mute() failed
pulseaudio: Reason: Invalid argument
Uncompressing Linux... done, booting the kernel.
... snip ...
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (14.07-rc3, r42056)
... snip ...
root@OpenWrt:/#

  so that seem to work fine as well.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to