aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-04 23:34:42 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-03-04 23:35:00 +0100
commitd7b7365934013d0a43367987012e08bed2970d9a (patch)
treeb4c985d7cab88fe9fb68afa92b71cb627937d07b
parent9ba7c43f34b74d4440c1a844d7b633c21500887e (diff)
Add kernel config option to mount rootfs rw
This is needed if we do not let systemd remount it. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I6f3ddbbc45844bff2a4adb423c7ecb8b57c0c0fd
-rw-r--r--templates/machines/qemux86-64.jinja22
-rw-r--r--templates/machines/raspberrypi3.jinja22
-rw-r--r--templates/machines/raspberrypi4.jinja22
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/machines/qemux86-64.jinja2 b/templates/machines/qemux86-64.jinja2
index 5365839..af371eb 100644
--- a/templates/machines/qemux86-64.jinja2
+++ b/templates/machines/qemux86-64.jinja2
@@ -7,7 +7,7 @@
{%- set device_mach = "x86" %}
{%- set qemu_arch = "x86_64" %}
{%- set qemu_args = "-cpu qemu64,+ssse3,+sse4.1,+sse4.2,+popcnt -smp 2 -m 2048 -soundhw hda -device usb-ehci -device virtio-rng-pci" %}
-{%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/hda verbose systemd.log_color=false fstab=no" %}
+{%- set qemu_cmdline = "console=ttyS0,115200 root=/dev/hda verbose systemd.log_color=false rw fstab=no" %}
{%- set rootfs_type = rootfs_type|default("ramdisk") %}
{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') %}
{%- set rfs_image = rfs_image|default("agl-demo-platform-crosssdk-qemux86-64.ext4.xz") %}
diff --git a/templates/machines/raspberrypi3.jinja2 b/templates/machines/raspberrypi3.jinja2
index 098f392..cef01c8 100644
--- a/templates/machines/raspberrypi3.jinja2
+++ b/templates/machines/raspberrypi3.jinja2
@@ -20,5 +20,5 @@
{{ super() }}
context:
console_device: ttyS0
- custom_kernel_args: "8250.nr_uarts=1 bcm2709.uart_clock=48000000 smsc95xx.macaddr=AA:BB:CC:DD:EE:AA cma=256M bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 usbhid.mousepoll=0 coherent_pool=6M fstab=no"
+ custom_kernel_args: "8250.nr_uarts=1 bcm2709.uart_clock=48000000 smsc95xx.macaddr=AA:BB:CC:DD:EE:AA cma=256M bcm2708_fb.fbwidth=1920 bcm2708_fb.fbheight=1080 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 usbhid.mousepoll=0 coherent_pool=6M rw fstab=no"
{% endblock %}
diff --git a/templates/machines/raspberrypi4.jinja2 b/templates/machines/raspberrypi4.jinja2
index 8f47cca..7e9033f 100644
--- a/templates/machines/raspberrypi4.jinja2
+++ b/templates/machines/raspberrypi4.jinja2
@@ -19,5 +19,5 @@
{{ super() }}
context:
console_device: ttyS0
- extra_kernel_args: "8250.nr_uarts=1 cma=64M fstab=no"
+ extra_kernel_args: "8250.nr_uarts=1 cma=64M rw fstab=no"
{% endblock %}