タグ: WHR-300HP2

WHR-300HP2

偶然某氏から頂くことができたため、早速筐体を開けた。以下今後必要になる可能性もあるのでデータを書き残し

雑感

筐体が非常に開けづらい。ツメがリア側を除き一辺あたり3か所ほどあり引っ掛かりが固いほか、今まで開けたことがあるWSR, WZR系列と筐体の構造が異なり、はめ込みの境目を見誤るなどした。

  • uname -a
    # uname -a
    Linux (none) 2.6.36 #17 Fri Jun 20 20:33:39 CST 2014 mips unknown
    

  • cat /proc/version
    # cat /proc/version
    Linux version 2.6.36 (root@SWD1-CVS3) (gcc version 3.4.2) #17 Fri Jun 20 20:33:39 CST 2014
    

  • cat /proc/cpuinfo
    # cat /proc/cpuinfo
    system type             : Ralink SoC
    processor               : 0
    cpu model               : MIPS 24Kc V5.0
    BogoMIPS                : 386.04
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ff8, 0x0ff8, 0x0eeb, 0x0ff8]
    ASEs implemented        : mips16 dsp
    shadow register sets    : 1
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    

  • cat /proc/mtd
    # cat /proc/mtd    
    dev:    size   erasesize  name
    mtd0: 00030000 00010000 "Bootloader"
    mtd1: 00010000 00010000 "Config"
    mtd2: 00010000 00010000 "Factory"
    mtd3: 005b0000 00010000 "Kernel"
    mtd4: 00100000 00010000 "User_CFG"
    

  • ls -al /dev/mtd*
    # ls -al /dev/mtd*  
    brw-rw----    1 0        0         31,   7 /dev/mtdblock7
    brw-rw----    1 0        0         31,   6 /dev/mtdblock6
    brw-rw----    1 0        0         31,   5 /dev/mtdblock5
    brw-rw----    1 0        0         31,   4 /dev/mtdblock4
    brw-rw----    1 0        0         31,   3 /dev/mtdblock3
    brw-rw----    1 0        0         31,   2 /dev/mtdblock2
    brw-rw----    1 0        0         31,   1 /dev/mtdblock1
    brw-rw----    1 0        0         31,   0 /dev/mtdblock0
    crw-rw----    1 0        0         90,  15 /dev/mtd7ro
    crw-rw----    1 0        0         90,  14 /dev/mtd7
    crw-rw----    1 0        0         90,  13 /dev/mtd6ro
    crw-rw----    1 0        0         90,  12 /dev/mtd6
    crw-rw----    1 0        0         90,  11 /dev/mtd5ro
    crw-rw----    1 0        0         90,  10 /dev/mtd5
    crw-rw----    1 0        0         90,   9 /dev/mtd4ro
    crw-rw----    1 0        0         90,   8 /dev/mtd4
    crw-rw----    1 0        0         90,   7 /dev/mtd3ro
    crw-rw----    1 0        0         90,   6 /dev/mtd3
    crw-rw----    1 0        0         90,   5 /dev/mtd2ro
    crw-rw----    1 0        0         90,   4 /dev/mtd2
    crw-rw----    1 0        0         90,   3 /dev/mtd1ro
    crw-rw----    1 0        0         90,   2 /dev/mtd1
    crw-rw----    1 0        0         90,   1 /dev/mtd0ro
    crw-rw----    1 0        0         90,   0 /dev/mtd0
    

  • bootlog
    U-Boot 1.1.3 (Apr  3 2013 - 20:22:35)
    
    Board: Ralink APSoC DRAM:  64 MB
    relocate_code Pointer at: 83fb4000
    enable ephy clock...done. rf reg 29 = 5
    SSC disabled.
    ******************************
    Software System Reset Occurred
    ******************************
    spi_wait_nsec: 29 
    spi device id: 1 2 16 4d 0 (2164d00)
    find flash: S25FL064P
    raspi_read: from:30000 len:1000 
    raspi_read: from:30000 len:1000 
    *** Check if data is correct or not...
    *** Data is correct.
    ============================================ 
    Ralink UBoot Version: 4.1.1.0
    Buffalo UBoot Version: 3.00
    -------------------------------------------- 
    ASIC 7620_MP (Port5<->None)
    DRAM component: 512 Mbits DDR, width 16
    DRAM bus: 16 bit
    Total memory: 64 MBytes
    Flash component: SPI Flash
    Date:Apr  3 2013  Time:20:22:35
    ============================================ 
    icache: sets:512, ways:4, linesz:32 ,total:65536
    dcache: sets:256, ways:4, linesz:32 ,total:32768 
    
     ##### The CPU freq = 580 MHZ #### 
     estimate memory size =64 Mbytes
    
    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       2: Load system code then write to Flash via TFTP. 
       3: Boot system code via Flash (default).
       4: Entr boot command line interface.
       7: Load Boot Loader code then write to Flash via Serial. 
       9: Load Boot Loader code then write to Flash via TFTP. 
                                                                                                                                  0 
    aossgpio=[8192]
       
    3: System Boot system code via Flash.
    raspi_read: from:30000 len:10000 
    Erasing SPI Flash...
    raspi_erase: offs:30000 len:10000
    .
    Writing to SPI Flash...
    raspi_write: to:30000 len:10000 
    .
    done
    ## Booting image at bc050000 ...
    raspi_read: from:50000 len:40 
       Image Name:   Linux Kernel Image
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    5470848 Bytes =  5.2 MB
       Load Address: 80000000
       Entry Point:  8000c310
    raspi_read: from:50040 len:537a80 
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 8000c310) ...
    ## Giving linux memsize in MB, 64
    
    Starting kernel ...
    
    
    LINUX started...
    
     THIS IS ASIC
    Linux version 2.6.36 (root@SWD1-CVS3) (gcc version 3.4.2) #17 Fri Jun 20 20:33:39 CST 2014
    
     The CPU feqenuce set to 580 MHz
     PCIE: bypass PCIe DLL.
     PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
     disable all power about PCIe
    CPU revision is: 00019650 (MIPS 24Kc)
    Determined physical RAM map:
     memory: 04000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00004000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00004000
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
    Kernel command line: console=ttyS1,57600n8 root=/dev/ram0 console=ttyS0
    PID hash table entries: 256 (order: -2, 1024 bytes)
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    Writing ErrCtl register=0003ff78
    Readback ErrCtl register=0003ff78
    Memory: 55768k/65536k available (4324k kernel code, 9768k reserved, 808k data, 3848k init, 0k highmem)
    NR_IRQS:128
    console [ttyS1] enabled
    Calibrating delay loop... 386.04 BogoMIPS (lpj=772096)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    RALINK_GPIOMODE = 1a311c
    RALINK_GPIOMODE = 18311c
    PPLL_CFG1=0xe68000
    MT7620 PPLL lock
    PPLL_DRV =0x80080504
    start PCIe register access
    RALINK_PCI_PCICFG_ADDR = 1000f0
    
    *************** MT7620 PCIe RC mode *************
    PCIE0 no card, disable it(RST&CLK)
    bio: create slab <bio-0> at 0
    vgaarb: loaded
    SCSI subsystem initialized
    Switching to clocksource MIPS
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 2048 bind 2048)
    TCP reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    fuse init (API version 7.15)
    msgmni has been set to 108
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    io scheduler noop registered (default)
    HDLC line discipline maxframe=4096
    N_HDLC line discipline registered.
    #####GPIOMODE = 18111c#####
    Ralink gpio driver initialized
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
    serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
    brd: module loaded
    flash0: started
    deice id : 1 2 16 4d 0 (2164d00)
    S25FL064P(01 2164d00) (8192 Kbytes)
    mtd .name = raspi, .size = 0x00800000 (0M) .erasesize = 0x00000008 (0K) .numeraseregions = 65536
    Creating 5 MTD partitions on "raspi":
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000050000 : "Factory"
    0x000000050000-0x000000600000 : "Kernel"
    0x000000600000-0x000000700000 : "User_CFG"
    rdm_major = 253
    SMACCR1 -- : 0x0000000c
    SMACCR0 -- : 0x43762077
    Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocated, mtu = 1500!
    SMACCR1 -- : 0x0000000c
    SMACCR0 -- : 0x43762077
    PROC INIT OK!
    PPP generic driver version 2.4.2
    PPP BSD Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    
    
    === pAd = c0156000, size = 808880 ===
    
    <-- RTMPAllocTxRxRingMemory, Status=0
    <-- RTMPAllocAdapterBlock, Status=0
    AP Driver version-2.7.1.5
    Ralink APSoC Hardware Watchdog Timer
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (871 buckets, 3484 max)
    ctnetlink v0.93: registering with nfnetlink.
    IPVS: Registered protocols ()
    IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
    IPVS: ipvs loaded.
    ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
    TCP cubic registered
    NET: Registered protocol family 17
    L2TP core driver, V2.0
    PPPoL2TP kernel driver, V2.0
    802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    All bugs added by David S. Miller <davem@redhat.com>
    Freeing unused kernel memory: 3848k freed
    init started: BusyBox v1.12.1 (2014-Algorithmics/MIPS FPU Emulator v1.5
    06-20 20:22:30 CST)
    starting pid 28, tty '': '/etc_ro/rcS'
    led=9, on=1, off=1, blinks,=4000, reset=1, time=4000
    devpts: called with bogus options
    mount: mounting none on /proc/bus/usb failed: No such file or directory
    Welcome to
        _______  _______  ___     __  ____   _  _   ___
        |  ___  \|   __  ||   |   |__||    \ | || | /  /
        | |___| ||  |__| ||   |__  __ |     \| || |/  /
        |   _   /|   _   ||      ||  || |\     ||     \
        |__| \__\|__| |__||______||__||_| \____||_|\___\
    
                         =System Architecture Department=
    
    [check_jffs]80 : JFFS_OK
    Set: phy[0].reg[0] = 3100
    Set: phy[1].reg[0] = 3100
    Set: phy[2].reg[0] = 3100
    Set: phy[3].reg[0] = 3100
    Set: phy[4].reg[0] = 3100
    nvram_init: INFO=>nvram MAC initialized successfully!
    ==>shm_init()!!
    check_shm_hash: Check shm hash value
    hashNum are the same with WIFITxRate1, -1718058408!!!
    nvram_init: INFO=>nvram conf initialized successfully!
    nvram_init: INFO=> RAM CONF successful created!
    nvram_init: INFO=> RC.CONF successful created!
    ---------------- Get WLAN MAC cc:e1:d5:74:09:f4---------------
    Tue Jan  1 00:00:00 UTC 2013
    switch reg write offset=2004, value=ff0003
    switch reg write offset=2104, value=ff0003
    switch reg write offset=2204, value=ff0003
    switch reg write offset=2304, value=ff0003
    switch reg write offset=2404, value=ff0003
    switch reg write offset=2504, value=ff0003
    switch reg write offset=2010, value=810000c0
    switch reg write offset=2110, value=810000c0
    switch reg write offset=2210, value=810000c0
    switch reg write offset=2310, value=810000c0
    switch reg write offset=2410, value=810000c0
    switch reg write offset=2510, value=810000c0
    switch reg write offset=2610, value=81000000
    switch reg write offset=2710, value=81000000
    switch reg write offset=2604, value=20ff0003
    switch reg write offset=2704, value=20ff0003
    Special Tag Disabled
    switch reg write offset=2610, value=81000000
    switch reg write offset=2014, value=10001
    switch reg write offset=2114, value=10001
    switch reg write offset=2214, value=10001
    switch reg write offset=2314, value=10001
    switch reg write offset=2414, value=10002
    switch reg write offset=2514, value=10001
    REG_ESW_WT_MAC_ATC is 0x7ff0002
    done.
    input_access=[3]
    echo 3 > /proc/lan_wlan_access_controller
    route: ioctl 0x890c failed: No such process
    /usr/shell/udhcpc.sh stop ok
    killall: httpd: no process killed
    route: resolving dev
    Interface doesn't accept private ioctl...
    set (8BE2): Network is down
    killall: wscd: no process killed
    Interface doesn't accept private ioctl...
    set (8BE2): Network is down
    Interface doesn't accept private ioctl...
    set (8BE2): Network is down
    bridge_restart: restart Static Route ...
    set_br_iso_mac: reset MAC done
    set_br_iso_mac: bridge mode, static IP mode
    START add route..............
    getbootloaderenv : bootloader_ver =3.00
    psntpdate: Name or service not known
    
    ***** g_wl_interface = ra0 ******
    
    MAX_NUM_SESSIONS : 5; NUM_SEES: 64 
    [Enter Test] in wlan_led_ctrl.c main()
    .CAN'T FIND G_band_led
    brctl setwlanforward br0 15
    route: ioctl 0x890b failed: File exists
    libupnp: using UDP SSDP_PORT = 1900
    CAN'T FIND WDS_AOSS_Running
    CAN'T FIND pptp_dhcp_lock
    set_br_iso_mac: reset MAC done
    set_br_iso_mac: bridge mode, static IP mode
    starting pid 394, tty '/dev/ttyS1': '/bin/sh'
    
    
    BusyBox v1.12.1 (2014-06-20 20:22:30 CST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    # killall: psntpdate: no process killed
    

広告