aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-mainstone_2.6.25.bb
blob: f185cad10b3838c9ef3dad3029afc991302d001b (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
require linux.inc 

SECTION = "kernel"
DESCRIPTION = "Linux kernel for the Mainstone (PXA270 ref design)"
LICENSE = "GPLv2"
PR = "r1"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2;name=kernel \
           ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/v2.6.25/patch-2.6.25-rc4.bz2;apply=yes;name=patch \
           file://mainstone-keypad.patch;apply=yes \
	   file://0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch;apply=yes \
           file://defconfig"

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

COMPATIBLE_HOST = 'arm.*-linux'

ARCH = "arm"

CMDLINE_CONSOLE ?= "ttyS0,115200n8"
#CMDLINE_ROOT = "root=/dev/slug rootfstype=ext2,jffs2 initrd=0x01000000,10M mem=32M@0x00000000"
#CMDLINE_ROOT = "root=/dev/ram0 rw rootfstype=ext2,jffs2 initrd=0x01000000,10M init=/linuxrc mem=32M@0x00000000"
CMDLINE_ROOT = "root=/dev/mtdblock2 rootfstype=jffs2 console=ttyS0,115200 mem=64M"
CMDLINE = "${CMDLINE_ROOT} ${CMDLINE_CONSOLE}"

COMPATIBLE_MACHINE = "mainstone"

SRC_URI[kernel.md5sum] = "3f23ad4b69d0a552042d1ed0f4399857"
SRC_URI[kernel.sha256sum] = "413c64fbbcf81244cb5571be4963644a1e81166a2b0f008a016528363b65c5d3"
SRC_URI[patch.md5sum] = "a4cc0fd5bda60e498246b6d69c873895"
SRC_URI[patch.sha256sum] = "781656a17fe24b018ab2c33c2481c2a07e9abfa9c6203995e2fbf7c852adda3a"