aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux_2.6.29.bb
blob: 2b808845445b97ace28061ec79fb4a2b9a1fa37b (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
90
91
92
93
require linux.inc

PR = "r11"

S = "${WORKDIR}/linux-2.6.29"

# Mark archs/machines that this kernel supports
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_boc01 = "1"
DEFAULT_PREFERENCE_canyonlands = "1"
DEFAULT_PREFERENCE_tosa = "1"
DEFAULT_PREFERENCE_vortex86sx = "1"
DEFAULT_PREFERENCE_atngw100 = "1"
DEFAULT_PREFERENCE_micro2440 = "1"
DEFAULT_PREFERENCE_ep93xx = "1"
DEFAULT_PREFERENCE_cm-x270 = "1"
DEFAULT_PREFERENCE_at2440evb = "1"
DEFAULT_PREFERENCE_tqm8540 = "1"
DEFAULT_PREFERENCE_stamp9g20evb = "1"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2;name=kernel \
           ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.6.bz2;apply=yes;name=stablepatch \
           file://defconfig"

SRC_URI_append_boc01 = "\
	file://boc01.dts \
	file://boc01.dts.v1 \
	file://004-081205-usb.patch \
	file://005-091008-isl12024.patch \
	file://007-091005-lm73.patch \
	file://008-091005-spi.patch \
	file://011-090115-gpio.patch \
	file://012-091019-capsense.patch \
	file://013-091015-lcd.patch \
	"

SRC_URI_append_canyonlands = " \
        file://0001-powerpc-4xx-Add-PPC4xx-PCIe-MSI-support.patch \
        "

SRC_URI_append_micro2440 = " \
	file://0001-S3C-Backported-the-s3c2410-touchscreen-from-openmok.patch \
	file://0002-S3C-Backported-openmoko-s-touchscreen-filters.patch \
	file://0003-VENDOR-armworks-logo.patch \
	file://0004-920T-Use-specific-920t-mtune.patch \
	file://0006-S3C-Allow-the-machine-code-to-get-the-BBT-table-fro.patch \
	file://0007-MINI2440-Add-machine-support.patch \
	file://0008-MINI2440-Delays-command-check-response-on-SD.patch \
	file://0009-MINI2440-Rename-the-SoC-tty-names.patch \
	file://0010-MINI2440-creates-a-mini2440_defconfig-file.patch \
	file://0011-MINI2440-Add-touchscreen-support.patch \
	"

SRC_URI_append_tosa = " \
        file://0001-pxa-make-second-argument-of-clk_add_alias-a-name-in.patch \
        file://0002-spi-pxa2xx-spi-set-default-cs_control-to-null_cs_co.patch \
        "

SRC_URI_append_ep93xx = " \
        file://add-edb9301.patch \
	file://edb9301-fix-machine-id.patch \
	"

SRC_URI_append_cm-x270 = "\
	file://0001-xm_x2xx-config-fix-up-CMDLINE.patch \
	file://0002-cm-x270-nand-change-name-of-device.patch \
	file://0003-cm-x2xx.c-add-support-for-sharp-VGA-display-panel.patch \
	"	

SRC_URI_append_stamp9g20evb = " \
    file://stamp9g20.patch \
    "

CMDLINE_cm-x270 = "console=${CMX270_CONSOLE_SERIAL_PORT},38400 monitor=8 bpp=16 mem=64M mtdparts=physmap-flash.0:256k(boot)ro,0x180000(kernel),0x230000(root),-(config);cm-x270-nand:64m(app),-(data) rdinit=/sbin/init root=mtd4 rootfstype=jffs2"

do_devicetree_image_append_boc01() {
	dtc -I dts -O dtb ${KERNEL_DEVICETREE_FLAGS} -o devicetree.v1 ${KERNEL_DEVICETREE}.v1
	install -m 0644 devicetree.v1 ${D}/boot/devicetree-${KERNEL_VERSION}.v1
}

pkg_postinst_kernel-devicetree_append_boc01 () {
	cd /${KERNEL_IMAGEDEST}; update-alternatives --install /${KERNEL_IMAGEDEST}/devicetree.v1 devicetree.v1 devicetree-${KERNEL_VERSION}.v1 ${KERNEL_PRIORITY} || true
}

pkg_postrm_kernel-devicetree_append_boc01 () {
	cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree.v1 devicetree-${KERNEL_VERSION}.v1 || true
}


SRC_URI[kernel.md5sum] = "64921b5ff5cdadbccfcd3820f03be7d8"
SRC_URI[kernel.sha256sum] = "58a5ea16d499fe06f90fcbf1d687d1235d2cb9bc28bf979867bd3faadf38fc3f"
SRC_URI[stablepatch.md5sum] = "0317760b52c9ac7a11de997da19a366e"
SRC_URI[stablepatch.sha256sum] = "0294d475cbbc6cf43db25e64b92616309086cad6be4ee463f7f4b1d16d285c27"