blob: c78e36ca1ea0060ab5b9230c6c80315577c68cf8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
#
# For some information about how to work with qemu for ARM, please
# refer: http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu
. $(dirname $0)/qemu-common
# do the job
${QEMU_EXEC} ${QEMU_NOGRAPHIC} \
-M ${QEMU_MACHINE} \
-m 1024 \
-no-reboot \
-net nic,vlan=1 \
${QEMU_NET} \
${QEMU_REDIR} \
-kernel ${PTXDIST_PLATFORMDIR}/images/linuximage \
-dtb ${PTXDIST_PLATFORMDIR}/images/vexpress-v2p-ca9.dtb \
-smp 1 \
-append "console=ttyAMA0 root=/dev/nfs nfsroot=10.0.2.2:/root,v3,tcp,port=2049,mountport=2049 rw mem=1024M rootwait loglevel=5 systemd.show_status=auto ip=dhcp"
|