この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
download_software:mas1xx:azure_iot_edge:start [2023/04/20 11:05] admin |
download_software:mas1xx:azure_iot_edge:start [2023/04/25 08:42] (現在) admin |
||
---|---|---|---|
ライン 6: | ライン 6: | ||
=== 注意点 === | === 注意点 === | ||
- | * ファームウェアサイズがとても大きいので、WebUI からのファームウェア更新はできません((メモリ不足で OOM Killer が発生して失敗します、そのまえにアップロードできません。)) | + | * ファームウェアサイズがとても大きいので、WebUI からのファームウェア更新はできません((メモリ不足で OOM Killer が発生して失敗します、そのまえにアップロードできません。SD カードにファームウェアを入れて、コマンドラインからファームウェア更新を実行する必要があります。)) |
* Azure IoT のパッケージでたくさんのアカウントが追加されるので、更新後オーバーレイ領域を全消去する必要があります。 | * Azure IoT のパッケージでたくさんのアカウントが追加されるので、更新後オーバーレイ領域を全消去する必要があります。 | ||
ライン 18: | ライン 18: | ||
{{:download_software:mas1xx:azure_iot_edge:iotedge_jammy_00.png|}} | {{:download_software:mas1xx:azure_iot_edge:iotedge_jammy_00.png|}} | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== ファームウェア更新方法 ===== | ||
+ | |||
+ | 上に記載したとおり、ファームウェアサイズが大きいため、tmpfs に配置してのファームウェア更新はできません。\\ | ||
+ | SD カードにファームウェアをコピーし、実機で mount してファームウェア更新コマンドを実行することでファームウェアを適用します。 | ||
+ | |||
+ | <code> | ||
+ | root@gemini:~# mount /dev/mmcblk1p1 /mnt/sd/ | ||
+ | root@gemini:~# ls -l /mnt/sd | ||
+ | total 205856 | ||
+ | -rwxr-xr-x 1 root root 210766960 Apr 20 10:04 mas1xx_jammy_aziot_v6_0_0rc1.img | ||
+ | root@gemini:~# | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | root@gemini:~# firmup /mnt/sd/mas1xx_jammy_aziot_v6_0_0rc1.img | ||
+ | ### MA-S1xx series firmware update utility (for 2-area firmware). | ||
+ | * checking firmware file integrity... OK. | ||
+ | Updating Area: 0 ... | ||
+ | * image file for kernel found, writing... succeeded. | ||
+ | * image file for kmod found, writing... succeeded. | ||
+ | * image file for initramfs found, writing... succeeded. | ||
+ | * image file for rootfs found, writing... succeeded. | ||
+ | * DTB file(s) found. | ||
+ | writing at91-centurysys-gemini-00.dtb... succeeded. | ||
+ | writing at91-centurysys-gemini-01.dtb... succeeded. | ||
+ | writing at91-centurysys-gemini-01.dtbo... succeeded. | ||
+ | writing at91-centurysys-gemini-02.dtb... succeeded. | ||
+ | writing at91-centurysys-gemini-02.dtbo... succeeded. | ||
+ | writing at91-centurysys-gemini-03.dtb... succeeded. | ||
+ | writing at91-centurysys-gemini-03.dtbo... succeeded. | ||
+ | writing at91-centurysys-gemini-07.dtbo... succeeded. | ||
+ | * generating SUM file... | ||
+ | MD5: 17ac845a582b985e11d157299fca6ef2 | ||
+ | SHA1: 70887c22e2d94aea8df687721bbc76549ee8aa18 | ||
+ | done. | ||
+ | * updating default firmware area: 0 | ||
+ | Succeeded. | ||
+ | root@gemini:~# | ||
+ | </code> | ||
+ | |||
+ |