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.2k
probe-rsの紹介と最近の貢献紹介/CELF-02-03
tnishinaga
1
260
SecurityCamp2023基板作るコース講義資料/Security Camp 2023 Lecture Materials
tnishinaga
8
2.3k
RP2040のPIOを使う話/KernelVM Hokuriku 6
tnishinaga
3
1k
JTAGでArmプロセッサをデバッグする方法のつづき/KernelVM_Tokyo16
tnishinaga
0
330
CMSIS-DAPの概要と使い方/KernelVM Online5
tnishinaga
0
1.5k
JTAGでarmプロセッサをデバッグする話/KernelVM Online4
tnishinaga
4
2.8k
ARM入門/arm introduction
tnishinaga
15
11k
俺の仮想マシンルーターがこんなに遅いはずはない/ KernelVM online 1
tnishinaga
0
2.6k
Other Decks in Programming
See All in Programming
Amazon Neptuneで始める初めてのグラフDB ー グラフDBを使う意味を考える ー
satoshi256kbyte
2
200
Using Livebook to build and deploy internal tools @ ElixirConf 2024
hugobarauna
0
220
フロントエンドカンファレンス北海道2024 『小規模サイトでも使えるVite 〜HTMLコーディングをよりスマートに〜』長谷川広武(ハム)
h2ham
1
2.5k
Swift Concurrencyとレースコンディション
objectiveaudio
1
390
Hono・Prisma・AWSでGeoなAPI開発
nokonoko1203
5
630
月間4.5億回再生を超える大規模サービス TVer iOSアプリのリアーキテクチャ戦略 - iOSDC2024
techtver
PRO
1
630
私のEbitengineの第一歩
qt_luigi
0
420
暴走のウホーレン 〜想いってのはvimrcにしないと伝わらないんだぜ〜 / iosdc_japan_2024
uhooi
1
240
初めてのiOS関連GitHub ActionsをMarketplaceに公開するまでの実録
konifar
3
200
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
560
Appleの新しいプライバシー要件対応: ノーコードアプリ プラットフォームの実践事例
nao_randd
1
460
New Order in Cascade Sorting Order
mugi_uno
3
2.5k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
327
20k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
157
15k
Build The Right Thing And Hit Your Dates
maggiecrowley
30
2.2k
Learning to Love Humans: Emotional Interface Design
aarron
270
40k
Docker and Python
trallard
39
3k
The Illustrated Children's Guide to Kubernetes
chrisshort
46
48k
The Brand Is Dead. Long Live the Brand.
mthomps
53
37k
BBQ
matthewcrist
83
9.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
34
1.9k
Designing the Hi-DPI Web
ddemaree
278
34k
How to name files
jennybc
75
98k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
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#4EFCJ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֬ೝ 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 TPVSDFBOECJOBSZGPS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UBMM
$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 ֶੜ༏ઌɻෳ͍Δ߹͡ΌΜ͚Μɻ