This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| sparky_armhf_qemu [2017/10/23 19:54] – created pavroo | sparky_armhf_qemu [2021/05/04 13:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Sparky ARMHF emulated | + | ===== Sparky ARMHF Emulated |
| Sparky ARM edition can be tested inside the QEMU emulator. | Sparky ARM edition can be tested inside the QEMU emulator. | ||
| Line 21: | Line 21: | ||
| Unzip it: | Unzip it: | ||
| - | unzip image_YYYY-MM-DD-sparkylinux-VER-armhf.zip | + | unzip sparkylinux-VER-armhf.zip |
| - | or | + | or (Lite version): |
| - | unzip image_YYYY-MM-DD-sparkylinux-VER-armhf-lite.zip | + | unzip sparkylinux-VER-armhf-cli.zip |
| == Kernel == | == Kernel == | ||
| Line 40: | Line 40: | ||
| -kernel ./ | -kernel ./ | ||
| -append " | -append " | ||
| - | -hda YYYY-MM-DD-sparkylinux-VER-armhf.img \ | + | -hda sparkylinux-VER-armhf.img \ |
| -cpu arm1176 -m 256 \ | -cpu arm1176 -m 256 \ | ||
| -M versatilepb \ | -M versatilepb \ | ||
| Line 53: | Line 53: | ||
| -kernel ./ | -kernel ./ | ||
| -append " | -append " | ||
| - | -hda YYYY-MM-DD-sparkylinux-VER-armhf-lite.img \ | + | -hda sparkylinux-VER-armhf-cli.img \ |
| -cpu arm1176 -m 256 \ | -cpu arm1176 -m 256 \ | ||
| -M versatilepb \ | -M versatilepb \ | ||
| Line 63: | Line 63: | ||
| A more efficient option is to convert this to a qcow2 image first. Use the qemu-img command to do this (optional): | A more efficient option is to convert this to a qcow2 image first. Use the qemu-img command to do this (optional): | ||
| - | qemu-img convert -f raw -O qcow2 YYYY-MM-DD-sparkylinux-VER-armhf.img | + | qemu-img convert -f raw -O qcow2 sparkylinux-VER-armhf.img sparkylinux-VER-armhf.qcow |
| Now you can also easily expand the image (optional): | Now you can also easily expand the image (optional): | ||
| - | qemu-img resize | + | qemu-img resize sparkylinux-VER-armhf.qcow +6G |
| {{: | {{: | ||
| + | <WRAP center box 100%> | ||
| + | |[[sparky_arm|< | ||
| + | </ | ||