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
ある日突然、 あなたにPowerPCマシンが届いたらどうしますか?/kernelvmtokyo15
Search
Toshifumi NISHINAGA
July 20, 2019
Programming
3
3.1k
ある日突然、 あなたにPowerPCマシンが届いたらどうしますか?/kernelvmtokyo15
OpenBlocks600(D)でLinux Kernel 4.19とGentooを動かした話です。
Toshifumi NISHINAGA
July 20, 2019
Tweet
Share
More Decks by Toshifumi NISHINAGA
See All by Toshifumi NISHINAGA
BareMetalで遊ぶRaspberry Pi 5 PCIe編/KernelVM Tokyo17
tnishinaga
0
1.8k
probe-rsの紹介と最近の貢献紹介/CELF-02-03
tnishinaga
1
370
SecurityCamp2023基板作るコース講義資料/Security Camp 2023 Lecture Materials
tnishinaga
8
2.5k
RP2040のPIOを使う話/KernelVM Hokuriku 6
tnishinaga
3
1.3k
JTAGでArmプロセッサをデバッグする方法のつづき/KernelVM_Tokyo16
tnishinaga
0
400
CMSIS-DAPの概要と使い方/KernelVM Online5
tnishinaga
0
1.7k
JTAGでarmプロセッサをデバッグする話/KernelVM Online4
tnishinaga
4
3.1k
ARM入門/arm introduction
tnishinaga
15
12k
俺の仮想マシンルーターがこんなに遅いはずはない/ KernelVM online 1
tnishinaga
0
2.8k
Other Decks in Programming
See All in Programming
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
220
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
2.1k
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
450
asdf-ecspresso作って 友達が増えた話 / Fujiwara Tech Conference 2025
koluku
0
1.4k
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
870
Package Traits
ikesyo
1
210
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
4
1.1k
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
300
Beyond ORM
77web
11
1.6k
Оптимизируем производительность блока Казначейство
lamodatech
0
950
chibiccをCILに移植した結果 (NGK2025S版)
kekyo
PRO
0
130
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1030
460k
A Philosophy of Restraint
colly
203
16k
Unsuck your backbone
ammeep
669
57k
Embracing the Ebb and Flow
colly
84
4.5k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
A better future with KSS
kneath
238
17k
BBQ
matthewcrist
85
9.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Facilitating Awesome Meetings
lara
51
6.2k
Code Review Best Practice
trishagee
65
17k
Transcript
͋Δಥવɺ ͋ͳͨʹPowerPCϚγϯ͕ಧ͍ͨΒͲ͏͠·͔͢ʁ ͦΕ……ͱͼ͖ͬΓ͔Θ͍ͯ͘ ͱͼ͖ͬΓૉͰ ͱͼ͖ͬΓѪΒͯ͘͠ ͱͼ͖ͬΓͷྜ͕͠Γɻ ͔͠ɺͦͷ͏͑…… ,FSOFM7.!5PLZP !UOJTIJOBHB IUUQTHJUIVCDPNUOJTIJOBHBPCT@MJOVY
ܦҢ ͍ͦ͒
0QFO#MPDLT % w $16 w ".$$1PXFS1$&9 w 3".30. w (#.#
w 3FMFBTF w IUUQTPQFOCMPDLTQMBUIPNFDPKQQSPEVDUTTQFDIUNM
αϙʔτঢ়گ IUUQTPQFOCMPDLTQMBUIPNFDPKQQSPEVDUTTVQQPSU@TFSWJDFIUNM
αϙʔτঢ়گ w 44%-JOVY 4PUPLBOEB4PGUXBSF %JTUSJCVUJPO w -BTUVQEBUF w -JOVYLFSOFM
IUUQTPQFOCMPDLTQMBUIPNFDPKQTVQQPSUTPGUXBSFpSNXBSF
αϙʔτঢ়گ w %FCJBO QMBUIPNFP⒏DJBMTVQQPSU w MBTUVQEBUF w -JOVYLFSOFM w
%FCJBOXIFF[Z IUUQTPQFOCMPDLTQMBUIPNFDPKQTVQQPSUTPGUXBSFE
αϙʔτঢ়گ w %FCJBO QMBUIPNFVOP⒏DJBMTVQQPSU w MBTUVQEBUF w -JOVYLFSOFM w
%FCJBOXIFF[Z IUUQPCEONBHB[JOFCMPHTQPUDPN PQFOCMPDLTEEFCJBOVOP⒏DJBMIUNM
%FCJBO1PXFS1$4VQQPSU w 3FMFBTF"SDIJUFDUVSFTGPS%FCJBO 4USFUDI w IUUQTMJTUTEFCJBOPSHEFCJBOEFWFMBOOPVODFNTHIUNM w ݄ɹ%FCJBO4USFUDIͰ 1PXFS1$ΞʔΩςΫνϟͷαϙʔτΛதࢭ w
IUUQTHJIZPKQBENJODMJQMJOVY@EU
͋Δಥવɺ ͋ͳͨʹPowerPCϚγϯ͕ಧ͍ͨΒͲ͏͠·͔͢ʁ ͦΕ……ͱͼ͖ͬΓ͔Θ͍ͯ͘ ͱͼ͖ͬΓૉͰ ͱͼ͖ͬΓѪΒͯ͘͠ ͱͼ͖ͬΓͷྜ͕͠Γɻ ͔͠ɺͦͷ͏͑……
͋Δಥવɺ ͋ͳͨʹPowerPCϚγϯ͕ಧ͍ͨΒͲ͏͠·͔͢ʁ ͦΕ……ͱͼ͖ͬΓ͔Θ͍ͯ͘ ͱͼ͖ͬΓૉͰ ͱͼ͖ͬΓѪΒͯ͘͠ ͱͼ͖ͬΓͷྜ͕͠Γɻ ͔͠ɺͦͷ͏͑…… ൢചݩdebianͷαϙʔτड͚ΒΕͳ͍ɻ
ࠓͷ͓ w ҎԼΛͬͨΑʂͱ͍͏հ w ࠷৽-54-JOVYLFSOFM YY Λಈ͔͢ w 1PXFS1$αϙʔτͷ͋Δ%JTUSJCVUJPOΛΈͭ ͚ͯಈ͔ͨ͠
֬ೝࣄ߲ w ετϨʔδͷ֬ೝ w ΧʔωϧSPPUGTΛஔ͘ॴΛܾΊΔ w ϒʔτϩʔμʔͷ༷֬ೝ w ,FSOFMCPPUํ๏Λܾఆ͢ΔͨΊ w
LFSOFMESJWFS EUTͷ֬ೝ w ެ։͞Εͯͳ͍ͱਏ͍ w 1PXFS1$αϙʔτͷ͋ΔσΟετϦ୳͠
0QFO#MPDLTͷετϨʔδ w 30. .# w $'DBSE w 64#
w ະݕূ
$'64#ଓΒ͍͠ IUUQXXXSFTPVNDPKQdGVLBVNJNMOFUCTENTHIUNM
֬ೝࣄ߲ w ✔ετϨʔδͷ֬ೝ w $'͔ΒىಈͰ͖ͦ͏ w ϒʔτϩʔμʔͷ༷֬ೝ w LFSOFMESJWFS EUTͷ֬ೝ
w 1PXFS1$αϙʔτͷ͋ΔσΟετϦ୳͠
ϒʔτϩʔμʔ֬ೝ w 6#PPU w QI +VO w 4VQQPSUFEMPBEDPNNBOE w
FYUMPBE GBUMPBE MPBEZ MPBET MPBEC LFSNJU w $BOCPPUGSPN w 30.$'DBSEUGUQ64#
$'DBSEϒʔτखॱ w 64#Λىಈ w VTCTUBSU w V*NBHF LFSOFM EUC ΛYʹϩʔυ
w GBUMPBEVTCYV*NBHFPCT w $'GBUͰϑΥʔϚοτࡁΈ w Y͔Βϒʔτ w CPPUNY
֬ೝࣄ߲ w ✔ετϨʔδͷ֬ೝ w $'͔ΒىಈͰ͖ͦ͏ w ✔ϒʔτϩʔμʔͷ༷֬ೝ w '"5GT͔ΒV*NBHFͰىಈͰ͖ͦ͏ w
LFSOFMESJWFS EUTͷ֬ೝ w 1PXFS1$αϙʔτͷ͋ΔσΟετϦ୳͠
,FSOFMESJWFS EUTͷ֬ೝ w ,FSOFM w IUUQTPQFOCMPDLTQMBUIPNFDPKQTVQQPSUTPGUXBSFE w GUQGUQQMBUIPNFDPKQQVC0#4EFCJBOpMFTMFOOZ -"5&45 w
ඇެࣜαϙʔτ൛ w IUUQGUQQMBUIPNFDPKQQVC0#4VOP⒏DJBMKFTTJF TPVSDF
-JOVTUSFF ࣌ w ߘ͞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PXFS1$αϙʔτͷ͋ΔσΟετϦ୳͠ w (FOUPP͕͍͘͢ͷͯΛ͞͠ͷ͖ͯͨ
࡞ۀܭը w ,FSOFMͷϏϧυͱετϨʔδೝࣝ֬ೝ w (FOUPPJOTUBMMCBUUMF
NBJOMJOFMJOVYͷϏϧυ w XHFUIUUQTDEOLFSOFMPSHQVCMJOVYLFSOFMWYMJOVYUBSY[ w UBSYGMJOVYUBSY[ w DEMJOVY w FYQPSU"3$)QPXFSQD
w FYQPSU$3044@$0.1*-&QPXFSQDMJOVYHOV w NBLFYPCT@EFGDPOpH w NBLFPMEEFGDPOpHNBLF w DQBSDIQPXFSQDCPPUV*NBHFPCTNOUDGCPPU
#PPUUFTU w ͱΓ͋͑ͣ,FSOFM͚ͩͰϒʔτ w $'ͷσόΠε͕ݟ͔ͭΔ͔֬ೝ
#PPUMPH
w $'͕ݟ͔ͭΒͳ͍ w SBNͱNUECMPDL͔͠ೝࣝͯ͠ͳ͍ w ؔͦ͠͏ͳ64#υϥΠόΛͯ͢Zʹͯ͠ ͩΊ w *%&υϥΠόͳͲΛͯ͢Zʹͯͩ͠Ίʜʜ
࠶֬ೝ w 7BOJMMBLFSOFMͱQMBUIPNFVOP⒏DJBMLFSOFM ͷEJ⒎ͳʹʁ
QMBUIPNFLFSOFMDIBOHF w 64#υϥΠόͷՃ w QVTI48-&%υϥΠόͷՃ w ͦͷଞࡉ͔͍मਖ਼ w CPPUEFMBZೖΕͳ͍ͱ$'͕ೝࣝ͠ͳ͍
EUTEJ⒎
64#पลͷมߋ w EUTʹ64#ͷఆ͕ٛՃ w QPXFSQDQMBUGPSNYPCTVTCD͕Ճ w EXD@PUHͱ͍͏64#υϥΠό͕Ճ w ͨͩ͠Ϗϧυ௨Βͳ͍
64#υϥΠόͷमਖ਼ w w JOJU@UJNFSUJNFS@TFUVQ w %3*7&3@"553%3*7&3@"553@3830
JOJU@UJNFS w JOJU@UJNFS͕UJNFS@TFUVQʹஔ͖Θͬͨ w SDͰશʹஔ͖Θͬͨ w IUUQTHJUIVCDPNUPSWBMETMJOVYDPNNJU FFCCCEDCEEFEFCDEC w ࢀߟMJOVYΧʔωϧ෦ΠϯλʔϑΣʔεͷมߋྫ
w IUUQTRJJUBDPNTBUPSV@UBLFVDIJJUFNTDFGBC
JOJU@UJNFSUJNFS@TFUVQ ίʔυ෦͞Μͷهࣄ͔ΒҾ༻ IUUQTRJJUBDPNTBUPSV@UBLFVDIJJUFNTDFGBC
%3*7&3@"553 w %3*7&3@"553 w υϥΠόଐੑΛESJWFS@BUUSJCVUFߏମʹ֨ೲ͢ΔϚΫϩ w มߋ w NPEFͰΓସ͑ͯͨ3038ΛϚΫϩ໊ʹ3038Λ͚ͯΓସ͑Δ Α͏ʹͳͬͨ
w ਵ͢ΔIPHF@TIPXIPHF@TUPSFࣗಈͰηοτ͞ΕΔΑ͏ʹͳͬͨ w IUUQTMPSFLFSOFMPSHQBUDIXPSLQBUDI w ྫ%3*7&3@"553 B 4@*36(0 B@TIPX %3*7&3@"553@30 B
࠶Ϗϧυͱىಈςετ w VTCपΓͷυϥΠόΛZͰϏϧυ w ˞EXD@PUHυϥΠό(1-ϥΠηϯεͰͳ͍ͷͰɺ ͜ͷϞδϡʔϧΛZͰϏϧυͨ͠Χʔωϧ࠶ ͪ͠ΌͩΊͦ͏ վมɺ࠶0,ͷಠࣗϥΠηϯε w
FYUपΓͷυϥΠόZͰϏϧυ w JOJUSBNGTແ͠ͰSPPUGTϚϯτ͢ΔͨΊ
EXD@PUHͷϥΠηϯε w 5IF4PGUXBSF*4/05BOJUFNPG-JDFOTFE4PGUXBSFPS w ϥΠηϯευιϑτͰͳ͍ w :PVBSFQFSNJUUFEUPVTFBOESFEJTUSJCVUFUIJT4PGUXBSFJO TPVSDFBOECJOBSZGPSNT XJUIPSXJUIPVUNPEJpDBUJPO
w վมɺ࠶0, w QSPWJEFEUIBUSFEJTUSJCVUJPOTPGTPVSDFDPEFNVTUSFUBJO UIJTOPUJDF w ͜ͷจ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FSTMBWFNOUEFW w DISPPUNOUCJOCBTI
DISPPUޙͷॳظઃఆ w TPVSDFFUDQSPpMF w ͜ΕΛ͠ͳ͍ͱίϚϯυ͕͑ͳ͍
DISPPUޙͷॾઃఆ w FCVJMEϦϙδτϦεφοϓγϣοτͷΠϯετʔϧ w FNFSHFXFCSTZOD w SPPUύεϫʔυΛઃఆ w DIQBTTXE w
FUDGTUBCͷઃఆ w EFWTEBΛCPPU EFWTEBΛʹઃఆ
ޙย͚ w DISPPUڥ͔Βൈ͚Δ w FYJU w NPVOUΛղআ w VNPVOUNOUEFWNOUQSPDNOUTZT w
VNPVOUNOU
ىಈσϞ
·ͱΊ w QPXFSQD CJU Ϛγϯ࠷৽Χʔωϧ HFOUPP Ͱ·ͩ͑Δ
Γͷ͜͠ w VCPPU͔ΒউखʹHFOUPPىಈ͢ΔΑ͏ʹ͢Δ w PQFOCMPDLT͚πʔϧΛಈ͘Α͏ʹ͢Δ w 30.͚ͩͰىಈ͢ΔΑ͏ʹ͢Δ w ZPDUP͔CVJMESPPUͰ࡞Εͦ͏
͡ΌΜ͚ΜλΠϜ w ڵຯ͋ΔਓʹҰࣜৡΓ·͢ w ֶੜ༏ઌɻෳ͍Δ߹͡ΌΜ͚Μɻ