ts-7000
[Top] [All Lists]

[ts-7000] 2.6.21-ts 8250/16550 serial driver

To:
Subject: [ts-7000] 2.6.21-ts 8250/16550 serial driver
From: "trickyr67" <>
Date: Tue, 06 Apr 2010 23:15:11 -0000
I am trying to get the 8250/16550 serial driver working on the 2.6.21-ts 
kernel. I populated include/asm/serial.h with my serial port info which is 2x 
TS-ISO485 boards configured to be
ttyS0 COM5 0x89C003A8 IRQ 33
ttyS1 COM6 0x89C002A8 IRQ 33
ttyS2 COM7 0x89C003A0 IRQ 40
ttyS3 COM8 0x89C002A0 IRQ 40

However it seems that the physical I/O address is incorrect.

Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing enabled
ttyS0: autoconf (0x89c003a8, 0x00000000): <1>Unable to handle kernel paging 
request at virtual address 89c003a9
pgd = c0778000
[89c003a9] *pgd=00000000
Internal error: Oops: 5 [#1]

In the 2.4 kernel (regmap.h) the physical memory map is
/* Technologic Systems TS-7XXX physical memory map */
/* 1100_0001 - 1100_0007: IDE 8-bit registers */
/* 1040_0006 - 1040_0007: aux IDE 8-bit registers */
/* 2100_0000 - 2100_0001: IDE 16-bit data register */
/* 6000_0000 - 60f0_0000: Flash */
/* 7000_0000 - 70f0_0000: NAND Flash when TS-9240 present */

but in the 2.6 kernel (ts72xx.h)  it is
 * TS72xx memory map:
 *
 * virt         phys            size
 * febff000     22000000        4K      model number register
 * febfe000     22400000        4K      options register
 * febfd000     22800000        4K      options register #2
 * 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

What I/O address is ttyS0 at in the 2.6 kernel?

Regards,
Richard




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] 2.6.21-ts 8250/16550 serial driver, trickyr67 <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU