Linux kernel and ts72xx updates
Hi,
this patch series updates kernels for ts72xx machine. The kernels I touched are updated to their latest patchsets.
PATCH 1/1 linux 2.6.24: update ts72xx patchset
--- .../linux/linux-2.6.24/ts72xx/ep93xx-i2c-bus.diff | 30 +- .../ts72xx/ep93xx-maverick-uniqid.patch | 14 +- .../ts72xx/ts72xx-machine-id-fix.patch | 8 +- .../linux/linux-2.6.24/ts72xx/ts72xx-rs485.patch | 268 +++----------------- 4 files changed, 63 insertions(+), 257 deletions(-)
recipes/linux/linux-2.6.24/ts72xx/ep93xx-i2c-bus.diff +15 -15
@@ -3,13 +3,13 @@ I2C bus driver using ep93xx GPIOs. Signed-off-by: Lennert Buytenhek <[email protected]> -Index: linux-2.6.22/drivers/i2c/busses/Kconfig +Index: linux-2.6.24/drivers/i2c/busses/Kconfig =================================================================== ---- linux-2.6.22.orig/drivers/i2c/busses/Kconfig 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/drivers/i2c/busses/Kconfig 2007-08-30 00:42:52.000000000 +0200 -@@ -635,4 +635,16 @@ - This driver can also be built as a module. If so, the module - will be called i2c-pnx. +--- linux-2.6.24.orig/drivers/i2c/busses/Kconfig 2010-02-07 14:53:59.000000000 +0100 ++++ linux-2.6.24/drivers/i2c/busses/Kconfig 2010-02-07 14:54:23.000000000 +0100 +@@ -675,4 +675,16 @@ + This driver can also be built as module. If so, the module + will be called i2c-pmcmsp. +config I2C_EP93XX + tristate "Cirrus Logic EP93XX GPIO-based I2C interface"
@@ -24,11 +24,11 @@ Index: linux-2.6.22/drivers/i2c/busses/Kconfig + + endmenu -Index: linux-2.6.22/drivers/i2c/busses/Makefile +Index: linux-2.6.24/drivers/i2c/busses/Makefile =================================================================== ---- linux-2.6.22.orig/drivers/i2c/busses/Makefile 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/drivers/i2c/busses/Makefile 2007-08-30 00:42:52.000000000 +0200 -@@ -52,6 +52,7 @@ +--- linux-2.6.24.orig/drivers/i2c/busses/Makefile 2010-02-07 14:53:59.000000000 +0100 ++++ linux-2.6.24/drivers/i2c/busses/Makefile 2010-02-07 14:54:23.000000000 +0100 +@@ -53,6 +53,7 @@ obj-$(CONFIG_I2C_VOODOO3) += i2c-voodoo3.o obj-$(CONFIG_SCx200_ACB) += scx200_acb.o obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
@@ -36,10 +36,10 @@ Index: linux-2.6.22/drivers/i2c/busses/Makefile ifeq ($(CONFIG_I2C_DEBUG_BUS),y) EXTRA_CFLAGS += -DDEBUG -Index: linux-2.6.22/drivers/i2c/busses/i2c-ep93xx.c +Index: linux-2.6.24/drivers/i2c/busses/i2c-ep93xx.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.22/drivers/i2c/busses/i2c-ep93xx.c 2007-08-30 00:42:52.000000000 +0200 ++++ linux-2.6.24/drivers/i2c/busses/i2c-ep93xx.c 2010-02-07 14:54:23.000000000 +0100 @@ -0,0 +1,159 @@ +/* + * EP93XX I2C bus driver.
@@ -200,10 +200,10 @@ Index: linux-2.6.22/drivers/i2c/busses/i2c-ep93xx.c +MODULE_AUTHOR("Lennert Buytenhek <[email protected]>"); +MODULE_DESCRIPTION("GPIO-based I2C adapter for EP93XX systems"); +MODULE_LICENSE("GPL"); -Index: linux-2.6.22/include/asm-arm/arch-ep93xx/platform.h +Index: linux-2.6.24/include/asm-arm/arch-ep93xx/platform.h =================================================================== ---- linux-2.6.22.orig/include/asm-arm/arch-ep93xx/platform.h 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/include/asm-arm/arch-ep93xx/platform.h 2007-08-30 00:42:52.000000000 +0200 +--- linux-2.6.24.orig/include/asm-arm/arch-ep93xx/platform.h 2010-02-07 14:53:59.000000000 +0100 ++++ linux-2.6.24/include/asm-arm/arch-ep93xx/platform.h 2010-02-07 14:54:23.000000000 +0100 @@ -16,5 +16,13 @@ unsigned char phy_id; };
recipes/linux/linux-2.6.24/ts72xx/ep93xx-maverick-uniqid.patch +7 -7
@@ -3,11 +3,11 @@ Adds support for SoC's unique ID (Maverick Key) in /proc/cpuinfo Signed-off-by: Petr Stetiar <[email protected]> -Index: linux-2.6.22/arch/arm/kernel/setup.c +Index: linux-2.6.24/arch/arm/kernel/setup.c =================================================================== ---- linux-2.6.22.orig/arch/arm/kernel/setup.c 2007-09-02 23:08:51.000000000 +0200 -+++ linux-2.6.22/arch/arm/kernel/setup.c 2007-09-02 23:10:24.000000000 +0200 -@@ -959,8 +959,15 @@ +--- linux-2.6.24.orig/arch/arm/kernel/setup.c 2010-02-07 14:53:58.000000000 +0100 ++++ linux-2.6.24/arch/arm/kernel/setup.c 2010-02-07 14:54:35.000000000 +0100 +@@ -1007,8 +1007,15 @@ seq_printf(m, "Hardware\t: %s\n", machine_name); seq_printf(m, "Revision\t: %04x\n", system_rev);
@@ -23,10 +23,10 @@ Index: linux-2.6.22/arch/arm/kernel/setup.c return 0; } -Index: linux-2.6.22/include/asm-arm/arch-ep93xx/ep93xx-regs.h +Index: linux-2.6.24/include/asm-arm/arch-ep93xx/ep93xx-regs.h =================================================================== ---- linux-2.6.22.orig/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2007-09-02 23:06:45.000000000 +0200 -+++ linux-2.6.22/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2007-09-02 23:08:34.000000000 +0200 +--- linux-2.6.24.orig/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2010-02-07 14:54:29.000000000 +0100 ++++ linux-2.6.24/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2010-02-07 14:54:35.000000000 +0100 @@ -70,6 +70,8 @@ #define EP93XX_I2S_BASE (EP93XX_APB_VIRT_BASE + 0x00020000)
recipes/linux/linux-2.6.24/ts72xx/ts72xx-machine-id-fix.patch +4 -4
@@ -3,11 +3,11 @@ Fix wrong machine ID passed from RedBoot Signed-off-by: Petr Stetiar <[email protected]> -Index: linux-2.6.22/arch/arm/kernel/head.S +Index: linux-2.6.24/arch/arm/kernel/head.S =================================================================== ---- linux-2.6.22.orig/arch/arm/kernel/head.S 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/arch/arm/kernel/head.S 2007-08-30 00:43:13.000000000 +0200 -@@ -82,6 +82,7 @@ +--- linux-2.6.24.orig/arch/arm/kernel/head.S 2010-02-07 14:53:58.000000000 +0100 ++++ linux-2.6.24/arch/arm/kernel/head.S 2010-02-07 14:54:39.000000000 +0100 +@@ -86,6 +86,7 @@ bl __lookup_processor_type @ r5=procinfo r9=cpuid movs r10, r5 @ invalid processor (r5=0)? beq __error_p @ yes, error 'p'
recipes/linux/linux-2.6.24/ts72xx/ts72xx-rs485.patch +37 -231
337 lines not on this page · raw message
Signature · 1 line
1.6.0.4
PATCH 1/1 linux 2.6.24: moving ts72xx to 2.6.27 as default kernel so change DEFAULT_PREFERENCE
--- recipes/linux/linux_2.6.24.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
recipes/linux/linux_2.6.24.bb +2 -2
@@ -7,12 +7,12 @@ DEFAULT_PREFERENCE_mpc8313e-rdb = "1" DEFAULT_PREFERENCE_simpad = "1" DEFAULT_PREFERENCE_atngw100 = "1" DEFAULT_PREFERENCE_at32stk1000 = "1" -DEFAULT_PREFERENCE_ts72xx = "1" +DEFAULT_PREFERENCE_ts72xx = "-1" DEFAULT_PREFERENCE_hipox = "1" DEFAULT_PREFERENCE_cs-e9302 = "1" DEFAULT_PREFERENCE_smartq5 = "1" -PR = "r34" +PR = "r35" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.7.bz2;patch=1 \
Signature · 1 line
1.6.0.4
PATCH 1/1 linux 2.6.27: update to latest patchset
--- conf/checksums.ini | 4 ++++ recipes/linux/linux_2.6.27.bb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-)
conf/checksums.ini +4 -0
@@ -21682,6 +21682,10 @@ sha256=ad9e0c07e709e9e9a60abe0b15a61482645f3aa64b30fa72c27f1bd13d7aa84d md5=da09ddd041a3fb35d236d37ec6de88e9 sha256=a63144608d5fa72b23151022d9d716e9ebc5b428e6307535481a4f48adb2cfe8 +[http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.27.45.bz2] +md5=9ad766753f54ba0a4df7c42873e7aa16 +sha256=fb78c95e902194ac62facdbad1a89430c991271a35e4bd30ce9dad2f948d99c8 + [http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.27.8.bz2] md5=ec23e3dce22b23ca681199fe515f10fb sha256=31c35db09289c6e0436a258745d7180e0cd8f567949f27b3dab5a57a3664ed2f
recipes/linux/linux_2.6.27.bb +2 -2
@@ -1,6 +1,6 @@ require linux.inc -PR = "r12" +PR = "r13" # Mark archs/machines that this kernel supports DEFAULT_PREFERENCE = "-1"
@@ -9,7 +9,7 @@ DEFAULT_PREFERENCE_progear = "1" DEFAULT_PREFERENCE_simpad = "-1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ - ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.44.bz2;patch=1 \ + ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.45.bz2;patch=1 \ file://defconfig " SRC_URI_append_boc01 = "\
Signature · 1 line
1.6.0.4
PATCH 1/1 linux 2.6.27: add support for ts72xx and make it default kernel
--- .../0001-TS72xx-update-memory-map-comments.patch | 45 + .../linux/linux-2.6.27/ts72xx/0002-GPIO-fix.patch | 47 + .../linux-2.6.27/ts72xx/0003-Debounce-IRQ.patch | 97 ++ .../linux/linux-2.6.27/ts72xx/0004-OHCI-fix.patch | 39 + ...-Fix-wrong-machine-ID-passed-from-RedBoot.patch | 28 + .../ts72xx/0006-Force-the-nF-bit-on.patch | 33 + .../ts72xx/0007-Use-CPLD-watchdog-to-reset.patch | 54 + .../linux-2.6.27/ts72xx/0008-Fix-UART-clocks.patch | 99 ++ .../ts72xx/0009-CPU-info-and-board-revision.patch | 64 + .../linux/linux-2.6.27/ts72xx/0010-GPIO-leds.patch | 72 ++ .../ts72xx/0011-EP93xx-Ethernet-support.patch | 548 ++++++++ .../linux-2.6.27/ts72xx/0012-TS72xx-watchdog.patch | 451 +++++++ .../ts72xx/0013-TS7200-NOR-physmap-fix.patch | 58 + .../ts72xx/0014-TS-7200-8MB-NOR-flash.patch | 163 +++ .../ts72xx/0015-TS-72xx-MAX197-support.patch | 365 ++++++ .../ts72xx/0016-RS485-common-bits.patch | 46 + .../ts72xx/0017-TS-72xx-SBC-proc-info.patch | 249 ++++ .../linux-2.6.27/ts72xx/0018-EP93xx-GPIO-I2C.patch | 71 ++ .../ts72xx/0019-EP93xx-SPI-driver.patch | 989 +++++++++++++++ .../ts72xx/0020-TS-72XX-LCD-console-driver.patch | 509 ++++++++ .../ts72xx/0021-EP93xx-GPIO-matrix-keypad.patch | 564 +++++++++ .../0022-TS-72xx-RS485-auto-mode-support.patch | 218 ++++ .../0023-Clean-and-invalidate-D-cache-entry.patch | 29 + .../0024-PC-104-I-O-and-memory-mappings.patch | 40 + .../ts72xx/0025-EP93xx-discontigmem.patch | 481 +++++++ .../ts72xx/0026-TS72xx-PATA-support.patch | 442 +++++++ .../ts72xx/0027-TS72xx-TS-SER1-support.patch | 213 ++++ .../ts72xx/0028-TS72xx-TS-ETH100.patch | 259 ++++ .../0029-EP93xx-Power-Management-Routines.patch | 125 ++ .../ts72xx/0030-EP93xx-CPUfreq-driver.patch | 332 +++++ recipes/linux/linux-2.6.27/ts72xx/defconfig | 1312 ++++++++++++++++++++ recipes/linux/linux_2.6.27.bb | 36 +- 32 files changed, 8077 insertions(+), 1 deletions(-) create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0001-TS72xx-update-memory-map-comments.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0002-GPIO-fix.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0003-Debounce-IRQ.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0004-OHCI-fix.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0005-Fix-wrong-machine-ID-passed-from-RedBoot.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0006-Force-the-nF-bit-on.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0007-Use-CPLD-watchdog-to-reset.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0008-Fix-UART-clocks.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0009-CPU-info-and-board-revision.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0010-GPIO-leds.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0011-EP93xx-Ethernet-support.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0012-TS72xx-watchdog.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0013-TS7200-NOR-physmap-fix.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0014-TS-7200-8MB-NOR-flash.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0015-TS-72xx-MAX197-support.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0016-RS485-common-bits.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0017-TS-72xx-SBC-proc-info.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0018-EP93xx-GPIO-I2C.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0019-EP93xx-SPI-driver.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0020-TS-72XX-LCD-console-driver.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0021-EP93xx-GPIO-matrix-keypad.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0022-TS-72xx-RS485-auto-mode-support.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0023-Clean-and-invalidate-D-cache-entry.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0024-PC-104-I-O-and-memory-mappings.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0025-EP93xx-discontigmem.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0026-TS72xx-PATA-support.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0027-TS72xx-TS-SER1-support.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0028-TS72xx-TS-ETH100.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0029-EP93xx-Power-Management-Routines.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/0030-EP93xx-CPUfreq-driver.patch create mode 100644 recipes/linux/linux-2.6.27/ts72xx/defconfig
recipes/linux/linux-2.6.27/ts72xx/0001-TS72xx-update-memory-map-comments.patch new file +45 -0
@@ -0,0 +1,45 @@ +From dd631acb622a6c7c6355945c446bd07085ade99f Mon Sep 17 00:00:00 2001 +From: Matthieu Crapet <[email protected]> +Date: Sun, 4 Jan 2009 14:02:33 +0100 +Subject: [PATCH] TS72xx update memory map comments +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Štetiar <[email protected]> +--- + arch/arm/mach-ep93xx/include/mach/ts72xx.h | 13 ++++++++++++- + 1 files changed, 12 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/mach-ep93xx/include/mach/ts72xx.h b/arch/arm/mach-ep93xx/include/mach/ts72xx.h +index 30b318a..99c4e48 100644 +--- a/arch/arm/mach-ep93xx/include/mach/ts72xx.h ++++ b/arch/arm/mach-ep93xx/include/mach/ts72xx.h +@@ -8,12 +8,23 @@ + * virt phys size + * febff000 22000000 4K model number register + * febfe000 22400000 4K options register +- * febfd000 22800000 4K options register #2 ++ * febfd000 22800000 4K options register #2 (JP6 and TS-9420 flags) + * febfc000 [67]0000000 4K NAND data register + * febfb000 [67]0400000 4K NAND control register + * febfa000 [67]0800000 4K NAND busy register + * febf9000 10800000 4K TS-5620 RTC index register + * febf8000 11700000 4K TS-5620 RTC data register ++ * febf7000 23800000 4K CPLD watchdog (control register) ++ * febf6000 23c00000 4K CPLD watchdog (feed register) ++ * febf5000 23400000 4K PLD version (3 bits) ++ * febf4000 22c00000 4K RS-485 control register ++ * febf3000 23000000 4K RS-485 mode register ++ * febf2000 10800000 4K jumpers/max197 busy bit/COM1 dcd register (8-bit, read only) ++ * febf1000 10f00000 4K max197 sample/control register (16-bit read/8-bit write) ++ * febf0000 11e00000 4K PC/104 8-bit I/O ++ * febef000 21e00000 4K PC/104 16-bit I/O ++ * fea00000 11a00000 1MB PC/104 8-bit memory ++ * fe900000 21a00000 1MB PC/104 16-bit memory + */ + + #define TS72XX_MODEL_PHYS_BASE 0x22000000 +-- +1.6.0.4 +
recipes/linux/linux-2.6.27/ts72xx/0002-GPIO-fix.patch new file +47 -0
47 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0003-Debounce-IRQ.patch new file +97 -0
97 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0004-OHCI-fix.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 06e0fdf41288a6d54b821671593195ea27deba8b Mon Sep 17 00:00:00 2001 +From: Matthieu Crapet <[email protected]> +Date: Sun, 4 Jan 2009 00:54:35 +0100 +Subject: [PATCH] OHCI fix +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Štetiar <[email protected]> +--- + arch/arm/mach-ep93xx/core.c | 5 +++-- + 1 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c +index 1928c93..24b24c7 100644 +--- a/arch/arm/mach-ep93xx/core.c ++++ b/arch/arm/mach-ep93xx/core.c +@@ -32,6 +32,7 @@ + #include <linux/termios.h> + #include <linux/amba/bus.h> + #include <linux/amba/serial.h> ++#include <linux/dma-mapping.h> + + #include <asm/types.h> + #include <asm/setup.h> +@@ -472,8 +473,8 @@ static struct platform_device ep93xx_ohci_device = { + .name = "ep93xx-ohci", + .id = -1, + .dev = { +- .dma_mask = (void *)0xffffffff, +- .coherent_dma_mask = 0xffffffff, ++ .dma_mask = &ep93xx_ohci_device.dev.coherent_dma_mask, ++ .coherent_dma_mask = DMA_BIT_MASK(32), + }, + .num_resources = ARRAY_SIZE(ep93xx_ohci_resources), + .resource = ep93xx_ohci_resources, +-- +1.6.0.4 +
recipes/linux/linux-2.6.27/ts72xx/0005-Fix-wrong-machine-ID-passed-from-RedBoot.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 22ce7d90cb3c58be44ebb0fcb3f1f5ca8af83d59 Mon Sep 17 00:00:00 2001 +From: =?utf-8?q?Petr=20=C5=A0tetiar?= <[email protected]> +Date: Sat, 3 Jan 2009 21:33:53 +0100 +Subject: [PATCH] Fix wrong machine ID passed from RedBoot +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Štetiar <[email protected]> +--- + arch/arm/kernel/head.S | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S +index bff4c6e..bda4eb4 100644 +--- a/arch/arm/kernel/head.S ++++ b/arch/arm/kernel/head.S +@@ -83,6 +83,7 @@ ENTRY(stext) + bl __lookup_processor_type @ r5=procinfo r9=cpuid + movs r10, r5 @ invalid processor (r5=0)? + beq __error_p @ yes, error 'p' ++ ldr r1, =0x000002a1 @ mach-type = TS-7250 + bl __lookup_machine_type @ r5=machinfo + movs r8, r5 @ invalid machine (r5=0)? + beq __error_a @ yes, error 'a' +-- +1.6.0.4 +
recipes/linux/linux-2.6.27/ts72xx/0006-Force-the-nF-bit-on.patch new file +33 -0
@@ -0,0 +1,33 @@ +From 9852d9654b25b396cf5f31de376a2c211805db8b Mon Sep 17 00:00:00 2001 +From: =?utf-8?q?Petr=20=C5=A0tetiar?= <[email protected]> +Date: Sat, 3 Jan 2009 21:35:03 +0100 +Subject: [PATCH] Force the nF bit on +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +Usually this is set by the bootrom. If it is not set, then the CPU core will +run from HCLK instead of FCLK, and performance will suffer. If you see +BogoMIPS of about 1/4 of your CPU clock, try turning this on; your performance +should double. + +Signed-off-by: Petr Štetiar <[email protected]> +--- + arch/arm/mm/proc-arm920.S | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/mm/proc-arm920.S b/arch/arm/mm/proc-arm920.S +index 28cdb06..12f59db 100644 +--- a/arch/arm/mm/proc-arm920.S ++++ b/arch/arm/mm/proc-arm920.S +@@ -395,6 +395,7 @@ __arm920_setup: + mrc p15, 0, r0, c1, c0 @ get control register v4 + bic r0, r0, r5 + orr r0, r0, r6 ++ orr r0, r0, #0x40000000 + mov pc, lr + .size __arm920_setup, . - __arm920_setup + +-- +1.6.0.4 +
recipes/linux/linux-2.6.27/ts72xx/0007-Use-CPLD-watchdog-to-reset.patch new file +54 -0
54 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0008-Fix-UART-clocks.patch new file +99 -0
99 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0009-CPU-info-and-board-revision.patch new file +64 -0
64 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0010-GPIO-leds.patch new file +72 -0
72 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0011-EP93xx-Ethernet-support.patch new file +548 -0
548 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0012-TS72xx-watchdog.patch new file +451 -0
451 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0013-TS7200-NOR-physmap-fix.patch new file +58 -0
58 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0014-TS-7200-8MB-NOR-flash.patch new file +163 -0
163 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0015-TS-72xx-MAX197-support.patch new file +365 -0
365 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0016-RS485-common-bits.patch new file +46 -0
46 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0017-TS-72xx-SBC-proc-info.patch new file +249 -0
249 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0018-EP93xx-GPIO-I2C.patch new file +71 -0
71 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0019-EP93xx-SPI-driver.patch new file +989 -0
471 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0020-TS-72XX-LCD-console-driver.patch new file +509 -0
509 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0021-EP93xx-GPIO-matrix-keypad.patch new file +564 -0
564 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0022-TS-72xx-RS485-auto-mode-support.patch new file +218 -0
218 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0023-Clean-and-invalidate-D-cache-entry.patch new file +29 -0
Lines of this file are not shown. View the raw message.
recipes/linux/linux-2.6.27/ts72xx/0024-PC-104-I-O-and-memory-mappings.patch new file +40 -0
Lines of this file are not shown. View the raw message.
recipes/linux/linux-2.6.27/ts72xx/0025-EP93xx-discontigmem.patch new file +481 -0
481 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0026-TS72xx-PATA-support.patch new file +442 -0
442 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0027-TS72xx-TS-SER1-support.patch new file +213 -0
213 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0028-TS72xx-TS-ETH100.patch new file +259 -0
259 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0029-EP93xx-Power-Management-Routines.patch new file +125 -0
125 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/0030-EP93xx-CPUfreq-driver.patch new file +332 -0
332 lines not on this page · raw message
recipes/linux/linux-2.6.27/ts72xx/defconfig new file +1312 -0
1,312 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.6.0.4
Part of the diff is not shown here. View the raw message.
PATCH 1/1 linux 2.6.32: update to latest stable 2.6.32.7 patchset
This patch updates to 2.6.32.7 and adds clocksource-fix-compilation-if-no-generic_time.patch patch, otherwise it won't compile on platforms which don't implement GENERIC_TIME. Compilation ends with following error:
kernel/time/clocksource.c: In function 'clocksource_register':kernel/time/clocksource.c:556: error: implicit declaration of function 'clocksource_max_deferment'
--- conf/checksums.ini | 4 ++ ...source-fix-compilation-if-no-generic_time.patch | 48 ++++++++++++++++++++ recipes/linux/linux_2.6.32.bb | 5 +- 3 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 recipes/linux/linux-2.6.32/clocksource-fix-compilation-if-no-generic_time.patch
conf/checksums.ini +4 -0
@@ -21794,6 +21794,10 @@ sha256=d207f4217c4b3fef9c5a19620b6ca90dbd9b9583ed9c686b5636eec973a7cc60 md5=49e6bc73c7a7f690fe7ddf09fe2b5d06 sha256=b4d0d667db5094fd430ed58955f4f9ed71d278d5ce70e63d287c53f8db028ac3 +[http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.32.7.bz2] +md5=a68305d3e77dddc9555ba58f678a1ce2 +sha256=b3382d02ec25e3ae86fac7852ba540e59af770a76604d317b39df57505b376bf + [http://www.muru.com/linux/omap/patches/patch-2.6.9-omap1.bz2] md5=d6249654087f0bcafaa860ac573316a4 sha256=91806347cb386002a8bfd20ee66e536e4a7dfb01f207dd751341f2971090d9ac
recipes/linux/linux-2.6.32/clocksource-fix-compilation-if-no-generic_time.patch new file +48 -0
48 lines not on this page · raw message
recipes/linux/linux_2.6.32.bb +3 -2
@@ -1,6 +1,6 @@ require linux.inc -PR = "r5" +PR = "r6" S = "${WORKDIR}/linux-${PV}"
@@ -22,7 +22,8 @@ DEFAULT_PREFERENCE_jornada6xx = "-1" DEFAULT_PREFERENCE_jornada7xx = "-1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \ - ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.5.bz2;patch=1 \ + ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.7.bz2;patch=1 \ + file://clocksource-fix-compilation-if-no-generic_time.patch;patch=1 \ file://defconfig" SRC_URI[kernel.md5sum] = "260551284ac224c3a43c4adac7df4879"
Signature · 1 line
1.6.0.4
PATCH 1/1 linux 2.6.32: add support for ts72xx boards
--- .../linux-2.6.32/ts72xx/0001-ts72xx_base.patch | 446 ++++++ .../ts72xx/0002-ts72xx_force_machine-id.patch | 50 + .../linux-2.6.32/ts72xx/0003-ep93xx_cpuinfo.patch | 37 + .../linux-2.6.32/ts72xx/0004-ts72xx_sbcinfo.patch | 226 +++ .../linux-2.6.32/ts72xx/0005-ep93xx_eth.patch | 540 +++++++ .../linux-2.6.32/ts72xx/0006-ts72xx_ts_ser1.patch | 216 +++ .../linux-2.6.32/ts72xx/0007-ts72xx_rs485.patch | 236 +++ .../ts72xx/0008-ts72xx_ts_eth100.patch | 261 +++ .../linux-2.6.32/ts72xx/0009-ts7200_cf_ide.patch | 120 ++ .../linux-2.6.32/ts72xx/0010-ts72xx_pata.patch | 414 +++++ .../linux/linux-2.6.32/ts72xx/0011-ep93xx_pm.patch | 114 ++ .../linux-2.6.32/ts72xx/0012-ts72xx_gpio_i2c.patch | 63 + .../ts72xx/0013-ts72xx_dio_keypad.patch | 567 +++++++ .../linux-2.6.32/ts72xx/0014-ep93xx_spi.patch | 985 ++++++++++++ .../linux-2.6.32/ts72xx/0015-ep93xx_cpufreq.patch | 360 +++++ .../ts72xx/0016-ts7200_nor_flash.patch | 163 ++ recipes/linux/linux-2.6.32/ts72xx/defconfig | 1686 ++++++++++++++++++++ recipes/linux/linux_2.6.32.bb | 22 +- 18 files changed, 6505 insertions(+), 1 deletions(-) create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0001-ts72xx_base.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0002-ts72xx_force_machine-id.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0003-ep93xx_cpuinfo.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0004-ts72xx_sbcinfo.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0005-ep93xx_eth.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0006-ts72xx_ts_ser1.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0007-ts72xx_rs485.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0008-ts72xx_ts_eth100.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0009-ts7200_cf_ide.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0010-ts72xx_pata.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0011-ep93xx_pm.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0012-ts72xx_gpio_i2c.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0013-ts72xx_dio_keypad.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0014-ep93xx_spi.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0015-ep93xx_cpufreq.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/0016-ts7200_nor_flash.patch create mode 100644 recipes/linux/linux-2.6.32/ts72xx/defconfig
recipes/linux/linux-2.6.32/ts72xx/0001-ts72xx_base.patch new file +446 -0
@@ -0,0 +1,446 @@ +From 69224adc54640f5fe47c5303ecbf99cb58ac8b43 Mon Sep 17 00:00:00 2001 +From: Matthieu Crapet <[email protected]> +Date: Sun, 17 Jan 2010 16:48:52 +0100 +Subject: [PATCH] ts72xx_base +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + +- patch: allow to force nF bit in control reg +- small fix: drivers/input/keyboard/ep93xx_keypad.c +- register pwm1 + +Signed-off-by: Petr Štetiar <[email protected]> +--- + arch/arm/Kconfig | 1 + + arch/arm/include/asm/memory.h | 2 + + arch/arm/mach-ep93xx/Kconfig | 9 ++ + arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 11 ++ + arch/arm/mach-ep93xx/include/mach/memory.h | 28 +++++ + arch/arm/mach-ep93xx/include/mach/ts72xx.h | 125 +++++++++++++++++++++-- + arch/arm/mach-ep93xx/ts72xx.c | 40 +++++++- + arch/arm/mm/proc-arm920.S | 5 +- + drivers/input/keyboard/ep93xx_keypad.c | 1 + + 9 files changed, 210 insertions(+), 12 deletions(-) + +diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig +index 1c4119c..0f1d52f 100644 +--- a/arch/arm/Kconfig ++++ b/arch/arm/Kconfig +@@ -288,6 +288,7 @@ config ARCH_EP93XX + select CPU_ARM920T + select ARM_AMBA + select ARM_VIC ++ select ARCH_SPARSEMEM_ENABLE + select GENERIC_GPIO + select HAVE_CLK + select COMMON_CLKDEV +diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h +index cefedf0..bc2ff8b 100644 +--- a/arch/arm/include/asm/memory.h ++++ b/arch/arm/include/asm/memory.h +@@ -125,8 +125,10 @@ + * private definitions which should NOT be used outside memory.h + * files. Use virt_to_phys/phys_to_virt/__pa/__va instead. + */ ++#ifndef __virt_to_phys + #define __virt_to_phys(x) ((x) - PAGE_OFFSET + PHYS_OFFSET) + #define __phys_to_virt(x) ((x) - PHYS_OFFSET + PAGE_OFFSET) ++#endif + + /* + * Convert a physical address to a Page Frame Number and back +diff --git a/arch/arm/mach-ep93xx/Kconfig b/arch/arm/mach-ep93xx/Kconfig +index 9167c3d..335b0bb 100644 +--- a/arch/arm/mach-ep93xx/Kconfig ++++ b/arch/arm/mach-ep93xx/Kconfig +@@ -7,6 +7,15 @@ config CRUNCH + help + Enable kernel support for MaverickCrunch. + ++config CR1_NFBIT ++ bool "Turn on nF bit in ControlRegister 1" ++ help ++ Say 'Y' here to force the nF bit on. Usually this is set ++ by the bootrom. If it is not set, then the CPU core will ++ run from HCLK instead of FCLK, and performance will suffer. ++ If you see BogoMIPS of about 1/4 of your CPU clock, try ++ turning this on; your performance should double. ++ + comment "EP93xx Platforms" + + choice +diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +index b1f937e..358d8ff 100644 +--- a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h ++++ b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +@@ -111,16 +111,26 @@ + #define EP93XX_I2S_BASE EP93XX_APB_IOMEM(0x00020000) + + #define EP93XX_SECURITY_BASE EP93XX_APB_IOMEM(0x00030000) ++#define EP93XX_SECURITY_REG(x) (EP93XX_SECURITY_BASE + (x)) ++#define EP93XX_SECURITY_UNIQID EP93XX_SECURITY_REG(0x2440) + + #define EP93XX_GPIO_BASE EP93XX_APB_IOMEM(0x00040000) + #define EP93XX_GPIO_REG(x) (EP93XX_GPIO_BASE + (x)) + #define EP93XX_GPIO_F_INT_STATUS EP93XX_GPIO_REG(0x5c) ++#define EP93XX_GPIO_F_INT_DEBOUNCE EP93XX_GPIO_REG(0x64) + #define EP93XX_GPIO_A_INT_STATUS EP93XX_GPIO_REG(0xa0) ++#define EP93XX_GPIO_A_INT_DEBOUNCE EP93XX_GPIO_REG(0xa8) + #define EP93XX_GPIO_B_INT_STATUS EP93XX_GPIO_REG(0xbc) ++#define EP93XX_GPIO_B_INT_DEBOUNCE EP93XX_GPIO_REG(0xc4) + #define EP93XX_GPIO_EEDRIVE EP93XX_GPIO_REG(0xc8) + ++#define EP93XX_GPIO_A_DATA EP93XX_GPIO_REG(0x00) ++#define EP93XX_GPIO_A_DIRECTION EP93XX_GPIO_REG(0x10) ++#define EP93XX_GPIO_B_DATA EP93XX_GPIO_REG(0x04) ++ + #define EP93XX_AAC_BASE EP93XX_APB_IOMEM(0x00080000) + ++#define EP93XX_SPI_PHYS_BASE (EP93XX_APB_PHYS_BASE + 0x000a0000) + #define EP93XX_SPI_BASE EP93XX_APB_IOMEM(0x000a0000) + + #define EP93XX_IRDA_BASE EP93XX_APB_IOMEM(0x000b0000) +@@ -220,6 +230,7 @@ + #define EP93XX_SYSCON_SYSCFG_LEECLK (1<<3) + #define EP93XX_SYSCON_SYSCFG_LCSN2 (1<<1) + #define EP93XX_SYSCON_SYSCFG_LCSN1 (1<<0) ++#define EP93XX_SYSCON_CHIPID EP93XX_SYSCON_REG(0x94) + #define EP93XX_SYSCON_SWLOCK EP93XX_SYSCON_REG(0xc0) + + #define EP93XX_WATCHDOG_BASE EP93XX_APB_IOMEM(0x00140000) +diff --git a/arch/arm/mach-ep93xx/include/mach/memory.h b/arch/arm/mach-ep93xx/include/mach/memory.h +index 554064e..78eaacf 100644 +--- a/arch/arm/mach-ep93xx/include/mach/memory.h ++++ b/arch/arm/mach-ep93xx/include/mach/memory.h +@@ -19,4 +19,32 @@ + #error "Kconfig bug: No EP93xx PHYS_OFFSET set" + #endif + ++/* ++ * Non-linear mapping like so: ++ * phys => virt ++ * 0x00000000 => 0xc0000000 ++ * 0x01000000 => 0xc1000000 ++ * 0x04000000 => 0xc4000000 ++ * 0x05000000 => 0xc5000000 ++ * 0xe0000000 => 0xc8000000 ++ * 0xe1000000 => 0xc9000000 ++ * 0xe4000000 => 0xcc000000 ++ * 0xe5000000 => 0xcd000000 ++ * ++ * As suggested here: http://marc.info/?l=linux-arm&m=122754446724900&w=2 ++ * ++ * Note that static inline functions won't work here because ++ * arch/arm/include/asm/memory.h uses "#ifndef __virt_to_phys" to check whether to ++ * use generic functions or not. ++ */ ++ ++#define __phys_to_virt(p) \ ++ (((p) & 0x07ffffff) | (((p) & 0xe0000000) ? 0x08000000 : 0) | PAGE_OFFSET) ++ ++#define __virt_to_phys(v) \ ++ (((v) & 0x07ffffff) | (((v) & 0x08000000) ? 0xe0000000 : 0 )) ++ ++#define SECTION_SIZE_BITS 24 ++#define MAX_PHYSMEM_BITS 32 ++ + #endif +diff --git a/arch/arm/mach-ep93xx/include/mach/ts72xx.h b/arch/arm/mach-ep93xx/include/mach/ts72xx.h +index 3bd934e..006c5a2 100644 +--- a/arch/arm/mach-ep93xx/include/mach/ts72xx.h ++++ b/arch/arm/mach-ep93xx/include/mach/ts72xx.h +@@ -8,21 +8,35 @@ + * virt phys size + * febff000 22000000 4K model number register + * febfe000 22400000 4K options register +- * febfd000 22800000 4K options register #2 ++ * febfd000 22800000 4K options register #2 (JP6 and TS-9420 flags) + * febfc000 [67]0000000 4K NAND data register + * febfb000 [67]0400000 4K NAND control register + * febfa000 [67]0800000 4K NAND busy register + * febf9000 10800000 4K TS-5620 RTC index register + * febf8000 11700000 4K TS-5620 RTC data register ++ * febf7000 23800000 4K CPLD watchdog (control register) ++ * febf6000 23c00000 4K CPLD watchdog (feed register) ++ * febf5000 23400000 4K PLD version (3 bits) ++ * febf4000 22c00000 4K RS-485 control register ++ * febf3000 23000000 4K RS-485 mode register ++ * febf2000 10800000 4K jumpers/max197 busy bit/COM1 dcd register (8-bit, read only) ++ * febf1000 10f00000 4K max197 sample/control register (16-bit read/8-bit write) ++ * febf0000 11e00000 4K PC/104 8-bit I/O ++ * febef000 21e00000 4K PC/104 16-bit I/O ++ * fea00000 11a00000 1MB PC/104 8-bit memory ++ * fe900000 21a00000 1MB PC/104 16-bit memory + */ + + #define TS72XX_MODEL_PHYS_BASE 0x22000000 + #define TS72XX_MODEL_VIRT_BASE 0xfebff000 + #define TS72XX_MODEL_SIZE 0x00001000 + +-#define TS72XX_MODEL_TS7200 0x00 +-#define TS72XX_MODEL_TS7250 0x01 +-#define TS72XX_MODEL_TS7260 0x02 ++#define TS7XXX_MODEL_TS7200 0x00 ++#define TS7XXX_MODEL_TS7250 0x01 ++#define TS7XXX_MODEL_TS7260 0x02 ++#define TS7XXX_MODEL_TS7300 0x03 ++#define TS7XXX_MODEL_TS7400 0x04 ++#define TS7XXX_MODEL_MASK 0x07 + + + #define TS72XX_OPTIONS_PHYS_BASE 0x22400000 +@@ -50,12 +64,13 @@ + #define TS72XX_NAND2_CONTROL_PHYS_BASE 0x70400000 + #define TS72XX_NAND_CONTROL_VIRT_BASE 0xfebfb000 + #define TS72XX_NAND_CONTROL_SIZE 0x00001000 ++#define TS72XX_NAND_CONTROL_OFFSET 0x00400000 + + #define TS72XX_NAND1_BUSY_PHYS_BASE 0x60800000 + #define TS72XX_NAND2_BUSY_PHYS_BASE 0x70800000 + #define TS72XX_NAND_BUSY_VIRT_BASE 0xfebfa000 + #define TS72XX_NAND_BUSY_SIZE 0x00001000 +- ++#define TS72XX_NAND_BUSY_OFFSET 0x00800000 + + #define TS72XX_RTC_INDEX_VIRT_BASE 0xfebf9000 + #define TS72XX_RTC_INDEX_PHYS_BASE 0x10800000 +@@ -65,33 +80,123 @@ + #define TS72XX_RTC_DATA_PHYS_BASE 0x11700000 + #define TS72XX_RTC_DATA_SIZE 0x00001000 + ++#define TS72XX_WATCHDOG_CONTROL_VIRT_BASE 0xfebf7000 ++#define TS72XX_WATCHDOG_CONTROL_PHYS_BASE 0x23800000 ++#define TS72XX_WATCHDOG_CONTROL_SIZE 0x00001000 ++ ++#define TS72XX_WATCHDOG_FEED_VIRT_BASE 0xfebf6000 ++#define TS72XX_WATCHDOG_FEED_PHYS_BASE 0x23c00000 ++#define TS72XX_WATCHDOG_FEED_SIZE 0x00001000 ++ ++#define TS72XX_PLD_VERSION_VIRT_BASE 0xfebf5000 ++#define TS72XX_PLD_VERSION_PHYS_BASE 0x23400000 ++#define TS72XX_PLD_VERSION_SIZE 0x00001000 ++ ++#define TS72XX_RS485_CONTROL_VIRT_BASE 0xfebf4000 ++#define TS72XX_RS485_CONTROL_PHYS_BASE 0x22c00000 ++#define TS72XX_RS485_CONTROL_SIZE 0x00001000 ++ ++#define TS72XX_RS485_MODE_VIRT_BASE 0xfebf3000 ++#define TS72XX_RS485_MODE_PHYS_BASE 0x23000000 ++#define TS72XX_RS485_MODE_SIZE 0x00001000 ++ ++#define TS72XX_JUMPERS_MAX197_VIRT_BASE 0xfebf2000 ++#define TS72XX_JUMPERS_MAX197_PHYS_BASE 0x10800000 ++#define TS72XX_JUMPERS_MAX197_SIZE 0x00001000 ++ ++#define TS72XX_MAX197_SAMPLE_VIRT_BASE 0xfebf1000 ++#define TS72XX_MAX197_SAMPLE_PHYS_BASE 0x10f00000 ++#define TS72XX_MAX197_SAMPLE_SIZE 0x00001000 ++ ++#define TS72XX_RS485_AUTO485FD 1 ++#define TS72XX_RS485_AUTO485HD 2 ++#define TS72XX_RS485_MODE_RS232 0x00 ++#define TS72XX_RS485_MODE_FD 0x01 ++#define TS72XX_RS485_MODE_9600_HD 0x04 ++#define TS72XX_RS485_MODE_19200_HD 0x05 ++#define TS72XX_RS485_MODE_57600_HD 0x06 ++#define TS72XX_RS485_MODE_115200_HD 0x07 ++ ++ ++#define TS72XX_PC104_8BIT_IO_VIRT_BASE 0xfebf0000 ++#define TS72XX_PC104_8BIT_IO_PHYS_BASE 0x11e00000 ++#define TS72XX_PC104_8BIT_IO_SIZE 0x00001000 ++#define TS72XX_PC104_8BIT_MEM_VIRT_BASE 0xfea00000 ++#define TS72XX_PC104_8BIT_MEM_PHYS_BASE 0x11a00000 ++#define TS72XX_PC104_8BIT_MEM_SIZE 0x00100000 ++ ++#define TS72XX_PC104_16BIT_IO_VIRT_BASE 0xfebef000 ++#define TS72XX_PC104_16BIT_IO_PHYS_BASE 0x21e00000 ++#define TS72XX_PC104_16BIT_IO_SIZE 0x00001000 ++#define TS72XX_PC104_16BIT_MEM_VIRT_BASE 0xfe900000 ++#define TS72XX_PC104_16BIT_MEM_PHYS_BASE 0x21a00000 ++#define TS72XX_PC104_16BIT_MEM_SIZE 0x00100000 ++ ++/* ++ * TS7200 CF memory map: ++ * ++ * phys size description ++ * 11000000 7 CF registers (8-bit each), starting at 11000001 ++ * 10400006 2 CF aux registers (8-bit) ++ * 21000000 2 CF data register (16-bit) ++ */ ++ ++#define TS7200_CF_CMD_PHYS_BASE 0x11000000 ++#define TS7200_CF_AUX_PHYS_BASE 0x10400006 ++#define TS7200_CF_DATA_PHYS_BASE 0x21000000 + + #ifndef __ASSEMBLY__ + + static inline int board_is_ts7200(void) + { +- return __raw_readb(TS72XX_MODEL_VIRT_BASE) == TS72XX_MODEL_TS7200; ++ return (__raw_readb(TS72XX_MODEL_VIRT_BASE) & ++ TS7XXX_MODEL_MASK) == TS7XXX_MODEL_TS7200; + } + + static inline int board_is_ts7250(void) + { +- return __raw_readb(TS72XX_MODEL_VIRT_BASE) == TS72XX_MODEL_TS7250; ++ return (__raw_readb(TS72XX_MODEL_VIRT_BASE) & ++ TS7XXX_MODEL_MASK) == TS7XXX_MODEL_TS7250; + } + + static inline int board_is_ts7260(void) + { +- return __raw_readb(TS72XX_MODEL_VIRT_BASE) == TS72XX_MODEL_TS7260; ++ return (__raw_readb(TS72XX_MODEL_VIRT_BASE) & ++ TS7XXX_MODEL_MASK) == TS7XXX_MODEL_TS7260; ++} ++ ++static inline int board_is_ts7400(void) ++{ ++ return (__raw_readb(TS72XX_MODEL_VIRT_BASE) & ++ TS7XXX_MODEL_MASK) == TS7XXX_MODEL_TS7400; + } + + static inline int is_max197_installed(void) + { + return !!(__raw_readb(TS72XX_OPTIONS_VIRT_BASE) & +- TS72XX_OPTIONS_MAX197); ++ TS72XX_OPTIONS_MAX197); + } + + static inline int is_ts9420_installed(void) + { + return !!(__raw_readb(TS72XX_OPTIONS2_VIRT_BASE) & +- TS72XX_OPTIONS2_TS9420); ++ TS72XX_OPTIONS2_TS9420); ++} ++ ++static inline int is_rs485_installed(void) ++{ ++ return !!(__raw_readb(TS72XX_OPTIONS_VIRT_BASE) & ++ TS72XX_OPTIONS_COM2_RS485); ++} ++ ++static inline int get_ts72xx_pld_version(void) ++{ ++ return (__raw_readb(TS72XX_PLD_VERSION_VIRT_BASE) & 0x7); ++} ++ ++/* User jumper */ ++static inline int is_jp6_set(void) ++{ ++ return (__raw_readb(TS72XX_OPTIONS2_VIRT_BASE) & 0x1); + } + #endif +diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c +index 259f782..4a97ff7 100644 +--- a/arch/arm/mach-ep93xx/ts72xx.c ++++ b/arch/arm/mach-ep93xx/ts72xx.c +@@ -51,7 +51,36 @@ static struct map_desc ts72xx_io_desc[] __initdata = { + .pfn = __phys_to_pfn(TS72XX_RTC_DATA_PHYS_BASE), + .length = TS72XX_RTC_DATA_SIZE, + .type = MT_DEVICE, +- } ++ }, ++ /* Use this for debug only. Each device will map its own PC/104 address space */ ++ ///* PC/104 (8-bit) I/O bus */ ++ //{ ++ // .virtual = TS72XX_PC104_8BIT_IO_VIRT_BASE, ++ // .pfn = __phys_to_pfn(TS72XX_PC104_8BIT_IO_PHYS_BASE), ++ // .length = TS72XX_PC104_8BIT_IO_SIZE, ++ // .type = MT_DEVICE, ++ //}, ++ ///* PC/104 (16-bit) I/O bus */ ++ //{ ++ // .virtual = TS72XX_PC104_16BIT_IO_VIRT_BASE, ++ // .pfn = __phys_to_pfn(TS72XX_PC104_16BIT_IO_PHYS_BASE), ++ // .length = TS72XX_PC104_16BIT_IO_SIZE, ++ // .type = MT_DEVICE, ++ //}, ++ ///* PC/104 (8-bit) MEM bus */ ++ //{ ++ // .virtual = TS72XX_PC104_8BIT_MEM_VIRT_BASE, ++ // .pfn = __phys_to_pfn(TS72XX_PC104_8BIT_MEM_PHYS_BASE), ++ // .length = TS72XX_PC104_8BIT_MEM_SIZE, ++ // .type = MT_DEVICE, ++ //}, ++ ///* PC/104 (16-bit) MEM bus */ ++ //{ ++ // .virtual = TS72XX_PC104_16BIT_MEM_VIRT_BASE, ++ // .pfn = __phys_to_pfn(TS72XX_PC104_16BIT_MEM_PHYS_BASE), ++ // .length = TS72XX_PC104_16BIT_MEM_SIZE, ++ // .type = MT_DEVICE, ++ //} + }; + + static struct map_desc ts72xx_nand_io_desc[] __initdata = { +@@ -140,6 +169,9 @@ static void __init ts72xx_register_flash(void) + platform_device_register(&ts72xx_flash); + } + ++/************************************************************************* ++ * RTC ++ *************************************************************************/ + static unsigned char ts72xx_rtc_readbyte(unsigned long addr) + { + __raw_writeb(addr, TS72XX_RTC_INDEX_VIRT_BASE); +@@ -166,6 +198,9 @@ static struct platform_device ts72xx_rtc_device = { + .num_resources = 0, + }; + ++/************************************************************************* ++ * Ethernet ++ *************************************************************************/ + static struct ep93xx_eth_data ts72xx_eth_data = { + .phy_id = 1, + }; +@@ -177,6 +212,9 @@ static void __init ts72xx_init_machine(void) + platform_device_register(&ts72xx_rtc_device); + + ep93xx_register_eth(&ts72xx_eth_data, 1); ++ ++ /* PWM1 is DIO_6 on TS-72xx header */ ++ ep93xx_register_pwm(0, 1); + } + + MACHINE_START(TS72XX, "Technologic Systems TS-72xx SBC") +diff --git a/arch/arm/mm/proc-arm920.S b/arch/arm/mm/proc-arm920.S +index 2b7c197..f85476b 100644 +--- a/arch/arm/mm/proc-arm920.S ++++ b/arch/arm/mm/proc-arm920.S +@@ -198,7 +198,7 @@ ENTRY(arm920_coherent_kern_range) + */ + ENTRY(arm920_coherent_user_range) + bic r0, r0, #CACHE_DLINESIZE - 1 +-1: mcr p15, 0, r0, c7, c10, 1 @ clean D entry ++1: mcr p15, 0, r0, c7, c14, 1 @ clean+invalidate D entry + mcr p15, 0, r0, c7, c5, 1 @ invalidate I entry + add r0, r0, #CACHE_DLINESIZE + cmp r0, r1 +@@ -373,6 +373,9 @@ __arm920_setup: + mrc p15, 0, r0, c1, c0 @ get control register v4 + bic r0, r0, r5 + orr r0, r0, r6 ++#ifdef CONFIG_CR1_NFBIT ++ orr r0, r0, #0x40000000 @ set nF ++#endif + mov pc, lr + .size __arm920_setup, . - __arm920_setup + +diff --git a/drivers/input/keyboard/ep93xx_keypad.c b/drivers/input/keyboard/ep93xx_keypad.c +index 181d30e..0012907 100644 +--- a/drivers/input/keyboard/ep93xx_keypad.c ++++ b/drivers/input/keyboard/ep93xx_keypad.c +@@ -23,6 +23,7 @@ + #include <linux/platform_device.h> + #include <linux/interrupt.h> + #include <linux/input.h> ++#include <linux/io.h> + #include <linux/clk.h> + + #include <mach/hardware.h> +-- +1.6.0.4 +
recipes/linux/linux-2.6.32/ts72xx/0002-ts72xx_force_machine-id.patch new file +50 -0
50 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0003-ep93xx_cpuinfo.patch new file +37 -0
@@ -0,0 +1,37 @@ +From 3ce6628293a97c7fcbec52d6889338d3dbdbd595 Mon Sep 17 00:00:00 2001 +From: Matthieu Crapet <[email protected]> +Date: Sun, 17 Jan 2010 17:07:14 +0100 +Subject: [PATCH] ep93xx_cpuinfo +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 8bit + + +Signed-off-by: Petr Štetiar <[email protected]> +--- + arch/arm/kernel/setup.c | 9 +++++++++ + 1 files changed, 9 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c +index c6c57b6..29d5f4f 100644 +--- a/arch/arm/kernel/setup.c ++++ b/arch/arm/kernel/setup.c +@@ -860,6 +860,15 @@ static int c_show(struct seq_file *m, void *v) + seq_puts(m, "\n"); + + seq_printf(m, "Hardware\t: %s\n", machine_name); ++ ++ #if defined(CONFIG_ARCH_EP93XX) ++ #include <mach/io.h> ++ #include <mach/ep93xx-regs.h> ++ system_rev = *((unsigned int *)EP93XX_SYSCON_CHIPID) >> 28; ++ system_serial_low = *((unsigned int *)EP93XX_SECURITY_UNIQID); ++ system_serial_high = 0; ++ #endif ++ + seq_printf(m, "Revision\t: %04x\n", system_rev); + seq_printf(m, "Serial\t\t: %08x%08x\n", + system_serial_high, system_serial_low); +-- +1.6.0.4 +
recipes/linux/linux-2.6.32/ts72xx/0004-ts72xx_sbcinfo.patch new file +226 -0
226 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0005-ep93xx_eth.patch new file +540 -0
540 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0006-ts72xx_ts_ser1.patch new file +216 -0
216 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0007-ts72xx_rs485.patch new file +236 -0
236 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0008-ts72xx_ts_eth100.patch new file +261 -0
261 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0009-ts7200_cf_ide.patch new file +120 -0
120 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0010-ts72xx_pata.patch new file +414 -0
414 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0011-ep93xx_pm.patch new file +114 -0
114 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0012-ts72xx_gpio_i2c.patch new file +63 -0
63 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0013-ts72xx_dio_keypad.patch new file +567 -0
277 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0014-ep93xx_spi.patch new file +985 -0
985 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0015-ep93xx_cpufreq.patch new file +360 -0
360 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/0016-ts7200_nor_flash.patch new file +163 -0
163 lines not on this page · raw message
recipes/linux/linux-2.6.32/ts72xx/defconfig new file +1686 -0
1,686 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.6.0.4
Part of the diff is not shown here. View the raw message.
Re: [PATCH] linux 2.6.24: moving ts72xx to 2.6.27 as default kernel so change DEFAULT_PREFERENCE
In reply to Petr ŠtetiarDnia wtorek, 9 lutego 2010 o 01:43:32 Petr Štetiar napisał(a):
Quoted 10 lines
Signed-off-by Petr Štetiar <[email protected]>--- recipes/linux/linux_2.6.24.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)recipes/linux/linux_2.6.24.bb +0
-0
recipes/linux/linux_2.6.24.bb DEFAULT_PREFERENCE_mpc8313e-rdb = "1" · line 10
Quoted 5 lines
recipes/linux/linux_2.6.24.bb +1
-1@@ -7,12 +7,12 @@ DEFAULT_PREFERENCE_mpc8313e-rdb = "1" DEFAULT_PREFERENCE_simpad = "1" DEFAULT_PREFERENCE_atngw100 = "1" DEFAULT_PREFERENCE_at32stk1000 = "1" -DEFAULT_PREFERENCE_ts72xx = "1" +DEFAULT_PREFERENCE_ts72xx = "-1"
Just drop DEF_PREF, do not set it to default value.
recipes/linux/linux_2.6.24.bb DEFAULT_PREFERENCE_mpc8313e-rdb = "1" · line 15
Quoted 2 lines
recipes/linux/linux_2.6.24.bb +1
-1-PR = "r34" +PR = "r35"
Do not bump kernel PR if you do not use it anymore. This part should go to previous patch as it changes patches.
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
PATCH v2 1/1 linux 2.6.24: moving ts72xx to 2.6.27 as default kernel so change DEFAULT_PREFERENCE
--- recipes/linux/linux_2.6.24.bb | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
recipes/linux/linux_2.6.24.bb +0 -1
@@ -7,7 +7,6 @@ DEFAULT_PREFERENCE_mpc8313e-rdb = "1" DEFAULT_PREFERENCE_simpad = "1" DEFAULT_PREFERENCE_atngw100 = "1" DEFAULT_PREFERENCE_at32stk1000 = "1" -DEFAULT_PREFERENCE_ts72xx = "1" DEFAULT_PREFERENCE_hipox = "1" DEFAULT_PREFERENCE_cs-e9302 = "1" DEFAULT_PREFERENCE_smartq5 = "1"
Signature · 1 line
1.5.6.5
PATCH v2 1/1 linux 2.6.24: update ts72xx patchset
--- .../linux/linux-2.6.24/ts72xx/ep93xx-i2c-bus.diff | 30 +- .../ts72xx/ep93xx-maverick-uniqid.patch | 14 +- .../ts72xx/ts72xx-machine-id-fix.patch | 8 +- .../linux/linux-2.6.24/ts72xx/ts72xx-rs485.patch | 268 +++----------------- recipes/linux/linux_2.6.24.bb | 2 +- 5 files changed, 64 insertions(+), 258 deletions(-)
recipes/linux/linux-2.6.24/ts72xx/ep93xx-i2c-bus.diff +15 -15
@@ -3,13 +3,13 @@ I2C bus driver using ep93xx GPIOs. Signed-off-by: Lennert Buytenhek <[email protected]> -Index: linux-2.6.22/drivers/i2c/busses/Kconfig +Index: linux-2.6.24/drivers/i2c/busses/Kconfig =================================================================== ---- linux-2.6.22.orig/drivers/i2c/busses/Kconfig 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/drivers/i2c/busses/Kconfig 2007-08-30 00:42:52.000000000 +0200 -@@ -635,4 +635,16 @@ - This driver can also be built as a module. If so, the module - will be called i2c-pnx. +--- linux-2.6.24.orig/drivers/i2c/busses/Kconfig 2010-02-07 14:53:59.000000000 +0100 ++++ linux-2.6.24/drivers/i2c/busses/Kconfig 2010-02-07 14:54:23.000000000 +0100 +@@ -675,4 +675,16 @@ + This driver can also be built as module. If so, the module + will be called i2c-pmcmsp. +config I2C_EP93XX + tristate "Cirrus Logic EP93XX GPIO-based I2C interface"
@@ -24,11 +24,11 @@ Index: linux-2.6.22/drivers/i2c/busses/Kconfig + + endmenu -Index: linux-2.6.22/drivers/i2c/busses/Makefile +Index: linux-2.6.24/drivers/i2c/busses/Makefile =================================================================== ---- linux-2.6.22.orig/drivers/i2c/busses/Makefile 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/drivers/i2c/busses/Makefile 2007-08-30 00:42:52.000000000 +0200 -@@ -52,6 +52,7 @@ +--- linux-2.6.24.orig/drivers/i2c/busses/Makefile 2010-02-07 14:53:59.000000000 +0100 ++++ linux-2.6.24/drivers/i2c/busses/Makefile 2010-02-07 14:54:23.000000000 +0100 +@@ -53,6 +53,7 @@ obj-$(CONFIG_I2C_VOODOO3) += i2c-voodoo3.o obj-$(CONFIG_SCx200_ACB) += scx200_acb.o obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
@@ -36,10 +36,10 @@ Index: linux-2.6.22/drivers/i2c/busses/Makefile ifeq ($(CONFIG_I2C_DEBUG_BUS),y) EXTRA_CFLAGS += -DDEBUG -Index: linux-2.6.22/drivers/i2c/busses/i2c-ep93xx.c +Index: linux-2.6.24/drivers/i2c/busses/i2c-ep93xx.c =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.22/drivers/i2c/busses/i2c-ep93xx.c 2007-08-30 00:42:52.000000000 +0200 ++++ linux-2.6.24/drivers/i2c/busses/i2c-ep93xx.c 2010-02-07 14:54:23.000000000 +0100 @@ -0,0 +1,159 @@ +/* + * EP93XX I2C bus driver.
@@ -200,10 +200,10 @@ Index: linux-2.6.22/drivers/i2c/busses/i2c-ep93xx.c +MODULE_AUTHOR("Lennert Buytenhek <[email protected]>"); +MODULE_DESCRIPTION("GPIO-based I2C adapter for EP93XX systems"); +MODULE_LICENSE("GPL"); -Index: linux-2.6.22/include/asm-arm/arch-ep93xx/platform.h +Index: linux-2.6.24/include/asm-arm/arch-ep93xx/platform.h =================================================================== ---- linux-2.6.22.orig/include/asm-arm/arch-ep93xx/platform.h 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/include/asm-arm/arch-ep93xx/platform.h 2007-08-30 00:42:52.000000000 +0200 +--- linux-2.6.24.orig/include/asm-arm/arch-ep93xx/platform.h 2010-02-07 14:53:59.000000000 +0100 ++++ linux-2.6.24/include/asm-arm/arch-ep93xx/platform.h 2010-02-07 14:54:23.000000000 +0100 @@ -16,5 +16,13 @@ unsigned char phy_id; };
recipes/linux/linux-2.6.24/ts72xx/ep93xx-maverick-uniqid.patch +7 -7
@@ -3,11 +3,11 @@ Adds support for SoC's unique ID (Maverick Key) in /proc/cpuinfo Signed-off-by: Petr Stetiar <[email protected]> -Index: linux-2.6.22/arch/arm/kernel/setup.c +Index: linux-2.6.24/arch/arm/kernel/setup.c =================================================================== ---- linux-2.6.22.orig/arch/arm/kernel/setup.c 2007-09-02 23:08:51.000000000 +0200 -+++ linux-2.6.22/arch/arm/kernel/setup.c 2007-09-02 23:10:24.000000000 +0200 -@@ -959,8 +959,15 @@ +--- linux-2.6.24.orig/arch/arm/kernel/setup.c 2010-02-07 14:53:58.000000000 +0100 ++++ linux-2.6.24/arch/arm/kernel/setup.c 2010-02-07 14:54:35.000000000 +0100 +@@ -1007,8 +1007,15 @@ seq_printf(m, "Hardware\t: %s\n", machine_name); seq_printf(m, "Revision\t: %04x\n", system_rev);
@@ -23,10 +23,10 @@ Index: linux-2.6.22/arch/arm/kernel/setup.c return 0; } -Index: linux-2.6.22/include/asm-arm/arch-ep93xx/ep93xx-regs.h +Index: linux-2.6.24/include/asm-arm/arch-ep93xx/ep93xx-regs.h =================================================================== ---- linux-2.6.22.orig/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2007-09-02 23:06:45.000000000 +0200 -+++ linux-2.6.22/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2007-09-02 23:08:34.000000000 +0200 +--- linux-2.6.24.orig/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2010-02-07 14:54:29.000000000 +0100 ++++ linux-2.6.24/include/asm-arm/arch-ep93xx/ep93xx-regs.h 2010-02-07 14:54:35.000000000 +0100 @@ -70,6 +70,8 @@ #define EP93XX_I2S_BASE (EP93XX_APB_VIRT_BASE + 0x00020000)
recipes/linux/linux-2.6.24/ts72xx/ts72xx-machine-id-fix.patch +4 -4
@@ -3,11 +3,11 @@ Fix wrong machine ID passed from RedBoot Signed-off-by: Petr Stetiar <[email protected]> -Index: linux-2.6.22/arch/arm/kernel/head.S +Index: linux-2.6.24/arch/arm/kernel/head.S =================================================================== ---- linux-2.6.22.orig/arch/arm/kernel/head.S 2007-08-30 00:42:45.000000000 +0200 -+++ linux-2.6.22/arch/arm/kernel/head.S 2007-08-30 00:43:13.000000000 +0200 -@@ -82,6 +82,7 @@ +--- linux-2.6.24.orig/arch/arm/kernel/head.S 2010-02-07 14:53:58.000000000 +0100 ++++ linux-2.6.24/arch/arm/kernel/head.S 2010-02-07 14:54:39.000000000 +0100 +@@ -86,6 +86,7 @@ bl __lookup_processor_type @ r5=procinfo r9=cpuid movs r10, r5 @ invalid processor (r5=0)? beq __error_p @ yes, error 'p'
recipes/linux/linux-2.6.24/ts72xx/ts72xx-rs485.patch +37 -231
337 lines not on this page · raw message
recipes/linux/linux_2.6.24.bb +1 -1
@@ -11,7 +11,7 @@ DEFAULT_PREFERENCE_hipox = "1" DEFAULT_PREFERENCE_cs-e9302 = "1" DEFAULT_PREFERENCE_smartq5 = "1" -PR = "r34" +PR = "r35" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.24.tar.bz2 \ ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/patch-${PV}.7.bz2;patch=1 \
Signature · 1 line
1.5.6.5
Re: [PATCH] linux 2.6.24: moving ts72xx to 2.6.27 as default kernel so change DEFAULT_PREFERENCE
In reply to Marcin JuszkiewiczMarcin Juszkiewicz <[email protected]> [2010-02-09 10:03:19]:
Quoted 9 lines
Dnia wtorek, 9 lutego 2010 o 01:43:32 Petr Štetiar napisał(a):
recipes/linux/linux_2.6.24.bb DEFAULT_PREFERENCE_mpc8313e-rdb = "1" · line 10
Quoted 5 lines
recipes/linux/linux_2.6.24.bb | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)recipes/linux/linux_2.6.24.bb +1
-1-DEFAULT_PREFERENCE_ts72xx = "1" +DEFAULT_PREFERENCE_ts72xx = "-1"Just drop
DEF_PREF, do not set it to default value.
Quoted 5 lines
recipes/linux/linux_2.6.24.bb DEFAULT_PREFERENCE_mpc8313e-rdb = "1" · line 15
Quoted 2 lines
recipes/linux/linux_2.6.24.bb +1
-1-PR = "r34" +PR = "r35"Do not bump kernel PR if you do not use it anymore. This part should go to previous patch as it changes patches.
Indeed, my mistake. I've sent updated patches already.
-- ynezz
Re: [PATCH] linux 2.6.24: moving ts72xx to 2.6.27 as default kernel so change DEFAULT_PREFERENCE
In reply to Marcin JuszkiewiczMarcin Juszkiewicz <[email protected]> [2010-02-09 10:03:19]:
Quoted 11 lines
Dnia wtorek, 9 lutego 2010 o 01:43:32 Petr Štetiar napisał(a):
recipes/linux/linux_2.6.24.bb DEFAULT_PREFERENCE_mpc8313e-rdb = "1" · line 10
Quoted 2 lines
recipes/linux/linux_2.6.24.bb +1
-1-DEFAULT_PREFERENCE_ts72xx = "1" +DEFAULT_PREFERENCE_ts72xx = "-1"Just drop
DEF_PREF, do not set it to default value.recipes/linux/linux_2.6.24.bb DEFAULT_PREFERENCE_mpc8313e-rdb = "1" · line 15
Quoted 2 lines
recipes/linux/linux_2.6.24.bb +1
-1-PR = "r34" +PR = "r35"Do not bump kernel PR if you do not use it anymore. This part should go to previous patch as it changes patches.
Hi,
is second version ok for you? If so, would you mind to commit it pls? :-) Thanks.
-- ynezz
Re: [PATCH] linux 2.6.24: moving ts72xx to 2.6.27 as default kernel so change DEFAULT_PREFERENCE
In reply to Petr Štetiarrecipes/linux/linux_2.6.24.bb DEFAULT_PREFERENCE_mpc8313e-rdb = "1" · line 15
Quoted 8 lines · Petr Štetiar
recipes/linux/linux_2.6.24.bb +2
-2-DEFAULT_PREFERENCE_ts72xx = "1" +DEFAULT_PREFERENCE_ts72xx = "-1" DEFAULT_PREFERENCE_hipox = "1" DEFAULT_PREFERENCE_cs-e9302 = "1" DEFAULT_PREFERENCE_smartq5 = "1" -PR = "r34" +PR = "r35"
There's no need to increment PR if the only thing you are changing is DEFAULT_PREFERENCE. In general, you need to increment PR if (and only if) your change would cause the output from the recipe to be different from what it was before. Changes that just affect whether or not the recipe is built at all, and don't have any impact on the result of the build, do not require a new PR.
Not that bumping PR unnecessarily is all that big a deal, of course, but it does cause a certain amount of avoidable churn and annoyance for other users of the recipe. It is best not to do it when you don't have to.
p.