From 006a7cc8a63440036893a2881e726fd6dba478a6 Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 12 Oct 2022 01:27:54 +0800 Subject: [PATCH] make busybox linux image `ro` so it doesn't modify the JFFS2 image in renode --- emulation/linux-server.resc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulation/linux-server.resc b/emulation/linux-server.resc index 5812055f8..e474ff186 100644 --- a/emulation/linux-server.resc +++ b/emulation/linux-server.resc @@ -36,7 +36,7 @@ macro reset sysbus LoadELF $bin false - sysbus LoadAtags "console=ttyAMA0,115200 root=/dev/mtdblock0 rw rootfstype=jffs2 mtdparts=armflash.0:64m@0x0 earlyprintk mem=256M" 0x10000000 0x100 + sysbus LoadAtags "console=ttyAMA0,115200 root=/dev/mtdblock0 ro rootfstype=jffs2 mtdparts=armflash.0:64m@0x0 earlyprintk mem=256M" 0x10000000 0x100 cpu PC 0x8000 """