Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
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
110
OSC2019-TokyoFall_OpenWrt-and-Monitoring
musashino205
0
180
tokaido-lug-201909-yokohama
musashino205
0
130
OSC 2019 Tokyo/Spring Aterm & OpenWrt
musashino205
0
980
tokaido-lug-201812-yokohama
musashino205
0
340
OSC 2018 Tokyo/Fall OpenWrt
musashino205
0
420
OSC2018-Tokyo/Spring_OpenWrt
musashino205
0
320
TokaidoLUG-201712_Router
musashino205
0
350
Other Decks in Technology
See All in Technology
AGENTS.mdとSkillsで始めるAIエージェント活用
sonoda_mj
3
210
2026TECHFRESH畢業分享會 - Lightning Talk - E起 See See : 電商推薦讀心術? 數據說了算
line_developers_tw
PRO
0
930
AIネイティブな開発のサプライチェーンリスク対策 〜激動の開発現場でリスクに立ち向かう〜【ZennFes】
cscengineer
PRO
2
110
"何を作るか"を任される エンジニアは、どう育つのか
yutaokafuji
1
660
AI駆動開発を通して感じた、 AI時代のデザイナーの役割変化
whisaiyo
3
2k
入門!AWS Blocks
ysuzuki
1
110
2026TECHFRESH畢業分享會 - AI 時代的人生存檔點
line_developers_tw
PRO
0
940
なぜ Platform Engineering の土台に Kubernetes を選ぶのか
r4ynode
2
620
ACE-Step-1.5で見る 音楽生成AIのしくみと“破綻だけ直す”Retake機能の開発【zennfes spring 2026 登壇資料】
personabb
1
260
AWSシリコン最前線 〜AI時代のチップ選択を読み解く〜
htokoyo
2
550
AIっぽい文章を採点して人間らしく直すアプリを作ってみた
yama3133
2
140
自律型AIエージェントは何を破壊するのか
kojira
0
160
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
360
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.4k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
190
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
Marketing to machines
jonoalderson
1
5.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
230
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
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/