Commit Graph

36 Commits

Author SHA1 Message Date
Markus Hoffrogge
be86d1bd27 Add missing print for NAND boot source
fixes #4532
2022-12-06 10:01:59 +03:00
hzyitc
11d2ef63c3
Support Plymouth (#4133)
* Add plymouth-theme-armbian package

* Adjust all bootscripts to adapt plymouth

* Auto show logo accroding to BOOT_LOGO

* Enable plymouth detail mode when bootlogo=false

* Add a new board config var - HAS_VIDEO_OUTPUT

This var is used to indicate whether device has a HW video output.
If it's set to "no", we will disable kernel bootsplash, plymouth and BUILD_DESKTOP

* Rename package to be aligned with others

* Disable kernel bootloader, but keep the code for it

* Rather keep bootlogo in the kernel for a while, otherwise kernel upgrade will turn bootup into the darkness

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
Co-authored-by: Igor <igor@armbian.com>
2022-09-13 15:16:30 +02:00
Aristo Chen
95fef5d443
Fix inconsistent indent (#2853) 2021-05-27 20:40:06 +02:00
Igor Pečovnik
c0f135a0ef
Init ramdisk is getting larger. Making more room for its deployment (#2108) 2020-07-27 19:38:40 +02:00
Igor Pečovnik
7d758026b5
Enable kernel boot splash, env and bootscript files cleanup, upstream patches (#2065)
* Initial commit for kernel boot splash
* Add startup files to disable bootlog when system is up / down
* Update logo, remove deprecated one
* Introduce new u-boot variable bootlogo
* Adjust kernel config
* Make logo possible on Odroid XU4
- add legacy and current upstream patches
- delete xu4 environment since its not used
* Cleanup C2,C4, both tested, logo works on mainline,
- adding legacy upstream patches for c4
* Enable bootlogo by default on Odroid N2
* Enable logo on RK3399 desktop images
* Cleanup the rest of the environment files
* Add initrd hook that copy splash file to initrd.
* Missing logo bits for one boot scripts
* Enable boot logo on Pinebook A64
* Enable bootlogo on Teres
* Update config
2020-06-27 19:14:38 +02:00
David Pottage
5d88511bb3
Add earlycon for early verbose boot messages. (#1871)
* Add earlycon for early verbose boot messages.
* Update boot-cubox.cmd
* Update boot-rockchip.cmd
* Update boot-rockpis.cmd
* Update boot-sunxi.cmd
* Update boot-udoo.cmd

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-06-10 18:31:50 +02:00
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