Set up QEMU for T2080 emulation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Set up QEMU for T2080 emulation

4,508件の閲覧回数
xiaoxing_fang
Contributor I

Hi,

I'm trying to use QEMU (qemu-system-ppc64) for emulating QorIQ T2080 in windows10. However, I couldn't find any -machine option that matches -cpu e6500 option, so that I am wondering if it's possible to proceed such emulation or not? 

If anyone know, please send me the procedure for setting up QEMU for such emulation. Your kind help will be  very appreciated. 

I list the -machine list below:

  C:\Program Files\qemu>qemu-system-ppc64 -machine help

  Supported machines are:

  40p                  IBM RS/6000 7020 (40p)

  bamboo               bamboo

  g3beige              Heathrow based PowerMAC

  mac99                Mac99 based PowerMAC

  mpc8544ds            mpc8544ds

  none                 empty machine

  powernv8             IBM PowerNV (Non-Virtualized) POWER8

  powernv              IBM PowerNV (Non-Virtualized) POWER9 (alias of powernv9)

  powernv9             IBM PowerNV (Non-Virtualized) POWER9

  ppce500              generic paravirt e500 platform

  prep                 PowerPC PREP platform (deprecated)

  pseries-2.1          pSeries Logical Partition (PAPR compliant)

  pseries-2.10         pSeries Logical Partition (PAPR compliant)

  pseries-2.11         pSeries Logical Partition (PAPR compliant)

  pseries-2.12         pSeries Logical Partition (PAPR compliant)

  pseries-2.12-sxxm    pSeries Logical Partition (PAPR compliant)

  pseries-2.2          pSeries Logical Partition (PAPR compliant)

  pseries-2.3          pSeries Logical Partition (PAPR compliant)

  pseries-2.4          pSeries Logical Partition (PAPR compliant)

  pseries-2.5          pSeries Logical Partition (PAPR compliant)

  pseries-2.6          pSeries Logical Partition (PAPR compliant)

  pseries-2.7          pSeries Logical Partition (PAPR compliant)

  pseries-2.8          pSeries Logical Partition (PAPR compliant)

  pseries-2.9          pSeries Logical Partition (PAPR compliant)

  pseries-3.0          pSeries Logical Partition (PAPR compliant)

  pseries-3.1          pSeries Logical Partition (PAPR compliant)

  pseries-4.0          pSeries Logical Partition (PAPR compliant)

  pseries-4.1          pSeries Logical Partition (PAPR compliant)

  pseries              pSeries Logical Partition (PAPR compliant) (alias of pseries-4.2)

  pseries-4.2          pSeries Logical Partition (PAPR compliant) (default)

  ref405ep             ref405ep

  sam460ex             aCube Sam460ex

  taihu                taihu

  virtex-ml507         Xilinx Virtex ML507 reference design

タグ(2)
0 件の賞賛
返信
4 返答(返信)

3,926件の閲覧回数
gondor89
Contributor I

I'm new to board development. Can you please help me to create T2080 qemu emulator in windows and if possible install PikeOS on it. Thanks in advance.

0 件の賞賛
返信

4,323件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

qemu-system-ppc64 -cpu e6500 -nographic -m 256 -M ppce500 -kernel uImage -initrd fsl-image-minimal-t1040rdb-20141223093206.rootfs.ext2.gz -append "root=/dev/ram rw console=ttyS0,115200 ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M" -serial tcp::4444,server,telnet -net nic,model=e1000 -net tap,ifname=tap0,script=no,downscript=no

QEMU 1.7.0 monitor - type 'help' for more information

(qemu) QEMU waiting for connection on: telnet:0.0.0.0:4444,server

0 件の賞賛
返信

4,323件の閲覧回数
xiaoxing_fang
Contributor I

Thank you very much for your reply, Yiping. Does it mean that we can just use -cpu e6500  -M ppce500 options when emulating T2080 (e6500 cores) and for other options, there is no need to change? Is there any approach to verify this setup (for example, with a bare metal elf running in T2080)? Thanks again!

0 件の賞賛
返信

4,323件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

You could refer to "Command to bring up the QEMU machine" in https://community.nxp.com/message/465031 .

0 件の賞賛
返信