Commit 3af41e2e authored by Dietmar Muscholik's avatar Dietmar Muscholik

initial version (under heavy construction)

parent 8f5f4146
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*.bb \
${LAYERDIR}/recipes-*/*.bbappend"
BBFILE_PRIORITY = "10"
#@TYPE: Machine
#@NAME: NXP i.MX 8M Mini EVK with LPDDR4
#@SOC: i.MX8MM
#@DESCRIPTION: Machine configuration for NXP i.MX 8M Mini Evaluation Kit with LPDDR4
#@MAINTAINER: Jun Zhu <junzhu@nxp.com>
MACHINEOVERRIDES =. "mx8:mx8m:"
#require include/imx8mm-evk.inc
#require conf/machine/include/imx8mm-evk.inc
require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa53.inc
#PREFERRED_PROVIDER_virtual/kernel = "linux-kuk"
PREFERRED_PROVIDER_virtual/kernel_mx8 = "linux-kuk"
#IMX_DEFAULT_KERNEL = "linux-kuk"
KERNEL_DEVICETREE = "keithkoep/kuk-trizeps8mini-ipant7.dtb"
KERNEL_DEVICETREE += "keithkoep/kuk-trizeps8mini-ipant7_v2.dtb"
KERNEL_DEVICETREE += "keithkoep/kuk-trizeps8mini-pconxs_v2-atm0700l61ct.dtb"
KERNEL_DEVICETREE += "keithkoep/kuk-trizeps8mini-ipant7.dtb"
#PREFERRED_PROVIDER_virtual/bootloader = "u-boot-kuk"
PREFERRED_PROVIDER_virtual/bootloader_mx8 = "u-boot-kuk"
UBOOT_MAKE_TARGET = "all"
#UBOOT_CONFIG_BASENAME = "imx8mm_evk"
#UBOOT_CONFIG[fspi] = "${UBOOT_CONFIG_BASENAME}_fspi_defconfig"
#UBOOT_MACHINE = "trizeps8mini"
UBOOT_CONFIG = "trizeps8mini_defconfig"
#UBOOT_MACHINE = "mx8"
#UBOOT_CONFIG_BASENAME = "trizeps8mini"
#UBOOT_CONFIG ??= "sd"
#UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard"
#UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig"
DDR_FIRMWARE_NAME = " \
lpddr4_pmu_train_1d_imem.bin \
lpddr4_pmu_train_1d_dmem.bin \
lpddr4_pmu_train_2d_imem.bin \
lpddr4_pmu_train_2d_dmem.bin \
"
#IMXBOOT_TARGETS_BASENAME = "flash_evk"
ATF_PLATFORM = "imx8mm"
#ATF_LOAD_ADDR = "0x920000"
PLATFORM = "imx8mm"
DESCRIPTION = "U-Boot for K&K boards."
require recipes-bsp/u-boot/u-boot.inc
#require u-boot-imx-common.inc
#require recipes-bsp/u-boot/u-boot-imx-common.inc
PROVIDES += "u-boot"
SRCBRANCH = "kuk_imx_v2019.04_5.4.3_2.0.0"
SRCPROTO = "ssh"
UBOOT_SRC = "git://git@gitlab.keith-koep.com:30001/imx/uboot-imx.git"
SRC_URI = "${UBOOT_SRC};protocol=${SRCPROTO};branch=${SRCBRANCH}"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
#do_compile_prepend() {
# cp ${S}/configs/${UBOOT_MACHINE}_defconfig ${D}/.config
#}
COMPATIBLE_MACHINE = "(trizeps8mini)"
UBOOT_INITIAL_ENV = ""
#UBOOT_BINARIES = "miniflash"
PACKAGECONFIG_CONFARGS_remove = "use_vaapi=false"
PACKAGECONFIG_CONFARGS_append = "use_vaapi=true "
PACKAGECONFIG_CONFARGS_remove = 'ffmpeg_branding="Chromium"'
PACKAGECONFIG_CONFARGS_append = "proprietary_codecs=true "
PACKAGECONFIG_CONFARGS_append = "kiosk_mode=true "
DEPENDS += "libva"
IMAGE_INSTALL += "man"
IMAGE_INSTALL += "parted"
IMAGE_INSTALL += "chromium-ozone-wayland"
IMAGE_INSTALL += "htop"
SUMMARY = "Linux Kernel provided and supported by Keith & Koep"
DESCRIPTION = "Linux Kernel provided and supported by Keith & Koep, \
based on the Linux Kernel by NXP with costom drivers and device trees."
require recipes-kernel/linux/linux-imx.inc
DEPENDS += "lzop-native bc-native"
SRCBRANCH = "kuk_lf-5.10.y_android"
SRCPROTO = "ssh"
KERNEL_SRC = "git://git@gitlab.keith-koep.com:30001/imx/linux-imx.git"
SRC_URI = "${KERNEL_SRC};protocol=${SRCPROTO};branch=${SRCBRANCH}"
LINUX_VERSION = "5.10.9"
SRCREV = "${AUTOREV}"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
KBUILD_DEFCONFIG = "kuk_defconfig"
#PACKAGECONFIG_CONFARGS_remove = "-Dwith_glx=yes"
#PACKAGECONFIG_CONFARGS_append = "-Dwith_glx=no"
DEPENDS += "virtual/libgl"
\ No newline at end of file
[core]
# i.MX: Disable idle timeout
idle-time=0
#use-g2d=1
[libinput]
touchscreen_calibrator=true
[output]
name=DSI-1
# mode=600x1200@77
# transform=270
#[output]
#name=HDMI-A-2
#mode=off
# WIDTHxHEIGHT Resolution size width and height in pixels
# off Disables the output
# preferred Uses the preferred mode
# current Uses the current crt controller mode
#transform=90
[launcher]
icon=/usr/share/weston/terminal.png
path=/usr/bin/weston-terminal
[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/smoke.png
path=/usr/bin/weston-smoke
# [launcher]
# icon=/usr/share/icons/hicolor/24x24/apps/qt5cinematic.png
# path=/usr/bin/Qt5_CinematicExperience -platform wayland-egl
[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/qt5everywheredemo.png
path=/usr/share/qt5everywheredemo-1.0/QtDemo -platform wayland-egl
[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/simpletouch.png
path=/usr/bin/weston-simple-touch
[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/s09_viv_direct_texture.png
path=/opt/imx-gpu-sdk/GLES2/S08_EnvironmentMappingRefraction/S08_EnvironmentMappingRefraction_Wayland
[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/chromium.png
path=/usr/bin/chromium --enable-gpu --enable-gpu-memory-buffer-video-frames --enable-accelerated-2d-canvas --enable-accelerated-vpx-decode --enable-native-gpu-memory-buffers --enable-zero-copy --gpu-no-context-lost --disable-infobars --disable-session-crashed-bubble --ignore-certificate-errors --ignore-gpu-blacklist --no-sandbox --window-position=0,0 --no-first-run --in-process-gpu
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize
[input-method]
path=/usr/libexec/weston-keyboard
[keyboard]
keymap_layout=de
SRC_URI += "file://weston.ini"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment