diff options
Diffstat (limited to 'meta-ti-extras/recipes-ti')
46 files changed, 133 insertions, 597 deletions
diff --git a/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb index ceefe0d6..22fa67fd 100644 --- a/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb +++ b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-capes.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Userspace setup for beaglebone capes" | 1 | SUMMARY = "Userspace setup for beaglebone capes" |
2 | 2 | ||
3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | 4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" |
@@ -14,13 +14,13 @@ SRC_URI = "file://cape.service \ | |||
14 | 14 | ||
15 | do_install() { | 15 | do_install() { |
16 | install -d ${D}${base_libdir}/systemd/system/ | 16 | install -d ${D}${base_libdir}/systemd/system/ |
17 | install -m 0644 ${WORKDIR}/cape.service ${D}${base_libdir}/systemd/system | 17 | install -m 0644 ${UNPACKDIR}/cape.service ${D}${base_libdir}/systemd/system |
18 | 18 | ||
19 | install -d ${D}${base_libdir}/systemd/system/basic.target.wants | 19 | install -d ${D}${base_libdir}/systemd/system/basic.target.wants |
20 | ln -sf ../cape.service ${D}${base_libdir}/systemd/system/basic.target.wants/ | 20 | ln -sf ../cape.service ${D}${base_libdir}/systemd/system/basic.target.wants/ |
21 | 21 | ||
22 | install -d ${D}${bindir} | 22 | install -d ${D}${bindir} |
23 | install -m 0755 ${WORKDIR}/cape*.sh ${D}${bindir} | 23 | install -m 0755 ${UNPACKDIR}/cape*.sh ${D}${bindir} |
24 | } | 24 | } |
25 | 25 | ||
26 | FILES:${PN} += "${base_libdir}/systemd/system" | 26 | FILES:${PN} += "${base_libdir}/systemd/system" |
diff --git a/meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb index 85ab861d..8ad75f26 100644 --- a/meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb +++ b/meta-ti-extras/recipes-ti/beagleboard/beaglebone-getting-started.bb | |||
@@ -10,8 +10,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6f02761e31334c48f7021fb94c89aaa" | |||
10 | SRCREV = "05bedba192646152b7bc80b0accaea75aef864e5" | 10 | SRCREV = "05bedba192646152b7bc80b0accaea75aef864e5" |
11 | SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git;protocol=https;branch=master" | 11 | SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git;protocol=https;branch=master" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | do_install() { | 13 | do_install() { |
16 | install -d ${D}${datadir}/${PN} | 14 | install -d ${D}${datadir}/${PN} |
17 | cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN} | 15 | cp -R --no-dereference --preserve=mode,links ${S}/* ${D}${datadir}/${PN} |
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb b/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb deleted file mode 100644 index 3ab00ec3..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init.bb +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | DESCRIPTION = "Units to initialize usb gadgets" | ||
2 | |||
3 | PR = "r19" | ||
4 | |||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "(ti33x)" | ||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | SRC_URI = "file://storage-gadget-init.service \ | ||
12 | file://network-gadget-init.service \ | ||
13 | file://udhcpd.service \ | ||
14 | file://udhcpd.conf \ | ||
15 | file://bone-gmass-eject.rules \ | ||
16 | file://udhcpd.rules \ | ||
17 | file://g-storage-reinsert.sh \ | ||
18 | file://g-ether-start-service.sh \ | ||
19 | file://g-ether-load.sh \ | ||
20 | file://update-image-info-on-mmcblk0p1.sh \ | ||
21 | " | ||
22 | |||
23 | do_install() { | ||
24 | install -d ${D}${base_libdir}/systemd/system/basic.target.wants | ||
25 | install -m 0644 ${WORKDIR}/*.service ${D}${base_libdir}/systemd/system | ||
26 | |||
27 | for i in ${WORKDIR}/storage-gadget-init.service ; do | ||
28 | install -m 0644 $i ${D}${base_libdir}/systemd/system | ||
29 | ln -sf ../$(basename $i) ${D}${base_libdir}/systemd/system/basic.target.wants/ | ||
30 | done | ||
31 | |||
32 | install -d ${D}${sysconfdir}/udev/rules.d | ||
33 | install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d | ||
34 | install -m 0644 ${WORKDIR}/*.conf ${D}${sysconfdir} | ||
35 | |||
36 | install -d ${D}${bindir} | ||
37 | install -m 0755 ${WORKDIR}/*.sh ${D}${bindir} | ||
38 | } | ||
39 | |||
40 | PACKAGES =+ "${PN}-storage ${PN}-network ${PN}-udhcpd" | ||
41 | |||
42 | ALLOW_EMPTY:${PN} = "1" | ||
43 | |||
44 | FILES:${PN}-storage = "${base_libdir}/systemd/system/storage-gadget-init.service \ | ||
45 | ${base_libdir}/systemd/system/basic.target.wants/storage-gadget-init.service \ | ||
46 | ${bindir}/g-storage-reinsert.sh \ | ||
47 | ${bindir}/update-image-info-on-mmcblk0p1.sh \ | ||
48 | ${sysconfdir}/udev/rules.d/bone-gmass-eject.rules" | ||
49 | |||
50 | FILES:${PN}-network = "${base_libdir}/systemd/system/network-gadget-init.service \ | ||
51 | ${base_libdir}/systemd/system/basic.target.wants/network-gadget-init.service \ | ||
52 | ${bindir}/g-ether-load.sh \ | ||
53 | ${bindir}/g-ether-start-service.sh \ | ||
54 | ${sysconfdir}/udev/rules.d/udhcpd.rules" | ||
55 | |||
56 | FILES:${PN}-udhcpd = "${base_libdir}/systemd/system/udhcpd.service \ | ||
57 | ${base_libdir}/systemd/system/basic.target.wants/udhcpd.service \ | ||
58 | ${sysconfdir}/udhcpd.conf" | ||
59 | |||
60 | RRECOMMENDS:${PN} = "${PN}-storage ${PN}-network ${PN}-udhcpd" | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules deleted file mode 100644 index ee6f93e2..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/bone-gmass-eject.rules +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | SUBSYSTEM=="block",ACTION=="change",KERNEL=="mmcblk0p1",RUN+="/usr/bin/g-ether-start-service.sh" | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-load.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-load.sh deleted file mode 100755 index f9400649..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-load.sh +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | function get_devmem() | ||
4 | { | ||
5 | /usr/bin/devmem2 $1 | grep ": " | cut -d ":" -f 2|cut -d "x" -f 2 | ||
6 | } | ||
7 | |||
8 | function hex_to_mac_addr() | ||
9 | { | ||
10 | addr=$1 | ||
11 | n=0 | ||
12 | mac_addr=$(echo ${addr} | while read -r -n2 c; do | ||
13 | if [ ! -z "$c" ]; then | ||
14 | if [ $n -ne 0 ] ; then | ||
15 | echo -n ":${c}" | ||
16 | else | ||
17 | echo -n "${c}" | ||
18 | fi | ||
19 | fi | ||
20 | n=$(($n+1)) | ||
21 | done) | ||
22 | echo ${mac_addr} | ||
23 | } | ||
24 | |||
25 | function reverse_bytes() | ||
26 | { | ||
27 | addr=$1 | ||
28 | New_addr=$(echo ${addr} | while read -r -n2 c; do | ||
29 | if [ ! -z "$c" ]; then | ||
30 | New_addr=${c}${New_addr} | ||
31 | else echo | ||
32 | echo ${New_addr} | ||
33 | fi | ||
34 | done) | ||
35 | echo ${New_addr} | ||
36 | } | ||
37 | |||
38 | DEVMEM_ADDR_LO=$(get_devmem 0x44e10638|bc) | ||
39 | DEVMEM_ADDR_LO=$(reverse_bytes ${DEVMEM_ADDR_LO}) | ||
40 | |||
41 | DEVMEM_ADDR_HI=$(get_devmem 0x44e1063C) | ||
42 | DEVMEM_ADDR_HI=$(reverse_bytes ${DEVMEM_ADDR_HI}) | ||
43 | |||
44 | DEV_ADDR=$(hex_to_mac_addr "${DEVMEM_ADDR_HI}${DEVMEM_ADDR_LO}") | ||
45 | |||
46 | modprobe g_ether host_addr=${DEV_ADDR} | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh deleted file mode 100755 index 6e73b155..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-ether-start-service.sh +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | if [ -a /sys/devices/platform/omap/musb-ti81xx/musb-hdrc.0/gadget/lun0/file ] | ||
3 | then | ||
4 | x=$(cat /sys/devices/platform/omap/musb-ti81xx/musb-hdrc.0/gadget/lun0/file) | ||
5 | if [ -z "$x" ] | ||
6 | then | ||
7 | /bin/systemctl stop storage-gadget-init.service | ||
8 | /bin/systemctl start network-gadget-init.service | ||
9 | fi | ||
10 | fi | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh deleted file mode 100755 index d358640a..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/g-storage-reinsert.sh +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | /bin/systemctl stop storage-gadget-init.service | ||
3 | /bin/systemctl stop network-gadget-init.service | ||
4 | /bin/systemctl start storage-gadget-init.service | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/network-gadget-init.service b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/network-gadget-init.service deleted file mode 100644 index 0ee29147..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/network-gadget-init.service +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=Start USB Ethernet gadget | ||
3 | Conflicts=storage-gadget-init.service | ||
4 | |||
5 | [Service] | ||
6 | RemainAfterExit=yes | ||
7 | ExecStart=/usr/bin/g-ether-load.sh | ||
8 | ExecStop=/sbin/rmmod g_ether | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=gether.target | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service deleted file mode 100644 index 9a8513e8..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=Start usb mass storage gadget | ||
3 | After=dev-mmcblk0p1.device | ||
4 | |||
5 | [Service] | ||
6 | RemainAfterExit=yes | ||
7 | ExecStart=/sbin/modprobe g_mass_storage file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1 | ||
8 | ExecStop=/sbin/rmmod g_mass_storage | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=basic.target | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.conf b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.conf deleted file mode 100644 index 3bcf00f0..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.conf +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | start 192.168.7.1 | ||
2 | end 192.168.7.1 | ||
3 | interface usb0 | ||
4 | max_leases 1 | ||
5 | option subnet 255.255.255.252 | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.rules b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.rules deleted file mode 100644 index db65f9ac..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.rules +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | SUBSYSTEM=="net",ACTION=="add",KERNEL=="usb0",RUN+="/sbin/ifconfig usb0 192.168.7.2 netmask 255.255.255.252",RUN+="/bin/systemctl start udhcpd.service" | ||
2 | SUBSYSTEM=="net",ACTION=="remove",KERNEL=="usb0",RUN+="/bin/systemctl stop udhcpd.service" | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service deleted file mode 100644 index 1f4ac688..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | [Unit] | ||
2 | Description=DHCP server for USB0 network gadget | ||
3 | After=dev-usb0.device | ||
4 | Conflicts=storage-gadget-init.service | ||
5 | |||
6 | [Service] | ||
7 | ExecStart=/usr/sbin/udhcpd -f -S /etc/udhcpd.conf | ||
8 | ExecStop=/bin/kill -TERM $MAINPID | ||
9 | KillSignal=SIGINT | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=gether.target | ||
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh deleted file mode 100755 index a4daf734..00000000 --- a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/update-image-info-on-mmcblk0p1.sh +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | mount /dev/mmcblk0p1 /mnt | ||
3 | echo "Image info snapshot" > /mnt/info.txt | ||
4 | |||
5 | echo >> /mnt/info.txt | ||
6 | echo "/etc/angstrom-version:" >> /mnt/info.txt | ||
7 | cat /etc/angstrom-version >> /mnt/info.txt | ||
8 | |||
9 | echo >> /mnt/info.txt | ||
10 | echo "/proc/cpuinfo:" >> /mnt/info.txt | ||
11 | cat /proc/cpuinfo >> /mnt/info.txt | ||
12 | |||
13 | echo >> /mnt/info.txt | ||
14 | echo "uname -a:" >> /mnt/info.txt | ||
15 | uname -a >> /mnt/info.txt | ||
16 | |||
17 | echo >> /mnt/info.txt | ||
18 | echo "/proc/cmdline:" >> /mnt/info.txt | ||
19 | cat /proc/cmdline >> /mnt/info.txt | ||
20 | |||
21 | echo >> /mnt/info.txt | ||
22 | echo "ifconfig:" >> /mnt/info.txt | ||
23 | ifconfig >> /mnt/info.txt | ||
24 | |||
25 | echo >> /mnt/info.txt | ||
26 | echo "/etc/angstrom-build-info:" >> /mnt/info.txt | ||
27 | cat /etc/angstrom-build-info >> /mnt/info.txt | ||
28 | |||
29 | echo >> /mnt/info.txt | ||
30 | echo "/etc/image-version-info:" >> /mnt/info.txt | ||
31 | cat /etc/image-version-info >> /mnt/info.txt | ||
32 | |||
33 | echo >> /mnt/info.txt | ||
34 | echo "opkg list-installed:" >> /mnt/info.txt | ||
35 | opkg list-installed >> /mnt/info.txt | ||
36 | |||
37 | umount /mnt | ||
diff --git a/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc b/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc index f31decec..edcea538 100644 --- a/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc +++ b/meta-ti-extras/recipes-ti/bios/ti-sysbios.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "TI SYS/BIOS v6 Kernel" | 1 | SUMMARY = "TI SYS/BIOS v6 Kernel" |
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios" | 2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios" |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
@@ -7,16 +7,18 @@ require ../includes/ti-paths.inc | |||
7 | require ../includes/ti-staging.inc | 7 | require ../includes/ti-staging.inc |
8 | require ../includes/ti-eula-unpack.inc | 8 | require ../includes/ti-eula-unpack.inc |
9 | 9 | ||
10 | S = "${WORKDIR}/bios_${PV}" | 10 | S = "${UNPACKDIR}/bios_${PV}" |
11 | 11 | ||
12 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=sysbiosbin" | 12 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/bios_setuplinux_${PV}.bin;name=sysbiosbin" |
13 | BINFILE="bios_${PV}.bin" | 13 | BINFILE = "bios_${PV}.bin" |
14 | TI_BIN_UNPK_CMDS="Y: q:workdir:Y" | 14 | TI_BIN_UNPK_CMDS = "Y: q:workdir:Y" |
15 | 15 | ||
16 | do_install() { | 16 | do_install() { |
17 | CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" | 17 | CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" |
18 | install -d ${D}${SYSBIOS_INSTALL_DIR_RECIPE} | 18 | install -d ${D}${SYSBIOS_INSTALL_DIR_RECIPE} |
19 | cp ${CP_ARGS} ${S}/* ${D}${SYSBIOS_INSTALL_DIR_RECIPE} | 19 | cp ${CP_ARGS} ${S}/* ${D}${SYSBIOS_INSTALL_DIR_RECIPE} |
20 | |||
21 | rm ${D}${SYSBIOS_INSTALL_DIR_RECIPE}/bios_${PV}*.log | ||
20 | } | 22 | } |
21 | 23 | ||
22 | ALLOW_EMPTY:${PN} = "1" | 24 | ALLOW_EMPTY:${PN} = "1" |
diff --git a/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb b/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb index d242510f..4b0723df 100644 --- a/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb +++ b/meta-ti-extras/recipes-ti/bios/ti-sysbios_6.76.03.01.bb | |||
@@ -10,7 +10,7 @@ SRC_URI[sysbiosbin.md5sum] = "647243209d66d5dd35503b0ec5a84ab9" | |||
10 | SRC_URI[sysbiosbin.sha256sum] = "b762b7f2343d26d367f952488e529046785128005158cc921c3baef08e97116a" | 10 | SRC_URI[sysbiosbin.sha256sum] = "b762b7f2343d26d367f952488e529046785128005158cc921c3baef08e97116a" |
11 | 11 | ||
12 | TI_BIN_UNPK_CMDS = "" | 12 | TI_BIN_UNPK_CMDS = "" |
13 | TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${WORKDIR}" | 13 | TI_BIN_UNPK_ARGS = "--mode unattended --prefix ${UNPACKDIR}" |
14 | 14 | ||
15 | BINFILE = "bios_${PV}.run" | 15 | BINFILE = "bios_${PV}.run" |
16 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/${BINFILE};name=sysbiosbin" | 16 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/${PV}/exports/${BINFILE};name=sysbiosbin" |
diff --git a/meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb b/meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb index 2e25ea76..b248683b 100644 --- a/meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb +++ b/meta-ti-extras/recipes-ti/codec-engine/ti-codec-engine_3.24.00.08.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Codec Engine for TI ARM/DSP processors" | 1 | SUMMARY = "Codec Engine for TI ARM/DSP processors" |
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce" | 2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce" |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://codec_engine_${PV}_Manifest.html;md5=de7d9c2594a6f386 | |||
14 | SRC_URI[cetarball.md5sum] = "d66a8ccbd6cdfe9f735af9f4a07e2b9b" | 14 | SRC_URI[cetarball.md5sum] = "d66a8ccbd6cdfe9f735af9f4a07e2b9b" |
15 | SRC_URI[cetarball.sha256sum] = "ed7b7399903bbf76af06ee6457836f344ad75b903618339bae82b3967f27ffa1" | 15 | SRC_URI[cetarball.sha256sum] = "ed7b7399903bbf76af06ee6457836f344ad75b903618339bae82b3967f27ffa1" |
16 | 16 | ||
17 | S = "${WORKDIR}/codec_engine_${PV}" | 17 | S = "${UNPACKDIR}/codec_engine_${PV}" |
18 | 18 | ||
19 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball " | 19 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/ce/${PV}/exports/codec_engine_${PV},lite.tar.gz;name=cetarball " |
20 | 20 | ||
diff --git a/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb b/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb index 400221f9..4043da55 100644 --- a/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb +++ b/meta-ti-extras/recipes-ti/ctoolslib/libaet_git.bb | |||
@@ -13,9 +13,9 @@ SRCREV = "de7954abab0f0caa8a2c7b53095c30226d901a31" | |||
13 | DEPENDS = "ti-cgt6x-native" | 13 | DEPENDS = "ti-cgt6x-native" |
14 | PR = "r0" | 14 | PR = "r0" |
15 | 15 | ||
16 | S = "${WORKDIR}/git/aet" | 16 | S:append = "/aet" |
17 | 17 | ||
18 | DEVICE="" | 18 | DEVICE = "" |
19 | DEVICE:dra7xx = "DRA7xx" | 19 | DEVICE:dra7xx = "DRA7xx" |
20 | 20 | ||
21 | EXTRA_OEMAKE = "C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include" | 21 | EXTRA_OEMAKE = "C6X_C_DIR=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x/include" |
diff --git a/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb b/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb index 64bac240..df34a39e 100644 --- a/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb +++ b/meta-ti-extras/recipes-ti/devtools/gcc-arm-baremetal_7-2018-q2-update.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "Baremetal GCC for ARM" | 1 | SUMMARY = "Baremetal GCC for ARM" |
2 | LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" | 2 | LICENSE = "GPL-3.0-with-GCC-exception & GPL-3.0-only" |
3 | 3 | ||
4 | LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=f77466c63f5787f4bd669c402aabe061" | 4 | LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=f77466c63f5787f4bd669c402aabe061" |
@@ -10,7 +10,7 @@ SRC_URI = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc | |||
10 | SRC_URI[gcc-arm-none.md5sum] = "299ebd3f1c2c90930d28ab82e5d8d6c0" | 10 | SRC_URI[gcc-arm-none.md5sum] = "299ebd3f1c2c90930d28ab82e5d8d6c0" |
11 | SRC_URI[gcc-arm-none.sha256sum] = "bb17109f0ee697254a5d4ae6e5e01440e3ea8f0277f2e8169bf95d07c7d5fe69" | 11 | SRC_URI[gcc-arm-none.sha256sum] = "bb17109f0ee697254a5d4ae6e5e01440e3ea8f0277f2e8169bf95d07c7d5fe69" |
12 | 12 | ||
13 | S = "${WORKDIR}/gcc-arm-none-eabi-7-2018-q2-update" | 13 | S = "${UNPACKDIR}/gcc-arm-none-eabi-7-2018-q2-update" |
14 | 14 | ||
15 | # only x86_64 is supported | 15 | # only x86_64 is supported |
16 | COMPATIBLE_HOST = "x86_64.*-linux" | 16 | COMPATIBLE_HOST = "x86_64.*-linux" |
@@ -23,7 +23,7 @@ do_install() { | |||
23 | 23 | ||
24 | FILES:${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*" | 24 | FILES:${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*" |
25 | 25 | ||
26 | INSANE_SKIP:${PN} = "already-stripped libdir staticdev build-deps file-rdeps" | 26 | INSANE_SKIP:${PN} = "already-stripped libdir staticdev build-deps file-rdeps arch" |
27 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 27 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
28 | 28 | ||
29 | BBCLASSEXTEND = "native nativesdk" | 29 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb b/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb index c7608a76..4341acb0 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb +++ b/meta-ti-extras/recipes-ti/devtools/ti-cg-xml_2.61.00.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "TI CG_XML" | 1 | SUMMARY = "TI CG_XML" |
2 | HOMEPAGE = "http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/index.htm" | 2 | HOMEPAGE = "http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/index.htm" |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
@@ -9,7 +9,7 @@ require recipes-ti/includes/ti-unpack.inc | |||
9 | 9 | ||
10 | PV = "2.61.00" | 10 | PV = "2.61.00" |
11 | PE = "1" | 11 | PE = "1" |
12 | S = "${WORKDIR}/cg_xml_${PV}" | 12 | S = "${UNPACKDIR}/cg_xml_${PV}" |
13 | 13 | ||
14 | SRC_URI = "\ | 14 | SRC_URI = "\ |
15 | http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/cg_xml_v${@'${PV}'.replace('.','_')}/cgxml-${PV}-linux-installer.run;name=cgxmlbin_linux \ | 15 | http://software-dl.ti.com/ccs/non-esd/releases/other/applications_packages/cg_xml/cg_xml_v${@'${PV}'.replace('.','_')}/cgxml-${PV}-linux-installer.run;name=cgxmlbin_linux \ |
@@ -19,9 +19,9 @@ LIC_FILES_CHKSUM = "file://cg_xml_${PV}_Manifest.pdf;md5=fc02a39748ba50373f32b2f | |||
19 | SRC_URI[cgxmlbin_linux.md5sum] = "6ce60caa97bbf15158d806fb062fadff" | 19 | SRC_URI[cgxmlbin_linux.md5sum] = "6ce60caa97bbf15158d806fb062fadff" |
20 | SRC_URI[cgxmlbin_linux.sha256sum] = "da77cb10bd3d5de89e27e4ce8f4408a2e50775c8980225f9a828ddc242bb81f9" | 20 | SRC_URI[cgxmlbin_linux.sha256sum] = "da77cb10bd3d5de89e27e4ce8f4408a2e50775c8980225f9a828ddc242bb81f9" |
21 | 21 | ||
22 | BINFILE="cgxml-${PV}-linux-installer.run" | 22 | BINFILE = "cgxml-${PV}-linux-installer.run" |
23 | TI_BIN_UNPK_CMDS="" | 23 | TI_BIN_UNPK_CMDS = "" |
24 | TI_BIN_UNPK_ARGS="--prefix ${S} --mode unattended" | 24 | TI_BIN_UNPK_ARGS = "--prefix ${S} --mode unattended" |
25 | 25 | ||
26 | do_install() { | 26 | do_install() { |
27 | CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" | 27 | CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" |
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb index b7b6d9b1..031d889f 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt-arm_18.12.5.bb | |||
@@ -8,7 +8,7 @@ require recipes-ti/includes/ti-unpack.inc | |||
8 | require recipes-ti/includes/ti-staging.inc | 8 | require recipes-ti/includes/ti-staging.inc |
9 | require recipes-ti/includes/ti-paths.inc | 9 | require recipes-ti/includes/ti-paths.inc |
10 | 10 | ||
11 | S = "${WORKDIR}/ti-cgt-arm-${PV}" | 11 | S = "${UNPACKDIR}/ti-cgt-arm-${PV}" |
12 | 12 | ||
13 | PE = "1" | 13 | PE = "1" |
14 | PR = "r0" | 14 | PR = "r0" |
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb index c96113fe..7ef20b7a 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt-pru_2.3.3.bb | |||
@@ -1,8 +1,8 @@ | |||
1 | DESCRIPTION = "TI PRU Code Generation Tools" | 1 | SUMMARY = "TI PRU Code Generation Tools" |
2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" | 2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" |
3 | LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" | 3 | LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & AFL-3.0 & MIT & BSD-2-Clause & PD" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" | 5 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/ti-cgt-pru_${PV}/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" |
6 | LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" | 6 | LIC_FILES_CHKSUM:class-target = "file://usr/share/doc/ti/cgt-pru/PRU_Code_Generation_Tools_2.3.x_manifest.html;md5=e22f9d8240f7cca0c0aa5242d9ffa5bc" |
7 | 7 | ||
8 | require recipes-ti/includes/ti-paths.inc | 8 | require recipes-ti/includes/ti-paths.inc |
@@ -10,7 +10,7 @@ require recipes-ti/includes/ti-unpack.inc | |||
10 | 10 | ||
11 | BINFILE = "ti_cgt_pru_${PV}_linux_installer_x86.bin" | 11 | BINFILE = "ti_cgt_pru_${PV}_linux_installer_x86.bin" |
12 | BINFILE_NAME = "cgt-pru-x86" | 12 | BINFILE_NAME = "cgt-pru-x86" |
13 | TI_BIN_UNPK_ARGS = "--prefix ${S}" | 13 | TI_BIN_UNPK_ARGS = "--prefix ${UNPACKDIR}" |
14 | TI_BIN_UNPK_CMDS = "" | 14 | TI_BIN_UNPK_CMDS = "" |
15 | 15 | ||
16 | BINFILE:class-target = "ti_cgt_pru_${PV}_armlinuxa8hf_busybox_installer.sh" | 16 | BINFILE:class-target = "ti_cgt_pru_${PV}_armlinuxa8hf_busybox_installer.sh" |
@@ -24,14 +24,17 @@ SRC_URI[cgt-pru-x86.sha256sum] = "1f1405167214f2c0ef848591b17a7799fdcd9f55f11bc9 | |||
24 | SRC_URI[cgt-pru-arm.md5sum] = "648a6d7d8162fd6a89f381c7b974e6b0" | 24 | SRC_URI[cgt-pru-arm.md5sum] = "648a6d7d8162fd6a89f381c7b974e6b0" |
25 | SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c21258e3206a7c1232ccf2" | 25 | SRC_URI[cgt-pru-arm.sha256sum] = "8390cb77b46b728ce2940595b81406f76d86dfed58c21258e3206a7c1232ccf2" |
26 | 26 | ||
27 | S = "${UNPACKDIR}" | ||
28 | |||
27 | do_install() { | 29 | do_install() { |
28 | install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE} | 30 | install -d ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE} |
29 | cp -r ${S}/ti-cgt-pru_${PV}/. \ | 31 | cp -r ${S}/ti-cgt-pru_${PV}/. \ |
30 | ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/ | 32 | ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/ |
33 | rm ${D}${TI_CGT_PRU_INSTALL_DIR_RECIPE}/*installer_install.log | ||
31 | } | 34 | } |
32 | 35 | ||
33 | do_install:class-target() { | 36 | do_install:class-target() { |
34 | ${WORKDIR}/${BINFILE} --prefix ${D} | 37 | ${S}/${BINFILE} --prefix ${D} |
35 | } | 38 | } |
36 | 39 | ||
37 | FILES:${PN} += "${datadir}/ti/*" | 40 | FILES:${PN} += "${datadir}/ti/*" |
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc b/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc index f0992aa7..f32bc0d3 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt470.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "TI ARM Code Generation Tools" | 1 | SUMMARY = "TI ARM Code Generation Tools" |
2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm" | 2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/CodeGenerationTools.htm" |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "TI" | 4 | LICENSE = "TI" |
@@ -9,13 +9,13 @@ require ../includes/ti-paths.inc | |||
9 | require ../includes/ti-staging.inc | 9 | require ../includes/ti-staging.inc |
10 | require ../includes/ti-eula-unpack.inc | 10 | require ../includes/ti-eula-unpack.inc |
11 | 11 | ||
12 | S = "${WORKDIR}/cgt470_${PV}" | 12 | S = "${UNPACKDIR}/cgt470_${PV}" |
13 | 13 | ||
14 | SRC_URI = "http://install.source.dir.local/ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin;name=cgt470bin" | 14 | SRC_URI = "http://install.source.dir.local/ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin;name=cgt470bin" |
15 | 15 | ||
16 | BINFILE="ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin" | 16 | BINFILE = "ti_cgt_tms470_${PVwithdots}_setup_linux_x86.bin" |
17 | TI_BIN_UNPK_CMDS="Y:qY:workdir: : " | 17 | TI_BIN_UNPK_CMDS = "Y:qY:workdir: : " |
18 | TI_BIN_UNPK_WDEXT="/cgt470_${PV}" | 18 | TI_BIN_UNPK_WDEXT = "/cgt470_${PV}" |
19 | 19 | ||
20 | do_install() { | 20 | do_install() { |
21 | install -d ${D}${CODEGEN_ARM_INSTALL_DIR_RECIPE} | 21 | install -d ${D}${CODEGEN_ARM_INSTALL_DIR_RECIPE} |
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb index a7de8e38..adf21563 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x-7_7.4.16.bb | |||
@@ -11,15 +11,15 @@ LICENSE = "TI-TSPA" | |||
11 | 11 | ||
12 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" | 12 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6311962635a4f15630e36ec2d875eca" |
13 | 13 | ||
14 | S = "${WORKDIR}/c6000_7.4.16" | 14 | S = "${UNPACKDIR}/c6000_7.4.16" |
15 | 15 | ||
16 | require recipes-ti/includes/ti-paths.inc | 16 | require recipes-ti/includes/ti-paths.inc |
17 | require recipes-ti/includes/ti-unpack.inc | 17 | require recipes-ti/includes/ti-unpack.inc |
18 | 18 | ||
19 | BINFILE = "ti_cgt_c6000_7.4.16_linux_installer_x86.bin" | 19 | BINFILE = "ti_cgt_c6000_7.4.16_linux_installer_x86.bin" |
20 | BINFILE_NAME = "cgt6x_7.4.16_x86_installer" | 20 | BINFILE_NAME = "cgt6x_7.4.16_x86_installer" |
21 | TI_BIN_UNPK_ARGS = "--prefix ${WORKDIR} --mode unattended" | 21 | TI_BIN_UNPK_ARGS = "--prefix ${UNPACKDIR} --mode unattended" |
22 | TI_BIN_UNPK_CMDS="" | 22 | TI_BIN_UNPK_CMDS = "" |
23 | 23 | ||
24 | SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}" | 24 | SRC_URI = "http://install.source.dir.local/${BINFILE};name=${BINFILE_NAME}" |
25 | 25 | ||
@@ -32,7 +32,7 @@ COMPATIBLE_HOST:class-target = "null" | |||
32 | 32 | ||
33 | do_install() { | 33 | do_install() { |
34 | install -d ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} | 34 | install -d ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} |
35 | cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c6000_7.4.16/. ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} | 35 | cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${UNPACKDIR}/c6000_7.4.16/. ${D}/${TI_CGT6X_7_INSTALL_DIR_RECIPE} |
36 | } | 36 | } |
37 | 37 | ||
38 | FILES:${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}" | 38 | FILES:${PN} += "${TI_CGT6X_7_INSTALL_DIR_RECIPE}" |
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb index fd34657a..25e0f596 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt6x_8.3.2.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "TI DSP Code Generation Tools" | 1 | SUMMARY = "TI DSP Code Generation Tools" |
2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" | 2 | HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm" |
3 | LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD" | 3 | LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD" |
4 | 4 | ||
@@ -92,7 +92,7 @@ do_install() { | |||
92 | } | 92 | } |
93 | 93 | ||
94 | do_install:class-target() { | 94 | do_install:class-target() { |
95 | ${WORKDIR}/${BINFILE} --prefix ${D} | 95 | ${UNPACKDIR}/${BINFILE} --prefix ${D} |
96 | } | 96 | } |
97 | 97 | ||
98 | FILES:${PN} += "${datadir}/ti/*" | 98 | FILES:${PN} += "${datadir}/ti/*" |
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb b/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb index b45b52a3..04b16032 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb +++ b/meta-ti-extras/recipes-ti/devtools/ti-cgt7x_1.2.0.bb | |||
@@ -30,11 +30,11 @@ TI_BIN_UNPK_CMDS = "" | |||
30 | SRC_URI[cgt7x_x86_installer.md5sum] = "813840908f333dd2a31f92edec71c1fb" | 30 | SRC_URI[cgt7x_x86_installer.md5sum] = "813840908f333dd2a31f92edec71c1fb" |
31 | SRC_URI[cgt7x_x86_installer.sha256sum] = "21379811a8857489f72ca8ec45a46eb086ced0bdbb58e78f73a86e63984ab2f5" | 31 | SRC_URI[cgt7x_x86_installer.sha256sum] = "21379811a8857489f72ca8ec45a46eb086ced0bdbb58e78f73a86e63984ab2f5" |
32 | 32 | ||
33 | S = "${WORKDIR}/c7000_${PV}" | 33 | S = "${UNPACKDIR}/c7000_${PV}" |
34 | 34 | ||
35 | do_install() { | 35 | do_install() { |
36 | install -d ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} | 36 | install -d ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} |
37 | cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${WORKDIR}/c7000_${PV}/ti-cgt-c7000_${PV}.STS/. ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} | 37 | cp -rP --preserve=mode,links,timestamps --no-preserve=ownership ${UNPACKDIR}/c7000_${PV}/ti-cgt-c7000_${PV}.STS/. ${D}/${TI_CGT7X_INSTALL_DIR_RECIPE} |
38 | } | 38 | } |
39 | 39 | ||
40 | 40 | ||
diff --git a/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb b/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb index b1361804..969518e2 100644 --- a/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb +++ b/meta-ti-extras/recipes-ti/devtools/ti-xdctools_3.55.02.22.bb | |||
@@ -1,3 +1,4 @@ | |||
1 | SUMMARY = "TI XDCtools (RTSC - Real Time Software Components" | ||
1 | DESCRIPTION = "TI XDCtools (RTSC - Real Time Software Components - http://rtsc.eclipse.org)" | 2 | DESCRIPTION = "TI XDCtools (RTSC - Real Time Software Components - http://rtsc.eclipse.org)" |
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc" | 3 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc" |
3 | SECTION = "devel" | 4 | SECTION = "devel" |
@@ -69,7 +70,7 @@ COMPATIBLE_HOST:ti-soc = "(.*)" | |||
69 | COMPATIBLE_HOST:class-native = "(.*)" | 70 | COMPATIBLE_HOST:class-native = "(.*)" |
70 | COMPATIBLE_HOST:class-nativesdk = "(.*)" | 71 | COMPATIBLE_HOST:class-nativesdk = "(.*)" |
71 | 72 | ||
72 | S = "${WORKDIR}/xdctools_${PV}_core" | 73 | S = "${UNPACKDIR}/xdctools_${PV}_core" |
73 | 74 | ||
74 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/${PV}/exports/xdccore/xdctools_${PV}_core_linux.zip;name=xdczip" | 75 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/${PV}/exports/xdccore/xdctools_${PV}_core_linux.zip;name=xdczip" |
75 | 76 | ||
diff --git a/meta-ti-extras/recipes-ti/dsplib/dsplib.inc b/meta-ti-extras/recipes-ti/dsplib/dsplib.inc index 6ebc3b34..566dab0a 100644 --- a/meta-ti-extras/recipes-ti/dsplib/dsplib.inc +++ b/meta-ti-extras/recipes-ti/dsplib/dsplib.inc | |||
@@ -11,11 +11,8 @@ DEPENDS = "ti-cgt6x-native \ | |||
11 | ti-xdctools-native \ | 11 | ti-xdctools-native \ |
12 | ti-sysbios \ | 12 | ti-sysbios \ |
13 | doxygen-native \ | 13 | doxygen-native \ |
14 | zip-native \ | ||
15 | swtools" | 14 | swtools" |
16 | 15 | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | DSPLIB_GIT_BRANCH = "master" | 16 | DSPLIB_GIT_BRANCH = "master" |
20 | DSPLIB_GIT_PROTOCOL = "https" | 17 | DSPLIB_GIT_PROTOCOL = "https" |
21 | DSPLIB_GIT_URI = "git://git.ti.com/git/ep-processor-libraries/dsplib.git" | 18 | DSPLIB_GIT_URI = "git://git.ti.com/git/ep-processor-libraries/dsplib.git" |
@@ -26,19 +23,19 @@ SRCREV = "${DSPLIB_SRCREV}" | |||
26 | 23 | ||
27 | LIC_FILES_CHKSUM = "file://ti/dsplib/src/common/c66/lnk.cmd;beginline=1;endline=37;md5=0f0c9c4d51d8af75419781591ace190b" | 24 | LIC_FILES_CHKSUM = "file://ti/dsplib/src/common/c66/lnk.cmd;beginline=1;endline=37;md5=0f0c9c4d51d8af75419781591ace190b" |
28 | 25 | ||
29 | export DSPLIB_WORK_DIR="${S}" | 26 | export DSPLIB_WORK_DIR = "${S}" |
30 | export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" | 27 | export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" |
31 | export C64PCODEGENTOOL="${CGTOOLS_INSTALL_DIR}" | 28 | export C64PCODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" |
32 | export C674CODEGENTOOL="${CGTOOLS_INSTALL_DIR}" | 29 | export C674CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" |
33 | export C66CODEGENTOOL ="${CGTOOLS_INSTALL_DIR}" | 30 | export C66CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" |
34 | export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" | 31 | export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" |
35 | export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld" | 32 | export XDCBUILDCFG = "${SWTOOLS_PATH}/config.bld" |
36 | export INCDIR="${MATHLIB_INSTALL_DIR}/" | 33 | export INCDIR = "${MATHLIB_INSTALL_DIR}/" |
37 | 34 | ||
38 | PATH:append = ":${XDC_INSTALL_DIR}" | 35 | PATH:append = ":${XDC_INSTALL_DIR}" |
39 | 36 | ||
40 | XDCPATH.="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" | 37 | XDCPATH .= "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" |
41 | XDCPATH.="${SWTOOLS_INSTALL_DIR};${MATHLIB_INSTALL_DIR};${DSPLIB_WORK_DIR};" | 38 | XDCPATH .= "${SWTOOLS_INSTALL_DIR};${MATHLIB_INSTALL_DIR};${DSPLIB_WORK_DIR};" |
42 | 39 | ||
43 | export XDCPATH | 40 | export XDCPATH |
44 | 41 | ||
@@ -57,19 +54,6 @@ do_install() { | |||
57 | rm -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib | 54 | rm -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib |
58 | } | 55 | } |
59 | 56 | ||
60 | inherit deploy | ||
61 | addtask deploy before do_build after do_install | ||
62 | |||
63 | do_deploy() { | ||
64 | install -d ${DEPLOYDIR} | ||
65 | # zip up files in ${D}${DSPLIB_INSTALL_DIR_RECIPE} | ||
66 | # and place the zip file in ${DEPLOYDIR} | ||
67 | mkdir ./${DSPLIB_PACKAGE_NAME} | ||
68 | cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/. ./${DSPLIB_PACKAGE_NAME} | ||
69 | zip -9 -y -r -q ${DEPLOYDIR}/${DSPLIB_PACKAGE_NAME}.zip ./${DSPLIB_PACKAGE_NAME} | ||
70 | rm -r ./${DSPLIB_PACKAGE_NAME} | ||
71 | } | ||
72 | |||
73 | ALLOW_EMPTY:${PN} = "1" | 57 | ALLOW_EMPTY:${PN} = "1" |
74 | FILES:${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}" | 58 | FILES:${PN}-dev += "${DSPLIB_INSTALL_DIR_RECIPE}" |
75 | 59 | ||
diff --git a/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc index 81407ed7..6a1768a3 100644 --- a/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc +++ b/meta-ti-extras/recipes-ti/framework-components/ti-framework-components.inc | |||
@@ -1,11 +1,11 @@ | |||
1 | DESCRIPTION = "TI Framework Components" | 1 | SUMMARY = "TI Framework Components" |
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc" | 2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc" |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | 5 | ||
6 | require recipes-ti/includes/ti-paths.inc | 6 | require recipes-ti/includes/ti-paths.inc |
7 | 7 | ||
8 | S = "${WORKDIR}/framework_components_${PV}" | 8 | S = "${UNPACKDIR}/framework_components_${PV}" |
9 | 9 | ||
10 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc/${PV}/exports/framework_components_${PV},lite.tar.gz;name=fctarball" | 10 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/fc/${PV}/exports/framework_components_${PV},lite.tar.gz;name=fctarball" |
11 | 11 | ||
diff --git a/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc b/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc index ab5cbdb6..8fa2ceca 100644 --- a/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc +++ b/meta-ti-extras/recipes-ti/imglib/imglib-c66x.inc | |||
@@ -1,3 +1,4 @@ | |||
1 | SUMMARY = "IMGLIB for TI DSPs" | ||
1 | DESCRIPTION = "IMGLIB contains optimized general-purpose image/video processing routines for TI DSPs" | 2 | DESCRIPTION = "IMGLIB contains optimized general-purpose image/video processing routines for TI DSPs" |
2 | HOMEPAGE = "http://www.ti.com/tool/sprc264" | 3 | HOMEPAGE = "http://www.ti.com/tool/sprc264" |
3 | SECTION = "devel" | 4 | SECTION = "devel" |
@@ -11,7 +12,7 @@ COMPATIBLE_MACHINE = "omap-a15" | |||
11 | 12 | ||
12 | SRC_URI = "http://software-dl.ti.com/sdoemb/sdoemb_public_sw/imglib/${PV}/exports/${BINFILE};name=imglib" | 13 | SRC_URI = "http://software-dl.ti.com/sdoemb/sdoemb_public_sw/imglib/${PV}/exports/${BINFILE};name=imglib" |
13 | 14 | ||
14 | S = "${WORKDIR}/imglib-c66x-${PV}" | 15 | S = "${UNPACKDIR}/imglib-c66x-${PV}" |
15 | 16 | ||
16 | BINFILE = "imglib_c66x_${PV}_Linux.bin" | 17 | BINFILE = "imglib_c66x_${PV}_Linux.bin" |
17 | TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" | 18 | TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" |
diff --git a/meta-ti-extras/recipes-ti/includes/ti-paths.inc b/meta-ti-extras/recipes-ti/includes/ti-paths.inc index e8b0f17b..9f8b5897 100644 --- a/meta-ti-extras/recipes-ti/includes/ti-paths.inc +++ b/meta-ti-extras/recipes-ti/includes/ti-paths.inc | |||
@@ -20,7 +20,6 @@ export MATHLIB_C66_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c66x-tree" | |||
20 | export MATHLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c674x-tree" | 20 | export MATHLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c674x-tree" |
21 | export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree" | 21 | export MPM_INSTALL_DIR_RECIPE = "${installdir}/ti-mpm-tree" |
22 | export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" | 22 | export OMP_INSTALL_DIR_RECIPE = "${installdir}/ti-omp-tree" |
23 | export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree" | ||
24 | export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree" | 23 | export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree" |
25 | export SYSBIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-sysbios-tree" | 24 | export SYSBIOS_INSTALL_DIR_RECIPE = "${installdir}/ti-sysbios-tree" |
26 | export SWTOOLS_INSTALL_DIR_RECIPE = "${installdir}/ti-swtools-tree" | 25 | export SWTOOLS_INSTALL_DIR_RECIPE = "${installdir}/ti-swtools-tree" |
@@ -48,7 +47,6 @@ export MATHLIB_C66_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL_DI | |||
48 | export MATHLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C674_INSTALL_DIR_RECIPE}" | 47 | export MATHLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C674_INSTALL_DIR_RECIPE}" |
49 | export MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}" | 48 | export MPM_INSTALL_DIR = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}" |
50 | export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" | 49 | export OMP_INSTALL_DIR = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}" |
51 | export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}" | ||
52 | export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}" | 50 | export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}" |
53 | export SWTOOLS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SWTOOLS_INSTALL_DIR_RECIPE}" | 51 | export SWTOOLS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SWTOOLS_INSTALL_DIR_RECIPE}" |
54 | export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}" | 52 | export SYSBIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}" |
diff --git a/meta-ti-extras/recipes-ti/includes/ti-unpack.inc b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc index 13068843..4cefefbf 100644 --- a/meta-ti-extras/recipes-ti/includes/ti-unpack.inc +++ b/meta-ti-extras/recipes-ti/includes/ti-unpack.inc | |||
@@ -5,7 +5,7 @@ | |||
5 | # TI_BIN_UNPK_ARGS - contains the arguments to be passed to the bin file. | 5 | # TI_BIN_UNPK_ARGS - contains the arguments to be passed to the bin file. |
6 | # TI_BIN_UNPK_CMDS - contains list of commands separated with colon to be | 6 | # TI_BIN_UNPK_CMDS - contains list of commands separated with colon to be |
7 | # passed while unpacking the bin file. The keyword | 7 | # passed while unpacking the bin file. The keyword |
8 | # workdir expands to WORKDIR and commands are appendded | 8 | # workdir expands to UNPACKDIR and commands are appendded |
9 | # with '\n'. Eg. TI_BIN_UNPK_CMDS="Y:Y: qY:workdir" | 9 | # with '\n'. Eg. TI_BIN_UNPK_CMDS="Y:Y: qY:workdir" |
10 | # TI_BIN_UNPK_WDEXT - This variable extends workdir path, if user wants to put | 10 | # TI_BIN_UNPK_WDEXT - This variable extends workdir path, if user wants to put |
11 | # the output in some internal directory | 11 | # the output in some internal directory |
@@ -30,7 +30,7 @@ python ti_bin_do_unpack() { | |||
30 | 30 | ||
31 | # Change to the working directory | 31 | # Change to the working directory |
32 | save_cwd = os.getcwd() | 32 | save_cwd = os.getcwd() |
33 | workdir = localdata.getVar('WORKDIR') | 33 | workdir = localdata.getVar('UNPACKDIR') |
34 | workdir = bb.data.expand(workdir, localdata) | 34 | workdir = bb.data.expand(workdir, localdata) |
35 | os.chdir(workdir) | 35 | os.chdir(workdir) |
36 | 36 | ||
diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch deleted file mode 100644 index ea514695..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux/0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | From cca4fd812959a0cd241dd3bbebfd461ece94c9b8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denis@denix.org> | ||
3 | Date: Mon, 29 Mar 2021 19:42:00 -0400 | ||
4 | Subject: [PATCH] examples/ClusterMgr: sys_errlist[] has been deprecated in | ||
5 | glibc | ||
6 | |||
7 | Use strerror() instead. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Denys Dmytriyenko <denis@denix.org> | ||
12 | --- | ||
13 | src/examples/templates/ex46_graph/manager/ClusterMgr.c | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/src/examples/templates/ex46_graph/manager/ClusterMgr.c b/src/examples/templates/ex46_graph/manager/ClusterMgr.c | ||
17 | index 19216c9..a1fa679 100644 | ||
18 | --- a/src/examples/templates/ex46_graph/manager/ClusterMgr.c | ||
19 | +++ b/src/examples/templates/ex46_graph/manager/ClusterMgr.c | ||
20 | @@ -714,7 +714,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait) | ||
21 | pid = fork(); | ||
22 | |||
23 | if (pid == -1) { | ||
24 | - LOG "CM_system: fork error: %s\n", sys_errlist[errno] LOGF | ||
25 | + LOG "CM_system: fork error: %s\n", strerror(errno) LOGF | ||
26 | status = -1; | ||
27 | goto leave; | ||
28 | } | ||
29 | @@ -739,7 +739,7 @@ static pid_t ClusterMgr_system(char *cmd, bool wait) | ||
30 | else { | ||
31 | /* overlay a new executable */ | ||
32 | execvp(argv[0], argv); | ||
33 | - LOG "CM_system: execvp error: %s\n", sys_errlist[errno] LOGF | ||
34 | + LOG "CM_system: execvp error: %s\n", strerror(errno) LOGF | ||
35 | status = -1; | ||
36 | } | ||
37 | |||
38 | -- | ||
39 | 2.7.4 | ||
40 | |||
diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb deleted file mode 100644 index 81706592..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples-linux_git.bb +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running bios" | ||
2 | require ti-ipc-examples.inc | ||
3 | |||
4 | SRC_URI += "file://0001-examples-ClusterMgr-sys_errlist-has-been-deprecated-.patch;patchdir=../git/ipc-examples" | ||
5 | |||
6 | DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native" | ||
7 | |||
8 | do_compile:append() { | ||
9 | |||
10 | if [ "${PLATFORM}" != "UNKNOWN" ]; then | ||
11 | oe_runmake extract HOSTOS="linux" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" | ||
12 | |||
13 | if [ ! -z ${ALT_PLATFORM} ]; then | ||
14 | oe_runmake extract PLATFORM="${ALT_PLATFORM}" HOSTOS="linux" \ | ||
15 | IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" | ||
16 | fi | ||
17 | oe_runmake -C examples all HOSTOS="linux" \ | ||
18 | LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ | ||
19 | IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" | ||
20 | |||
21 | if [ ! -z ${ALT_PLATFORM} ]; then | ||
22 | oe_runmake -C examples all HOSTOS="linux" \ | ||
23 | LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ | ||
24 | IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ | ||
25 | PLATFORM="${ALT_PLATFORM}" | ||
26 | fi | ||
27 | fi | ||
28 | } | ||
29 | |||
30 | do_install:append() { | ||
31 | cd ${S_ipc-examples}/src | ||
32 | |||
33 | if [ "${PLATFORM}" != "UNKNOWN" ]; then | ||
34 | # Install directory for linux examples | ||
35 | install -d ${D}${bindir}/ipc/examples | ||
36 | oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ | ||
37 | LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ | ||
38 | HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" | ||
39 | |||
40 | if [ ! -z ${ALT_PLATFORM} ]; then | ||
41 | oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ | ||
42 | LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \ | ||
43 | HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \ | ||
44 | PLATFORM="${ALT_PLATFORM}" | ||
45 | fi | ||
46 | fi | ||
47 | } | ||
48 | |||
49 | FILES:${PN} += "${bindir}/*" | ||
diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc deleted file mode 100644 index 09352505..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples.inc +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:IPC" | ||
2 | require recipes-ti/ipc/ti-ipc-common.inc | ||
3 | require ti-ipc-rtos.inc | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://${S_ipc-examples}/src/makefile;beginline=1;endline=30;md5=a52324bd5033bb49ea07bade1244ac9a" | ||
7 | |||
8 | INSANE_SKIP:${PN} += "arch" | ||
9 | |||
10 | ALLOW_EMPTY:${PN} = "1" | ||
11 | |||
12 | IPC_INSTALL_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree" | ||
13 | |||
14 | do_compile() { | ||
15 | |||
16 | cd ${S_ipc-examples}/src | ||
17 | oe_runmake .examples \ | ||
18 | IPCTOOLS="${S_ipc-metadata}/src/etc" | ||
19 | |||
20 | for alt_platform in ${ALT_PLATFORM}; do | ||
21 | oe_runmake .examples "PLATFORM=${alt_platform}" \ | ||
22 | IPCTOOLS="${S_ipc-metadata}/src/etc" | ||
23 | done | ||
24 | } | ||
25 | |||
26 | do_install() { | ||
27 | cd ${S_ipc-examples}/src | ||
28 | IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'` | ||
29 | } | ||
30 | |||
31 | INHIBIT_PACKAGE_STRIP = "1" | ||
diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb deleted file mode 100644 index bcc8674e..00000000 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-examples_git.bb +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | DESCRIPTION = "TI Inter Process Communication (IPC) examples with Host running linux" | ||
2 | require ti-ipc-examples.inc | ||
3 | |||
4 | DEPENDS = "ti-ipc ti-xdctools-native ti-sysbios ti-ipc-rtos zip-native" | ||
5 | |||
6 | do_compile:append() { | ||
7 | |||
8 | if [ "${PLATFORM}" != "UNKNOWN" ]; then | ||
9 | oe_runmake extract HOSTOS="bios" IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" | ||
10 | |||
11 | for alt_platform in ${ALT_PLATFORM}; do | ||
12 | oe_runmake extract PLATFORM="${alt_platform}" HOSTOS="bios" \ | ||
13 | IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" | ||
14 | done | ||
15 | oe_runmake -C examples all HOSTOS="bios" \ | ||
16 | IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" | ||
17 | for alt_platform in ${ALT_PLATFORM}; do | ||
18 | oe_runmake -C examples all HOSTOS="bios" \ | ||
19 | IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" PLATFORM="${alt_platform}" | ||
20 | done | ||
21 | fi | ||
22 | } | ||
23 | |||
24 | do_install:append() { | ||
25 | if [ "${PLATFORM}" != "UNKNOWN" ]; then | ||
26 | # Install directory for bios examples | ||
27 | install -d ${D}/ipc_${IPC_VERSION}/examples/bios | ||
28 | oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ | ||
29 | HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" | ||
30 | oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ | ||
31 | HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" | ||
32 | |||
33 | for alt_platform in ${ALT_PLATFORM}; do | ||
34 | oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ | ||
35 | HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \ | ||
36 | PLATFORM="${alt_platform}" | ||
37 | oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ | ||
38 | HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/${alt_platform}/bios" \ | ||
39 | PLATFORM="${alt_platform}" | ||
40 | done | ||
41 | fi | ||
42 | } | ||
43 | |||
44 | FILES:${PN} += "ipc_*" | ||
diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc index 14ac7c77..2f93db72 100644 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | require recipes-ti/includes/ti-paths.inc | 1 | require recipes-ti/includes/ti-paths.inc |
2 | 2 | ||
3 | TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/git/ipc/ipc-examples.git" | 3 | TI_IPC_EXAMPLES_GIT_URI = "git://git.ti.com/git/ipc/ipc-examples.git" |
4 | TI_IPC_EXAMPLES_DEST_SUFFIX = "git/ipc-examples" | 4 | TI_IPC_EXAMPLES_DEST_SUFFIX = "${BB_GIT_DEFAULT_DESTSUFFIX}/ipc-examples" |
5 | TI_IPC_EXAMPLES_GIT_PROTOCOL = "https" | 5 | TI_IPC_EXAMPLES_GIT_PROTOCOL = "https" |
6 | TI_IPC_EXAMPLES_GIT_BRANCH = "master" | 6 | TI_IPC_EXAMPLES_GIT_BRANCH = "master" |
7 | TI_IPC_EXAMPLES_NAME = "ipc-examples" | 7 | TI_IPC_EXAMPLES_NAME = "ipc-examples" |
@@ -13,7 +13,7 @@ branch=${TI_IPC_EXAMPLES_GIT_BRANCH};\ | |||
13 | name=${TI_IPC_EXAMPLES_NAME}" | 13 | name=${TI_IPC_EXAMPLES_NAME}" |
14 | 14 | ||
15 | TI_IPC_METADATA_GIT_URI = "git://git.ti.com/git/ipc/ipc-metadata.git" | 15 | TI_IPC_METADATA_GIT_URI = "git://git.ti.com/git/ipc/ipc-metadata.git" |
16 | TI_IPC_METADATA_DEST_SUFFIX = "git/ipc-metadata" | 16 | TI_IPC_METADATA_DEST_SUFFIX = "${BB_GIT_DEFAULT_DESTSUFFIX}/ipc-metadata" |
17 | TI_IPC_METADATA_GIT_PROTOCOL = "https" | 17 | TI_IPC_METADATA_GIT_PROTOCOL = "https" |
18 | TI_IPC_METADATA_GIT_BRANCH = "master" | 18 | TI_IPC_METADATA_GIT_BRANCH = "master" |
19 | TI_IPC_METADATA_NAME = "ipc-metadata" | 19 | TI_IPC_METADATA_NAME = "ipc-metadata" |
@@ -33,8 +33,8 @@ SRCREV_FORMAT = "default" | |||
33 | SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}" | 33 | SRCREV_ipc-metadata = "${TI_IPC_METADATA_SRCREV}" |
34 | SRCREV_ipc-examples = "${TI_IPC_EXAMPLES_SRCREV}" | 34 | SRCREV_ipc-examples = "${TI_IPC_EXAMPLES_SRCREV}" |
35 | 35 | ||
36 | S_ipc-examples = "${WORKDIR}/git/ipc-examples" | 36 | S_ipc-examples = "${S}/ipc-examples" |
37 | S_ipc-metadata = "${WORKDIR}/git/ipc-metadata" | 37 | S_ipc-metadata = "${S}/ipc-metadata" |
38 | 38 | ||
39 | RELEASE_TYPE = "GA" | 39 | RELEASE_TYPE = "GA" |
40 | RELEASE_SUFFIX = "" | 40 | RELEASE_SUFFIX = "" |
diff --git a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb index 999993ea..853fa117 100644 --- a/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb +++ b/meta-ti-extras/recipes-ti/ipc/ti-ipc-rtos_git.bb | |||
@@ -2,6 +2,9 @@ require recipes-ti/ipc/ti-ipc.inc | |||
2 | require recipes-ti/ipc/ti-ipc-common.inc | 2 | require recipes-ti/ipc/ti-ipc-common.inc |
3 | require ti-ipc-rtos.inc | 3 | require ti-ipc-rtos.inc |
4 | 4 | ||
5 | inherit deploy | ||
6 | inherit update-alternatives | ||
7 | |||
5 | DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native" | 8 | DEPENDS = "ti-xdctools-native ti-sysbios doxygen-native zip-native" |
6 | 9 | ||
7 | PACKAGES =+ "${PN}-fw" | 10 | PACKAGES =+ "${PN}-fw" |
@@ -78,24 +81,43 @@ KFPLAT = "" | |||
78 | 81 | ||
79 | ALTERNATIVE_PRIORITY = "5" | 82 | ALTERNATIVE_PRIORITY = "5" |
80 | 83 | ||
81 | pkg_postinst:${PN}-fw:omap-a15 () { | 84 | ALTERNATIVE:${PN}-fw:omapl138 = "rproc-dsp-fw" |
82 | update-alternatives --install /lib/firmware/dra7-dsp1-fw.xe66 dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 ${ALTERNATIVE_PRIORITY} | 85 | ALTERNATIVE:${PN}-fw:omap-a15 = "dra7-dsp1-fw.xe66 \ |
83 | update-alternatives --install /lib/firmware/dra7-dsp2-fw.xe66 dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 ${ALTERNATIVE_PRIORITY} | 86 | dra7-dsp2-fw.xe66 \ |
84 | update-alternatives --install /lib/firmware/dra7-ipu1-fw.xem4 dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${ALTERNATIVE_PRIORITY} | 87 | dra7-ipu1-fw.xem4 \ |
85 | update-alternatives --install /lib/firmware/dra7-ipu2-fw.xem4 dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 ${ALTERNATIVE_PRIORITY} | 88 | dra7-ipu2-fw.xem4 \ |
86 | } | 89 | " |
87 | 90 | ||
88 | pkg_postrm:${PN}-fw:omap-a15 () { | 91 | ALTERNATIVE_LINK_NAME[rproc-dsp-fw] = "${nonarch_base_libdir}/firmware/rproc-dsp-fw" |
89 | update-alternatives --remove dra7-dsp1-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66 | 92 | ALTERNATIVE_LINK_NAME[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp1-fw.xe66" |
90 | update-alternatives --remove dra7-dsp2-fw.xe66 ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66 | 93 | ALTERNATIVE_LINK_NAME[dra7-dsp2-fw.xe66] = "${nonarch_base_libdir}/firmware/dra7-dsp2-fw.xe66" |
91 | update-alternatives --remove dra7-ipu1-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 | 94 | ALTERNATIVE_LINK_NAME[dra7-ipu1-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu1-fw.xem4" |
92 | update-alternatives --remove dra7-ipu2-fw.xem4 ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4 | 95 | ALTERNATIVE_LINK_NAME[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/dra7-ipu2-fw.xem4" |
96 | |||
97 | ALTERNATIVE_TARGET[rproc-dsp-fw] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674" | ||
98 | ALTERNATIVE_TARGET[dra7-dsp1-fw.xe66] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_dsp1/test_omx_dsp1_vayu.xe66" | ||
99 | ALTERNATIVE_TARGET[dra7-dsp2-fw.xe66] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_dsp2/test_omx_dsp2_vayu.xe66" | ||
100 | ALTERNATIVE_TARGET[dra7-ipu1-fw.xem4] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4" | ||
101 | ALTERNATIVE_TARGET[dra7-ipu2-fw.xem4] = "${nonarch_base_libdir}/firmware/ipc/ti_platforms_evmDRA7XX_ipu2/test_omx_ipu2_vayu.xem4" | ||
102 | |||
103 | do_deploy() { | ||
104 | install -d ${DEPLOYDIR} | ||
93 | } | 105 | } |
94 | 106 | ||
95 | pkg_postinst:${PN}-fw:omapl138 () { | 107 | do_deploy:append:omap-a15() { |
96 | update-alternatives --install /lib/firmware/rproc-dsp-fw rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 ${ALTERNATIVE_PRIORITY} | 108 | install -d ${DEPLOYDIR}/ipc |
109 | install -m 0644 ${S}/packages/ti/ipc/tests/bin/ti_platforms_evmDRA7XX_ipu1/test_omx_ipu1_vayu.xem4 ${DEPLOYDIR}/ipc/dra7-ipu1-fw.xem4 | ||
97 | } | 110 | } |
98 | 111 | ||
99 | pkg_postrm:${PN}-fw:omapl138 () { | 112 | addtask deploy after do_install |
100 | update-alternatives --remove rproc-dsp-fw ipc/ti_platforms_evmOMAPL138_DSP/messageq_single.xe674 | 113 | |
101 | } | 114 | # Disable the "buildpaths" check while we figure out how we are |
115 | # going to address this issue. | ||
116 | # | ||
117 | # The ti-cgt6x compiler is a custom TI compiler for the TI C6000 | ||
118 | # Digital Signal Processor(DSP) platform. It does not currently | ||
119 | # support reproducible builds and is provided via a binary blob | ||
120 | # download that we cannot patch in the recipe to address the | ||
121 | # issue. | ||
122 | INSANE_SKIP:${PN}-dev += "buildpaths" | ||
123 | INSANE_SKIP:${PN}-fw += "buildpaths" | ||
diff --git a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb index 98ec0e9e..0113a916 100644 --- a/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb +++ b/meta-ti-extras/recipes-ti/jailhouse/jailhouse_git.bb | |||
@@ -10,11 +10,13 @@ JH_CELL_FILES ?= "*.cell" | |||
10 | JH_CELL_FILES:k3 ?= "k3-*.cell" | 10 | JH_CELL_FILES:k3 ?= "k3-*.cell" |
11 | JH_CELL_FILES:am62xx ?= "k3-am625-*.cell" | 11 | JH_CELL_FILES:am62xx ?= "k3-am625-*.cell" |
12 | JH_CELL_FILES:am62pxx ?= "k3-am62p5-*.cell" | 12 | JH_CELL_FILES:am62pxx ?= "k3-am62p5-*.cell" |
13 | JH_CELL_FILES:am62lxx ?= "k3-am62l*.cell" | ||
13 | 14 | ||
14 | JH_INMATE_DTB ?= "" | 15 | JH_INMATE_DTB ?= "" |
15 | JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb" | 16 | JH_INMATE_DTB:am62xx ?= "inmate-k3-am625-sk.dtb" |
16 | JH_INMATE_DTB:am65xx ?= "inmate-k3-am654-idk.dtb" | 17 | JH_INMATE_DTB:am65xx ?= "inmate-k3-am654-idk.dtb" |
17 | JH_INMATE_DTB:am62pxx ?= "inmate-k3-am62p5-sk.dtb" | 18 | JH_INMATE_DTB:am62pxx ?= "inmate-k3-am62p5-sk.dtb" |
19 | JH_INMATE_DTB:am62lxx ?= "inmate-k3-am62l3-evm.dtb" | ||
18 | JH_INMATE_DTB:j7 ?= "inmate-k3-j721e-evm.dtb" | 20 | JH_INMATE_DTB:j7 ?= "inmate-k3-j721e-evm.dtb" |
19 | JH_INMATE_DTB:j7200-evm ?= "inmate-k3-j7200-evm.dtb" | 21 | JH_INMATE_DTB:j7200-evm ?= "inmate-k3-j7200-evm.dtb" |
20 | 22 | ||
@@ -22,6 +24,7 @@ JH_LINUX_DEMO_CELL ?= "" | |||
22 | JH_LINUX_DEMO_CELL:am62xx ?= "k3-am625-sk-linux-demo.cell" | 24 | JH_LINUX_DEMO_CELL:am62xx ?= "k3-am625-sk-linux-demo.cell" |
23 | JH_LINUX_DEMO_CELL:am65xx ?= "k3-am654-idk-linux-demo.cell" | 25 | JH_LINUX_DEMO_CELL:am65xx ?= "k3-am654-idk-linux-demo.cell" |
24 | JH_LINUX_DEMO_CELL:am62pxx ?= "k3-am62p5-sk-linux-demo.cell" | 26 | JH_LINUX_DEMO_CELL:am62pxx ?= "k3-am62p5-sk-linux-demo.cell" |
27 | JH_LINUX_DEMO_CELL:am62lxx ?= "k3-am62l3-evm-linux-demo.cell" | ||
25 | JH_LINUX_DEMO_CELL:j7 ?= "k3-j721e-evm-linux-demo.cell" | 28 | JH_LINUX_DEMO_CELL:j7 ?= "k3-j721e-evm-linux-demo.cell" |
26 | JH_LINUX_DEMO_CELL:j7200-evm ?= "k3-j7200-evm-linux-demo.cell" | 29 | JH_LINUX_DEMO_CELL:j7200-evm ?= "k3-j7200-evm-linux-demo.cell" |
27 | 30 | ||
@@ -31,6 +34,7 @@ JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}" | |||
31 | JH_CMDLINE ?= "" | 34 | JH_CMDLINE ?= "" |
32 | JH_CMDLINE:am62xx ?= "console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02810000" | 35 | JH_CMDLINE:am62xx ?= "console=ttyS3,115200n8 earlycon=ns16550a,mmio32,0x02810000" |
33 | JH_CMDLINE:am62pxx ?= "console=ttyS1,115200n8" | 36 | JH_CMDLINE:am62pxx ?= "console=ttyS1,115200n8" |
37 | JH_CMDLINE:am62lxx ?= "console=ttyS3,115200n8" | ||
34 | JH_CMDLINE:am65xx ?= "console=ttyS1,115200n8" | 38 | JH_CMDLINE:am65xx ?= "console=ttyS1,115200n8" |
35 | JH_CMDLINE:j7 ?= "console=ttyS3,115200n8" | 39 | JH_CMDLINE:j7 ?= "console=ttyS3,115200n8" |
36 | JH_CMDLINE:j7200-evm ?= "console=ttyS3,115200n8" | 40 | JH_CMDLINE:j7200-evm ?= "console=ttyS3,115200n8" |
@@ -51,11 +55,11 @@ do_install() { | |||
51 | install -d ${D}/boot | 55 | install -d ${D}/boot |
52 | if [ -n "${JH_RAMFS_IMAGE}" ] | 56 | if [ -n "${JH_RAMFS_IMAGE}" ] |
53 | then | 57 | then |
54 | if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ] | 58 | if [ -f ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio ] |
55 | then | 59 | then |
56 | install -m 0644 ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}-${MACHINE}.cpio ${D}/boot | 60 | install -m 0644 ${DEPLOY_DIR_IMAGE}/${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio ${D}/boot |
57 | else | 61 | else |
58 | bberror "Could not find JH_RAMFS_IMAGE (${JH_RAMFS_IMAGE}-${MACHINE}.cpio)!" | 62 | bberror "Could not find JH_RAMFS_IMAGE (${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio)!" |
59 | bberror "Please make sure that \"cpio\" is in IMAGE_FSTYPES." | 63 | bberror "Please make sure that \"cpio\" is in IMAGE_FSTYPES." |
60 | fi | 64 | fi |
61 | fi | 65 | fi |
@@ -68,7 +72,7 @@ do_install() { | |||
68 | ./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \ | 72 | ./jailhouse-cell-linux -w ${D}${JH_DATADIR}/${JH_INMATE_DTB} \ |
69 | -a ${JH_ARCH} -c "${JH_CMDLINE}" \ | 73 | -a ${JH_ARCH} -c "${JH_CMDLINE}" \ |
70 | -d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \ | 74 | -d ../configs/${JH_ARCH}/dts/${JH_INMATE_DTB} \ |
71 | -i ${D}/boot/${JH_RAMFS_IMAGE}-${MACHINE}.cpio \ | 75 | -i ${D}/boot/${JH_RAMFS_IMAGE}*-${MACHINE}.rootfs.cpio \ |
72 | ${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \ | 76 | ${D}${CELL_DIR}/${JH_LINUX_DEMO_CELL} \ |
73 | ${DEPLOY_DIR_IMAGE}/Image \ | 77 | ${DEPLOY_DIR_IMAGE}/Image \ |
74 | | tr -cd '\11\12\15\40-\176' \ | 78 | | tr -cd '\11\12\15\40-\176' \ |
@@ -96,7 +100,8 @@ RDEPENDS:pyjailhouse = "python3-core python3-ctypes python3-fcntl python3-shell" | |||
96 | 100 | ||
97 | RRECOMMENDS:${PN} = "${PN}-tools" | 101 | RRECOMMENDS:${PN} = "${PN}-tools" |
98 | 102 | ||
99 | INSANE_SKIP:${PN} = "ldflags" | 103 | INSANE_SKIP:${PN} = "ldflags usrmerge" |
104 | INSANE_SKIP:${PN}-dbg = "usrmerge buildpaths" | ||
100 | 105 | ||
101 | KERNEL_MODULE_AUTOLOAD += "jailhouse" | 106 | KERNEL_MODULE_AUTOLOAD += "jailhouse" |
102 | 107 | ||
@@ -117,10 +122,7 @@ python __anonymous () { | |||
117 | } | 122 | } |
118 | 123 | ||
119 | FILES:${PN} = " \ | 124 | FILES:${PN} = " \ |
120 | /boot/* \ | 125 | /boot \ |
121 | /usr/libexec \ | 126 | /usr \ |
122 | /usr/sbin/* \ | 127 | /lib \ |
123 | /usr/libexec/* \ | ||
124 | /usr/share/* \ | ||
125 | /lib/firmware/* \ | ||
126 | " | 128 | " |
diff --git a/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc index 6faf16b8..e8374201 100644 --- a/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc +++ b/meta-ti-extras/recipes-ti/jailhouse/ti-jailhouse.inc | |||
@@ -11,10 +11,10 @@ LIC_FILES_CHKSUM = " \ | |||
11 | file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \ | 11 | file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \ |
12 | " | 12 | " |
13 | 13 | ||
14 | COMPATIBLE_MACHINE = "am62xx|am62pxx" | 14 | COMPATIBLE_MACHINE = "am62xx|am62pxx|am62lxx" |
15 | TARGET_CC_ARCH += "${LDFLAGS}" | 15 | TARGET_CC_ARCH += "${LDFLAGS}" |
16 | PV = "0.12+git" | 16 | PV = "0.12+git" |
17 | SRCREV = "603819ef9a771a3c253a141220daab8e61751a43" | 17 | SRCREV = "ef512f9591febed854d8f07ad8c1fa731c2d3c69" |
18 | BRANCH = "master" | 18 | BRANCH = "master" |
19 | SRC_URI = " \ | 19 | SRC_URI = " \ |
20 | git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \ | 20 | git://git.ti.com/git/jailhouse/ti-jailhouse.git;protocol=https;branch=${BRANCH} \ |
@@ -43,7 +43,6 @@ export JH_ARCH = "${@map_jh_arch(d.getVar('TARGET_ARCH', True), d)}" | |||
43 | 43 | ||
44 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | 44 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" |
45 | 45 | ||
46 | S = "${WORKDIR}/git" | ||
47 | B = "${S}" | 46 | B = "${S}" |
48 | 47 | ||
49 | DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native" | 48 | DEPENDS = "virtual/kernel dtc-native python3-mako-native python3-mako make-native" |
@@ -63,6 +62,7 @@ JH_SYSCONFIG_CELL ?= "" | |||
63 | JH_SYSCONFIG_CELL:am62xx ?= "k3-am625-sk.cell" | 62 | JH_SYSCONFIG_CELL:am62xx ?= "k3-am625-sk.cell" |
64 | JH_SYSCONFIG_CELL:am65xx ?= "k3-am654-idk.cell" | 63 | JH_SYSCONFIG_CELL:am65xx ?= "k3-am654-idk.cell" |
65 | JH_SYSCONFIG_CELL:am62pxx ?= "k3-am62p5-sk.cell" | 64 | JH_SYSCONFIG_CELL:am62pxx ?= "k3-am62p5-sk.cell" |
65 | JH_SYSCONFIG_CELL:am62lxx ?= "k3-am62l3-evm.cell" | ||
66 | JH_SYSCONFIG_CELL:j7 ?= "k3-j721e-evm.cell" | 66 | JH_SYSCONFIG_CELL:j7 ?= "k3-j721e-evm.cell" |
67 | JH_SYSCONFIG_CELL:j7200-evm ?= "k3-j7200-evm.cell" | 67 | JH_SYSCONFIG_CELL:j7200-evm ?= "k3-j7200-evm.cell" |
68 | 68 | ||
diff --git a/meta-ti-extras/recipes-ti/mathlib/mathlib.inc b/meta-ti-extras/recipes-ti/mathlib/mathlib.inc index 6ad073ec..ae70cc37 100644 --- a/meta-ti-extras/recipes-ti/mathlib/mathlib.inc +++ b/meta-ti-extras/recipes-ti/mathlib/mathlib.inc | |||
@@ -11,11 +11,8 @@ DEPENDS = "ti-cgt6x-native \ | |||
11 | ti-xdctools-native \ | 11 | ti-xdctools-native \ |
12 | ti-sysbios \ | 12 | ti-sysbios \ |
13 | doxygen-native \ | 13 | doxygen-native \ |
14 | zip-native \ | ||
15 | swtools" | 14 | swtools" |
16 | 15 | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | MATHLIB_GIT_BRANCH = "master" | 16 | MATHLIB_GIT_BRANCH = "master" |
20 | MATHLIB_GIT_PROTOCOL = "https" | 17 | MATHLIB_GIT_PROTOCOL = "https" |
21 | MATHLIB_GIT_URI = "git://git.ti.com/git/ep-processor-libraries/mathlib.git" | 18 | MATHLIB_GIT_URI = "git://git.ti.com/git/ep-processor-libraries/mathlib.git" |
@@ -26,18 +23,18 @@ SRCREV = "${MATHLIB_SRCREV}" | |||
26 | 23 | ||
27 | LIC_FILES_CHKSUM = "file://ti/mathlib/src/acosdp/acosdp.h;beginline=1;endline=35;md5=c133f7e139b46385906c861dd9552250" | 24 | LIC_FILES_CHKSUM = "file://ti/mathlib/src/acosdp/acosdp.h;beginline=1;endline=35;md5=c133f7e139b46385906c861dd9552250" |
28 | 25 | ||
29 | export MATHLIB_WORK_DIR="${S}" | 26 | export MATHLIB_WORK_DIR = "${S}" |
30 | export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" | 27 | export CGTOOLS_INSTALL_DIR = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" |
31 | export C64PCODEGENTOOL="${CGTOOLS_INSTALL_DIR}" | 28 | export C64PCODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" |
32 | export C674CODEGENTOOL="${CGTOOLS_INSTALL_DIR}" | 29 | export C674CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" |
33 | export C66CODEGENTOOL ="${CGTOOLS_INSTALL_DIR}" | 30 | export C66CODEGENTOOL = "${CGTOOLS_INSTALL_DIR}" |
34 | export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" | 31 | export SWTOOLS_PATH = "${SWTOOLS_INSTALL_DIR}/ti/mas/swtools" |
35 | export XDCBUILDCFG="${SWTOOLS_PATH}/config.bld" | 32 | export XDCBUILDCFG = "${SWTOOLS_PATH}/config.bld" |
36 | 33 | ||
37 | PATH:append = ":${XDC_INSTALL_DIR}" | 34 | PATH:append = ":${XDC_INSTALL_DIR}" |
38 | 35 | ||
39 | XDCPATH.="${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" | 36 | XDCPATH .= "${XDCCGROOT}/include;${XDC_INSTALL_DIR}/packages;${SYSBIOS_INSTALL_DIR}/packages;" |
40 | XDCPATH.="${SWTOOLS_INSTALL_DIR};${MATHLIB_WORK_DIR};" | 37 | XDCPATH .= "${SWTOOLS_INSTALL_DIR};${MATHLIB_WORK_DIR};" |
41 | 38 | ||
42 | export XDCPATH | 39 | export XDCPATH |
43 | 40 | ||
@@ -56,19 +53,6 @@ do_install() { | |||
56 | rm -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib | 53 | rm -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib |
57 | } | 54 | } |
58 | 55 | ||
59 | inherit deploy | ||
60 | addtask deploy before do_build after do_install | ||
61 | |||
62 | do_deploy() { | ||
63 | install -d ${DEPLOYDIR} | ||
64 | # zip up files in ${D}${MATHLIB_INSTALL_DIR_RECIPE} | ||
65 | # and place the zip file in ${DEPLOYDIR} | ||
66 | mkdir ./${MATHLIB_PACKAGE_NAME} | ||
67 | cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/. ./${MATHLIB_PACKAGE_NAME} | ||
68 | zip -9 -y -r -q ${DEPLOYDIR}/${MATHLIB_PACKAGE_NAME}.zip ./${MATHLIB_PACKAGE_NAME} | ||
69 | rm -r ./${MATHLIB_PACKAGE_NAME} | ||
70 | } | ||
71 | |||
72 | ALLOW_EMPTY:${PN} = "1" | 56 | ALLOW_EMPTY:${PN} = "1" |
73 | FILES:${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}" | 57 | FILES:${PN}-dev += "${MATHLIB_INSTALL_DIR_RECIPE}" |
74 | 58 | ||
diff --git a/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb b/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb deleted file mode 100644 index aa4bc6cd..00000000 --- a/meta-ti-extras/recipes-ti/openmp-rtos/openmp-rtos_git.bb +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | DESCRIPTION = "TI OpenMP RTOS" | ||
2 | HOMEPAGE = "git://git.ti.com/git/openmp/ti-openmp-dsp-runtime.git" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | |||
5 | require recipes-ti/includes/ti-paths.inc | ||
6 | |||
7 | inherit features_check | ||
8 | |||
9 | REQUIRED_MACHINE_FEATURES = "dsp" | ||
10 | REQUIRED_DISTRO_FEATURES = "openmp" | ||
11 | |||
12 | PV = "2_06_03_00" | ||
13 | PR = "r0" | ||
14 | |||
15 | OPENMP_RTOS_GIT_URI = "git://git.ti.com/git/openmp/ti-openmp-dsp-runtime.git" | ||
16 | OPENMP_RTOS_GIT_PROTOCOL = "https" | ||
17 | OPENMP_RTOS_GIT_BRANCH = "master" | ||
18 | |||
19 | BRANCH = "${OPENMP_RTOS_GIT_BRANCH}" | ||
20 | SRC_URI = "${OPENMP_RTOS_GIT_URI};protocol=${OPENMP_RTOS_GIT_PROTOCOL};branch=${BRANCH}" | ||
21 | |||
22 | SRCREV = "c090eb664d9815a36ead0e14f31e102590680fb8" | ||
23 | |||
24 | LIC_FILES_CHKSUM = "file://docs/license/omp_manifest_template.html;md5=61a6972303c0447b7c056195d7ebafee" | ||
25 | |||
26 | DEPENDS = "common-csl-ip-rtos doxygen-native libulm ti-xdctools-native ti-ipc-rtos ti-sysbios ti-cgt6x-native zip-native" | ||
27 | |||
28 | COMPATIBLE_MACHINE = "omap-a15" | ||
29 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
30 | |||
31 | S = "${WORKDIR}/git" | ||
32 | export IPC_DIR = "${IPC_INSTALL_DIR}" | ||
33 | export XDC_DIR = "${XDC_INSTALL_DIR}" | ||
34 | export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}" | ||
35 | export ULM_DIR ="${STAGING_DIR_TARGET}/usr/share/ti/ulm" | ||
36 | export C6636_PDK_DIR ="${PDK_INSTALL_DIR}" | ||
37 | export AM572_PDK_DIR ="${PDK_INSTALL_DIR}" | ||
38 | export XDCCGROOT = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x" | ||
39 | |||
40 | export BUILD_AM572 = "0" | ||
41 | |||
42 | BUILD_AM572:omap-a15 = "1" | ||
43 | |||
44 | RELEASE_TARGET = "" | ||
45 | RELEASE_TARGET:omap-a15 = "am57xx" | ||
46 | |||
47 | do_compile() { | ||
48 | make -f utils/product/Makefile .zipfile | ||
49 | } | ||
50 | |||
51 | do_install() { | ||
52 | install -d ${D}${OMP_INSTALL_DIR_RECIPE} | ||
53 | cp -r ${S}/exports/openmp_dsp_${RELEASE_TARGET}_*/. -d ${D}${OMP_INSTALL_DIR_RECIPE} | ||
54 | } | ||
55 | |||
56 | ALLOW_EMPTY:${PN} = "1" | ||
57 | |||
58 | FILES:${PN}-dev += " \ | ||
59 | ${OMP_INSTALL_DIR_RECIPE}/ \ | ||
60 | " | ||
61 | |||
62 | INSANE_SKIP:${PN}-dev = "arch" | ||
diff --git a/meta-ti-extras/recipes-ti/osal/ti-osal.inc b/meta-ti-extras/recipes-ti/osal/ti-osal.inc deleted file mode 100644 index b0470793..00000000 --- a/meta-ti-extras/recipes-ti/osal/ti-osal.inc +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | DESCRIPTION = "TI Operating System Abstraction Library (OSAL)" | ||
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal" | ||
3 | LICENSE = "BSD-3-Clause & EPL-1.0" | ||
4 | SECTION = "devel" | ||
5 | |||
6 | require ../includes/ti-paths.inc | ||
7 | require ../includes/ti-staging.inc | ||
8 | |||
9 | S = "${WORKDIR}/osal_${PV}" | ||
10 | |||
11 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/osal/${PV}/exports/osal_${PV}.tar.gz;name=osaltarball" | ||
12 | |||
13 | do_install() { | ||
14 | install -d ${D}${OSAL_INSTALL_DIR_RECIPE} | ||
15 | cp -pPrf ${S}/* ${D}${OSAL_INSTALL_DIR_RECIPE} | ||
16 | } | ||
17 | |||
18 | INSANE_SKIP:${PN}-dev = "staticdev" | ||
19 | |||
20 | ALLOW_EMPTY:${PN} = "1" | ||
21 | FILES:${PN}-dev += "${OSAL_INSTALL_DIR_RECIPE}" | ||
22 | |||
23 | COMPATIBLE_HOST ?= "null" | ||
24 | COMPATIBLE_HOST:ti-soc = "(.*)" | ||
diff --git a/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb b/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb deleted file mode 100644 index 226458be..00000000 --- a/meta-ti-extras/recipes-ti/osal/ti-osal_1.24.00.09.bb +++ /dev/null | |||
@@ -1,9 +0,0 @@ | |||
1 | require ti-osal.inc | ||
2 | |||
3 | PV = "1_24_00_09" | ||
4 | PR = "r0" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://osal_${PV}_Manifest.html;md5=c110191994d011cee4cd02189ed3c9f4" | ||
7 | |||
8 | SRC_URI[osaltarball.md5sum] = "a7ea85447fa0ff0f786d527a52fa6e8b" | ||
9 | SRC_URI[osaltarball.sha256sum] = "d14f1f43c8a7965e86add69bd813cea56ea7e38abeb55de3fdcdaf4a69f19bf3" | ||
diff --git a/meta-ti-extras/recipes-ti/swtools/swtools_git.bb b/meta-ti-extras/recipes-ti/swtools/swtools_git.bb index 4bcd6754..82de2040 100644 --- a/meta-ti-extras/recipes-ti/swtools/swtools_git.bb +++ b/meta-ti-extras/recipes-ti/swtools/swtools_git.bb | |||
@@ -12,7 +12,6 @@ DEPENDS = "ti-cgt6x-native \ | |||
12 | 12 | ||
13 | PV = "5_0_8" | 13 | PV = "5_0_8" |
14 | PR = "r3" | 14 | PR = "r3" |
15 | S = "${WORKDIR}/git" | ||
16 | 15 | ||
17 | SWTOOLS_GIT_BRANCH = "master" | 16 | SWTOOLS_GIT_BRANCH = "master" |
18 | SWTOOLS_GIT_PROTOCOL = "https" | 17 | SWTOOLS_GIT_PROTOCOL = "https" |
diff --git a/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc b/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc index 6b5e186c..94c5d33b 100644 --- a/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc +++ b/meta-ti-extras/recipes-ti/vlib/vlib-c66x.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "TI Vision Library (VLIB) for C66x" | 1 | SUMMARY = "TI Vision Library (VLIB) for C66x" |
2 | HOMEPAGE = "http://software-dl.ti.com/libs/vlib/latest/index_FDS.html" | 2 | HOMEPAGE = "http://software-dl.ti.com/libs/vlib/latest/index_FDS.html" |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "TI-TSPA & BSD-3-Clause" | 4 | LICENSE = "TI-TSPA & BSD-3-Clause" |
@@ -11,11 +11,11 @@ COMPATIBLE_MACHINE = "omap-a15" | |||
11 | 11 | ||
12 | SRC_URI = "http://software-dl.ti.com/libs/vlib/${PV}//exports/vlib_c66x_obj_${PV}_Linux.bin;name=vlibbin" | 12 | SRC_URI = "http://software-dl.ti.com/libs/vlib/${PV}//exports/vlib_c66x_obj_${PV}_Linux.bin;name=vlibbin" |
13 | 13 | ||
14 | S = "${WORKDIR}/vlib_c66x_${PV}" | 14 | S = "${UNPACKDIR}/vlib_c66x_${PV}" |
15 | 15 | ||
16 | BINFILE="vlib_c66x_obj_${PV}_Linux.bin" | 16 | BINFILE = "vlib_c66x_obj_${PV}_Linux.bin" |
17 | TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" | 17 | TI_BIN_UNPK_ARGS = "--mode silent --prefix ${S}" |
18 | TI_BIN_UNPK_CMDS="" | 18 | TI_BIN_UNPK_CMDS = "" |
19 | 19 | ||
20 | do_install() { | 20 | do_install() { |
21 | CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" | 21 | CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership" |
diff --git a/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc b/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc index 67d19022..070e28c3 100644 --- a/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc +++ b/meta-ti-extras/recipes-ti/xdais/ti-xdais.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | DESCRIPTION = "TI eXpress DSP Algorithm Interface Standard (XDAIS) specification" | 1 | SUMMARY = "TI eXpress DSP Algorithm Interface Standard (XDAIS) specification" |
2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais" | 2 | HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais" |
3 | LICENSE = "GPL-2.0-only" | 3 | LICENSE = "GPL-2.0-only" |
4 | SECTION = "devel" | 4 | SECTION = "devel" |
@@ -6,7 +6,7 @@ SECTION = "devel" | |||
6 | require ../includes/ti-paths.inc | 6 | require ../includes/ti-paths.inc |
7 | require ../includes/ti-staging.inc | 7 | require ../includes/ti-staging.inc |
8 | 8 | ||
9 | S = "${WORKDIR}/xdais_${PV}" | 9 | S = "${UNPACKDIR}/xdais_${PV}" |
10 | 10 | ||
11 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/${PV}/exports/xdais_${PV}.tar.gz;name=xdaistarball" | 11 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/xdais/${PV}/exports/xdais_${PV}.tar.gz;name=xdaistarball" |
12 | 12 | ||