Discussion:
[meta-arago] [meta-processor-sdk 0/5] Add pru-adc demo
Hongmei Gou
2018-09-06 21:04:06 UTC
Permalink
This is a TI design to showcase multi-channel ADC via PRU.

The major additions/changes include:
1. Modify dependent pru-icss to install header files and lib required
2. Add recipe for pru-adc itself
3. Add device tree file
4. Add support of building pru-adc demo from top-level makefile
5. Add pru-adc to packagegroups

Hongmei Gou (5):
pru-icss: install header files and rpmsg_lib
pru-adc: add multiple-channel adc demo with pru
linux-processor-sdk-4.14.inc: add device tree file for pru-adc demo
ti-tisdk-makefile: add pru-adc demo and the required dtb
packagegroup-arago-tisdk-addons*: add pru-adc

recipes-apps/pru-adc/pru-adc_git.bb | 49 ++++++++++++++++
recipes-bsp/pru/pru-icss_git.bbappend | 8 +++
...ckagegroup-arago-tisdk-addons-sdk-host.bbappend | 4 +-
.../packagegroup-arago-tisdk-addons.bbappend | 4 +-
.../linux/files/ti33x/am335x-pru-adc.dtsi | 68 ++++++++++++++++++++++
recipes-kernel/linux/linux-processor-sdk-4.14.inc | 18 +++++-
.../ti-tisdk-makefile/Makefile_pru-adc | 34 +++++++++++
.../ti-tisdk-makefile_1.0.bbappend | 6 +-
8 files changed, 185 insertions(+), 6 deletions(-)
create mode 100644 recipes-apps/pru-adc/pru-adc_git.bb
create mode 100644 recipes-bsp/pru/pru-icss_git.bbappend
create mode 100644 recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi
create mode 100644 recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-adc
--
1.9.1
Hongmei Gou
2018-09-06 21:04:07 UTC
Permalink
Signed-off-by: Hongmei Gou <***@ti.com>
---
recipes-bsp/pru/pru-icss_git.bbappend | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 recipes-bsp/pru/pru-icss_git.bbappend

diff --git a/recipes-bsp/pru/pru-icss_git.bbappend b/recipes-bsp/pru/pru-icss_git.bbappend
new file mode 100644
index 0000000..cb56e38
--- /dev/null
+++ b/recipes-bsp/pru/pru-icss_git.bbappend
@@ -0,0 +1,8 @@
+PR_append = ".tisdk0"
+
+do_install_append() {
+ install -d ${D}${includedir}
+ cp -r ${S}/include/* ${D}${includedir}
+ install -d ${D}${libdir}
+ cp ${S}/lib/rpmsg_lib.lib ${D}${libdir}
+}
--
1.9.1
Jacob Stiffler
2018-09-07 13:19:01 UTC
Permalink
I am not sure if we should upstream this, add it to meta-processor-sdk,
or leave pru-icss untouched and adjust "PRU_SSP" in the next patch to
point to the original install location.

- Jake
Post by Hongmei Gou
---
recipes-bsp/pru/pru-icss_git.bbappend | 8 ++++++++
1 file changed, 8 insertions(+)
create mode 100644 recipes-bsp/pru/pru-icss_git.bbappend
diff --git a/recipes-bsp/pru/pru-icss_git.bbappend b/recipes-bsp/pru/pru-icss_git.bbappend
new file mode 100644
index 0000000..cb56e38
--- /dev/null
+++ b/recipes-bsp/pru/pru-icss_git.bbappend
@@ -0,0 +1,8 @@
+PR_append = ".tisdk0"
+
+do_install_append() {
+ install -d ${D}${includedir}
+ cp -r ${S}/include/* ${D}${includedir}
+ install -d ${D}${libdir}
+ cp ${S}/lib/rpmsg_lib.lib ${D}${libdir}
+}
Hongmei Gou
2018-09-06 21:04:08 UTC
Permalink
Signed-off-by: Hongmei Gou <***@ti.com>
---
recipes-apps/pru-adc/pru-adc_git.bb | 49 +++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
create mode 100644 recipes-apps/pru-adc/pru-adc_git.bb

diff --git a/recipes-apps/pru-adc/pru-adc_git.bb b/recipes-apps/pru-adc/pru-adc_git.bb
new file mode 100644
index 0000000..5525e48
--- /dev/null
+++ b/recipes-apps/pru-adc/pru-adc_git.bb
@@ -0,0 +1,49 @@
+UMMARY = "PRU Multi-channel ADC Interface Reference Design"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://PRUMulti-channelADCInterfaceReferen_manifest.html;md5=1302c86d3951a0d1254e1805158ccf2e"
+
+require recipes-ti/includes/ti-paths.inc
+
+inherit update-alternatives
+
+COMPATIBLE_MACHINE = "am335x-evm"
+
+PV = "1.0"
+PR = "r0"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/apps/tida01555.git;protocol=git;branch=${BRANCH}"
+
+SRCREV = "7cbdf20ed44eb6486137e3866e43eec39eb7a468"
+
+S = "${WORKDIR}/git"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+DEPENDS = "ti-cgt-pru-native pru-icss ncurses"
+RDEPENDS_${PN} += "bash"
+
+EXTRA_OEMAKE += "PRU_CGT="${TI_CGT_PRU_INSTALL_DIR}" PRU_SSP="${STAGING_DIR_TARGET}/usr""
+
+do_install() {
+# install firmware
+ install -d ${D}${base_libdir}/firmware/pru
+ install -m 0644 PRU_ADS8688_Controller/gen/PRU_ADS8688_Controller.out ${D}${base_libdir}/firmware/pru
+ install -m 0644 PRU_ADS8688_Interface/gen/PRU_ADS8688_Interface.out ${D}${base_libdir}/firmware/pru
+# install binary and scripts
+ install -d ${D}${bindir}
+ install -m 755 ARM_User_Space_App/gen/ARM_User_Space_App.out ${D}${bindir}
+ install -m 755 run.sh ${D}${bindir}/run-pru-adc.sh
+}
+
+FILES_${PN} += "${base_libdir}/firmware"
+
+ALTERNATIVE_TARGET_pru-adc[am335x-pru0-fw] = "/lib/firmware/pru/PRU_ADS8688_Controller.out"
+ALTERNATIVE_TARGET_pru-adc[am335x-pru1-fw] = "/lib/firmware/pru/PRU_ADS8688_Interface.out"
+
+ALTERNATIVE_PRIORITY_pru-adc = "20"
+
+CREATE_SRCIPK = "1"
+SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}"
+
+INSANE_SKIP_${PN} = "arch ldflags"
--
1.9.1
Hongmei Gou
2018-09-06 21:04:10 UTC
Permalink
Signed-off-by: Hongmei Gou <***@ti.com>
---
.../ti-tisdk-makefile/Makefile_pru-adc | 34 ++++++++++++++++++++++
.../ti-tisdk-makefile_1.0.bbappend | 6 ++--
2 files changed, 38 insertions(+), 2 deletions(-)
create mode 100644 recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-adc

diff --git a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-adc b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-adc
new file mode 100644
index 0000000..4723879
--- /dev/null
+++ b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_pru-adc
@@ -0,0 +1,34 @@
+
+# PRU-ADC build targets
+pru-adc:
+ @echo =================================
+ @echo Building PRU-ADC
+ @echo =================================
+ @cd example-applications; cd `find . -name "*pru-adc*"`; \
+ make PRU_CGT=$(LINUX_DEVKIT_PATH)/sysroots/__SDKMACHINE__-arago-linux/usr/share/ti/cgt-pru PRU_SSP=$(SDK_PATH_TARGET)/usr
+
+pru-adc_clean:
+ @echo =================================
+ @echo Cleaning PRU-ADC
+ @echo =================================
+ @cd example-applications; cd `find . -name "*pru-adc*"`; \
+ make clean
+
+pru-adc_install:
+ @echo ===================================================
+ @echo Installing PRU-ADC
+ @echo ===================================================
+ @if [ ! -d $(DESTDIR) ] ; then \
+ echo "The extracted target filesystem directory doesn't exist."; \
+ echo "Please run setup.sh in the SDK's root directory and then try again."; \
+ exit 1; \
+ fi
+ @install -d $(DESTDIR)/lib/firmware/pru;
+ @install -d $(DESTDIR)/usr/bin;
+ @cd example-applications; cd `find . -name "*pru-adc*"`; \
+ install -m 0644 ./PRU_ADS8688_Controller/gen/PRU_ADS8688_Controller.out \
+ $(DESTDIR)/lib/firmware/pru; \
+ install -m 0644 ./PRU_ADS8688_Interface/gen/PRU_ADS8688_Interface.out \
+ $(DESTDIR)/lib/firmware/pru; \
+ install -m 755 ./ARM_User_Space_App/gen/ARM_User_Space_App.out $(DESTDIR)/usr/bin
+
diff --git a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
index 76f4aff..80394a1 100644
--- a/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
+++ b/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bbappend
@@ -1,4 +1,4 @@
-PR_append = ".tisdk55"
+PR_append = ".tisdk56"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

@@ -10,6 +10,7 @@ SRC_URI_append = "\
file://Makefile_protection-relays-hmi \
file://Makefile_tiovx-app-host \
file://Makefile_tidl-examples \
+ file://Makefile_pru-adc \
"

SRC_URI_append_omap-a15 = " file://Makefile_big-data-ipc-demo"
@@ -42,6 +43,7 @@ MAKEFILES_append_ti43x = " evse-hmi"

MAKEFILES_append_ti33x = " evse-hmi \
protection-relays-hmi \
+ pru-adc \
"

MAKEFILES_append_am57xx-evm = " jailhouse \
@@ -60,7 +62,7 @@ MAKEFILES_remove_keystone = "hplib-mod ipsecmgr-mod"

PRU_ICSS_INSTALL_TARGET_k2g = "pru-icss_install_k2g"

-KERNEL_DEVICETREE_append_ti33x = " am335x-boneblack-iot-cape.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}"
+KERNEL_DEVICETREE_append_ti33x = " am335x-boneblack-iot-cape.dtb am335x-boneblack-pru-adc.dtb ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am335x-icev2-pru-excl-uio.dtb', '', d)}"
KERNEL_DEVICETREE_append_ti43x = " ${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', 'am437x-idk-pru-excl-uio.dtb', '', d)}"
KERNEL_DEVICETREE_append_am57xx-evm = "${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', ' am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"
KERNEL_DEVICETREE_append_k2g-evm = "${@base_conditional('ENABLE_TI_UIO_DEVICES', '1', ' keystone-k2g-ice-pru-excl-uio.dtb', '', d)}"
--
1.9.1
Hongmei Gou
2018-09-06 21:04:09 UTC
Permalink
Signed-off-by: Hongmei Gou <***@ti.com>
---
.../linux/files/ti33x/am335x-pru-adc.dtsi | 68 ++++++++++++++++++++++
recipes-kernel/linux/linux-processor-sdk-4.14.inc | 18 +++++-
2 files changed, 85 insertions(+), 1 deletion(-)
create mode 100644 recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi

diff --git a/recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi b/recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi
new file mode 100644
index 0000000..b50c106
--- /dev/null
+++ b/recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi
@@ -0,0 +1,68 @@
+&am33xx_pinmux {
+ pru_adc_bone_pins: pru_adc_bone_pins {
+ pinctrl-single,pins = <
+ 0x0a0 0x2e /* MISO_1, lcd_data0, MUX_MODE6 | INPUT, P8.45, PRU1[0] GPI/GPO */
+ 0x0a4 0x2e /* MISO_2, lcd_data1, MUX_MODE6 | INPUT, P8.46, PRU1[1] GPI/GPO */
+ 0x0a8 0x2e /* MISO_3, lcd_data2, MUX_MODE6 | INPUT, P8.43, PRU1[2] GPI/GPO */
+ 0x0ac 0x2e /* MISO_4, lcd_data3, MUX_MODE6 | INPUT, P8.44, PRU1[3] GPI/GPO */
+ 0x0b0 0x2e /* MISO_5, lcd_data4, MUX_MODE6 | INPUT, P8.41, PRU1[4] GPI/GPO */
+ 0x0b4 0x2e /* MISO_6, lcd_data5, MUX_MODE6 | INPUT, P8.42, PRU1[5] GPI/GPO */
+ 0x0b8 0x05 /* CS_12, lcd_data6, MUX_MODE5 | OUTPUT, P8.39, PRU1[6] GPI/GPO */
+ 0x0bc 0x05 /* MOSI_1, lcd_data7, MUX_MODE5 | OUTPUT, P8.40, PRU1[7] GPI/GPO */
+ 0x0e0 0x05 /* MOSI_2, lcd_vsync, MUX_MODE5 | OUTPUT, P8.27, PRU1[8] GPI/GPO */
+ 0x0e4 0x05 /* MOSI_3, lcd_hsync, MUX_MODE5 | OUTPUT, P8.29, PRU1[9] GPI/GPO */
+ 0x0e8 0x05 /* MOSI_4, lcd_pclk, MUX_MODE5 | OUTPUT, P8.28, PRU1[10] GPI/GPO */
+ 0x0ec 0x05 /* MOSI_5, lcd_ac_bias_en, MUX_MODE5 | OUTPUT, P8.30, PRU1[11] GPI/GPO */
+ 0x080 0x05 /* MOSI_6, gpmc_csn1, MUX_MODE5 | OUTPUT, P8.21, PRU1[12] GPI/GPO */
+ 0x084 0x05 /* SCLK_OUT, gpmc_csn2, MUX_MODE5 | OUTPUT, P8.20, PRU1[13] GPI/GPO */
+ 0x038 0x07 /* OE, GPIO1_14, MUX_MODE7 | OUTPUT, P8.16, GPIO1_14 GPIO */
+ >;
+ };
+};
+
+&pruss {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pru_adc_bone_pins>;
+};
+
+/* Reserve 256kB DDR memory for the ping/pong buffers */
+/{
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ pruadc_reserved: ***@0x9ffc0000 {
+ reg = <0x9ffc0000 0x00040000>;
+ no-map;
+ status = "okay";
+ };
+ };
+
+ hdmi {
+ status = "disabled";
+ };
+};
+
+/* Disable the following nodes due to pin mux conflicts with PRU signals needed */
+&tda19988 {
+ status = "disabled";
+};
+
+&lcdc {
+ status = "disabled";
+};
+
+&mcasp0 {
+ status = "disabled";
+};
+
+&mmc2 {
+ status = "disabled";
+};
+
+/{
+ sound {
+ status = "disabled";
+ };
+};
diff --git a/recipes-kernel/linux/linux-processor-sdk-4.14.inc b/recipes-kernel/linux/linux-processor-sdk-4.14.inc
index de8950b..2409eac 100644
--- a/recipes-kernel/linux/linux-processor-sdk-4.14.inc
+++ b/recipes-kernel/linux/linux-processor-sdk-4.14.inc
@@ -1,4 +1,4 @@
-PR_append = ".tisdk0"
+PR_append = ".tisdk1"

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.14:${THISDIR}/files:"

@@ -6,6 +6,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.14:${THISDIR}/files:"

SRC_URI_append = " file://jailhouse.cfg"

+SRC_URI_append_ti33x = " file://am335x-pru-adc.dtsi"
+
KERNEL_CONFIG_FRAGMENTS_append_am57xx-evm = " ${WORKDIR}/jailhouse.cfg"

AM57XX_KERNEL_DEVICETREE = " \
@@ -20,6 +22,20 @@ AM57XX_KERNEL_DEVICETREE = " \
am574x-idk-pps.dtb \
"

+do_setup_adc() {
+:
+}
+
+do_setup_adc_ti33x() {
+ dts="am335x-boneblack-pru-adc.dts"
+ dtsi="am335x-pru-adc.dtsi"
+ cp ${S}/arch/arm/boot/dts/am335x-boneblack.dts ${S}/arch/arm/boot/dts/$dts
+ cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
+ echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
+}
+
+do_patch[postfuncs] += "do_setup_adc"
+
KERNEL_DEVICETREE_append_am57xx-evm = " ${AM57XX_KERNEL_DEVICETREE}"
KERNEL_DEVICETREE_append_am57xx-hs-evm = " ${AM57XX_KERNEL_DEVICETREE}"
--
1.9.1
Jacob Stiffler
2018-09-07 13:21:34 UTC
Permalink
Post by Hongmei Gou
---
.../linux/files/ti33x/am335x-pru-adc.dtsi | 68 ++++++++++++++++++++++
recipes-kernel/linux/linux-processor-sdk-4.14.inc | 18 +++++-
2 files changed, 85 insertions(+), 1 deletion(-)
create mode 100644 recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi
diff --git a/recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi b/recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi
new file mode 100644
index 0000000..b50c106
--- /dev/null
+++ b/recipes-kernel/linux/files/ti33x/am335x-pru-adc.dtsi
@@ -0,0 +1,68 @@
+&am33xx_pinmux {
+ pru_adc_bone_pins: pru_adc_bone_pins {
+ pinctrl-single,pins = <
+ 0x0a0 0x2e /* MISO_1, lcd_data0, MUX_MODE6 | INPUT, P8.45, PRU1[0] GPI/GPO */
+ 0x0a4 0x2e /* MISO_2, lcd_data1, MUX_MODE6 | INPUT, P8.46, PRU1[1] GPI/GPO */
+ 0x0a8 0x2e /* MISO_3, lcd_data2, MUX_MODE6 | INPUT, P8.43, PRU1[2] GPI/GPO */
+ 0x0ac 0x2e /* MISO_4, lcd_data3, MUX_MODE6 | INPUT, P8.44, PRU1[3] GPI/GPO */
+ 0x0b0 0x2e /* MISO_5, lcd_data4, MUX_MODE6 | INPUT, P8.41, PRU1[4] GPI/GPO */
+ 0x0b4 0x2e /* MISO_6, lcd_data5, MUX_MODE6 | INPUT, P8.42, PRU1[5] GPI/GPO */
+ 0x0b8 0x05 /* CS_12, lcd_data6, MUX_MODE5 | OUTPUT, P8.39, PRU1[6] GPI/GPO */
+ 0x0bc 0x05 /* MOSI_1, lcd_data7, MUX_MODE5 | OUTPUT, P8.40, PRU1[7] GPI/GPO */
+ 0x0e0 0x05 /* MOSI_2, lcd_vsync, MUX_MODE5 | OUTPUT, P8.27, PRU1[8] GPI/GPO */
+ 0x0e4 0x05 /* MOSI_3, lcd_hsync, MUX_MODE5 | OUTPUT, P8.29, PRU1[9] GPI/GPO */
+ 0x0e8 0x05 /* MOSI_4, lcd_pclk, MUX_MODE5 | OUTPUT, P8.28, PRU1[10] GPI/GPO */
+ 0x0ec 0x05 /* MOSI_5, lcd_ac_bias_en, MUX_MODE5 | OUTPUT, P8.30, PRU1[11] GPI/GPO */
+ 0x080 0x05 /* MOSI_6, gpmc_csn1, MUX_MODE5 | OUTPUT, P8.21, PRU1[12] GPI/GPO */
+ 0x084 0x05 /* SCLK_OUT, gpmc_csn2, MUX_MODE5 | OUTPUT, P8.20, PRU1[13] GPI/GPO */
+ 0x038 0x07 /* OE, GPIO1_14, MUX_MODE7 | OUTPUT, P8.16, GPIO1_14 GPIO */
+ >;
+ };
+};
+
+&pruss {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pru_adc_bone_pins>;
+};
+
+/* Reserve 256kB DDR memory for the ping/pong buffers */
+/{
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ reg = <0x9ffc0000 0x00040000>;
+ no-map;
+ status = "okay";
+ };
+ };
+
+ hdmi {
+ status = "disabled";
+ };
+};
+
+/* Disable the following nodes due to pin mux conflicts with PRU signals needed */
+&tda19988 {
+ status = "disabled";
+};
+
+&lcdc {
+ status = "disabled";
+};
+
+&mcasp0 {
+ status = "disabled";
+};
+
+&mmc2 {
+ status = "disabled";
+};
+
+/{
+ sound {
+ status = "disabled";
+ };
+};
diff --git a/recipes-kernel/linux/linux-processor-sdk-4.14.inc b/recipes-kernel/linux/linux-processor-sdk-4.14.inc
index de8950b..2409eac 100644
--- a/recipes-kernel/linux/linux-processor-sdk-4.14.inc
+++ b/recipes-kernel/linux/linux-processor-sdk-4.14.inc
@@ -1,4 +1,4 @@
-PR_append = ".tisdk0"
+PR_append = ".tisdk1"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.14:${THISDIR}/files:"
@@ -6,6 +6,8 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.14:${THISDIR}/files:"
SRC_URI_append = " file://jailhouse.cfg"
+SRC_URI_append_ti33x = " file://am335x-pru-adc.dtsi"
+
KERNEL_CONFIG_FRAGMENTS_append_am57xx-evm = " ${WORKDIR}/jailhouse.cfg"
AM57XX_KERNEL_DEVICETREE = " \
@@ -20,6 +22,20 @@ AM57XX_KERNEL_DEVICETREE = " \
am574x-idk-pps.dtb \
"
+do_setup_adc() {
+}
+
+do_setup_adc_ti33x() {
+ dts="am335x-boneblack-pru-adc.dts"
+ dtsi="am335x-pru-adc.dtsi"
+ cp ${S}/arch/arm/boot/dts/am335x-boneblack.dts ${S}/arch/arm/boot/dts/$dts
+ cp ${WORKDIR}/${dtsi} ${S}/arch/arm/boot/dts/
+ echo "#include \"${dtsi}\"" >> ${S}/arch/arm/boot/dts/$dts
+}
+
+do_patch[postfuncs] += "do_setup_adc"
+
You will also need to add "am335x-boneblack-pru-adc.dtb" to
KERNEL_DEVICETREE so that it is built and provided in the SDK's prebuilt
images.
Post by Hongmei Gou
KERNEL_DEVICETREE_append_am57xx-evm = " ${AM57XX_KERNEL_DEVICETREE}"
KERNEL_DEVICETREE_append_am57xx-hs-evm = " ${AM57XX_KERNEL_DEVICETREE}"
Hongmei Gou
2018-09-06 21:04:11 UTC
Permalink
Signed-off-by: Hongmei Gou <***@ti.com>
---
.../packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend | 4 +++-
recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
index cc49a0c..b490cb7 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bbappend
@@ -1,4 +1,4 @@
-PR_append = ".tisdk10"
+PR_append = ".tisdk11"

EXTRA_LIBS_append_am57xx-evm = " \
jailhouse-src \
@@ -15,3 +15,5 @@ UTILS_append_k2g = " \
EXTRA_LIBS_append_dra7xx = " \
tiovx-app-host-src \
"
+
+UTILS_append_ti33x = " pru-adc-src"
diff --git a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
index fd6177c..7114190 100644
--- a/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
+++ b/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bbappend
@@ -1,4 +1,4 @@
-PR_append = "-tisdk48"
+PR_append = "-tisdk49"

EXTRA_PACKAGES_append_ti33x = " opencv"
EXTRA_PACKAGES_append_ti43x = " opencv"
@@ -7,7 +7,7 @@ EXTRA_PACKAGES_append_keystone = " opencv"
EXTRA_PACKAGES_remove_k2hk-hs-evm = "opencv"


-EXTRA_PACKAGES_append_am335x-evm = " pruss-lld-apps"
+EXTRA_PACKAGES_append_am335x-evm = " pruss-lld-apps pru-adc"
EXTRA_PACKAGES_append_am437x-evm = " pruss-lld-apps"
EXTRA_PACKAGES_append_k2g-evm = " pruss-lld-apps"
EXTRA_PACKAGES_append_am57xx-evm = " jailhouse-examples \
--
1.9.1
Loading...