mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
project: add AMLG12 device
This commit is contained in:
parent
f7bc3c764a
commit
97b83a2af0
1
projects/Amlogic/devices/AMLG12/bootloader
Symbolic link
1
projects/Amlogic/devices/AMLG12/bootloader
Symbolic link
@ -0,0 +1 @@
|
||||
../AMLGX/bootloader
|
52
projects/Amlogic/devices/AMLG12/options
Normal file
52
projects/Amlogic/devices/AMLG12/options
Normal file
@ -0,0 +1,52 @@
|
||||
################################################################################
|
||||
# setup device defaults
|
||||
################################################################################
|
||||
|
||||
# The TARGET_CPU variable controls which processor should be targeted for
|
||||
# generated code.
|
||||
case $TARGET_ARCH in
|
||||
aarch64)
|
||||
TARGET_CPU="cortex-a53"
|
||||
TARGET_CPU_FLAGS="+crc+fp+simd"
|
||||
TARGET_FEATURES="64bit"
|
||||
;;
|
||||
arm)
|
||||
TARGET_KERNEL_ARCH="arm64"
|
||||
TARGET_PATCH_ARCH="aarch64"
|
||||
TARGET_FLOAT=hard
|
||||
TARGET_CPU="cortex-a53"
|
||||
TARGET_CPU_FLAGS="+crc"
|
||||
TARGET_FPU="neon-fp-armv8"
|
||||
TARGET_FEATURES="32bit"
|
||||
;;
|
||||
esac
|
||||
|
||||
# Kernel target
|
||||
KERNEL_TARGET="uImage.lzo"
|
||||
|
||||
# Kernel uImage load address
|
||||
KERNEL_UIMAGE_LOADADDR="0x1080000"
|
||||
|
||||
# Kernel uImage entry address
|
||||
KERNEL_UIMAGE_ENTRYADDR="0x1080000"
|
||||
|
||||
# Additional kernel make parameters
|
||||
KERNEL_MAKE_EXTRACMD="dtbs"
|
||||
|
||||
# kernel serial console
|
||||
EXTRA_CMDLINE="console=ttyAML0,115200n8 console=tty0"
|
||||
|
||||
# OpenGL-ES implementation to use
|
||||
OPENGLES="libmali"
|
||||
|
||||
# Graphic drivers to use
|
||||
GRAPHIC_DRIVERS=""
|
||||
|
||||
# KODI Player implementation to use
|
||||
KODIPLAYER_DRIVER="$OPENGLES"
|
||||
|
||||
# Mali GPU family
|
||||
MALI_FAMILY="g31 g52"
|
||||
|
||||
# additional drivers to install
|
||||
ADDITIONAL_DRIVERS+=" mali-bifrost"
|
Loading…
x
Reference in New Issue
Block a user