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
ハンディターミナルでLinuxを動かしてみた
Search
Chiharu Shirasaka
August 10, 2024
Programming
1.7k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ハンディターミナルでLinuxを動かしてみた
Kernel/VM探検隊@東京 No17 発表資料
Chiharu Shirasaka
August 10, 2024
More Decks by Chiharu Shirasaka
See All by Chiharu Shirasaka
ワープロって実は計算機で
pepepper
2
1.8k
電子辞書は任意バイナリの夢を見るか? ver1.1
pepepper
0
400
電子辞書は任意バイナリの夢を見るか
pepepper
0
250
Other Decks in Programming
See All in Programming
Android CLI
fornewid
0
210
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
210
Claude CodeとAgentCore Gatewayを繋ぐ際の認証認可 / Authentication and authorization when connecting Claude Code with AgentCore Gateway
har1101
1
250
PHP初心者セッション2026 〜生成AIでは見えない裏側を知る:今だからLAMPを通して仕組みを学ぶ〜
kashioka
0
860
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
540
Built Our Own Background Agent at LayerX
layerx
PRO
9
5k
複数の Claude Code が"放置"されてしまう問題をCLI ダッシュボードを自作して解決した話
sumihiro3
1
670
全PRの83%がAIレビューだけでマージできるようになった開発組織はその後どうなったか
athug
1
1.5k
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
200
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
480
AI時代に設計が 最大の生産性レバーになる 意図駆動開発とデータを消さない設計|Don't Delete Your Data or Your Intent — Design as the Deepest Lever in the AI Era
tomohisa
1
730
霧の中の代数的エフェクト
funnyycat
1
490
Featured
See All Featured
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
270
How to Ace a Technical Interview
jacobian
281
24k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
760
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
The SEO identity crisis: Don't let AI make you average
varn
0
530
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
WENDY [Excerpt]
tessaabrams
11
39k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Transcript
ハンディ ターミナルでLinuxを動かしてみた @pepepper_cpp
2 自己紹介 ぺぺっぱー 𝕏 : @pepepper_cpp 広島市大→筑波大学修士1年 Brain Hackers発足時メンバー ハードウェアをつつく
ことが多い (ワープロ専用機とか)
3 https://auctions.yahoo.co.jp/search/search?&ei=utf-8&p=FortiGate+50E
4 FortiGate 50E祭り RAMを2GB 「も」 搭載したファイアウォール機器 オークション等で安価に放出されている OpenWRTが移植されLinuxを使用できる Twitter(一部の界隈) で一時期大きな話題に
https://www.fortinet.com/content/dam/fortinet/assets/data-sheets/ja_jp/ FGT50ESeriesDS.pdf
5 FortiGate 50E祭り 既に動く と分かってて 動かしたら満足しそうなものに 数千円か ・ ・ ・
(数日悩む)
6 ヤフオク漁り 他に面白そうなものがないか物色すると ・ ・ ・
7 https://page.auctions.yahoo.co.jp/jp/auction/1136526716
8 ヤフオク漁り ハンディ ターミナル - スーパーの売り場等で店員さんが持ってたりする端末 - Windows CE 6.0搭載
- Texas Instruments社製 arm SoC搭載 - バーコードリーダー搭載
9 ヤフオク漁り Windows CE 6.0搭載のarmマシン ・ ・ ・ 過去の記憶が蘇る 僕だよ
・ ・ ・ https://jp.sharp/edictionary/old-lineup/pw-sh7/
10 ヤフオク漁り Windows CE 6.0搭載のarmマシン ・ ・ ・ 過去の記憶が蘇る Linuxを移植した某電子辞書と
同じ構成 ! (雑に言えば) https://jp.sharp/edictionary/old-lineup/pw-sh7/
11 PM251のスペック PM251 SHARP Brain(第3世代) CPU TI製 Cortex-A8(armv7) 1GHz NXP製
ARM926EJ-S(armv5) 454MHz RAM 512MB 128MB その他 USB Host+USB Client, カメラ, WiFi+BT USB OTG https://brain.fandom.com/ja/wiki/PW-SH3 https://imagers.co.jp/products/pm251.html 動作周波数が倍&メモリ容量が4倍 価格は300円 カーネルもブートローダーも公開 やるしかねえ ! ! ! ! !
12 試行1 : BrainLILO移植 電子辞書でLinuxを起動するソフ ト : BrainLILO - 4年前に私が開発
13 試行1 : BrainLILO移植 電子辞書でLinuxを起動するソフ ト : BrainLILO 結果 :
リセッ トされた
14 試行1 : BrainLILO移植 原因調査の結果 ・ ・ ・ →smc命令を実行するとリセッ トされる
しかしCEのカーネルの初めでは使用している ・ ・ ・
15 ・ ・ ・ 途方に暮れてブートログを眺める ・ ・ ・ するとソフ トリセッ
ト時に Predownload Not Load NK Image becase Ram Image is Valid というログが
16 試行2 : BrainLILO改 RAM上のカーネルが正しければそのまま使う →RAM上のカーネルが正しいと 「思い込ませれば」 良い !
17 試行2 : BrainLILO改 結果 : U-Bootは起動した
18 試行2 : BrainLILO改 結果 : U-Bootは起動したがそこからLinuxを起動すると ・ ・ ・
なぜかメモリ周りが壊れる (別パターンではユーザーランドのプロセスが死ぬ)
19 ・ ・ ・ 少し進んだものの 再び途方に暮れてU-Bootでメモリを眺める ・ ・ ・
20 ・ ・ ・ 少し進んだものの 再び途方に暮れてU-Bootでメモリを眺める ・ ・ ・ あれ?
この設定値 SDカードから直接ブートできる ・ ・ ・
21 試行3 : SDブート 問題が発生しUbuntu 12.04を用意することになるも ・ ・ ・
22 試行3 : SDブート できた ! ! ! ! (木曜日午前3時の出来事)
一日放置した後でもbashが落ちない ! !
23 結論 やっと一歩踏み出せた という感じ Q: Linux起動したからゴールではないの? まだLCDもバーコードリーダーも(中略)も 動いてない !
24 次回 ハンディターミナルで 〇〇〇〇やってみた(時期未定) 乞うご期待 10分に収まらなかった部分も含めたブログも お楽しみに