Upgrade to Pro — share decks privately, control downloads, hide ads and more …

実録!ある担当者がみた「謎ガジェット」開発一年史

uzulla
September 07, 2018

 実録!ある担当者がみた「謎ガジェット」開発一年史

at builderscon tokyo 2018 1日目 メインホール
by uzulla

uzulla

September 07, 2018
Tweet

More Decks by uzulla

Other Decks in Programming

Transcript

  1. ʮṖΨδΣοτʯͱ͸ʁ • ిࢠ໊ࡳ • Raspberry pi + e paper display

    • ి஑Λͭͳ͙ͱɺಈ͖ग़໊͢ࡳ • https://github.com/builderscon/ electronic_badge_2018 • αϙʔλʔϊϕϧςΟ • mercari༷ڠࢍʹΑΓ࣮ݱ • ໿200ݸ੡଄
  2. Ϋϥ΢υಉظػೳ • QRίʔυΛεϚϗͰεΩϟϯ • ޷͖ͳը૾ΛΞοϓϩʔυ • ໊ࡳΛ࠶ىಈʂ • ࣗಈͰ൓өʂʢཁWifiʣIoTͬΆ͍ʂʂ •

    (ձ৔Wifi͸ҰԠॳظઃఆͯ͋͠Γ·͢) • (Ϋϥ΢υαʔό͸ޙ೔ऴྃ͠·͢ɺ ίʔυ͸ެ։ࡁΈ) • https://www.youtube.com/watch? v=RRAVv2eyS_Y
  3. Helloworld • NAFUDAΛPCʹͭͳ͗·͢ • ҎԼͷίʔυΛstartup.shͱͯ͠ NAFUDAυϥΠϒ௚Լ΁อଘ echo "hello NAFUDA world!"

    | show_txt - # ͜ͷαϯϓϧ͸simple-sampleͷதʹ͋Γ·͢ • (ͪΐͬͱ଴͔ͬͯΒऔΓ֎͠࠶ىಈ) • Hello worldʂ • ྫ͑͹curlͰσʔλͱ͖ͬͯͯදࣔ΋Ͱ ͖Δʂ
  4. 8pino • ஸ౓ɺ͋Δ࢓ࣄ(?)Ͱ৮ͬͯΈ͍ͯͨ • arduinoޓ׵ʢͷΑ͏ͳ΋ͷʣ • 8bit, 8MHz, 8KB, ෯8mm,

    888ԁ • 8݄8೔ੜ·ΕͷീԦࢠࡏॅʹ͸࠷ߴʂ • খͯ͘͞࠷ߴɺ0.5g • (ӈͷج൫͸ંͬͯ൒෼͘Β͍ʹͳΔ)
  5. Digisparkʢதԝʣ • ͍Θ͹͍҆8pino • ͦͦ͜͜খ͍͞͠ɺ USBʹͦͷ··ͬͯ͞͞࠷ߴ • ΊͪΌ͍҆ ˇ300Ґ •

    αϯϓϧίʔυ͕๛෋ͰɺΩʔϘʔυ ΍Ϛ΢εΛΤϛϡϨʔτͰ͖ͯͨͷ͠ ͍ʢBad USBΈ͍ͨͳͷΛ࡞ͬͯ༡΂ Δʣ
  6. micro:bit • ༗໊ɺ͘͢͝Α͘Ͱ͖ͯΔ • ηϯαɺεΠονɺLED༷ʑ͍ͭͯΔ • JS΍PythonͰίʔυ͕ॻ͚Δɺ Web IDE΋Α͘Ͱ͖ͯΔ •

    ͍͚Δ͔΋ʁʁ • ʢ…Μ͚ͩͲɺI2C΍SPIͰ֎෦σόΠε ੍ޚ͕Ͳ͏ʹ΋͏·͘ಈ͔ͣఘΊͨʣ
  7. raspberry pi 2 model B • (ॴҦɺී௨ͷϥζύΠ) • ͳΜͰ΋Ͱ͖Δ͕ɺͰ͔͍ •

    Ձ͕֨΅ͪ΅ͪߴ͍(5000ʙ7000ԁ) • 2AͷUSBిݯͰ΋҆ఆ͠ͳ͍ͱఆධͷ ߴফඅిྗ • (ը૾͸WikipediaΑΓ)
  8. Raspberry pi zero w • খ͍͞ʂ௿ফඅిྗʂʢ໿150mAhʣ • Έͳ͞Μ͓ͳ͡ΈLinux͕ಈ͘ʂ • Wifi෇͖ʂ

    • ʮPHP͕ಈ͔͘Β࠾༻ʂʂʯ • PythonͳͲ͕͏͘͝ʂ • ͍҆ʂ • ͜Ε࢖͍͍ͨͳ…
  9. ͔͠͠zero (w)͸ೖखੑ͕ѱʮ͔ͬͨʯ • ʮࡏݿ੾Εʂʯʮ͓ҰਓҰݸʂʯ • ͢Δͱ2018/1ʹRaspberry Pi zero ʮwhʯ͕ొ৔ʂ •

    ʢ஋্͕͕ͬͨʣ਺ඦݸͰ΋؆୯ʹखʹೖΔʂ • ϐϯϔομ΋࠷ॳ͔Β͍ͭͯΔʂ (w͸ɺϐϯϔομΛࣗ෼Ͱ͸Μͩ෇͚౳͢Δඞཁ͕͋ͬͨ) • ͍͚ͦ͏ʂ
  10. TFTӷথ • Χϥʔͩ͠ɺ൓Ԡੑߴ͍ • ͋Δҙຯ࠷ߴ • Ձ͕֨ߴ͍ • ిྗ͕݁ߏඞཁ •

    HDMIϙʔτ઀ଓ͸ΰπ͍͠ɺ SPI઀ଓ͸޻෉͠ͳ͍ͱ஗͍ʢ͠ɺղ૾ ౓͕…ʣ
  11. • ! ໊ࡳͱͯ͠ࢹ໺֯࠷ߴ • ! ιϑτ΢ΣΞͷ࣮૷͕௒ϥΫ • ! ଴ػ࣌௿ফඅిྗ •

    ! ిݯΦϑͰ΋දࣔܧଓ • ❌ϞϊΫϩʢ3৭ͷ΋ͷ΋͋Δ͕ߴ͍ʣ • ❌Ԡ౴଎౓͕ѱ͍
  12. ͍͖ͳΓ·ͱΊʢόοαϦলུʣ • PoCͷσϞػΛϏϧίϯओ࠻ͷ຀͞ΜʹݟͤΔ(ञΛೖΕͭͭ) • ͍͍ײ৮ͳͷͰɺ಺෦Ͱݕ౼ΛਐΊɺఏҊʂ اը → ʮ͜Ε͸͠Ό΋͡2.0Ͱ͢ʂʯ(৽ن֓೦Ͱͳ͘ɺVerUP) ֓ࢉݟੵ →

    ʮ͓҆͘Ͱ͖·͢ʂʯ(ίετμ΢ϯؤுΔʂ) • ṖΨδΣοτʹཧղͷ͋ΔϝϧΧϦ༷͕࠾༻ʂ • ʮΑ͠ʂకΊ੾Γ·Ͱ൒೥ͩʂͳΜͱͯ͠΋΍Δͧʂʯ
  13. EPD

  14. Ͳ͏͍͏΋ͷ͕Ͱ͖Δ ͷʁ • ͜͜Ͱྫྷ੩ʹσϞػΛݟΔ • ͏Μ… • খ͍͞Ͷ… • ໊ࡳͱͯ͠…

    • ͱ͍͏͜ͱͰɺ༧ࢉ͕֬ఆ͍ͯ͠Δͷ ʹը໘Λେ͖͘͢Δ͜ͱʹ͠·ͨ͠ʂ ʢʁʣ
  15. ؾΛऔΓ௚ͯ͠ • αΠζҧ͍Λ֬ೝ • 7.5͸ίϯτϩʔϥ͕ผͩ͠ɺ·Μ·ϓ ϥ൘ͰંΕͦ͏ • 4.2͸ίϯτϩʔϥج൫ҰମͰߏ଄తͳ αϙʔτ͕ෆཁ •

    ωδ݀΋͋ΔͷͰɺऔΓ෇ָ͚͕ʂ • 4.2ʹܾఆʂ • (ػೳతʹ͸2.13͸ύʔγϟϧॻ͖׵͑ ΋͋ͬͨͷ͕ͩ…࢒೦)
  16. • ࣮͸ΧΠϯζʹ΋͋Γ·͢ɻ౰વళ಺ ʹMDF΋ചͬͯΔɻ࠷ߴʂ • ʢ௨Γ͕͢Γͷ͓ͬͪΌΜ͕͛͠͠ ͛ͱ೷͖ࠐΜͰ͘Δʣ • ͘͢͝ؾʹೖ͚ͬͨͲɺΨϥΨϥͰ ৺഑ʹͳΔɻ •

    ݐ෺಺ͷΧϑΣͰσʔλ࡞੒ → USBϝϞϦΛ࣋ͬͯϨϯλϧਃ੥ • ʢΧΠϯζ͸ߴ͍͍͔ͯ͘Βm2.6͔ ΒωδφοτΛ͓͍ͯɺ୺ࡐΛࣺͯ ͤͯ͘͞Εͳ͍͔ͳ…ʁʣ
  17. • ຊ౰͸ςετൃ஫ͯ͠ൺֱ͔ͨͬͨ͠ • ͓ຍ௚લͰ͕࣌ؒͳ͔ͬͨ(ࣗۀࣗಘ) • ݁Ռɺூࠁ෦͕ࢼ࡞඼ΑΓͪΐͬͱூ Γ͕ਂ͘ͳͬͨʢೱ͘ͳͬͨʣ • Πϝʔδͱ͸มΘ͕ͬͨɺࡉ͔͍จ ࣈͳͲ͸ΫοΩϦͨ͠

    • ூࠁ෦ʢృΓ΍ઢʣ͸ɺʮਂ͞ʯΛ۩ ମతʹࢦఆ͢Δ͜ͱ͸͘͢͝೉͍͠ • (MDF΍Χολʔ͸छྨ͕৭ʑ͋Δ ͠ɺҹ࡮ͷ༷ʹߍਖ਼͢Δࢦඪ΋ͳ͍)
  18. • ผͷೖखઌΛ͕͞͞ͳ͍ͱʂ • ָఱͰʮ׬શʹҰகʯΛΈ͚ͭͨ • ଈҰݸߪೖɺ΄΅׬શʹҰகΛ֬ೝ • ൢചձࣾʹ࿈བྷ͠ɺେྔߪೖͰ͖Δ͔ ࣭໰ →

    OK! • ༧ࢉΦʔόʔ͕ͩɺख഑Ͱ͖ͨʂ • ໿ˇ200ʢˎ210ʹˇ42000ʣ্ঢɺ ݁ߏ௧͍ • ۝ࢮʹҰੜ • ౸ணͯ͠ຊ౰ʹ҆৺ͨ͠…
  19. • ༧ࢉ΋ͳ͍͠ɺ100ۉͰ΍͍͖͍ͬͯͨ • μΠιʔ → ແ͍ʢ඼੾Εʣ • μϝݩͰࢼͣ͞ΩϟϯυΡͷ௨ൢʢ36 ݸ͔Βʣ →

    ʮବ໨Ͱͨ͠ʂʂʯ • μϝݩͰηϦΞʹ… • ʮ͑ͬɺ͍͍έʔϒϧ୔ࢁ͋Δͧʁʯ • ࡾछྨങ͏ → શ෦௨৴OKʂ • ໪࿦શ෦100ԁ
  20. 8GB != 8GB • ʢϒϥϯυ඼͸ͦΜͳࣄͳ͍͔΋ʣ • ͭ·ΓɺσΟεΫΠϝʔδΛSDҰഋʹ࡞ΔͱޙͰ٧Έ·͢ʂ • ࠓճ͸2GBҎԼͰΠϝʔδͭ͘Γ·ͨ͠ •

    খ͍͞ํ͕Ϗϧυ΋ָͩ͠ • (raspbianͷॳճىಈ࣌ͷresizeΛফͨ͠) • ʮ2GBҎԼͳΒGitHubͷReleaseʹULͰ͖ͯศརʂʯ
  21. • ϗϜηϯ → ·ͣM2.6ͱ͔͸ແ͍ • amazonͱ͔ → ΄ͱΜͲແ͍ • ۀൢ

    → ࠷খϩοτ͕ສ୯Ґɺʮૉਓ͝ԕྀ͍ͩ͘͞ʯ • ϓϩ޲͚௨ൢ → ݁ߏ͔͍ͨ… ʢ͠ɺຊདྷݸਓ͸࢖ͬͨΒବ໨ʣ ʢ·͋๻͸ϑϦʔϥϯεͰ΋͋Δ͠…ʣ • ʮͦ΋ͦ΋ن֨දݟͯ΋ɺਖ਼௚Α͘Θ͔ΒΜͳʯ
  22. ͦΜͳ࣌͸ळ༿ݪ • ੢઒ిࢠʹߦ͘ • => ݱ෺Λ਺ݸങͬͯΈΔ • => ͦͷ଍Ͱ٤஡ళʹߦ͖ɺ͘ΈͨͯͯΈΔ •

    => ʮΑ͠ʂ͜Εͩʂʯ • (ඇৗʹ໌շɺ̎࣌ؒάάΔͳΒͬ͞͞ͱΞΩόʹߦ͘΂͖)
  23. Αʔ͜͠ΕͰʂ • ͍΍ɺ·ͩ͋Γ·͢ • ؇িࡐʢͱ͍͏͔ࠝแࡐʣɺ ϓνϓνͷ੩ి๷ࢭା • 2૚(ย໘͕ತԜ)ͱ3૚(྆໘͕ฏ໘)͕͋ Γ·͢ɻένΒͣ3૚͕Α͍Ͱ͠ΐ͏ɻ •

    ੇ๏ʹ͓͍ͯ͸ɺॎԣ͚ͩͰͳ͘ɺϖ ίϦʢંΓฦ͠෦෼ʣΛͪΌΜͱݟ· ͠ΐ͏ɻ • ී௨ʹamazonͰߪೖʢָ͗͢Δ…ʣ
  24. ਓւઓज़΁ • ϏϧίϯSlackʹͯʮٸืɿωδճ͕͠ ಘҙͳਓʯ • ελοϑͷπςͰVOYAGE GROUP༷ͷ ΦϑΟε͓आΓͰ͖ͨɺ͋Γ͕ͱ͏͝ ͍͟·͢ʂ •

    ंͰશ෦ࡐΛ࣋ͪࠐΈɺେྔੜ࢈ • 9ਓ͕͔ΓɺҰ೔ͰͳΜͱ͔׬ྃ • chocopie116ࢯɺdoi-tࢯɺmorizooo ࢯɺsatoࢯɺuessyࢯɺmacopyࢯɺ lestrratࢯɺͦͯ͠࠺ɺ͋Γ͕ͱ͏…ɻ
  25. ݁Ռతʹશ਺ݕࠪ • EPDɿ (ԚΕɺέʔϒϧؚ) ෆྑ཰ 2% ΄Ͳ • όοςϦʔɿ ෆྑ཰

    5% ௒ • ϥζύΠɿ 1͚ͭͩϐϯζϨɺަ׵ • microSDʀ̍ຕॻ͖ࠐΈ͕ົʹ஗͍΋ͷ • ʮશ਺ݕࠪɺඞཁ͗͢Δ…ʯ
  26. • 16ϙʔτͰ16ഒ଎ͩʂ • Πϧϛωʔγϣϯ៉ྷ • ࠺ʮ͜ΕՐࣄʹͳΒͳ͍ͷʁʯ ͏ʮͳΒͳ͍…ͱࢥ͍͍ͨ…ʯ (ͳΒͳ͔ͬͨ) • 4ϙʔτߴग़ྗUSBॆిث͸೩͑Δ΄Ͳ

    ൃ೤ͨ͠ͷͰ3ϙʔτʹ͕ͨ͠ɺͲ͏Ͱ ΋͍͍13ϙʔτͷσʔλHUB͸13ݸͿ ΒԼ͛ͯ΋Թ͔͍ఔ౓ͰॆిͰ͖ͯศ རͩͬͨ…ɻ (ຊ౰ʹॆిͰ͖ͯΔ͔ෆ҆ͳ΄Ͳʹ)
  27. ຊମ͕ग़དྷͨʂmicroSDমͧ͘ʂ • खͰম͘ͱɺҰݸম͘ͷʹ5෼ • 5 * 210 / 60 =

    17.5h • ʢ5෼ʹҰ౓ׂΓࠐΈ͕ೖΔ࡞ۀΛٳΈແ͠Ͱ΍ͬͨ৔߹ʣ • ·͋ɺΘ͔ͬͯ͸͍ͨΑʂ
  28. • 210ຕ / 10 * 30෼ / 60 • =

    10.5࣌ؒ(ٳΈແ͠) • ॏཁͳͷ͸ɺख͕ؒ30෼ʹҰ౓ͳ͜ͱ ͱख͕ؒ1/10ͳ͜ͱʂ • ʮ10࣌ؒΩϥΩϥͰΩϨΠʂ()ʯ • ιϑτ͸ແ೉ʹEtcher • ৴པੑˍָ͞ˍϕϦϑΝΠ෇͖ • (Etcher͸ෳ਺υϥΠϒॻ͖ࠐΈػೳ ͕͋Δ)
  29. ͝ҙݟ • ʮઈରΈΜͳ࡞ΒΜʯ => ૊ཱࡁΈ΁ • ʮssh஌Βͳ͍ਓ͍ΔͰ͠ΐʯ => USBϝϞϦϚ΢ϯτՄೳʹ •

    ʮεϚϗͷਓ͸Ͳ͏͢Δͷʁʯ => Ϋϥ΢υରԠʂʂ • ͲΕ΋͍͍ͪͪ͝໬΋ɺଞਓͷҙݟ͸ॏཁʂ
  30. journaldΛͪΌΜͱ࢖͏ • ։ൃػͰ͸ϩάΛ࢒͢Α͏ʹઃఆ͢Δʢແઃఆͩͱɺشൃʣ • journalctl -b -1 -u nafuda-bootup •

    b΍uΦϓγϣϯͰʮNճલͷిݯ౤ೖ࣌ɺಛఆͷαʔϏεʯ ͚ͩݟΕΔ • lessͰ΢ϩ΢ϩ͠ͳ͍͍ͯ͘ʂศརʂ • (୯ʹϑΝΠϧʹग़͍ͨ࣌͠͸ෆศ…)
  31. ੍࡞ͨ͠ιϑτ΢ΣΞʹ͍ͭͯ • େ͖͘෼͚ͯ2ͭ • EPDඳըͷαϯϓϧίʔυ • Py3ରԠͷϥΠϒϥϦ΍ɺ໊ࡳ༻εϥΠυγϣʔͳͲ • bootup •

    ʮిࢠ໊ࡳʯͷϑΝʔϜ΢ΣΞΈ͍ͨͳ΋ͷ • NAFUDAυϥΠϒ࣮ݱ΍ɺىಈ࣌ࣗݾॳظઃఆͳͲ
  32. bootup • ύεϫʔυॳظԽ • ϗετωʔϜॳظԽ • NAFUDAυϥΠϒ༗ޮԽ • ͋Δ͍͸Gadget Ether,serial༗ޮԽ

    • simple-nafuda ໊ࡳϓϩάϥϜىಈ • ౳Λىಈ࣌ʹߦ͏ɺ௕େͳBashεΫϦϓτ
  33. # ϥϯμϜจࣈྻΛύεϫʔυ༻ʹੜ੒͢Δ /usr/bin/openssl rand -base64 6 > /boot/default_passwd.txt /bin/echo "pi:`/bin/cat

    /boot/default_passwd.txt`" | /usr/sbin/chpasswd • chpasswd͸STDIN͔ΒύεϫʔυΛ͏͚͚ͭͯมߋͯ͘͠ΕΔ
  34. if [ -e ${VSD_BASE_DIR}/enable_g_ether ] then G_MODE="g_ether" ${VSD_RW} /bin/rm ${VSD_BASE_DIR}/enable_g_ether

    ${VSD_RO} modprobe g_ether ifconfig usb0 up ifconfig usb0 169.254.123.45/16 # IPݻఆ fi if [ -e ${VSD_BASE_DIR}/enable_g_serial ] then G_MODE="g_serial" ${VSD_RW} /bin/rm ${VSD_BASE_DIR}/enable_g_serial ${VSD_RO} modprobe g_serial systemctl start [email protected] fi if [ -z "${G_MODE}" ] then G_MODE="g_mass_storage" modprobe g_mass_storage file=${VSD_IMG_PATH} stall=0 removable=1 fi
  35. Raspbian • DLϖʔδʹ஫ҙॻ͖͕ • Oracle - Java, • Wolfram Research

    - Mathematica, • ͳΔ΄Ͳʂ྆ํͱ΋ແ͍͔ؾΛ͚ͭΑ ͏ʂ • dpkg-query -l |grep java • ೖͬͯͳ͍ͷͰηʔϑ
  36. ൈਮ 1 License: Binary redistribution (Atheros) 4 License: Beer-ware •

    ͳΔ΄ͲόΠφϦͳΒOK • ͳΔ΄ͲϏʔϧ΢ΣΞʢ͍͔ͭػձ͕͋Ε͹ϏʔϧΛ…ʣ • ͜ΕΒ͸Θ͔Δɺ͔͠͠…
  37. ·ͣऔΓࠐΉ • SDΧʔυΛMacʹͭͳ͍Ͱɺ͓ͳ͡ΈddίϚϯυΛ࢖͏ • dd if=/dev/rdisk2 of=bc.img count=1776 bs=1m •

    /dev/diskXͰͳ͘ɺ /dev/rdiskXΛ͔͍ͭ·͠ΐ͏ɺ଎౓͕10ഒ଎͍ɻ • (bs=1mͷ࣌ͷ)count=1776ͬͯͲ͔͜Βग़͖ͯͨʁ →ʢΦϚέΛݟͯͶ
  38. ೤͍ʂ • 39౓ vs 49౓ • 10ຕ࣌ͷ࣮ޮ଎౓͸1.2ഒ͘Β͍ • (·͋ɺ͜ͷʮιϦϡʔγϣϯʯ͕ΠϚΠνͳͷͩ) •

    (ຊ෺ͷϚγʔϯ͸ύϥϨϧͰ΋଎͍Β͍͠ɺॴḨ·͕͍෺ͩ… ·͋ࠓճ͸े෼͚ͩͬͨͲ…)
  39. ༨ஊ)ddͰಡΈࠐΉ࣌ͷcountͷܭࢉ $ sudo fdisk -e /dev/disk2 fdisk: 1> print Disk:

    /dev/disk2 geometry: 958/255/63 [15400960 sectors] Offset: 0 Signature: 0xAA55 Starting Ending #: id cyl hd sec - cyl hd sec [ start - size] ------------------------------------------------------------------------ 1: 0C 0 130 3 - 6 4 22 [ 8192 - 88472] Win95 FAT32L 2: 83 6 30 25 - 226 104 6 [ 98304 - 3538944] Linux files* 3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused 4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
  40. #: id cyl hd sec - cyl hd sec [

    start - size] ------------------------------------------------------------------------ 1: 0C 0 130 3 - 6 4 22 [ 8192 - 88472] Win95 FAT32L 2: 83 6 30 25 - 226 104 6 [ 98304 - 3538944] Linux files* 3: 00 0 0 0 - 0 0 0 [ 0 - 0] unused • ʮ͜ͷ৔߹ɺΦϑηοτ98304ηΫλ͔Βɺ 3538944ηΫλઌ ͕ऴ୺ηΫλͩͳʂʯ • 2048ηΫλ = 1024KiBͳͷͰ… • (98304 + 3538944) / 2048 = 1776
  41. # ෇࿥ ݸਓతʹΑ͘ݟͯͨ(?)γϣοϓ - AliExpress(৭ʑͳҙຯͰ࠷ڧɺࣗݾ੹೚) - Amazon.co.jp(ṖͷۀऀͰ΋҆৺(?)) - εΠοναΠΤϯε (νϣΠεʹ͓͠ΌΕ͞Λײ͡Δ)

    - ळ݄ిࢠ - ઍੴి঎ - Ϛϧπ - Aitendo - adafruit (ͷγϣοϓ) - KSY (ͷɺಛʹRspberry pi Shop) - pimoroni - RSίϯϙʔωϯπ - strawberry-linux (ిݯ͕ຊ౰ʹྑ͍…) - Digikey (඼਺࠷ڧ) - Mouser (ʮ͝ΊΜʂۭ༌Ͱ͖ͳ͔ͬͨ͆ʯΈ͍ͨͳ͓஡໨ͳࣄ΋͋ͬͯ଀Ίͳ͍)
  42. ༨ஊ OSXʢͷbashʣͱvfat $ ls -al ls: .: Invalid argument •

    ͜ͷΑ͏ͳΤϥʔ͕ग़ͨΓͰͳ͔ͬͨΓ͢Δɻ • ʢexfatΛ࢖͏ͱղܾ͢ΔΒ͍͕͠ɺϓϩϓϥΠΤλϦͰ࠷ॳ͔ Βύοͱ͍Ε͓͖ͯͮΒ͍ʣ
  43. ༨ஊ)QEMUΛ͔ͭͬͨVM͸Ͳ͏͔ʁ qemu-system-arm \ -kernel kernel-qemu-4.9.59-stretch \ -cpu arm1176 \ -M

    versatilepb \ -dtb versatile-pb.dtb \ -m 512 \ -no-reboot \ -serial stdio \ -curses \ -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" \ -hda 2018-06-27-raspbian-stretch-lite.img \ -net nic -net user,hostfwd=tcp::10022-:22 • ࠓճ͸EPDΛ͔ͭ͏͕ɺVMʹ͸EPDͳ͍ͷͰ೉͔ͬͨ͠
  44. # νΣοΫϦετ - ೔ࠒ͔ΒΞΠσΟΞΛஷΊɺ৭ʑങͬͯࢼ͓ͯ͜͠͏ - Αͦ͞͏ͳ஥ؒ΍৔Λ͕͓ͯ͜͞͠͏ - ݟੵ΋ΓલʹϢʔβʔςετΛ͠Α͏ʂൿີओٛ͸ϋϯσʂ - ͭΒ͍ʂʢਏ͍Ͱ͸ͳ͍ʣ

    - ૣ͘࢓༷͸ݻΊΑ͏ʂ - ༧ࢉ͸ॊೈʹͰ͖ΔΑ͏ʹ͠Α͏ʂ༧උඅΛͭ΋͏ʂ - ෦ࡐ͸਺͕औΕΔ͔·ͣʹ໰͍߹ΘͤʂͪΜͨΒ΍ͬͯΔͱ෦ࡐ͕σΟείϯʂ - ͭΒ͍ʂʢਏ͍Ͱ͸ͳ͍ʣ - खʹ͸͍Γͦ͏ͳΒૣ͘஫จʂ - ੡଄஥ؒΛΈ͚ͭΑ͏ʂ - ޿͍৔ॴΛ༻ҙʂʢϞϊΛஔ͍͓ͯ͘ʹͤΑɺ૊ΈཱͯΔʹͤΑʣ - βςετ༻ͷςετػ͸ૣΊʹ४උ͠Α͏ʂ - ΢ΣϒͱҧͬͯޙͰσϓϩΠͰ͖ͳ͍͔Βग़དྷΔ͚ͩૣ͘ϕʔλ൛Λʂ - కΊ੾ΓΛ৳͹ͨ͢ΊͷͰ͸ͳ͘ɺվળͷͨΊʹʢͱݴͬͯʣۚΛ࢖͓͏ʂ - ҙݟ͸཰௚ʹ͖͜͏ʂ͔ࣗ͠͠෼ͷ໨ඪ͸͔ͬ͠Γ࣋ͱ͏ʂ - ҙݟΛ͍ͬͯ͘ΕΔςελʔΛखް͘΋ͯͳͦ͏ʂ - ͨͷ͍͠ʂ