summaryrefslogblamecommitdiffstats
path: root/configs/platform-v7a/run-nfs
blob: d1675fb47bfd4cc5a41783fe4a4506f8ea353c0c (plain) (tree)



















                                                                                                                                                                                                  
#!/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.log_level=warning systemd.show_status=auto ip=dhcp"