Bug 1498428 - fedora-arm-image-installer fails for target=pine64_plus
Summary: fedora-arm-image-installer fails for target=pine64_plus
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fedora-arm-installer
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul Whalen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-04 09:50 UTC by Jean-Eudes ONFRAY
Modified: 2017-12-12 14:40 UTC (History)
4 users (show)

Fixed In Version: fedora-arm-installer-2.1-1.fc27 fedora-arm-installer-2.1-1.fc26 fedora-arm-installer-2.1-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-10 05:07:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jean-Eudes ONFRAY 2017-10-04 09:50:32 UTC
Description of problem:
I'm trying to install Fedora 27 beta on a Pine64 but it fails.

Version-Release number of selected component (if applicable):
fedora-arm-installer-1.99.16-2.fc27.noarch

How reproducible:
Everytime

Steps to Reproduce:
1. run fedora-arm-image-installer --image=Fedora-Workstation-armhfp-27_Beta-1.5-sda.raw.xz --target=pine64_plus --media=/dev/mmcblk0 --resizefs

Actual results:
=====================================================
= Selected Image:
= Fedora-Workstation-armhfp-27_Beta-1.5-sda.raw.xz
= Selected Media : /dev/mmcblk0
= U-Boot Target : pine64_plus
= Root partition will be resized
=====================================================

*****************************************************
*****************************************************
******** WARNING! ALL DATA WILL BE DESTROYED ********
*****************************************************
*****************************************************

 Type 'YES' to proceed, anything else to exit now

= Proceed? yes
= Writing:
= Fedora-Workstation-armhfp-27_Beta-1.5-sda.raw.xz
= To: /dev/mmcblk0 ....
0+534133 records in
0+534133 records out
6872367104 bytes (6.9 GB, 6.4 GiB) copied, 723.767 s, 9.5 MB/s
= Writing image complete!
= Resizing /dev/mmcblk0 ....
Checking that no-one is using this disk right now ... OK

Disk /dev/mmcblk0: 15 GiB, 16088301568 bytes, 31422464 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: 0x2b263bc4

Old situation:

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1         2048    61439    59392   29M  c W95 FAT32 (LBA)
/dev/mmcblk0p2 *      61440  1060863   999424  488M 83 Linux
/dev/mmcblk0p3      1060864  2060287   999424  488M 82 Linux swap / Solaris
/dev/mmcblk0p4      2060288 12802047 10741760  5.1G 83 Linux

/dev/mmcblk0p4:
New situation:
Disklabel type: dos
Disk identifier: 0x2b263bc4

Device         Boot   Start      End  Sectors  Size Id Type
/dev/mmcblk0p1         2048    61439    59392   29M  c W95 FAT32 (LBA)
/dev/mmcblk0p2 *      61440  1060863   999424  488M 83 Linux
/dev/mmcblk0p3      1060864  2060287   999424  488M 82 Linux swap / Solaris
/dev/mmcblk0p4      2060288 31422463 29362176   14G 83 Linux

The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
e2fsck 1.43.5 (04-Aug-2017)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
_/: 149409/335872 files (0.2% non-contiguous), 1042498/1342720 blocks
resize2fs 1.43.5 (04-Aug-2017)
Resizing the filesystem on /dev/mmcblk0p4 to 3670272 (4k) blocks.
The filesystem on /dev/mmcblk0p4 is now 3670016 (4k) blocks long.

= Writing sunxi-spl.bin for pine64_plus ....
dd: failed to open '/tmp/root/usr/share/uboot/pine64_plus/sunxi-spl.bin': No such file or directory
dd: failed to open '/tmp/root/usr/share/uboot/pine64_plus/u-boot.itb': No such file or directory

= Installation Complete! Insert into the pine64_plus and boot.


Expected results:
dd if=/tmp/root/usr/share/uboot/pine64_plus/sunxi-spl.bin of=/dev/mmcblk0 bs=8k seek=1
4+0 records in
4+0 records out
32768 bytes (33 kB, 32 KiB) copied, 0.00722785 s, 4.5 MB/s
dd if=/tmp/root/usr/share/uboot/pine64_plus/u-boot.itb of=/dev/mmcblk0 bs=8k seek=5
59+1 records in
59+1 records out
488868 bytes (489 kB, 477 KiB) copied, 0.0629802 s, 7.8 MB/s


Additional info:
The missing files are available in uboot-images-armv8

Should it be included in the Workstation iso? Or maybe in local system?

Comment 1 Jean-Eudes ONFRAY 2017-10-04 15:26:39 UTC
I'm sorry, I pasted the first try with an armhfp (arm v7) iso.

This is the aarch64 (arm v8) try:

fedora-arm-image-installer --image=Fedora-Workstation-27-20171003.n.0.aarch64.raw.xz --target=pine64_plus --media=/dev/mmcblk0


=====================================================
= Selected Image:
= Fedora-Workstation-27-20171003.n.0.aarch64.raw.xz
= Selected Media : /dev/mmcblk0
= U-Boot Target : pine64_plus
= Root partition will be resized
=====================================================

*****************************************************
*****************************************************
******** WARNING! ALL DATA WILL BE DESTROYED ********
*****************************************************
*****************************************************

 Type 'YES' to proceed, anything else to exit now

= Proceed? yes
= Writing:
= Fedora-Workstation-27-20171003.n.0.aarch64.raw.xz
= To: /dev/mmcblk0 ....
0+659467 records in
0+659467 records out
8589934592 bytes (8.6 GB, 8.0 GiB) copied, 881.287 s, 9.7 MB/s
= Writing image complete!
= Writing sunxi-spl.bin for pine64_plus ....
dd: failed to open '/tmp/root/usr/share/uboot/pine64_plus/sunxi-spl.bin': No such file or directory
dd: failed to open '/tmp/root/usr/share/uboot/pine64_plus/u-boot.itb': No such file or directory

= Installation Complete! Insert into the pine64_plus and boot.

Comment 2 Jean-Eudes ONFRAY 2017-10-04 15:29:01 UTC
Changing
-        PREFIX=/tmp/root
+        PREFIX=
in /usr/bin/fedora-arm-image-installer at line 340
works for me after installing uboot-images-armv8 locally

Comment 3 Fedora Update System 2017-11-23 10:16:06 UTC
fedora-arm-installer-2.0-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2e0498d5e1

Comment 4 Fedora Update System 2017-11-23 10:16:22 UTC
fedora-arm-installer-2.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f660aac9a6

Comment 5 Fedora Update System 2017-11-23 10:16:35 UTC
fedora-arm-installer-2.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2076106713

Comment 6 Fedora Update System 2017-11-24 23:23:20 UTC
fedora-arm-installer-2.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2076106713

Comment 7 Fedora Update System 2017-11-25 00:36:01 UTC
fedora-arm-installer-2.0-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2e0498d5e1

Comment 8 Fedora Update System 2017-11-25 01:34:52 UTC
fedora-arm-installer-2.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f660aac9a6

Comment 9 Fedora Update System 2017-11-28 11:27:26 UTC
fedora-arm-installer-2.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0e4021062c

Comment 10 Fedora Update System 2017-11-28 11:27:43 UTC
fedora-arm-installer-2.1-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-62f44716bb

Comment 11 Fedora Update System 2017-11-28 11:27:56 UTC
fedora-arm-installer-2.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c8712c7fc3

Comment 12 Fedora Update System 2017-11-28 17:48:33 UTC
fedora-arm-installer-2.1-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-62f44716bb

Comment 13 Fedora Update System 2017-11-28 18:36:57 UTC
fedora-arm-installer-2.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0e4021062c

Comment 14 Fedora Update System 2017-11-29 01:46:57 UTC
fedora-arm-installer-2.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c8712c7fc3

Comment 15 Fedora Update System 2017-12-10 05:07:04 UTC
fedora-arm-installer-2.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2017-12-12 13:41:22 UTC
fedora-arm-installer-2.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2017-12-12 14:40:12 UTC
fedora-arm-installer-2.1-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.