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.2k
ある日突然、 あなたに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
マイコンでもRustのtestがしたい その2/KernelVM Tokyo 18
tnishinaga
2
2.3k
マイコンでもRustのtestがしたい/KernelVM Kansai 11
tnishinaga
1
1.4k
BareMetalで遊ぶRaspberry Pi 5 PCIe編/KernelVM Tokyo17
tnishinaga
0
2.4k
probe-rsの紹介と最近の貢献紹介/CELF-02-03
tnishinaga
1
520
SecurityCamp2023基板作るコース講義資料/Security Camp 2023 Lecture Materials
tnishinaga
8
2.6k
RP2040のPIOを使う話/KernelVM Hokuriku 6
tnishinaga
3
1.6k
JTAGでArmプロセッサをデバッグする方法のつづき/KernelVM_Tokyo16
tnishinaga
0
540
CMSIS-DAPの概要と使い方/KernelVM Online5
tnishinaga
1
2k
JTAGでarmプロセッサをデバッグする話/KernelVM Online4
tnishinaga
5
3.5k
Other Decks in Programming
See All in Programming
自作OSでDOOMを動かしてみた
zakki0925224
1
1.4k
TDD 実践ミニトーク
contour_gara
0
150
AI OCR API on Lambdaを Datadogで可視化してみた
nealle
0
180
GUI操作LLMの最新動向: UI-TARSと関連論文紹介
kfujikawa
0
1k
Laravel Boost 超入門
fire_arlo
1
130
パスタの技術
yusukebe
1
400
A Gopher's Guide to Vibe Coding
danicat
0
170
令和最新版手のひらコンピュータ
koba789
14
8k
フロントエンドのmonorepo化と責務分離のリアーキテクト
kajitack
2
140
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
170
Introduction to Git & GitHub
latte72
0
120
実践!App Intents対応
yuukiw00w
1
350
Featured
See All Featured
Visualization
eitanlees
147
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
What's in a price? How to price your products and services
michaelherold
246
12k
Speed Design
sergeychernyshev
32
1.1k
How GitHub (no longer) Works
holman
315
140k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
A designer walks into a library…
pauljervisheath
207
24k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Faster Mobile Websites
deanohume
309
31k
How to Ace a Technical Interview
jacobian
279
23k
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 ߘ͞Εͯͨ w IUUQTHJUIVCDPNUPSWBMETMJOVYCMPCNBTUFSBSDIQPXFSQD CPPUEUTPCTEUT w IUUQTHJUIVCDPNUPSWBMETMJOVYCMPCNBTUFSBSDIQPXFSQD DPOpHTYPCT@EFGDPOpH
֬ೝࣄ߲ w ✔ετϨʔδͷ֬ೝ w $'͔ΒىಈͰ͖ͦ͏ w ✔ϒʔτϩʔμʔͷ༷֬ೝ w '"5GT͔ΒV*NBHFͰىಈͰ͖ͦ͏ w
✔LFSOFMESJWFS EUTͷ֬ೝ w -JOVTUSFFʹ͋ΔͷΛ͑ྑͦ͞͏ w 1PXFS1$αϙʔτͷ͋ΔσΟετϦ୳͠
σΟετϦ୳͠ w %FCJBOTUSFUDI ͰQQD CJU ଧͪΓ w IUUQTMJTUTEFCJBOPSHEFCJBOEFWFMBOOPVODF NTHIUNM
w 6CVOUVಉ༷ w 3FNPWJOHCJUQPXFSQDBSDIJUFDUVSFGSPN GVUVSF6CVOUVSFMFBTFT w IUUQTMJTUTVCVOUVDPNBSDIJWFTVCVOUVEFWFMBOOPVODF %FDFNCFSIUNM
ͦͷଞ w 'FEPSB 3FEIBUܥ w 5IFMBTU'FEPSBSFMFBTFXJUICJUCPPUJNBHFTXBT 'FEPSB w IUUQTGFEPSBQSPKFDUPSHXJLJ"SDIJUFDUVSFT1PXFS1$
w "SDI-JOVYQQD w ϑΟογϯάαΠτʹͳͬͯͨ w IUUQTXXXWJSVTUPUBMDPNHVJVSM CBFEFFEFCEGGBDCDFCDFCDDEFGCFCGCCFG EFUFDUJPO
ສࣄٳ͢ͷ UOJTIJOBHBʹٹ͍ͷख ͕
֬ೝࣄ߲ w ✔ετϨʔδͷ֬ೝ w $'͔ΒىಈͰ͖ͦ͏ w ✔ϒʔτϩʔμʔͷ༷֬ೝ w '"5GT͔ΒV*NBHFͰىಈͰ͖ͦ͏ w
✔LFSOFMESJWFS EUTͷ֬ೝ w -JOVTUSFFʹ͋ΔͷΛ͑ྑͦ͞͏ w ✔1PXFS1$αϙʔτͷ͋ΔσΟετϦ୳͠ 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 ͜ͷจ͢ඞཁ͕͋Δɻ
#PPUMPH w EFWTEB͕ݟ͔ͭΔΑ͏ʹͳΔ w ͍Ζ͍Ζ͋ͬͯϩάฆࣦʜ
SPPUGTͷ४උ w $'ΛϑΥʔϚοτ w TUQBSUJUJPOGBU w OEQBSUJUJPOFYU w GBUύʔςΟγϣϯͷͱ͜ΖʹV*NBHFPCT ΛՃ
(FOUPPJOTUBMMCBUUMF TUBHFͷղౚ ॾઃఆ DISPPU FNFSHFXFCSTZOD DIQBTTXE
VONPVOU
TUBHFͷղౚ w NPVOUUFYUEFWTECNOU w XHFUIUUQEJTUpMFTHFOUPPPSHSFMFBTFT QQDBVUPCVJMET5; TUBHFQQD5;UBSY[ w UBSYQWGTUBHF UBSY[YBUUSTJODMVEF
OVNFSJDPXOFS
ॾઃఆ w EOTઃఆΛίϐʔ w DQEFSFGFSFODFFUDSFTPMWDPOGNOUFUD w FCVJMEϦϙδτϦઃఆ w NLEJSQBSFOUTNOUFUDQPSUBHFSFQPTDPOG w
DQNOUVTSTIBSFQPSUBHFDPOpHSFQPTDPOGNOUFUD QPSUBHFSFQPTDPOGHFOUPPDPOG w RFNVTUBUJDͷҠ২ ཁRFNVTUBUJD CJOGNU w DQVTSCJORFNVQQDTUBUJDNOUVTSCJO
ॾઃఆ w ίϯιʔϧͷઃఆ NOUFUDJOJUUBC w UUZ9ΛίϝϯτΞτ w UUZ4Λ༗ޮԽ w
UIBOLZPVGBEJTTBO
,FSOFMNPEVMF Πϯετʔϧ w ,FSOFMϏϧυͨ͠ͱ͖ͷσΟϨΫτϦʹҠͬͯ w FYQPSU"3$)QPXFSQD w FYQPSU$3044@$0.1*-&QPXFSQDMJOVY HOV w
FYQPSU*/45"
[email protected]
%@1"5)NOU w NBLFNPEVMFTNBLFNPEVMFT@JOTUBMM
$ISPPU w NPVOUUZQFTQSPDQSPDNOUQSPD w NPVOUSCJOETZTNOUTZT w NPVOUNBLFSTMBWFNOUTZT w NPVOUSCJOEEFWNOUEFW w
NPVOUNBLFSTMBWFNOUEFW 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 ֶੜ༏ઌɻෳ͍Δ߹͡ΌΜ͚Μɻ