summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/run-nfs
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2016-07-26 22:16:06 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2016-07-26 22:16:06 +0200
commit49292bd74f73a260927b7f3f42548e4ee4407237 (patch)
tree3e89c3b02b9d8d9e1114f8f860afb9a1109cc373 /configs/platform-v7a/run-nfs
parentdd2c39349c6e0358cb5dc463cd02e63b0902bcf2 (diff)
downloadDistroKit-49292bd74f73a260927b7f3f42548e4ee4407237.tar.gz
DistroKit-49292bd74f73a260927b7f3f42548e4ee4407237.tar.xz
platform-beaglebone: rename to platform-v7a
In the meantime, in addition to beaglebone, this platform supports the other ARMv7 based boards (rpi2, vexpress), so rename it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/run-nfs')
-rwxr-xr-xconfigs/platform-v7a/run-nfs20
1 files changed, 20 insertions, 0 deletions
diff --git a/configs/platform-v7a/run-nfs b/configs/platform-v7a/run-nfs
new file mode 100755
index 0000000..d1675fb
--- /dev/null
+++ b/configs/platform-v7a/run-nfs
@@ -0,0 +1,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.log_level=warning systemd.show_status=auto ip=dhcp"
+