mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Move Odroid_C2 to Amlogic Project
This commit is contained in:
parent
92dcff24db
commit
c005c157c6
43
projects/Amlogic/devices/Odroid_C2/bootloader/boot.ini
Normal file
43
projects/Amlogic/devices/Odroid_C2/bootloader/boot.ini
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# boot.ini
|
||||||
|
#
|
||||||
|
# WARNING DO NOT MODIFY THIS FILE! ALL CHANGES WILL BE LOST WITH THE NEXT UPDATE!
|
||||||
|
# Set your own settings in config.ini
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
ODROIDC2-UBOOT-CONFIG
|
||||||
|
|
||||||
|
setenv bootrootfs "BOOT_IMAGE=KERNEL boot=LABEL=LIBREELEC disk=LABEL=STORAGE"
|
||||||
|
setenv condev "tty0"
|
||||||
|
setenv hdmimode "1080p60hz"
|
||||||
|
setenv hdmioutput "1"
|
||||||
|
setenv vpu "1"
|
||||||
|
setenv libreelec "quiet"
|
||||||
|
setenv hdmi_cec "1"
|
||||||
|
setenv maxcpus "4"
|
||||||
|
setenv max_freq "1536"
|
||||||
|
setenv rtc_shield "0"
|
||||||
|
|
||||||
|
setenv kernel_addr 0x11000000
|
||||||
|
setenv dtb_addr 0x1000000
|
||||||
|
setenv uenv_addr 0x13000000
|
||||||
|
fatload mmc 0:1 ${kernel_addr} KERNEL
|
||||||
|
fatload mmc 0:1 ${dtb_addr} meson64_odroidc2.dtb
|
||||||
|
if fatload mmc 0:1 ${uenv_addr} config.ini; then env import -t ${uenv_addr} $filesize; fi
|
||||||
|
|
||||||
|
fdt addr ${dtb_addr}
|
||||||
|
fdt resize
|
||||||
|
|
||||||
|
setenv odroidp1 "no_console_suspend logo=osd1,loaded,0x3f800000,${hdmimode} vout=${hdmimode},enable hdmimode=${hdmimode} cvbsmode=nocvbs"
|
||||||
|
setenv odroidp2 "mac=${ethaddr} consoleblank=0 max_freq=${max_freq} maxcpus=${maxcpus}"
|
||||||
|
setenv odroid "${odroidp1} ${odroidp2}"
|
||||||
|
|
||||||
|
if test "${hdmi_cec}" = "1"; then setenv cec "hdmitx=cec17"; fi
|
||||||
|
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
|
||||||
|
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
|
||||||
|
if test "${rtc_shield}" = "0"; then fdt set "/i2c@c1108500/pcf8563@51" status disabled; fi
|
||||||
|
|
||||||
|
setenv bootargs "console=${condev} ${bootrootfs} ${odroid} ${cec} ${libreelec} "
|
||||||
|
|
||||||
|
booti ${kernel_addr} - ${dtb_addr}
|
112
projects/Amlogic/devices/Odroid_C2/bootloader/config.ini
Normal file
112
projects/Amlogic/devices/Odroid_C2/bootloader/config.ini
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# config.ini
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Console Setup
|
||||||
|
# on serial port:
|
||||||
|
# condev="ttyS0,115200n8"
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Video
|
||||||
|
# Setup the video output
|
||||||
|
# hdmimode="480i60hz"
|
||||||
|
# hdmimode="480i_rpt"
|
||||||
|
# hdmimode="480p60hz"
|
||||||
|
# hdmimode="480p_rpt"
|
||||||
|
# hdmimode="576i50hz"
|
||||||
|
# hdmimode="576i_rpt"
|
||||||
|
# hdmimode="576p50hz"
|
||||||
|
# hdmimode="576p_rpt"
|
||||||
|
# hdmimode="720p60hz"
|
||||||
|
# hdmimode="720p50hz"
|
||||||
|
# hdmimode="1080i60hz"
|
||||||
|
# hdmimode="1080p60hz"
|
||||||
|
# hdmimode="1080i50hz"
|
||||||
|
# hdmimode="1080p50hz"
|
||||||
|
# hdmimode="1080p30hz"
|
||||||
|
# hdmimode="1080p25hz"
|
||||||
|
# hdmimode="1080p24hz"
|
||||||
|
# hdmimode="2160p60hz"
|
||||||
|
# hdmimode="2160p50hz"
|
||||||
|
# hdmimode="2160p30hz"
|
||||||
|
# hdmimode="2160p25hz"
|
||||||
|
# hdmimode="2160p24hz"
|
||||||
|
# hdmimode="2160p60hz420"
|
||||||
|
# hdmimode="2160p50hz420"
|
||||||
|
# hdmimode="smpte60hz"
|
||||||
|
# hdmimode="smpte50hz"
|
||||||
|
# hdmimode="smpte30hz"
|
||||||
|
# hdmimode="smpte25hz"
|
||||||
|
# hdmimode="smpte24hz"
|
||||||
|
# hdmimode="smpte60hz420"
|
||||||
|
# hdmimode="smpte50hz420"
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# LibreELEC variables
|
||||||
|
#
|
||||||
|
# Setup the LibreELEC options
|
||||||
|
# valid values are: textmode debugging progress nofsck nosplash noram overlay quiet ssh
|
||||||
|
#
|
||||||
|
# libreelec="quiet"
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Enable|Disable HDMI CEC Control
|
||||||
|
# hdmi_cec="0"
|
||||||
|
# hdmi_cec="1"
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Enable|Disable RTC Shield
|
||||||
|
# rtc_shield="0"
|
||||||
|
# rtc_shield="1"
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# CPU Frequency / Cores control
|
||||||
|
#
|
||||||
|
# WARNING!!! WARNING!!! WARNING!!!
|
||||||
|
# Before changing anything here please read the wiki entry:
|
||||||
|
# http://odroid.com/dokuwiki/doku.php?id=en:c2_set_cpu_freq
|
||||||
|
#
|
||||||
|
# MAX CPU's
|
||||||
|
# maxcpus="1"
|
||||||
|
# maxcpus="2"
|
||||||
|
# maxcpus="3"
|
||||||
|
# maxcpus="4"
|
||||||
|
#
|
||||||
|
# MAX Frequency
|
||||||
|
# 2.016GHz
|
||||||
|
# max_freq="2016"
|
||||||
|
# 1.944GHz
|
||||||
|
# max_freq="1944"
|
||||||
|
# 1.920GHz
|
||||||
|
# max_freq="1920"
|
||||||
|
# 1.896GHz
|
||||||
|
# max_freq="1896
|
||||||
|
# 1.752GHz
|
||||||
|
# max_freq="1752"
|
||||||
|
# 1.680GHz
|
||||||
|
# max_freq="1680"
|
||||||
|
# 1.656GHz
|
||||||
|
# max_freq="1656"
|
||||||
|
# 1.536GHz
|
||||||
|
# max_freq="1536"
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------------------------------
|
@ -27,6 +27,10 @@ if [ -f "$RELEASE_DIR/3rdparty/bootloader/boot.ini" ]; then
|
|||||||
mcopy $RELEASE_DIR/3rdparty/bootloader/boot.ini ::
|
mcopy $RELEASE_DIR/3rdparty/bootloader/boot.ini ::
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -f "$RELEASE_DIR/3rdparty/bootloader/config.ini" ]; then
|
||||||
|
mcopy $RELEASE_DIR/3rdparty/bootloader/config.ini ::
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "$RELEASE_DIR/3rdparty/bootloader/meson64_odroidc2.dtb" ]; then
|
if [ -f "$RELEASE_DIR/3rdparty/bootloader/meson64_odroidc2.dtb" ]; then
|
||||||
mcopy $RELEASE_DIR/3rdparty/bootloader/meson64_odroidc2.dtb ::
|
mcopy $RELEASE_DIR/3rdparty/bootloader/meson64_odroidc2.dtb ::
|
||||||
fi
|
fi
|
@ -23,4 +23,5 @@
|
|||||||
mkdir -p $RELEASE_DIR/3rdparty/bootloader
|
mkdir -p $RELEASE_DIR/3rdparty/bootloader
|
||||||
cp -a $(get_build_dir linux)/arch/$TARGET_KERNEL_ARCH/boot/dts/meson64_odroidc2.dtb $RELEASE_DIR/3rdparty/bootloader
|
cp -a $(get_build_dir linux)/arch/$TARGET_KERNEL_ARCH/boot/dts/meson64_odroidc2.dtb $RELEASE_DIR/3rdparty/bootloader
|
||||||
cp -a $(get_build_dir $BOOTLOADER)/u-boot.bin $RELEASE_DIR/3rdparty/bootloader
|
cp -a $(get_build_dir $BOOTLOADER)/u-boot.bin $RELEASE_DIR/3rdparty/bootloader
|
||||||
cp -a $PROJECT_DIR/$PROJECT/bootloader/boot.ini $RELEASE_DIR/3rdparty/bootloader
|
cp -a $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/boot.ini $RELEASE_DIR/3rdparty/bootloader
|
||||||
|
cp -a $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/config.ini $RELEASE_DIR/3rdparty/bootloader
|
26
projects/Amlogic/devices/Odroid_C2/options
Normal file
26
projects/Amlogic/devices/Odroid_C2/options
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# Configuration for u-boot
|
||||||
|
UBOOT_CONFIG="odroidc2_defconfig"
|
||||||
|
|
||||||
|
# Target Configfile for u-boot
|
||||||
|
UBOOT_CONFIGFILE="boot.ini"
|
||||||
|
|
||||||
|
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
|
||||||
|
KERNEL_TARGET="Image"
|
||||||
|
|
||||||
|
# Kernel extra targets to build
|
||||||
|
KERNEL_UBOOT_EXTRA_TARGET=""
|
||||||
|
|
||||||
|
# Build Android kernel image using mkbootimg
|
||||||
|
BUILD_ANDROID_BOOTIMG=""
|
||||||
|
|
||||||
|
# Additional options to be passed to Android mkbootimg
|
||||||
|
ANDROID_BOOTIMG_OPTIONS=""
|
||||||
|
|
||||||
|
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
||||||
|
KERNEL_MAKE_EXTRACMD="dtbs"
|
||||||
|
|
||||||
|
# kernel image name
|
||||||
|
KERNEL_NAME="KERNEL"
|
||||||
|
|
||||||
|
# Amlogic IR remote support (yes / no)
|
||||||
|
AMREMOTE_SUPPORT="no"
|
@ -53,7 +53,7 @@ make_target() {
|
|||||||
|
|
||||||
makeinstall_target() {
|
makeinstall_target() {
|
||||||
mkdir -p $INSTALL/usr/share/bootloader
|
mkdir -p $INSTALL/usr/share/bootloader
|
||||||
cp $PROJECT_DIR/$PROJECT/bootloader/boot.ini $INSTALL/usr/share/bootloader
|
cp $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/boot.ini $INSTALL/usr/share/bootloader
|
||||||
cp -av $PKG_BUILD/u-boot.bin $INSTALL/usr/share/bootloader
|
cp $PROJECT_DIR/$PROJECT/devices/$DEVICE/bootloader/config.ini $INSTALL/usr/share/bootloader
|
||||||
cp -av $PROJECT_DIR/$PROJECT/bootloader/update.sh $INSTALL/usr/share/bootloader
|
cp -av $PKG_BUILD/u-boot.bin $INSTALL/usr/share/bootloader/u-boot
|
||||||
}
|
}
|
@ -2,4 +2,11 @@
|
|||||||
# for a list of additinoal drivers see packages/linux-drivers
|
# for a list of additinoal drivers see packages/linux-drivers
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
||||||
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS fd628-aml"
|
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS ap6xxx-aml mt7601u-aml mt7603u-aml \
|
||||||
|
qca9377-aml RTL8189ES-aml RTL8189FS-aml \
|
||||||
|
RTL8723BS-aml RTL8723DS-aml RTL8822BU-aml ssv6xxx-aml fd628-aml"
|
||||||
|
|
||||||
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
|
||||||
|
FIRMWARE="$FIRMWARE brcmfmac_sdio-firmware-all-aml rtl8723bs_bt qca9377-firmware-aml"
|
||||||
|
@ -6,3 +6,16 @@
|
|||||||
|
|
||||||
# Amlogic Meson SOC family (8 / 6 / gxbb)
|
# Amlogic Meson SOC family (8 / 6 / gxbb)
|
||||||
MESON_FAMILY="gxm"
|
MESON_FAMILY="gxm"
|
||||||
|
|
||||||
|
# additional drivers to install:
|
||||||
|
# for a list of additinoal drivers see packages/linux-drivers
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
||||||
|
ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS ap6xxx-aml mt7601u-aml mt7603u-aml \
|
||||||
|
qca9377-aml RTL8189ES-aml RTL8189FS-aml \
|
||||||
|
RTL8723BS-aml RTL8723DS-aml RTL8822BU-aml ssv6xxx-aml fd628-aml"
|
||||||
|
|
||||||
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
||||||
|
# Space separated list is supported,
|
||||||
|
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
|
||||||
|
FIRMWARE="$FIRMWARE brcmfmac_sdio-firmware-all-aml rtl8723bs_bt qca9377-firmware-aml"
|
||||||
|
@ -96,6 +96,12 @@ if [ -f $SYSTEM_ROOT/usr/share/bootloader/boot.ini ]; then
|
|||||||
echo "*** updating boot.ini ..."
|
echo "*** updating boot.ini ..."
|
||||||
mount -o rw,remount $BOOT_ROOT
|
mount -o rw,remount $BOOT_ROOT
|
||||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/boot.ini $BOOT_ROOT/boot.ini
|
cp -p $SYSTEM_ROOT/usr/share/bootloader/boot.ini $BOOT_ROOT/boot.ini
|
||||||
|
if [ -f $SYSTEM_ROOT/usr/share/bootloader/config.ini ]; then
|
||||||
|
if [ ! -f $BOOT_ROOT/config.ini ]; then
|
||||||
|
echo "*** creating config.ini ..."
|
||||||
|
cp -p $SYSTEM_ROOT/usr/share/bootloader/config.ini $BOOT_ROOT/config.ini
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f $SYSTEM_ROOT/usr/share/bootloader/boot-logo.bmp.gz ]; then
|
if [ -f $SYSTEM_ROOT/usr/share/bootloader/boot-logo.bmp.gz ]; then
|
||||||
|
@ -404,7 +404,7 @@ CONFIG_PM_SLEEP=y
|
|||||||
CONFIG_PM_SLEEP_SMP=y
|
CONFIG_PM_SLEEP_SMP=y
|
||||||
# CONFIG_PM_AUTOSLEEP is not set
|
# CONFIG_PM_AUTOSLEEP is not set
|
||||||
# CONFIG_PM_WAKELOCKS is not set
|
# CONFIG_PM_WAKELOCKS is not set
|
||||||
# CONFIG_PM_RUNTIME is not set
|
CONFIG_PM_RUNTIME=y
|
||||||
CONFIG_PM=y
|
CONFIG_PM=y
|
||||||
# CONFIG_PM_DEBUG is not set
|
# CONFIG_PM_DEBUG is not set
|
||||||
CONFIG_ARCH_HAS_OPP=y
|
CONFIG_ARCH_HAS_OPP=y
|
||||||
@ -2889,6 +2889,7 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
|||||||
#
|
#
|
||||||
CONFIG_USB_DEFAULT_PERSIST=y
|
CONFIG_USB_DEFAULT_PERSIST=y
|
||||||
# CONFIG_USB_DYNAMIC_MINORS is not set
|
# CONFIG_USB_DYNAMIC_MINORS is not set
|
||||||
|
# CONFIG_USB_OTG is not set
|
||||||
# CONFIG_USB_OTG_WHITELIST is not set
|
# CONFIG_USB_OTG_WHITELIST is not set
|
||||||
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
|
# CONFIG_USB_OTG_BLACKLIST_HUB is not set
|
||||||
# CONFIG_USB_MON is not set
|
# CONFIG_USB_MON is not set
|
||||||
|
@ -112,16 +112,12 @@
|
|||||||
# for a list of additinoal drivers see packages/linux-drivers
|
# for a list of additinoal drivers see packages/linux-drivers
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
||||||
ADDITIONAL_DRIVERS="gpu-aml RTL8192CU RTL8192DU RTL8192EU RTL8812AU \
|
ADDITIONAL_DRIVERS="gpu-aml RTL8192CU RTL8192DU RTL8192EU RTL8812AU RTL8188EU-aml"
|
||||||
ap6xxx-aml mt7601u-aml mt7603u-aml qca9377-aml \
|
|
||||||
RTL8188EU-aml RTL8189ES-aml RTL8189FS-aml RTL8723BS-aml \
|
|
||||||
RTL8723DS-aml RTL8822BU-aml ssv6xxx-aml"
|
|
||||||
|
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
|
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
|
||||||
FIRMWARE="misc-firmware wlan-firmware dvb-firmware brcmfmac_sdio-firmware-all-aml rtl8723bs_bt qca9377-firmware-aml"
|
FIRMWARE="misc-firmware wlan-firmware dvb-firmware"
|
||||||
|
|
||||||
# build and install ATV IR remote support (yes / no)
|
# build and install ATV IR remote support (yes / no)
|
||||||
ATVCLIENT_SUPPORT="no"
|
ATVCLIENT_SUPPORT="no"
|
||||||
|
@ -1,160 +0,0 @@
|
|||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# boot.ini identification
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
ODROIDC2-UBOOT-CONFIG
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Boot Specific Stuff
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv bootrootfs "boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Console Setup
|
|
||||||
# setenv condev "console=ttyS0,115200n8" # on serial port
|
|
||||||
# setenv condev "console=tty0" # on display (HDMI)
|
|
||||||
# setenv condev "console=tty0 console=ttyS0,115200n8" # on both
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv console "console=tty0"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Video
|
|
||||||
# Setup the video output (default is 1080p60hz)
|
|
||||||
# 480 Lines (720x480)
|
|
||||||
# setenv hdmimode "480i60hz" # Interlaced 60Hz
|
|
||||||
# setenv hdmimode "480i_rpt" # Interlaced for Rear Projection Televisions 60Hz
|
|
||||||
# setenv hdmimode "480p60hz" # 480 Progressive 60Hz
|
|
||||||
# setenv hdmimode "480p_rpt" # 480 Progressive for Rear Projection Televisions 60Hz
|
|
||||||
# 576 Lines (720x576)
|
|
||||||
# setenv hdmimode "576i50hz" # Interlaced 50Hz
|
|
||||||
# setenv hdmimode "576i_rpt" # Interlaced for Rear Projection Televisions 50Hz
|
|
||||||
# setenv hdmimode "576p50hz" # Progressive 50Hz
|
|
||||||
# setenv hdmimode "576p_rpt" # Progressive for Rear Projection Televisions 50Hz
|
|
||||||
# 720 Lines (1280x720)
|
|
||||||
# setenv hdmimode "720p60hz" # Progressive 60Hz
|
|
||||||
# setenv hdmimode "720p50hz" # Progressive 50Hz
|
|
||||||
# 1080 Lines (1920x1080)
|
|
||||||
# setenv hdmimode "1080i60hz" # Interlaced 60Hz
|
|
||||||
# setenv hdmimode "1080p60hz" # Progressive 60Hz
|
|
||||||
# setenv hdmimode "1080i50hz" # Interlaced 50Hz
|
|
||||||
# setenv hdmimode "1080p50hz" # Progressive 50Hz
|
|
||||||
# setenv hdmimode "1080p30hz" # Progressive 30Hz
|
|
||||||
# setenv hdmimode "1080p25hz" # Progressive 25Hz
|
|
||||||
# setenv hdmimode "1080p24hz" # Progressive 24Hz
|
|
||||||
# 4K (3840x2160)
|
|
||||||
# setenv hdmimode "2160p60hz" # Progressive 60Hz
|
|
||||||
# setenv hdmimode "2160p50hz" # Progressive 50Hz
|
|
||||||
# setenv hdmimode "2160p30hz" # Progressive 30Hz
|
|
||||||
# setenv hdmimode "2160p25hz" # Progressive 25Hz
|
|
||||||
# setenv hdmimode "2160p24hz" # Progressive 24Hz
|
|
||||||
# setenv hdmimode "2160p60hz420" # Progressive 60Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
|
|
||||||
# setenv hdmimode "2160p50hz420" # Progressive 50Hz with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
|
|
||||||
# 4K2K (4096x2160)
|
|
||||||
# setenv hdmimode "smpte60hz" # Progressive 60Hz SMPTE
|
|
||||||
# setenv hdmimode "smpte50hz" # Progressive 50Hz SMPTE
|
|
||||||
# setenv hdmimode "smpte30hz" # Progressive 30Hz SMPTE
|
|
||||||
# setenv hdmimode "smpte25hz" # Progressive 25Hz SMPTE
|
|
||||||
# setenv hdmimode "smpte24hz" # Progressive 24Hz SMPTE
|
|
||||||
# setenv hdmimode "smpte60hz420" # Progressive 60Hz SMPTE with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
|
|
||||||
# setenv hdmimode "smpte50hz420" # Progressive 50Hz SMPTE with YCbCr 4:2:0 (Requires TV/Monitor that supports it)
|
|
||||||
#
|
|
||||||
# Enable|Disable HDMI (Saves RAM)
|
|
||||||
# setenv hdmioutput "0" # Disabled
|
|
||||||
# setenv hdmioutput "1" # Enabled
|
|
||||||
#
|
|
||||||
# Enable|Disable VPU (Saves RAM)
|
|
||||||
# setenv vpu "0" # Disabled
|
|
||||||
# setenv vpu "1" # Enabled
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv hdmioutput "1"
|
|
||||||
setenv vpu "1"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# LibreELEC variables
|
|
||||||
#
|
|
||||||
# Setup the LibreELEC options
|
|
||||||
# valid values are: textmode debugging progress nofsck nosplash noram overlay quiet ssh
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv libreelec "quiet"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Enable|Disable HDMI CEC Control
|
|
||||||
# setenv hdmi_cec "0" # Disabled
|
|
||||||
# setenv hdmi_cec "1" # Enabled
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv hdmi_cec "1"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# CPU Frequency / Cores control
|
|
||||||
#
|
|
||||||
# WARNING!!! WARNING!!! WARNING!!!
|
|
||||||
# Before changing anything here please read the wiki entry:
|
|
||||||
# http://odroid.com/dokuwiki/doku.php?id=en:c2_set_cpu_freq
|
|
||||||
#
|
|
||||||
# MAX CPU's
|
|
||||||
# setenv maxcpus "1"
|
|
||||||
# setenv maxcpus "2"
|
|
||||||
# setenv maxcpus "3"
|
|
||||||
# setenv maxcpus "4"
|
|
||||||
#
|
|
||||||
# MAX Frequency
|
|
||||||
# setenv max_freq "2016" # 2.016GHz
|
|
||||||
# setenv max_freq "1944" # 1.944GHz
|
|
||||||
# setenv max_freq "1944" # 1.944GHz
|
|
||||||
# setenv max_freq "1920" # 1.920GHz
|
|
||||||
# setenv max_freq "1896" # 1.896GHz
|
|
||||||
# setenv max_freq "1752" # 1.752GHz
|
|
||||||
# setenv max_freq "1680" # 1.680GHz
|
|
||||||
# setenv max_freq "1656" # 1.656GHz
|
|
||||||
# setenv max_freq "1536" # 1.536GHz
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv maxcpus "4"
|
|
||||||
setenv max_freq "1536"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Odroid C2 specific
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv odroidp1 "no_console_suspend logo=${logoopt} vout=${outputmode},enable hdmimode=${hdmimode} cvbsmode=nocvbs"
|
|
||||||
setenv odroidp2 "mac=${ethaddr} consoleblank=0 max_freq=${max_freq} maxcpus=${maxcpus}"
|
|
||||||
setenv odroid "${odroidp1} ${odroidp2}"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# U-Boot bootcmd command
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
setenv kernel "fatload mmc 0:1 0x11000000 KERNEL"
|
|
||||||
setenv dtb "fatload mmc 0:1 0x1000000 meson64_odroidc2.dtb"
|
|
||||||
setenv bootseq "booti 0x11000000 - 0x1000000"
|
|
||||||
setenv bootcmd "${kernel}; ${dtb}; ${bootseq}"
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
#
|
|
||||||
# Kernel boot
|
|
||||||
#
|
|
||||||
#------------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Prepare to boot
|
|
||||||
if test "${hdmi_cec}" = "1"; then setenv cec "hdmitx=cec17"; fi
|
|
||||||
if test "${vpu}" = "0"; then fdt rm /mesonstream; fdt rm /vdec; fdt rm /ppmgr; fi
|
|
||||||
if test "${hdmioutput}" = "0"; then fdt rm /mesonfb; fi
|
|
||||||
|
|
||||||
# Populate the final bootcmd
|
|
||||||
setenv bootargs "${console} ${bootrootfs} ${odroid} ${cec} ${libreelec}"
|
|
||||||
|
|
||||||
# Boot the board
|
|
||||||
run bootcmd
|
|
@ -1,55 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
################################################################################
|
|
||||||
# This file is part of LibreELEC - https://libreelec.tv
|
|
||||||
# Copyright (C) 2016-present Team LibreELEC
|
|
||||||
#
|
|
||||||
# LibreELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# LibreELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
[ -z "$SYSTEM_ROOT" ] && SYSTEM_ROOT=""
|
|
||||||
[ -z "$BOOT_ROOT" ] && BOOT_ROOT="/flash"
|
|
||||||
[ -z "$BOOT_PART" ] && BOOT_PART=$(df "$BOOT_ROOT" | tail -1 | awk {' print $1 '})
|
|
||||||
if [ -z "$BOOT_DISK" ]; then
|
|
||||||
case $BOOT_PART in
|
|
||||||
/dev/sd[a-z][0-9]*)
|
|
||||||
BOOT_DISK=$(echo $BOOT_PART | sed -e "s,[0-9]*,,g")
|
|
||||||
;;
|
|
||||||
/dev/mmcblk*)
|
|
||||||
BOOT_DISK=$(echo $BOOT_PART | sed -e "s,p[0-9]*,,g")
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# mount $BOOT_ROOT r/w
|
|
||||||
mount -o remount,rw $BOOT_ROOT
|
|
||||||
|
|
||||||
# update Device Tree Blobs
|
|
||||||
for all_dtb in /flash/*.dtb; do
|
|
||||||
dtb=$(basename $all_dtb)
|
|
||||||
if [ -f $SYSTEM_ROOT/usr/share/bootloader/$dtb ]; then
|
|
||||||
echo "*** updating Device Tree Blob: $dtb ..."
|
|
||||||
cp -p $SYSTEM_ROOT/usr/share/bootloader/$dtb $BOOT_ROOT
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# update bootloader files
|
|
||||||
if [ -f $SYSTEM_ROOT/usr/share/bootloader/u-boot.bin ]; then
|
|
||||||
echo "*** updating u-boot image ..."
|
|
||||||
dd if=$SYSTEM_ROOT/usr/share/bootloader/u-boot.bin of="$BOOT_DISK" conv=fsync,notrunc bs=1 count=112 &>/dev/null
|
|
||||||
dd if=$SYSTEM_ROOT/usr/share/bootloader/u-boot.bin of="$BOOT_DISK" conv=fsync,notrunc bs=512 skip=1 seek=1 &>/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# mount $BOOT_ROOT r/o
|
|
||||||
sync
|
|
||||||
mount -o remount,ro $BOOT_ROOT
|
|
@ -1,57 +0,0 @@
|
|||||||
#*********************************************************************************************************
|
|
||||||
#this file is configuration for each factory remote device
|
|
||||||
# work_mode 0 :software mode 1 :hardware mode
|
|
||||||
# repeat_enable 0 :disable repeat 1 :enable repeat
|
|
||||||
#
|
|
||||||
# factory_code each device has it's unique factory code.
|
|
||||||
# pattern:custom_code(16bit)+index_code(16bit)
|
|
||||||
# examble: 0xff000001 = 0xff00(custom cod) 0001 (index)
|
|
||||||
#
|
|
||||||
# release_delay unit:ms.release will report from kernel to user layer after this period of time
|
|
||||||
# from press or repeat triggered.
|
|
||||||
#
|
|
||||||
# debug_enable 0 :debug disable 1 :debug disable
|
|
||||||
#
|
|
||||||
# SW MODE:
|
|
||||||
# bit_count how many bits in each frame
|
|
||||||
# tw_leader_act time window for leader active
|
|
||||||
# tw_bit0 time window for bit0 time.
|
|
||||||
# tw_bit1 time window for bit1 time
|
|
||||||
# tw_repeat_leader time window for repeat leader
|
|
||||||
# REG
|
|
||||||
# reg_base_gen set value for PREG_IR_DEC_BASE_GEN
|
|
||||||
# reg_control set value for PREG_IR_DEC_CONTROL
|
|
||||||
# reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
|
|
||||||
# reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE
|
|
||||||
# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE
|
|
||||||
# reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
|
|
||||||
#*************************************************************************************************************
|
|
||||||
#amlogic NEC remote
|
|
||||||
factory_code = 0x4db20001
|
|
||||||
work_mode = 0
|
|
||||||
repeat_enable = 1
|
|
||||||
repeat_delay = 40
|
|
||||||
repeat_peroid = 39
|
|
||||||
release_delay = 121
|
|
||||||
debug_enable = 1
|
|
||||||
|
|
||||||
up_key_scancode = 0xca
|
|
||||||
down_key_scancode = 0xd2
|
|
||||||
left_key_scancode = 0x99
|
|
||||||
right_key_scancode = 0xc1
|
|
||||||
ok_key_scancode = 0xce
|
|
||||||
|
|
||||||
key_begin
|
|
||||||
0xdc 116 ; KEY_POWER
|
|
||||||
0x88 113 ; KEY_MUTE
|
|
||||||
0x82 102 ; KEY_HOME
|
|
||||||
0xca 103 ; KEY_UP
|
|
||||||
0xd2 108 ; KEY_DOWN
|
|
||||||
0x99 105 ; KEY_LEFT
|
|
||||||
0xc1 106 ; KEY_RIGHT
|
|
||||||
0xce 28 ; KEY_ENTER
|
|
||||||
0x9a 1 ; KEY_ESC
|
|
||||||
0xc5 46 ; KEY_C
|
|
||||||
0x80 115 ; KEY_VOLUMEUP
|
|
||||||
0x81 114 ; KEY_VOLUMEDOWN
|
|
||||||
key_end
|
|
@ -1 +0,0 @@
|
|||||||
amlvideodri
|
|
@ -1,2 +0,0 @@
|
|||||||
[Sleep]
|
|
||||||
SuspendMode=false
|
|
@ -1,21 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Debug Shell on /dev/ttyS0
|
|
||||||
DefaultDependencies=no
|
|
||||||
ConditionKernelCommandLine=console=ttyS0,115200n8
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
WorkingDirectory=/storage
|
|
||||||
Environment="ENV=/etc/profile"
|
|
||||||
ExecStartPre=/bin/sh -c 'echo -en "\033[?25h"'
|
|
||||||
ExecStart=/bin/sh
|
|
||||||
Restart=always
|
|
||||||
RestartSec=0
|
|
||||||
StandardInput=tty
|
|
||||||
TTYPath=/dev/ttyS0
|
|
||||||
KillMode=process
|
|
||||||
IgnoreSIGPIPE=no
|
|
||||||
# bash ignores SIGTERM
|
|
||||||
KillSignal=SIGHUP
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=sysinit.target
|
|
@ -1,43 +0,0 @@
|
|||||||
#
|
|
||||||
# Configuration for Amlogic M8 Audio
|
|
||||||
#
|
|
||||||
|
|
||||||
AML-M8AUDIO.pcm.default {
|
|
||||||
@args [ CARD ]
|
|
||||||
@args.CARD { type string }
|
|
||||||
type hw
|
|
||||||
card $CARD
|
|
||||||
device 0
|
|
||||||
format S32_LE
|
|
||||||
}
|
|
||||||
|
|
||||||
<confdir:pcm/hdmi.conf>
|
|
||||||
|
|
||||||
AML-M8AUDIO.pcm.hdmi.0 {
|
|
||||||
@args [ CARD AES0 AES1 AES2 AES3 ]
|
|
||||||
@args.CARD { type string }
|
|
||||||
@args.AES0 { type integer }
|
|
||||||
@args.AES1 { type integer }
|
|
||||||
@args.AES2 { type integer }
|
|
||||||
@args.AES3 { type integer }
|
|
||||||
type hooks
|
|
||||||
slave.pcm {
|
|
||||||
type hw
|
|
||||||
card $CARD
|
|
||||||
device 1
|
|
||||||
format S16_LE
|
|
||||||
}
|
|
||||||
hooks.0 {
|
|
||||||
type ctl_elems
|
|
||||||
hook_args [
|
|
||||||
{
|
|
||||||
interface MIXER
|
|
||||||
name "IEC958 Playback Default"
|
|
||||||
lock true
|
|
||||||
preserve true
|
|
||||||
optional true
|
|
||||||
value [ $AES0 $AES1 $AES2 $AES3 ]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,72 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
################################################################################
|
|
||||||
# This file is part of LibreELEC - https://LibreELEC.tv
|
|
||||||
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
||||||
# Copyright (C) 2016 Team LibreELEC
|
|
||||||
#
|
|
||||||
# LibreELEC is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 2 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# LibreELEC is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with LibreELEC. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
hdmimode=1080p60hz
|
|
||||||
|
|
||||||
# Parse command line arguments
|
|
||||||
for arg in $(cat /proc/cmdline); do
|
|
||||||
case $arg in
|
|
||||||
hdmimode=*)
|
|
||||||
hdmimode="${arg#*=}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
# Enable first framebuffer
|
|
||||||
echo 0 > /sys/class/graphics/fb0/blank
|
|
||||||
|
|
||||||
# Disable second framebuffer
|
|
||||||
echo 1 > /sys/class/graphics/fb1/blank
|
|
||||||
|
|
||||||
# Disable framebuffer scaling
|
|
||||||
echo 0 > /sys/class/graphics/fb0/free_scale
|
|
||||||
echo 0 > /sys/class/graphics/fb1/free_scale
|
|
||||||
|
|
||||||
# set initial video state
|
|
||||||
echo 1 > /sys/class/video/disable_video
|
|
||||||
|
|
||||||
# Set framebuffer geometry to match the resolution
|
|
||||||
case $hdmimode in
|
|
||||||
480*) X=720 Y=480 ;;
|
|
||||||
576*) X=720 Y=576 ;;
|
|
||||||
720p*) X=1280 Y=720 ;;
|
|
||||||
*) X=1920 Y=1080 ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
fbset -fb /dev/fb0 -g $X $Y 1920 2160 32
|
|
||||||
fbset -fb /dev/fb1 -g 32 32 32 32 32
|
|
||||||
|
|
||||||
# Enable scaling for 4K output
|
|
||||||
case $hdmimode in
|
|
||||||
4k*|smpte*|2160*)
|
|
||||||
echo 0 0 1919 1079 > /sys/class/graphics/fb0/free_scale_axis
|
|
||||||
echo 0 0 3839 2159 > /sys/class/graphics/fb0/window_axis
|
|
||||||
echo 1920 > /sys/class/graphics/fb0/scale_width
|
|
||||||
echo 1080 > /sys/class/graphics/fb0/scale_height
|
|
||||||
echo 0x10001 > /sys/class/graphics/fb0/free_scale
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Include deinterlacer into default VFM map
|
|
||||||
echo rm default > /sys/class/vfm/map
|
|
||||||
echo add default decoder ppmgr deinterlace amvideo > /sys/class/vfm/map
|
|
||||||
|
|
||||||
# Turn off the annoying Kernel activity - Blue Flashing LED
|
|
||||||
echo none > /sys/class/leds/blue:heartbeat/trigger
|
|
File diff suppressed because it is too large
Load Diff
@ -1,129 +0,0 @@
|
|||||||
################################################################################
|
|
||||||
# setup system defaults
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# The TARGET_CPU variable controls which processor should be targeted for
|
|
||||||
# generated code.
|
|
||||||
case $TARGET_ARCH in
|
|
||||||
aarch64)
|
|
||||||
# TARGET_CPU:
|
|
||||||
# arm2 arm250 arm3 arm6 arm60 arm600 arm610 arm620 arm7 arm7m arm7d
|
|
||||||
# arm7dm arm7di arm7dmi arm70 arm700 arm700i arm710 arm710c
|
|
||||||
# arm7100 arm720 arm7500 arm7500fe arm7tdmi arm7tdmi-s arm710t
|
|
||||||
# arm720t arm740t strongarm strongarm110 strongarm1100
|
|
||||||
# strongarm1110 arm8 arm810 arm9 arm9e arm920 arm920t arm922t
|
|
||||||
# arm946e-s arm966e-s arm968e-s arm926ej-s arm940t arm9tdmi
|
|
||||||
# arm10tdmi arm1020t arm1026ej-s arm10e arm1020e arm1022e
|
|
||||||
# arm1136j-s arm1136jf-s mpcore mpcorenovfp arm1156t2-s
|
|
||||||
# arm1176jz-s arm1176jzf-s cortex-a8 cortex-a9 cortex-r4
|
|
||||||
# cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312.
|
|
||||||
#
|
|
||||||
TARGET_CPU="cortex-a53"
|
|
||||||
TARGET_CPU_FLAGS="+crc+fp+simd"
|
|
||||||
TARGET_FEATURES="64bit neon"
|
|
||||||
;;
|
|
||||||
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 neon"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Bootloader to use (syslinux / u-boot / bcm2835-bootloader)
|
|
||||||
BOOTLOADER="u-boot"
|
|
||||||
|
|
||||||
# u-boot version to use (default)
|
|
||||||
UBOOT_VERSION="vendor"
|
|
||||||
|
|
||||||
# Configuration for u-boot
|
|
||||||
UBOOT_CONFIG="odroidc2_defconfig"
|
|
||||||
|
|
||||||
# Target Configfile for u-boot
|
|
||||||
UBOOT_CONFIGFILE="boot.ini"
|
|
||||||
|
|
||||||
# Kernel target for u-boot (default 'uImage' if BOOTLOADER=u-boot) (uImage / zImage)
|
|
||||||
KERNEL_TARGET="Image"
|
|
||||||
|
|
||||||
# Kernel extra targets to build
|
|
||||||
KERNEL_UBOOT_EXTRA_TARGET=""
|
|
||||||
|
|
||||||
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
|
|
||||||
KERNEL_MAKE_EXTRACMD="dtbs"
|
|
||||||
|
|
||||||
# Kernel to use. values can be:
|
|
||||||
# default: default mainline kernel
|
|
||||||
LINUX="amlogic-3.14"
|
|
||||||
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# setup build defaults
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# Project CFLAGS
|
|
||||||
PROJECT_CFLAGS=""
|
|
||||||
|
|
||||||
# SquashFS compression method (gzip / lzo / xz)
|
|
||||||
SQUASHFS_COMPRESSION="lzo"
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# setup project defaults
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
# build and install ALSA Audio support (yes / no)
|
|
||||||
ALSA_SUPPORT="yes"
|
|
||||||
|
|
||||||
# OpenGL(X) implementation to use (no / Mesa)
|
|
||||||
OPENGL="no"
|
|
||||||
|
|
||||||
# OpenGL-ES implementation to use (no / bcm2835-driver / gpu-viv-bin-mx6q / opengl-meson)
|
|
||||||
OPENGLES="opengl-meson"
|
|
||||||
|
|
||||||
# Amlogic Meson SOC family (8 / 6 / gxbb)
|
|
||||||
MESON_FAMILY="gxbb"
|
|
||||||
|
|
||||||
# include uvesafb support (yes / no)
|
|
||||||
UVESAFB_SUPPORT="no"
|
|
||||||
|
|
||||||
# Displayserver to use (x11 / no)
|
|
||||||
DISPLAYSERVER="no"
|
|
||||||
|
|
||||||
# Windowmanager to use (ratpoison / fluxbox / none)
|
|
||||||
WINDOWMANAGER="none"
|
|
||||||
|
|
||||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
|
|
||||||
# Space separated list is supported,
|
|
||||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
|
|
||||||
GRAPHIC_DRIVERS=""
|
|
||||||
|
|
||||||
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap / libamcodec)
|
|
||||||
KODIPLAYER_DRIVER="libamcodec"
|
|
||||||
|
|
||||||
# Modules to install in initramfs for early boot
|
|
||||||
INITRAMFS_MODULES="font softcursor bitblit fbcon"
|
|
||||||
|
|
||||||
# additional drivers to install:
|
|
||||||
# for a list of additinoal drivers see packages/linux-drivers
|
|
||||||
# Space separated list is supported,
|
|
||||||
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
|
||||||
ADDITIONAL_DRIVERS="gpu-aml RTL8192CU RTL8192DU RTL8188EU RTL8192EU RTL8812AU"
|
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
|
||||||
# Space separated list is supported,
|
|
||||||
# e.g. FIRMWARE="dvb-firmware misc-firmware wlan-firmware"
|
|
||||||
FIRMWARE="misc-firmware wlan-firmware dvb-firmware"
|
|
||||||
|
|
||||||
# build and install ATV IR remote support (yes / no)
|
|
||||||
ATVCLIENT_SUPPORT="no"
|
|
||||||
|
|
||||||
# Amlogic IR remote support (yes / no)
|
|
||||||
AMREMOTE_SUPPORT="no"
|
|
||||||
|
|
||||||
# build with installer (yes / no)
|
|
||||||
INSTALLER_SUPPORT="no"
|
|
||||||
|
|
||||||
# kernel image name
|
|
||||||
KERNEL_NAME="KERNEL"
|
|
Loading…
x
Reference in New Issue
Block a user