RPi4: add new device

Use raspberrypi kernel and upstream kodi with gbm/vc4.

Thanks to Milhouse for providing 5.1 kernel config!

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2019-06-25 22:54:32 +02:00
parent 81d8d58d7e
commit ad17be4ce5
4 changed files with 5532 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
# WARNING: DO NOT EDIT THIS FILE - IT WILL BE OVERWRITTEN WHEN UPGRADING!
dtoverlay=vc4-fkms-v3d
disable_overscan=1
dtparam=audio=on

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,14 @@
################################################################################
# Device defaults
################################################################################
# NOOBS supported hex versions (legacy) is not relevant for RPi4
unset NOOBS_HEX
# NOOBS supported model versions
NOOBS_SUPPORTED_MODELS='"Pi 4"'
OPENGLES="mesa"
GRAPHIC_DRIVERS="vc4"
KODIPLAYER_DRIVER="mesa"
unset KODI_VENDOR

View File

@ -12,6 +12,9 @@
TARGET_CPU="arm1176jzf-s"
elif [ "$DEVICE" = "RPi2" -o "$DEVICE" = "Slice3" ]; then
TARGET_CPU="cortex-a7"
elif [ "$DEVICE" = "RPi4" ]; then
TARGET_CPU="cortex-a53"
TARGET_CPU_FLAGS="+crc"
fi
# TARGET_FLOAT:
@ -27,6 +30,8 @@
TARGET_FPU="vfp"
elif [ "$DEVICE" = "RPi2" -o "$DEVICE" = "Slice3" ]; then
TARGET_FPU="neon-vfpv4"
elif [ "$DEVICE" = "RPi4" ]; then
TARGET_FPU="neon-fp-armv8"
fi
TARGET_FEATURES="32bit"
;;