summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-05-23 15:22:08 +0000
committerRichard Purdie <richard@openedhand.com>2007-05-23 15:22:08 +0000
commitb48c1aca8b7af98682f5b255e15b2fd22333a7b5 (patch)
tree1432d64ababd29e170c57e9186976ac11fb4c88b /meta/packages
parentf9ad5a0f7a20c864c8d473aea72a6ba3ae7900e2 (diff)
downloadpoky-b48c1aca8b7af98682f5b255e15b2fd22333a7b5.tar.gz
linux-nokia800: Add oprofile mismatch workaround, update to osso40
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1770 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch30
-rw-r--r--meta/packages/linux/linux-nokia800-2.6.18-osso40/nokia770/defconfig (renamed from meta/packages/linux/linux-nokia800-2.6.18-osso29/nokia770/defconfig)0
-rw-r--r--meta/packages/linux/linux-nokia800-2.6.18-osso40/nokia800/defconfig (renamed from meta/packages/linux/linux-nokia800-2.6.18-osso29/nokia800/defconfig)16
-rw-r--r--meta/packages/linux/linux-nokia800_2.6.18-osso40.bb (renamed from meta/packages/linux/linux-nokia800_2.6.18-osso29.bb)7
4 files changed, 43 insertions, 10 deletions
diff --git a/meta/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch b/meta/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch
new file mode 100644
index 0000000000..c5849998d5
--- /dev/null
+++ b/meta/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch
@@ -0,0 +1,30 @@
1---
2 arch/arm/oprofile/op_model_v6.c | 8 +-------
3 1 file changed, 1 insertion(+), 7 deletions(-)
4
5Index: linux-g/arch/arm/oprofile/op_model_v6.c
6===================================================================
7--- linux-g.orig/arch/arm/oprofile/op_model_v6.c 2006-11-08 12:18:41.000000000 +0000
8+++ linux-g/arch/arm/oprofile/op_model_v6.c 2007-05-23 14:11:19.000000000 +0100
9@@ -54,12 +54,6 @@
10 #define EVT_DCACHE_MISS 0x0B
11 #define EVT_DCACE_WRITE_BACK 0x0C
12 #define EVT_PC_CHANGED 0x0D
13-#define EVT_BCU_REQUEST 0x10
14-#define EVT_BCU_FULL 0x11
15-#define EVT_BCU_DRAIN 0x12
16-#define EVT_BCU_ECC_NO_ELOG 0x14
17-#define EVT_BCU_1_BIT_ERR 0x15
18-#define EVT_RMW 0x16
19 /* EVT_CCNT is not hardware defined */
20 #define EVT_CCNT 0xFE
21 #define EVT_UNUSED 0xFF
22@@ -88,7 +82,7 @@ struct pmu_type {
23 static struct pmu_type pmu_parms[] = {
24 {
25 .id = PMU_ARM11,
26- .name = "arm/arm11",
27+ .name = "arm/armv6",
28 .num_counters = 3,
29 #ifdef CONFIG_ARCH_OMAP2
30 .interrupt = 3,
diff --git a/meta/packages/linux/linux-nokia800-2.6.18-osso29/nokia770/defconfig b/meta/packages/linux/linux-nokia800-2.6.18-osso40/nokia770/defconfig
index ef33d828c1..ef33d828c1 100644
--- a/meta/packages/linux/linux-nokia800-2.6.18-osso29/nokia770/defconfig
+++ b/meta/packages/linux/linux-nokia800-2.6.18-osso40/nokia770/defconfig
diff --git a/meta/packages/linux/linux-nokia800-2.6.18-osso29/nokia800/defconfig b/meta/packages/linux/linux-nokia800-2.6.18-osso40/nokia800/defconfig
index 328b900109..c96a55deac 100644
--- a/meta/packages/linux/linux-nokia800-2.6.18-osso29/nokia800/defconfig
+++ b/meta/packages/linux/linux-nokia800-2.6.18-osso40/nokia800/defconfig
@@ -1,7 +1,7 @@
1# 1#
2# Automatically generated make config: don't edit 2# Automatically generated make config: don't edit
3# Linux kernel version: 2.6.18-omap1 3# Linux kernel version: 2.6.18-omap1
4# Tue Nov 14 20:41:41 2006 4# Wed May 23 16:23:22 2007
5# 5#
6CONFIG_ARM=y 6CONFIG_ARM=y
7CONFIG_MMU=y 7CONFIG_MMU=y
@@ -712,15 +712,13 @@ CONFIG_HW_CONSOLE=y
712# 712#
713# Serial drivers 713# Serial drivers
714# 714#
715CONFIG_SERIAL_8250=y 715# CONFIG_SERIAL_8250 is not set
716CONFIG_SERIAL_8250_CONSOLE=y
717CONFIG_SERIAL_8250_NR_UARTS=4
718CONFIG_SERIAL_8250_RUNTIME_UARTS=4
719# CONFIG_SERIAL_8250_EXTENDED is not set
720 716
721# 717#
722# Non-8250 serial port support 718# Non-8250 serial port support
723# 719#
720CONFIG_SERIAL_OMAP=y
721CONFIG_SERIAL_OMAP_CONSOLE=y
724CONFIG_SERIAL_CORE=y 722CONFIG_SERIAL_CORE=y
725CONFIG_SERIAL_CORE_CONSOLE=y 723CONFIG_SERIAL_CORE_CONSOLE=y
726CONFIG_UNIX98_PTYS=y 724CONFIG_UNIX98_PTYS=y
@@ -1168,11 +1166,13 @@ CONFIG_JFFS2_SUMMARY=y
1168# CONFIG_JFFS2_FS_XATTR is not set 1166# CONFIG_JFFS2_FS_XATTR is not set
1169CONFIG_JFFS2_COMPRESSION_OPTIONS=y 1167CONFIG_JFFS2_COMPRESSION_OPTIONS=y
1170CONFIG_JFFS2_ZLIB=y 1168CONFIG_JFFS2_ZLIB=y
1169CONFIG_JFFS2_LZO=y
1171CONFIG_JFFS2_RTIME=y 1170CONFIG_JFFS2_RTIME=y
1172# CONFIG_JFFS2_RUBIN is not set 1171# CONFIG_JFFS2_RUBIN is not set
1173# CONFIG_JFFS2_CMODE_NONE is not set 1172# CONFIG_JFFS2_CMODE_NONE is not set
1174CONFIG_JFFS2_CMODE_PRIORITY=y 1173CONFIG_JFFS2_CMODE_PRIORITY=y
1175# CONFIG_JFFS2_CMODE_SIZE is not set 1174# CONFIG_JFFS2_CMODE_SIZE is not set
1175# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
1176# CONFIG_CRAMFS is not set 1176# CONFIG_CRAMFS is not set
1177# CONFIG_VXFS_FS is not set 1177# CONFIG_VXFS_FS is not set
1178# CONFIG_HPFS_FS is not set 1178# CONFIG_HPFS_FS is not set
@@ -1245,7 +1245,8 @@ CONFIG_NLS_UTF8=y
1245# 1245#
1246# Profiling support 1246# Profiling support
1247# 1247#
1248# CONFIG_PROFILING is not set 1248CONFIG_PROFILING=y
1249CONFIG_OPROFILE=y
1249 1250
1250# 1251#
1251# Kernel hacking 1252# Kernel hacking
@@ -1305,6 +1306,7 @@ CONFIG_CRC_CCITT=y
1305# CONFIG_CRC16 is not set 1306# CONFIG_CRC16 is not set
1306CONFIG_CRC32=y 1307CONFIG_CRC32=y
1307# CONFIG_LIBCRC32C is not set 1308# CONFIG_LIBCRC32C is not set
1309CONFIG_LZO=y
1308CONFIG_ZLIB_INFLATE=y 1310CONFIG_ZLIB_INFLATE=y
1309CONFIG_ZLIB_DEFLATE=y 1311CONFIG_ZLIB_DEFLATE=y
1310CONFIG_PLIST=y 1312CONFIG_PLIST=y
diff --git a/meta/packages/linux/linux-nokia800_2.6.18-osso29.bb b/meta/packages/linux/linux-nokia800_2.6.18-osso40.bb
index 6b128113b1..b8ae6f70c8 100644
--- a/meta/packages/linux/linux-nokia800_2.6.18-osso29.bb
+++ b/meta/packages/linux/linux-nokia800_2.6.18-osso40.bb
@@ -1,13 +1,14 @@
1require linux-nokia800.inc 1require linux-nokia800.inc
2 2
3PR = "r3" 3PR = "r0"
4SRC_URI = "http://repository.maemo.org/pool/maemo3.0/free/source/kernel-source-rx-34_2.6.18.orig.tar.gz \ 4SRC_URI = "http://repository.maemo.org/pool/maemo3.1/free/source/kernel-source-rx-34_2.6.18.orig.tar.gz \
5 http://repository.maemo.org/pool/maemo3.0/free/source/kernel-source-rx-34_2.6.18-osso29.diff.gz;patch=1 \ 5 http://repository.maemo.org/pool/maemo3.1/free/source/kernel-source-rx-34_2.6.18-osso40.diff.gz;patch=1 \
6 ${RPSRC}/lzo_kernel-r0.patch;patch=1 \ 6 ${RPSRC}/lzo_kernel-r0.patch;patch=1 \
7 ${RPSRC}/lzo_jffs2-r0.patch;patch=1 \ 7 ${RPSRC}/lzo_jffs2-r0.patch;patch=1 \
8 ${RPSRC}/lzo_crypto-r0b.patch;patch=1 \ 8 ${RPSRC}/lzo_crypto-r0b.patch;patch=1 \
9 ${RPSRC}/lzo_jffs2_lzomode-r0.patch;patch=1 \ 9 ${RPSRC}/lzo_jffs2_lzomode-r0.patch;patch=1 \
10 ${RPSRC}/lzo_jffs2_sysfs-r0.patch;patch=1 \ 10 ${RPSRC}/lzo_jffs2_sysfs-r0.patch;patch=1 \
11 file://fix_oprofile.patch;patch=1 \
11 file://defconfig" 12 file://defconfig"
12 13
13S = "${WORKDIR}/linux-g" 14S = "${WORKDIR}/linux-g"