ARM QEMU What kind of file system image?

Hello,

According the documentation of virtualization with qemu, to run openwrt with qemu, I need a initramfs file.
qemu-system-arm -nographic -M virt -m 64 -kernel openwrt-armvirt-zImage-initramfs

But the generation process of openwrt creates :

  • bin/targets/bcm53xx/generic/openwrt-bcm53xx-device-netgear-r7000-rootfs.tar.gz
  • bin/targets/bcm53xx/generic/openwrt-bcm53xx-netgear-r7000-initramfs.trx
  • bin/targets/bcm53xx/generic/openwrt-bcm53xx-netgear-r7000-squashfs.chk

Is it possible to create an initramfs file from one of these 3 files ? How ?
An other possiblity to generate the initframfs ?

Thanks for pointers.
phlinunx

For question 2 : Pebcak. The documentation says " openwrt-armvirt-zImage-initramfs", not "openwrt-bcm53xx-device-...". This mean that the target must be set to qemu ARM virtual machine. It you do that, you will get the expected inittamfs file.

PHL.