Commit Graph

15 Commits

Author SHA1 Message Date
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
Igor Pecovnik
103ac41430 Added legacy kernel (3.10.107) targets for several A64 boards: Orangepi Win and Bananapi M64 were tested, the rest is untested: NanopiA64, Olinuxino A64 and Teres A64 2018-01-09 22:51:54 +01:00
zador-blood-stained
1645d6820f Update pine64-default patches and boot script part 2 2017-05-13 17:27:39 +03:00
zador-blood-stained
a759e65477 Update pine64-default patches and boot script 2017-05-13 16:29:14 +03:00
zador-blood-stained
c6c3cdacd5 Remove enforcing kernel argument from boot scripts 2017-02-27 23:20:28 +03:00
zador-blood-stained
4a50527dae Update Pine64-default boot script to use boot_part variable 2017-01-22 22:55:24 +03:00
zador-blood-stained
d544a19df1 Update Pine64 configuration 2017-01-05 18:04:43 +03:00
zador-blood-stained
99d50c609d Add GMAC TX/RX delays to Pine64 boot script 2016-11-29 22:32:46 +03:00
Martin Bergstrand
c8195e654f Dynaically modify Device Tree for pine64 7in LCD in boot script 2016-11-02 11:59:01 -05:00
Martin Bergstrand
076211e487 Enable pine64 7in LCD panel from armbianEnv.txt 2016-11-01 16:09:02 -05:00
zador-blood-stained
47c6d8ebcb Experimental camera settings support for pine64 2016-10-31 21:45:20 +03:00
zador-blood-stained
26c58b8c8a Bugfix 2016-10-17 00:04:07 +03:00
zador-blood-stained
19464938af UUID in boot script support for sunxi boards 2016-10-15 18:08:41 +03:00
zador-blood-stained
6d19506b1e Update Pine64 default configuration 2016-08-14 21:53:12 +03:00
zador-blood-stained
92d995e2b5 Add pine64 mainline configuration 2016-08-13 22:54:31 +03:00