このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
mas1xx_devel:build_firmware:start [2020/07/29 18:39] – 作成 admin | mas1xx_devel:build_firmware:start [2023/04/12 17:58] (現在) – admin | ||
---|---|---|---|
行 1: | 行 1: | ||
====== ファームウェアの作成 ====== | ====== ファームウェアの作成 ====== | ||
+ | |||
+ | \\ | ||
'' | '' | ||
スクリプト本体は、[[download_software: | スクリプト本体は、[[download_software: | ||
+ | < | ||
+ | user1@mas1xx-devel: | ||
+ | MA-S1xx series Firmware build script | ||
+ | usage: build_firm.sh -k kernel_dir -r rootfs_dir [-c COMPRESSION] [-o firmware_file] | ||
+ | user1@mas1xx-devel: | ||
+ | </ | ||
+ | |||
+ | 引数として、下記を指定します。 | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | \\ | ||
+ | |||
+ | 実行例は下記のようになります。 | ||
+ | |||
+ | < | ||
+ | user1@mas1xx-devel: | ||
+ | MA-S1xx series Firmware build script | ||
+ | * use default config | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | LEX | ||
+ | YACC scripts/ | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTLD | ||
+ | # | ||
+ | # configuration written to .config | ||
+ | # | ||
+ | * kernelrelease: | ||
+ | scripts/ | ||
+ | SYSHDR | ||
+ | SYSHDR | ||
+ | SYSHDR | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | LEX | ||
+ | YACC scripts/ | ||
+ | HOSTCC | ||
+ | HOSTCC | ||
+ | ... 中略 ... | ||
+ | mail (8) | ||
+ | staff (50) | ||
+ | unknown (112) | ||
+ | adm (4) | ||
+ | * create initramfs ... | ||
+ | update-initramfs: | ||
+ | adding: kernel.img (stored 0%) | ||
+ | adding: kmod.img (stored 0%) | ||
+ | adding: initramfs.img (stored 0%) | ||
+ | adding: rootfs.img (stored 0%) | ||
+ | adding: .config (deflated 77%) | ||
+ | adding: at91-centurysys-gemini-00.dtb (deflated 76%) | ||
+ | adding: at91-centurysys-gemini-01.dtb (deflated 76%) | ||
+ | adding: at91-centurysys-gemini-01.dtbo (deflated 64%) | ||
+ | adding: at91-centurysys-gemini-02.dtbo (deflated 63%) | ||
+ | * Firmware filename: / | ||
+ | done. | ||
+ | please remove working directory '/ | ||
+ | user1@mas1xx-devel: | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ファームウェアができあがりました。 | ||
+ | |||
+ | < | ||
+ | user1@mas1xx-devel: | ||
+ | -rw-r--r-- 1 root root 87142992 | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ファームウェアは ZIP ファイル形式になっていますので、'' | ||
+ | |||
+ | < | ||
+ | user1@mas1xx-devel: | ||
+ | Archive: | ||
+ | Length | ||
+ | --------- | ||
+ | 4757680 | ||
+ | 1335296 | ||
+ | 2456724 | ||
+ | | ||
+ | | ||
+ | 33413 2020-07-29 11:21 | ||
+ | 33663 2020-07-29 11:21 | ||
+ | | ||
+ | | ||
+ | --------- | ||
+ | | ||
+ | </ | ||
+ | \\ | ||