User Tools

Site Tools


toh:us.robotics:usr9108

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

toh:us.robotics:usr9108 [2013/04/13 10:23]
toh:us.robotics:usr9108 [2013/06/15 19:52] (current)
Line 3: Line 3:
  
 ===== Supported Versions ===== ===== Supported Versions =====
-^ Version/​Model ^ Launch Date ^  Model Specific Notes ^ +Be aware the ADSL part will never be supported in OpenWrt in this and other bcm6348 routers.
-| A   | 2005-05 | - | +
-| B |  -  | - |+
  
 +^ Version ^ CFE Board Id ^ Supported ^  Model Specific Notes ^
 +| A | 96348GW-A |  **yes** ​ | - |
 +| B | 96348GW-B |  **no** ​ | - |
  
-**NOTE:** Anything not included in model specific notesor where a short comment couldn'​t be included on the [[#notes]].+Version A and version B are identical, the only one difference is the Board Id. 
 + 
 +[[#notes]].
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 374: Line 377:
  
 Special thanks to [[http://​blog.dvl.pl/​tag/​usr9108//​|Karol]] for the photos ​ --- //danitool 2012/03/09 11:32// Special thanks to [[http://​blog.dvl.pl/​tag/​usr9108//​|Karol]] for the photos ​ --- //danitool 2012/03/09 11:32//
 +
 +
 +==== Board parameters ====
 +Version A and version B have identical board parameters. Some leds and buttons weren'​t added to OpenWrt (a patch is needed to solve it).
 +
 +From the OEM sourcecode:
 +<​code>​static BOARD_PARAMETERS g_bcm96348gw =
 +{
 +    "​96348GW-A", ​                           /* szBoardId */
 +    {{BP_ENET_NO_PHY}, ​                     /* ucPhyType */
 +     ​{BP_ENET_EXTERNAL_SWITCH, ​             /* ucPhyType */
 +      0x00,                                 /* ucPhyAddress */
 +      BP_NOT_DEFINED, ​                      /* usGpioPhySpiSck */
 +      BP_NOT_DEFINED, ​                      /* usGpioPhySpiSs */
 +      BP_NOT_DEFINED, ​                      /* usGpioPhySpiMosi */
 +      BP_NOT_DEFINED, ​                      /* usGpioPhySpiMiso */
 +      BP_NOT_DEFINED, ​                      /* usGpioPhyReset */
 +      0x04,                                 /* numSwitchPorts */
 +      BP_ENET_CONFIG_SPI_SSB_0, ​            /* usConfigType */
 +      BP_ENET_REVERSE_MII}}, ​               /* usReverseMii */
 +    {{BP_VOIP_NO_DSP}, ​                     /* ucDspType */
 +     ​{BP_VOIP_NO_DSP}}, ​                    /* ucDspType */
 +    BP_MEMORY_16MB_2_CHIP, ​                 /* usSdramSize */
 +    BP_PSI_DEFAULT_SIZE, ​                   /* usPsiSize */
 +    BP_NOT_DEFINED, ​                        /* usGpioRj11InnerPair */
 +    BP_NOT_DEFINED, ​                        /* usGpioRj11OuterPair */
 +    BP_GPIO_33_AL, ​                         /* usGpioPressAndHoldReset */
 +    BP_NOT_DEFINED, ​                        /* usGpioPcmciaReset */
 +    BP_NOT_DEFINED, ​                        /* usGpioUartRts */
 +    BP_NOT_DEFINED, ​                        /* usGpioUartCts */
 +    BP_NOT_DEFINED, ​                        /* usGpioLedAdsl */
 +    BP_GPIO_2_AL, ​                          /* usGpioLedAdslFail */
 +    BP_NOT_DEFINED, ​                        /* usGpioLedWireless */
 +    BP_GPIO_0_AL, ​                          /* usGpioLedUsb */
 +    BP_NOT_DEFINED, ​                        /* usGpioLedHpna */
 +    BP_GPIO_3_AL, ​                          /* usGpioLedWanData */
 +    BP_GPIO_3_AL, ​                          /* usGpioLedPpp */
 +    BP_GPIO_4_AL, ​                          /* usGpioLedPppFail */
 +    BP_GPIO_0_AL, ​                          /* usGpioLedBlPowerOn */
 +    BP_NOT_DEFINED, ​                        /* usGpioLedBlAlarm */
 +    BP_GPIO_3_AL, ​                          /* usGpioLedBlResetCfg */
 +    BP_GPIO_1_AL, ​                          /* usGpioLedBlStop */
 +    BP_NOT_DEFINED, ​                        /* usExtIntrWireless */
 +    BP_HW_DEFINED, ​                         /* usExtIntrAdslDyingGasp */
 +    BP_NOT_DEFINED, ​                        /* usExtIntrHpna */
 +    BP_NOT_DEFINED, ​                        /* usCsHpna */
 +    BP_WLAN_ANT_MAIN, ​                      /* usAntInUseWireless */
 +    BP_GPIO_35_AH, ​                         /* usGpioSesBtnWireless */
 +    BP_EXT_INTR_3, ​                         /* usExtIntrSesBtnWireless */
 +    BP_NOT_DEFINED ​ /* BP_GPIO_0_AL ​  ​*/ ​   /* usGpioLedSesWireless */
 +};</​code>​
 +
 +Then the board parameters at build_dir/​linux-brcm63xx/​linux-3.3.8/​arch/​mips/​bcm63xx/​boards/​board_bcm963xx.c should be something like this:
 +<code c>
 +static struct board_info __initdata board_96348gw_a = {
 + .name = "​96348GW-A",​
 + .expected_cpu_id = 0x6348,
 +
 + .has_uart0 = 1,
 + .has_enet1 = 1,
 + .has_pci = 1,
 +
 + .enet1 = {
 + .force_speed_100 = 1,
 + .force_duplex_full = 1,
 + },
 +
 + .has_ohci0 = 1,
 +
 + .leds = {
 + {
 + .name = "​96348GW-A::​power",​
 + .gpio = 0,
 + .active_low = 1,
 + .default_trigger = "​default-on",​
 + }
 + {
 + .name = "​96348GW-A::​wifi",​
 + .gpio = 1,
 + .active_low = 1,
 + }
 + {
 + .name = "​96348GW-A::​adsl",​
 + .gpio = 2,
 + .active_low = 1,
 + }
 + {
 + .name = "​96348GW-A::​internet",​
 + .gpio = 3,
 + .active_low = 1,
 + },
 + {
 + .name = "​96348GW-A::​printer",​
 + .gpio = 4,
 + .active_low = 1,
 + },
 + },
 +
 + .buttons = {
 + {
 + .desc = "​reset",​
 + .gpio = 33,
 + .active_low = 1,
 + .type = EV_KEY,
 + .code = KEY_RESTART,​
 + .debounce_interval = BCM963XX_KEYS_DEBOUNCE_INTERVAL,​
 + },
 + },
 +};</​code>​
 +check GPIOs numbers to match the name of each led
  
 ===== Tags ===== ===== Tags =====
 For some Help with the Tags, please have a look here: [[meta/​tags]] For some Help with the Tags, please have a look here: [[meta/​tags]]
  
-{{tag>​bcm63xx bcm6348 FastEthernet 4Port 1PHY USB b43 16RAM 4Flash MIPS MIPS32}}+{{tag>​bcm63xx bcm6348 FastEthernet ​1NIC 1WNIC 4Port USB b43 16RAM 4Flash MIPS MIPS32}}
toh/us.robotics/usr9108.1365841406.txt.bz2 · Last modified: 2013/04/13 10:23 (external edit)