From 5cac19acb0946572ed9c0ab105cfa04ed1ac0d86 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Apr 2020 15:26:24 -0700 Subject: [PATCH 1/2] override beaglebone's wic template from meta-ti meta-ti has 3 partition scheme, which currently does not boot since partition2 in that scheme is not a rootfs partition and uboot is confused Signed-off-by: Khem Raj --- conf/distro/yoe.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/yoe.inc b/conf/distro/yoe.inc index 8071ecbcb..ef043e863 100644 --- a/conf/distro/yoe.inc +++ b/conf/distro/yoe.inc @@ -150,6 +150,9 @@ DISABLE_SPLASH = "1" # swupdate initramfs init system SWUPDATE_INIT = "tiny" +# we want to have boot + rootfs ( that can grow ) +WKS_FILE_beaglebone = "sdimage-bootpart.wks" + INHERIT += "blacklist" PNBLACKLIST[build-appliance-image] = "tries to include whole downloads directory in /home/builder/poky :/" PNBLACKLIST[smartrefrigerator] = "Needs porting to QT > 5.6" From 48343d942f6df0ce869fd188dce9ba999eb4526e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 8 Apr 2020 19:57:36 -0700 Subject: [PATCH 2/2] linux-ti-staging: Add bbappend to enable wireguard Signed-off-by: Khem Raj --- conf/layer.conf | 2 ++ .../recipes-kernel/linux/linux-ti-staging/wireguard.cfg | 4 ++++ .../meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend | 5 +++++ 3 files changed, 11 insertions(+) create mode 100644 dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg create mode 100644 dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend diff --git a/conf/layer.conf b/conf/layer.conf index f90fe7da2..1c336ffcf 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -17,6 +17,8 @@ BBFILES_DYNAMIC += " \ qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bb \ meta-96boards:${LAYERDIR}/dynamic-layers/meta-96boards/*/*/*.bbappend \ + meta-ti:${LAYERDIR}/dynamic-layers/meta-ti/*/*/*.bb \ + meta-ti:${LAYERDIR}/dynamic-layers/meta-ti/*/*/*.bbappend \ swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bb \ swupdate:${LAYERDIR}/dynamic-layers/swupdate/*/*/*.bbappend \ webkit:${LAYERDIR}/dynamic-layers/webkit/*/*/*.bb \ diff --git a/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg new file mode 100644 index 000000000..588d7680e --- /dev/null +++ b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging/wireguard.cfg @@ -0,0 +1,4 @@ +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m +CONFIG_NET_UDP_TUNNEL=m +CONFIG_NET_FOU=m +CONFIG_IPV6_FOU=m diff --git a/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend new file mode 100644 index 000000000..51c07726f --- /dev/null +++ b/dynamic-layers/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://wireguard.cfg" + +KERNEL_CONFIG_FRAGMENTS += "${WORKDIR}/wireguard.cfg"