diff options
author | cajun-rat <p@beta16.co.uk> | 2017-07-20 14:00:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-20 14:00:16 +0200 |
commit | e5a12d4a3f06e5b85a5c3a9d2f3d3960d661f935 (patch) | |
tree | 484acca8d982b21b0d7838e23d280f2d191ba239 /scripts/runqemu.README | |
parent | c6488a1982381b1058f3f22795ada1a935064776 (diff) | |
parent | 5ec153ae190020bfc5a75b5064348d45a565d21b (diff) | |
download | meta-updater-e5a12d4a3f06e5b85a5c3a9d2f3d3960d661f935.tar.gz |
Merge pull request #104 from advancedtelematic/feat/new-run-qemu
Copy run-qemu script over from meta-updater-qemux86-64
Diffstat (limited to 'scripts/runqemu.README')
-rw-r--r-- | scripts/runqemu.README | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/scripts/runqemu.README b/scripts/runqemu.README deleted file mode 100644 index 5908d83..0000000 --- a/scripts/runqemu.README +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | Using OE images with QEMU | ||
2 | ========================= | ||
3 | |||
4 | OE-Core can generate qemu bootable kernels and images with can be used | ||
5 | on a desktop system. The scripts currently support booting ARM, MIPS, PowerPC | ||
6 | and x86 (32 and 64 bit) images. The scripts can be used within the OE build | ||
7 | system or externaly. | ||
8 | |||
9 | The runqemu script is run as: | ||
10 | |||
11 | runqemu <machine> <zimage> <filesystem> | ||
12 | |||
13 | where: | ||
14 | |||
15 | <machine> is the machine/architecture to use (qemuarm/qemumips/qemuppc/qemux86/qemux86-64) | ||
16 | <zimage> is the path to a kernel (e.g. zimage-qemuarm.bin) | ||
17 | <filesystem> is the path to an ext2 image (e.g. filesystem-qemuarm.ext2) or an nfs directory | ||
18 | |||
19 | If <machine> isn't specified, the script will try to detect the machine name | ||
20 | from the name of the <zimage> file. | ||
21 | |||
22 | If <filesystem> isn't specified, nfs booting will be assumed. | ||
23 | |||
24 | When used within the build system, it will default to qemuarm, ext2 and the last kernel and | ||
25 | core-image-sato-sdk image built by the build system. If an sdk image isn't present it will look | ||
26 | for sato and minimal images. | ||
27 | |||
28 | Full usage instructions can be seen by running the command with no options specified. | ||
29 | |||
30 | |||
31 | Notes | ||
32 | ===== | ||
33 | |||
34 | - The scripts run qemu using sudo. Change perms on /dev/net/tun to | ||
35 | run as non root. The runqemu-gen-tapdevs script can also be used by | ||
36 | root to prepopulate the appropriate network devices. | ||
37 | - You can access the host computer at 192.168.7.1 within the image. | ||
38 | - Your qemu system will be accessible as 192.16.7.2. | ||
39 | - The script extracts the root filesystem specified under pseudo and sets up a userspace | ||
40 | NFS server to share the image over by default meaning the filesystem can be accessed by | ||
41 | both the host and guest systems. | ||
42 | |||