armbian-build/config/bootscripts
zhangn1985 4ce8c03b5b bootscript: remove panic=10 from bootargs (#1670)
when there are some reasons which board failed to boot, eg rootfs crashes.
/init will fail to panic().

panic()
{
	local console rest IFS

	if command -v chvt >/dev/null 2>&1; then
		chvt 1
	fi

	echo "$@"
	# Disallow console access
	if [ -n "${panic?}" ]; then
		echo "Rebooting automatically due to panic= boot argument"
		sleep "${panic}"
		reboot
		exit  # in case reboot fails, force kernel panic
	fi
...
}

when panic is set, there is no chance to fail into a shell, to debug what happens.
and device just keep reboot.

remove panic from bootargs to make it possible for users to find out why their boards fail to boot.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-12-16 12:22:00 +01:00
..
boot-cubox.cmd Cubox: bump NEXT kernel to 5.3.y 2019-09-27 19:03:07 +02:00
boot-espressobin.cmd
boot-macchiatobin-doubleshot.cmd [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +02:00
boot-marvell.cmd
boot-meson64.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-mt7623.cmd
boot-mvebu-next.cmd [mvebu-next] Fix wrong dtb path on bootscript 2019-10-15 01:47:33 +07:00
boot-odroid-c1.ini
boot-odroid-c2.ini
boot-odroid-n2-mainline.ini Remove K<4, change branches, new features (#1586) 2019-11-19 23:25:39 +01:00
boot-odroid-n2.ini Update boot-odroid-n2.ini 2019-08-29 08:25:56 +02:00
boot-odroid-xu4-default.ini bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-pine64-default.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-rockchip64.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-rockchip.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-rockpis.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-s5p6818.cmd
boot-sun50i-next.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-sunxi.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-udoo.cmd Remove K<4, change branches, new features (#1586) 2019-11-19 23:25:39 +01:00