diff options
| author | Richard Purdie <richard@openedhand.com> | 2007-05-23 15:22:08 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2007-05-23 15:22:08 +0000 |
| commit | b48c1aca8b7af98682f5b255e15b2fd22333a7b5 (patch) | |
| tree | 1432d64ababd29e170c57e9186976ac11fb4c88b | |
| parent | f9ad5a0f7a20c864c8d473aea72a6ba3ae7900e2 (diff) | |
| download | poky-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
| -rw-r--r-- | meta/packages/linux/linux-nokia800-2.6.18-osso40/fix_oprofile.patch | 30 | ||||
| -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 | |||
| 5 | Index: 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 | # |
| 6 | CONFIG_ARM=y | 6 | CONFIG_ARM=y |
| 7 | CONFIG_MMU=y | 7 | CONFIG_MMU=y |
| @@ -712,15 +712,13 @@ CONFIG_HW_CONSOLE=y | |||
| 712 | # | 712 | # |
| 713 | # Serial drivers | 713 | # Serial drivers |
| 714 | # | 714 | # |
| 715 | CONFIG_SERIAL_8250=y | 715 | # CONFIG_SERIAL_8250 is not set |
| 716 | CONFIG_SERIAL_8250_CONSOLE=y | ||
| 717 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
| 718 | CONFIG_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 | # |
| 720 | CONFIG_SERIAL_OMAP=y | ||
| 721 | CONFIG_SERIAL_OMAP_CONSOLE=y | ||
| 724 | CONFIG_SERIAL_CORE=y | 722 | CONFIG_SERIAL_CORE=y |
| 725 | CONFIG_SERIAL_CORE_CONSOLE=y | 723 | CONFIG_SERIAL_CORE_CONSOLE=y |
| 726 | CONFIG_UNIX98_PTYS=y | 724 | CONFIG_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 |
| 1169 | CONFIG_JFFS2_COMPRESSION_OPTIONS=y | 1167 | CONFIG_JFFS2_COMPRESSION_OPTIONS=y |
| 1170 | CONFIG_JFFS2_ZLIB=y | 1168 | CONFIG_JFFS2_ZLIB=y |
| 1169 | CONFIG_JFFS2_LZO=y | ||
| 1171 | CONFIG_JFFS2_RTIME=y | 1170 | CONFIG_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 |
| 1174 | CONFIG_JFFS2_CMODE_PRIORITY=y | 1173 | CONFIG_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 | 1248 | CONFIG_PROFILING=y |
| 1249 | CONFIG_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 |
| 1306 | CONFIG_CRC32=y | 1307 | CONFIG_CRC32=y |
| 1307 | # CONFIG_LIBCRC32C is not set | 1308 | # CONFIG_LIBCRC32C is not set |
| 1309 | CONFIG_LZO=y | ||
| 1308 | CONFIG_ZLIB_INFLATE=y | 1310 | CONFIG_ZLIB_INFLATE=y |
| 1309 | CONFIG_ZLIB_DEFLATE=y | 1311 | CONFIG_ZLIB_DEFLATE=y |
| 1310 | CONFIG_PLIST=y | 1312 | CONFIG_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 @@ | |||
| 1 | require linux-nokia800.inc | 1 | require linux-nokia800.inc |
| 2 | 2 | ||
| 3 | PR = "r3" | 3 | PR = "r0" |
| 4 | SRC_URI = "http://repository.maemo.org/pool/maemo3.0/free/source/kernel-source-rx-34_2.6.18.orig.tar.gz \ | 4 | SRC_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 | ||
| 13 | S = "${WORKDIR}/linux-g" | 14 | S = "${WORKDIR}/linux-g" |
