9 Commits

12 changed files with 58 additions and 7 deletions

View File

@ -4,6 +4,7 @@
# Include the SOM i2S-6UL configuration.
include conf/machine/include/i2s-6ull.inc
MACHINE_FEATURES += "usbgadget usbhost alsa touchscreen"
# U-Boot configurations

View File

@ -4,6 +4,7 @@
# Include the SOM i2S-6UL configuration.
include conf/machine/include/i2s-6ull.inc
MACHINE_FEATURES += "usbgadget usbhost alsa touchscreen"
# U-Boot configurations
UBOOT_CONFIG ??= "nand"

View File

@ -33,7 +33,8 @@ MACHINE_EXTRA_RDEPENDS += " \
EXTRA_IMAGEDEPENDS_append = " gdb-cross-arm "
MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE} ${WIRELESS_MODULE} ${USB_DEVICE_MODULE}"
MACHINE_EXTRA_RRECOMMENDS += "imx-alsa-plugins cryptodev-module"
MACHINE_EXTRA_RRECOMMENDS += "cryptodev-module"
MACHINE_EXTRA_RRECOMMENDS += "${@bb.utils.contains('MACHINE_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
# MACHINE_FEATURES += "wifi bluetooth"

View File

@ -96,7 +96,8 @@ EXTRA_IMAGEDEPENDS = "u-boot"
KERNEL_IMAGETYPE = "uImage"
MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
#MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen"
MACHINE_FEATURES = "vfat rtc"
# Add the ability to specify _imx machines
MACHINEOVERRIDES =. "imx:"

View File

@ -69,4 +69,4 @@ pkg_postinst_${PN}() {
fi
}
COMPATIBLE_MACHINE = "(i2c6ulxbn|i2c6ulxbe)"
COMPATIBLE_MACHINE = "(mx6ul|mx6ull)"

View File

@ -30,4 +30,4 @@ do_deploy_append() {
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(i2c6ulxbn|i2c6ulxbe)"
COMPATIBLE_MACHINE = "(mx6ul|mx6ull)"

View File

@ -11,7 +11,7 @@ inherit module
SRCBRANCH = "master"
SRCREV = "d82bef3fa876be65c26a4b9b6171d7139341f5c7"
GIT_URI = "git:///${HOME}/i2SOM/Exar-XR21V1414-Driver"
GIT_URI = "git://github.com/i2som/Exar-XR21V1414.git"
SRC_URI = " \
${GIT_URI};branch=${SRCBRANCH} \
@ -21,4 +21,4 @@ S = "${WORKDIR}/git"
EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}"
COMPATIBLE_MACHINE = "(i2c6ulxbn|i2c6ulxbe)"
COMPATIBLE_MACHINE = "(mx6ul|mx6ull)"

View File

@ -21,4 +21,4 @@ S = "${WORKDIR}/git"
EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}"
COMPATIBLE_MACHINE = "(i2c6ulxbn|i2c6ulxbe)"
COMPATIBLE_MACHINE = "(mx6ul|mx6ull)"

View File

@ -55,9 +55,15 @@ RDEPENDS_${PN} = "\
phytool \
evtest \
i2c-tools \
ntp \
ntp-utils \
peripherylua \
tzdata \
htop \
"
RRECOMMENDS_${PN} = "\
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS} \
${MACHINE_EXTRA_RRECOMMENDS} \
"
TOOLCHAIN_TARGET_TASK += " peripheryc"

View File

@ -9,6 +9,7 @@ inherit packagegroup
MACHINE_GSTREAMER_1_0_EXTRA_INSTALL ?= ""
RDEPENDS_${PN} = " \
v4l-utils \
gstreamer1.0-meta-audio \
gstreamer1.0-meta-video \
gstreamer1.0-plugins-base-meta \

View File

@ -0,0 +1,19 @@
SUMMARY = "Periphery device operation API"
#SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1bdb3d01ea5c73ae00c8eccb00fa1d6e"
SRCBRANCH = "master"
SRCREV = "64903e4e281a2ffa70f17000514f5eba42c8b02d"
SRC_URI = "git://github.com/vsergeev/c-periphery.git;protocol=git;branch=${SRCBRANCH}"
S = "${WORKDIR}/git"
do_install() {
install -d ${D}${libdir}
install -m 0755 periphery.a ${D}${libdir}
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(mx6ul|mx6ull)"

View File

@ -0,0 +1,21 @@
SUMMARY = "Periphery device operation API for Lua language"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
DEPENDS = "lua"
SRCBRANCH = "master"
SRCREV = "d7df4d759c467edbbe1048a42c7f6d9ae39568aa"
SRC_URI = "gitsm://github.com/vsergeev/lua-periphery.git;protocol=git;branch=${SRCBRANCH}"
S = "${WORKDIR}/git"
do_install() {
install -d ${D}${libdir}
install -m 755 periphery.so ${D}${libdir}
}
FILES_${PN} = "${libdir}/periphery.so"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(mx6ul|mx6ull)"