follow me

DANBOARD 無線LANルーター DB-WRT01をOpenWrt化したよ

DANBOARD 無線LANルーター DB-WRT01が昨日発売されたよ。
OpenWrt動かしたよっ!
って事で、OpenWrt trunk用のパッチを公開します。
動作確認が一通り問題無ければ、OpenWrtにパッチ投稿を予定しています。

外箱もダンボーですよ。
これはなかなか嬉しい。
茶箱がいい感じになってます。


片側からは、中のルータが見えています。
思ったよりサイズは小さいです。


ダンボーに合わせたデザインの外箱。


ルータ本体は目がLEDになってます。
夜見たら少し怖いかもwww


EthernetポートはWANとLANの1ポート毎、電源はmicroUSBになっています。
小型なルータではよくある構成でしょうか。


リボルテックダンボーに取り付ける為の穴も開いているとの事なのですが、リボルテックダンボーはもっていないので割愛。
だれか試してください。
Amazonで迷ったのは秘密です。


開封には注意を。
爪位置はかなり深いです。
片側がなかなか開かないので、壊したくないとか開封が苦手な人は諦めた方が良いかと。


基板は綺麗に収まっています。
こういう感じは個人的に好きです。


基板上にUSBホストと思われるパターンが存在。
間の表面実装部品も乗っていなさそうなのでコネクタを付ければ使えるといったたぐいではないが、表面実装含めて追加してみるハックも可能かもしれない。


無線のチップを載せるだろうパターンも存在しており、汎用性ももたせてある基板の模様。
一つ残念なシリアルパターンがスルーホールではない。
スルーホールであればピンを立ててしまうのだが、パターンしかないので線を引っ張る事になります。
パターン自体は大きいので、簡単です。



で、OpenWrt trunk(r46569)になりました。
細かい部分はまだテストしていないので、テスト後にパッチは投稿します。


今回作成したパッチです。
trunk(r46569)を元に作成しています。
openwrt_r46569_add_db-wrt01.patch

ファーム本体もアップしておきます。
このファームウェアは、日本国内で使用される事を意図したものではありません。使用は自己責任でお願い致します。
純正ファーム管理画面からの書換えは現在存在しません。シリアルでu-bootにアクセスしての書換えのみ動作確認しています。
openwrt-ramips-mt7620-db-wrt01-initramfs-uImage.bin
openwrt-ramips-mt7620-db-wrt01-squashfs-sysupgrade.bin

MD5はこちら。
b0a636db972e972e06fb623d11f6531e *openwrt-ramips-mt7620-db-wrt01-initramfs-uImage.bin
99c76486a53f2d992ad0bda476f90907 *openwrt-ramips-mt7620-db-wrt01-squashfs-sysupgrade.bin


OpenWRT化された起動ログ。
U-Boot 1.1.3 (Apr 11 2013 - 17:02:09)

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: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
raspi_read: from:30000 len:1000 
raspi_read: from:30000 len:1000 
============================================ 
Ralink UBoot Version: 4.1.1.0_a2
-------------------------------------------- 
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 11 2013  Time:17:02:09
============================================ 
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. 
   a: Auto load system code then write to Flash via TFTP. 
 2  1  0 
   
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40 
   Image Name:   MIPS OpenWrt Linux-3.18.19
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1140310 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:116656 
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 3.18.19 (dev@mt7620) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46569) ) #6 Thu Aug 6 04:51:55 JST 2015
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: Ralink MT7620A ver:2 eco:6
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Planex DB-WRT01
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[    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] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=000473a0
[    0.000000] Readback ErrCtl register=000473a0
[    0.000000] Memory: 61360K/65536K available (2519K kernel code, 127K rwdata, 516K rodata, 156K init, 186K bss, 4176K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 580MHz
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.010000] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090000] pinctrl core: initialized pinctrl subsystem
[    0.100000] NET: Registered protocol family 16
[    0.430000] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK)
[    0.440000] mt7620-pci: probe of 10140000.pcie failed with error -1
[    0.460000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.470000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.480000] rt2880_gpio 10000638.gpio: registering 16 gpios
[    0.490000] rt2880_gpio 10000638.gpio: registering 16 irq handlers
[    0.500000] Switched to clocksource systick
[    0.510000] NET: Registered protocol family 2
[    0.510000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.530000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.540000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.550000] TCP: reno registered
[    0.560000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.570000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.580000] NET: Registered protocol family 1
[    0.590000] rt-timer 10000100.timer: maximum frequency is 2441Hz
[    0.610000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.650000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.670000] msgmni has been set to 119
[    0.680000] io scheduler noop registered
[    0.690000] io scheduler deadline registered (default)
[    0.700000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[147]
[    0.710000] drivers/phy/phy-ralink-usb.c:ralink_usb_phy_probe[161]
[    0.720000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.730000] console [ttyS0] disabled
[    0.740000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[    0.760000] console [ttyS0] enabled
[    0.760000] console [ttyS0] enabled
[    0.770000] bootconsole [early0] disabled
[    0.770000] bootconsole [early0] disabled
[    0.790000] m25p80 spi32766.0: found mx25l6405d, expected en25q64
[    0.810000] m25p80 spi32766.0: mx25l6405d (8192 Kbytes)
[    0.820000] 4 ofpart partitions found on MTD device spi32766.0
[    0.830000] Creating 4 MTD partitions on "spi32766.0":
[    0.840000] 0x000000000000-0x000000030000 : "u-boot"
[    0.850000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.860000] 0x000000040000-0x000000050000 : "factory"
[    0.870000] 0x000000050000-0x000000800000 : "firmware"
[    0.950000] 2 uimage-fw partitions found on MTD device firmware
[    0.960000] 0x000000050000-0x000000166696 : "kernel"
[    0.970000] 0x000000166696-0x000000800000 : "rootfs"
[    0.980000] mtd: device 5 (rootfs) set to be root filesystem
[    0.990000] 1 squashfs-split partitions found on MTD device rootfs
[    1.000000] 0x0000003b0000-0x000000800000 : "rootfs_data"
[    1.020000] gsw: setting port4 to ephy mode
[    1.030000] ralink_soc_eth 10100000.ethernet eth0 (uninitialized): port 0 link up (100Mbps/Full duplex)
[    1.050000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[    1.060000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    1.080000] rt2880_wdt 10000120.watchdog: Initialized
[    1.090000] TCP: cubic registered
[    1.090000] NET: Registered protocol family 17
[    1.100000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.130000] 8021q: 802.1Q VLAN Support v1.8
[    1.150000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.170000] Freeing unused kernel memory: 156K (80319000 - 80340000)
[    4.040000] init: Console is alive
[    4.040000] init: - watchdog -
[    6.310000] usbcore: registered new interface driver usbfs
[    6.320000] usbcore: registered new interface driver hub
[    6.330000] usbcore: registered new device driver usb
[    6.340000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    6.360000] ehci-platform: EHCI generic platform driver
[    6.370000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    6.390000] ohci-platform: OHCI generic platform driver
[    7.070000] init: - preinit -
[    7.570000] 8021q: adding VLAN 0 to HW filter on device eth0
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.800000] random: procd urandom read with 17 bits of entropy available
[   11.120000] jffs2: notice: (294) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.150000] mount_root: switching to jffs2 overlay
[   11.190000] procd: - early -
[   11.200000] procd: - watchdog -
[   12.090000] procd: - ubus -
[   13.180000] procd: - init -
Please press Enter to activate this console.
[   14.030000] NET: Registered protocol family 10
[   14.050000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.070000] Loading modules backported from Linux version master-2015-07-21-0-g47cd203
[   14.090000] Backport generated by backports.git backports-20150626-0-gc1a4168
[   14.110000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.130000] nf_conntrack version 0.5.0 (961 buckets, 3844 max)
[   14.180000] xt_time: kernel timezone is -0000
[   14.220000] cfg80211: World regulatory domain updated:
[   14.230000] cfg80211:  DFS Master region: unset
[   14.240000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   14.260000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.280000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.290000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   14.310000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   14.330000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   14.340000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   14.360000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.380000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   14.460000] PPP generic driver version 2.4.2
[   14.470000] NET: Registered protocol family 24
[   14.510000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5390, rev 0500 detected
[   14.530000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 7620 detected
[   22.470000] 8021q: adding VLAN 0 to HW filter on device eth0
[   22.510000] device eth0.1 entered promiscuous mode
[   22.520000] device eth0 entered promiscuous mode
[   22.560000] br-lan: port 1(eth0.1) entered forwarding state
[   22.570000] br-lan: port 1(eth0.1) entered forwarding state
[   24.570000] br-lan: port 1(eth0.1) entered forwarding state
[   76.430000] random: nonblocking pool is initialized



BusyBox v1.23.2 (2015-08-06 03:56:04 JST) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Bleeding Edge, r46569)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/# 
DANBOARD 無線LANルーター DB-WRT01をOpenWrt化したよ | 0 件のコメント | アカウント登録
サイト管理者はコメントに関する責任を負いません。