Commit Graph

22 Commits

Author SHA1 Message Date
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
Orel
db6a2dd17c
Add overlay_error env on sunxi64 to enable overlays support (#2679)
* Add overley_error env on sunxi64 to enable overlays support
* Add overlay_error env for mvebu
2021-03-02 12:52:14 +01: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
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
ced3bf0a40 [ sunxi-dev ] Moving to 4.19.y Tested: H3, H5 (unstable?!), H6(no hdmi), R40 (no hdmi), A83T, A64, ... some wireless drivers were left. They need to be adjusted for 4.19.y 2018-11-13 11:50:40 +01:00
zador.blood.stained
c8dce60dab sunxi64 boot script bugfix 2018-05-06 22:53:21 +03: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
291b95bceb Improve u-boot and DT update procedure for A64 devices 2017-06-03 21:10:07 +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
Martin Ayotte
5cf6e97bae add overlays support to sun50i-a64/pine64-dev 2017-04-06 16:55:02 -04: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
4595c181de Add workaround for MMC detection on SoPine 2017-02-08 12:28:46 +03:00
zador-blood-stained
df6d79a670 Fix SPL address in sun50i boot script 2017-02-01 15:03:36 +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
9248bf6354 Add HDMI console output support to the sunxi64 boot script 2017-01-25 16:36:46 +03:00
zador-blood-stained
204432f880 Partially merge Pine64 and PC2 configuration 2017-01-23 16:57:02 +03:00