You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(12) |
May
(82) |
Jun
(72) |
Jul
(39) |
Aug
(104) |
Sep
(61) |
Oct
(55) |
Nov
(101) |
Dec
(48) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(52) |
Feb
(67) |
Mar
(18) |
Apr
(16) |
May
(33) |
Jun
(12) |
Jul
(102) |
Aug
(168) |
Sep
(65) |
Oct
(60) |
Nov
(43) |
Dec
(121) |
2002 |
Jan
(69) |
Feb
(32) |
Mar
(90) |
Apr
(59) |
May
(45) |
Jun
(43) |
Jul
(33) |
Aug
(21) |
Sep
(11) |
Oct
(20) |
Nov
(26) |
Dec
(3) |
2003 |
Jan
(12) |
Feb
(18) |
Mar
(11) |
Apr
(11) |
May
(41) |
Jun
(76) |
Jul
(77) |
Aug
(15) |
Sep
(38) |
Oct
(56) |
Nov
(19) |
Dec
(39) |
2004 |
Jan
(17) |
Feb
(52) |
Mar
(36) |
Apr
(34) |
May
(48) |
Jun
(85) |
Jul
(38) |
Aug
(42) |
Sep
(41) |
Oct
(77) |
Nov
(27) |
Dec
(19) |
2005 |
Jan
(32) |
Feb
(35) |
Mar
(29) |
Apr
(8) |
May
(7) |
Jun
(31) |
Jul
(46) |
Aug
(93) |
Sep
(65) |
Oct
(85) |
Nov
(219) |
Dec
(47) |
2006 |
Jan
(170) |
Feb
(103) |
Mar
(49) |
Apr
(43) |
May
(45) |
Jun
(29) |
Jul
(77) |
Aug
(82) |
Sep
(43) |
Oct
(45) |
Nov
(26) |
Dec
(85) |
2007 |
Jan
(42) |
Feb
(48) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(53) |
Jul
(175) |
Aug
(212) |
Sep
(91) |
Oct
(103) |
Nov
(110) |
Dec
(5) |
2008 |
Jan
(20) |
Feb
(11) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(3) |
Oct
(12) |
Nov
|
Dec
|
From: Paul M. <le...@li...> - 2007-01-22 00:21:56
|
On Sun, Jan 21, 2007 at 11:24:10PM +0000, Kristoffer Ericson wrote: > Since crosscompiling always is a hassle I'm eager to get hold of a > developmentboard for SuperH. Of course the lower prize the better. One of my > goals is to complete my slackware porting to the SuperH processor. As you > all know crosscompiling is a hassle and doing stuff nativly is alot sweeter. > Is there some reason the Gentoo port is insufficient? |
From: Paul M. <le...@li...> - 2007-01-22 00:20:48
|
On Wed, Jan 17, 2007 at 04:53:57PM +0000, nic...@mc... wrote: > I have been attempting to figure out how to get my IBM Workpad Z50 to > run a recent 2.6 kernel. I am aware of vr-linux, but all of the > progress made there seems to be in pieces on the web. I have been > looking everywhere I can think of, but now I just figured I would ask > here. Can anyone point me to a set of instructions to get a current > 2.6 kernel installed and running on a Z50? > This is a Vr41xx MIPS, the appropriate forum would be http://www.linux-mips.org. Yoichi Yuasa has been looking after that code. |
From: Paul M. <le...@li...> - 2007-01-22 00:18:52
|
On Wed, Jan 17, 2007 at 07:58:47AM +0100, Manuel Lauss wrote: > > Add SH7760 IPR IRQ data; makes 2.6.20-rc bootable again. > > Signed-off-by: Manuel Lauss <ma...@ro...> > Looks good, applied. On Wed, Jan 17, 2007 at 08:04:07AM +0100, Manuel Lauss wrote: > > This patch does the following: > - remove the make_ipr_irq stuff from dma-sh.c and replace it > with a simple channel<->irq mapping table. > - add DMTEx_IRQ constants for sh4 cpus > - fix sh7751 DMAE irq number > > The SH7780 uses the same IRQs for DMA as other SH4 types, so > I put the constants on top of the dma.h file. > > Other CPU types need to #define their own DMTEx_IRQ contants > in their appropriate header. > > > Signed-off-by: Manuel Lauss <ma...@ro...> > Applied, thanks. |
From: Paul M. <le...@li...> - 2007-01-22 00:16:38
|
On Sat, Jan 13, 2007 at 09:51:19PM +0000, Kristoffer Ericson wrote: > We've only recently aquired a working bootloader for CE 2.0 (and most likely > CE 1.0) but users are having issues. I've made them test all kernels > (2.6.11->2.6.17) and same error has appeard everytime. > > Suggestions, ideas? > The IDE registration looks a bit questionable. Either something has grabbed the lower IDs or the MAX_HWIFS need to be bumped up. Consider moving to a newer kernel and going the libata/pata_platform route, though. ide-sh was always a hack. |
From: nick t. <nic...@mc...> - 2007-01-22 00:02:35
|
Kristoffer Ericson wrote: > Greetings, > > Since crosscompiling always is a hassle I'm eager to get hold of a > developmentboard for SuperH. Of course the lower prize the better. One of my > goals is to complete my slackware porting to the SuperH processor. As you > all know crosscompiling is a hassle and doing stuff nativly is alot sweeter. > > Anyone out there wanting to get rid of or sell a development board (SH3, > SH4...) drop me a mail. > > Best wishes > Kristoffer Ericson > Hello, I would also be interested in the same, depending upon price of course. Thanks a lot for any info. Nick p.s. anyone who is into the z50, email me. any info/discussion welcome. > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's FREE! > http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > linuxsh-dev mailing list > lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsh-dev > > |
From: Kristoffer E. <kri...@ho...> - 2007-01-21 23:24:19
|
Greetings, Since crosscompiling always is a hassle I'm eager to get hold of a developmentboard for SuperH. Of course the lower prize the better. One of my goals is to complete my slackware porting to the SuperH processor. As you all know crosscompiling is a hassle and doing stuff nativly is alot sweeter. Anyone out there wanting to get rid of or sell a development board (SH3, SH4...) drop me a mail. Best wishes Kristoffer Ericson _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |
From: <nic...@mc...> - 2007-01-17 16:54:16
|
Hello all, I have been attempting to figure out how to get my IBM Workpad Z50 to run a recent 2.6 kernel. I am aware of vr-linux, but all of the progress made there seems to be in pieces on the web. I have been looking everywhere I can think of, but now I just figured I would ask here. Can anyone point me to a set of instructions to get a current 2.6 kernel installed and running on a Z50? Any info at all much appreciated. Thanks, Nick "All unix, all the time." http://npt.ath.cx |
From: Manuel L. <ma...@ro...> - 2007-01-17 07:04:11
|
This patch does the following: - remove the make_ipr_irq stuff from dma-sh.c and replace it with a simple channel<->irq mapping table. - add DMTEx_IRQ constants for sh4 cpus - fix sh7751 DMAE irq number The SH7780 uses the same IRQs for DMA as other SH4 types, so I put the constants on top of the dma.h file. Other CPU types need to #define their own DMTEx_IRQ contants in their appropriate header. Signed-off-by: Manuel Lauss <ma...@ro...> diff -Naurp linux-2.6.20-rc5-base/include/asm-sh/cpu-sh4/dma.h linux-2.6.20-rc5-work/include/asm-sh/cpu-sh4/dma.h --- linux-2.6.20-rc5-base/include/asm-sh/cpu-sh4/dma.h 2007-01-17 11:13:26.462000000 +0100 +++ linux-2.6.20-rc5-work/include/asm-sh/cpu-sh4/dma.h 2007-01-17 11:58:05.902000000 +0100 @@ -3,6 +3,17 @@ #define DMAOR_INIT ( 0x8000 | DMAOR_DME ) +/* SH7751/7760/7780 DMA IRQ sources */ +#define DMTE0_IRQ 34 +#define DMTE1_IRQ 35 +#define DMTE2_IRQ 36 +#define DMTE3_IRQ 37 +#define DMTE4_IRQ 44 +#define DMTE5_IRQ 45 +#define DMTE6_IRQ 46 +#define DMTE7_IRQ 47 +#define DMAE_IRQ 38 + #ifdef CONFIG_CPU_SH4A #define SH_DMAC_BASE 0xfc808020 diff -Naurp linux-2.6.20-rc5-base/arch/sh/drivers/dma/dma-sh.c linux-2.6.20-rc5-work/arch/sh/drivers/dma/dma-sh.c --- linux-2.6.20-rc5-base/arch/sh/drivers/dma/dma-sh.c 2007-01-17 11:15:31.892000000 +0100 +++ linux-2.6.20-rc5-work/arch/sh/drivers/dma/dma-sh.c 2007-01-17 12:09:56.182000000 +0100 @@ -19,34 +19,26 @@ #include <asm/io.h> #include "dma-sh.h" - - -#ifdef CONFIG_CPU_SH4 -static struct ipr_data dmae_ipr_map[] = { - { DMAE_IRQ, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, -}; +static int dmte_irq_map[] = { + DMTE0_IRQ, + DMTE1_IRQ, + DMTE2_IRQ, + DMTE3_IRQ, +#if defined(CONFIG_CPU_SUBTYPE_SH7751R) || \ + defined(CONFIG_CPU_SUBTYPE_SH7760) || \ + defined(CONFIG_CPU_SUBTYPE_SH7780) + DMTE4_IRQ, + DMTE5_IRQ, + DMTE6_IRQ, + DMTE7_IRQ, #endif -static struct ipr_data dmte_ipr_map[] = { - /* - * Normally we could just do DMTE0_IRQ + chan outright, though in the - * case of the 7751R, the DMTE IRQs for channels > 4 start right above - * the SCIF - */ - { DMTE0_IRQ + 0, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, - { DMTE0_IRQ + 1, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, - { DMTE0_IRQ + 2, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, - { DMTE0_IRQ + 3, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, - { DMTE4_IRQ + 0, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, - { DMTE4_IRQ + 1, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, - { DMTE4_IRQ + 2, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, - { DMTE4_IRQ + 3, DMA_IPR_ADDR, DMA_IPR_POS, DMA_PRIORITY }, }; static inline unsigned int get_dmte_irq(unsigned int chan) { unsigned int irq = 0; - if (chan < ARRAY_SIZE(dmte_ipr_map)) - irq = dmte_ipr_map[chan].irq; + if (chan < ARRAY_SIZE(dmte_irq_map)) + irq = dmte_irq_map[chan]; return irq; } @@ -103,7 +95,7 @@ static void sh_dmac_free_dma(struct dma_ free_irq(get_dmte_irq(chan->chan), chan); } -static void +static int sh_dmac_configure_channel(struct dma_channel *chan, unsigned long chcr) { if (!chcr) @@ -119,6 +111,7 @@ sh_dmac_configure_channel(struct dma_cha ctrl_outl(chcr, CHCR[chan->chan]); chan->flags |= DMA_CONFIGURED; + return 0; } static void sh_dmac_enable_dma(struct dma_channel *chan) @@ -262,17 +255,11 @@ static int __init sh_dmac_init(void) int i; #ifdef CONFIG_CPU_SH4 - make_ipr_irq(dmae_ipr_map, ARRAY_SIZE(dmae_ipr_map)); i = request_irq(DMAE_IRQ, dma_err, IRQF_DISABLED, "DMAC Address Error", 0); if (unlikely(i < 0)) return i; #endif - i = info->nr_channels; - if (i > ARRAY_SIZE(dmte_ipr_map)) - i = ARRAY_SIZE(dmte_ipr_map); - make_ipr_irq(dmte_ipr_map, i); - /* * Initialize DMAOR, and clean up any error flags that may have * been set. diff -Naurp linux-2.6.20-rc5-base/arch/sh/kernel/cpu/sh4/setup-sh7750.c linux-2.6.20-rc5-work/arch/sh/kernel/cpu/sh4/setup-sh7750.c --- linux-2.6.20-rc5-base/arch/sh/kernel/cpu/sh4/setup-sh7750.c 2007-01-17 11:15:31.932000000 +0100 +++ linux-2.6.20-rc5-work/arch/sh/kernel/cpu/sh4/setup-sh7750.c 2007-01-17 11:55:56.392000000 +0100 @@ -101,7 +101,7 @@ static struct ipr_data sh7750_ipr_map[] { 35, 2, 8, 7 }, /* DMAC DMTE1 */ { 36, 2, 8, 7 }, /* DMAC DMTE2 */ { 37, 2, 8, 7 }, /* DMAC DMTE3 */ - { 28, 2, 8, 7 }, /* DMAC DMAE */ + { 38, 2, 8, 7 }, /* DMAC DMAE */ }; static struct ipr_data sh7751_ipr_map[] = { |
From: Manuel L. <ma...@ro...> - 2007-01-17 06:58:55
|
Add SH7760 IPR IRQ data; makes 2.6.20-rc bootable again. Signed-off-by: Manuel Lauss <ma...@ro...> diff -Naurp linux-2.6.20-rc5-base/arch/sh/kernel/cpu/sh4/setup-sh7760.c linux-2.6.20-rc5-work/arch/sh/kernel/cpu/sh4/setup-sh7760.c --- linux-2.6.20-rc5-base/arch/sh/kernel/cpu/sh4/setup-sh7760.c 2007-01-17 11:13:00.392000000 +0100 +++ linux-2.6.20-rc5-work/arch/sh/kernel/cpu/sh4/setup-sh7760.c 2007-01-17 11:54:29.432000000 +0100 @@ -52,17 +52,11 @@ static int __init sh7760_devices_setup(v } __initcall(sh7760_devices_setup); -/* - * SH7760 INTC2-Style interrupts, vectors IRQ48-111 INTEVT 0x800-0xFE0 - */ static struct intc2_data intc2_irq_table[] = { - /* INTPRIO0 | INTMSK0 */ {48, 0, 28, 0, 31, 3}, /* IRQ 4 */ {49, 0, 24, 0, 30, 3}, /* IRQ 3 */ {50, 0, 20, 0, 29, 3}, /* IRQ 2 */ {51, 0, 16, 0, 28, 3}, /* IRQ 1 */ - /* 52-55 (INTEVT 0x880-0x8E0) unused/reserved */ - /* INTPRIO4 | INTMSK0 */ {56, 4, 28, 0, 25, 3}, /* HCAN2_CHAN0 */ {57, 4, 24, 0, 24, 3}, /* HCAN2_CHAN1 */ {58, 4, 20, 0, 23, 3}, /* I2S_CHAN0 */ @@ -71,18 +65,15 @@ static struct intc2_data intc2_irq_table {61, 4, 8, 0, 20, 3}, /* AC97_CHAN1 */ {62, 4, 4, 0, 19, 3}, /* I2C_CHAN0 */ {63, 4, 0, 0, 18, 3}, /* I2C_CHAN1 */ - /* INTPRIO8 | INTMSK0 */ {52, 8, 16, 0, 11, 3}, /* SCIF0_ERI_IRQ */ {53, 8, 16, 0, 10, 3}, /* SCIF0_RXI_IRQ */ {54, 8, 16, 0, 9, 3}, /* SCIF0_BRI_IRQ */ {55, 8, 16, 0, 8, 3}, /* SCIF0_TXI_IRQ */ {64, 8, 28, 0, 17, 3}, /* USBHI_IRQ */ {65, 8, 24, 0, 16, 3}, /* LCDC */ - /* 66, 67 unused */ {68, 8, 20, 0, 14, 13}, /* DMABRGI0_IRQ */ {69, 8, 20, 0, 13, 13}, /* DMABRGI1_IRQ */ {70, 8, 20, 0, 12, 13}, /* DMABRGI2_IRQ */ - /* 71 unused */ {72, 8, 12, 0, 7, 3}, /* SCIF1_ERI_IRQ */ {73, 8, 12, 0, 6, 3}, /* SCIF1_RXI_IRQ */ {74, 8, 12, 0, 5, 3}, /* SCIF1_BRI_IRQ */ @@ -91,26 +82,71 @@ static struct intc2_data intc2_irq_table {77, 8, 8, 0, 2, 3}, /* SCIF2_RXI_IRQ */ {78, 8, 8, 0, 1, 3}, /* SCIF2_BRI_IRQ */ {79, 8, 8, 0, 0, 3}, /* SCIF2_TXI_IRQ */ - /* | INTMSK4 */ {80, 8, 4, 4, 23, 3}, /* SIM_ERI */ {81, 8, 4, 4, 22, 3}, /* SIM_RXI */ {82, 8, 4, 4, 21, 3}, /* SIM_TXI */ {83, 8, 4, 4, 20, 3}, /* SIM_TEI */ {84, 8, 0, 4, 19, 3}, /* HSPII */ - /* INTPRIOC | INTMSK4 */ - /* 85-87 unused/reserved */ {88, 12, 20, 4, 18, 3}, /* MMCI0 */ {89, 12, 20, 4, 17, 3}, /* MMCI1 */ {90, 12, 20, 4, 16, 3}, /* MMCI2 */ {91, 12, 20, 4, 15, 3}, /* MMCI3 */ - {92, 12, 12, 4, 6, 3}, /* MFI (unsure, bug? in my 7760 manual*/ - /* 93-107 reserved/undocumented */ + {92, 12, 12, 4, 6, 3}, /* MFI */ {108,12, 4, 4, 1, 3}, /* ADC */ {109,12, 0, 4, 0, 3}, /* CMTI */ - /* 110-111 reserved/unused */ }; +static struct ipr_data sh7760_ipr_map[] = { + /* IRQ, IPR-idx, shift, priority */ + { 16, 0, 12, 2 }, /* TMU0 TUNI*/ + { 17, 0, 8, 2 }, /* TMU1 TUNI */ + { 18, 0, 4, 2 }, /* TMU2 TUNI */ + { 19, 0, 4, 2 }, /* TMU2 TIPCI */ + { 27, 1, 12, 2 }, /* WDT ITI */ + { 28, 1, 8, 2 }, /* REF RCMI */ + { 29, 1, 8, 2 }, /* REF ROVI */ + { 32, 2, 0, 7 }, /* HUDI */ + { 33, 2, 12, 7 }, /* GPIOI */ + { 34, 2, 8, 7 }, /* DMAC DMTE0 */ + { 35, 2, 8, 7 }, /* DMAC DMTE1 */ + { 36, 2, 8, 7 }, /* DMAC DMTE2 */ + { 37, 2, 8, 7 }, /* DMAC DMTE3 */ + { 38, 2, 8, 7 }, /* DMAC DMAE */ + { 44, 2, 8, 7 }, /* DMAC DMTE4 */ + { 45, 2, 8, 7 }, /* DMAC DMTE5 */ + { 46, 2, 8, 7 }, /* DMAC DMTE6 */ + { 47, 2, 8, 7 }, /* DMAC DMTE7 */ +/* these here are only valid if INTC_ICR bit 7 is set to 1! + * XXX: maybe CONFIG_SH_IRLMODE symbol? SH7751 could use it too */ +#if 0 + { 2, 3, 12, 3 }, /* IRL0 */ + { 5, 3, 8, 3 }, /* IRL1 */ + { 8, 3, 4, 3 }, /* IRL2 */ + { 11, 3, 0, 3 }, /* IRL3 */ +#endif +}; + +static unsigned long ipr_offsets[] = { + 0xffd00004UL, /* 0: IPRA */ + 0xffd00008UL, /* 1: IPRB */ + 0xffd0000cUL, /* 2: IPRC */ + 0xffd00010UL, /* 3: IPRD */ +}; + +/* given the IPR index return the address of the IPR register */ +unsigned int map_ipridx_to_addr(int idx) +{ + if (idx >= ARRAY_SIZE(ipr_offsets)) + return 0; + return ipr_offsets[idx]; +} + void __init init_IRQ_intc2(void) { make_intc2_irq(intc2_irq_table, ARRAY_SIZE(intc2_irq_table)); } + +void __init init_IRQ_ipr(void) +{ + make_ipr_irq(sh7760_ipr_map, ARRAY_SIZE(sh7760_ipr_map)); +} diff -Naurp linux-2.6.20-rc5-base/arch/sh/mm/Kconfig linux-2.6.20-rc5-work/arch/sh/mm/Kconfig --- linux-2.6.20-rc5-base/arch/sh/mm/Kconfig 2007-01-17 11:15:31.982000000 +0100 +++ linux-2.6.20-rc5-work/arch/sh/mm/Kconfig 2007-01-17 11:20:21.262000000 +0100 @@ -149,6 +149,7 @@ config CPU_SUBTYPE_SH7760 bool "Support SH7760 processor" select CPU_SH4 select CPU_HAS_INTC2_IRQ + select CPU_HAS_IPR_IRQ config CPU_SUBTYPE_SH4_202 bool "Support SH4-202 processor" |
From: Kristoffer E. <kri...@ho...> - 2007-01-14 20:27:15
|
Greetings, Know we've talked about this before but would like to raise the question again. Currently there is a somewhat good SH4 emulation working, but it lacks a system emulation. With a system emulation it would be quite easy to port software (nativly!) and thus Im quite interested in getting some superh gurus involved with qemu. Myself I lack the needed knowledge to get much further. Best wishes Kristoffer _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ |
From: Kristoffer E. <kri...@ho...> - 2007-01-13 21:51:30
|
Greetings, We've only recently aquired a working bootloader for CE 2.0 (and most likely CE 1.0) but users are having issues. I've made them test all kernels (2.6.11->2.6.17) and same error has appeard everytime. Suggestions, ideas? Best wishes Kristoffer Ericson Linux version 2.6.16-sh (root@turingbirds) (gcc version 3.4.4) #29 Wed Jan 10 19:48:46 CET 2007 On node 0 totalpages: 4096 DMA zone: 4096 pages, LIFO batch:0 DMA32 zone: 0 pages, LIFO batch:0 Normal zone: 0 pages, LIFO batch:0 HighMem zone: 0 pages, LIFO batch:0 Built 1 zonelists Kernel command line: mem=16M ramdisk_size=8192 ide0=0x1f0,0x3f6,93 ide_setup: 0x1f0,0x3f6,93 ide_init hwif ports: must not be called -- OBSOLETE OPTION, WILL BE REMOVED SOON! PID hash table entries: 128 (order: 7, 2048 bytes) Interval = 55275 Using tmu for system timer Console: colour dummy device 80x25 Dentry cache hash table entires: 4096 (order: 2, 16384 bytes) Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) Memory: 10368k/16386k available (1401k kernel code, 6016k reserved, 194k data, 60k init) Calibrating delay loop... 58.57 BogoMIPS (lpj=292864) Mount-cache hash table entries: 512 CPU: SH7708 checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 4096k freed NET: Registered protocol family 16 HD64461 configred at 0xb0000000 on irq 36(mapped into 80 to 95) HD64461: enabling PCMCIA devices io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfg registered Console: switching to colour frame buffer device 80x30 fb0: Hitachi HD64461 frame buffer device RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide: SuperH generic IDE interface ide-sh: Attempting to register ide2 when only 1 interfaces are available. Probing IDE interface ide0... hda: SanDisk SDCFB-512, CFA DISK drive Probing IDE interface ide1... ide0 at 0x1f0-0x1f7,0x3f6 on irq 93 hda: max request size: 128KiB hda: 1000944 sectors (512MB), w/1KiB Cache, CHS=993/16/63 hda:<4>hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: lost interrupt hda: lost interrupt hda1 HD64461 PCMCIA bridge. hd64461_init(0) hd64461_set_voltage(0, 0, 0) hd64461_set_socket(sock=0, flags=0, csc_mask=80, Vcc=0, Vpp=0, io_irq=0) cscier=08 gcr=18 mice: PS/2 mouse device common for all mice ts: Compaq touchscreen protocol output HP620 matrix scan keyboard registered hd64461 get_status(0) = 0 input: Hitachi scankeyboard as /class/input/input0 input: HP Jornada touchscreen as /class/input/input1 RAMDISK: Compressed image found at block 0 EXT2-fs warning: maximal mount count reached, running e2fsck is recommended VFS: Mounted root (ext2 filesystem). Freeing unused kernel memory: 60k freed Warning: unable to open an initial console. (editor's note: dropped into root@jornada6xx console) _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ |
From: Kristoffer E. <kri...@ho...> - 2007-01-11 22:45:33
|
Greetings, My main idea was a quick way to get it working with libopie2. Setting machine into Jornada6xx looks alot nice although it doesnt change anything. As for the Hardware line, I understand what you are saying and considering I've only seen one example where its actually used (Libopie2), I believe its probobly better to adjust their detection mechanism than moving stuff about. Thx for info >From: Paul Mundt <le...@li...> >To: Kristoffer Ericson <kri...@ho...> >CC: lin...@li... >Subject: Re: CPUINFO - Hardware vs Machine >Date: Fri, 12 Jan 2007 07:40:26 +0900 > >On Thu, Jan 11, 2007 at 08:58:44PM +0000, Kristoffer Ericson wrote: > > Currently "machine" is set to HP6xx and changing it to Jornada6xx would >make > > it more similiar to the Jornada720 line. Im just wondering about one >thing. > > On most PDA's running linux (Jornada7xx and Zaurus for example). They >also > > contain a Hardware line, what exactly is the difference between those >lines > > if any? > > >cpuinfo is handled by the architecture, the examples you've cited are >simply how ARM does it, rather than any real "standard". Things like >glibc have a habit of parsing the data from there for various things, and >it's generally not worth making changes unless it's clear that there's >some point in doing so. > > > And how can one create a hardware line for the HP6xx? > > >If you have a use case for why you would need this, it's something that >could be considered. "Because ARM does it" is however not a valid use >case. Note however that there is no way to differentiate between >620/680/690, since they've all been converged in to a single machine >type. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ |
From: Paul M. <le...@li...> - 2007-01-11 22:41:51
|
On Thu, Jan 11, 2007 at 08:58:44PM +0000, Kristoffer Ericson wrote: > Currently "machine" is set to HP6xx and changing it to Jornada6xx would make > it more similiar to the Jornada720 line. Im just wondering about one thing. > On most PDA's running linux (Jornada7xx and Zaurus for example). They also > contain a Hardware line, what exactly is the difference between those lines > if any? > cpuinfo is handled by the architecture, the examples you've cited are simply how ARM does it, rather than any real "standard". Things like glibc have a habit of parsing the data from there for various things, and it's generally not worth making changes unless it's clear that there's some point in doing so. > And how can one create a hardware line for the HP6xx? > If you have a use case for why you would need this, it's something that could be considered. "Because ARM does it" is however not a valid use case. Note however that there is no way to differentiate between 620/680/690, since they've all been converged in to a single machine type. |
From: Kristoffer E. <kri...@ho...> - 2007-01-11 20:58:53
|
Greetings, Currently "machine" is set to HP6xx and changing it to Jornada6xx would make it more similiar to the Jornada720 line. Im just wondering about one thing. On most PDA's running linux (Jornada7xx and Zaurus for example). They also contain a Hardware line, what exactly is the difference between those lines if any? And how can one create a hardware line for the HP6xx? Best wishes Kristoffer Ericson _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |
From: Paul M. <le...@li...> - 2007-01-11 01:02:57
|
On Wed, Jan 10, 2007 at 11:23:52PM +0000, Kristoffer Ericson wrote: > Just as a point of interest, why is cpuinfo returning cpu type = SH7729 > instead of SH7709? Im aware that SH7709A is quite similiar, but still. > Because there's no way to probe for it and there's virtually no difference from a software point of view. > Btw, is the hardware string simply taken from the directory? (in this case > HP6XX) or can it be alterd? > It's taken from the machvec, you can change it to whatever you like. |
From: Kristoffer E. <kri...@ho...> - 2007-01-10 23:24:03
|
Greetings, Just as a point of interest, why is cpuinfo returning cpu type = SH7729 instead of SH7709? Im aware that SH7709A is quite similiar, but still. Btw, is the hardware string simply taken from the directory? (in this case HP6XX) or can it be alterd? Best wishes Kristoffer Ericson _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |
From: Kristoffer E. <kri...@ho...> - 2007-01-10 19:17:26
|
Greetings, I failed to note the message I got from Valeriy the 14th of december where he quite clearly stated the problem. It works fine now and I will proceed to create good matrixes for my Nordic keyboard. One question though, generally speaking what is most desired. One matrix with keymaps for all keyboard types or one matrix each for each keyboard type? Best wishes Kristoffer PS. Big Thanx Valeriy! for all your help and tips. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ |
From: Kristoffer E. <kri...@ho...> - 2007-01-10 19:01:40
|
Greetings, I've made some progress in getting the matrix into shape, but is still struggling with issue. More exactly the lines "z -> m" and " LSHIFT -> ARROW_LEFT" doesnt work (the two bottom rows). The rest seems to work well. Any suggestions on the subject would be greatly appreciated as Im literally stuck. I cant see anything wrong and still it doesnt work. NetBSD has this implemented since 1.1.0 and I assume it works well for them. (http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/hpcsh/dev/pfckbd.c?rev=1.18.2.1&content-type=text/x-cvsweb-markup) --- linux-2.6.17-linuxsh/drivers/input/keyboard/hp680_keyb.c 2006-12-06 21:56:06.000000000 +0000 +++ linux-2.6.17/drivers/input/keyboard/hp680_keyb.c 2007-01-10 19:10:38.000000000 +0000 @@ -5,6 +5,7 @@ * * Copyright (C) 2005 Andriy Skulysh * Copyright (C) 2006 Paul Mundt + * Copyright (C) 2007 Kristoffer Ericson * * Splited from drivers/input/keyboard/hp600_keyb.c * @@ -20,6 +21,10 @@ #include <asm/io.h> #include "scan_keyb.h" +#define PCCR 0xa4000104 +#define PDCR 0xa4000106 +#define PECR 0xa4000108 +#define PFCR 0xa400010a #define PCDR 0xa4000124 #define PDDR 0xa4000126 #define PEDR 0xa4000128 @@ -30,6 +35,24 @@ #define PKDR 0xa4000132 #define PLDR 0xa4000134 +/*************************************************************** +HP Jornada 680(SWEDISH version) keyboard +[!] indicates Special Characters + +_______________________________________________________________________ +| ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 POWER| +| 1 2 3 4 5 6 7 8 9 0 + ` BKPSPACE| +|* Q W E R T Y U I O P ! ^ ENTER| +| TAB A S D F G H J K L ! ! ' ENTER| +| SHIFT Z X C V B N M , . - UP SHIFT| +| CTRL WIN ALT ? =======SPACE======== ALTG DEL LEF DO RI ] +----------------------------------------------------------------------- + + +****************************************************************/ + + + /**************************************************************** HP Jornada 690(Japanese version) keyboard scan matrix @@ -71,31 +94,56 @@ ****************************************************************/ static const unsigned char hp680_japanese_table[] = { - /* PTD1 */ +/* + /* PTD1 */ + /* ? ? ? ? Esc ? ? ? */ 0x3a, 0x70, 0x29, 0x00, 0x01, 0x00, 0x00, 0x00, + /* F1 F2 F3 F8 F7 F6 F4 F5 */ 0x3b, 0x3c, 0x3d, 0x42, 0x41, 0x40, 0x3e, 0x3f, - /* PTD5 */ + + /* PTD5 */ + /* / : Enter ? Z ? ? ? */ 0x35, 0x28, 0x1c, 0x00, 0x2c, 0x00, 0x00, 0x00, + /* X C V . , M B N */ 0x2d, 0x2e, 0x2f, 0x34, 0x33, 0x32, 0x30, 0x31, - /* PTD7 */ - 0x50, 0x4d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x4b, 0x00, 0x00, 0x38, 0x7b, - /* PTE0 */ + + /* PTD7 */ + /* Down Right ? ? ? ? ? ? */ + 0x50, 0x4d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + /* ? ? ? Left ? ? Alt ? */ + 0x00, 0x00, 0x00, 0x4b, 0x00, 0x00, 0x38, 0x7b, + + /* PTE0 */ + /* ? ? ? ? Win ? ? ? */ 0x00, 0x00, 0x00, 0x00, 0xdb, 0x00, 0x00, 0x00, + /* Ctrl ? Space Del _ ? ? ? */ 0x1d, 0x00, 0x39, 0x53, 0x73, 0xf9, 0x00, 0x00, - /* PTE1 */ + + /* PTE1 */ + /* ; [ ] ? A ? ? ? */ 0x27, 0x1b, 0x2b, 0x00, 0x1e, 0x00, 0x00, 0x00, + /* S D F L K J G H */ 0x1f, 0x20, 0x21, 0x26, 0x25, 0x24, 0x22, 0x23, - /* PTE3 */ - 0x48, 0x7d, 0x36, 0x00, 0x0f, 0x00, 0x00, 0x00, - 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - /* PTE6 */ + + /* PTE3 */ + /* Up \ ShiftR ? Q ? ? ? */ + 0x48, 0x7d, 0x36, 0x00, 0x0f, 0x00, 0x00, 0x00, + /* ? ShiftL ? ? ? ? ? ? */ + 0x00, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + + /* PTE6 */ + /* P @ BS ? Q ? ? ? */ 0x19, 0x1a, 0x0e, 0x00, 0x10, 0x00, 0x00, 0x00, + /* W E R O I U T Y */ 0x11, 0x12, 0x13, 0x18, 0x17, 0x16, 0x14, 0x15, - /* PTE7 */ - 0x0b, 0x0c, 0x0d, 0x00, 0x02, 0x00, 0x00, 0x00, - 0x03, 0x04, 0x05, 0x0a, 0x09, 0x08, 0x06, 0x07, - /* **** */ + + /* PTE7 */ + /* 0 + = ? 1 ? ? ? */ + 0x0b, 0x2c, 0x0d, 0x00, 0x02, 0x00, 0x00, 0x00, + /* 2 3 4 9 8 7 5 6 */ + 0x03, 0x04, 0x05, 0x0a, 0x09, 0x08, 0x06, 0x07, + + /* **** */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; @@ -103,37 +151,72 @@ static int hp680_japanese_scan_kbd(unsigned char *s) { int i; - unsigned char matrix_switch[] = { - 0xfd, 0xff, /* PTD1 */ - 0xdf, 0xff, /* PTD5 */ - 0x7f, 0xff, /* PTD7 */ - 0xff, 0xfe, /* PTE0 */ - 0xff, 0xfd, /* PTE1 */ - 0xff, 0xf7, /* PTE3 */ - 0xff, 0xbf, /* PTE6 */ - 0xff, 0x7f, /* PTE7 */ + unsigned short ec_static,dc_static; /* = UINT16_t */ + unsigned char matrix_switch[] = { + 0xfd, 0xff, /* PTD1 PD(1) */ + 0xdf, 0xff, /* PTD5 PD(5) */ + 0x7f, 0xff, /* PTD7 PD(7) */ + 0xff, 0xfe, /* PTE0 PE(0) */ + 0xff, 0xfd, /* PTE1 PE(1) */ + 0xff, 0xf7, /* PTE3 PE(3) */ + 0xff, 0xbf, /* PTE6 PE(6) */ + 0xff, 0x7f, /* PTE7 PE(7) */ }, *t=matrix_switch; + /* PD(x) : + 1. 0xcc0c & (1~(1 << (2*(x)+1))))) + 2. (0xf0cf & 0xfffff) */ + /* PE(x) : + 1. 0xcc0c & 0xffff + 2. 0xf0cf & (1~(1 << (2*(x)+1))))) */ + unsigned short matrix_PDE[] = { + 0xcc0c, 0xf0cf, /* PD(1) */ + 0xcc0c, 0xf0cf, /* PD(5) */ + 0xcc0c, 0xf0cf, /* PD(7) */ + 0xcc0c, 0xf0cd, /* PE(0) */ + 0xcc0c, 0xf0c7, /* PE(1) */ + 0xcc0c, 0xf04f, /* PE(3) */ + 0xcc0c, 0xd0cf, /* PE(6) */ + 0xcc0c, 0x70cf, /* PE(7) */ + } + , *y=matrix_PDE; + /* Save these control reg bits */ + dc_static = (ctrl_inw(PDCR) & (~0xcc0c)); + ec_static = (ctrl_inw(PECR) & (~0xf0cf)); for(i=0; i<8; i++) { - ctrl_outb(*t++, PDDR); + /* disable output for all but the one we want to scan */ + ctrl_outw((dc_static | *y++), PDCR); + ctrl_outw((ec_static | *y++), PECR); + udelay(5); + + /* Get scanline row */ + ctrl_outb(*t++, PDDR); ctrl_outb(*t++, PEDR); + udelay(50); + + /* Read data */ *s++=ctrl_inb(PCDR); *s++=ctrl_inb(PFDR); } - + /* Scan no lines */ ctrl_outb(0xff, PDDR); ctrl_outb(0xff, PEDR); + + /* Enable all scanlines */ + ctrl_outw((dc_static | (0x5555 & 0xcc0c)),PDCR); + ctrl_outw((ec_static | (0x5555 & 0xf0cf)),PECR); + /* Ignore extra keys and events */ *s++=ctrl_inb(PGDR); *s++=ctrl_inb(PHDR); - + return 0; } static struct scan_keyboard hp680_kbd = { .scan = hp680_japanese_scan_kbd, .table = hp680_japanese_table, - .length = 18, + .length = 16, }; static int __init hp680_kbd_init_hw(void) _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |
From: Paul M. <le...@li...> - 2007-01-09 11:32:26
|
On Tue, Jan 09, 2007 at 09:40:04AM +0900, SUGIOKA Toshinobu wrote: > current implementation of __access_ok(), __get_user_1(), __get_user_2(), > and __get_user_4() in include/asm-sh/uaccess.h depends on TIF_USERSPACE==31. > But now TIF_USERSPACE is removed, so these functions do not work anymore. > > Signed-off-by: SUGIOKA Toshinobu <su...@it...> > Looks good, I'll queue this for 2.6.20, thanks. |
From: SUGIOKA T. <su...@it...> - 2007-01-09 00:40:16
|
Hi, current implementation of __access_ok(), __get_user_1(), __get_user_2(), and __get_user_4() in include/asm-sh/uaccess.h depends on TIF_USERSPACE==31. But now TIF_USERSPACE is removed, so these functions do not work anymore. Signed-off-by: SUGIOKA Toshinobu <su...@it...> diff --git a/include/asm-sh/uaccess.h b/include/asm-sh/uaccess.h index 5c49ed6..8cbe628 100644 --- a/include/asm-sh/uaccess.h +++ b/include/asm-sh/uaccess.h @@ -75,37 +75,25 @@ static inline int __access_ok(unsigned long addr, unsigned long size) /* * __access_ok: Check if address with size is OK or not. * - * We do three checks: - * (1) is it user space? - * (2) addr + size --> carry? - * (3) addr + size >= 0x80000000 (PAGE_OFFSET) + * Uhhuh, this needs 33-bit arithmetic. We have a carry.. + * + * sum := addr + size; carry? --> flag = true; + * if (sum >= addr_limit) flag = true; * - * (1) (2) (3) | RESULT - * 0 0 0 | ok - * 0 0 1 | ok - * 0 1 0 | bad - * 0 1 1 | bad - * 1 0 0 | ok - * 1 0 1 | bad - * 1 1 0 | bad - * 1 1 1 | bad */ static inline int __access_ok(unsigned long addr, unsigned long size) { - unsigned long flag, tmp; - - __asm__("stc r7_bank, %0\n\t" - "mov.l @(8,%0), %0\n\t" - "clrt\n\t" - "addc %2, %1\n\t" - "and %1, %0\n\t" - "rotcl %0\n\t" - "rotcl %0\n\t" - "and #3, %0" - : "=&z" (flag), "=r" (tmp) - : "r" (addr), "1" (size) - : "t"); - + unsigned long flag, sum; + + __asm__("clrt\n\t" + "addc %3, %1\n\t" + "movt %0\n\t" + "cmp/hi %4, %1\n\t" + "rotcl %0" + :"=&r" (flag), "=r" (sum) + :"1" (addr), "r" (size), + "r" (current_thread_info()->addr_limit.seg) + :"t"); return flag == 0; } #endif /* CONFIG_MMU */ @@ -171,97 +159,6 @@ do { \ __gu_err; \ }) -#ifdef CONFIG_MMU -#define __get_user_check(x,ptr,size) \ -({ \ - long __gu_err, __gu_val; \ - switch (size) { \ - case 1: \ - __get_user_1(__gu_val, (ptr), __gu_err); \ - break; \ - case 2: \ - __get_user_2(__gu_val, (ptr), __gu_err); \ - break; \ - case 4: \ - __get_user_4(__gu_val, (ptr), __gu_err); \ - break; \ - default: \ - __get_user_unknown(); \ - break; \ - } \ - \ - (x) = (__typeof__(*(ptr)))__gu_val; \ - __gu_err; \ -}) - -#define __get_user_1(x,addr,err) ({ \ -__asm__("stc r7_bank, %1\n\t" \ - "mov.l @(8,%1), %1\n\t" \ - "and %2, %1\n\t" \ - "cmp/pz %1\n\t" \ - "bt/s 1f\n\t" \ - " mov #0, %0\n\t" \ - "0:\n" \ - "mov #-14, %0\n\t" \ - "bra 2f\n\t" \ - " mov #0, %1\n" \ - "1:\n\t" \ - "mov.b @%2, %1\n\t" \ - "extu.b %1, %1\n" \ - "2:\n" \ - ".section __ex_table,\"a\"\n\t" \ - ".long 1b, 0b\n\t" \ - ".previous" \ - : "=&r" (err), "=&r" (x) \ - : "r" (addr) \ - : "t"); \ -}) - -#define __get_user_2(x,addr,err) ({ \ -__asm__("stc r7_bank, %1\n\t" \ - "mov.l @(8,%1), %1\n\t" \ - "and %2, %1\n\t" \ - "cmp/pz %1\n\t" \ - "bt/s 1f\n\t" \ - " mov #0, %0\n\t" \ - "0:\n" \ - "mov #-14, %0\n\t" \ - "bra 2f\n\t" \ - " mov #0, %1\n" \ - "1:\n\t" \ - "mov.w @%2, %1\n\t" \ - "extu.w %1, %1\n" \ - "2:\n" \ - ".section __ex_table,\"a\"\n\t" \ - ".long 1b, 0b\n\t" \ - ".previous" \ - : "=&r" (err), "=&r" (x) \ - : "r" (addr) \ - : "t"); \ -}) - -#define __get_user_4(x,addr,err) ({ \ -__asm__("stc r7_bank, %1\n\t" \ - "mov.l @(8,%1), %1\n\t" \ - "and %2, %1\n\t" \ - "cmp/pz %1\n\t" \ - "bt/s 1f\n\t" \ - " mov #0, %0\n\t" \ - "0:\n" \ - "mov #-14, %0\n\t" \ - "bra 2f\n\t" \ - " mov #0, %1\n" \ - "1:\n\t" \ - "mov.l @%2, %1\n\t" \ - "2:\n" \ - ".section __ex_table,\"a\"\n\t" \ - ".long 1b, 0b\n\t" \ - ".previous" \ - : "=&r" (err), "=&r" (x) \ - : "r" (addr) \ - : "t"); \ -}) -#else /* CONFIG_MMU */ #define __get_user_check(x,ptr,size) \ ({ \ long __gu_err, __gu_val; \ @@ -272,7 +169,6 @@ __asm__("stc r7_bank, %1\n\t" \ __gu_err = -EFAULT; \ __gu_err; \ }) -#endif #define __get_user_asm(x, addr, err, insn) \ ({ \ SUGIOKA Toshinobu |
From: Paul M. <le...@li...> - 2007-01-01 00:16:27
|
On Mon, Jan 01, 2007 at 01:06:10AM +0900, Nobuhiro Iwamatsu wrote: > I append the patch to correct it. > Applied, thanks. |
From: Nobuhiro I. <he...@t-...> - 2006-12-31 16:09:34
|
A Happy New Year to all ! I found the compile error in handle_BUG function. arch/sh/kernel/traps.c: In function `handle_BUG': arch/sh/kernel/traps.c:163: warning: implicit declaration of function `do_bug_verbose' arch/sh/kernel/traps.c:164: error: `TRAPA_BUG_OPCODE' undeclared (first use in this function) arch/sh/kernel/traps.c:164: error: (Each undeclared identifier is reported only once arch/sh/kernel/traps.c:164: error: for each function it appears in.) make[1]: *** [arch/sh/kernel/traps.o] Error 1 make: *** [arch/sh/kernel] Error 2 I append the patch to correct it. regards , Nobuhiro -- Nobuhiro Iwamatsu E-Mail : he...@t-... GPG ID : 3170EBE9 Signed-off-by: Nobuhiro Iwamatsu <he...@t-...> diff --git a/arch/sh/kernel/traps.c b/arch/sh/kernel/traps.c index ec11015..e91224f 100644 --- a/arch/sh/kernel/traps.c +++ b/arch/sh/kernel/traps.c @@ -156,13 +156,13 @@ static inline void do_bug_verbose(struct pt_regs *regs) { } #endif /* CONFIG_DEBUG_BUGVERBOSE */ -#endif /* CONFIG_BUG */ void handle_BUG(struct pt_regs *regs) { do_bug_verbose(regs); die("Kernel BUG", regs, TRAPA_BUG_OPCODE & 0xff); } +#endif /* CONFIG_BUG */ /* * handle an instruction that does an unaligned memory access by emulating the |
From: Paul M. <le...@li...> - 2006-12-28 16:07:17
|
On Fri, Dec 29, 2006 at 12:06:37AM +0900, Nobuhiro Iwamatsu wrote: > This patch is patch for the IRQ initialization for Solution Engine 770x. > It is a code that looks like make_ipr_irq very much. > This reason is that the code of make_ipr_irq doesn't correspond to FPGA > of interchangeable ipr. > > This is the same before as the problem of make_ipr_irq that Yoshii-san > contributed. > > I plan to solve this problem in the future. > > Could you please apply this paches ? > Applied, thanks. |
From: Paul M. <le...@li...> - 2006-12-28 16:06:36
|
On Fri, Dec 29, 2006 at 12:06:28AM +0900, Nobuhiro Iwamatsu wrote: > This patch is for Solution Engine 7750's defconfig. > please apply this paches. > Applied, thanks. |
From: Nobuhiro I. <he...@t-...> - 2006-12-28 15:08:03
|
Hi , This patch is for Solution Engine 7750's defconfig. please apply this paches. regards, Nobuhiro -- Nobuhiro Iwamatsu E-Mail : he...@t-... GPG ID : 3170EBE9 Signed-off-by: Nobuhiro Iwamatsu <he...@t-...> diff --git a/arch/sh/configs/se7750_defconfig b/arch/sh/configs/se7750_defconfig index 5d357d6..4e6e77f 100644 --- a/arch/sh/configs/se7750_defconfig +++ b/arch/sh/configs/se7750_defconfig @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Linux kernel version: 2.6.18 -# Tue Oct 3 11:49:01 2006 +# Linux kernel version: 2.6.20-rc2 +# Thu Dec 28 23:15:49 2006 # CONFIG_SUPERH=y CONFIG_RWSEM_GENERIC_SPINLOCK=y @@ -10,6 +10,11 @@ CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_HARDIRQS=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_CALIBRATE_DELAY=y +# CONFIG_GENERIC_TIME is not set +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +# CONFIG_ARCH_HAS_ILOG2_U32 is not set +# CONFIG_ARCH_HAS_ILOG2_U64 is not set CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # @@ -35,6 +40,7 @@ CONFIG_BSD_PROCESS_ACCT=y # CONFIG_AUDIT is not set CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y +CONFIG_SYSFS_DEPRECATED=y # CONFIG_RELAY is not set CONFIG_INITRAMFS_SOURCE="" # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set @@ -116,6 +122,8 @@ CONFIG_SH_SOLUTION_ENGINE=y # CONFIG_SH_LANDISK is not set # CONFIG_SH_TITAN is not set # CONFIG_SH_SHMIN is not set +# CONFIG_SH_7206_SOLUTION_ENGINE is not set +# CONFIG_SH_7619_SOLUTION_ENGINE is not set # CONFIG_SH_UNKNOWN is not set # @@ -127,6 +135,12 @@ CONFIG_CPU_SH4=y # SH-2 Processor Support # # CONFIG_CPU_SUBTYPE_SH7604 is not set +# CONFIG_CPU_SUBTYPE_SH7619 is not set + +# +# SH-2A Processor Support +# +# CONFIG_CPU_SUBTYPE_SH7206 is not set # # SH-3 Processor Support @@ -162,12 +176,14 @@ CONFIG_CPU_SUBTYPE_SH7750=y # # CONFIG_CPU_SUBTYPE_SH7770 is not set # CONFIG_CPU_SUBTYPE_SH7780 is not set +# CONFIG_CPU_SUBTYPE_SH7785 is not set # # SH4AL-DSP Processor Support # # CONFIG_CPU_SUBTYPE_SH73180 is not set # CONFIG_CPU_SUBTYPE_SH7343 is not set +# CONFIG_CPU_SUBTYPE_SH7722 is not set # # Memory management options @@ -177,6 +193,9 @@ CONFIG_PAGE_OFFSET=0x80000000 CONFIG_MEMORY_START=0x0c000000 CONFIG_MEMORY_SIZE=0x02000000 CONFIG_VSYSCALL=y +CONFIG_PAGE_SIZE_4KB=y +# CONFIG_PAGE_SIZE_8KB is not set +# CONFIG_PAGE_SIZE_64KB is not set CONFIG_SELECT_MEMORY_MODEL=y CONFIG_FLATMEM_MANUAL=y # CONFIG_DISCONTIGMEM_MANUAL is not set @@ -202,17 +221,22 @@ CONFIG_CF_BASE_ADDR=0xb8000000 # Processor features # CONFIG_CPU_LITTLE_ENDIAN=y +# CONFIG_CPU_BIG_ENDIAN is not set CONFIG_SH_FPU=y # CONFIG_SH_DSP is not set # CONFIG_SH_STORE_QUEUES is not set CONFIG_CPU_HAS_INTEVT=y +CONFIG_CPU_HAS_IPR_IRQ=y CONFIG_CPU_HAS_SR_RB=y +CONFIG_CPU_HAS_PTEA=y # # Timer support # CONFIG_SH_TMU=y -CONFIG_SH_PCLK_FREQ=50000000 +CONFIG_SH_TIMER_IRQ=16 +# CONFIG_NO_IDLE_HZ is not set +CONFIG_SH_PCLK_FREQ=33333333 # # CPU Frequency scaling @@ -231,10 +255,16 @@ CONFIG_SH_PCLK_FREQ=50000000 CONFIG_HEARTBEAT=y # +# Additional SuperH Device Drivers +# +# CONFIG_PUSH_SWITCH is not set + +# # Kernel features # # CONFIG_HZ_100 is not set CONFIG_HZ_250=y +# CONFIG_HZ_300 is not set # CONFIG_HZ_1000 is not set CONFIG_HZ=250 # CONFIG_KEXEC is not set @@ -249,8 +279,7 @@ CONFIG_PREEMPT_NONE=y CONFIG_ZERO_PAGE_OFFSET=0x00001000 CONFIG_BOOT_LINK_OFFSET=0x00800000 # CONFIG_UBC_WAKEUP is not set -CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttySC1,38400 root=/dev/nfs ip=bootp" +# CONFIG_CMDLINE_BOOL is not set # # Bus options @@ -313,11 +342,13 @@ CONFIG_IP_PNP_BOOTP=y # CONFIG_INET_TUNNEL is not set CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y +CONFIG_INET_XFRM_MODE_BEET=y CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_TCP_CONG_ADVANCED is not set CONFIG_TCP_CONG_CUBIC=y CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set # CONFIG_IPV6 is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set @@ -480,16 +511,79 @@ CONFIG_MTD_ROM=y # CONFIG_ATA_OVER_ETH is not set # +# Misc devices +# +# CONFIG_TIFM_CORE is not set + +# # ATA/ATAPI/MFM/RLL support # -# CONFIG_IDE is not set +CONFIG_IDE=y +CONFIG_IDE_MAX_HWIFS=4 +CONFIG_BLK_DEV_IDE=y + +# +# Please see Documentation/ide.txt for help/info on IDE drives +# +# CONFIG_BLK_DEV_IDE_SATA is not set +CONFIG_BLK_DEV_IDEDISK=y +# CONFIG_IDEDISK_MULTI_MODE is not set +# CONFIG_BLK_DEV_IDECD is not set +# CONFIG_BLK_DEV_IDETAPE is not set +# CONFIG_BLK_DEV_IDEFLOPPY is not set +# CONFIG_BLK_DEV_IDESCSI is not set +# CONFIG_IDE_TASK_IOCTL is not set + +# +# IDE chipset support/bugfixes +# +# CONFIG_IDE_GENERIC is not set +# CONFIG_IDE_ARM is not set +# CONFIG_BLK_DEV_IDEDMA is not set +# CONFIG_IDEDMA_AUTO is not set +# CONFIG_BLK_DEV_HD is not set # # SCSI device support # # CONFIG_RAID_ATTRS is not set -# CONFIG_SCSI is not set +CONFIG_SCSI=y +# CONFIG_SCSI_TGT is not set # CONFIG_SCSI_NETLINK is not set +CONFIG_SCSI_PROC_FS=y + +# +# SCSI support type (disk, tape, CD-ROM) +# +# CONFIG_BLK_DEV_SD is not set +# CONFIG_CHR_DEV_ST is not set +# CONFIG_CHR_DEV_OSST is not set +# CONFIG_BLK_DEV_SR is not set +# CONFIG_CHR_DEV_SG is not set +# CONFIG_CHR_DEV_SCH is not set + +# +# Some SCSI devices (e.g. CD jukebox) support multiple LUNs +# +# CONFIG_SCSI_MULTI_LUN is not set +# CONFIG_SCSI_CONSTANTS is not set +# CONFIG_SCSI_LOGGING is not set +# CONFIG_SCSI_SCAN_ASYNC is not set + +# +# SCSI Transports +# +# CONFIG_SCSI_SPI_ATTRS is not set +# CONFIG_SCSI_FC_ATTRS is not set +# CONFIG_SCSI_ISCSI_ATTRS is not set +# CONFIG_SCSI_SAS_ATTRS is not set +# CONFIG_SCSI_SAS_LIBSAS is not set + +# +# SCSI low-level drivers +# +# CONFIG_ISCSI_TCP is not set +# CONFIG_SCSI_DEBUG is not set # # Serial ATA (prod) and Parallel ATA (experimental) drivers @@ -633,17 +727,12 @@ CONFIG_HW_RANDOM=y # CONFIG_GEN_RTC is not set # CONFIG_DTLK is not set # CONFIG_R3964 is not set - -# -# Ftape, the floppy tape device driver -# # CONFIG_RAW_DRIVER is not set # # TPM devices # # CONFIG_TCG_TPM is not set -# CONFIG_TELCLOCK is not set # # I2C support @@ -659,6 +748,7 @@ CONFIG_HW_RANDOM=y # # Dallas's 1-wire bus # +# CONFIG_W1 is not set # # Hardware Monitoring support @@ -667,18 +757,14 @@ CONFIG_HWMON=y # CONFIG_HWMON_VID is not set # CONFIG_SENSORS_ABITUGURU is not set # CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_PC87427 is not set # CONFIG_SENSORS_VT1211 is not set # CONFIG_HWMON_DEBUG_CHIP is not set # -# Misc devices -# - -# # Multimedia devices # # CONFIG_VIDEO_DEV is not set -CONFIG_VIDEO_V4L2=y # # Digital Video Broadcasting Devices @@ -758,14 +844,20 @@ CONFIG_FIRMWARE_EDID=y # # +# Virtualization +# + +# # File systems # # CONFIG_EXT2_FS is not set # CONFIG_EXT3_FS is not set +# CONFIG_EXT4DEV_FS is not set # CONFIG_REISERFS_FS is not set # CONFIG_JFS_FS is not set # CONFIG_FS_POSIX_ACL is not set # CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set # CONFIG_OCFS2_FS is not set # CONFIG_MINIX_FS is not set # CONFIG_ROMFS_FS is not set @@ -814,7 +906,6 @@ CONFIG_RAMFS=y # CONFIG_BEFS_FS is not set # CONFIG_BFS_FS is not set # CONFIG_EFS_FS is not set -# CONFIG_JFFS_FS is not set CONFIG_JFFS2_FS=y CONFIG_JFFS2_FS_DEBUG=0 CONFIG_JFFS2_FS_WRITEBUFFER=y @@ -875,6 +966,11 @@ CONFIG_PARTITION_ADVANCED=y # CONFIG_NLS is not set # +# Distributed Lock Manager +# +# CONFIG_DLM is not set + +# # Profiling support # # CONFIG_PROFILING is not set @@ -882,14 +978,16 @@ CONFIG_PARTITION_ADVANCED=y # # Kernel hacking # +CONFIG_TRACE_IRQFLAGS_SUPPORT=y # CONFIG_PRINTK_TIME is not set -CONFIG_ENABLE_MUST_CHECK=y +# CONFIG_ENABLE_MUST_CHECK is not set # CONFIG_MAGIC_SYSRQ is not set # CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_DEBUG_FS is not set +# CONFIG_HEADERS_CHECK is not set # CONFIG_DEBUG_KERNEL is not set CONFIG_LOG_BUF_SHIFT=14 # CONFIG_DEBUG_BUGVERBOSE is not set -# CONFIG_DEBUG_FS is not set # CONFIG_SH_STANDARD_BIOS is not set # CONFIG_EARLY_SCIF_CONSOLE is not set # CONFIG_KGDB is not set @@ -908,6 +1006,7 @@ CONFIG_LOG_BUF_SHIFT=14 # # Library routines # +CONFIG_BITREVERSE=y # CONFIG_CRC_CCITT is not set # CONFIG_CRC16 is not set CONFIG_CRC32=y @@ -915,3 +1014,4 @@ CONFIG_CRC32=y CONFIG_ZLIB_INFLATE=y CONFIG_ZLIB_DEFLATE=y CONFIG_PLIST=y +CONFIG_IOMAP_COPY=y |