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.7k
probe-rsの紹介と最近の貢献紹介/CELF-02-03
tnishinaga
1
350
SecurityCamp2023基板作るコース講義資料/Security Camp 2023 Lecture Materials
tnishinaga
8
2.5k
RP2040のPIOを使う話/KernelVM Hokuriku 6
tnishinaga
3
1.2k
JTAGでArmプロセッサをデバッグする方法のつづき/KernelVM_Tokyo16
tnishinaga
0
380
CMSIS-DAPの概要と使い方/KernelVM Online5
tnishinaga
0
1.7k
JTAGでarmプロセッサをデバッグする話/KernelVM Online4
tnishinaga
4
3k
ARM入門/arm introduction
tnishinaga
15
12k
俺の仮想マシンルーターがこんなに遅いはずはない/ KernelVM online 1
tnishinaga
0
2.7k
Other Decks in Programming
See All in Programming
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
3
470
命名をリントする
chiroruxx
1
410
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
103 Early Hints
sugi_0000
1
230
良いユニットテストを書こう
mototakatsu
8
2.3k
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
たのしいparse.y
ydah
3
120
Featured
See All Featured
Speed Design
sergeychernyshev
25
670
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Designing for Performance
lara
604
68k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Statistics for Hackers
jakevdp
796
220k
Side Projects
sachag
452
42k
Gamification - CAS2011
davidbonilla
80
5.1k
Navigating Team Friction
lara
183
15k
GraphQLとの向き合い方2022年版
quramy
44
13k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
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 ߘ͞Εͯͨ 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͕ݟ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ͷॳظઃఆ 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 ֶੜ༏ઌɻෳ͍Δ߹͡ΌΜ͚Μɻ