Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
tokaido-lug_201807-yokohama
Search
musashino205
July 14, 2018
Technology
500
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
tokaido-lug_201807-yokohama
musashino205
July 14, 2018
More Decks by musashino205
See All by musashino205
OSC2025_Tokyo-Fall_RecentOpenWrt
musashino205
0
120
OSC2019-TokyoFall_OpenWrt-and-Monitoring
musashino205
0
190
tokaido-lug-201909-yokohama
musashino205
0
130
OSC 2019 Tokyo/Spring Aterm & OpenWrt
musashino205
0
1k
tokaido-lug-201812-yokohama
musashino205
0
360
OSC 2018 Tokyo/Fall OpenWrt
musashino205
0
430
OSC2018-Tokyo/Spring_OpenWrt
musashino205
0
330
TokaidoLUG-201712_Router
musashino205
0
360
Other Decks in Technology
See All in Technology
山手線を徒歩で一周してわかった、 位置情報アプリは「足」が最強のデバッガー
hinakko
0
180
30座EKS, 180次升級淬煉的EKS Upgrade Skill 的歷程
eric8230
0
210
2026_devsumi_ozono.pdf
o3
3
550
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
270
The Knowledge Spine: A Machine-Executable Ontology for Governed Marketing Activation
vananth22
0
120
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
880
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
1.5k
AIを活用するために決めた "やらないこと" - 価値に注目する / Not betting on AI
soudai
PRO
3
580
あけおめLINE 傾向とその対策
nasa9084
0
220
SREへの勘違いに気づいた後の話
tomodakengo
0
130
LLMに渡さなかった仕事
nanaism
0
1.3k
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
460
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
15k
How to train your dragon (web standard)
notwaldorf
97
6.8k
We Are The Robots
honzajavorek
0
380
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Code Reviewing Like a Champion
maltzj
528
40k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
Music & Morning Musume
bryan
48
7.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Transcript
近況まとめ 東海道らぐ 横浜 2018初夏 @musashino205
自己紹介 • HN: 武蔵野, 大破 • musashino_205 • musashino205 @mstdn.maud.io
• 無職 • Linuxはルータと戯れながら学習中 • ドメイン: taiha.net, 大破.net
近況 • ルータ 大家族
近況 • 新しい機種のサポートをいくつか追加 • マージ済み • I-O DATA • WN-GX300GR
(2T2R, 11n, GbE) • WN-AX1167GR (2T2R, 11ac, GbE) • ELECOM • WRC-1167GHBK2-S (2T2R, 11ac, GbE) • NEC • WG2600HP (4T4R, 11ac, GbE) • 作業中 • I-O DATA ETG3-R (有線機, GbE, ほぼ動作OK)
マージ済み機種 (1) ※MT7621はOpenWrtで唯一HW NAT実装済み • WN-GX300GR • SoC: MediaTek MT7621S
(MIPS, 1C2T) • OpenWrt導入は要シリアルコンソール (UART) • WN-AX1167GR • SoC: MediaTek MT7621A (MIPS, 2C4T) • WebUIからOpenWrt導入可(2段階) 基板はWN-GX300GRとWN-AX1167GRで共通
• WN-GX300GR • WN-AX1167GR
マージ済み機種 (2) • WRC-1167GHBK2-S • SoC: MediaTek MT7621A (MIPS, 2C4T)
• WebUIからOpenWrt導入可(1段階) • 末尾が “-I”, “-C” のものは1C1TなMT7620の模様 • WG2600HP • SoC: Qualcomm IPQ8064 (ARM, 2C2T) • OpenWrt導入はシリアルコンソール (UART) 必須 • 罠が多く文鎮化リスク高め • 前回の横浜の日に、会場入り前に秋葉原で購入
近況(2) • 既存の機種のtarget移植 (ar71xx -> ath79) • 作業中 • WZR-HP-G300NH
• BHR-4GRV • BHR-4GRV2 • 未着手 • WZR-HP-G450H • WZR-HP-G301NH • WZR-HP-AG300H (上記全て二人の方より頂きました。ありがとうございます。) WZR-HP-G300NH(左)と BHR-4GRV(右)
ath79 target • 数あるtarget (SoCベンダや設計の大まかな グループ)のうちの一つ • Atheros(現Qualcomm Atheros)のMIPS SoC
• AR7xxx (AR7161, AR7240, etc...) • AR9xxx (AR9132, AR9330, etc...) • QCA9xxx (QCA9533, QCA9558, etc...) • machベースのar71xx targetと異なり、完全に dts (device tree source)のみ • Kernelもar71xxの4.9に対し、ath79は4.14 • ar71xxの既存デバイスを徐々にath79へ移行し、 将来的にar71xxは廃止
ar71xx -> ath79進捗 (1) • BHR-4GRV2 (QCA9558) • 有線機 •
switch周り要調整(LAN側port: OK, WAN側port: NG) • Flash: 16MB、しかしKernel領域が小さい • stock firmwareでのmtdパーティション構成の関係 • Kernel: 1,507,328byte = 1,472KB = 1.4375MB label u-boot u-boot-env firmware art address 0x0- 0x40000 (256k) 0x40000- 0x50000 (64k) 0x50000- 0xFF0000 (16,000k) 0xFF0000- 0x1000000 (64k) label 2 rootfs kernel address 2 0x50000- 0xE80000 (14,528k) 0xE80000- 0xFF0000 (1,472k) label 3 rootfs rootfs_data address 3 0x50000- 0x?????? 0x??????- 0xE80000
ar71xx -> ath79進捗 (2) • BHR-4GRV (AR7242) • WZR-HP-G450Hの有線機版 •
Flashを上手く認識させられない • W25Q128BV (16MB) x2 = 32MB • ar71xx (mach) • ath79 (dts) mtd_concat_create() -> mtd device “flash” ??? dtsでの結合方法が不明 (無い?) flash (mtd device)を仮想的に結合
ar71xx -> ath79進捗 (3) • WZR-HP-G300NH (AR9132) • WZR-HP-G301NHとはswitch以外ほぼ共通 •
switch周りが不完全 • ar71xxでの構成と、dtsでの記法の理解不足 • リンクするポートとしないポートがある… • マルチプレクサ (74HC153) • GPIOを拡張するために搭載 • ボタン類はまとめてここにぶら下がる • dtsで使用できるドライバが無い • ar71xxではtargetで抱えている • コードが DTS に非対応なのでその作業から…
OpenWrt 18.06 • Network Flow Offloadingのサポートとar71xx targetのモダン化に重点を置く • MediaTek MT7621ではHW
NATも実装 • NAT時のCPU負荷が90%台 -> 0%付近まで低減 • ar71xx (Kernel 4.9) -> ath79 (Kernel 4.14) • OpenWrt Project: OpenWrt 18.06 https://openwrt.org/releases/18.06/start • OpenWrt 18.06.0 • OpenWrt & LEDE-Project統合後初のリリース • ath79 targetは間に合わない模様 • リリースが絶賛延期中 • 6/30 -> 7/6 -> 7/20
終わり ご清聴ありがとうございました。 • 記事 • デバイス情報などメモ類 • 大破雑記帳 https://memo205.wordpress.com/ •
進捗報告・upstreamマージ済みデバイス情報 • 鉄PCブログ https://tetsupc.wordpress.com/