Armadilloフォーラム

Linuxが起動しない

takeuchi.

2023年3月15日 9時16分

竹内です。
お世話になります。

image書き込み後にオートブートモードで起動しようとしたところ、以下ログが繰り返されLinuxが起動しない状態です。
対処方法をご教授いただけますでしょうか。

U-Boot SPL 2016.07-at23 (Mar 25 2022 - 16:42:41)
Trying to boot from SPI
 
 
U-Boot 2016.07-at23 (Mar 25 2022 - 16:42:41 +0900)
 
CPU:   Freescale i.MX7D rev1.3 at 996MHz
CPU:   Extended Commercial temperature grade (-20C to 105C) at 34C
Reset cause: POR
       Watchdog enabled
I2C:   ready
DRAM:  1 GiB
Boot Source: QSPI Flash
Board Type: Armadillo-X1(0a100000)
Revision: 0002
S/N: 3148
DRAM: 00001e05
XTAL: 00
force_idle_bus: sda=0 scl=0 sda.gp=0x6d scl.gp=0x6c
force_idle_bus: failed to clear bus, sda=0 scl=0
MMC:   FSL_SDHC: 0
Loading Environment from SPI Flash... SF: Detected N25Q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
OK
In:    serial
Out:   serial
Err:   serial
Found PFUZE300! deviceid 0x30, revid 0x11
Net:   FEC0
switch to partitions #0, OK
mmc0(part 0) is current device
switch to partitions #0, OK
mmc0(part 0) is current device
reading boot.scr
** Unable to read file boot.scr **
reading boot.scr
** Unable to read file boot.scr **
reading uImage
12926672 bytes read in 314 ms (39.3 MiB/s)
Booting from mmc ...
reading armadillo_x1.dtb
** Unable to read file armadillo_x1.dtb **
## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-4.9.133-at28
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    12926608 Bytes = 12.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
FDT and ATAGS support not compiled in - hanging
### ERROR ### Please RESET the board ###
コメント

at_mizo

2023年3月15日 9時28分

溝渕です。

以下が原因です。

> ** Unable to read file armadillo_x1.dtb **

[製品マニュアル: インストールディスクを使用する]
https://manual.atmark-techno.com/armadillo-x1/armadillo-x1_product_manu…

上記を参照して復旧してみてください。

もし、dtbのファイル名を変更した場合は、U-Bootの環境変数"fdt_file"を適切に設定することでも起動できると思います。

takeuchi.

2023年3月15日 16時47分

溝渕様

作成したimageのdtbファイル名を変更してまったことが原因であったようです。
U-Bootの環境変数"fdt_file"を適切に設定することで、無事Linuxが起動できました。

ご対応ありがとうございました。

> 溝渕です。
>
> 以下が原因です。
>
> > ** Unable to read file armadillo_x1.dtb **
>
> [製品マニュアル: インストールディスクを使用する]
> https://manual.atmark-techno.com/armadillo-x1/armadillo-x1_product_manu…
>
> 上記を参照して復旧してみてください。
>
> もし、dtbのファイル名を変更した場合は、U-Bootの環境変数"fdt_file"を適切に設定することでも起動できると思います。
>