summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-davinci_git.bb
blob: 11df83415e7660ed2a730d5a02882bdf657205c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
require linux.inc

DESCRIPTION = "Linux kernel for DaVinci processors"
KERNEL_IMAGETYPE = "uImage"

COMPATIBLE_MACHINE = "(dm355-evm|dm365-evm|dm6446-evm|dm6467-evm|dm6467t-evm|da830-omapl137-evm|da850-omapl138-evm|dm355-leopard|davinci-sffsdr|hawkboard)"

DEFAULT_PREFERENCE = "1"

BRANCH = "master"
SRC_URI = "file://defconfig "

S = "${WORKDIR}/git"

# DaVinci DM3xx/DM6xxx
# dm355-evm/dm365-evm/dm6446-evm/dm6467-evm/dm6467t-evm Davinci PSP 03.01.00/03.02.00 (build r30)
# The main PR is now using MACHINE_KERNEL_PR, for davinci see conf/machine/include/davinci.inc

ARAGO_DM_REV = "e87a8397d2830db11ce1518bd2abc4e8815763f1"
ARAGO_DM_PV  = "2.6.31+2.6.32-rc2-${PR}+gitr${SRCREV}"
ARAGO_DM_BR  = "r32"
ARAGO_DM_URI = "git://arago-project.org/git/projects/linux-davinci.git;protocol=git;branch=${BRANCH} "

SRCREV_dm355-evm           = ${ARAGO_DM_REV}
SRCREV_dm365-evm           = ${ARAGO_DM_REV}
SRCREV_dm6446-evm          = ${ARAGO_DM_REV}
SRCREV_dm6467-evm          = ${ARAGO_DM_REV}
SRCREV_dm6467t-evm         = ${ARAGO_DM_REV}

PV_dm355-evm               = ${ARAGO_DM_PV}
PV_dm365-evm               = ${ARAGO_DM_PV}
PV_dm6446-evm              = ${ARAGO_DM_PV}
PV_dm6467-evm              = ${ARAGO_DM_PV}
PV_dm6467t-evm             = ${ARAGO_DM_PV}

BRANCH_dm355-evm           = ${ARAGO_DM_BR}
BRANCH_dm365-evm           = ${ARAGO_DM_BR}
BRANCH_dm6446-evm          = ${ARAGO_DM_BR}
BRANCH_dm6467-evm          = ${ARAGO_DM_BR}
BRANCH_dm6467t-evm         = ${ARAGO_DM_BR}

SRC_URI_append_dm355-evm   = ${ARAGO_DM_URI}
SRC_URI_append_dm365-evm   = ${ARAGO_DM_URI}
SRC_URI_append_dm6446-evm  = ${ARAGO_DM_URI}
SRC_URI_append_dm6467-evm  = ${ARAGO_DM_URI}
SRC_URI_append_dm6467t-evm = ${ARAGO_DM_URI}

# OMAPL1 DA8xx/L1xx
# da830-omapl137-evm/hawkboard OMAPL1 PSP 03.20.00.08 (Beta)
# da850-omapl138-evm using 'master' branch
#  - defconfig is psp defconfig + MMC unsafe (for deep-sleep) + tps/mfd/touchscreen configs 

# The main PR is now using MACHINE_KERNEL_PR, for davinci see conf/machine/include/davinci.inc

ARAGO_L1_REV = "e3939e092ce59a6906bf8869a3c7d40314c02eef"
ARAGO_L1_BR  = "DAVINCIPSP_03.20.00.08"
ARAGO_L1_PV  = "2.6.31+2.6.32-rc6-${PR}+gitr${SRCREV}"
ARAGO_L1_URI = "git://arago-project.org/git/people/sekhar/linux-omapl1.git;protocol=git;branch=${BRANCH} "

SRCREV_da830-omapl137-evm         = ${ARAGO_L1_REV}
SRCREV_da850-omapl138-evm         = "c4c048fa6de7ca7f1b971d013b806ab809259697"
SRCREV_hawkboard                  = ${ARAGO_L1_REV}

PV_da830-omapl137-evm             = ${ARAGO_L1_PV}
PV_da850-omapl138-evm             = "2.6.32+2.6.33-rc4-${PR}+gitr${SRCREV}"
PV_hawkboard                      = ${ARAGO_L1_PV}

BRANCH_da830-omapl137-evm         = ${ARAGO_L1_BR}
BRANCH_da850-omapl138-evm         = "master"
BRANCH_hawkboard                  = ${ARAGO_L1_BR}

SRC_URI_append_da830-omapl137-evm = ${ARAGO_L1_URI}
SRC_URI_append_da850-omapl138-evm = ${ARAGO_L1_URI}
SRC_URI_append_hawkboard          = ${ARAGO_L1_URI}

SRC_URI_append_da850-omapl138-evm = "file://logo_linux_clut224.ppm \
                                     file://0001-tps6507x_regulator_refactor.patch;patch=1 \
                                     file://0002-tps6507x_regulator_da850_integration.patch;patch=1 \
                                     file://0003-tps6507x_mfd_driver.patch;patch=1 \
                                     file://0004-tps6507x_regulator_naming_change.patch;patch=1 \
                                     file://0005-tps6507x_regulator_mfd_integration.patch;patch=1 \
                                     file://0006-tps6507x_touchscreen_driver.patch;patch=1 "
SRC_URI_append_hawkboard          = "file://logo_linux_clut224.ppm \
                                     file://da850_omapl138_opp456mhz.patch;patch=1 \
                                     file://patch_hawk.diff;patch=1"

do_configure_prepend_hawkboard() {
	sed -i s:2157:2495:g ${S}/arch/arm/tools/mach-types
}