takamura.eiji
2025年8月22日 10時06分
==========
製品型番:AG9130-C03D0
Debian/ABOSバージョン:v3.22.1-at.1
==========
SDカード32GBでインストールディスクを作成しました。
以下の URL を参考にして abos-ctrl make-installer コマンドを実行しました。
※なお入力した値は以下 URL の例と同じ
https://manual.atmark-techno.com/armadillo-iot-a9e/armadillo-iotg-a9e_p…
このままSDカードは普通に使えるのですが、以下の URL を参考に installer_overrides.sh を作成(添付ファイル)して send_log 関数を配置すると
<シリアル番号>_install.log が生成されませんでした。
https://manual.atmark-techno.com/armadillo-iot-a9e/armadillo-iotg-a9e_p…
installer_overrides.sh は Windows 上で操作し、INST_DATA のドライブの直下の installer_overrides.sh.sample をコピーして作成しました。
以下が SD カードを入れた際に出力されたコンソールログになります。
本件どうすれば <シリアル番号>_install.log が生成されるのでしょうか?
U-Boot SPL 2023.04-at6 (Jul 29 2025 - 00:03:07 +0000) Normal Boot ELE firmware version 1.0.0-344acb84 upower_apd_inst_isr: entry upower_init: soc_id=48 upower_init: version:11.11.13 upower_init: start uPower RAM service user_upwr_rdy_callb: soc=b user_upwr_rdy_callb: RAM version:12.17 Turning on switches... Turn on switches ok Turning on memories... Turn on memories ok Clearing DDR retention... Clear DDR retention ok drive: OD SEC0: RNG instantiated WDT: Started m33-at-wdt with servicing every 1000ms (60s timeout) Trying to boot from BOOTROM Boot Stage: Primary boot image offset 0x8000, pagesize 0x200, ivt offset 0x0 Load image from 0x5a800 by ROM_API NOTICE: BL31: v2.8(release):2023.04-at6 NOTICE: BL31: Built : 00:03:07, Jul 29 2025 NOTICE: upower_init: start uPower RAM service NOTICE: user_upwr_rdy_callb: soc=b NOTICE: user_upwr_rdy_callb: RAM version:12.17 I/TC: I/TC: Non-secure external DT found I/TC: OP-TEE version: 2023.04-at6 (gcc version 10.2.1 20210110 (Debian 10.2.1-6)) #1 Tue Jul 29 00:03:07 UTC 2025 aarch64 I/TC: Primary CPU initializing I/TC: Primary CPU switching to normal world boot U-Boot 2023.04-at6 (Jul 29 2025 - 00:03:07 +0000) M33 Sync: OK CPU: i.MX8ULP(Dual 5) rev1.2 at 800MHz CPU current temperature: 29 Reset cause: POR Boot mode: Single boot Model: Atmark-Techno Armadillo-900 DRAM: Hold key pressed for tests: t (fast) / T (slow) 992 MiB Disabled RTC alarm Core: 52 devices, 24 uclasses, devicetree: separate WDT: Started m33-at-wdt with servicing every 1000ms (60s timeout) MMC: FSL_SDHC: 0, FSL_SDHC: 2 Loading Environment from MMC... OK In: serial Out: serial Err: serial SEC0: RNG instantiated switch to partitions #0, OK mmc2 is current device flash target is MMC:2 Net: eth0: ethernet@29950000 Fastboot: Normal Normal Boot Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc2 is current device 23190016 bytes read in 2713 ms (8.2 MiB/s) Booting from mmc ... 40921 bytes read in 37 ms (1.1 MiB/s) Loading fdt boot/armadillo.dtb Working FDT set to 83000000 Failed to load 'boot/overlays.txt' ## Flattened Device Tree blob at 83000000 Booting using the fdt blob at 0x83000000 Working FDT set to 83000000 Using Device Tree in place at 0000000083000000, end 000000008304dfff Working FDT set to 83000000 Delete node /soc@0/bus@2d800000/epdc@2db30000 Delete node /soc@0/bus@2d800000/epxp@2db40000 Starting kernel ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot [ 0.161078] fsl-edma-v3 29010000.dma-controller: Can't get mp clk. [ 0.310053] i.MX clk 10: register failed with -19 [ 0.310073] i.MX clk 11: register failed with -19 [ 0.323562] clk: failed to reparent lpuart4 to frosc_div2: -16 I/TC: Reserved shared memory is enabled I/TC: Dynamic shared memory is enabled I/TC: Normal World virtualization support is disabled I/TC: Asynchronous notifications are disabled Starting image installer script Erasing eMMC data... ok Writing rootfs image... ok Writing boot loader... ok Copying firm partition... ok Preparing app partition... ok Finishing installation... At subvol volumes At subvol boot_volumes At subvol boot_containers_storage Opening filesystem to check... [1/8] checking log skipped (none written) [2/8] checking root items [3/8] checking extents [4/8] checking free space tree [5/8] checking fs roots [6/8] checking csums against data [7/8] checking root refs [8/8] checking quota groups skipped (not enabled on this FS) Checking filesystem on /dev/mmcblk0p5 UUID: 68c0cacc-b91b-4025-991d-2c6eb0bfab26 found 97386496 bytes used, no error found total csum bytes: 93248 total tree bytes: 1900544 total fs tree bytes: 1605632 total extent tree bytes: 81920 btree space waste bytes: 550156 file data blocks allocated: 95485952 referenced 95485952 [ 34.410678] /dev/mmcblk2p2: Can't open blockdev mount: mounting /dev/mmcblk2p2 on /mnt failed: Resource busy cp: can't create '/mnt/00E300020260_install.log': Read-only file system Finished writing mmc. powering off now
以上、よろしくお願いいたします。
ファイル | ファイルの説明 |
---|---|
installer_overrides.sh |
at_dominique.m…
2025年8月22日 11時09分
takamura.eijiさん
申し訳ございません、ABOS 3.21-at.13 以降では send_log 実行時に USER_MOUNT を読み取り専用としてマウントを残すように変更しましたが、
それでマニュアルに記載している例でマウントコマンドが失敗してコピーできないようになりましたね…
スクリプトの変更でいくらでも対応できますが、今までの override が動かなくなるのは困るので今月のアップデートで動作を元通りにもどします。
それまでに mmcblk2p1 (SD カードの rootfs) をマウントして、 installer.sh で send_log 前に umount させてください。
以下のスクリプトを armadillo で実行すれば修正されるはずです
差分は以下の通りです
大変お手数ですが、よろしくお願いします。
また何かあればまた聞いてください。