Từ: Edgar E. Iglesias <address@hidden>
Đến: Lê ?????c Tài <address@hidden>
Cc: Alexander Graf <address@hidden>; "address@hidden" <address@hidden>
Gửi ngày: 15:13:49, Thứ Hai, 13 tháng 6 2011
Chủ đề: Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
On Mon, Jun 13, 2011 at 04:05:59PM +0800, Lê ?????c Tài wrote:
> Hi,
> I have a new question about QEMU for virtex-ml507.
> Can QEMU display X11 on this board?
> Because I don't see any VGA output when remove "-nographic" option.
> QEMU just display "monitor console" and "serial console".
> Tai
> __________________________________________________________________
>
> Từ: Lê Äức Tà i <
address@hidden>
> Äến: Edgar E. Iglesias <
address@hidden>
> Cc: Alexander Graf <
address@hidden>; "
address@hidden"
> <
address@hidden>
> Gá»i ngà y: 10:56:14, Thứ Bảy, 11 tháng 6 2011
> Chủ Äá»: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
> Hi,
> I have a problem when emulating virtex-ml507.
> Loop device can not be mounted as hda, no partitions are listed.
> My environment is as following:
> 1. Qemu 0.14.1 build with libfdt support.
> 2.
Kernel download from Xilinx Git server.
> config is customized from 44x/virtex_defconfig with enable some
> option to make kernel can automount filesystem:
> Under device drivers--->block devices:
> CONFIG_BLK_DEV_LOOP
> CONFIG_BLK_DEV_RAM
> CONFIG_BLK_DEV_NBD
> Under device drivers--->ATA/ATAPI/MFM/RLL support
> CONFIG_IDE_GD
> CONFIG_IDE_GD_ATA
> CONFIG_BLK_DEV_GENERIC
> CONFIG_BLK_DEV_PIIX
> Under file systems:
> CONFIG_AUTOFS_FS
> CONFIG_AUTOFS4_FS
> Also the ext2,
ext3 file systems are supported
> 3. RFS is busybox
> Run Qemu:
> $ qemu-system-ppc -M virtex-ml507 -kernel vmlinux -m 256 -hda
> rootfs_ppc.ext2 -append "console=ttyS0 root=/dev/hda" -nographic
> Output:
> [ 0.755969] NET: Registered protocol family 17
> [ 0.760477] hd: no drives specified - use hd=cyl,head,sectors on
> kernel command line
> [ 0.782726] Root-NFS: no NFS server address
> [ 0.782932] VFS: Unable to mount root fs via NFS, trying floppy.
> [ 0.790541] VFS: Cannot open root device "hda" or unknown-block(2,0)
> [ 0.792438] Please append a correct "root=" boot option; here are
> the available partitions:
>
[ 0.795265] Kernel panic - not syncing: VFS: Unable to mount root fs
> on unknown-block(2,0)
> Can you help me for this problem?
Hi,
The emulated board doesn't have harddisks, you'll need to use ramdisks or
the emulated NOR flash.
There is no VGA controller.
Cheers