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 Pečovnik
86309d97fd
Tiny bugfix
...
https://forum.armbian.com/topic/8261-orangepi-pc-not-booting-from-emmc-after-an-update/?do=findComment&comment=67471
2018-12-08 21:26:10 +01:00
Igor Pecovnik
352b2584d2
[ sunxi ] fixed boot console output to match reality. In "both" mode you can have serial console login, but boot log goes to HDMI. In "serial" you (current "both" defaults) you get boot log to serial console, console login and blinking cursor on HDMI which is hard to spot. Lot's of people thinks board doesn't work ...
2018-11-10 21:16:39 +01:00
ThomasKaiser
ab786b312f
UAS blacklist broken USB disk enclosures
2017-09-05 04:50:30 -07:00
zador-blood-stained
2d20064258
Switch sun50i-dev u-boot to upstream master
2017-08-23 13:35:38 +03:00
zador-blood-stained
6879b901fb
Add extra DT memory reservation for the overlays
2017-05-20 16:42:01 +03:00
zador-blood-stained
9f5036f335
Update sunxi boot scripts
2017-05-15 18:41:59 +03:00
Igor Pecovnik
491fc18ae0
Forgot to include bootscript changes in previous commit
2017-03-25 09:38:12 +01:00
zador-blood-stained
bfa7134e12
Add overlay prefixes to sunxi boot script
...
Add overlay "fixup" scripts support
Rework sunxi boot script to use "prefix" env variable
2017-03-09 00:13:25 +03:00
zador-blood-stained
0a36bbdaa5
Fix copy-paste issue in boot scripts
2017-02-27 23:21:40 +03:00
zador-blood-stained
c6c3cdacd5
Remove enforcing kernel argument from boot scripts
2017-02-27 23:20:28 +03:00
zador-blood-stained
43fcc0df4e
Add a boot script variable to disable Docker optimizations
2017-02-26 20:53:08 +03:00
zador-blood-stained
fe6ad6a8e9
Add user provided overlays support for sunxi boot script
2017-02-26 20:48:49 +03:00
zador-blood-stained
bacf567104
Rename, split and improve H3 DT overlays
...
Fix OPi Zero DT
Improve DT loading reliability
2017-02-11 20:32:53 +03:00
zador-blood-stained
c3107a18df
Add some overlays to the sun8i-dev kernel
2017-01-30 19:07:04 +03:00
zador-blood-stained
bd2cb32440
Enable DT overlay support in u-boot for sunxi boards
2017-01-30 16:26:43 +03:00
zador-blood-stained
7e2979f246
Update sunxi boot scripts
2017-01-21 15:59:01 +03:00
zador-blood-stained
1fc6ae5072
Small enhancement to the sunxi boot script
2017-01-14 21:17:57 +03:00
zador-blood-stained
c956adba55
Bugfix
2017-01-11 20:09:04 +03:00
zador-blood-stained
942a6767ae
Update sunxi boot script
2017-01-11 19:26:12 +03:00
zador-blood-stained
4d1182753c
Update sunxi and XU4 boot scripts
2016-10-24 13:54:25 +03:00
zador-blood-stained
44f20bfcb0
Updates to u-boot upgrade on sunxi hw
2016-10-23 14:18:14 +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
06ca8c8d9d
Put boot script name and root device into variables
2016-10-10 19:36:51 +03:00
ThomasKaiser
f69f6c1c07
Really remove sunxi_no_mali_mem_reserve
2016-10-04 08:12:15 +02:00
Igor Pecovnik
3baf7fc2aa
New kernel parameter, poosible usage in FA Air
2016-09-20 20:28:22 +02:00
Igor Pecovnik
a41435e2e9
Clarification for uboot settings
2016-09-14 14:42:24 +02:00
Igor Pecovnik
b7368787ed
Instructions for nonstandard monitor
2016-09-13 21:07:48 +02:00
zador-blood-stained
4e02e82640
Improve sunxi boot script
2016-06-24 17:25:00 +03:00
zador-blood-stained
a402ea719d
Move boots cript installation to sources templates
2016-06-13 22:25:46 +03:00