follow me

OpenWRTのPCIeが刺さる格安ルータ

OpenWRTが動くと言っている格安ルータを仕入れました。
OEMとかODMとかやってる処のルータなので、ルータを買ったというより基板を買ったという方がイメージ的に近い気がしますが。
入手したのは、ZBT-W826です。
$33程度で仕入れました。
PCIeとSIMスロットが欲しかっただけなのですが。。。


ケース付ですが、正直どうでもいいです。
基板だけでもよかった感。
どうせ無線は日本で使えないので邪魔なアンテナもさくっと外してしまいました。
前面にはUSBポートとmicroSDスロットが付いてます。
microSDはFlash容量が小さいので便利です。


あとは標準的なWAN 1ポート、LAN 4ポート構成。
全部100BASE-TXなので、どうでもいいです。


もちろん日本と違ってネジ穴を隠したりもしてません。


SIMスロットは基板側面についていて、ケースに入った状態では入れ替えができません。
まぁ、一度刺したら刺しなおす事は無いでしょうが。。。


今回これの為に入手しました、PCIeスロット。
OpenWRTでまだ使ったことがないので、愉しみ愉しみ。
技適通った3Gモジュールた安く入手できているので、問題なく使えたらバックアップ回線にしたいなぁ。と。


ちなみに、はじめっからOpenWRTがFlashに入ってました。
しかしバージョンは、Attitude Adjustment, r37768。
かなり古いです。
まだ、trunkにも入ってないみたいだが、patchは投稿されているので困る事は無さそう。
ビルドが終わったら、15.05-rcにしてみますかね。

元々入ってたファームの起動はこんな感じ。Luciも入ってたw
U-Boot 1.1.3 (Oct 20 2014 - 16:21:10)

SoC:MediaTek MT7620
DRAM:  Memory Testing..131072K OK. is 128 MB
relocate_code Pointer at: 87fb0000
enable ephy clock...done. rf reg 29 = 5
SSC disabled.
******************************
Software System Reset Occurred
******************************
spi_wait_nsec: 14
spi device id: ef 40 18 0 0 (40180000)
Flash: W25Q128BV
*** Warning - bad CRC, using default environment

 _______________________________________________________________
|    ____                 _                 ____               |
|   |  _ \ __ _ _ __   __| | ___  _ __ __ _| __ )  _____  __   |
|   | |_) / _` | '_ \ / _` |/ _ \| '__/ _` |  _ \ / _ \ \/ /   |
|   |  __/ (_| | | | | (_| | (_) | | | (_| | |_) | (_) >  <    |
|   |_|   \__,_|_| |_|\__,_|\___/|_|  \__,_|____/ \___/_/\_\   |
|                                                              |
|                  Ralink/MTK SDK Plantform                    |
|                    Copyright 2005-2014                       |
|                    Board:MTK MT7620A EVB                     |
|                                                              |
|                 lintel               |
|______________________________________________________________|

===============System Info==================
ASIC 7620_MP (Port5<->None)
DRAM component: 1024 Mbits DDR, width 16
DRAM bus: 16 bit
Flash component: SPI Flash
CPU Speed: 580 MHZ
RAM Size:128 Mbytes

Build Date:Oct 20 2014  Time:16:21:10
============================================

GPIO Init:
        UARTF_SHARE_MODE:GPIO
        I2C_GPIO_MODE:GPIO
GPIO_MODE_REG:0x1a311d
ReadyLED Bit:0x1

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

3: System Boot system code via Flash.

Press Reset button enter upgrade mode!
## Booting image at bc050000 ...
   Image Name:   PandoraBox Linux-3.3.8
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    994105 Bytes = 970.8 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 128

Starting kernel ...


PandoraBox For Ralink SoC. Copyright 2005-2013 Lintel


Linux Kernel started...

 THIS IS ASIC
[    0.000000] Linux version 3.3.8 (heqiang@ZBT-Server) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #20 Thu Oct 23 13:11:37 CST 2014
[    0.000000] MediaTek MT7620A CPU:580MHz, Bus:145MHz Uart:40MHz
[    0.000000] Boot form:SPI FLASH
[    0.000000] MIPS CPU sleep mode enabled.
[    0.000000]  Detecting memory...128 MB!
[    0.000000]  PCIE: bypass PCIe DLL.
[    0.000000]  PCIE: Elastic buffer control: Addr:0x68 -> 0xB4
[    0.000000]  disable all power about PCIe
[    0.000000] CPU revision is: 00019650 (MIPS 24KEc)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00008000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00008000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS1,115200n8 board=MT7620A_EVB rootfstype=squashfs
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00078c00
[    0.000000] Readback ErrCtl register=00078c00
[    0.000000] Memory: 126728k/131072k available (2371k kernel code, 4344k reserved, 393k data, 168k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] MTK/Ralink System Tick Counter init... cd:802a4920, m:214748, s:32
[    0.000000] console [ttyS1] enabled
[    0.004000] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.044000] Mount-cache hash table entries: 512
[    0.048000] NET: Registered protocol family 16
[    0.052000] Ralink/MTK BootROM maped.
[    0.056000] MIPS: machine is MediaTek MT7620A Evaluation Board
[    0.060000] Ralink Board GPIO_MODE init:
[    0.064000]  I2C:GPIO
[    0.064000]  SPI_REFCLK:GPIO
[    0.068000]  UART_F:GPIO
[    0.068000] GPIO_MODE_REGs: 0x1a311d
[    0.072000] ralink_register_flash:SPI Flash.
[    0.076000] Ralink/MTK ILL_ACC driver for MediaTek MT7620A Board. Copyright 2013 (C) lintel
[    0.080000] illegal access irq registered.
[    0.084000] General GPIO Driver for MediaTek MT7620A Board. Copyright lintel 2005-2013
[    0.088000] gpiochip_add: registered GPIOs 0 to 23 on device: MT7620-GPIO0
[    0.092000] gpiochip_add: registered GPIOs 24 to 39 on device: MT7620-GPIO1
[    0.096000] gpiochip_add: registered GPIOs 40 to 71 on device: MT7620-GPIO2
[    0.100000] gpiochip_add: registered GPIOs 72 to 95 on device: MT7620-GPIO3
[    0.200000] MT7620 PPLL lock
[    0.300000] Enable Ralink PCIe Host.
[    0.804000] MT7620 PCIe set to RC mode.
[    1.312000] No Devices,disable it (RST&CLK) for PowerSave!
[    1.324000] bio: create slab  at 0
[    1.328000] PCI host bridge to bus 0000:00
[    1.332000] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    1.336000] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    1.340000] Switching to clocksource Ralink external timer
[    1.344000] NET: Registered protocol family 2
[    1.352000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    1.356000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    1.364000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    1.372000] TCP: Hash tables configured (established 4096 bind 4096)
[    1.380000] TCP reno registered
[    1.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    1.388000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    1.396000] NET: Registered protocol family 1
[    1.400000] Ralink SoC clocks api init.
[    1.404000] Ralink GPIODEV resource maped.
[    1.408000] Load Ralink Timer0 Module
[    1.412000] Load Ralink Timer1 Module
[    1.416000] RT3xxx EHCI/OHCI init.
[    1.436000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.444000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZO) (LZMA) (RTIME) (RUBIN) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.456000] msgmni has been set to 247
[    1.460000] io scheduler noop registered
[    1.464000] io scheduler deadline registered (default)
[    1.468000] io scheduler cfq registered
[    1.472000] Ralink DMA Engine API Enable .
[    1.476000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.484000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
[    1.492000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
[    1.500000] Enable Ralink GDMA Controller Module
[    1.504000] GDMA IP Version=3
[    1.516000] loop: module loaded
[    1.520000] Ralink SPI flash Driver for PandoraBox.
[    1.524000] deice id : ef 40 18 0 0 (40180000)
[    1.528000] W25Q128BV(ef 40180000) (16384 Kbytes)
[    1.532000] mtd .name = raspi, .size = 0x01000000 (0M) .erasesize = 0x00000010 (0K) .numeraseregions = 65536
[    1.544000] Creating 5 MTD partitions on "raspi":
[    1.548000] 0x000000000000-0x000000030000 : "u-boot"
[    1.556000] 0x000000030000-0x000000040000 : "u-boot-env"
[    1.564000] 0x000000040000-0x000000050000 : "Factory"
[    1.568000] 0x000000000000-0x000001000000 : "fullflash"
[    1.576000] 0x000000050000-0x000001000000 : "firmware"
[    1.584000] Creating 2 MTD partitions on "raspi":
[    1.588000] 0x000000050000-0x000000150000 : "kernel"
[    1.596000] 0x000000150000-0x000001000000 : "rootfs"
[    1.600000] mtd: partition "rootfs" set to be root filesystem
[    1.608000] mtd: partition "rootfs_data" created automatically, ofs=5B0000, len=A50000
[    1.616000] 0x0000005b0000-0x000001000000 : "rootfs_data"
[    1.624000] rdm_major = 253
[    1.628000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[    1.632000] SMACCR1 -- : 0x000078a3
[    1.636000] SMACCR0 -- : 0x51012b9e
[    1.640000] Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocated, mtu = 1500!
[    1.648000] NAPI enable, Tx Ring = 256, Rx Ring = 256
[    1.656000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[    1.660000] SMACCR1 -- : 0x000078a3
[    1.664000] SMACCR0 -- : 0x51012b9e
[    1.668000] PROC INIT OK!
[    1.672000] Ralink APSoC Hardware Watchdog Timer
[    1.676000] SDHC Interface init.
[    1.684000] mtk-sd: MediaTek MT76xx MSDC Driver
[    1.688000] TCP cubic registered
[    1.692000] NET: Registered protocol family 17
[    1.696000] 8021q: 802.1Q VLAN Support v1.8
[    1.708000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    1.716000] Freeing unused kernel memory: 168k freed
##### MediaTek MT76xx ESW VLAN Partition(LLLLW) #####
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.
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    6.764000] JFFS2 notice: (447) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 2 orphan) and 55 of xref (0 dead, 39 orphan) found.
[    7.272000] SCSI subsystem initialized
[    7.444000] usbcore: registered new interface driver usbfs
[    7.452000] usbcore: registered new interface driver hub
[    7.456000] usbcore: registered new device driver usb
[    7.940000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.964000] rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
[    7.972000] rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
[    8.004000] rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
[    8.020000] rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00
[    8.024000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    8.032000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.040000] usb usb1: Product: Ralink EHCI Host Controller
[    8.044000] usb usb1: Manufacturer: Linux 3.3.8 ehci_hcd
[    8.048000] usb usb1: SerialNumber: rt3xxx
[    8.056000] hub 1-0:1.0: USB hub found
[    8.060000] hub 1-0:1.0: 1 port detected
[    8.168000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    8.196000] rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
[    8.200000] rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
[    8.208000] rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
[    8.272000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    8.276000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    8.284000] usb usb2: Product: RT3xxx OHCI Controller
[    8.288000] usb usb2: Manufacturer: Linux 3.3.8 ohci_hcd
[    8.296000] usb usb2: SerialNumber: rt3xxx-ohci
[    8.300000] hub 2-0:1.0: USB hub found
[    8.304000] hub 2-0:1.0: 1 port detected
[    8.348000] uhci_hcd: USB Universal Host Controller Interface driver
[    8.368000] Initializing USB Mass Storage driver...
[    8.372000] usbcore: registered new interface driver usb-storage
[    8.380000] USB Mass Storage support registered.
[    8.404000] usb 1-1: new high-speed USB device number 2 using rt3xxx-ehci
[    8.540000] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[    8.544000] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    8.552000] usb 1-1: Product: USB 2.0 Hub
[    8.560000] hub 1-1:1.0: USB hub found
[    8.564000] hub 1-1:1.0: 4 ports detected
switching to jffs2
- init -

Please press Enter to activate this console. [   10.912000] NET: Registered protocol family 10
[   11.380000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[   11.748000] PPP generic driver version 2.4.2
[   11.776000] tun: Universal TUN/TAP device driver, 1.6
[   11.780000] tun: (C) 1999-2004 Max Krasnyansky 
[   11.892000] gpiodev: gpio device registered with major 254
[   12.052000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.320000] NET: Registered protocol family 24
[   12.416000] nf_conntrack version 0.5.0 (1982 buckets, 7928 max)
[   13.292000] xt_time: kernel timezone is -0000
[   14.084000] rt2860v2_ap: module license 'Proprietary' taints kernel.
[   14.088000] Disabling lock debugging due to kernel taint
[   14.124000] PanddoraBox AP Driver version-2.7.1.6(Sep 30 2014 13:56:03).
[   14.236000] usbcore: registered new interface driver usbserial
[   14.244000] USB Serial support registered for generic
[   14.248000] usbcore: registered new interface driver usbserial_generic
[   14.256000] usbserial: USB Serial Driver core
[   14.332000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[   14.428000] USB Serial support registered for GSM modem (1-port)
[   14.436000] usbcore: registered new interface driver option
[   14.440000] option: v0.7.2:USB Driver for GSM modems
[   14.504000] mmc_spi: Unknown symbol mmc_spi_get_pdata (err 0)
[   14.508000] mmc_spi: Unknown symbol mmc_spi_put_pdata (err 0)
[   18.508000] Raeth v3.0 (NAPI,SkbRecycle)
[   18.512000]
[   18.512000] phy_tx_ring = 0x069a6000, tx_ring = 0xa69a6000
[   18.512000]
[   18.512000] phy_rx_ring0 = 0x0699e000, rx_ring0 = 0xa699e000
[   18.512000] SMACCR1 -- : 0x000078a3
[   18.512000] SMACCR0 -- : 0x51012b9e
[   18.536000] CDMA_CSG_CFG = 81000000
[   18.536000] GDMA1_FWD_CFG = 20710000
[   18.544000] device eth2.1 entered promiscuous mode
[   18.552000] device eth2 entered promiscuous mode
[   18.556000] br-lan: port 1(eth2.1) entered forwarding state
[   18.560000] br-lan: port 1(eth2.1) entered forwarding state
[   19.508000] ADDRCONF(NETDEV_CHANGE): eth2.1: link becomes ready
[   20.564000] br-lan: port 1(eth2.1) entered forwarding state
[   22.928000] EEPROM:Read from [Factory] offset 0x0,length 0x200.
[   23.436000] 0x1300 = 00064300
[   23.580000] device ra0 entered promiscuous mode
[   23.584000] br-lan: port 2(ra0) entered forwarding state
[   23.592000] br-lan: port 2(ra0) entered forwarding state
[   24.584000] Started WatchDog Timer.
[   24.584000] Started WatchDog Timer.
[   25.596000] br-lan: port 2(ra0) entered forwarding state
[   31.284000] usbcore: deregistering interface driver option
[   31.292000] USB Serial deregistering driver GSM modem (1-port)
[   31.308000] usbcore: deregistering interface driver usbserial_generic
[   31.316000] USB Serial deregistering driver generic
[   31.320000] usbcore: deregistering interface driver usbserial
[   31.340000] usbserial: `0x' invalid for parameter `vendor'



BusyBox v1.19.4 (2014-09-26 13:33:42 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


  _______________________________________________________________
 |    ____                 _                 ____               |
 |   |  _ \ __ _ _ __   __| | ___  _ __ __ _| __ )  _____  __   |
 |   | |_) / _` | '_ \ / _` |/ _ \| '__/ _` |  _ \ / _ \ \/ /   |
 |   |  __/ (_| | | | | (_| | (_) | | | (_| | |_) | (_) >  <    |
 |   |_|   \__,_|_| |_|\__,_|\___/|_|  \__,_|____/ \___/_/\_\   |
 |                                                              |
 |                  Ralink/MTK SDK Plantform                    |
 |                    Copyright 2005-2013                       |
 |                 lintel               |
 |______________________________________________________________|
  Base on OpenWrt (Attitude Adjustment, r37768)
root@ZBT:/#
OpenWRTのPCIeが刺さる格安ルータ | 0 件のコメント | アカウント登録
サイト管理者はコメントに関する責任を負いません。