Skip to content
Snippets Groups Projects
Verified Commit ee6fefd3 authored by Moritz Lammerich's avatar Moritz Lammerich
Browse files

fix remaining build errors for bblue

parent 3a55262b
No related branches found
No related tags found
No related merge requests found
Pipeline #192611 failed
......@@ -9,4 +9,4 @@ BBFILE_PATTERN_ost-ros := "^${LAYERDIR}/"
BBFILE_PRIORITY_ost-ros := "5"
LAYERDEPENDS_ost-ros = "core openembedded-layer ost"
LAYERSERIES_COMPAT_ost-ros = "honister"
LAYERSERIES_COMPAT_ost-ros = "kirkstone honister"
......@@ -10,17 +10,17 @@ require conf/machine/beaglebone-yocto.conf
PREFERRED_PROVIDER_virtual/kernel = "linux-stable-rcn-ee"
KERNEL_DEVICETREE_append = " am335x-boneblue.dtb"
KERNEL_DEVICETREE:append = " am335x-boneblue.dtb"
# add bblue dtb to u-boot partition
IMAGE_BOOT_FILES_append = " am335x-boneblue.dtb"
IMAGE_BOOT_FILES:append = " am335x-boneblue.dtb"
IMAGE_FSTYPES += "wic"
COMPATIBLE_MACHINE_bblue = "bblue"
# COMPATIBLE_MACHINE_bblue = "bblue"
# set udhcpc to use wifi adapter (rather than ethernet)
UDHCPC_OPTS = "-i wlan0"
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-modules"
KERNEL_MODULE_AUTOLOAD_append = "g_ether"
KERNEL_MODULE_AUTOLOAD:append = "g_ether"
......@@ -6,7 +6,7 @@ LICENSE="MIT"
LIC_FILES_CHKSUM = "file://../git/LICENSE;md5=a65fcacc5a132253d0b59535e425a992"
SRC_URI = "git://github.com/StrawsonDesign/librobotcontrol;protocol=git;branch=v1.1 \
SRC_URI = "git://github.com/StrawsonDesign/librobotcontrol;protocol=https;branch=v1.1 \
file://librc.patch"
# SRCREV = "V1.0.4"
......@@ -23,7 +23,8 @@ do_compile () {
}
do_install () {
oe_runmake install
oe_runmake install
rm -rf ${D}/var
}
FILES:${PN} = " \
......@@ -31,7 +32,6 @@ FILES:${PN} = " \
/usr/include/ \
/usr/lib/ \
/usr/share/ \
/var/ \
/etc/ \
/lib/ \
"
......
......@@ -8,7 +8,7 @@ CORE_IMAGE_EXTRA_INSTALL:append = " ost-user nano bash libeeros libeeros-dev hto
CORE_IMAGE_EXTRA_INSTALL:append:cb20 = " fpga-loader flink-dev flinklib-dev udhcpc-service"
CORE_IMAGE_EXTRA_INSTALL:append:x86-rt = " wpa-supplicant linux-firmware wpa-supplicant-service udhcpc-service"
CORE_IMAGE_EXTRA_INSTALL:append:bblue = " wpa-supplicant linux-firmware wpa-supplicant-service udhcpc-service librobotcontrol dhcp-server usb-net bbblue-eeros-dev simplemotorcontrol"
CORE_IMAGE_EXTRA_INSTALL:append:bblue = " wpa-supplicant linux-firmware wpa-supplicant-service udhcpc-service librobotcontrol usb-net bbblue-eeros-dev simplemotorcontrol"
DISTRO_FEATURES:append:bblue = " wifi virtualization systemd"
......
inherit kernel
require recipes-kernel/linux/linux-yocto.inc
DEPENDS += "lzop-native"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
# SRC_URI = "git://github.com/RobertCNelson/linux-stable-rcn-ee;protocol=https file://defconfig"
# SRC_URI = "git:///home/ubuntu/yakbuild/linux-stable-rcn-ee
SRC_URI = "https://github.com/RobertCNelson/linux-stable-rcn-ee/archive/4.19.94-ti-rt-r59.tar.gz \
# https://github.com/RobertCNelson/linux-stable-rcn-ee/archive/4.19.94-ti-rt-r59.tar.gz
SRC_URI = "\
git://github.com/RobertCNelson/linux-stable-rcn-ee.git;protocol=https;nobranch=1 \
https://github.com/beagleboard/linux/raw/f2015285e55e70f32a9464d7ae95695cd831e4fb/firmware/am335x-pm-firmware.elf;name=am335x-pm-firmware.elf \
https://github.com/beagleboard/linux/raw/f2015285e55e70f32a9464d7ae95695cd831e4fb/firmware/am335x-bone-scale-data.bin;name=am335x-bone-scale-data.bin \
https://github.com/beagleboard/linux/raw/f2015285e55e70f32a9464d7ae95695cd831e4fb/firmware/am335x-evm-scale-data.bin;name=am335x-evm-scale-data.bin \
https://github.com/beagleboard/linux/raw/f2015285e55e70f32a9464d7ae95695cd831e4fb/firmware/am43x-evm-scale-data.bin;name=am43x-evm-scale-data.bin \
file://defconfig \
file://0001-enable-ADC.patch \
file://0002-enable-PRU.patch \
"
SRC_URI[sha256sum] = "f46286b09f3ec9636973816255a53fd1e865a975b188944d2c936f560c378483"
file://defconfig "
# SRC_URI[sha256sum] = "627ae0a1cfc8b84361ed242b17855cdbb903e7cd6daeb9650695c296f9046bae"
SRC_URI[am335x-pm-firmware.elf.md5sum] = "bf399da2ac3e91bbf2d279fb0487774e"
SRC_URI[am335x-bone-scale-data.bin.md5sum] = "0516d72d4c1ffdf5a175368d9d9f8cb2"
SRC_URI[am335x-evm-scale-data.bin.md5sum] = "b45a5a64f2c67b7eb6508c639a3f2944"
SRC_URI[am43x-evm-scale-data.bin.md5sum] = "8edf24ea17333b0a123f4fbcdd053760"
S = "${WORKDIR}/linux-stable-rcn-ee-4.19.94-ti-rt-r59"
# S = "${WORKDIR}/linux-stable-rcn-ee-4.19.94-ti-rt-r59"
S = "${WORKDIR}/git"
SRCREV = "4.19.94-ti-rt-r59"
LINUX_VERSION ?= "4.19.94"
LINUX_VERSION_EXTENSION:append = "-rcn-ee"
PV = "${LINUX_VERSION}"
PV = "${LINUX_VERSION}+git${SRCPV}"
COMPATIBLE_MACHINE = "bblue"
KERNEL_FEATURES:remove = "cfg/fs/vfat.scc"
do_patch:append () {
cp "${WORKDIR}"/am335x-bone-scale-data.bin firmware/
cp "${WORKDIR}"/am335x-pm-firmware.elf firmware/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment