Commit graph

9 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
Thomas McKahan
3a185c8b82 [ rockchip-dev ] Add DT overlay framework 2018-12-13 19:04:47 -05:00
Igor Pecovnik
9dbc69e0ed [Tinkerboard/MiQi] Fix eMMC boot problem on MiQi by reverting back to old u-boot, fix console that both are present, HDMI and serial, adjust boot script that we don't need hardcode DTB. U-boot variable is set to RK3288-tinker so adding symlink to RK3288-miniarm which represent the board in a legacy kernel. Added upstream patch, tested on MiQi and Tinkerboard S, default and dev, upgrades still need to be tested ... 2018-10-12 14:10:42 +02:00
Robin Frousheger
a7e01ed5fc
rockchip: Allow rootfstype specified in armbianEnv.txt to be used
e.g. Using btrfs on ASUS Tinkerboard
2018-08-02 17:25:34 +10:00
Igor Pecovnik
a7b8386b02 Tiny Rockchip related fixes. Fix boot priority on MiQi. Start from SD if insterted, otherwise boot from eMMC, go up with u-boot to 2017.11, 2018.03 hangs ... 2018-05-30 11:46:32 +00:00
ThomasKaiser
ab786b312f UAS blacklist broken USB disk enclosures 2017-09-05 04:50:30 -07:00
zador-blood-stained
0f898f3f31 Cleanup for several boot scripts
Parameters like "selinux" and "enforcing" should not be set by default
2017-03-04 21:23:53 +03:00
Igor Pecovnik
89ccaa6457 MiQi: fixed eMMC install, added developement kernel with MALI driver, added default to normal builds and keep dev at nightly, adjusted CPU frequency 2017-02-21 13:51:17 +01:00
Igor Pecovnik
70bf12195e Rockchip RK3288 (MiQi) booting, kernel = docker ready, uboot scripts and environment tested. Known bugs: ethernet MAC random change 2017-02-20 21:15:10 +01:00