OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [Documentation/] [isdn/] [README.icn] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
$Id: README.icn,v 1.1 2005-12-20 10:06:00 jcastillo Exp $
$Id: README.icn,v 1.1 2005-12-20 10:06:00 jcastillo Exp $
You can get the ICN-ISDN-card from:
You can get the ICN-ISDN-card from:
Thinking Objects Software GmbH
Thinking Objects Software GmbH
Versbacher Röthe 159
Versbacher Röthe 159
97078 Würzburg
97078 Würzburg
Tel: +49 931 2877950
Tel: +49 931 2877950
Fax: +49 931 2877951
Fax: +49 931 2877951
email info@think.de
email info@think.de
WWW   http:/www.think.de
WWW   http:/www.think.de
The card communicates with the PC by two interfaces:
The card communicates with the PC by two interfaces:
  1. A range of 4 successive port-addresses, whose base address can be
  1. A range of 4 successive port-addresses, whose base address can be
     configured with the switches.
     configured with the switches.
  2. A memory window with 16KB-256KB size, which can be setup in 16k steps
  2. A memory window with 16KB-256KB size, which can be setup in 16k steps
     over the whole range of 16MB. Isdn4linux only uses a 16k window.
     over the whole range of 16MB. Isdn4linux only uses a 16k window.
     The base address of the window can be configured when loading
     The base address of the window can be configured when loading
     the lowlevel-module (see README). If using more than one card,
     the lowlevel-module (see README). If using more than one card,
     all cards are mapped to the same window and activated as needed.
     all cards are mapped to the same window and activated as needed.
Setting up the IO-address dipswitches for the ICN-ISDN-card:
Setting up the IO-address dipswitches for the ICN-ISDN-card:
  Two types of cards exist, one with dip-switches and one with
  Two types of cards exist, one with dip-switches and one with
  hook-switches.
  hook-switches.
  1. Setting for the card with hook-switches:
  1. Setting for the card with hook-switches:
     (0 = switch closed, 1 = switch open)
     (0 = switch closed, 1 = switch open)
     S3 S2 S1  Base-address
     S3 S2 S1  Base-address
      0  0  0  0x300
      0  0  0  0x300
      0  0  1  0x310
      0  0  1  0x310
      0  1  0  0x320 (Default for isdn4linux)
      0  1  0  0x320 (Default for isdn4linux)
      0  1  1  0x330
      0  1  1  0x330
      1  0  0  0x340
      1  0  0  0x340
      1  0  1  0x350
      1  0  1  0x350
      1  1  0  0x360
      1  1  0  0x360
      1  1  1  NOT ALLOWED!
      1  1  1  NOT ALLOWED!
  2. Setting for the card with dip-switches:
  2. Setting for the card with dip-switches:
     (0 = switch closed, 1 = switch open)
     (0 = switch closed, 1 = switch open)
     S1 S2 S3 S4  Base-Address
     S1 S2 S3 S4  Base-Address
      0  0  0  0  0x300
      0  0  0  0  0x300
      0  0  0  1  0x310
      0  0  0  1  0x310
      0  0  1  0  0x320 (Default for isdn4linux)
      0  0  1  0  0x320 (Default for isdn4linux)
      0  0  1  1  0x330
      0  0  1  1  0x330
      0  1  0  0  0x340
      0  1  0  0  0x340
      0  1  0  1  0x350
      0  1  0  1  0x350
      0  1  1  0  0x360
      0  1  1  0  0x360
      0  1  1  1  NOT ALLOWED!
      0  1  1  1  NOT ALLOWED!
      1  0  0  0  0x308
      1  0  0  0  0x308
      1  0  0  1  0x318
      1  0  0  1  0x318
      1  0  1  0  0x328
      1  0  1  0  0x328
      1  0  1  1  0x338
      1  0  1  1  0x338
      1  1  0  0  0x348
      1  1  0  0  0x348
      1  1  0  1  0x358
      1  1  0  1  0x358
      1  1  1  0  0x368
      1  1  1  0  0x368
      1  1  1  1  NOT ALLOWED!
      1  1  1  1  NOT ALLOWED!
The ICN driver either may be build into kernel or as a module. Initialization
The ICN driver either may be build into kernel or as a module. Initialization
depends on how the drive is built:
depends on how the drive is built:
Driver built into the kernel:
Driver built into the kernel:
  The ICN driver can be configured using the commandline-feature while
  The ICN driver can be configured using the commandline-feature while
  loading the kernel with LILO or LOADLIN. It accepts the following syntax:
  loading the kernel with LILO or LOADLIN. It accepts the following syntax:
  icn=p,m[,idstring1[,idstring2]]
  icn=p,m[,idstring1[,idstring2]]
  where
  where
    p = portbase      (default: 0x320)
    p = portbase      (default: 0x320)
    m = shared memory (default: 0xd0000)
    m = shared memory (default: 0xd0000)
  When using the ICN double card (4B), you MUST define TWO idstrings.
  When using the ICN double card (4B), you MUST define TWO idstrings.
  idstring must start with a character! There is no way for the driver
  idstring must start with a character! There is no way for the driver
  to distinguish between a 2B and 4B type card. Therefore, by supplying
  to distinguish between a 2B and 4B type card. Therefore, by supplying
  TWO idstrings, you tell the driver that you have a 4B installed.
  TWO idstrings, you tell the driver that you have a 4B installed.
  If you like to use more than one card, you can use the program
  If you like to use more than one card, you can use the program
  "icnctrl" from the utility-package to configure additional cards.
  "icnctrl" from the utility-package to configure additional cards.
  You need to configure shared memory only once, since the icn-driver
  You need to configure shared memory only once, since the icn-driver
  maps all cards into the same address-space.
  maps all cards into the same address-space.
  Using the "icnctrl"-utility, portbase and shared memory can also be
  Using the "icnctrl"-utility, portbase and shared memory can also be
  changed during runtime.
  changed during runtime.
  The D-channel protocol is configured by loading different firmware
  The D-channel protocol is configured by loading different firmware
  into the card's memory using the "icnctrl"-utility.
  into the card's memory using the "icnctrl"-utility.
Driver built as module:
Driver built as module:
  The module icn.o can be configured during "insmod'ing" it by
  The module icn.o can be configured during "insmod'ing" it by
  appending its parameters to the insmod-commandline. The following
  appending its parameters to the insmod-commandline. The following
  syntax is accepted:
  syntax is accepted:
    portbase=p membase=m icn_id=idstring [icn_id2=idstring2]
    portbase=p membase=m icn_id=idstring [icn_id2=idstring2]
  where p, m, idstring1 and idstring2 have the same meanings like
  where p, m, idstring1 and idstring2 have the same meanings like
  parameters described for the kernel-version above.
  parameters described for the kernel-version above.
  When using the ICN double card (4B), you MUST define TWO idstrings.
  When using the ICN double card (4B), you MUST define TWO idstrings.
  idstring must start with a character! There is no way for the driver
  idstring must start with a character! There is no way for the driver
  to distinguish between a 2B and 4B type card. Therefore, by supplying
  to distinguish between a 2B and 4B type card. Therefore, by supplying
  TWO idstrings, you tell the driver that you have a 4B installed.
  TWO idstrings, you tell the driver that you have a 4B installed.
  Using the "icnctrl"-utility, the same features apply to the modularized
  Using the "icnctrl"-utility, the same features apply to the modularized
  version like to the kernel-builtin one.
  version like to the kernel-builtin one.
  The D-channel protocol is configured by loading different firmware
  The D-channel protocol is configured by loading different firmware
  into the card's memory using the "icnctrl"-utility.
  into the card's memory using the "icnctrl"-utility.
Loading the firmware into the card:
Loading the firmware into the card:
  The firmware is supplied together with the isdn4k-utils package. It
  The firmware is supplied together with the isdn4k-utils package. It
  can be found in the subdirectory icnctrl/firmware/
  can be found in the subdirectory icnctrl/firmware/
  There are 3 files:
  There are 3 files:
    loadpg.bin   - Image of the bootstrap loader.
    loadpg.bin   - Image of the bootstrap loader.
    pc_1t_ca.bin - Image of firmware for german 1TR6 protocol.
    pc_1t_ca.bin - Image of firmware for german 1TR6 protocol.
    pc_eu_ca.bin - Image if firmware for EDSS1 (Euro-ISDN) protocol.
    pc_eu_ca.bin - Image if firmware for EDSS1 (Euro-ISDN) protocol.
  Assumed you have installed the utility-package correctly, the firmware
  Assumed you have installed the utility-package correctly, the firmware
  will be downloaded into the 2B-card using the following command:
  will be downloaded into the 2B-card using the following command:
    icnctrl -d Idstring load /etc/isdn/loadpg.bin /etc/isdn/pc_XX_ca.bin
    icnctrl -d Idstring load /etc/isdn/loadpg.bin /etc/isdn/pc_XX_ca.bin
  where XX is either "1t" or "eu", depending of the D-Channel protocol
  where XX is either "1t" or "eu", depending of the D-Channel protocol
  used on your S0-bus and Idstring is the Name of the card, given during
  used on your S0-bus and Idstring is the Name of the card, given during
  insmod-time or (for kernel-builtin driver) on the kernel commandline.
  insmod-time or (for kernel-builtin driver) on the kernel commandline.
  To load a 4B-card, the same command is used, except a second firmware
  To load a 4B-card, the same command is used, except a second firmware
  file is appended to the commandline of icnctrl.
  file is appended to the commandline of icnctrl.
  -> After dowloading firmware, the two LEDs at the back cover of the card
  -> After dowloading firmware, the two LEDs at the back cover of the card
     (ICN-4B: 4 LEDs) must be blinking intermittently now. If a connection
     (ICN-4B: 4 LEDs) must be blinking intermittently now. If a connection
     is up, the corresponding led is lit continuously.
     is up, the corresponding led is lit continuously.
  For further documentation (adding more ICN-cards), refer to the manpage
  For further documentation (adding more ICN-cards), refer to the manpage
  icnctrl.8 which is included in the isdn4k-utils package.
  icnctrl.8 which is included in the isdn4k-utils package.
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.