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>
77 lines
1.4 KiB
PHP
77 lines
1.4 KiB
PHP
ARCH=armhf
|
|
LINUXFAMILY=meson
|
|
KERNEL_IMAGE_TYPE=uImage
|
|
SRC_LOADADDR='LOADADDR=0x00208000'
|
|
|
|
SERIALCON="ttyAML0"
|
|
|
|
CPUMIN=504000
|
|
CPUMAX=1632000
|
|
GOVERNOR=ondemand
|
|
|
|
SKIP_BOOTSPLASH="yes"
|
|
|
|
case $BOARD in
|
|
odroidc1)
|
|
|
|
BOOTDIR='u-boot-odroidc1'
|
|
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
|
|
BOOTBRANCH='branch:odroidc-v2011.03'
|
|
|
|
UBOOT_COMPILER="arm-linux-gnueabihf-"
|
|
UBOOT_USE_GCC='< 4.9'
|
|
|
|
UBOOT_TARGET_MAP=';;sd_fuse/bl1.bin.hardkernel sd_fuse/u-boot.bin'
|
|
|
|
;;
|
|
esac
|
|
|
|
case $BRANCH in
|
|
legacy)
|
|
|
|
KERNELBRANCH="branch:linux-5.10.y"
|
|
KERNELPATCHDIR='meson-'$BRANCH
|
|
|
|
;;
|
|
|
|
current)
|
|
|
|
KERNELBRANCH="branch:linux-5.15.y"
|
|
KERNELPATCHDIR='meson-'$BRANCH
|
|
|
|
;;
|
|
|
|
edge)
|
|
|
|
KERNELBRANCH="branch:linux-5.18.y"
|
|
KERNELPATCHDIR='meson-'$BRANCH
|
|
|
|
;;
|
|
esac
|
|
|
|
write_uboot_platform()
|
|
{
|
|
dd if=$1/bl1.bin.hardkernel of=$2 bs=1 count=442 conv=fsync > /dev/null 2>&1
|
|
dd if=$1/bl1.bin.hardkernel of=$2 bs=512 skip=1 seek=1 conv=fsync > /dev/null 2>&1
|
|
dd if=$1/u-boot.bin of=$2 bs=512 seek=64 conv=fsync > /dev/null 2>&1
|
|
dd if=/dev/zero of=$2 seek=1024 count=32 bs=512 conv=fsync > /dev/null 2>&1
|
|
}
|
|
|
|
family_tweaks()
|
|
{
|
|
:
|
|
}
|
|
|
|
family_tweaks_bsp()
|
|
{
|
|
mkdir -p "$destination/etc/X11/xorg.conf.d"
|
|
cat <<-EOF >"$destination/etc/X11/xorg.conf.d/02-driver.conf"
|
|
Section "OutputClass"
|
|
Identifier "Amlogic"
|
|
MatchDriver "meson"
|
|
Driver "modesetting"
|
|
Option "PrimaryGPU" "true"
|
|
EndSection
|
|
EOF
|
|
}
|