Commit 558f5c2498fc50edb93aa71dc2cd898380cd69fb
1 parent
19644783ef
Exists in
master
Fix MUSB DMA bug
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
recipes-kernel/linux/linux-smarct335x-staging_3.12.bb
1 | SECTION = "kernel" | 1 | SECTION = "kernel" |
2 | DESCRIPTION = "Linux kernel for Embedian SMARC T335X Computer on Module devices" | 2 | DESCRIPTION = "Linux kernel for Embedian SMARC T335X Computer on Module devices" |
3 | LICENSE = "GPLv2" | 3 | LICENSE = "GPLv2" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" |
5 | 5 | ||
6 | inherit kernel | 6 | inherit kernel |
7 | 7 | ||
8 | require recipes-kernel/linux/linux-dtb.inc | 8 | require recipes-kernel/linux/linux-dtb.inc |
9 | require recipes-kernel/linux/setup-defconfig.inc | 9 | require recipes-kernel/linux/setup-defconfig.inc |
10 | 10 | ||
11 | # Pull in the devicetree files into the rootfs | 11 | # Pull in the devicetree files into the rootfs |
12 | RDEPENDS_kernel-base += "kernel-devicetree" | 12 | RDEPENDS_kernel-base += "kernel-devicetree" |
13 | 13 | ||
14 | # Add a run-time dependency for the PM firmware to be installed | 14 | # Add a run-time dependency for the PM firmware to be installed |
15 | # on the target file system. | 15 | # on the target file system. |
16 | RDEPENDS_kernel-base_append_ti33x = " am33x-cm3" | 16 | RDEPENDS_kernel-base_append_ti33x = " am33x-cm3" |
17 | RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" | 17 | RDEPENDS_kernel-base_append_ti43x = " am33x-cm3" |
18 | 18 | ||
19 | # Add a run-time dependency for the VPE VPDMA firmware to be installed | 19 | # Add a run-time dependency for the VPE VPDMA firmware to be installed |
20 | # on the target file system. | 20 | # on the target file system. |
21 | RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw" | 21 | RDEPENDS_kernel-base_append_dra7xx-evm = " vpe-vpdma-fw" |
22 | 22 | ||
23 | # Default is to package all dtb files for ti33x devices unless building | 23 | # Default is to package all dtb files for ti33x devices unless building |
24 | # for the specific beaglebone machine. | 24 | # for the specific beaglebone machine. |
25 | KERNEL_DEVICETREE_ti33x = "am335x-smarct335x.dtb am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" | 25 | KERNEL_DEVICETREE_ti33x = "am335x-smarct335x.dtb am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb" |
26 | #KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am437x-gp-evm.dtb" | 26 | #KERNEL_DEVICETREE_ti43x = "am43x-epos-evm.dtb am437x-gp-evm.dtb" |
27 | #KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb" | 27 | #KERNEL_DEVICETREE_beaglebone = "am335x-bone.dtb am335x-boneblack.dtb" |
28 | #KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb" | 28 | #KERNEL_DEVICETREE_omap5-evm = "omap5-uevm.dtb" |
29 | #KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb" | 29 | #KERNEL_DEVICETREE_dra7xx-evm = "dra7-evm.dtb" |
30 | 30 | ||
31 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | 31 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" |
32 | 32 | ||
33 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" | 33 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" |
34 | 34 | ||
35 | S = "${WORKDIR}/git" | 35 | S = "${WORKDIR}/git" |
36 | 36 | ||
37 | # For 3.12y Kernel | 37 | # For 3.12y Kernel |
38 | BRANCH = "smarc-ti-linux-3.12.y" | 38 | BRANCH = "smarc-ti-linux-3.12.y" |
39 | 39 | ||
40 | # Corresponds to tag ti-linux-3.12.y | 40 | # Corresponds to tag ti-linux-3.12.y |
41 | SRCREV = "6dd7f59e7c79d8dd9e5bb1ddfece8aa8e26488ec" | 41 | SRCREV = "c461db2ad66b153b0b54450e2241bfe086b5314f" |
42 | PV = "3.12.30" | 42 | PV = "3.12.30" |
43 | 43 | ||
44 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild | 44 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild |
45 | MACHINE_KERNEL_PR_append = "k+gitr${SRCPV}" | 45 | MACHINE_KERNEL_PR_append = "k+gitr${SRCPV}" |
46 | PR = "${MACHINE_KERNEL_PR}" | 46 | PR = "${MACHINE_KERNEL_PR}" |
47 | 47 | ||
48 | SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${BRANCH} \ | 48 | SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${BRANCH} \ |
49 | file://defconfig \ | 49 | file://defconfig \ |
50 | " | 50 | " |
51 | 51 | ||
52 | # Add append for AMSDK specific changes not in mainline | 52 | # Add append for AMSDK specific changes not in mainline |
53 | MACHINE_KERNEL_PR_append = "-smarc4" | 53 | MACHINE_KERNEL_PR_append = "-smarc4" |
54 | 54 | ||
55 | require copy-defconfig.inc | 55 | require copy-defconfig.inc |
56 | 56 | ||
57 | KERNEL_LOCALVERSION = "-3.12.y" | 57 | KERNEL_LOCALVERSION = "-3.12.y" |
58 | 58 | ||
59 | KERNEL_LOCALVERSION_TAG = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}" | 59 | KERNEL_LOCALVERSION_TAG = "-g${@d.getVar('SRCPV', True).partition('+')[2][0:7]}" |
60 | 60 | ||
61 | kernel_do_configure_prepend() { | 61 | kernel_do_configure_prepend() { |
62 | if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ] | 62 | if [ ! -e ${B}/.scmversion -a ! -e ${S}/.scmversion ] |
63 | then | 63 | then |
64 | echo ${KERNEL_LOCALVERSION_TAG} > ${B}/.scmversion | 64 | echo ${KERNEL_LOCALVERSION_TAG} > ${B}/.scmversion |
65 | echo ${KERNEL_LOCALVERSION_TAG} > ${S}/.scmversion | 65 | echo ${KERNEL_LOCALVERSION_TAG} > ${S}/.scmversion |
66 | fi | 66 | fi |
67 | } | 67 | } |
68 | 68 | ||
69 | 69 |