mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* 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>
41 lines
1.4 KiB
Batchfile
41 lines
1.4 KiB
Batchfile
# DO NOT EDIT THIS FILE
|
|
#
|
|
# Please edit /boot/armbianEnv.txt to set supported parameters
|
|
#
|
|
|
|
# default values
|
|
setenv rootdev "/dev/mmcblk2p1"
|
|
setenv rootfstype "ext4"
|
|
setenv verbosity "1"
|
|
setenv bootlogo "false"
|
|
setenv fdt_addr "0x48000000"
|
|
setenv ramdisk_addr_r "0x49000000"
|
|
setenv kernel_addr_r "0x4a000000"
|
|
|
|
# fdtfile should come from compile-time u-boot patches
|
|
if test -z "${fdtfile}"; then
|
|
setenv fdtfile "s5p6818-nanopi-m3.dtb"
|
|
fi
|
|
|
|
echo "Boot script loaded from SD card ${devnum}"
|
|
|
|
if ext4load mmc ${devnum}:1 ${kernel_addr_r} ${prefix}/armbianEnv.txt; then
|
|
env import -t ${kernel_addr_r} ${filesize}
|
|
fi
|
|
|
|
if test "${bootlogo}" = "true"; then
|
|
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
|
|
else
|
|
setenv consoleargs "splash=verbose ${consoleargs}"
|
|
fi
|
|
|
|
setenv bootargs "console=ttySAC0,115200n8 console=tty1 ${consoleargs} root=${rootdev} rootwait rootfstype=${rootfstype} loglevel=${verbosity} usb-storage.quirks=${usbstoragequirks} ${extraargs}"
|
|
|
|
if ext4load mmc ${devnum}:1 ${fdt_addr} ${prefix}dtb/nexell/${fdtfile} || ext4load mmc 1:1 ${fdt_addr} ${prefix}dtb/nexell/s5p6818-nanopi3-rev07.dtb; then echo "Loading DTB"; fi
|
|
ext4load mmc ${devnum}:1 ${ramdisk_addr_r} ${prefix}uInitrd
|
|
ext4load mmc ${devnum}:1 ${kernel_addr_r} ${prefix}Image
|
|
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr}
|
|
|
|
# Recompile with:
|
|
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
|