HDD problem with Xilinx virtex-ml507 board
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 <[email protected]>
Đến: Edgar E. Iglesias <[email protected]>
Cc: Alexander Graf <[email protected]>; "[email protected]" <[email protected]>
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?
Thank.
TaiLD
Quoted 37 lines · Lê ?????c Tài
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 <[email protected]>
Äến: Edgar E. Iglesias <[email protected]>
Cc: Alexander Graf <[email protected]>; "[email protected]" <[email protected]>
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 supportCONFIG_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:
Quoted 14 lines
$ 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
Quoted 1 line
There is no VGA controller.
OK, but virtex-ml507 have a DVI controler.
Does QEMU support DVI output?
________________________________
Từ: Edgar E. Iglesias <[email protected]>
Đến: Lê ?????c Tài <[email protected]>
Cc: Alexander Graf <[email protected]>; "[email protected]" <[email protected]>
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
Quoted 37 lines · Lê ?????c Tài
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 <[email protected]>
Äến: Edgar E. Iglesias <[email protected]>
Cc: Alexander Graf <[email protected]>; "[email protected]" <[email protected]>
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 supportCONFIG_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:
Quoted 14 lines
$ 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
Quoted 3 lines · Lê ?????c Tài
Quoted 1 line
There is no VGA controller.
OK, but virtex-ml507 have a DVI controler.
Does QEMU support DVI output?
Hi,
It's not so much about what you can do with the virtex (I bet you can do lot's of stuff with it) but more limited to the devices available on the reference design.
Take a look at:arch/powerpc/boot/dts/virtex440-ml507.dts
to see what the reference design provides.
QEMU provides only a subset of those devices.
But you are of course free to create your own board or qemu machine, with what ever devices you'd like to throw in.
Cheers
Can you give me any suggestion for create a face vga controler for my virtex board.
I just want display a system with X support.
Can I reference to the vga of PowerMac emulator?
Thank
________________________________
Từ: Edgar E. Iglesias <[email protected]>
Đến: Lê ?????c Tài <[email protected]>
Cc: Alexander Graf <[email protected]>; "[email protected]" <[email protected]>
Gửi ngày: 15:49:38, Thứ Hai, 13 tháng 6 2011
Chủ đề: Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
Quoted 3 lines · Lê ?????c Tài
Quoted 1 line
There is no VGA controller.
OK, but virtex-ml507 have a DVI controler.
Does QEMU support DVI output?
Hi,
It's not so much about what you can do with the virtex (I bet you can do lot's of stuff with it) but more limited to the devices available on the reference design.
Take a look at:arch/powerpc/boot/dts/virtex440-ml507.dts
to see what the reference design provides.
QEMU provides only a subset of those devices.
But you are of course free to create your own board or qemu machine, with what ever devices you'd like to throw in.
Cheers