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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
APNsからLive Activityを開始する話
yumnumm
0
170
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
16k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
contenteditable と日本語入力に向き合う
colorful12
0
190
Jetpack Compose Mechanisms
skydoves
3
790
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
360
Railsバージョンを4倍にした話
optim
0
140
パスワード再設定メールのURLについて知っておこう
uyuki234
0
150
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
2
1.9k
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
340
ジョジョの世界をXRで再現する
mofurune
0
160
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
130
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Test your architecture with Archunit
thirion
2
2.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
410
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
Un-Boring Meetings
codingconduct
0
450
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
HDC tutorial
michielstock
2
960
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Rails Girls Zürich Keynote
gr2m
96
14k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
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分に収まらなかった部分も含めたブログも お楽しみに