algyan / intelfpga_azureota Goto Github PK
View Code? Open in Web Editor NEW実機貸出有!【オンライン】FPGA回路をリモートで書換→壮大なLチカ!インテルFPGAハンズオン#1 https://algyan.connpass.com/event/185328/presentation/
License: Apache License 2.0
実機貸出有!【オンライン】FPGA回路をリモートで書換→壮大なLチカ!インテルFPGAハンズオン#1 https://algyan.connpass.com/event/185328/presentation/
License: Apache License 2.0
C. 5.DE10-NanoボードのIoT Edgeデバイスとしての登録
https://docs.google.com/document/d/17Cv8G8u0Gno1lVB1vXOASe3yWr6k62_uR_0-vy8kd1o/edit#heading=h.rspd7iouax2f
/etc/iotedge/config.json と /etc/docker/daemon.json の編集をボードのターミナル上で行うが,Vimの操作に慣れていないとつらい.代案を追加する.
案としては,Tera TermのSSH SCP機能でいったんホストにコピー,編集してから再度戻してもらう.
config.yamlとdaemon.jsonを手順を見ながら編集しましたが、ステータスが「Activate: inactive」となってしまいます。Linuxの再起動、基板の再起動を試しましたが状態変わりません。他に設定が必要でしょうか?
基板はインターネットには繋がっています。
(systemctl 実行結果です)
root@de10nano:~# systemctl restart iotedge
root@de10nano:~# systemctl status iotedge
● iotedge.service - Azure IoT Edge daemon
Loaded: loaded (/lib/systemd/system/iotedge.service; enabled; vendor preset:
Active: inactive (dead) (Result: exit-code) since Mon 2020-09-21 10:59:22 UTC
Docs: man:iotedged(8)
Process: 3271 ExecStart=/usr/bin/iotedged -c /etc/iotedge/config.yaml (code=ex
Main PID: 3271 (code=exited, status=1/FAILURE)
Sep 21 10:59:22 de10nano systemd[1]: iotedge.service: Service hold-off time over
Sep 21 10:59:22 de10nano systemd[1]: iotedge.service: Scheduled restart job, res
Sep 21 10:59:22 de10nano systemd[1]: Stopped Azure IoT Edge daemon.
Sep 21 10:59:22 de10nano systemd[1]: Dependency failed for Azure IoT Edge daemon
Sep 21 10:59:22 de10nano systemd[1]: iotedge.service: Job iotedge.service/start
ファイル[E. IoT Edgeモジュールの開発] page1,2,3
VScodeの
iot edge new
のコマンドの後の、4つ値を入力(「Provide a Solution Name」、「Select Module Template」、「Provide a Module Name」、「Provide Docker image Repository for the Module」)する辺りで、途中でVSCodeのWindowのfocusを外してWindowsを切り替えたらポップアップ入力フォームが消え、中途半端にプロジェクト"EdgeSolution"が作られてしまい、編集できない、消せない状態になりました。
FHDのモニタ1つだと、この工程は複数のWindowを切り替えなければならず(Teams/ブラウザ上のgoogle docのテキストのタブ/ブラウザ上のAzureのタブ/VSCode)、VSCodeとそれ以外のWindowを切り替えていたら、思い通りの操作ができずはまりました。
中途半端なフォルダEdgeSolutionを消そうにも、ファイルをオープンしているため、消せませんでした。
時刻でいうと16:10頃でした。
VSCode上の構成が全く分からないまま20分ほど悪戦苦闘している間に話はどんどん進み、16:30頃、話の内容を聞くほうが意義があると思い、作業のリカバリーは諦め、以後は作業をやめて話を聞くことにしました。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.