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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
420
電子辞書は任意バイナリの夢を見るか
pepepper
0
250
Other Decks in Programming
See All in Programming
変化を抱擁するドキュメントの作り方 - ビジネスルール駆動開発がもたらす、コードとの新しい関係
ioki
2
220
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
130
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
320
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
210
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
570
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
2.9k
Are APIs Still Relevant in the AI Era?
soyuka
0
310
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.1k
AgentCore CLI で進化した AWS での AI エージェントの作り方 : 必要な機能を必要な時に
icoxfog417
PRO
3
370
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
260
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
300
The Rails Doctrine Decade
koic
2
360
Featured
See All Featured
The Language of Interfaces
destraynor
162
27k
So, you think you're a good person
axbom
PRO
2
2.2k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
470
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The Pragmatic Product Professional
lauravandoore
37
7.5k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
370
How to Ace a Technical Interview
jacobian
281
24k
Optimising Largest Contentful Paint
csswizardry
37
4k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
880
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分に収まらなかった部分も含めたブログも お楽しみに