nanopi_a64用fedora-arm-イメージインストーラ

nanopi_a64用fedora-arm-イメージインストーラ

「fedora-arm-image-installer」を使用してfedora 28のFriendlyARMでnanopi a64用のブータブルSDカードを作成しようとしましたが、「sunxi-spl.bin」と「u」-bootの両方のファイルが見つからないため、インストールが失敗しましたしました。 .itb"。

どの追加のrpmパッケージが必要ですか?または、インストール用にこれらのファイルをどのように生成しますか?

fedora-arm-image-installer \
   --image=Fedora-Mate-armhfp-28-1.1-sda.raw.xz \
   --target=nanopi_a64 \
   --media=/dev/sdb \
   --selinux=OFF \
   --norootpass \
   --resizefs \
   -y

実行ログを完了します。エラーは最後にあります10行。

=====================================================
= Selected Image:                                 
= Fedora-Mate-armhfp-28-1.1-sda.raw.xz
= Selected Media : /dev/sdb
= U-Boot Target : nanopi_a64
= SELINUX = OFF
= Root Password will be removed.
= Root partition will be resized
=====================================================

*****************************************************
*****************************************************
******** WARNING! ALL DATA WILL BE DESTROYED ********
*****************************************************
*****************************************************
= Writing: 
= Fedora-Mate-armhfp-28-1.1-sda.raw.xz 
= To: /dev/sdb ....
0+801784 records in
0+801784 records out
7396655104 bytes (7.4 GB, 6.9 GiB) copied, 281.967 s, 26.2 MB/s
= Writing image complete!
= Resizing /dev/sdb ....
Checking that no-one is using this disk right now ... OK

Disk /dev/sdb: 7.4 GiB, 7948206080 bytes, 15523840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xad3c1ff1

Old situation:

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdb1          2048    61439    59392   29M  c W95 FAT32 (LBA)
/dev/sdb2  *      61440  1060863   999424  488M 83 Linux
/dev/sdb3       1060864  2060287   999424  488M 82 Linux swap / Solaris
/dev/sdb4       2060288 13778943 11718656  5.6G 83 Linux

/dev/sdb4: 
New situation:
Disklabel type: dos
Disk identifier: 0xad3c1ff1

Device     Boot   Start      End  Sectors  Size Id Type
/dev/sdb1          2048    61439    59392   29M  c W95 FAT32 (LBA)
/dev/sdb2  *      61440  1060863   999424  488M 83 Linux
/dev/sdb3       1060864  2060287   999424  488M 82 Linux swap / Solaris
/dev/sdb4       2060288 15523839 13463552  6.4G 83 Linux

The partition table has been altered.
Calling ioctl() to re-read partition table.
Re-reading the partition table failed.: Device or resource busy
The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).
Syncing disks.
e2fsck 1.43.8 (1-Jan-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
_/: 166928/366480 files (0.7% non-contiguous), 1228157/1464832 blocks
resize2fs 1.43.8 (1-Jan-2018)
Resizing the filesystem on /dev/sdb4 to 1682944 (4k) blocks.
The filesystem on /dev/sdb4 is now 1682944 (4k) blocks long.

= Turning SELinux off ...
= Removing the root password.
= Writing sunxi-spl.bin for nanopi_a64 ....
dd: failed to open '/tmp/root/usr/share/uboot/nanopi_a64/sunxi-spl.bin': No such file or directory
= Writing u-boot FIT image for nanopi_a64 ....
dd: failed to open '/tmp/root/usr/share/uboot/nanopi_a64/u-boot.itb': No such file or directory

= Installation Complete! Insert into the nanopi_a64 and boot.

ベストアンサー1

通常はARMv8-Aベースのデバイス用のsunxi-spl.binファイルですu-boot.itbナノファイA64提供:uboot-images-armv8パック。

ただし、この記事を書いた時点では、パッケージsunxi-spl.binにNanoPi A64ボードのみとファイルバージョンが含まれていないようです。u-boot.itb

sunxiコミュニティウィキ(Allwinner SoCを中心に集まったオープンソースコミュニティ)は、ソフトウェアの観点から見ると、NanoPi A64松64(同じAllwinnerクアッドコアARM Cortex A53 64ビットプロセッサ、同様のDRAM、同じイーサネット、および電源管理ICベース)残念ながら、Pine64イメージ(付属uboot-images-armv8)はおそらく他のPMIC構成のためにNanoPi A64から起動しません。

適切なu-bootおよびLinuxカーネルイメージを直接構築したり、次のことを行うオプションがあります。sunxiコミュニティwikiのマニュアルビルドガイドnanopi_a64_defconfigu-bootのビルドターゲットとsun50i-a64-nanopi-a64.dtbLinuxカーネルのデバイスツリーバイナリを使用するか、次の手順に従ってください。FriendlyARM Wikiのメーカーガイドライン使用ボードサポートパッケージ

おすすめ記事