1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-01-12 01:20:20 +00:00

Compare commits

...

64 Commits

Author SHA1 Message Date
Denys Dmytriyenko
26265d5957 am57xx-evm, dra7xx-evm: re-add flattened DTBs for cam and lcd modules
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-17 17:13:31 +00:00
Dan Murphy
26b37c6d37 linux-ti-staging: update to the ti2020.00-rc4 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-17 15:55:00 +00:00
Dan Murphy
be8d05942c uboot-ti-staging: update to ti2020.00-rc4 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-17 15:54:52 +00:00
Nikhil Devshatwar
d111336a72 recipes-kernel: jailhouse: Update SRCREV to latest
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-17 15:53:22 +00:00
Angela Stegmaier
78b5c3bed3 ti-ipc: Update to new version 3.51.00.00A
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-16 19:10:32 +00:00
Gowtham Tammana
e876faa42b ti-gc320-driver: Update srcrev to pick dma api fixes
Update srcrev to pick the fixes for dma api crashes.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-12 16:20:03 +00:00
Mahesh Radhakrishnan
96202061bd sciclient-rtos: SRCREV update, adding steps to generate sysfw.bin
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-10 21:04:06 +00:00
Nikhil Devshatwar
f4ea535d27 recipes-bsp: ivshmem-uio-tests: New recipe for ivshmem test apps
uio_send and uio_read are the applications used for communication
between different Virtual Machines using the ivshmem protocol.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-06 18:30:54 +00:00
Tinku Mannan
5a62f194ca nimu-icss: Adding k3 to COMPATIBLE_MACHINE list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-06 18:28:24 +00:00
Tinku Mannan
839bcddc1a icss-emac-lld: Adding k3 to COMPATIBLE_MACHINE list
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-06 18:27:55 +00:00
Nikhil Devshatwar
eeb453a3c2 conf: j7-evm: Update the secondary console for jailhouse
Latest upstream jailhouse uses ttyS3 as console.
Update the conf file so that this reflects correctly in the
tiny rootfs.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-05 04:59:44 +00:00
Nikhil Devshatwar
d9069bc3da recipes-bsp: jailhouse: Update tty for j7-evm jailhouse
Latest upstream jailhouse uses ttyS3 as the console for
inmate cell. Update the recipe to pass the correct cmdline.

Override only for j7-evm

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-05 04:59:44 +00:00
Dan Murphy
c1280a8ca2 linux-ti-staging: update to the ti2020.00-rc3 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-05 04:59:41 +00:00
Dan Murphy
56799c57b8 uboot-ti-staging: update to ti2020.00-rc3 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-05 04:59:31 +00:00
Mahesh Radhakrishnan
df00fe268b ti-cgt-arm: Update to 18.12.5
The License checksum has changed due to version number change, but the
license itself has not changed

Signed-off-by: Mahesh Radhakrishnan <m-radhakrishnan2@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-03-02 18:23:07 +00:00
Denys Dmytriyenko
e9ef9f510b licenses: add Hewlett-Packard and Patrick-Powell licenses used by Code Gen tools
Also correct ti-cgt-arm to not reference Hewlett-Packard, only Patrick-Powell,
according to included SPDX document.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-27 21:09:50 +00:00
Denys Dmytriyenko
9d191db7b0 ti-cgt6x: remove deprecated versions
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-27 21:09:38 +00:00
Denys Dmytriyenko
08123a9fb0 am65xx-evm: re-add k3-am654-evm-prupwm.dtbo
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-25 22:33:19 +00:00
Nikhil Devshatwar
eea0072732 conf: j7-evm: Add jailhouse dtbo
Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-25 22:14:06 +00:00
Dan Murphy
e274ba4a67 uboot-ti-staging: update to ti2020.00-rc2 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-25 22:14:03 +00:00
Dan Murphy
84fe8a290d linux-ti-staging: update to the ti2020.00-rc2 tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-25 22:13:51 +00:00
Nikhil Devshatwar
55fcbdfb96 recipes-kernel: jailhose: Update to 0.12 version
Jailhouse 0.12 does not need to define custom config flags.
Remove the steps to copy the config from do_configure task

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-25 04:38:39 +00:00
Angela Stegmaier
d35867f72e board-rtos: Update dependencies for am65xx-evm
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-21 22:14:31 +00:00
Angela Stegmaier
382454a73c common-csl-ip: bump SRCREV to align with PDK
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-21 22:14:21 +00:00
Angela Stegmaier
d3716d4607 ti-pdk-fetch: SRCREV udpate to 2020.2.20
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-21 22:13:44 +00:00
Jacob Stiffler
b3cffb41cc ti-cgt-arm: skip file-rdeps as this package is precompiled
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-21 22:13:02 +00:00
Denys Dmytriyenko
161120dc1f layer.conf: drop ti-ipc from SIGGEN_EXCLUDERECIPES_ABISAFE for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 22:29:05 +00:00
Denys Dmytriyenko
541d62443c vis: mark as compatible with dra7xx family
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 22:29:01 +00:00
Denys Dmytriyenko
0944b5e1ce omap-a15: add gc320 machine feature
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 22:28:57 +00:00
Denys Dmytriyenko
186a97c3f1 sgx-um, rogue-umlibs, gc320-libs: RRECOMMENDS on corresponding drivers
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 22:28:49 +00:00
Denys Dmytriyenko
7238e370bc ion-tests: move back to meta-arago-extras
As it happens, ion-tests requires gtest from by meta-oe, but meta-ti has no
dependency on meta-oe. Unfortunately this was overlooked when all ion recipes
were migrated to meta-ti. Fix this by moving just ion-tests back.

Cc: Andrew F. Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 16:20:30 +00:00
Angela Stegmaier
836f987926 ipc-lld: Update examples build target
Update the build target from examples to apps.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 02:49:59 +00:00
Mahesh Radhakrishnan
daaf30e62f sciclient-rtos: Updating License checksum, along with the file it is calculated
The license as such has not changed, but moved to a License file which
is not expected to change frequently

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 02:45:47 +00:00
Mahesh Radhakrishnan
f1112d5644 ti-pdk-fetch: SRCREV udpate to 2020.2.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-20 02:45:06 +00:00
Denys Dmytriyenko
19a73c96bd k3conf: add diagnostic tool for K3 platforms
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-17 21:05:03 +00:00
Denys Dmytriyenko
1e9dde5af9 multiprocmgr: update to latest, drop upstreamed patches
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-17 18:25:44 +00:00
Denys Dmytriyenko
ff8621e0fa j7-evm: add k3-j721e-pcie-backplane.dtbo
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-17 18:25:40 +00:00
Denys Dmytriyenko
9cf16044d2 am57xx-evm: re-add am5729-beagleboneai.dtb
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-17 18:25:36 +00:00
Dan Murphy via Lists.Yoctoproject.Org
a0e0028023 u-boot-ti-staging: Update for ti2020.01-rc tag
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-17 17:15:57 +00:00
Denys Dmytriyenko
35fb18a35f gdbc6x: suppress gcc9 -Wstringop-truncation warning
It's an old bfd/coff code, will need to be updated in the future.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-17 17:15:51 +00:00
Denys Dmytriyenko
a139fa4d47 linux-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-15 04:05:41 +00:00
Gowtham Tammana
623b3bc87c ti-sgx-ddk-km: Update srcrev to pick use preemption
Update srcrev to pick the use preemption changes.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-15 04:02:41 +00:00
Ramprasad N
77c0db27d9 ipumm: Update SRCREV with the vring fix for k5.1+
The following is the main change done:
Use FW_RSC_ADDR_ANY for places where memory needs to be allocated
dynamically like RSC_CARVEOUT and vdev resource entries

Signed-off-by: Ramprasad N <x0038811@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-15 04:02:03 +00:00
Gowtham Tammana
10655ece44 ti-sgx-ddk-km: Update srcrev for rtlinux build
Update srcrev to pickup fix for rt linux build error.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-13 21:55:49 +00:00
Gowtham Tammana
15306e387f ti-gc320-driver: Update srcrev to pick rtlinux build fix
Update srcrev to pick the fix for rt linux build issue.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-13 19:22:58 +00:00
Andrew F. Davis
3ed79f3864 ti-sgx-ddk-km: Enable SGX driver for Beagleboard and Pandaboard
These boards have SGX GPUs but do not build as this recipe is not
compatible with them, add compatibles for these machines.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-13 18:32:58 +00:00
Andrew F. Davis
4d5aa867b9 ti-sgx-ddk-um: bump SRCREV for zeus support
This also allows us to do two extra tasks so lets do them here:
 - Add support back for Beagleboard and Pandaboard
 - Remove plugins workaround as SO names are handled correctly now

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-13 18:32:50 +00:00
Denys Dmytriyenko
0080cf2bac conf/machine: add dependency for wic to package deployed SPL
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-13 18:32:25 +00:00
Denys Dmytriyenko
8accc5bd44 multiprocmgr: swap SUMMARY and DESCRIPTION fields
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-12 02:16:08 +00:00
Denys Dmytriyenko
e1303e71f9 multiprocmgr-test: also do not access kernel headers directly
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-12 02:16:04 +00:00
Denys Dmytriyenko
cc5437d810 multiprocmgr: do not mix kernel and user-space headers, fully depend on uapi
As multiprocmgr is a user-space app and should only use uapi headers, drop
extra -I for the kernel headers. Patch out any assumptions of direct access
to the kernel headers.

Cc: Suman Anna <s-anna@ti.com>
Cc: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 22:17:04 +00:00
Andrew F. Davis via Lists.Yoctoproject.Org
489d825af6 ti-sgx-ddk-km: Update branch for k5.4 sources
Update the BRANCH and SRCREV to pick the sources for k5.4.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 17:15:14 +00:00
Denys Dmytriyenko
0498b5a5be linux-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 03:53:01 +00:00
Denys Dmytriyenko
cc33d4a57b u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 03:52:57 +00:00
Denys Dmytriyenko
340930513d u-boot-ti: switch to Python3
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 01:15:22 +00:00
Khem Raj
53c5fef6d9 ti-cgt6x: Limit it to TI SOCs
Helps meta-ti live in a multi-BSP distributions

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 01:14:08 +00:00
Denys Dmytriyenko
d6535f8385 conf/machine: generalize wic usage by moving settings to SOC files
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 01:14:02 +00:00
Gowtham Tammana via Lists.Yoctoproject.Org
eac4b257d6 ti-gc320-driver: Update branch for k5.4
Update branch and srcrev for k5.4 support.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-11 01:13:55 +00:00
Denys Dmytriyenko
0880c81d41 u-boot-ti-staging: update to the latest
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-08 00:09:01 +00:00
Denys Dmytriyenko
bef7878fff linux-ti-staging: update to 5.4.17
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-08 00:08:56 +00:00
Gowtham Tammana
4098d12b99 ti-img-rogue-umlibs: Update branch for zeus
Update branch for zeus release. There is no change to srcrev.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-08 00:08:42 +00:00
Gowtham Tammana
8c7ba576af ti-img-rogue-driver: Update branch to pick k5.4 sources
Update the branch id to pick the sources relevant to k5.4.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-08 00:08:24 +00:00
Sam Nelson via Lists.Yoctoproject.Org
7c947a48a8 ti-ipc: Update to new version 3.51.00.00
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-07 21:19:00 +00:00
Angela Stegmaier via Lists.Yoctoproject.Org
631f2a14e0 ipc-lld: limit BOARDS list when building for j7-evm
For now only j721e_evm is supported when building for j7-evm
MACHINE target. Limit the BOARDS list in this case to what is
supported.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2020-02-07 21:19:00 +00:00
55 changed files with 266 additions and 351 deletions

View File

@@ -1,9 +1,9 @@
TI_PDK_GIT_URI ?= "git://git.ti.com/processor-sdk/pdk.git"
TI_PDK_GIT_BRANCH ?= "master"
TI_PDK_GIT_PROTOCOL ?= "git"
TI_PDK_SRCREV ?= "5ddf121a09af4ac58a18103848d4ab8e741e23d6"
TI_PDK_SRCREV ?= "4d15e4d2654c48f48b91d7aa52828d66ece2cc12"
TI_PDK_VERSION ?= "2020.1.22"
TI_PDK_VERSION ?= "2020.2.20"
PV = "${TI_PDK_VERSION}"

View File

@@ -17,8 +17,6 @@ LAYERDEPENDS_meta-ti = "core"
SIGGEN_EXCLUDERECIPES_ABISAFE += " \
ti-sgx-ddk-km \
ti-sgx-ddk-um \
ti-ipc \
ti-ipc-rtos \
cmem-mod \
hplib-mod \
gdbserverproxy-module-drv \

View File

@@ -7,7 +7,7 @@ require conf/machine/include/ti33x.inc
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi"
# Normally AM335 boards use ttyS0, but ICE uses ttyS3, so try both
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS3"

View File

@@ -7,7 +7,7 @@ require conf/machine/include/ti43x.inc
MACHINE_GUI_CLASS = "smallscreen"
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "ubifs ubi tar.xz"
IMAGE_FSTYPES += "ubifs ubi"
SERIAL_CONSOLES = "115200;ttyS0"

View File

@@ -6,17 +6,25 @@ require conf/machine/include/dra7xx.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLES = "115200;ttyS2"
KERNEL_DEVICETREE = " \
am57xx-beagle-x15.dtb am57xx-beagle-x15-revb1.dtb am57xx-beagle-x15-revc.dtb \
am57xx-beagle-x15.dtb \
am57xx-beagle-x15-revb1.dtb \
am57xx-beagle-x15-revc.dtb \
am5729-beagleboneai.dtb \
am57xx-evm.dtb \
am57xx-evm-cam-ov10635.dtb \
am57xx-evm-reva3.dtb \
am57xx-evm-reva3-cam-ov10635.dtb \
am571x-idk.dtb \
am571x-idk-lcd-osd101t2045.dtb \
am571x-idk-lcd-osd101t2587.dtb \
am572x-idk.dtb \
am572x-idk-lcd-osd101t2045.dtb \
am572x-idk-lcd-osd101t2587.dtb \
am574x-idk.dtb \
am574x-idk-lcd-osd101t2587.dtb \
"
KERNEL_DEVICETREE += "${@oe.utils.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)}"

View File

@@ -6,8 +6,6 @@ require conf/machine/include/am65xx.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "tar.xz wic.xz"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
@@ -17,6 +15,7 @@ KERNEL_DEVICETREE = " \
ti/k3-am654-evm-oldi-lcd1evm.dtbo ti/k3-am654-evm-tc358876.dtbo \
ti/k3-am654-pcie-usb2.dtbo ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am654-base-board-jailhouse.dtbo \
ti/k3-am654-evm-prupwm.dtbo \
"
UBOOT_MACHINE = "am65x_evm_a53_defconfig"
@@ -24,11 +23,3 @@ UBOOT_MACHINE = "am65x_evm_a53_defconfig"
OPTEEMACHINE = "k3"
OPTEEFLAVOR = "am65x"
OPTEEOUTPUTMACHINE = "k3"
# Please note that booting AM65xx platform also requires
# tiboot3.bin and sysfw.itb, which are provided by meta-arago
# u-boot-k3-r5 and ti-sci-fw recipes
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
WKS_FILE ?= "sdimage-bootpart.wks"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -11,28 +11,3 @@ MACHINE_GUI_CLASS = "bigscreen"
SERIAL_CONSOLES = "115200;ttyS2"
UBOOT_MACHINE = "am57xx_evm_config"
WKS_FILE ?= "sdimage-bootpart.wks"
IMAGE_BOOT_FILES = "MLO u-boot.img"
IMAGE_FSTYPES += "tar.xz wic.xz"
# UBI information. Note that this is board and kernel specific. Changes
# in your kernel port may require changes in these variables. For more
# details about this board please see
# http://processors.wiki.ti.com/index.php/UBIFS_Support
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# From dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: logical eraseblock size: 126976 bytes
# from ubiattach stdout:
# UBI device number 0, total 1988 LEBs
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 8192"
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
# from dmesg:
# UBI: smallest flash I/O unit: 2048
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
# UBI: sub-page size: 512
# UBI: VID header offset: 2048 (aligned 2048)
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"

View File

@@ -13,12 +13,6 @@ MACHINE_GUI_CLASS = "bigscreen"
SERIAL_CONSOLES = "115200;ttyS0"
WKS_FILE ?= "sdimage-bootpart.wks"
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY}"
IMAGE_FSTYPES += "tar.xz wic.xz"
IMAGE_INSTALL_append = " kernel-devicetree kernel-image-zimage"
# Refine the list of device targets for ti-pdk class recipes

View File

@@ -6,17 +6,23 @@ require conf/machine/include/dra7xx.inc
MACHINE_FEATURES += "touchscreen"
IMAGE_FSTYPES += "tar.xz"
SERIAL_CONSOLES = "115200;ttyS0"
KERNEL_DEVICETREE = " \
dra7-evm.dtb \
dra7-evm.dtb \
dra7-evm-lcd-osd101t2045.dtb \
dra7-evm-lcd-osd101t2587.dtb \
dra71-evm.dtb \
dra71-evm-nand.dtb \
dra72-evm.dtb \
dra72-evm-revc.dtb \
dra71-evm-lcd-auo-g101evn01.0.dtb \
dra72-evm.dtb \
dra72-evm-lcd-osd101t2045.dtb \
dra72-evm-lcd-osd101t2587.dtb \
dra72-evm-revc.dtb \
dra72-evm-revc-lcd-osd101t2045.dtb \
dra72-evm-revc-lcd-osd101t2587.dtb \
dra76-evm.dtb \
dra76-evm-tfp410.dtb \
"
UBOOT_MACHINE = "dra7xx_evm_config"

View File

@@ -31,3 +31,12 @@ UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet pci gpu"
# Not ready yet - dsp mmip
IMAGE_FSTYPES += "tar.xz wic.xz"
# Please note that booting K3 platform also requires
# tiboot3.bin and sysfw.itb, which are provided by meta-arago
# u-boot-k3-r5 and ti-sci-fw recipes
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
WKS_FILE ?= "sdimage-bootpart.wks"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -36,4 +36,9 @@ MACHINE_GUI_CLASS = "smallscreen"
UBI_VOLNAME = "rootfs"
# List common SoC features, may need to add touchscreen for specific machines
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp"
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet gpu mmip dsp gc320"
IMAGE_FSTYPES += "tar.xz wic.xz"
WKS_FILE ?= "sdimage-bootpart.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -29,6 +29,7 @@ KERNEL_IMAGETYPE = "zImage"
KERNEL_DEVICETREE = " \
am335x-evm.dtb am335x-evmsk.dtb \
am335x-icev2.dtb \
am335x-icev2-prueth.dtb \
am335x-pocketbeagle.dtb am335x-bone.dtb am335x-boneblue.dtb \
am335x-bonegreen.dtb am335x-bonegreen-wireless.dtb \
am335x-boneblack.dtb am335x-boneblack-wireless.dtb \
@@ -58,3 +59,8 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am335x"
TI_PDK_LIMIT_BOARDS = "evmAM335x icev2AM335x iceAMIC110 bbbAM335x skAM335x"
IMAGE_FSTYPES += "tar.xz wic.xz"
WKS_FILE ?= "sdimage-bootpart.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -55,3 +55,8 @@ MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa etherne
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "am437x"
TI_PDK_LIMIT_BOARDS = "evmAM437x idkAM437x skAM437x"
IMAGE_FSTYPES += "tar.xz wic.xz"
WKS_FILE ?= "sdimage-bootpart.wks"
IMAGE_BOOT_FILES ?= "${SPL_BINARY} u-boot.${UBOOT_SUFFIX}"
do_image_wic[depends] += "u-boot:do_deploy"

View File

@@ -4,15 +4,15 @@
require conf/machine/include/k3.inc
IMAGE_FSTYPES += "tar.xz wic.xz"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS1"
SERIAL_CONSOLES = "115200;ttyS2 115200;ttyS3"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
KERNEL_DEVICETREE = " \
ti/k3-j721e-common-proc-board.dtb \
ti/k3-j721e-proc-board-tps65917.dtb \
ti/k3-j721e-common-proc-board-infotainment.dtbo \
ti/k3-j721e-pcie-backplane.dtbo \
ti/k3-j721e-common-proc-board-jailhouse.dtbo \
"
UBOOT_MACHINE = "j721e_evm_a72_config"
@@ -21,14 +21,6 @@ OPTEEMACHINE = "k3"
OPTEEFLAVOR = "j7"
OPTEEOUTPUTMACHINE = "k3"
# Please note that booting J7 platform also requires
# tiboot3.bin and sysfw.itb, which are provided by meta-arago
# u-boot-k3-r5 and ti-sci-fw recipes
IMAGE_BOOT_FILES = "tispl.bin u-boot.img"
WKS_FILE ?= "sdimage-bootpart.wks"
do_image_wic[depends] += "u-boot:do_deploy"
# Set the list of device targets for ti-pdk class recipes
TI_PDK_LIMIT_SOCS = "j721e j7200"
TI_PDK_LIMIT_BOARDS = "j721e_evm j7200_evm"

13
licenses/Hewlett-Packard Normal file
View File

@@ -0,0 +1,13 @@
/*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and this permission notice appear
* in supporting documentation. Hewlett-Packard Company makes no
* representations about the suitability of this software for any
* purpose. It is provided "as is" without express or implied warranty.
*
*/

4
licenses/Patrick-Powell Normal file
View File

@@ -0,0 +1,4 @@
Copyright Patrick Powell 1995
This code is based on code written by Patrick Powell (papowell@astart.com)
It may be used for any purpose as long as this notice remains intact
on all source code distributions

View File

@@ -56,7 +56,6 @@ DEPENDS_append_dra7xx = " pm-lld-rtos \
"
DEPENDS_append_am65xx = " sciclient-rtos \
pm-lld-rtos \
"
DEPENDS_append_j7-evm = " udma-lld-rtos \
sciclient-rtos \

View File

@@ -14,7 +14,7 @@ CSL_GIT_BRANCH = "release"
CSL_GIT_DESTSUFFIX = "git"
# Below commit ID corresponding to "DEV.CSL_PROCESSOR-SDK.03.03.00.16B"
CSL_SRCREV = "8a2d724e8ef850c32a7ba8e12f729ce611171469"
CSL_SRCREV = "8894e988f23f103f699411fa0aab4b4702d6c289"
BRANCH="${CSL_GIT_BRANCH}"
SRC_URI = "${CSL_GIT_URI};protocol=${CSL_GIT_PROTOCOL};branch=${BRANCH};destsuffix=${CSL_GIT_DESTSUFFIX}"

View File

@@ -5,13 +5,13 @@ LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"
inherit module
MACHINE_KERNEL_PR_append = "e"
MACHINE_KERNEL_PR_append = "h"
PR = "${MACHINE_KERNEL_PR}"
# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k4.19"
BRANCH = "ti-${PV}-k5.4"
SRCREV = "9b59e596b4adefabbb686ce8845edef8114558fd"
SRCREV = "2a4fbe8353fa56011a613aeeaf69e274cd07a825"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"

View File

@@ -1,7 +1,7 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=76cafd87d8495b42c2355f7681de15a2"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit ti-pdk-fetch
@@ -10,5 +10,5 @@ TI_PDK_COMP = "ti.drv.icss_emac"
PE = "1"
INC_PR = "r0"
INC_PR = "r1"

View File

@@ -15,18 +15,14 @@ LINUX_2_CORES_BIN_DIR = "${REMOTE_FW_DIR}/ex03_linux_bios_2core_echo_test/bin"
DST_BIN_PATH = "${base_libdir}/firmware/pdk-ipc"
TI_PDK_LIMIT_BOARDS_j7-evm = "j721e_evm"
do_configure[noexec] = "1"
do_compile() {
cd ${S}
for board in ${TI_PDK_LIMIT_BOARDS}
do
for core in ${TI_PDK_LIMIT_CORES}
do
oe_runmake examples BOARD="$board" CORE="$core" DEST_ROOT=${REMOTE_FW_DIR}
done
done
oe_runmake apps LIMIT_BOARDS="${TI_PDK_LIMIT_BOARDS}" LIMIT_CORES="${TI_PDK_LIMIT_CORES}" DEST_ROOT=${REMOTE_FW_DIR}
}
do_install() {

View File

@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7eae093f2b09fd39307f30028a068b91"
COMPATIBLE_MACHINE = "k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PR = "r2"
PR = "r3"
# Build with make instead of XDC
TI_PDK_XDCMAKE = "0"

View File

@@ -17,12 +17,12 @@ RDEPENDS_${PN} = " libdce"
SRC_URI = "git://git.ti.com/ivimm/ipumm.git;protocol=git"
SRCREV = "e4872a8966a267d537399b1babc54e5f66ae8b3b"
SRCREV = "df4c50aecc9aad7ab3eb1ca9ebacfe473fcad7c5"
S = "${WORKDIR}/git"
PV = "3.00.15.00"
PR = "r4"
PR = "r5"
require recipes-ti/includes/ti-paths.inc

View File

@@ -0,0 +1,23 @@
SUMMARY = "UIO tests for IVSHMEM based UIO driver"
DESCRIPTION = "Test programs which use UIO (userspace io) device for inter VM communication"
HOMEPAGE = "https://github.com/henning-schild-work/ivshmem-guest-code"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=0546a27aad86c83b75ad4ee6133e9d5e"
inherit cmake
PROTOCOL = "git"
BRANCH = "jailhouse"
SRCREV = "f3ad79881bebb6c6068966ee3d265d8034c20492"
SRC_URI = "git://github.com/henning-schild-work/ivshmem-guest-code.git;protocol=${PROTOCOL};branch=${BRANCH}"
S = "${WORKDIR}/git/uio/tests/Interrupts/VM"
COMPATIBLE_MACHINE = "(ti-soc)"
OECMAKE_TARGET_COMPILE = "uio_send uio_read"
do_install() {
install -d ${D}/${bindir}
install -m 755 ${B}/uio_send ${D}/${bindir}/
install -m 755 ${B}/uio_read ${D}/${bindir}/
}

View File

@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://README;beginline=15;endline=20;md5=0403c7dea01a2b8232
inherit module
MACHINE_KERNEL_PR_append = "e"
MACHINE_KERNEL_PR_append = "f"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -15,14 +15,14 @@ DEPENDS = "virtual/kernel"
PROVIDES = "virtual/gpudriver"
BRANCH = "linuxws/thud/k4.19/${PV}"
BRANCH = "linuxws/zeus/k5.4/${PV}"
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-driver.git;branch=${BRANCH} \
file://0001-km-support-general-toolchain.patch \
"
S = "${WORKDIR}/git"
SRCREV = "fe40a51f33987c59aca300f8a976a9a9c8112703"
SRCREV = "e0bc128ee5098e30c9fb096634ba6bec01b5fc17"
PVR_SOC = "j721e_linux"
PVR_BVNC = "22.104.208.318"

View File

@@ -5,9 +5,9 @@ LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=74506d9
inherit module
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
MACHINE_KERNEL_PR_append = "s"
MACHINE_KERNEL_PR_append = "v"
PR = "${MACHINE_KERNEL_PR}"
PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -16,7 +16,7 @@ DEPENDS = "virtual/kernel"
PROVIDES = "virtual/gpudriver"
BRANCH = "ti-img-sgx/${PV}/k4.19"
BRANCH = "ti-img-sgx/${PV}/k5.4"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
file://0001-km-support-OpenEmbedded-hardfp-toolchain-w-o-gnueabi.patch \
@@ -24,12 +24,14 @@ SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch
S = "${WORKDIR}/git"
SRCREV = "4519ed3b83d1d72207ddc2874c7eb5e5a7f20d8d"
SRCREV = "50c1ec2308b9f64488d252ac55d65b51a0dfe287"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"
TARGET_PRODUCT_ti43x = "ti437x"
TARGET_PRODUCT_k3 = "ti654x"
TARGET_PRODUCT_beagleboard = "ti343x"
TARGET_PRODUCT_pandaboard = "ti443x"
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=nulldrmws'

View File

@@ -7,14 +7,14 @@ TI_PDK_COMP = "ti.drv.sciclient"
PE = "1"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://sciclient.h;beginline=1;endline=31;md5=7224b2eeca1444815f1737bfcdfa892a"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=99d7639a81c1ba1f16fd070a928ffddb"
COMPATIBLE_MACHINE = "k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PR = "r0"
PR = "r1"
DEPENDS_append = " osal-rtos common-csl-ip-rtos"
DEPENDS_append = " osal-rtos common-csl-ip-rtos openssl-native"
# Build with make instead of XDC
TI_PDK_XDCMAKE = "0"
@@ -60,6 +60,41 @@ do_compile() {
tar -cf sciclient.tar --exclude='*.tar' ./*
}
do_compile_prepend_am65xx-hs-evm() {
cd ${SCICLIENT_ROOTPATH}
# Saving the GP firmware to a different GP name
cp ${CP_ARGS} ./soc/V0/sysfw.bin ./soc/V0/sysfw-gp.bin
cd ${SCICLIENT_ROOTPATH}/tools
# Create the .bin file for HS
${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x-hs ${PDK_INSTALL_DIR}/packages
cd -
}
do_compile_prepend_am65xx-evm() {
cd ${SCICLIENT_ROOTPATH}/tools
# Create the .bin file for GP, PG1
${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x ${PDK_INSTALL_DIR}/packages
# Create the .bin file for GP, PG2
${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh am65x_pg2 ${PDK_INSTALL_DIR}/packages
cd -
}
do_compile_prepend_j7-evm() {
cd ${SCICLIENT_ROOTPATH}/tools
# Create the .bin file for GP
${SCICLIENT_ROOTPATH}/tools/firmwareHeaderGen.sh j721e ${PDK_INSTALL_DIR}/packages
cd -
}
do_install() {
cd ${SCICLIENT_ROOTPATH}
install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/drv/sciclient
@@ -71,3 +106,7 @@ FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages"
INSANE_SKIP_${PN} = "arch ldflags file-rdeps"
INSANE_SKIP_${PN}-dbg = "arch"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"

View File

@@ -7,7 +7,7 @@ PR = "${INC_PR}.0"
LIC_FILES_CHKSUM = "file://nimu_icssEth.h;beginline=1;endline=35;md5=3ea633a510be24d8a89d9d08b930994c"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|c66x|omapl1"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g|c66x|omapl1|k3"
DEPENDS_append = " ti-ndk \
pruss-lld-rtos \

View File

@@ -1,7 +1,7 @@
require u-boot-ti.inc
PR = "r0"
PR = "r6"
BRANCH = "ti-u-boot-2020.01"
SRCREV = "7903c7038afdc12758c101a42b628137d8c276c9"
SRCREV = "9addfeb8bf8de5c60c9b33a6f77a72639878cd26"

View File

@@ -15,6 +15,8 @@ SPL_BINARY ?= "MLO"
require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
inherit python3native
FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
SUMMARY = "u-boot bootloader for TI devices"
@@ -31,6 +33,7 @@ PV_append = "+git${SRCPV}"
# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native bc-native lzop-native flex-native bison-native"
DEPENDS_remove = "python-native"
PACKAGECONFIG[atf] = "ATF=${STAGING_DIR_HOST}/boot/bl31.bin,,arm-trusted-firmware"
PACKAGECONFIG[optee] = "TEE=${STAGING_DIR_HOST}/boot/bl32.bin,,optee-os"

View File

@@ -2,12 +2,12 @@ DESCRIPTION = "Radio Application Firmware"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://${S}/J6_VIS_DEMO_LINUX_BINARY_01.50.07.15-Manifest.html;md5=a59aa54b9470f555cf086b91dca0afa3"
COMPATIBLE_MACHINE = "dra7xx-evm"
COMPATIBLE_MACHINE = "dra7xx"
PACKAGE_ARCH = "${MACHINE_ARCH}"
PR = "r1"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exports/vis-${MACHINE}-01.50.07.15.tar.gz;protocol=http"
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/vis/01_50_07_15/exports/vis-dra7xx-evm-01.50.07.15.tar.gz;protocol=http"
SRC_URI[md5sum] = "fe8b00e398fb3b7ada0c15b601867acb"
SRC_URI[sha256sum] = "6e2aa47ae892910616ebdc96646af778af9a59ca0657716ab4fa4b24a9afae69"

View File

@@ -0,0 +1,28 @@
From 0aa294e2bbd37a42266e59cb67687e57bfba4a88 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Sat, 15 Feb 2020 15:59:37 -0500
Subject: [PATCH] libbfd.h: suppress GCC9 -Wstringop-truncation
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
gdbc6x/bfd/libbfd.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gdbc6x/bfd/libbfd.h b/gdbc6x/bfd/libbfd.h
index 72d3c50..3465f89 100644
--- a/gdbc6x/bfd/libbfd.h
+++ b/gdbc6x/bfd/libbfd.h
@@ -34,6 +34,10 @@
#pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
+#if __GNUC__ >= 9
+#pragma GCC diagnostic ignored "-Wstringop-truncation"
+#endif
+
#include "hashtab.h"
/* Align an address upward to a boundary, expressed as a number of bytes.
--
2.7.4

View File

@@ -11,6 +11,7 @@ PR = "${INC_PR}.1"
SRC_URI_append = " \
file://init \
file://0001-libbfd.h-suppress-GCC9-Wstringop-truncation.patch;striplevel=2 \
"
S = "${WORKDIR}/git/gdbc6x"

View File

@@ -1,34 +0,0 @@
From 85264fc72a261d20107a50ea2fad0258900a132b Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Sat, 20 Apr 2019 16:54:03 +0000
Subject: [PATCH] CMakeLists.txt: disable phys-addr for now
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
CMakeLists.txt | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d60003..eca6ba7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,16 +54,3 @@ target_link_libraries(ion-print-heaps
target_include_directories(ion-print-heaps PUBLIC ${LIBION_INCLUDE_DIRS})
install(TARGETS ion-print-heaps RUNTIME DESTINATION bin)
-
-# phys-addr
-
-add_executable(phys-addr
- src/phys-addr.c
-)
-
-target_link_libraries(phys-addr
- ${LIBION_LIBRARIES}
-)
-target_include_directories(phys-addr PUBLIC ${LIBION_INCLUDE_DIRS})
-
-install(TARGETS phys-addr RUNTIME DESTINATION bin)
--
2.17.1

View File

@@ -1,69 +0,0 @@
From f045cbf9aae0053e9e785e32b772e473aa892443 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sun, 6 Oct 2019 16:08:36 -0700
Subject: [PATCH] map_test: Replace PAGE_SIZE with local variable name
PAGE_SIZE is already a define in libc implementations global namespace
e.g. in musl. Therefore its best to use a unique variable name to not
stamp on the global definition.
Fixes
src/map_test.cpp:59:23: error: expected unqualified-id
unsigned long PAGE_SIZE = sysconf(_SC_PAGESIZE);
^
/usr/include/limits.h:89:19: note: expanded from macro 'PAGE_SIZE'
^
/usr/include/bits/limits.h:3:18: note: expanded from macro 'PAGESIZE'
^
Upstream-Status: Submitted [https://github.com/glneo/ion-tests/pull/1]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
src/map_test.cpp | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/map_test.cpp b/src/map_test.cpp
index a7ce2c9..7b5746d 100644
--- a/src/map_test.cpp
+++ b/src/map_test.cpp
@@ -56,27 +56,27 @@ TEST_F(Map, MapOffset)
SCOPED_TRACE(::testing::Message() << "heap " << heapMask);
int map_fd = -1;
- unsigned long PAGE_SIZE = sysconf(_SC_PAGESIZE);
+ unsigned long psize = sysconf(_SC_PAGESIZE);
- ASSERT_EQ(0, ion_alloc(m_ionFd, PAGE_SIZE * 2, heapMask, 0, &map_fd));
+ ASSERT_EQ(0, ion_alloc(m_ionFd, psize * 2, heapMask, 0, &map_fd));
ASSERT_GE(map_fd, 0);
unsigned char *ptr;
- ptr = (unsigned char *)mmap(NULL, PAGE_SIZE * 2, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0);
+ ptr = (unsigned char *)mmap(NULL, psize * 2, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, 0);
ASSERT_TRUE(ptr != NULL);
- memset(ptr, 0, PAGE_SIZE);
- memset(ptr + PAGE_SIZE, 0xaa, PAGE_SIZE);
+ memset(ptr, 0, psize);
+ memset(ptr + psize, 0xaa, psize);
- ASSERT_EQ(0, munmap(ptr, PAGE_SIZE * 2));
+ ASSERT_EQ(0, munmap(ptr, psize * 2));
- ptr = (unsigned char *)mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, PAGE_SIZE);
+ ptr = (unsigned char *)mmap(NULL, psize, PROT_READ | PROT_WRITE, MAP_SHARED, map_fd, psize);
ASSERT_TRUE(ptr != NULL);
ASSERT_EQ(ptr[0], 0xaa);
- ASSERT_EQ(ptr[PAGE_SIZE - 1], 0xaa);
+ ASSERT_EQ(ptr[psize - 1], 0xaa);
- ASSERT_EQ(0, munmap(ptr, PAGE_SIZE));
+ ASSERT_EQ(0, munmap(ptr, psize));
ASSERT_EQ(0, close(map_fd));
}
--
2.23.0

View File

@@ -1,19 +0,0 @@
SUMMARY = "Test cases for ION"
HOMEPAGE = "https://github.com/glneo/ion-tests"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://src/ion_test.c;beginline=1;endline=15;md5=b225db900869a4cd31461606e55a3ec5"
PV = "1.0"
BRANCH = "master"
SRC_URI = "git://github.com/glneo/ion-tests.git;protocol=git;branch=${BRANCH} \
file://0001-CMakeLists.txt-disable-phys-addr-for-now.patch \
file://0001-map_test-Replace-PAGE_SIZE-with-local-variable-name.patch \
"
SRCREV = "70d730cebca29e6fd37b21d9beac82ae645f3900"
DEPENDS = "libion gtest"
S = "${WORKDIR}/git"
inherit cmake pkgconfig

View File

@@ -0,0 +1,24 @@
SUMMARY = "Diagnostic tool for TI K3 processors"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=37f4e460bd8501c6f02ce71f02bc7ccf"
PV = "0.1+git${SRCPV}"
COMPATIBLE_MACHINE = "k3"
BRANCH ?= "master"
SRCREV = "9199c3a3b6ec5603a2c4283410b4761e79e81e82"
SRC_URI = "git://git.ti.com/k3conf/k3conf.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"
do_compile () {
oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all
}
do_install () {
install -d ${D}${bindir}
install ${S}/k3conf ${D}${bindir}
}

View File

@@ -3,7 +3,7 @@ HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-libs"
LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://Manifest.html;md5=a9121e8936ace09820d23f7626daaca5"
COMPATIBLE_MACHINE = "dra7xx"
COMPATIBLE_MACHINE = "omap-a15"
CLEANBROKEN = "1"
@@ -12,6 +12,8 @@ BRANCH = "ti-${PV}"
SRC_URI = "git://git.ti.com/graphics/ti-gc320-libs.git;protocol=git;branch=${BRANCH}"
SRCREV = "c0afab259de59909cfe74c01f3f7fbaa147f94b5"
RRECOMMENDS_${PN} = "ti-gc320-driver"
# There's only hardfp version available
python __anonymous() {
tunes = d.getVar("TUNE_FEATURES")

View File

@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7232b98c1c58f99e3baa03de5207e76f"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "j7-evm"
PR = "r5"
PR = "r6"
BRANCH = "linuxws/thud/k4.19/${PV}"
BRANCH = "linuxws/zeus/k5.4/${PV}"
SRC_URI = "git://git.ti.com/graphics/ti-img-rogue-umlibs.git;branch=${BRANCH}"
SRCREV = "0721cdfc1fc86f40c93745159e3f1bcad5beda17"
@@ -27,7 +27,7 @@ PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
DEPENDS += "libdrm wayland expat"
RDEPENDS_${PN} += "bash"
RDEPENDS_${PN} += "python-core"
RDEPENDS_${PN} += "ti-img-rogue-driver wayland expat"
RDEPENDS_${PN} += "wayland expat"
RPROVIDES_${PN} = "libegl libgles1 libgles2 libgbm"
RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
@@ -41,6 +41,8 @@ RCONFLICTS_${PN} = "libegl libgles1 libgles2 libgbm"
RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev libgbm-dev"
RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg"
RRECOMMENDS_${PN} += "ti-img-rogue-driver"
S = "${WORKDIR}/git"
do_install () {

View File

@@ -4,19 +4,21 @@ LICENSE = "TI-TSPA"
LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=b17390502bc89535c86cfbbae961a2a8"
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
COMPATIBLE_MACHINE = "pandaboard|beagleboard|ti33x|ti43x|omap-a15|k3"
PR = "r34"
PR = "r35"
BRANCH = "ti-img-sgx/thud/${PV}"
BRANCH = "ti-img-sgx/zeus/${PV}"
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
SRCREV = "2a2e5bb090ced870d73ed4edbc54793e952cc6d8"
SRCREV = "ce7b96b88d31da27af5b3a2a890aba180a014fc4"
TARGET_PRODUCT_omap-a15 = "jacinto6evm"
TARGET_PRODUCT_ti33x = "ti335x"
TARGET_PRODUCT_ti43x = "ti437x"
TARGET_PRODUCT_k3 = "ti654x"
TARGET_PRODUCT_beagleboard = "ti343x"
TARGET_PRODUCT_pandaboard = "ti443x"
INITSCRIPT_NAME = "rc.pvr"
INITSCRIPT_PARAMS = "defaults 8"
@@ -43,6 +45,8 @@ RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg libgbm-dbg"
# The actual SONAME is libGLESv2.so.2, so need to explicitly specify RPROVIDES for .so.1 here
RPROVIDES_${PN} += "libGLESv2.so.1"
RRECOMMENDS_${PN} += "ti-sgx-ddk-km"
S = "${WORKDIR}/git"
do_install () {
@@ -59,14 +63,7 @@ FILES_${PN} += " ${libdir}/*"
FILES_${PN} += "${includedir}/*"
FILES_${PN} += "${sysconfdir}/*"
PACKAGES =+ "${PN}-plugins"
FILES_${PN}-plugins = "${libdir}/libsrv_init.so ${libdir}/libsrv_um.so ${libdir}/libglslcompiler.so ${libdir}/libPVRScopeServices.so ${libdir}/libGLESv2.so ${libdir}/libEGL.so ${libdir}/libGLESv1_CM.so ${libdir}/libGLES_CM.so ${libdir}/libGLESv1_PVR_MESA.so ${libdir}/libGLESv2_PVR_MESA.so"
RDEPENDS_${PN} += "${PN}-plugins"
ALLOW_EMPTY_${PN}-plugins = "1"
INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
INSANE_SKIP_${PN}-plugins = "dev-so"
INSANE_SKIP_${PN} += "already-stripped"
INSANE_SKIP_${PN} += "already-stripped dev-deps"
CLEANBROKEN = "1"

View File

@@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = " \
file://COPYING;md5=9fa7f895f96bde2d47fd5b7d95b6ba4d \
"
PV = "0.10+git${SRCPV}"
SRCREV = "b3a68ac89d7ed955546eae91954b184ec1583ce3"
BRANCH = "ti-jailhouse-0.10"
PV = "0.12+git${SRCPV}"
SRCREV = "2c6516ce3d0e0c4e9372e4439562dd660877cb79"
BRANCH = "ti-jailhouse-0.12"
SRC_URI = " \
git://git.ti.com/jailhouse/ti-jailhouse.git;protocol=git;branch=${BRANCH} \
@@ -40,9 +40,6 @@ CELL_DIR ?= "${JH_DATADIR}/cells"
CELLCONF_DIR ?= "${JH_DATADIR}/configs"
INMATES_DIR ?= "${JH_DATADIR}/inmates"
JH_CONFIG ?= "${S}/ci/jailhouse-config-x86.h"
JH_CONFIG_k3 ?= "${S}/ci/jailhouse-config-k3.h"
JH_CELL_FILES ?= "*.cell"
JH_CELL_FILES_k3 ?= "k3-*.cell"
@@ -62,15 +59,14 @@ INITRAMFS_IMAGE ?= ""
JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
JH_CMDLINE ?= ""
JH_CMDLINE_k3 ?= "console=ttyS1,115200n8"
JH_CMDLINE_am65xx ?= "console=ttyS1,115200n8"
JH_CMDLINE_j7-evm ?= "console=ttyS3,115200n8"
do_configure() {
if [ -d ${STAGING_DIR_HOST}/${CELLCONF_DIR} ];
then
cp ${STAGING_DIR_HOST}/${CELLCONF_DIR}/*.c ${S}/configs/
fi
cp -av ${JH_CONFIG} ${S}/include/jailhouse/config.h
}
USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \

View File

@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:"
BRANCH = "ti-rt-linux-5.4.y"
SRCREV = "1866b83701a617b8634739f183f4ba44ab3357c1"
PV = "5.4.13+git${SRCPV}"
SRCREV = "27ac613bbce13841a47fcc7341d7c14333b8e0e9"
PV = "5.4.20+git${SRCPV}"

View File

@@ -60,8 +60,8 @@ S = "${WORKDIR}/git"
BRANCH = "ti-linux-5.4.y"
SRCREV = "c65c87b98f8d1b647c13b5bb36e5ffbad5805ff1"
PV = "5.4.13+git${SRCPV}"
SRCREV = "70338004346078dd120c51a1cb22ed7d5bfdfca9"
PV = "5.4.20+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"

View File

@@ -1,8 +1,8 @@
SUMMARY = "TI ARM Code Generation Tools"
HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Hewlett-Packard & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD & BSD-4-Clause"
LICENSE = "(TI-TSPA & Thai-Open-Source-Software-Center) & BSD-3-Clause & BSL-1.0 & Patrick-Powell & AFL-3.0 & MIT & BSD-2-Clause & PD & BSD-4-Clause"
LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=ab7a61241e90fcd144a756d88294cf30"
LIC_FILES_CHKSUM = "file://ti-cgt-arm_${PV}.LTS/README.txt;md5=79631eb21b2e5b7190cd3ff1dfd41108"
require recipes-ti/includes/ti-unpack.inc
require recipes-ti/includes/ti-staging.inc
@@ -27,8 +27,8 @@ do_install() {
cp -r ${S}/ti-cgt-arm*/. ${D}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}
}
SRC_URI[cgt_arm_installer.md5sum] = "af2378cf8d5d6f200ef3329f5a065529"
SRC_URI[cgt_arm_installer.sha256sum] = "d90ae2360cd5b22912715ae7898d99352da1b97fd655f9a55d0d19a2a46bab0e"
SRC_URI[cgt_arm_installer.md5sum] = "e9e668332cf86c965b4da9d1d488426b"
SRC_URI[cgt_arm_installer.sha256sum] = "da976143128c619a278cb4214a4295c409d100f9e65ad2f4d0d1039db7cf98f4"
BINFILE_NAME = "cgt_arm_installer"
@@ -38,6 +38,6 @@ INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
INSANE_SKIP_${PN} += "arch staticdev"
INSANE_SKIP_${PN} += "arch staticdev file-rdeps"
BBCLASSEXTEND = "native nativesdk"

View File

@@ -1,24 +0,0 @@
DESCRIPTION = "TI DSP Code Generation Tools"
HOMEPAGE = "https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm"
SECTION = "devel"
LICENSE = "TI"
require ../includes/ti-paths.inc
require ../includes/ti-staging.inc
require ../includes/ti-eula-unpack.inc
PR = "r4"
S = "${WORKDIR}/cgt6x_${PV}"
SRC_URI = "http://install.source.dir.local/ti_cgt_c6000_${PVwithdots}_setup_linux_x86.bin;name=cgt6xbin"
BINFILE="ti_cgt_c6000_${PVwithdots}_setup_linux_x86.bin"
TI_BIN_UNPK_CMDS="Y:qY:workdir: : "
TI_BIN_UNPK_WDEXT="/cgt6x_${PV}"
do_install() {
install -d ${D}${CODEGEN_INSTALL_DIR_RECIPE}
cp -pPrf ${S}/* ${D}${CODEGEN_INSTALL_DIR_RECIPE}
}

View File

@@ -1,11 +0,0 @@
require ti-cgt6x.inc
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=62f46f1125a152a2e213b414db7ac600"
PE = "1"
PV = "6_1_20"
PVwithdots = "6.1.20"
SRC_URI[cgt6xbin.md5sum] = "39485ea8211960de0a958ab27106ab9b"
SRC_URI[cgt6xbin.sha256sum] = "a020142011c8160e24f6386f7696ecfbfe02dab2a6c83af74ce6b67eb1da9900"

View File

@@ -1,13 +0,0 @@
require ti-cgt6x.inc
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=62f46f1125a152a2e213b414db7ac600"
PE = "1"
PV = "7_2_7"
PVwithdots = "7.2.7"
SRC_URI[cgt6xbin.md5sum] = "71a0768a541fdebd9c35d44301019d1d"
SRC_URI[cgt6xbin.sha256sum] = "211477f0142d603975544abe3c45cc3b77a3b38038158676c60812806378738b"
INSANE_SKIP_${PN} = "installed-vs-shipped"

View File

@@ -102,3 +102,5 @@ FILES_${PN}-dbg += "${datadir}/ti/cgt-c6x/bin/.debug"
INSANE_SKIP_${PN} += "staticdev"
BBCLASSEXTEND = "native nativesdk"
COMPATIBLE_MACHINE_class-target = "(ti-soc)"

View File

@@ -1,4 +1,4 @@
PV = "3.50.04.08"
PV = "3.51.00.00"
INC_PR = "r0"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@@ -24,9 +24,9 @@ protocol=${TI_IPC_METADATA_GIT_PROTOCOL};\
branch=${TI_IPC_METADATA_GIT_BRANCH};\
name=${TI_IPC_METADATA_NAME}"
# Corresponds to tag: 3.50.04.08
TI_IPC_METADATA_SRCREV = "48788ea79190c4995df4c802e8aa4e17f332943d"
# Corresponds to tag: 3.50.04.08
# Corresponds to tag: 3.51.00.00
TI_IPC_METADATA_SRCREV = "1bf668fd6b0ec2ef6956fa55b8484d0b21a9f9e2"
# Corresponds to tag: 3.51.00.00
TI_IPC_EXAMPLES_SRCREV = "4707fcbbe0d136e781c4a7ffdc072be407c34358"
SRCREV_FORMAT = "default"
@@ -39,7 +39,7 @@ S_ipc-metadata = "${WORKDIR}/git/ipc-metadata"
RELEASE_TYPE = "GA"
RELEASE_SUFFIX = ""
PR = "${INC_PR}.r2"
PR = "${INC_PR}.r0"
DEPENDS_append_keystone = " ti-cgt6x-native \
gcc-arm-none-eabi-native \

View File

@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://${S}/ipc-linux.mak;beginline=1;endline=30;md5=7b327f9
TI_IPC_GIT_URI = "git://git.ti.com/ipc/ipcdev.git"
TI_IPC_GIT_PROTOCOL = "git"
TI_IPC_GIT_BRANCH = "3.50"
TI_IPC_GIT_BRANCH = "master"
#Corresponds to 3.50.04.08
TI_IPC_SRCREV = "1d53b856338b86d1979fe09345c0b382913a848a"
#Corresponds to 3.51.00.00A
TI_IPC_SRCREV = "7a6e343a208d2849139b7272a67abc01db806e00"
BRANCH = "${TI_IPC_GIT_BRANCH}"
SRC_URI = "${TI_IPC_GIT_URI};protocol=${TI_IPC_GIT_PROTOCOL};branch=${BRANCH};name=ipcdev"

View File

@@ -1,4 +1,4 @@
DESCRIPTION = "TI Multiproc Manager test code"
SUMMARY = "TI Multiproc Manager test code"
include multiprocmgr.inc
@@ -8,11 +8,6 @@ DEPENDS = "multiprocmgr cmem"
RDEPENDS_${PN} = "multiprocmgr mpm-transport cmem"
RDEPENDS_${PN} += "multiprocmgr-rtos-test bash"
CC += "-I${STAGING_KERNEL_DIR}/include"
# Assuming the multiprocmgr kernel API is safe
CC[vardepsexclude] = "STAGING_KERNEL_DIR"
FILES_${PN} += "\
${datadir}/ti/examples/mpm \
"

View File

@@ -9,10 +9,10 @@ MULTIPROCMGR_GIT_PROTOCOL = "git"
MULTIPROCMGR_GIT_BRANCH = "master"
# The following commits correspond to DEV.MPM-3.00.05.00
MULTIPROCMGR_SRCREV = "f7fb3b7c21b3f6dd8b4adeef5df5be1824b9be73"
MULTIPROCMGR_SRCREV = "810d8a31c797d07abe808cb3fa89465fa934d4dd"
PV = "3.0.5.0"
INC_PR = "r0"
INC_PR = "r1"
BRANCH = "${MULTIPROCMGR_GIT_BRANCH}"
SRC_URI = "${MULTIPROCMGR_GIT_URI};protocol=${MULTIPROCMGR_GIT_PROTOCOL};branch=${BRANCH}"

View File

@@ -1,27 +0,0 @@
From 17c307ff6e67af43f243366baa2ccc01f89cdddd Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Mon, 23 Apr 2018 15:35:44 -0400
Subject: [PATCH] mpmdlif.c: don't hardcode kernel's "uapi" location
keystone_remoteproc.h
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
src/daemon/mpmdlif.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/mpmdlif.c b/src/daemon/mpmdlif.c
index 0c31604..d287bbc 100644
--- a/src/daemon/mpmdlif.c
+++ b/src/daemon/mpmdlif.c
@@ -47,7 +47,7 @@
#include <stdint.h>
#define _LINUX_TYPES_H
-#include "uapi/linux/keystone_remoteproc.h"
+#include "linux/keystone_remoteproc.h"
#include "internal/rsc_types.h"
//#include <elf.h>
// #define LOADER_DEBUG
--
2.7.4

View File

@@ -1,11 +1,10 @@
DESCRIPTION = "TI Multiproc Manager for KeyStone II"
SUMMARY = "Provides download, debug and other utilities for other cores in the SOC like DSP"
SUMMARY = "TI Multiproc Manager for KeyStone II"
DESCRIPTION = "Provides download, debug and other utilities for other cores in the SOC like DSP"
include multiprocmgr.inc
SRC_URI += " \
file://mpmsrv-daemon.service \
file://0001-mpmdlif.c-don-t-hardcode-kernel-s-uapi-location-keys.patch \
"
PR = "${INC_PR}.2"
@@ -14,8 +13,6 @@ DEPENDS = "mpm-transport libdaemon virtual/kernel cmem"
PACKAGE_ARCH = "${MACHINE_ARCH}"
CC += "-I${STAGING_KERNEL_DIR}/include -I${STAGING_KERNEL_DIR}/include/uapi"
INITSCRIPT_NAME = "mpmsrv-daemon.sh"
INITSCRIPT_PARAMS = "defaults 10"