##// END OF EJS Templates
Added: Information about QEMU emulation
drtyhlpr -
r262:7c50e57b8308
parent child
Show More
@@ -100,6 +100,9 Set default system timezone. All available timezones can be found in the `/usr/s
100 100 ##### `EXPANDROOT`=true
101 101 Expand the root partition and filesystem automatically on first boot.
102 102
103 ##### `ENABLE_QEMU`=true
104 Generate kernel (`vexpress_defconfig`), file system image (`qcow2`) and DTB files that can be used for QEMU full system emulation (`vexpress-A15`). The output files are stored in the `$(pwd)/images/qemu` directory. You can find more information about running the generated image in the QEMU section of this readme file.
105
103 106 ---
104 107
105 108 #### Keyboard settings:
@@ -449,6 +452,23 If you have set `ENABLE_SPLITFS`, copy the `-frmw` image on the microSD card, th
449 452 bmaptool copy ./images/jessie/2017-01-23-rpi3-jessie-frmw.img /dev/mmcblk0
450 453 bmaptool copy ./images/jessie/2017-01-23-rpi3-jessie-root.img /dev/sdc
451 454 ```
455
456 ## QEMU emulation
457 Start QEMU full system emulation:
458 ```shell
459 qemu-system-arm -m 2048M -M vexpress-a15 -cpu cortex-a15 -kernel kernel7.img -no-reboot -dtb vexpress-v2p-ca15_a7.dtb -sd ${IMAGE_NAME}.qcow2 -append "root=/dev/mmcblk0p2 rw rootfstype=ext4 console=tty1"
460 ```
461
462 Start QEMU full system emulation and output to console:
463 ```shell
464 qemu-system-arm -m 2048M -M vexpress-a15 -cpu cortex-a15 -kernel kernel7.img -no-reboot -dtb vexpress-v2p-ca15_a7.dtb -sd ${IMAGE_NAME}.qcow2 -append "root=/dev/mmcblk0p2 rw rootfstype=ext4 console=ttyAMA0,115200 init=/bin/systemd" -serial stdio
465 ```
466
467 Start QEMU full system emulation with cryptfs, initramfs and output to console. (NOT WORKING yey!) :
468 ```shell
469 qemu-system-arm -m 2048M -M vexpress-a15 -cpu cortex-a15 -kernel kernel7.img -no-reboot -dtb vexpress-v2p-ca15_a7.dtb -sd ${IMAGE_NAME}.qcow2 -initrd "initramfs-${KERNEL_VERSION}" -append "root=/dev/mapper/secure cryptdevice=/dev/mmcblk0p2:secure rw rootfstype=ext4 console=ttyAMA0,115200 init=/bin/systemd" -serial stdio
470 ```
471
452 472 ## Weekly image builds
453 473 The image files are provided by JRWR'S I/O PORT and are built once a Sunday at midnight UTC!
454 474 * [Debian Stretch Raspberry Pi2/3 Weekly Image Builds](https://jrwr.io/doku.php?id=projects:debianpi)
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant