]> rtime.felk.cvut.cz Git - linux-conf-perf.git/commitdiff
Change boot to execute only one scripts
authorKarel Kočí <cynerd@email.cz>
Mon, 14 Sep 2015 09:26:36 +0000 (11:26 +0200)
committerKarel Kočí <cynerd@email.cz>
Mon, 14 Sep 2015 09:26:36 +0000 (11:26 +0200)
Boot is now executing only lcpinit script. /init scripts is not used
during measurements. Booting without boot script, only using novaboot
scripts, results in using /init script. This helps to access cli in
booted machine without editing any files.

targets/ryuglab/boot/boot
tests/cyclictest/root/.config
tests/cyclictest/root/overlay/etc/init.d/S90lcp [deleted file]
tests/cyclictest/root/overlay/sbin/lcpinit

index 3f88f6ec27ce478e75de21ba2abe6069554520df..715327a27aae92cfa205aa6cc56796df8511c598 100755 (executable)
@@ -10,4 +10,4 @@ ln -sf ../../../jobfiles/linuxImage uImage
 ln -sf ../../../tests/cyclictest/root/images/rootfs.cpio.uboot rootfs.cpio.uboot
 
 novaboot nbscripts --exiton="NOVABOOT EXIT LINUX-CONF-PERF" --exiton-timeout=120 \
-       --exiton="Kernel panic"
+       --exiton="Kernel panic" --append="rdinit=/sbin/lcpinit"
index 0b86ab620808096224621c66ea3f42633acfb97b..fca19411d2bfb28444d803b4ba533fed1f274174 100644 (file)
@@ -238,7 +238,21 @@ BR2_SYSTEM_BIN_SH_BUSYBOX=y
 #
 # BR2_SYSTEM_BIN_SH_NONE is not set
 BR2_SYSTEM_BIN_SH="/bin/busybox"
-# BR2_TARGET_GENERIC_GETTY is not set
+BR2_TARGET_GENERIC_GETTY=y
+
+#
+# getty options
+#
+BR2_TARGET_GENERIC_GETTY_PORT="console"
+BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP=y
+# BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 is not set
+# BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 is not set
+# BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 is not set
+# BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 is not set
+# BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200 is not set
+BR2_TARGET_GENERIC_GETTY_BAUDRATE="0"
+BR2_TARGET_GENERIC_GETTY_TERM="vt100"
+BR2_TARGET_GENERIC_GETTY_OPTIONS=""
 BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW=y
 BR2_SYSTEM_DHCP=""
 # BR2_TARGET_TZ_INFO is not set
diff --git a/tests/cyclictest/root/overlay/etc/init.d/S90lcp b/tests/cyclictest/root/overlay/etc/init.d/S90lcp
deleted file mode 100755 (executable)
index b5a9076..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-/sbin/lcpinit
index 02c39af020b231d4612e3c19f7e8bfa852eb159a..15cc11cfed50d2d27e968e14f5ab7abea1aeb503 100755 (executable)
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+/bin/mount -t devtmpfs devtmpfs /dev
+
 echo Command: cyclictest -n -p99 -t3 -l10000 -q
 echo Version: `cyclictest --help | head -1`
 echo