mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
Compare commits
208 Commits
ti2018.04
...
ti2014.10.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
131ec72713 | ||
|
|
0cc7fc0839 | ||
|
|
34729e54e3 | ||
|
|
238cc60002 | ||
|
|
600f9fad73 | ||
|
|
be8d1c1de1 | ||
|
|
0ac70b7107 | ||
|
|
6c23743f0f | ||
|
|
7e6f1b75b3 | ||
|
|
fb58d9314f | ||
|
|
4f8920b871 | ||
|
|
28e59c42d4 | ||
|
|
08d7652c32 | ||
|
|
fb3e5cf1f9 | ||
|
|
7c235c9b66 | ||
|
|
a09c79c5bd | ||
|
|
afe1657071 | ||
|
|
0d1515bf66 | ||
|
|
8dc545fb72 | ||
|
|
92d21a95b5 | ||
|
|
bb97d02d5f | ||
|
|
40cd328669 | ||
|
|
1547003eb4 | ||
|
|
6a130efc74 | ||
|
|
9aa966a6ae | ||
|
|
d05b2e694c | ||
|
|
6dba273309 | ||
|
|
81317592f1 | ||
|
|
df50c4d5bb | ||
|
|
d992571ccd | ||
|
|
593fc027ee | ||
|
|
0b6676ff73 | ||
|
|
df7956e71e | ||
|
|
2905123437 | ||
|
|
2fbeb7cfab | ||
|
|
02805ffa10 | ||
|
|
e757a6de61 | ||
|
|
3a3a4619ef | ||
|
|
24dab89ad8 | ||
|
|
c723c52446 | ||
|
|
f989fcd952 | ||
|
|
3c96c655d6 | ||
|
|
f94472f82c | ||
|
|
8cfcab6963 | ||
|
|
ba8c6930dc | ||
|
|
2e39f3ee3e | ||
|
|
8f25c83c74 | ||
|
|
9c1b22c6ba | ||
|
|
a4fa63b39f | ||
|
|
9221a67a91 | ||
|
|
a47fe3573e | ||
|
|
521f58d1eb | ||
|
|
62b35f2f1f | ||
|
|
e9b118d031 | ||
|
|
38fd3c3e47 | ||
|
|
09410e4b76 | ||
|
|
aaf20a0b75 | ||
|
|
db6bdcd044 | ||
|
|
a993f20a30 | ||
|
|
9e1ca2d9e1 | ||
|
|
5acd0c6914 | ||
|
|
97b82e4e18 | ||
|
|
1de9c6bd8d | ||
|
|
6d96a4b09b | ||
|
|
50adb4b8b6 | ||
|
|
eb5d6cd6c5 | ||
|
|
5532d8df96 | ||
|
|
12691b5868 | ||
|
|
b195119dc2 | ||
|
|
549f3fcbff | ||
|
|
91e70b16fc | ||
|
|
28cfd520fc | ||
|
|
624c9b54dc | ||
|
|
b32b8c2838 | ||
|
|
1b916ddb5f | ||
|
|
1d46274416 | ||
|
|
61ce5e9c6d | ||
|
|
1c766f882d | ||
|
|
6d73d2d14b | ||
|
|
2a3575bd28 | ||
|
|
8cde7b5f12 | ||
|
|
d120100b58 | ||
|
|
0917a521b4 | ||
|
|
e38ca73f01 | ||
|
|
a7fa5da29b | ||
|
|
3134824488 | ||
|
|
b8854f7969 | ||
|
|
733cf9f484 | ||
|
|
c06f259133 | ||
|
|
7915cfb478 | ||
|
|
3fd55cb7ea | ||
|
|
19c88084c2 | ||
|
|
9a2656cb37 | ||
|
|
80924d3bba | ||
|
|
a6f4056b62 | ||
|
|
568100f386 | ||
|
|
ae064c55f3 | ||
|
|
cbd2f82aad | ||
|
|
c9f00172ad | ||
|
|
175d1d4715 | ||
|
|
2f6b824501 | ||
|
|
2dce435ff1 | ||
|
|
a085e612c5 | ||
|
|
b9c234ffe3 | ||
|
|
474aa34965 | ||
|
|
77ca7ec962 | ||
|
|
e8df8ef878 | ||
|
|
51621f90c1 | ||
|
|
9d2046b7c2 | ||
|
|
bc68ca3a01 | ||
|
|
b31045066f | ||
|
|
3baa3aeaeb | ||
|
|
08c8277270 | ||
|
|
937b7408f2 | ||
|
|
f1df325eb0 | ||
|
|
df04699e3a | ||
|
|
26511e179e | ||
|
|
7817d03f04 | ||
|
|
630f9e198e | ||
|
|
41dd39e0ed | ||
|
|
0c73d5f105 | ||
|
|
0a0687943d | ||
|
|
b236fc5ea3 | ||
|
|
21a478d55a | ||
|
|
169647d3dc | ||
|
|
2870012425 | ||
|
|
ea17f7e17e | ||
|
|
f4b716c066 | ||
|
|
3cad087222 | ||
|
|
517864123d | ||
|
|
41457c50e2 | ||
|
|
3844eea82c | ||
|
|
7b8ee4026e | ||
|
|
96cf07485b | ||
|
|
a817ad5826 | ||
|
|
9e7c32cb67 | ||
|
|
7eeebc0f79 | ||
|
|
b7b9bfe61c | ||
|
|
f54041ddbd | ||
|
|
2275b0b824 | ||
|
|
aa289a01a1 | ||
|
|
4d94495508 | ||
|
|
e5eaf3bef4 | ||
|
|
a565ad89a4 | ||
|
|
c82bcd1922 | ||
|
|
344c440263 | ||
|
|
fd4246e492 | ||
|
|
89d290eca3 | ||
|
|
6070bc9d97 | ||
|
|
c58a5d88a2 | ||
|
|
13ce1b64d4 | ||
|
|
ab34a9cb30 | ||
|
|
ff0b3236c4 | ||
|
|
5c074704d4 | ||
|
|
4e17ed6921 | ||
|
|
1e7c1fd731 | ||
|
|
0c5e4a5c84 | ||
|
|
5dad1bc02d | ||
|
|
8c41ce2b54 | ||
|
|
6b504496d7 | ||
|
|
7241b9d0c2 | ||
|
|
65a3d9a04d | ||
|
|
4b0995edb1 | ||
|
|
6e83b4130e | ||
|
|
eba101cc81 | ||
|
|
20b214200d | ||
|
|
ec85fc2d3b | ||
|
|
c725d8334f | ||
|
|
e10d7fe4e9 | ||
|
|
66abb4452e | ||
|
|
5f5ce539b9 | ||
|
|
347189b906 | ||
|
|
034971520f | ||
|
|
c77be96781 | ||
|
|
d8c5571b1b | ||
|
|
4fcc5d8c08 | ||
|
|
15d14fa675 | ||
|
|
ca565599c2 | ||
|
|
a518c83ef5 | ||
|
|
00dbaa9e85 | ||
|
|
45db1b50bd | ||
|
|
355e8633e5 | ||
|
|
da24e97624 | ||
|
|
931c8a045f | ||
|
|
d4ddeb2320 | ||
|
|
5becd8dbae | ||
|
|
593c10902a | ||
|
|
33807817cb | ||
|
|
07fe51c233 | ||
|
|
30dc05eb33 | ||
|
|
1ccfc1f256 | ||
|
|
4331132e65 | ||
|
|
dd71096bb3 | ||
|
|
27e836d56d | ||
|
|
afad60025d | ||
|
|
99970bb459 | ||
|
|
f59f3e03c7 | ||
|
|
f8f298be41 | ||
|
|
5770e1f791 | ||
|
|
d91f59771e | ||
|
|
2a86668af1 | ||
|
|
74b7fd994d | ||
|
|
9c5900749c | ||
|
|
d85e6fc975 | ||
|
|
bf320fe6f3 | ||
|
|
f4caeed4c9 | ||
|
|
a0d7187ac2 | ||
|
|
1f9bdeab53 |
@@ -5,14 +5,12 @@
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl138.inc
|
||||
|
||||
UBOOT_MACHINE = "da850evm_config"
|
||||
UBOOT_MACHINE = "da850_am18xxevm_config"
|
||||
UBOOT_SUFFIX = "ais"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0xc0008000"
|
||||
UBOOT_LOADADDRESS = "0xc0008000"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
IMAGE_FSTYPES += "tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS2"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omapl138-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am180x"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am180x"
|
||||
|
||||
@@ -15,11 +15,6 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
USE_VT = "2"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am3517"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am3517"
|
||||
|
||||
UBOOT_MACHINE = "am3517_evm_config"
|
||||
XLOAD_MACHINE = "am3517evm_config"
|
||||
|
||||
|
||||
@@ -14,10 +14,6 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-am37x"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-am37x"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
|
||||
34
conf/machine/am57xx-evm.conf
Normal file
34
conf/machine/am57xx-evm.conf
Normal file
@@ -0,0 +1,34 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: DRA7xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
|
||||
|
||||
require conf/machine/include/dra7xx.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO2"
|
||||
|
||||
UBOOT_MACHINE = "beagle_x15_config"
|
||||
|
||||
# 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 4352"
|
||||
|
||||
# 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"
|
||||
@@ -7,10 +7,6 @@ require conf/machine/include/omap3.inc
|
||||
# Only has DVI connector for external screen
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-beagleboard"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-beagleboard"
|
||||
|
||||
IMAGE_FSTYPES += "tar.gz ubi"
|
||||
EXTRA_IMAGECMD_jffs2 = "-lnp"
|
||||
|
||||
|
||||
@@ -11,4 +11,4 @@ IMAGE_FSTYPES += "tar.gz"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyO0"
|
||||
|
||||
UBOOT_MACHINE = "am335x_evm_config"
|
||||
UBOOT_MACHINE = "am335x_boneblack_config"
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
#@NAME: DRA7xx EVM
|
||||
#@DESCRIPTION: Machine configuration for the TI DRA7xx EVM
|
||||
|
||||
require conf/machine/include/omap-a15.inc
|
||||
require conf/machine/include/dra7xx.inc
|
||||
|
||||
MACHINE_FEATURES += "touchscreen"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz"
|
||||
|
||||
@@ -21,7 +23,7 @@ UBOOT_MACHINE = "dra7xx_evm_config"
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1988 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 5120"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 7 -O 2048
|
||||
# from dmesg:
|
||||
@@ -30,7 +32,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
# UBI: sub-page size: 512
|
||||
# UBI: VID header offset: 2048 (aligned 2048)
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
# Currently removing the sgx machine feature because there is no SGX package
|
||||
# available for omap5
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
@@ -5,7 +5,7 @@ MACHINE_KERNEL_PR = "r53"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-davinci"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_MACHINE = "davinci_dvevm_config"
|
||||
|
||||
4
conf/machine/include/dra7xx.inc
Normal file
4
conf/machine/include/dra7xx.inc
Normal file
@@ -0,0 +1,4 @@
|
||||
require conf/machine/include/omap-a15.inc
|
||||
SOC_FAMILY_append = ":dra7xx"
|
||||
|
||||
MACHINE_FEATURES += "pci"
|
||||
@@ -1,6 +1,7 @@
|
||||
SOC_FAMILY = "keystone"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa15thf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-keystone"
|
||||
@@ -8,12 +9,10 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot-keystone"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-keystone"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r7"
|
||||
MACHINE_KERNEL_PR = "r8"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
UBOOT_MACHINE = "tci6638_evm_config"
|
||||
|
||||
UBOOT_ENTRYPOINT = "0x80008000"
|
||||
UBOOT_LOADADDRESS = "0x80008000"
|
||||
|
||||
@@ -21,3 +20,4 @@ EXTRA_IMAGEDEPENDS += "u-boot"
|
||||
EXTRA_IMAGEDEPENDS += "boot-monitor"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat pci"
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED = "rtc"
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
SOC_FAMILY = "omap-a15"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa15thf-neon"
|
||||
require conf/machine/include/tune-cortexa15.inc
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r3"
|
||||
MACHINE_KERNEL_PR = "r7"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
@@ -28,3 +29,6 @@ GUI_MACHINE_CLASS = "smallscreen"
|
||||
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
||||
# and u-boot.
|
||||
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 sgx mmip"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
SOC_FAMILY = "omap3"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa8thf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -16,12 +17,12 @@ XSERVER = "xserver-xorg \
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r125"
|
||||
MACHINE_KERNEL_PR = "r126"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap"
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-mainline"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot"
|
||||
|
||||
UBOOT_ARCH = "arm"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
SOC_FAMILY = "omap4"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa9thf-neon"
|
||||
require conf/machine/include/tune-cortexa9.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap4"
|
||||
@@ -13,7 +14,7 @@ XSERVER = "xserver-xorg \
|
||||
xf86-video-omap"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r1"
|
||||
MACHINE_KERNEL_PR = "r2"
|
||||
|
||||
KERNEL_IMAGETYPE = "uImage"
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
SOC_FAMILY = "ti33x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa8thf-neon"
|
||||
require conf/machine/include/tune-cortexa8.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -16,7 +17,7 @@ XSERVER = "xserver-xorg \
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r21"
|
||||
MACHINE_KERNEL_PR = "r22"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
SOC_FAMILY = "ti43x"
|
||||
require conf/machine/include/soc-family.inc
|
||||
|
||||
DEFAULTTUNE ?= "cortexa9thf-neon"
|
||||
require conf/machine/include/tune-cortexa9.inc
|
||||
|
||||
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
||||
@@ -16,7 +17,7 @@ XSERVER = "xserver-xorg \
|
||||
GUI_MACHINE_CLASS = "bigscreen"
|
||||
|
||||
# Increase this everytime you change something in the kernel
|
||||
MACHINE_KERNEL_PR = "r2"
|
||||
MACHINE_KERNEL_PR = "r3"
|
||||
|
||||
# Default providers, may need to override for specific machines
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2
|
||||
#@NAME: Keystone 2 K2E machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2E EVM
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
UBOOT_MACHINE = "k2e_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2e"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
30
conf/machine/k2hk-evm.conf
Normal file
30
conf/machine/k2hk-evm.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2HK machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2HK EVM
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
UBOOT_MACHINE = "k2hk_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2hk"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: logical eraseblock size: 126976 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 3856 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3856"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
# UBI: smallest flash I/O unit: 2048
|
||||
# UBI: physical eraseblock size: 131072 bytes (128 KiB)
|
||||
# UBI: sub-page size: 2048
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 2048 -O 2048"
|
||||
30
conf/machine/k2l-evm.conf
Normal file
30
conf/machine/k2l-evm.conf
Normal file
@@ -0,0 +1,30 @@
|
||||
#@TYPE: Machine
|
||||
#@NAME: Keystone 2 K2L machine
|
||||
#@DESCRIPTION: Machine configuration for the TI Keystone 2 K2L EVM
|
||||
|
||||
require conf/machine/include/keystone.inc
|
||||
|
||||
UBOOT_MACHINE = "k2l_evm_config"
|
||||
|
||||
BOOT_MONITOR_MAKE_TARGET = "k2l"
|
||||
|
||||
IMAGE_FSTYPES += "ubi tar.gz cpio"
|
||||
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
|
||||
SYSVINIT_ENABLED_GETTYS = ""
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# From dmesg:
|
||||
# UBI: smallest flash I/O unit: 4096
|
||||
# UBI: logical eraseblock size: 253952 bytes
|
||||
# from ubiattach stdout:
|
||||
# UBI device number 0, total 1926 LEBs
|
||||
MKUBIFS_ARGS = "-F -m 4096 -e 253952 -c 1926"
|
||||
|
||||
# do ubiattach /dev/ubi_ctrl -m 4
|
||||
# from dmesg:
|
||||
# UBI: smallest flash I/O unit: 4096
|
||||
# UBI: physical eraseblock size: 256 KiB
|
||||
# UBI: sub-page size: 4096
|
||||
UBINIZE_ARGS = "-m 4096 -p 256KiB -s 4096 -O 4096"
|
||||
@@ -15,8 +15,6 @@ EXTRA_IMAGECMD_jffs2 = "-lnp -e 0x20000 -s 2048"
|
||||
SERIAL_CONSOLE = "115200 ttyS0"
|
||||
USE_VT = "0"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-psp"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "x-load"
|
||||
|
||||
# NOTE: there are NAND and OneNAND versions of this board...
|
||||
|
||||
@@ -30,7 +30,3 @@ MKUBIFS_ARGS = "-F -m 2048 -e 126976 -c 3836"
|
||||
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512 -O 2048"
|
||||
|
||||
UBOOT_MACHINE = "omap5_uevm_config"
|
||||
|
||||
# Currently removing the sgx machine feature because there is no SGX package
|
||||
# available for omap5
|
||||
MACHINE_FEATURES = "kernel26 apm usbgadget usbhost vfat ext2 screen touchscreen"
|
||||
|
||||
29
recipes-bsp/am33x-cm3/am33x-cm3_git.bb
Normal file
29
recipes-bsp/am33x-cm3/am33x-cm3_git.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "1.9.0"
|
||||
PR = "r0"
|
||||
PE = "1"
|
||||
|
||||
SRCREV = "d85e6a17da1025adac9ab7f97dd7aa2a58c517ce"
|
||||
BRANCH ?= "ti-v3.14.y"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ti-cm3-pm-firmware/amx3-cm3.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
do_compile() {
|
||||
make CROSS_COMPILE="${TARGET_PREFIX}" CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/
|
||||
install -m 0644 bin/*-scale-data.bin ${D}${base_libdir}/firmware/
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware"
|
||||
@@ -1,27 +1,27 @@
|
||||
DESCRIPTION = "Boot Monitor - TI ARM Boot monitor code"
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
|
||||
|
||||
LICENSE = "BSD"
|
||||
|
||||
BOOT_MONITOR_BINARY ?= "skern.bin"
|
||||
BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
|
||||
BOOT_MONITOR_MAKE_TARGET ?= "all"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=25fe219a6febf6e5bb45beda1b2eb315"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone-evm"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/boot-monitor.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
PV = "2.0"
|
||||
PR = "r0+gitr${SRCPV}"
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
|
||||
BRANCH = "master"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
#Tag "K2_BM_13.11"
|
||||
SRCREV = "ba597d183423971e63295cdd59d3c90245e9170a"
|
||||
#Tag "K2_BM_14.09"
|
||||
SRCREV = "4b0287a3fa9c7a25c75bbe3a54f4ac2a92dc0aaa"
|
||||
|
||||
BOOT_MONITOR_BINARY ?= "skern.bin"
|
||||
BOOT_MONITOR_IMAGE ?= "skern-${MACHINE}.bin"
|
||||
|
||||
FLOATABI = "${@base_contains("TUNE_FEATURES", "vfp", base_contains("TUNE_FEATURES", "callconvention-hard", " -mfloat-abi=hard", " -mfloat-abi=softfp", d), "" ,d)}"
|
||||
|
||||
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS} ${FLOATABI}""
|
||||
|
||||
do_compile () {
|
||||
unset LDFLAGS
|
||||
|
||||
@@ -3,10 +3,12 @@ DESCRIPTION = "Kernel module for contiguous memory allocation from userspace"
|
||||
include cmem.inc
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
|
||||
MACHINE_KERNEL_PR_append = "b+gitr${SRCPV}"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
inherit module
|
||||
|
||||
EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"'
|
||||
MAKE_TARGETS = "module"
|
||||
|
||||
module_autoload_cmemk = "cmemk"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
HOMEPAGE = "http://processors.wiki.ti.com/index.php/Category:CMEM"
|
||||
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=b86138d4028fb8310b3b983024edc620"
|
||||
LIC_FILES_CHKSUM = "file://include/ti/cmem.h;beginline=1;endline=30;md5=9b745e2765a6ba8a636c91aed4b02ac1"
|
||||
|
||||
BRANCH ?= "master"
|
||||
# This corresponds to version 4.00.01.08
|
||||
SRCREV = "0b68dfe9f155a1978cdb2178e052dc0d6f1e705b"
|
||||
# This corresponds to version 4.10.00.01
|
||||
SRCREV = "0d2fac7187ca1f6af62a98dee5b3621908cf5831"
|
||||
|
||||
SRC_URI = "git://git.ti.com/ipc/ludev.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ include cmem.inc
|
||||
|
||||
RDEPENDS_${PN} = "cmem-mod"
|
||||
|
||||
PR = "r0+gitr${SRCPV}"
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
|
||||
20
recipes-bsp/common-csl-ip/common-csl-ip_git.bb
Normal file
20
recipes-bsp/common-csl-ip/common-csl-ip_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "Chip support library low level interface"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
PR = "r2"
|
||||
BRANCH="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}"
|
||||
# commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.06A
|
||||
SRCREV = "6e39222e13244c285929bda2f90f5224f9ea5144"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${includedir}/ti/csl
|
||||
find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
|
||||
find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl
|
||||
}
|
||||
26
recipes-bsp/cppi-lld/cppi-lld-test_git.bb
Executable file
26
recipes-bsp/cppi-lld/cppi-lld-test_git.bb
Executable file
@@ -0,0 +1,26 @@
|
||||
DESCRIPTION = "TI CPPI low level driver unit test and example binaries"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld"
|
||||
|
||||
include cppi-lld.inc
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S}
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
done
|
||||
}
|
||||
15
recipes-bsp/cppi-lld/cppi-lld.inc
Normal file
15
recipes-bsp/cppi-lld/cppi-lld.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/cppi/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/cppi-lld.git;destsuffix=git/ti/drv/cppi;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.CPPI_LLD.02.01.00.06"
|
||||
SRCREV = "4c6c0a857786c49d8003453d3bc7c3c97ff4f5a4"
|
||||
PV = "02.01.00.06"
|
||||
PR = "r0"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/cppi"
|
||||
19
recipes-bsp/cppi-lld/cppi-lld_git.bb
Executable file
19
recipes-bsp/cppi-lld/cppi-lld_git.bb
Executable file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "TI CPPI Module low level driver"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld"
|
||||
|
||||
include cppi-lld.inc
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
23
recipes-bsp/cuia/cuia_1.0.0.13.bb
Normal file
23
recipes-bsp/cuia/cuia_1.0.0.13.bb
Normal file
@@ -0,0 +1,23 @@
|
||||
DESCRIPTION = "TI Unified Instrumentation Architecture in C (cUIA)"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://cuia_${CUIA_PV}_manifest.html;md5=0eea94e3bb94de4ddee77653eba1c7c5"
|
||||
|
||||
CUIA_PV = "1_00_00_13"
|
||||
CUIA_PVExtra = ""
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_ccstudio/UIA/SCMCSDK/cuia_${CUIA_PV}${CUIA_PVExtra}.tar.gz;name=cuia"
|
||||
SRC_URI[cuia.md5sum] = "ef53989ac70c191841cd656cdc8770be"
|
||||
SRC_URI[cuia.sha256sum] = "f16d138a9146fdc7d52cba77bd30596da65835f6ffe4092baf2b33d1c1a4fb0d"
|
||||
|
||||
S = "${WORKDIR}/cuia_${CUIA_PV}${CUIA_PVExtra}"
|
||||
|
||||
do_compile () {
|
||||
cd ${S}
|
||||
oe_runmake clean
|
||||
oe_runmake all
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${S}
|
||||
oe_runmake DESTDIR=${D} libdir=${libdir} includedir=${includedir} install
|
||||
}
|
||||
18
recipes-bsp/dfe-lld/dfe-lld-test_git.bb
Normal file
18
recipes-bsp/dfe-lld/dfe-lld-test_git.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
DESCRIPTION = "TI Digital Radio Front End lld test application"
|
||||
|
||||
DEPENDS = "common-csl-ip dfe-lld iqn2-lld"
|
||||
|
||||
include dfe-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} DFE_SRC_DIR=${S}"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
oe_runmake clean DEVICE=k2l
|
||||
oe_runmake tests DEVICE=k2l
|
||||
oe_runmake tests DEVICE=k2l USEDYNAMIC_LIB=yes
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake installbin INSTALL_BIN_BASE_DIR=${D}/${bindir}
|
||||
}
|
||||
13
recipes-bsp/dfe-lld/dfe-lld.inc
Normal file
13
recipes-bsp/dfe-lld/dfe-lld.inc
Normal file
@@ -0,0 +1,13 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=1f4217b705bf98762a302fd720649dcc"
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/dfe-lld.git;destsuffix=git/ti/drv/dfe;protocol=git;branch=${BRANCH}"
|
||||
# The following commit correspond to DEV.DFE_LLD.01.00.00.03C
|
||||
SRCREV = "ed20e87d3676e3e05ce2b78179b504a05083ad15"
|
||||
|
||||
PV = "1.0.0.3"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2l-evm"
|
||||
|
||||
S = "${WORKDIR}/git/ti/drv/dfe"
|
||||
15
recipes-bsp/dfe-lld/dfe-lld_git.bb
Normal file
15
recipes-bsp/dfe-lld/dfe-lld_git.bb
Normal file
@@ -0,0 +1,15 @@
|
||||
DESCRIPTION = "Digital Radio Front End low level driver"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
include dfe-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake lib DEVICE=k2l
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
26
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.05.bb
Normal file
26
recipes-bsp/dspdce-fw/dspdce-fw_1.00.00.05.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
DESCRIPTION = "Firmware for DSP for an example application called copycodectest"
|
||||
LICENSE = "TI-TSPA"
|
||||
LIC_FILES_CHKSUM = "file://DSPDCE-${PV}-Manifest.doc;md5=386d1802eefc2fcf00ab01a5b4556277"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/dspdce/1_00_00_05/exports/dspdce-${MACHINE}-1.00.00.05.tar.gz;protocol=ftp"
|
||||
|
||||
S = "${WORKDIR}/dspdce-${MACHINE}-${PV}"
|
||||
|
||||
SRC_URI[md5sum] = "4f3d5c6ef088019aa4804eaaedc8e949"
|
||||
SRC_URI[sha256sum] = "8d99c4f149613448a6d72c62a18cc7445c63c687b786658da1762c4e1c03a6a0"
|
||||
|
||||
TARGET = "dra7-dsp1-fw.xe66"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}${base_libdir}/firmware
|
||||
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
|
||||
|
||||
INSANE_SKIP_${PN} = "arch"
|
||||
|
||||
PR = "r1"
|
||||
80
recipes-bsp/edma3-lld/edma3-lld_git.bb
Executable file
80
recipes-bsp/edma3-lld/edma3-lld_git.bb
Executable file
@@ -0,0 +1,80 @@
|
||||
DESCRIPTION = "TI EDMA3 low level driver and test code"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
|
||||
# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_13_17
|
||||
SRCREV = "8c27e548fa53ca8472404ef347b8f6b6e2588d46"
|
||||
|
||||
PV = "2.11.13"
|
||||
PR = "r0"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
PLATFORMLIST = "tci6636k2h-evm \
|
||||
tci6638k2k-evm \
|
||||
tci6630k2l-evm \
|
||||
c66ak2e-evm \
|
||||
"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
FILES_${PN}-test = "${bindir}/*"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
cd ${S}/packages
|
||||
for platform in ${PLATFORMLIST}
|
||||
do
|
||||
ROOTDIR=${S} CROSSCC="${TARGET_PREFIX}gcc" CROSSAR="${TARGET_PREFIX}ar" \
|
||||
CROSSLNK="${TARGET_PREFIX}gcc" INTERNAL_SW_ROOT="${S}" make \
|
||||
PLATFORM="$platform" TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF \
|
||||
SONAME=libedma3.so all
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/${libdir}
|
||||
|
||||
# Static Libraries
|
||||
cp ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg \
|
||||
${D}/${libdir}/libedma3.a
|
||||
cp ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg \
|
||||
${D}/${libdir}/libedma3rm.a
|
||||
|
||||
# Shared Libraries
|
||||
cp -a ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/libedma* ${D}/${libdir}
|
||||
cp -a ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma* ${D}/${libdir}
|
||||
|
||||
# Copy Headers
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/drv/
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/rm
|
||||
cp ${S}/packages/ti/sdo/edma3/drv/*.h ${D}/${includedir}/ti/sdo/edma3/drv/
|
||||
cp ${S}/packages/ti/sdo/edma3/rm/*.h ${D}/${includedir}/ti/sdo/edma3/rm/
|
||||
|
||||
# Copy Sample Config
|
||||
install -d ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
cp ${S}/examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c \
|
||||
${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
|
||||
|
||||
install -d ${D}/${bindir}
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/bin/tci6636k2h-evm/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/bin/tci6638k2k-evm/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/bin/tci6630k2l-evm/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg
|
||||
install -c -m 755 ${S}/examples/edma3_user_space_driver/evmC66AK2E/bin/c66ak2e-evm/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg \
|
||||
${D}/${bindir}/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg
|
||||
}
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
PRINC := "${@int(PRINC) + 1}"
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
||||
20
recipes-bsp/hplib/hplib-mod_git.bb
Normal file
20
recipes-bsp/hplib/hplib-mod_git.bb
Normal file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "TI High Performance Library kernel module"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/module/COPYING.txt;md5=c1c4d3453cddc5b7f0ce84a277e66779"
|
||||
|
||||
DEPENDS = "hplib"
|
||||
|
||||
include hplib.inc
|
||||
|
||||
# This package builds a kernel module, use kernel PR as base and append a local
|
||||
MACHINE_KERNEL_PR_append = "a+gitr${SRCPV}"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
S ="${WORKDIR}/git/ti/runtime/hplib/module"
|
||||
EXTRA_OEMAKE = "KDIR=${STAGING_KERNEL_DIR} PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
inherit module
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_MOD_PATH="${D}"
|
||||
}
|
||||
30
recipes-bsp/hplib/hplib-test_git.bb
Normal file
30
recipes-bsp/hplib/hplib-test_git.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
DESCRIPTION = "TI High performance library test binaries"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
DEPENDS = "common-csl-ip qmss-lld sa-lld pktlib hplib"
|
||||
|
||||
include hplib.inc
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/hplib"
|
||||
|
||||
EXTRA_OEMAKE += '-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}'
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake tests HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
10
recipes-bsp/hplib/hplib.inc
Normal file
10
recipes-bsp/hplib/hplib.inc
Normal file
@@ -0,0 +1,10 @@
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/hplib.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.HPLIB.01.01.00.04"
|
||||
SRCREV = "89d847bb8155f5727867d82f96978f89ea0a7d13"
|
||||
PV = "01.01.00.04"
|
||||
30
recipes-bsp/hplib/hplib_git.bb
Normal file
30
recipes-bsp/hplib/hplib_git.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
DESCRIPTION = "TI High performance libraries"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib"
|
||||
|
||||
include hplib.inc
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/hplib"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake lib HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
32
recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
Executable file
32
recipes-bsp/hyplnk-lld/hyplnk-lld-test_git.bb
Executable file
@@ -0,0 +1,32 @@
|
||||
include hyplnk-lld.inc
|
||||
|
||||
DEPENDS = "common-csl-ip hyplnk-lld"
|
||||
|
||||
CHOICELIST = " yes \
|
||||
no \
|
||||
"
|
||||
|
||||
do_compile () {
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
HYPLNK_SRC_DIR="${S}"
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples \
|
||||
PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
DEVICE="$device" HYPLNK_SRC_DIR="${S}" \
|
||||
USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 installbin \
|
||||
PDK_INSTALL_PATH="${STAGING_INCDIR}" DEVICE="$device" \
|
||||
HYPLNK_SRC_DIR="${S}" \
|
||||
INSTALL_BIN_BASE_DIR="${D}/${bindir}"
|
||||
done
|
||||
}
|
||||
24
recipes-bsp/hyplnk-lld/hyplnk-lld.inc
Normal file
24
recipes-bsp/hyplnk-lld/hyplnk-lld.inc
Normal file
@@ -0,0 +1,24 @@
|
||||
DESCRIPTION = "TI Hyperlink Low Level Driver"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
LLDNAME="hyplnk"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/${LLDNAME}/COPYING.txt;md5=623325cc19e613a4e770fbb749922592"
|
||||
|
||||
BRANCH="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/hyplnk-lld.git;destsuffix=git/ti/drv/${LLDNAME};protocol=git;branch=${BRANCH}"
|
||||
# Following commit corresponds to tag DEV.HYPLNK_LLD.02.01.00.01
|
||||
SRCREV = "6910da379501984ecf27f8d23ba6fc6310fe387e"
|
||||
|
||||
PV = "2.1.0"
|
||||
PR = "r0"
|
||||
|
||||
DEVICELIST = " k2h \
|
||||
k2k \
|
||||
k2e \
|
||||
"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/${LLDNAME}"
|
||||
22
recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb
Executable file
22
recipes-bsp/hyplnk-lld/hyplnk-lld_git.bb
Executable file
@@ -0,0 +1,22 @@
|
||||
include hyplnk-lld.inc
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
CHOICELIST = " yes \
|
||||
no \
|
||||
"
|
||||
do_compile () {
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
HYPLNK_SRC_DIR="${S}"
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH="${STAGING_INCDIR}"\
|
||||
DEVICE="$device" HYPLNK_SRC_DIR="${S}"
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
INSTALL_INC_BASE_DIR="${D}/${includedir}" \
|
||||
INSTALL_LIB_BASE_DIR="${D}${libdir}" HYPLNK_SRC_DIR="${S}"
|
||||
}
|
||||
33
recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb
Normal file
33
recipes-bsp/ipumm-fw/ipumm-fw_3.00.04.02.bb
Normal file
@@ -0,0 +1,33 @@
|
||||
python __anonymous() {
|
||||
features = bb.data.getVar("MACHINE_FEATURES", d, 1)
|
||||
if not features:
|
||||
return
|
||||
if "mmip" not in features:
|
||||
raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES')
|
||||
}
|
||||
|
||||
DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
|
||||
LICENSE = "TI-TSPA"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://MMIP-${PV}-Manifest.doc;md5=39a593dd8fc2a9654c74f679ed329c45"
|
||||
|
||||
COMPATIBLE_MACHINE = "omap5-evm"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_04_02/exports/ipumm-${MACHINE}-${PV}.tar.gz;protocol=http"
|
||||
|
||||
SRC_URI[md5sum] = "1572073ebd4f6d127c4e8cf47d270b6a"
|
||||
SRC_URI[sha256sum] = "2fdb469f19e3c9984854f5bc82444fca4d7da869f5e645da22ec0d5beaa5cc65"
|
||||
|
||||
S = "${WORKDIR}/ipumm-${MACHINE}-${PV}"
|
||||
|
||||
TARGET = "ducati-m3-core0.xem3"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}${base_libdir}/firmware
|
||||
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
|
||||
|
||||
PR = "r3"
|
||||
33
recipes-bsp/ipumm-fw/ipumm-fw_3.00.07.02.bb
Normal file
33
recipes-bsp/ipumm-fw/ipumm-fw_3.00.07.02.bb
Normal file
@@ -0,0 +1,33 @@
|
||||
python __anonymous() {
|
||||
features = bb.data.getVar("MACHINE_FEATURES", d, 1)
|
||||
if not features:
|
||||
return
|
||||
if "mmip" not in features:
|
||||
raise bb.parse.SkipPackage('ipumm-fw does not apply to systems without the "mmip" flag in MACHINE_FEATURES')
|
||||
}
|
||||
|
||||
DESCRIPTION = "Firmware for IPU for supporting Accelerated MM decode and encode"
|
||||
LICENSE = "TI-TSPA"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://MMIP-${PV}-Manifest.doc;md5=caa45d993ac010abe2fd319f6613bc26"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SRC_URI = "http://downloads.ti.com/dsps/dsps_public_sw/glsdk/ipumm/3_00_07_02/exports/ipumm-dra7xx-evm-${PV}.tar.gz;protocol=http"
|
||||
|
||||
SRC_URI[md5sum] = "06aaf4f144d48ca16054e67e40cc7bc3"
|
||||
SRC_URI[sha256sum] = "0f07176e313a692a05fa6bfe9f7920b677b0924287121945c6e22b3f4408670c"
|
||||
|
||||
S = "${WORKDIR}/ipumm-dra7xx-evm-${PV}"
|
||||
|
||||
TARGET = "dra7-ipu2-fw.xem4"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}${base_libdir}/firmware
|
||||
cp ${S}/firmware/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware/${TARGET}"
|
||||
|
||||
PR = "r4"
|
||||
16
recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
Normal file
16
recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
Normal file
@@ -0,0 +1,16 @@
|
||||
DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries"
|
||||
|
||||
DEPENDS = "common-csl-ip iqn2-lld dfe-lld"
|
||||
|
||||
include iqn2-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake clean DEVICE=k2l
|
||||
oe_runmake tests DEVICE=k2l
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
|
||||
}
|
||||
13
recipes-bsp/iqn2-lld/iqn2-lld.inc
Normal file
13
recipes-bsp/iqn2-lld/iqn2-lld.inc
Normal file
@@ -0,0 +1,13 @@
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git;destsuffix=git/ti/drv/iqn2;protocol=git;branch=${BRANCH}"
|
||||
# Following commit corresponds to DEV.IQN_LLD.01.00.00.05B
|
||||
SRCREV = "ca35079f41d06259be39f992f55a9f815d305ef5"
|
||||
|
||||
PV = "1.0.0.5"
|
||||
|
||||
COMPATIBLE_MACHINE = "k2l-evm"
|
||||
|
||||
S = "${WORKDIR}/git/ti/drv/iqn2"
|
||||
16
recipes-bsp/iqn2-lld/iqn2-lld_git.bb
Normal file
16
recipes-bsp/iqn2-lld/iqn2-lld_git.bb
Normal file
@@ -0,0 +1,16 @@
|
||||
DESCRIPTION = "TI IQN2 peripheral module low level driver"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
include iqn2-lld.inc
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake clean
|
||||
oe_runmake lib
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
40
recipes-bsp/mmap-lld/mmap-lld-test_git.bb
Executable file
40
recipes-bsp/mmap-lld/mmap-lld-test_git.bb
Executable file
@@ -0,0 +1,40 @@
|
||||
DESCRIPTION = "TI KEYSTONE MMAP driver test binaries "
|
||||
include mmap-lld.inc
|
||||
|
||||
DEPENDS="common-csl-ip mmap-lld"
|
||||
RDEPENDS_${PN}="uio-module-drv"
|
||||
|
||||
DEVICELIST = "k2h \
|
||||
k2k \
|
||||
k2e \
|
||||
"
|
||||
|
||||
CHOICELIST = " yes \
|
||||
no \
|
||||
"
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 clean \
|
||||
PDK_INSTALL_PATH="${STAGING_INCDIR}" \
|
||||
DEVICE="$device" MPAX_SRC_DIR="${S}"
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples \
|
||||
PDK_INSTALL_PATH=${STAGING_INCDIR} \
|
||||
DEVICE="$device" MPAX_SRC_DIR="${S}" \
|
||||
USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 installbin \
|
||||
PDK_INSTALL_PATH=${STAGING_INCDIR} \
|
||||
DEVICE="$device" MPAX_SRC_DIR="${S}" \
|
||||
INSTALL_BIN_BASE_DIR="${D}/${bindir}"
|
||||
done
|
||||
}
|
||||
16
recipes-bsp/mmap-lld/mmap-lld.inc
Normal file
16
recipes-bsp/mmap-lld/mmap-lld.inc
Normal file
@@ -0,0 +1,16 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=b3315b8190036fe1c6a8263d02e15606"
|
||||
|
||||
|
||||
BRANCH="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/mmap-lld.git;destsuffix=git/ti/runtime/mmap;protocol=git;branch=${BRANCH}"
|
||||
# Commit correspond to DEV.MMAP.02.00.00.03
|
||||
SRCREV = "601f9284c392f67bb7f69ed1a5df5231a43c3137"
|
||||
|
||||
PV="2.0.0"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/mmap"
|
||||
12
recipes-bsp/mmap-lld/mmap-lld_git.bb
Executable file
12
recipes-bsp/mmap-lld/mmap-lld_git.bb
Executable file
@@ -0,0 +1,12 @@
|
||||
DESCRIPTION = "TI KEYSTONE mmap driver using Keystone MPAX Programming"
|
||||
include mmap-lld.inc
|
||||
|
||||
DEPENDS="common-csl-ip"
|
||||
|
||||
do_compile () {
|
||||
make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
25
recipes-bsp/nwal-lld/nwal-lld-test_git.bb
Normal file
25
recipes-bsp/nwal-lld/nwal-lld-test_git.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "TI Network Abstraction Layer unit test binaries"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib nwal-lld"
|
||||
|
||||
include nwal-lld.inc
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
oe_runmake tests NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
18
recipes-bsp/nwal-lld/nwal-lld.inc
Normal file
18
recipes-bsp/nwal-lld/nwal-lld.inc
Normal file
@@ -0,0 +1,18 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/nwal-lld.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below commit ID corresponds to "DEV.NWAL.02.01.00.04A"
|
||||
SRCREV = "099a9191e642c7732760078bf5af1e3c6ca0197b"
|
||||
PV = "02.01.00.04"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/nwal"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
25
recipes-bsp/nwal-lld/nwal-lld_git.bb
Normal file
25
recipes-bsp/nwal-lld/nwal-lld_git.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "TI Network abstraction layer LLD library "
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib"
|
||||
|
||||
include nwal-lld.inc
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
|
||||
do_compile () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
oe_runmake lib NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
|
||||
done
|
||||
}
|
||||
28
recipes-bsp/pa-lld/pa-lld-test_git.bb
Normal file
28
recipes-bsp/pa-lld/pa-lld-test_git.bb
Normal file
@@ -0,0 +1,28 @@
|
||||
DESCRIPTION = "TI PA LLD unit test and example binaries"
|
||||
|
||||
DEPENDS = "common-csl-ip pa-lld cppi-lld qmss-lld sa-lld"
|
||||
|
||||
include pa-lld.inc
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld unit test examples
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S}
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" PA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
done
|
||||
}
|
||||
15
recipes-bsp/pa-lld/pa-lld.inc
Normal file
15
recipes-bsp/pa-lld/pa-lld.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/pa/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/pa-lld.git;destsuffix=git/ti/drv/pa;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below Commit ID corresponds to "DEV.PA_LLD.03.00.01.01"
|
||||
SRCREV = "55207930b4491f33776f2c4c2c0707a73c69314c"
|
||||
PV = "03.00.01.01"
|
||||
PR = "r0"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/pa"
|
||||
15
recipes-bsp/pa-lld/pa-lld_git.bb
Normal file
15
recipes-bsp/pa-lld/pa-lld_git.bb
Normal file
@@ -0,0 +1,15 @@
|
||||
DESCRIPTION = "TI PA LLD library"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld"
|
||||
|
||||
include pa-lld.inc
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
make -f makefile_armv7 DEVICE=k2h clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
make -f makefile_armv7 DEVICE=k2l lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
25
recipes-bsp/pktlib/pktlib_git.bb
Normal file
25
recipes-bsp/pktlib/pktlib_git.bb
Normal file
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
|
||||
|
||||
DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Corresponds to DEV.PKTLIB.2.1.0.4
|
||||
SRCREV = "a9aa56afed54b0a04f36d2fdb248cad5dcac6ff6"
|
||||
PV = "2.1.0.4"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/pktlib"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake lib
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
From e2db38959a70d1be604a297276a0b0c2ac219bf5 Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Tue, 29 Jul 2014 16:06:17 -0500
|
||||
Subject: [PATCH 1/4] PoC: GFX: SDK: Make 5_01_01_01 work against 3.14 LTS
|
||||
|
||||
An API rename is the main change. Also hacked in some function prototypes
|
||||
for enabling use of the tilcdc DRM driver instead of the fbdev driver on
|
||||
AM335x. However this all really needs a good cleanup as it is hacky at
|
||||
the moment.
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c | 5 +++++
|
||||
GFX_Linux_KM/services4/srvkm/env/linux/mutils.h | 6 +++++-
|
||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
index 5c3fc48..3857b95 100644
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
@@ -93,6 +93,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#include <linux/mutex.h>
|
||||
|
||||
#include <video/da8xx-fb.h>
|
||||
+/* used by SGX OMAPLFB drvier */
|
||||
+typedef void (*vsync_callback_t)(void *arg);
|
||||
+int register_vsync_cb(vsync_callback_t handler, void *arg, int idx);
|
||||
+int unregister_vsync_cb(vsync_callback_t handler, void *arg, int idx);
|
||||
+
|
||||
#if defined(PVR_OMAPLFB_DRM_FB)
|
||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,0,0))
|
||||
#include <plat/display.h>
|
||||
diff --git a/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h b/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
|
||||
index 31e0dac..90ec41c 100644
|
||||
--- a/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
|
||||
+++ b/GFX_Linux_KM/services4/srvkm/env/linux/mutils.h
|
||||
@@ -79,7 +79,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#define IOREMAP(pa, bytes) ioremap_cache(pa, bytes)
|
||||
#else
|
||||
#if defined(__arm__) && (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
|
||||
- #define IOREMAP(pa, bytes) ioremap_cached(pa, bytes)
|
||||
+ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,13,0))
|
||||
+ #define IOREMAP(pa, bytes) ioremap_cache(pa, bytes)
|
||||
+ #else
|
||||
+ #define IOREMAP(pa, bytes) ioremap_cached(pa, bytes)
|
||||
+ #endif
|
||||
#else
|
||||
#define IOREMAP(pa, bytes) ioremap(pa, bytes)
|
||||
#endif
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -0,0 +1,121 @@
|
||||
From 7886ef77e4b48a7edd14acbcbe48f6a898251e78 Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Fri, 25 Jul 2014 16:03:14 -0500
|
||||
Subject: [PATCH 2/5] SGX: linux: use platform data to provide reset info
|
||||
|
||||
In ti-linux-3.14.y we will not have a reset driver unlike ti-linux-3.12.y
|
||||
so this commit removes the dependency on the reset driver and instead
|
||||
uses the platform data that in a dt environment is configured in
|
||||
mach-omap2/pdata-quirks.c
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/srvkm/env/linux/module.c | 34 ++++++++++++++++++++-----
|
||||
1 file changed, 28 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/srvkm/env/linux/module.c b/GFX_Linux_KM/services4/srvkm/env/linux/module.c
|
||||
index e03dc00..90e16ce 100644
|
||||
--- a/GFX_Linux_KM/services4/srvkm/env/linux/module.c
|
||||
+++ b/GFX_Linux_KM/services4/srvkm/env/linux/module.c
|
||||
@@ -47,6 +47,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#ifndef CONFIG_RESET_CONTROLLER
|
||||
+#include <linux/platform_data/sgx-omap.h>
|
||||
+#endif
|
||||
+
|
||||
#if defined(SUPPORT_DRI_DRM) && !defined(SUPPORT_DRI_DRM_PLUGIN)
|
||||
#define PVR_MOD_STATIC
|
||||
#else
|
||||
@@ -344,9 +348,11 @@ static LDM_DRV powervr_driver = {
|
||||
LDM_DEV *gpsPVRLDMDev;
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
|
||||
+#ifdef CONFIG_RESET_CONTROLLER
|
||||
struct reset_control *rstc;
|
||||
bool already_deasserted = false;
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if defined(MODULE) && defined(PVR_LDM_PLATFORM_MODULE) && \
|
||||
!defined(PVR_USE_PRE_REGISTERED_PLATFORM_DEV)
|
||||
@@ -388,11 +394,14 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
#endif
|
||||
{
|
||||
SYS_DATA *psSysData;
|
||||
- int ret;
|
||||
+ int ret;
|
||||
+ struct device *dev = &pDevice->dev;
|
||||
+ struct gfx_sgx_platform_data *pdata = dev->platform_data;
|
||||
+
|
||||
PVR_TRACE(("PVRSRVDriverProbe(pDevice=%p)", pDevice));
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
|
||||
+#ifdef CONFIG_RESET_CONTROLLER
|
||||
rstc = reset_control_get(&pDevice->dev, NULL);
|
||||
-
|
||||
if (IS_ERR(rstc))
|
||||
{
|
||||
dev_err(&pDevice->dev, "%s: error: reset_control_get\n", __func__);
|
||||
@@ -403,7 +412,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
|
||||
if (ret < 0)
|
||||
{
|
||||
- dev_err(&pDevice->dev, "%s: error: reset_control_clear_reset\n", __func__);
|
||||
+ dev_err(dev, "%s: error: reset_control_clear_reset\n", __func__);
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -413,11 +422,22 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
{
|
||||
already_deasserted = true;
|
||||
}
|
||||
- else if (ret < 0)
|
||||
+ else if (ret < 0)
|
||||
{
|
||||
- dev_err(&pDevice->dev, "%s: error: reset_control_deassert\n", __func__);
|
||||
+ dev_err(dev, "%s: error: reset_control_deassert\n", __func__);
|
||||
return ret;
|
||||
}
|
||||
+#else
|
||||
+ if (pdata && pdata->deassert_reset) {
|
||||
+ ret = pdata->deassert_reset(pDevice, pdata->reset_name);
|
||||
+ if (ret) {
|
||||
+ dev_err(dev, "Unable to reset SGX!\n");
|
||||
+ }
|
||||
+ } else {
|
||||
+ dev_err(dev, "SGX Platform data missing deassert_reset!\n");
|
||||
+ return -ENODEV;
|
||||
+ }
|
||||
+#endif /* CONFIG_RESET_CONTROLLER */
|
||||
#endif
|
||||
|
||||
#if 0 /* INTEGRATION_POINT */
|
||||
@@ -432,7 +452,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
-#endif
|
||||
+#endif
|
||||
/* SysInitialise only designed to be called once.
|
||||
*/
|
||||
psSysData = SysAcquireDataNoCheck();
|
||||
@@ -445,6 +465,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
}
|
||||
}
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0))
|
||||
+#ifdef CONFIG_RESET_CONTROLLER
|
||||
if (!already_deasserted)
|
||||
{
|
||||
ret = reset_control_is_reset(rstc);
|
||||
@@ -454,6 +475,7 @@ static int __devinit PVRSRVDriverProbe(LDM_DEV *pDevice, const struct pci_device
|
||||
}
|
||||
}
|
||||
reset_control_put(rstc);
|
||||
+#endif /* CONFIG_RESET_CONTROLLER */
|
||||
#endif
|
||||
|
||||
return PVRSRVIONClientCreate();
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -0,0 +1,153 @@
|
||||
From cf5156ff82e14fe01a194f9fa9a9adc528ac72f0 Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Tue, 29 Jul 2014 15:39:56 -0500
|
||||
Subject: [PATCH 3/4] SGX: displayclass: am335x, am437x - fix mutex deadlock
|
||||
warning
|
||||
|
||||
Rearrange the locking semantics in the Unblank screen function to
|
||||
remove the kernel warning about a possible deadlock scenario.
|
||||
|
||||
The warning presents itself on the console like this:
|
||||
[ 2976.202979] ======================================================
|
||||
[ 2976.202983] [ INFO: possible circular locking dependency detected ]
|
||||
[ 2976.202994] 3.14.11-00997-gb20d0ac-dirty #53 Tainted: G O
|
||||
[ 2976.202997] -------------------------------------------------------
|
||||
[ 2976.203005] OGLES2Chameleon/1203 is trying to acquire lock:
|
||||
[ 2976.203058] (console_lock){+.+.+.}, at: [<bf07a310>]
|
||||
OMAPLFBUnblankDisplay+0x24/0xbc [omaplfb]
|
||||
[ 2976.203062]
|
||||
[ 2976.203062] but task is already holding lock:
|
||||
[ 2976.203087] (&fb_info->lock){+.+.+.}, at: [<c0312358>]
|
||||
lock_fb_info+0x18/0x3c
|
||||
[ 2976.203090]
|
||||
[ 2976.203090] which lock already depends on the new lock.
|
||||
[ 2976.203090]
|
||||
[ 2976.203093]
|
||||
[ 2976.203093] the existing dependency chain (in reverse order) is:
|
||||
[ 2976.203101]
|
||||
[ 2976.203101] -> #1 (&fb_info->lock){+.+.+.}:
|
||||
[ 2976.203112] [<c0312358>] lock_fb_info+0x18/0x3c
|
||||
[ 2976.203124] [<c0313a7c>] register_framebuffer+0x174/0x26c
|
||||
[ 2976.203146] [<c033c314>] omapfb_create_framebuffers+0x48c/0x7ac
|
||||
[ 2976.203157] [<c033d3c4>] omapfb_probe+0x4d4/0x848
|
||||
[ 2976.203170] [<c0381cc8>] platform_drv_probe+0x18/0x48
|
||||
[ 2976.203189] [<c038096c>] driver_probe_device+0x10c/0x238
|
||||
[ 2976.203199] [<c0380b2c>] __driver_attach+0x94/0x98
|
||||
[ 2976.203208] [<c037f0f0>] bus_for_each_dev+0x54/0x88
|
||||
[ 2976.203216] [<c03800f0>] bus_add_driver+0xd8/0x1d8
|
||||
[ 2976.203223] [<c038115c>] driver_register+0x78/0xf4
|
||||
[ 2976.203234] [<c0008968>] do_one_initcall+0xe4/0x144
|
||||
[ 2976.203250] [<c07d3c18>] kernel_init_freeable+0xfc/0x1cc
|
||||
[ 2976.203261] [<c0563260>] kernel_init+0x8/0xec
|
||||
[ 2976.203275] [<c000e648>] ret_from_fork+0x14/0x2c
|
||||
[ 2976.203284]
|
||||
[ 2976.203284] -> #0 (console_lock){+.+.+.}:
|
||||
[ 2976.203301] [<c008bc00>] console_lock+0x4c/0x60
|
||||
[ 2976.203328] [<bf07a310>] OMAPLFBUnblankDisplay+0x24/0xbc [omaplfb]
|
||||
[ 2976.203340] [<bf0797f4>] OpenDCDevice+0x60/0x78 [omaplfb]
|
||||
[ 2976.203459] [<bf041ac0>] PVRSRVOpenDCDeviceKM+0xec/0x178 [pvrsrvkm]
|
||||
[ 2976.203654] [<bf05645c>] PVRSRVOpenDCDeviceBW+0x6c/0xac [pvrsrvkm]
|
||||
[ 2976.203811] [<bf056d10>] BridgedDispatchKM+0xf4/0x14c [pvrsrvkm]
|
||||
[ 2976.203966] [<bf04f304>] PVRSRV_BridgeDispatchKM+0xf0/0x204
|
||||
[pvrsrvkm]
|
||||
[ 2976.203987] [<c0129500>] do_vfs_ioctl+0x78/0x61c
|
||||
[ 2976.203997] [<c0129b08>] SyS_ioctl+0x64/0x74
|
||||
[ 2976.204013] [<c000e580>] ret_fast_syscall+0x0/0x48
|
||||
[ 2976.204016]
|
||||
[ 2976.204016] other info that might help us debug this:
|
||||
[ 2976.204016]
|
||||
[ 2976.204019] Possible unsafe locking scenario:
|
||||
[ 2976.204019]
|
||||
[ 2976.204022] CPU0 CPU1
|
||||
[ 2976.204024] ---- ----
|
||||
[ 2976.204030] lock(&fb_info->lock);
|
||||
[ 2976.204036] lock(console_lock);
|
||||
[ 2976.204041] lock(&fb_info->lock);
|
||||
[ 2976.204046] lock(console_lock);
|
||||
[ 2976.204048]
|
||||
[ 2976.204048] *** DEADLOCK ***
|
||||
[ 2976.204048]
|
||||
[ 2976.204055] 2 locks held by OGLES2Chameleon/1203:
|
||||
[ 2976.204217] #0: (psPVRSRVMutex#2/1){+.+.+.}, at: [<bf04f238>]
|
||||
PVRSRV_BridgeDispatchKM+0x24/0x204 [pvrsrvkm]
|
||||
[ 2976.204240] #1: (&fb_info->lock){+.+.+.}, at: [<c0312358>]
|
||||
lock_fb_info+0x18/0x3c
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c | 8 +++++---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c | 7 +++++--
|
||||
2 files changed, 10 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
index 3857b95..a5cc7d0 100644
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c
|
||||
@@ -812,10 +812,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
{
|
||||
#ifdef FBDEV_PRESENT
|
||||
int res;
|
||||
+
|
||||
+ OMAPLFB_CONSOLE_LOCK();
|
||||
if (!lock_fb_info(psDevInfo->psLINFBInfo))
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
": %s: Device %u: Couldn't lock FB info\n", __FUNCTION__, psDevInfo->uiFBDevID);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
return (OMAPLFB_ERROR_GENERIC);
|
||||
}
|
||||
|
||||
@@ -825,14 +828,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
* notification.
|
||||
*/
|
||||
|
||||
-
|
||||
- OMAPLFB_CONSOLE_LOCK();
|
||||
psDevInfo->psLINFBInfo->flags |= FBINFO_MISC_USEREVENT;
|
||||
res = fb_blank(psDevInfo->psLINFBInfo, bBlank ? 1 : 0);
|
||||
psDevInfo->psLINFBInfo->flags &= ~FBINFO_MISC_USEREVENT;
|
||||
|
||||
- OMAPLFB_CONSOLE_UNLOCK();
|
||||
unlock_fb_info(psDevInfo->psLINFBInfo);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
+
|
||||
if (res != 0 && res != -EINVAL)
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
|
||||
index c79dbd0..58b8640 100755
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/omaplfb_linux.c
|
||||
@@ -948,10 +948,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
{
|
||||
#ifdef FBDEV_PRESENT
|
||||
int res;
|
||||
+
|
||||
+ OMAPLFB_CONSOLE_LOCK();
|
||||
if (!lock_fb_info(psDevInfo->psLINFBInfo))
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
": %s: Device %u: Couldn't lock FB info\n", __FUNCTION__, psDevInfo->uiFBDevID);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
return (OMAPLFB_ERROR_GENERIC);
|
||||
}
|
||||
|
||||
@@ -961,13 +964,13 @@ static OMAPLFB_ERROR OMAPLFBBlankOrUnblankDisplay(OMAPLFB_DEVINFO *psDevInfo, IM
|
||||
* notification.
|
||||
*/
|
||||
|
||||
- OMAPLFB_CONSOLE_LOCK();
|
||||
psDevInfo->psLINFBInfo->flags |= FBINFO_MISC_USEREVENT;
|
||||
res = fb_blank(psDevInfo->psLINFBInfo, bBlank ? 1 : 0);
|
||||
psDevInfo->psLINFBInfo->flags &= ~FBINFO_MISC_USEREVENT;
|
||||
|
||||
- OMAPLFB_CONSOLE_UNLOCK();
|
||||
unlock_fb_info(psDevInfo->psLINFBInfo);
|
||||
+ OMAPLFB_CONSOLE_UNLOCK();
|
||||
+
|
||||
if (res != 0 && res != -EINVAL)
|
||||
{
|
||||
printk(KERN_ERR DRIVER_PREFIX
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
From c9258e090aec91e70efa814e5a38048b0c45754a Mon Sep 17 00:00:00 2001
|
||||
From: Darren Etheridge <detheridge@ti.com>
|
||||
Date: Tue, 29 Jul 2014 15:54:14 -0500
|
||||
Subject: [PATCH 4/4] SGX: linux: make it building against ti-linux-3.14.y
|
||||
|
||||
The fbdev drivers moved into their own directory under drivers/video.
|
||||
All of the omap2 dss stuff moved there as well so update the Makefile
|
||||
to point to the right place.
|
||||
|
||||
Keep the old directory around to not break builds against older kernel.
|
||||
|
||||
Signed-off-by: Darren Etheridge <detheridge@ti.com>
|
||||
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
|
||||
---
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild | 1 +
|
||||
GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
|
||||
index 1ae2359..9e0c843 100755
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/Kbuild
|
||||
@@ -15,6 +15,7 @@ EXTRA_CFLAGS = -DLINUX \
|
||||
-I$(PVR_BUILD_DIR)/services4/include \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/$(PVR_SYSTEM) \
|
||||
-I$(KERNELDIR)/drivers/video/omap2 \
|
||||
+ -I$(KERNELDIR)/drivers/video/fbdev/omap2 \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/include \
|
||||
$(SYS_CFLAGS.1) \
|
||||
|
||||
diff --git a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
|
||||
index 1ae2359..9e0c843 100755
|
||||
--- a/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
|
||||
+++ b/GFX_Linux_KM/services4/3rdparty/dc_ti43xx_linux/Kbuild
|
||||
@@ -15,6 +15,7 @@ EXTRA_CFLAGS = -DLINUX \
|
||||
-I$(PVR_BUILD_DIR)/services4/include \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/$(PVR_SYSTEM) \
|
||||
-I$(KERNELDIR)/drivers/video/omap2 \
|
||||
+ -I$(KERNELDIR)/drivers/video/fbdev/omap2 \
|
||||
-I$(PVR_BUILD_DIR)/services4/system/include \
|
||||
$(SYS_CFLAGS.1) \
|
||||
|
||||
--
|
||||
2.0.2
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
|
||||
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "4_08_00_01"
|
||||
IMGPV = "1.9.2139099"
|
||||
BINFILE = "Graphics_SDK_setuplinux_${SGXPV}.bin"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
SRC_URI[md5sum] = "dd0d994a48ecc4293f272a1fddddf159"
|
||||
SRC_URI[sha256sum] = "fd721288c95314e0d676dd89462e1dec994e185cb608bcb8ac4a4b5809f9693a"
|
||||
|
||||
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
|
||||
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
|
||||
|
||||
PVRBUILD = "release"
|
||||
export KERNELDIR = "${STAGING_KERNEL_DIR}"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
TI_PLATFORM_omap3 = "omap3630"
|
||||
TI_PLATFORM_ti814x = "ti81xx"
|
||||
TI_PLATFORM_ti816x = "ti81xx"
|
||||
TI_PLATFORM_ti33x = "ti335x"
|
||||
|
||||
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
|
||||
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti33x = "dc_ti335x_linux"
|
||||
|
||||
export SUPPORT_XORG ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}"
|
||||
|
||||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
cp ${S}/pvrsrvkm.ko \
|
||||
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
|
||||
if [ "${SUPPORT_XORG}" = "1" ]; then
|
||||
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
fi
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4"
|
||||
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "4_08_00_02"
|
||||
IMGPV = "1.9.2188537"
|
||||
BINFILE = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
SRC_URI[md5sum] = "0efa3a38266e6f41f8cc4fad0187f0d6"
|
||||
SRC_URI[sha256sum] = "c732044b515a598e1fab661b7463aa9c53d4fa37f4980dfa85cd02b7468d0cd9"
|
||||
|
||||
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
|
||||
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
|
||||
|
||||
PVRBUILD = "release"
|
||||
export KERNELDIR = "${STAGING_KERNEL_DIR}"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
TI_PLATFORM_omap3 = "omap3630"
|
||||
TI_PLATFORM_ti814x = "ti81xx"
|
||||
TI_PLATFORM_ti816x = "ti81xx"
|
||||
TI_PLATFORM_ti33x = "ti335x"
|
||||
|
||||
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
|
||||
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti33x = "dc_ti335x_linux"
|
||||
|
||||
export SUPPORT_XORG ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}"
|
||||
|
||||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
cp ${S}/pvrsrvkm.ko \
|
||||
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
|
||||
if [ "${SUPPORT_XORG}" = "1" ]; then
|
||||
cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
fi
|
||||
}
|
||||
@@ -1,67 +0,0 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
|
||||
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "5_00_00_01"
|
||||
IMGPV = "1.10.2359475"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
BINFILE_HARDFP = "Graphics_SDK_setuplinux_${SGXPV}_alpha_hardfp_minimal_demos.bin"
|
||||
MD5SUM_HARDFP = "ae6125d7f8a313ea5c02afded893052d"
|
||||
SHA256SUM_HARDFP = "c2782a2f85024741722b936ec9dca66b858ae8561aa71b693f11e12d8c0385e0"
|
||||
|
||||
# For now we only have hardfp version
|
||||
python __anonymous() {
|
||||
tunes = bb.data.getVar("TUNE_FEATURES", d, 1)
|
||||
if not tunes:
|
||||
return
|
||||
pkgn = bb.data.getVar("PN", d, 1)
|
||||
pkgv = bb.data.getVar("PV", d, 1)
|
||||
if "callconvention-hard" not in tunes:
|
||||
bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
|
||||
raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
|
||||
}
|
||||
|
||||
BINFILE := "${BINFILE_HARDFP}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
SRC_URI[md5sum] := "${MD5SUM_HARDFP}"
|
||||
SRC_URI[sha256sum] := "${SHA256SUM_HARDFP}"
|
||||
|
||||
TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
|
||||
S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
|
||||
|
||||
PVRBUILD = "release"
|
||||
export KERNELDIR = "${STAGING_KERNEL_DIR}"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
TI_PLATFORM_omap3 = "omap3630"
|
||||
TI_PLATFORM_ti814x = "ti81xx"
|
||||
TI_PLATFORM_ti816x = "ti81xx"
|
||||
TI_PLATFORM_ti33x = "ti335x"
|
||||
TI_PLATFORM_ti43x = "ti43xx"
|
||||
|
||||
MODULESLOCATION_omap3 = "dc_omapfb3_linux"
|
||||
MODULESLOCATION_ti814x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti816x = "dc_ti81xx_linux"
|
||||
MODULESLOCATION_ti33x = "dc_ti335x_linux"
|
||||
MODULESLOCATION_ti43x = "dc_ti43xx_linux"
|
||||
|
||||
MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}"
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
cp ${S}/pvrsrvkm.ko \
|
||||
${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \
|
||||
${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
|
||||
}
|
||||
@@ -10,7 +10,7 @@ IMGPV = "1.10.2359475"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
BINFILE_HARDFP = "Graphics_SDK_setuplinux_hardfp_${SGXPV}.bin"
|
||||
@@ -33,6 +33,11 @@ BINFILE := "${BINFILE_HARDFP}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
SRC_URI += "file://0001-PoC-GFX-SDK-Make-5_01_01_01-work-against-3.14-LTS.patch;striplevel=2 \
|
||||
file://0002-SGX-linux-use-platform-data-to-provide-reset-info.patch;striplevel=2 \
|
||||
file://0003-SGX-displayclass-am335x-am437x-fix-mutex-deadlock-wa.patch;striplevel=2 \
|
||||
file://0004-SGX-linux-make-it-building-against-ti-linux-3.14.y.patch;striplevel=2"
|
||||
|
||||
SRC_URI[md5sum] := "${MD5SUM_HARDFP}"
|
||||
SRC_URI[sha256sum] := "${SHA256SUM_HARDFP}"
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e"
|
||||
TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
|
||||
require ../../recipes-ti/includes/ti-eula-unpack.inc
|
||||
|
||||
SGXPV = "5_01_00_01"
|
||||
SGXPV = "5_01_01_02"
|
||||
IMGPV = "1.10.2359475"
|
||||
|
||||
inherit module
|
||||
@@ -14,8 +14,8 @@ MACHINE_KERNEL_PR_append = "a"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
BINFILE_HARDFP = "Graphics_SDK_setuplinux_hardfp_${SGXPV}.bin"
|
||||
MD5SUM_HARDFP = "0ee7d59808330d442a51c0990c2cb30e"
|
||||
SHA256SUM_HARDFP = "769daae439677a7a85bbbced14cee4f85b19823e0b99560078d0a864c525c128"
|
||||
MD5SUM_HARDFP = "94bcb31ea7eb50df1dfa4037055b638e"
|
||||
SHA256SUM_HARDFP = "54641222cdb49b03f996cbd6412de227198d9e084f5647d706bbf4217e8cdb07"
|
||||
|
||||
# For now we only have hardfp version
|
||||
python __anonymous() {
|
||||
@@ -33,6 +33,7 @@ BINFILE := "${BINFILE_HARDFP}"
|
||||
|
||||
SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/gfxsdk/${SGXPV}/exports/${BINFILE}"
|
||||
|
||||
|
||||
SRC_URI[md5sum] := "${MD5SUM_HARDFP}"
|
||||
SRC_URI[sha256sum] := "${SHA256SUM_HARDFP}"
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap5 SoCs"
|
||||
HOMEPAGE = "http://git.ti.com"
|
||||
LICENSE = "MIT | GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=13;endline=22;md5=74506d9b8e5edbce66c2747c50fcef12"
|
||||
LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=2b841bfc03386bb4d8d9381b79d33898"
|
||||
|
||||
inherit module
|
||||
|
||||
MACHINE_KERNEL_PR_append = "a"
|
||||
MACHINE_KERNEL_PR_append = "c"
|
||||
PR = "${MACHINE_KERNEL_PR}"
|
||||
|
||||
SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRCREV = "86a4ffae3458c51f0a58e44b17b7a4fd92d2b8c6"
|
||||
SRCREV = "0f3561a47cf7a1b968fb64446a0be10abc9a15d5"
|
||||
|
||||
EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}"'
|
||||
|
||||
do_compile_prepend() {
|
||||
cd ${S}/eurasiacon/build/linux2/omap5430_linux
|
||||
cd ${S}/eurasia_km/eurasiacon/build/linux2/omap5430_linux
|
||||
}
|
||||
|
||||
do_install() {
|
||||
mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/extra/
|
||||
cp ${S}/eurasiacon/binary2_omap5430_linux_release/target/kbuild/omapdrm_pvr.ko \
|
||||
cp ${S}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/omapdrm_pvr.ko \
|
||||
${D}/lib/modules/${KERNEL_VERSION}/extra/
|
||||
}
|
||||
|
||||
27
recipes-bsp/qmss-lld/qmss-lld-test_git.bb
Executable file
27
recipes-bsp/qmss-lld/qmss-lld-test_git.bb
Executable file
@@ -0,0 +1,27 @@
|
||||
DESCRIPTION = "TI QMSS low level driver unit test and example binaries"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld"
|
||||
|
||||
include qmss-lld.inc
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S}
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
done
|
||||
}
|
||||
15
recipes-bsp/qmss-lld/qmss-lld.inc
Normal file
15
recipes-bsp/qmss-lld/qmss-lld.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/qmss/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
|
||||
|
||||
BRANCH ="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/qmss-lld.git;destsuffix=git/ti/drv/qmss;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# commit ID corresponding to DEV.QMSS_LLD.02.01.00.06
|
||||
SRCREV = "661fff76530fd56cf7550f76c7b7a541ea18fda8"
|
||||
PV = "02.01.00.06"
|
||||
PR = "r0"
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/qmss"
|
||||
20
recipes-bsp/qmss-lld/qmss-lld_git.bb
Executable file
20
recipes-bsp/qmss-lld/qmss-lld_git.bb
Executable file
@@ -0,0 +1,20 @@
|
||||
DESCRIPTION = "TI QMSS low level driver library"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS="common-csl-ip rm-lld"
|
||||
|
||||
include qmss-lld.inc
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="${device}"
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
do_install () {
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
41
recipes-bsp/rm-lld/rm-lld_git.bb
Normal file
41
recipes-bsp/rm-lld/rm-lld_git.bb
Normal file
@@ -0,0 +1,41 @@
|
||||
DESCRIPTION = "TI Resource Manager Low Level Driver"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc"
|
||||
|
||||
BRANCH="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}"
|
||||
# Below commit ID corresponds to DEV.RM_LLD.02.01.00.06
|
||||
SRCREV = "dc0dba4a6b0358efcb861d50b3dae21beb5281a8"
|
||||
PV = "02.01.00.06"
|
||||
PR = "r0"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS = "ti-ipc libdaemon"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \
|
||||
${bindir}/rmLinuxClientTest_*.out \
|
||||
${bindir}/ti/drv/rm/test/dts_files/*.dtb"
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/rm"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld
|
||||
make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S}
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${includedir}/ti/drv/rm
|
||||
install -d ${D}${libdir}
|
||||
install -d ${D}${bindir}
|
||||
make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
}
|
||||
33
recipes-bsp/sa-lld/sa-lld-test_git.bb
Normal file
33
recipes-bsp/sa-lld/sa-lld-test_git.bb
Normal file
@@ -0,0 +1,33 @@
|
||||
DESCRIPTION = "TI Security Accelerator LLD (SA LLD) Examples"
|
||||
|
||||
DEPENDS = "common-csl-ip cppi-lld qmss-lld pa-lld sa-lld"
|
||||
|
||||
include sa-lld.inc
|
||||
|
||||
DEVICELIST = "k2h k2k k2l k2e"
|
||||
|
||||
CHOICELIST = "no yes"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S}
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
make -f makefile_armv7 examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${bindir}/ti/drv/sa/example/SaBasicExample/vectors
|
||||
|
||||
# copy all the test vectors
|
||||
find example/SaBasicExample/vectors -name *.bin -type f | xargs -I {} cp --parents {} ${D}${bindir}/ti/drv/sa
|
||||
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
done
|
||||
}
|
||||
14
recipes-bsp/sa-lld/sa-lld.inc
Normal file
14
recipes-bsp/sa-lld/sa-lld.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/sa/COPYING.txt;md5=4709d353574a9569e129ebdf20e732dd"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/sa-lld.git;destsuffix=git/ti/drv/sa;protocol=git;branch=${BRANCH}"
|
||||
# Following commit DEV.SA_LLD.03.00.00.08
|
||||
SRCREV = "4da032c600ded79ab226a2a0100c1d8178a9da39"
|
||||
PV = "03.00.00.08"
|
||||
PR = "r0"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/sa"
|
||||
14
recipes-bsp/sa-lld/sa-lld_git.bb
Normal file
14
recipes-bsp/sa-lld/sa-lld_git.bb
Normal file
@@ -0,0 +1,14 @@
|
||||
DESCRIPTION = "TI Security Accelerator LLD (SA LLD) Library"
|
||||
|
||||
DEPENDS = "common-csl-ip"
|
||||
|
||||
include sa-lld.inc
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
|
||||
}
|
||||
|
||||
do_install () {
|
||||
make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
27
recipes-bsp/srio-lld/srio-lld-test_git.bb
Normal file
27
recipes-bsp/srio-lld/srio-lld-test_git.bb
Normal file
@@ -0,0 +1,27 @@
|
||||
DESCRIPTION = "TI SRIO peripheral low level driver unit test and example binaries"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld srio-lld cmem"
|
||||
|
||||
include srio-lld.inc
|
||||
|
||||
CHOICELIST = "yes no"
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld in the updated directory
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake clean DEVICE="$device" SRIO_SRC_DIR=${S}
|
||||
for choice in ${CHOICELIST}
|
||||
do
|
||||
oe_runmake tests DEVICE="$device" SRIO_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
|
||||
oe_runmake examples DEVICE="$device" SRIO_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake installbin DEVICE="$device" SRIO_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
|
||||
done
|
||||
}
|
||||
16
recipes-bsp/srio-lld/srio-lld.inc
Normal file
16
recipes-bsp/srio-lld/srio-lld.inc
Normal file
@@ -0,0 +1,16 @@
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/srio/srio_drv.h;beginline=1;endline=41;md5=469096088e072d883ff7eef301b34093"
|
||||
|
||||
BRANCH = "master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/srio-lld.git;destsuffix=git/ti/drv/srio;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# commit ID corresponding to DEV.SRIO_LLD.02.00.00.11
|
||||
SRCREV = "2d0efea281222055b3b828c79e57102edaae9db7"
|
||||
PV = "02.00.00.11"
|
||||
|
||||
DEVICELIST = "k2h k2k"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/drv/srio"
|
||||
|
||||
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
||||
19
recipes-bsp/srio-lld/srio-lld_git.bb
Normal file
19
recipes-bsp/srio-lld/srio-lld_git.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "TI SRIO peripheral low level driver"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
DEPENDS="common-csl-ip rm-lld cppi-lld"
|
||||
|
||||
include srio-lld.inc
|
||||
|
||||
do_compile () {
|
||||
# Now build the lld
|
||||
oe_runmake clean
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake lib DEVICE="${device}"
|
||||
done
|
||||
}
|
||||
|
||||
do_install () {
|
||||
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
|
||||
}
|
||||
30
recipes-bsp/srss-tc/srss-tc_git.bb
Normal file
30
recipes-bsp/srss-tc/srss-tc_git.bb
Normal file
@@ -0,0 +1,30 @@
|
||||
DESCRIPTION = "TI Smart Reflex temperature control application for KeyStone II"
|
||||
HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/srss-tc.git"
|
||||
LICENSE = "BSD & MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
PV = "1.0.0.0"
|
||||
|
||||
BRANCH = "master"
|
||||
# This commit corresponds to tag DEV.SRSS-TC-01.00.00.00A
|
||||
SRCREV = "7aaf8308d7ba470144730275df12edae5007e07a"
|
||||
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/srss-tc.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRSS_BIN_NAME = "srss_tc.out"
|
||||
INITSCRIPT_NAME = "run_srss_tc.sh"
|
||||
INITSCRIPT_PARAMS = "defaults 10"
|
||||
|
||||
inherit update-rc.d
|
||||
LDFLAGS += "-lrt"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}/
|
||||
install -c -m 755 ${S}/src/${SRSS_BIN_NAME} ${D}${bindir}/${SRSS_BIN_NAME}
|
||||
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -c -m 755 ${S}/scripts/${INITSCRIPT_NAME} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Load the PM CM3 firmware
|
||||
echo 1 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
||||
cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data
|
||||
echo 0 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Load the PM CM3 firmware
|
||||
echo 1 > /sys/devices/44000000.ocp/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
||||
cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/44000000.ocp/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data
|
||||
echo 0 > /sys/devices/44000000.ocp/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading
|
||||
@@ -1,55 +0,0 @@
|
||||
DESCRIPTION = "Cortex-M3 binary blob for suspend-resume"
|
||||
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8"
|
||||
|
||||
PV = "05.00.00.03"
|
||||
PR = "r1"
|
||||
|
||||
# Make package machine specific due to different init scripts
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
# SRCREV corresponds to tag v05.00.00.03
|
||||
SRCREV = "a0ddffb63147e2079a08944c0e399c75538201a9"
|
||||
BRANCH ?= "master"
|
||||
|
||||
# This init script is only used for older kernels that do not support
|
||||
# hotplug of the firmware. Newer kernels do not require the initscript
|
||||
# package.
|
||||
INITSCRIPT_NAME = "am335x-pm-firmware-load"
|
||||
INITSCRIPT_PARAMS = "defaults 96"
|
||||
|
||||
inherit update-rc.d
|
||||
|
||||
UPDATERCPN = "${PN}-initscript"
|
||||
|
||||
RDEPENDS_${PN}-initscript = "am33x-cm3"
|
||||
|
||||
SRC_URI = "git://arago-project.org/git/projects/am33x-cm3.git;protocol=git;branch=${BRANCH} \
|
||||
file://init-am33x-cm3 \
|
||||
file://init-am43x-cm3 \
|
||||
"
|
||||
|
||||
SCRIPT_ti33x = "init-am33x-cm3"
|
||||
SCRIPT_ti43x = "init-am43x-cm3"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile() {
|
||||
make CROSS_COMPILE="${TARGET_PREFIX}"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${base_libdir}/firmware
|
||||
install -m 0644 bin/am335x-pm-firmware.bin ${D}${base_libdir}/firmware/
|
||||
|
||||
# Install the init script to load the PM firmware at boot
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/${SCRIPT} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-initscript"
|
||||
|
||||
FILES_${PN} += "${base_libdir}/firmware"
|
||||
|
||||
FILES_${PN}-initscript = "${sysconfdir}/*"
|
||||
@@ -1,29 +0,0 @@
|
||||
DESCRIPTION = "VPE VPDMA firmware and test program"
|
||||
|
||||
DEPENDS += "virtual/kernel"
|
||||
|
||||
LICENSE = "BSD"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=74d2f71d8898c54e3d1c9d0058c484aa"
|
||||
|
||||
COMPATIBLE_MACHINE = "dra7xx-evm"
|
||||
|
||||
PV = "1b8"
|
||||
PR = "r1"
|
||||
|
||||
SRCREV = "e3d8db1aa935775f9d196ad7428e0cd9864a36ca"
|
||||
BRANCH ?= "master"
|
||||
|
||||
SRC_URI = "git://git.ti.com/vpe_tests/vpe_tests.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# The test application needs additional include headers from the kernel
|
||||
EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" KDIR="${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"'
|
||||
|
||||
do_install() {
|
||||
oe_runmake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
# Separate the firmware into it's own package.
|
||||
PACKAGES =+ "${PN}-fw"
|
||||
FILES_${PN}-fw += "${base_libdir}/firmware"
|
||||
48
recipes-bsp/traceframework/traceframework_git.bb
Normal file
48
recipes-bsp/traceframework/traceframework_git.bb
Normal file
@@ -0,0 +1,48 @@
|
||||
DESCRIPTION = "TI Trace Framework library"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/instrumentation/traceframework/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d"
|
||||
|
||||
BRANCH="master"
|
||||
SRC_URI = "git://git.ti.com/keystone-rtos/traceframework.git;destsuffix=git/ti/instrumentation/traceframework;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Below commit ID corresponds to DEV.TFWK-01.01.01.06A
|
||||
SRCREV = "bd87f53f4d12dc802bcc5609afb7994643e40cb9"
|
||||
PV = "01.01.01.06"
|
||||
|
||||
COMPATIBLE_MACHINE = "(tci6614-evm|keystone)"
|
||||
DEPENDS = "cuia"
|
||||
|
||||
DEVICELIST = ""
|
||||
DEVICELIST_append_tci6614-evm = "c6614"
|
||||
DEVICELIST_append_keystone = "k2k k2h k2e k2l"
|
||||
|
||||
PACKAGES =+ "${PN}-test"
|
||||
|
||||
FILES_${PN}-test = "${bindir}/tfw*.out \
|
||||
${bindir}/*.txt"
|
||||
|
||||
BASEDIR = "${WORKDIR}/git"
|
||||
S = "${BASEDIR}/ti/instrumentation/traceframework"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \
|
||||
CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}"
|
||||
|
||||
do_compile () {
|
||||
# making the library
|
||||
oe_runmake clean
|
||||
oe_runmake lib
|
||||
|
||||
# make the test application
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake tests DEVICE="$device" TFW_INC_DIR=${BASEDIR} TFW_SRC_DIR=${S} \
|
||||
TARGET_ROOT_DIR=${D}
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for device in ${DEVICELIST}
|
||||
do
|
||||
oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D}
|
||||
done
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
From df5c87c4e1be1670475eba1187301a2f7a7aca30 Mon Sep 17 00:00:00 2001
|
||||
From: Chase Maupin <Chase.Maupin@ti.com>
|
||||
Date: Wed, 22 Jun 2011 12:12:09 -0500
|
||||
Subject: [PATCH] da850evm: change default memory to not limit at 32MB
|
||||
|
||||
* Change the default mem= option passed to the Linux kernel to
|
||||
not limit the memory to 32MB.
|
||||
* This change is used by AM devices that do not need to reserve
|
||||
space for the DSP image. By removing the mem= option we get
|
||||
access to all of the memory on the system.
|
||||
* Limiting the memory to 32MB causes out-of-memory errors
|
||||
when running large applications such as web browsers
|
||||
|
||||
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
|
||||
---
|
||||
include/configs/da850evm.h | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
|
||||
index 4a1e0af..55badc9 100755
|
||||
--- a/include/configs/da850evm.h
|
||||
+++ b/include/configs/da850evm.h
|
||||
@@ -184,7 +184,7 @@
|
||||
#define CONFIG_CMDLINE_TAG
|
||||
#define CONFIG_REVISION_TAG
|
||||
#define CONFIG_SETUP_MEMORY_TAGS
|
||||
-#define CONFIG_BOOTARGS "mem=32M console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off"
|
||||
+#define CONFIG_BOOTARGS "console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=off"
|
||||
#define CONFIG_BOOTCOMMAND "if mmc rescan 0; then if fatload mmc 0 0xc0600000 boot.scr; then source 0xc0600000; else fatload mmc 0 0xc0700000 uImage; bootm c0700000; fi; else sf probe 0; sf read 0xc0700000 0x80000 0x220000; bootm 0xc0700000; fi"
|
||||
#define CONFIG_BOOTDELAY 3
|
||||
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
DESCRIPTION = "u-boot bootloader for AM180x devices"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
|
||||
|
||||
COMPATIBLE_MACHINE = "am180x-evm"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "git://arago-project.org/git/projects/u-boot-davinci.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# For the am180x we want to enable all the memory on the EVM, but for other
|
||||
# devices that use the DSP we do not want this change because that memory
|
||||
# is used for the DSP
|
||||
SRC_URI_append_am180x-evm = " file://0001-da850evm-change-default-memory-to-not-limit-at-32MB.patch"
|
||||
|
||||
BRANCH = "03.21.00.03"
|
||||
|
||||
# v2010.12_DAVINCIPSP_03.21.00.04
|
||||
SRCREV = "1254a0b58d900b7035cfb36bf4e1b05dfbf09997"
|
||||
|
||||
UBOOT_SUFFIX = "bin"
|
||||
@@ -1,27 +0,0 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
# No patches for other machines yet
|
||||
COMPATIBLE_MACHINE = "(ti33x)"
|
||||
|
||||
DEFAULT_PREFERENCE_ti33x = "99"
|
||||
|
||||
PV = "2011.09+git"
|
||||
PR = "r30"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
|
||||
SRC_URI = "git://arago-project.org/git/projects/u-boot-am33x.git;protocol=git;branch=master \
|
||||
file://2011.09git/0001-am335x_evm-add-option-to-boot-kernel-from-boot-in-ex.patch \
|
||||
file://2011.09git/0002-am335x_evm-set-bootdelay-to-1.patch \
|
||||
file://2011.09git/0003-am335x-evm-make-MMC-rootfs-RO-on-boot-so-fsck-works.patch \
|
||||
file://2011.09git/0004-am335x_evm-switch-to-ext4.patch \
|
||||
file://2011.09git/0005-am335x-evm-enable-i2c2-pinmux-for-beaglebone.patch \
|
||||
file://2011.09git/0006-ext2load-increase-read-speed.patch \
|
||||
file://2011.09git/0007-am335x-evm-fix-ext2load-and-specify-partition-for-bo.patch \
|
||||
file://2011.09git/0008-am335x-evm-load-uImage-from-boot-instead-of-VFAT.patch \
|
||||
file://2011.09git/0009-ext4fs-ls-load-support.patch \
|
||||
file://2011.09git/0010-am335x-switch-to-ext4-mode.patch \
|
||||
file://0001-config-Always-use-GNU-ld.patch \
|
||||
"
|
||||
|
||||
SRCREV = "dc52533ccff00a12761f793d66b39e4f6a4a3bba"
|
||||
@@ -1,21 +0,0 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
DESCRIPTION = "u-boot bootloader for ARM MPU devices"
|
||||
|
||||
COMPATIBLE_MACHINE = "omap3"
|
||||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
|
||||
SRC_URI = "git://arago-project.org/git/projects/u-boot-am33x.git;protocol=git;branch=${BRANCH} \
|
||||
file://0001-armv7-Unaligned-access-fix.patch \
|
||||
"
|
||||
|
||||
BRANCH = "AM335XPSP_04.06.00.08"
|
||||
|
||||
# Lock to the commit corresponding to tag "v2011.09_AM335xPSP_04.06.00.08"
|
||||
SRCREV = "1e4626f0d5f3bb04ec974e76a5d9029875269d31"
|
||||
|
||||
# Set the name of the SPL that will built so that it is also packaged with u-boot.
|
||||
SPL_BINARY = "MLO"
|
||||
@@ -1,172 +0,0 @@
|
||||
From e0820ccc38315d88192c19e98ea9b59d3ec7d4c8 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@ti.com>
|
||||
Date: Tue, 8 May 2012 07:29:31 +0000
|
||||
Subject: [PATCH] ARM: omap3: Set SPL stack size to 8KB, image to 54KB.
|
||||
|
||||
With older toolchains it is possible to not fit entirely into the 45KB
|
||||
that we had assigned to SPL. Adjust to allow for 8KB of stack (which
|
||||
should be more than required) and 54KB of text/data.
|
||||
|
||||
Cc: Vaibhav Hiremath <hvaibhav@ti.com>
|
||||
Cc: Nagendra T S <nagendra@mistralsolutions.com>
|
||||
Cc: Thomas Weber <weber@corscience.de>
|
||||
Cc: Ilya Yanok <yanok@emcraft.com>
|
||||
Cc: Steve Sakoman <sakoman@gmail.com>
|
||||
Cc: Stefano Babic <sbabic@denx.de>
|
||||
Signed-off-by: Tom Rini <trini@ti.com>
|
||||
Acked-by: Stefano Babic <sbabic@denx.de>
|
||||
Acked-by: Vaibhav Hiremath <hvaibhav@ti.com>
|
||||
---
|
||||
doc/SPL/README.omap3 | 4 ++--
|
||||
include/configs/am3517_crane.h | 2 +-
|
||||
include/configs/am3517_evm.h | 2 +-
|
||||
include/configs/devkit8000.h | 2 +-
|
||||
include/configs/mcx.h | 2 +-
|
||||
include/configs/omap3_beagle.h | 2 +-
|
||||
include/configs/omap3_evm_common.h | 2 +-
|
||||
include/configs/omap3_overo.h | 2 +-
|
||||
include/configs/tam3517-common.h | 2 +-
|
||||
include/configs/tricorder.h | 2 +-
|
||||
10 files changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/doc/SPL/README.omap3 b/doc/SPL/README.omap3
|
||||
index cc5d5c0..a543e65 100644
|
||||
--- a/doc/SPL/README.omap3
|
||||
+++ b/doc/SPL/README.omap3
|
||||
@@ -34,14 +34,14 @@ DDR1: 0x80000000 - 0xBFFFFFFF
|
||||
|
||||
Option 1 (SPL only):
|
||||
0x40200800 - 0x4020BBFF: Area for SPL text, data and rodata
|
||||
-0x4020BC00 - 0x4020FFFC: Area for the SPL stack.
|
||||
+0x4020E000 - 0x4020FFFC: Area for the SPL stack.
|
||||
0x80000000 - 0x8007FFFF: Area for the SPL BSS.
|
||||
0x80100000: CONFIG_SYS_TEXT_BASE of U-Boot
|
||||
0x80208000 - 0x80307FFF: malloc() pool available to SPL.
|
||||
|
||||
Option 2 (SPL or X-Loader):
|
||||
0x40200800 - 0x4020BBFF: Area for SPL text, data and rodata
|
||||
-0x4020BC00 - 0x4020FFFC: Area for the SPL stack.
|
||||
+0x4020E000 - 0x4020FFFC: Area for the SPL stack.
|
||||
0x80008000: CONFIG_SYS_TEXT_BASE of U-Boot
|
||||
0x87000000 - 0x8707FFFF: Area for the SPL BSS.
|
||||
0x87080000 - 0x870FFFFF: malloc() pool available to SPL.
|
||||
diff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h
|
||||
index 71321f3..1233985 100644
|
||||
--- a/include/configs/am3517_crane.h
|
||||
+++ b/include/configs/am3517_crane.h
|
||||
@@ -325,7 +325,7 @@
|
||||
#define CONFIG_SPL
|
||||
#define CONFIG_SPL_NAND_SIMPLE
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200800
|
||||
-#define CONFIG_SPL_MAX_SIZE (45 * 1024)
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
||||
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
|
||||
index bbd19de..ff8d1b0 100644
|
||||
--- a/include/configs/am3517_evm.h
|
||||
+++ b/include/configs/am3517_evm.h
|
||||
@@ -324,7 +324,7 @@
|
||||
#define CONFIG_SPL
|
||||
#define CONFIG_SPL_NAND_SIMPLE
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200800
|
||||
-#define CONFIG_SPL_MAX_SIZE (45 * 1024)
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
||||
diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
|
||||
index eb7c376..248a5b2 100644
|
||||
--- a/include/configs/devkit8000.h
|
||||
+++ b/include/configs/devkit8000.h
|
||||
@@ -324,7 +324,7 @@
|
||||
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
|
||||
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200000 /*CONFIG_SYS_SRAM_START*/
|
||||
-#define CONFIG_SPL_MAX_SIZE 0xB400 /* 45 K */
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000500 /* leave space for bootargs*/
|
||||
diff --git a/include/configs/mcx.h b/include/configs/mcx.h
|
||||
index e190e3e..f6a83a8 100644
|
||||
--- a/include/configs/mcx.h
|
||||
+++ b/include/configs/mcx.h
|
||||
@@ -325,7 +325,7 @@
|
||||
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
|
||||
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200000 /*CONFIG_SYS_SRAM_START*/
|
||||
-#define CONFIG_SPL_MAX_SIZE (45 << 10)
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
/* move malloc and bss high to prevent clashing with the main image */
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index ddeb414..6bdc2c3 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -399,7 +399,7 @@
|
||||
#define CONFIG_SPL
|
||||
#define CONFIG_SPL_NAND_SIMPLE
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200800
|
||||
-#define CONFIG_SPL_MAX_SIZE (45 * 1024)
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
||||
diff --git a/include/configs/omap3_evm_common.h b/include/configs/omap3_evm_common.h
|
||||
index 4910dda..47ebbef 100644
|
||||
--- a/include/configs/omap3_evm_common.h
|
||||
+++ b/include/configs/omap3_evm_common.h
|
||||
@@ -282,7 +282,7 @@
|
||||
/* Defines for SPL */
|
||||
#define CONFIG_SPL
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200800
|
||||
-#define CONFIG_SPL_MAX_SIZE (45 * 1024) /* 45 KB */
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000000
|
||||
diff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h
|
||||
index 64adc74..b0d144f 100644
|
||||
--- a/include/configs/omap3_overo.h
|
||||
+++ b/include/configs/omap3_overo.h
|
||||
@@ -303,7 +303,7 @@
|
||||
#define CONFIG_SPL
|
||||
#define CONFIG_SPL_NAND_SIMPLE
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200800
|
||||
-#define CONFIG_SPL_MAX_SIZE (45 * 1024)
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
/* move malloc and bss high to prevent clashing with the main image */
|
||||
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
|
||||
index 37eb87b..3fc2c44 100644
|
||||
--- a/include/configs/tam3517-common.h
|
||||
+++ b/include/configs/tam3517-common.h
|
||||
@@ -257,7 +257,7 @@
|
||||
#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
|
||||
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200000 /*CONFIG_SYS_SRAM_START*/
|
||||
-#define CONFIG_SPL_MAX_SIZE (45 << 10) /* 45 K */
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
#define CONFIG_SYS_SPL_MALLOC_START 0x8f000000
|
||||
diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
|
||||
index 801a24f..ab911aa 100644
|
||||
--- a/include/configs/tricorder.h
|
||||
+++ b/include/configs/tricorder.h
|
||||
@@ -293,7 +293,7 @@
|
||||
#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
|
||||
|
||||
#define CONFIG_SPL_TEXT_BASE 0x40200000 /*CONFIG_SYS_SRAM_START*/
|
||||
-#define CONFIG_SPL_MAX_SIZE 0xB400 /* 45 K */
|
||||
+#define CONFIG_SPL_MAX_SIZE (54 * 1024) /* 8 KB for stack */
|
||||
#define CONFIG_SPL_STACK LOW_LEVEL_SRAM_STACK
|
||||
|
||||
#define CONFIG_SPL_BSS_START_ADDR 0x80000000 /*CONFIG_SYS_SDRAM_BASE*/
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
From 55161fca67023d6be30bdea495cc0fdbae316a64 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@ti.com>
|
||||
Date: Wed, 9 Nov 2011 11:48:21 -0700
|
||||
Subject: [PATCH 1/4] OMAP3 Beagle: Set BOOTDELAY to 3
|
||||
|
||||
This is TI Sitara SDK specific (unified user experience, 3s delay).
|
||||
|
||||
Upstream-Status: Pending
|
||||
* This will be submitted upstream by Tom Rini
|
||||
|
||||
Signed-off-by: Tom Rini <trini@ti.com>
|
||||
---
|
||||
include/configs/omap3_beagle.h | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index 58a29b8..ba73aa6 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -213,7 +213,7 @@
|
||||
/* partition */
|
||||
|
||||
/* Environment information */
|
||||
-#define CONFIG_BOOTDELAY 2
|
||||
+#define CONFIG_BOOTDELAY 3
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"loadaddr=0x80200000\0" \
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
From c56786770eb0ccb95204cb72b961c44c65ff343b Mon Sep 17 00:00:00 2001
|
||||
From: Chase Maupin <Chase.Maupin@ti.com>
|
||||
Date: Thu, 17 May 2012 09:51:50 -0500
|
||||
Subject: [PATCH] omap3_beagle: add usbethaddr setting to enable networking
|
||||
|
||||
* In order for the SMSC USB ethernet device to work the
|
||||
usbethaddr setting must be set when the "usb start" command
|
||||
is executed and the network device is discovered.
|
||||
* Currently set this for de:ad:be:ef until we can start
|
||||
generating random or semi-random MAC addresses.
|
||||
* Based on work by Steve Kipisz and Joel Fernandez
|
||||
|
||||
Upstream-Status: Not Upstreamable
|
||||
* We cannot upstream this hard coded MAC address setting.
|
||||
* User's should look at the following web page for information on
|
||||
how to generate a MAC address, but this patch enables the out
|
||||
of box experience for the SDK.
|
||||
http://www.denx.de/wiki/view/DULG/WhereCanIGetAValidMACAddress
|
||||
|
||||
|
||||
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
|
||||
---
|
||||
include/configs/omap3_beagle.h | 1 +
|
||||
1 files changed, 1 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index ddeb414..58a29b8 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -219,6 +219,7 @@
|
||||
"loadaddr=0x80200000\0" \
|
||||
"rdaddr=0x81000000\0" \
|
||||
"usbtty=cdc_acm\0" \
|
||||
+ "usbethaddr=de:ad:be:ef\0" \
|
||||
"bootfile=uImage.beagle\0" \
|
||||
"console=ttyO2,115200n8\0" \
|
||||
"mpurate=auto\0" \
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,146 +0,0 @@
|
||||
From eff8924b57d21eadfe749e500617340b1a730c17 Mon Sep 17 00:00:00 2001
|
||||
From: Schuyler Patton <spatton@ti.com>
|
||||
Date: Thu, 30 Jun 2011 13:39:25 -0500
|
||||
Subject: [PATCH 1/3] omap3_evm: Added function calls to set volts, speed on OMAP36xx parts
|
||||
|
||||
* evm.c
|
||||
|
||||
* Added setup calls to set voltage and speed
|
||||
|
||||
* Added calls in misc_init_r to twl4030_power_mpu_init and set_mpu_clock
|
||||
functions. These set VDD1 to 1.35v and mpu clock to 1GHz respectively.
|
||||
There is a check performed to make sure that this is only called on
|
||||
omap36xx class parts.
|
||||
|
||||
* twl4030.c
|
||||
|
||||
* Added twl4030_power_mpu_init function to set VDD1 to 1.35 Volts
|
||||
|
||||
* This is done to allow omap36xx parts to run at 1GHz.
|
||||
|
||||
* clock.c
|
||||
|
||||
* Added set_mpu_clk function to allow u-boot to set the clock
|
||||
rate.
|
||||
|
||||
* sys_proto.h
|
||||
|
||||
* Added the function prototype set_mpu_clock
|
||||
|
||||
* twl4030.h
|
||||
|
||||
* Added twl4030_power_mpu_init function prototype
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Schuyler Patton <spatton@ti.com>
|
||||
---
|
||||
arch/arm/cpu/armv7/omap3/clock.c | 15 +++++++++++++++
|
||||
arch/arm/include/asm/arch-omap3/sys_proto.h | 2 ++
|
||||
board/ti/evm/evm.c | 5 +++++
|
||||
drivers/power/twl4030.c | 12 ++++++++++++
|
||||
include/twl4030.h | 3 +++
|
||||
5 files changed, 37 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/cpu/armv7/omap3/clock.c b/arch/arm/cpu/armv7/omap3/clock.c
|
||||
index 567817e..46a28a3 100644
|
||||
--- a/arch/arm/cpu/armv7/omap3/clock.c
|
||||
+++ b/arch/arm/cpu/armv7/omap3/clock.c
|
||||
@@ -35,6 +35,21 @@
|
||||
#include <command.h>
|
||||
|
||||
/******************************************************************************
|
||||
+ * Setting the Clock speed
|
||||
+ *
|
||||
+ *****************************************************************************/
|
||||
+void set_mpu_clk(int speed)
|
||||
+{
|
||||
+ struct prcm *prcm_base = (struct prcm *)PRCM_BASE;
|
||||
+
|
||||
+
|
||||
+ /* Set M */
|
||||
+ sr32(&prcm_base->clksel1_pll_mpu, 8, 11, speed);
|
||||
+ /* lock mode */
|
||||
+ sr32(&prcm_base->clken_pll_mpu, 0, 3, PLL_LOCK);
|
||||
+}
|
||||
+
|
||||
+/******************************************************************************
|
||||
* get_sys_clk_speed() - determine reference oscillator speed
|
||||
* based on known 32kHz clock and gptimer.
|
||||
*****************************************************************************/
|
||||
diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h
|
||||
index 2a89e56..9db13d7 100644
|
||||
--- a/arch/arm/include/asm/arch-omap3/sys_proto.h
|
||||
+++ b/arch/arm/include/asm/arch-omap3/sys_proto.h
|
||||
@@ -36,6 +36,8 @@ void prcm_init(void);
|
||||
void per_clocks_enable(void);
|
||||
void ehci_clocks_enable(void);
|
||||
|
||||
+void set_mpu_clk(int speed);
|
||||
+
|
||||
void memif_init(void);
|
||||
void sdrc_init(void);
|
||||
void do_sdrc_init(u32, u32);
|
||||
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
|
||||
index 8497aee..91eb93d 100644
|
||||
--- a/board/ti/evm/evm.c
|
||||
+++ b/board/ti/evm/evm.c
|
||||
@@ -39,6 +39,7 @@
|
||||
#include <asm/mach-types.h>
|
||||
#include <linux/mtd/nand.h>
|
||||
#include "evm.h"
|
||||
+#include <twl4030.h>
|
||||
|
||||
#define OMAP3EVM_GPIO_ETH_RST_GEN1 64
|
||||
#define OMAP3EVM_GPIO_ETH_RST_GEN2 7
|
||||
@@ -177,6 +178,10 @@ int misc_init_r(void)
|
||||
#endif
|
||||
dieid_num_r();
|
||||
|
||||
+ if (get_cpu_family() == CPU_OMAP36XX) {
|
||||
+ twl4030_power_mpu_init();
|
||||
+ set_mpu_clk(500);
|
||||
+ }
|
||||
return 0;
|
||||
}
|
||||
|
||||
diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c
|
||||
index 36b2144..670b4cb 100644
|
||||
--- a/drivers/power/twl4030.c
|
||||
+++ b/drivers/power/twl4030.c
|
||||
@@ -105,6 +105,18 @@ void twl4030_power_init(void)
|
||||
TWL4030_PM_RECEIVER_DEV_GRP_P1);
|
||||
}
|
||||
|
||||
+#define VDD1_VSEL_135 0x3C
|
||||
+
|
||||
+void twl4030_power_mpu_init(void)
|
||||
+{
|
||||
+ unsigned char byte;
|
||||
+
|
||||
+ /* 1.4 Volts */
|
||||
+ byte = VDD1_VSEL_135;
|
||||
+ twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, byte,
|
||||
+ TWL4030_PM_RECEIVER_VDD1_VSEL);
|
||||
+}
|
||||
+
|
||||
void twl4030_power_mmc_init(void)
|
||||
{
|
||||
/* Set VMMC1 to 3.15 Volts */
|
||||
diff --git a/include/twl4030.h b/include/twl4030.h
|
||||
index 9cd32ab..91d36b8 100644
|
||||
--- a/include/twl4030.h
|
||||
+++ b/include/twl4030.h
|
||||
@@ -510,6 +510,9 @@ static inline int twl4030_i2c_read_u8(u8 chip_no, u8 *val, u8 reg)
|
||||
* Power
|
||||
*/
|
||||
|
||||
+/*For setting VDD1 */
|
||||
+void twl4030_power_mpu_init(void);
|
||||
+
|
||||
/* For hardware resetting */
|
||||
void twl4030_power_reset_init(void);
|
||||
/* For setting device group and voltage */
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
From 883551659d9b15dfb1ed7ad8ae4b34bfd1fa0fd9 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@ti.com>
|
||||
Date: Wed, 16 Nov 2011 14:50:49 -0700
|
||||
Subject: [PATCH 2/4] am335x/am3517evm/beagleboard/am37x: Add CONFIG_CMD_ASKENV
|
||||
|
||||
This is TI Sitara SDK specific (unified user experience, askenv command).
|
||||
|
||||
Upstream-Status: Pending
|
||||
* This will be submitted upstream by Tom Rini
|
||||
|
||||
Signed-off-by: Tom Rini <trini@ti.com>
|
||||
---
|
||||
include/configs/am335x_evm.h | 2 ++
|
||||
include/configs/am3517_evm.h | 2 ++
|
||||
include/configs/omap3_beagle.h | 2 ++
|
||||
include/configs/omap3_evm.h | 2 ++
|
||||
4 files changed, 8 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
|
||||
index d0fbc88..5cd7d6d 100644
|
||||
--- a/include/configs/am335x_evm.h
|
||||
+++ b/include/configs/am335x_evm.h
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <asm/arch/cpu.h>
|
||||
#include <asm/arch/hardware.h>
|
||||
|
||||
+#define CONFIG_CMD_ASKENV
|
||||
+
|
||||
#define CONFIG_ENV_SIZE 0x400
|
||||
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (8 * 1024))
|
||||
#define CONFIG_SYS_PROMPT "U-Boot# "
|
||||
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
|
||||
index b5f75d1..2b3fce7 100644
|
||||
--- a/include/configs/am3517_evm.h
|
||||
+++ b/include/configs/am3517_evm.h
|
||||
@@ -137,6 +137,8 @@
|
||||
/* commands to include */
|
||||
#include <config_cmd_default.h>
|
||||
|
||||
+#define CONFIG_CMD_ASKENV
|
||||
+
|
||||
#define CONFIG_CMD_EXT2 /* EXT2 Support */
|
||||
#define CONFIG_CMD_FAT /* FAT support */
|
||||
#define CONFIG_CMD_JFFS2 /* JFFS2 Support */
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index ba73aa6..b270598 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -146,6 +146,8 @@
|
||||
/* commands to include */
|
||||
#include <config_cmd_default.h>
|
||||
|
||||
+#define CONFIG_CMD_ASKENV
|
||||
+
|
||||
#define CONFIG_CMD_CACHE
|
||||
#define CONFIG_CMD_EXT2 /* EXT2 Support */
|
||||
#define CONFIG_CMD_FAT /* FAT support */
|
||||
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
|
||||
index 1fcb7af..215d67d 100644
|
||||
--- a/include/configs/omap3_evm.h
|
||||
+++ b/include/configs/omap3_evm.h
|
||||
@@ -42,6 +42,8 @@
|
||||
*/
|
||||
#include <config_cmd_default.h>
|
||||
|
||||
+#define CONFIG_CMD_ASKENV
|
||||
+
|
||||
#define CONFIG_CMD_EXT2
|
||||
#define CONFIG_CMD_FAT
|
||||
#define CONFIG_CMD_JFFS2
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
From a0f4f7b85d004db36a24cc05e9c34f137186270b Mon Sep 17 00:00:00 2001
|
||||
From: Chase Maupin <Chase.Maupin@ti.com>
|
||||
Date: Wed, 23 May 2012 09:25:06 -0500
|
||||
Subject: [PATCH 2/3] omap3evm: Make the board start at 800MHz
|
||||
|
||||
* It is safe to start the the 3630 silicon at 800MHz for all
|
||||
revisions. Go ahead and bump the speed to 800MHz during boot
|
||||
instead of using the default 500MHz speed.
|
||||
* This patch was based on work by Tom Rini <trini@ti.com> at
|
||||
http://arago-project.org/git/projects/?p=u-boot-am33x.git;a=commit;h=ad130035df754931f2939902e453cc3736412f5f
|
||||
|
||||
Upstream-Status: Pending
|
||||
* Will be submitted upstream since it is safe for all silicon
|
||||
revisions to boot at 800MHz according to HW team.
|
||||
|
||||
Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
|
||||
---
|
||||
board/ti/evm/evm.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/board/ti/evm/evm.c b/board/ti/evm/evm.c
|
||||
index 91eb93d..0d0b4a2 100644
|
||||
--- a/board/ti/evm/evm.c
|
||||
+++ b/board/ti/evm/evm.c
|
||||
@@ -180,7 +180,7 @@ int misc_init_r(void)
|
||||
|
||||
if (get_cpu_family() == CPU_OMAP36XX) {
|
||||
twl4030_power_mpu_init();
|
||||
- set_mpu_clk(500);
|
||||
+ set_mpu_clk(800);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From f2a15cd9e96648e05cb39159ba74cbfbfc8ff999 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@ti.com>
|
||||
Date: Thu, 17 Nov 2011 08:41:42 -0700
|
||||
Subject: [PATCH 3/4] beagleboard: Load uImage from VFAT by default.
|
||||
|
||||
This is TI Sitara SDK specific (unified user experience, load uImage
|
||||
from vfat).
|
||||
|
||||
Upstream-Status: Not Appropriate
|
||||
* This patch is to make the u-boot for beagleboard consistent
|
||||
with other versions used in the AMSDK and doesn't make
|
||||
sense up stream.
|
||||
|
||||
Signed-off-by: Tom Rini <trini@ti.com>
|
||||
---
|
||||
include/configs/omap3_beagle.h | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index b270598..ea62580 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -305,7 +305,7 @@
|
||||
"echo Running uenvcmd ...;" \
|
||||
"run uenvcmd;" \
|
||||
"fi;" \
|
||||
- "if run loaduimage; then " \
|
||||
+ "if run loaduimagefat; then " \
|
||||
"run mmcboot;" \
|
||||
"fi;" \
|
||||
"fi;" \
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
From 372d110126f37f9f8b7d4bbedd3f02cf80e587de Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@ti.com>
|
||||
Date: Wed, 30 Nov 2011 16:16:21 -0700
|
||||
Subject: [PATCH 3/3] beagleboard: Make xM rev C go to 800MHz
|
||||
|
||||
* This is the highest frequency supported on xM without BIAS
|
||||
drivers.
|
||||
|
||||
Upstream-Status: Pending
|
||||
* Will be submitted upstream since it is safe for all silicon
|
||||
revisions to boot at 800MHz according to HW team.
|
||||
|
||||
Signed-off-by: Tom Rini <trini@ti.com>
|
||||
---
|
||||
board/ti/beagle/beagle.c | 3 +++
|
||||
1 files changed, 3 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c
|
||||
index e26b387..69a7b4e 100644
|
||||
--- a/board/ti/beagle/beagle.c
|
||||
+++ b/board/ti/beagle/beagle.c
|
||||
@@ -346,6 +346,9 @@ int misc_init_r(void)
|
||||
TWL4030_PM_RECEIVER_VAUX2_VSEL_18,
|
||||
TWL4030_PM_RECEIVER_VAUX2_DEV_GRP,
|
||||
TWL4030_PM_RECEIVER_DEV_GRP_P1);
|
||||
+ /* 800MHz support */
|
||||
+ twl4030_power_mpu_init();
|
||||
+ set_mpu_clk(800);
|
||||
break;
|
||||
default:
|
||||
printf("Beagle unknown 0x%02x\n", get_board_revision());
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,57 +0,0 @@
|
||||
From 715afb049d2675106e26c5225e7e321374c32f85 Mon Sep 17 00:00:00 2001
|
||||
From: Tom Rini <trini@ti.com>
|
||||
Date: Thu, 17 Nov 2011 16:54:01 -0700
|
||||
Subject: [PATCH 4/4] beagleboard: Load uImage to the default kernel linux address
|
||||
|
||||
This is TI Sitara SDK specific (unified user experience, load uImage
|
||||
to an 'XIP' location).
|
||||
|
||||
Upstream-Status: Pending
|
||||
* This functionality is being discussed upstream and there
|
||||
is not a concensus yet.
|
||||
|
||||
Signed-off-by: Tom Rini <trini@ti.com>
|
||||
---
|
||||
include/configs/omap3_beagle.h | 13 +++++++------
|
||||
1 files changed, 7 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
|
||||
index ea62580..00b2abe 100644
|
||||
--- a/include/configs/omap3_beagle.h
|
||||
+++ b/include/configs/omap3_beagle.h
|
||||
@@ -219,6 +219,7 @@
|
||||
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS \
|
||||
"loadaddr=0x80200000\0" \
|
||||
+ "kloadaddr=0x80007fc0\0" \
|
||||
"rdaddr=0x81000000\0" \
|
||||
"usbtty=cdc_acm\0" \
|
||||
"usbethaddr=de:ad:be:ef\0" \
|
||||
@@ -272,18 +273,18 @@
|
||||
"root=${ramroot} " \
|
||||
"rootfstype=${ramrootfstype}\0" \
|
||||
"loadramdisk=fatload mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \
|
||||
- "loaduimagefat=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
|
||||
- "loaduimage=ext2load mmc ${mmcdev}:2 ${loadaddr} /boot/uImage\0" \
|
||||
+ "loaduimagefat=fatload mmc ${mmcdev} ${kloadaddr} uImage\0" \
|
||||
+ "loaduimage=ext2load mmc ${mmcdev}:2 ${kloadaddr} /boot/uImage\0" \
|
||||
"mmcboot=echo Booting from mmc ...; " \
|
||||
"run mmcargs; " \
|
||||
- "bootm ${loadaddr}\0" \
|
||||
+ "bootm ${kloadaddr}\0" \
|
||||
"nandboot=echo Booting from nand ...; " \
|
||||
"run nandargs; " \
|
||||
- "nand read ${loadaddr} 280000 400000; " \
|
||||
- "bootm ${loadaddr}\0" \
|
||||
+ "nand read ${kloadaddr} 280000 400000; " \
|
||||
+ "bootm ${kloadaddr}\0" \
|
||||
"ramboot=echo Booting from ramdisk ...; " \
|
||||
"run ramargs; " \
|
||||
- "bootm ${loadaddr}\0" \
|
||||
+ "bootm ${kloadaddr}\0" \
|
||||
"userbutton=if gpio input 173; then run userbutton_xm; " \
|
||||
"else run userbutton_nonxm; fi;\0" \
|
||||
"userbutton_xm=gpio input 4;\0" \
|
||||
--
|
||||
1.7.0.4
|
||||
|
||||
@@ -1,41 +0,0 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
DESCRIPTION = "u-boot bootloader for ARM MPU devices"
|
||||
|
||||
COMPATIBLE_MACHINE = "am37x-evm|beagleboard"
|
||||
|
||||
BRANCH ?= "master"
|
||||
|
||||
PR = "r1+gitr${SRCPV}"
|
||||
|
||||
# v2012.04.01
|
||||
SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
|
||||
|
||||
SRC_URI = "git://git.denx.de/u-boot.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
# Add patches for the AMSDK
|
||||
# - 0001-omap3-beagle-add-usbethaddr....Not for Upstream
|
||||
# - 0001-OMAP3-Beagle-Set-BOOTDELAY....Pending Upstream
|
||||
# - 0002-am335x-am3517evm-beagleboard....Pending Upstream
|
||||
# - 0003-beagleboard-Load-uImage-from....Not for Upstream
|
||||
# - 0004-beagleboard-Load-uImage-to....Pending Upstream
|
||||
# - 0001-omap3_evm-Added-function....Pending Upstream
|
||||
# - 0002-omap3evm-Make-the-board....Pending Upstream
|
||||
# - 0003-beagleboard-Make-xM-rev....Pending Upstream
|
||||
# - 0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch....Upstreamed
|
||||
|
||||
# Add a patch to set a default usbethaddr address to enable the out of box
|
||||
# experience.
|
||||
SRC_URI += "file://0001-omap3_beagle-add-usbethaddr-setting-to-enable-networ.patch \
|
||||
file://0001-OMAP3-Beagle-Set-BOOTDELAY-to-3.patch \
|
||||
file://0002-am335x-am3517evm-beagleboard-am37x-Add-CONFIG_CMD_AS.patch \
|
||||
file://0003-beagleboard-Load-uImage-from-VFAT-by-default.patch \
|
||||
file://0004-beagleboard-Load-uImage-to-the-default-kernel-linux-.patch \
|
||||
file://0001-omap3_evm-Added-function-calls-to-set-volts-speed-on.patch \
|
||||
file://0002-omap3evm-Make-the-board-start-at-800MHz.patch \
|
||||
file://0003-beagleboard-Make-xM-rev-C-go-to-800MHz.patch \
|
||||
file://0001-ARM-omap3-Set-SPL-stack-size-to-8KB-image-to-54KB.patch \
|
||||
file://0001-armv7-Unaligned-access-fix.patch \
|
||||
"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
@@ -1,36 +0,0 @@
|
||||
require u-boot-ti.inc
|
||||
|
||||
PR = "r7"
|
||||
|
||||
SPL_BINARY = "MLO"
|
||||
|
||||
# No patches for other machines yet
|
||||
COMPATIBLE_MACHINE = "(beagleboard)"
|
||||
|
||||
SRC_URI = "git://git.denx.de/u-boot.git;protocol=git \
|
||||
file://2011.09/0001-omap3-mem-Comment-enable_gpmc_cs_config-more.patch \
|
||||
file://2011.09/0002-OMAP3-Update-SDRC-dram_init-to-always-call-make_cs1_.patch \
|
||||
file://2011.09/0003-OMAP3-Add-a-helper-function-to-set-timings-in-SDRC.patch \
|
||||
file://2011.09/0004-OMAP3-Change-mem_ok-to-clear-again-after-reading-bac.patch \
|
||||
file://2011.09/0005-OMAP3-Remove-get_mem_type-prototype.patch \
|
||||
file://2011.09/0006-omap3-mem-Add-MCFG-helper-macro.patch \
|
||||
file://2011.09/0007-OMAP3-Add-optimal-SDRC-autorefresh-control-values.patch \
|
||||
file://2011.09/0008-OMAP3-Suffix-all-Micron-memory-timing-parts-with-the.patch \
|
||||
file://2011.09/0009-OMAP3-SPL-Rework-memory-initalization-and-devkit8000.patch \
|
||||
file://2011.09/0010-OMAP3-SPL-Add-identify_nand_chip-function.patch \
|
||||
file://2011.09/0011-OMAP3-Add-SPL-support-to-Beagleboard.patch \
|
||||
file://2011.09/0012-OMAP3-Add-SPL-support-to-omap3_evm.patch \
|
||||
file://2011.09/0013-AM3517-Add-SPL-support.patch \
|
||||
file://2011.09/0014-AM3517-CraneBoard-Add-SPL-support.patch \
|
||||
file://2011.09/0015-HACK-beagleboard-config-disable-cache-for-USB.patch \
|
||||
file://2011.09/0016-beagleboard-config-enable-gpio-command.patch \
|
||||
file://2011.09/0017-Increased-some-timeout-durations-for-MMC-and-EHCI.patch \
|
||||
file://2011.09/0018-beagleboard-mount-rootfs-RO-instead-of-RW-at-boot.patch \
|
||||
file://2011.09/0019-BeagleBoard-config-Really-switch-to-ttyO2.patch \
|
||||
file://2011.09/0020-beagleboard-add-support-for-TCT-Beacon-board.patch \
|
||||
file://2011.09/0021-beagleboard-add-support-for-scanning-loop-through-ex.patch \
|
||||
file://0001-config-Always-use-GNU-ld.patch \
|
||||
file://fw_env.config \
|
||||
"
|
||||
|
||||
SRCREV = "fdbe8b9a2d1858ba35dd6214315563ad44d4a0e3"
|
||||
@@ -4,13 +4,67 @@ DESCRIPTION = "u-boot bootloader for Multi-Core BU devices"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
|
||||
PR = "r2+gitr${SRCPV}"
|
||||
|
||||
SRC_URI = "git://arago-project.org/git/projects/u-boot-keystone.git;protocol=git;branch=${BRANCH}"
|
||||
PR = "r5+gitr${SRCPV}"
|
||||
|
||||
# Tag "K2_UBOOT_2013_01_14.09"
|
||||
SRCREV = "f9bc365551ff8c685bf6134d795576713fec0917"
|
||||
BRANCH = "master"
|
||||
|
||||
# DEV.MCSDK-03.00.00.07
|
||||
SRCREV = "82f40e857d853165310d0753e79235aefb65d7ba"
|
||||
SRC_URI = "git://git.ti.com/keystone-linux/u-boot.git;protocol=git;branch=${BRANCH}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
UBOOT_SUFFIX = "bin"
|
||||
UBOOT_MAKE_TARGET = "u-boot-spi.gph u-boot-nand.gph"
|
||||
|
||||
# SPI NOR Flash binaries
|
||||
UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
|
||||
UBOOT_SPI_BINARY = "u-boot.img"
|
||||
UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
|
||||
UBOOT_NAND_GPH_BINARY = "u-boot-nand.gph"
|
||||
|
||||
# SPI NOR Flash deployed images
|
||||
UBOOT_SPI_SPL_IMAGE = "u-boot-spl-${MACHINE}-${PV}-${PR}.bin"
|
||||
UBOOT_SPI_SPL_SYMLINK = "u-boot-spl-${MACHINE}.bin"
|
||||
UBOOT_SPI_IMAGE = "u-boot-${MACHINE}-${PV}-${PR}.img"
|
||||
UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img"
|
||||
UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph"
|
||||
UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph"
|
||||
UBOOT_NAND_GPH_IMAGE = "u-boot-nand-${MACHINE}-${PV}-${PR}.gph"
|
||||
UBOOT_NAND_GPH_SYMLINK = "u-boot-nand-${MACHINE}.gph"
|
||||
|
||||
do_install_append () {
|
||||
install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
|
||||
|
||||
install ${S}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
|
||||
|
||||
install ${S}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${D}/boot/${UBOOT_SPI_GPH_BINARY}
|
||||
|
||||
install ${S}/${UBOOT_NAND_GPH_BINARY} ${D}/boot/${UBOOT_NAND_GPH_IMAGE}
|
||||
ln -sf ${UBOOT_NAND_GPH_IMAGE} ${D}/boot/${UBOOT_NAND_GPH_BINARY}
|
||||
}
|
||||
|
||||
do_deploy_append () {
|
||||
install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_SPL_IMAGE}
|
||||
rm -f ${UBOOT_SPI_SPL_BINARY} ${UBOOT_SPI_SPL_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY}
|
||||
|
||||
install ${S}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}
|
||||
rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY}
|
||||
|
||||
install ${S}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}
|
||||
rm -f ${UBOOT_SPI_GPH_BINARY} ${UBOOT_SPI_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_SPI_GPH_IMAGE} ${UBOOT_SPI_GPH_BINARY}
|
||||
|
||||
install ${S}/${UBOOT_NAND_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_NAND_GPH_IMAGE}
|
||||
rm -f ${UBOOT_NAND_GPH_BINARY} ${UBOOT_NAND_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_SYMLINK}
|
||||
ln -sf ${UBOOT_NAND_GPH_IMAGE} ${UBOOT_NAND_GPH_BINARY}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user