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
ハンディターミナルでLinuxを動かしてみた
Search
Chiharu Shirasaka
August 10, 2024
Programming
1.8k
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.9k
電子辞書は任意バイナリの夢を見るか? ver1.1
pepepper
0
430
電子辞書は任意バイナリの夢を見るか
pepepper
0
250
Other Decks in Programming
See All in Programming
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
680
Groovy as a human and AI friendly programming language
paulk
0
170
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
120
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
210
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
210
Next.js: The final boss of Web Performance
guaca
0
380
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
120
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
110
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
500
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
130
SODA - FACT BOOK(JP)
sodainc
1
40k
Seven New Principles of Software Engineering
yegor256
0
420
Featured
See All Featured
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Bash Introduction
62gerente
615
220k
4 Signs Your Business is Dying
shpigford
187
23k
Six Lessons from altMBA
skipperchong
29
4.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Between Models and Reality
mayunak
4
550
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
460
Building an army of robots
kneath
307
47k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
470
Paper Plane
katiecoart
PRO
5
54k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
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分に収まらなかった部分も含めたブログも お楽しみに