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 Make Espressobin boot script CRYPTOROOT compatible 2018-09-07 15:02:11 +02:00
boot-macchiatobin-doubleshot.cmd [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +02:00
boot-marvell.cmd Helios4: Add SPI bootloader install feature (#1126) 2018-10-08 13:44:36 +02:00
boot-meson64.cmd bootscript: remove panic=10 from bootargs (#1670) 2019-12-16 12:22:00 +01:00
boot-mt7623.cmd Bananapi R2 (#1151) 2018-11-08 18:51:42 +01:00
boot-mvebu-next.cmd [mvebu-next] Fix wrong dtb path on bootscript 2019-10-15 01:47:33 +07:00
boot-odroid-c1.ini Enable Odroid C1 NEXT, 4.17.y ... usable as headless server. Known issues: stuck on reboot, need power cycle, no hdmi console, no DVFS. 2018-08-01 13:00:31 +02:00
boot-odroid-c2.ini Moving Odroid C2 default to 3.16.y 2018-06-22 10:57:55 +00:00
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 [s5p6818] Adjust boot script to show HDMI console bootlog instead of serial. Adjust kernel configuration. @TonyMac32 CONFIG_BT_HCIUART_3WIRE is gone from config here as well. 2018-10-25 11:28:50 +02:00
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