Fedora 27 on Pine64
#9
(08-06-2018, 11:07 AM)heatfanjohn Wrote:
(01-29-2018, 03:35 AM)cmuellner Wrote: No editing function for my post found, therefore I add the link to the official Fedora download page for alternative architectures here:

https://alt.fedoraproject.org/alt/

As the Pine64 has an aarch64/arm64 CPU take the "Fedora Minimal" image from the "ARM aarch64 Architecture" section.

Success!  I was able to get Fedora 28 Workstation to run on my Pine A64!

I used the method described by @cmuellner using Fedora running on a Dell laptop:

Code:
# Install the fedora-arm-image-installer and Fedora uboot-images-armv8 package
sudo dnf install uboot-images-armv8 fedora-arm-installer

# Install downloaded Fedora 28 Workstation image to SD card
sudo fedora-arm-image-installer --image=Fedora-Workstation-28-1.1.aarch64.raw.xz --target=pine64_plus --media=/dev/mmcblk0

I confirmed that the `ln` link to the DTB file was no longer needed.  That was the good news.  The bad news was that there was a bug in the U-Boot used that caused Fedora to only occasionally complete the boot.  The bug in U-Boot caused an erroneous `hd0` error to occur while GRUB was loading Fedora.  

After trying several SD cards and doing research on how U-Boot and Grub work, I found that this was a KNOWN ISSUE with Fedora 28.  Unfortunately the "Intermittent Boot Errors for Pine 64" didn't show up in any of my Google searches.

https://fedoraproject.org/wiki/Common_F2...oot_errors

Apparently the Allwinner A64 ARM chip has a timer issue where the last 11 bits of the timer value will erroneously be either all zero or one bits.  This can cause time to jump forward and worse go backwards which can mess up timeout and other code.

Code was added to both U-Boot and the Linux kernel to detect this and ignore these erroneous values.

For U-Boot you need uboot-tools-2018.03-6.fc28

I performed a `dnf upgrade uboot-tools` and then ran `update-uboot` to update my SD card.


Code:
[johnma@mypine64 ~]$ cat /etc/*release
Fedora release 28 (Twenty Eight)
NAME=Fedora
VERSION="28 (Workstation Edition)"
ID=fedora
VERSION_ID=28
PLATFORM_ID="platform:f28"
PRETTY_NAME="Fedora 28 (Workstation Edition)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:28"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=28
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=28
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Fedora release 28 (Twenty Eight)
Fedora release 28 (Twenty Eight)
[johnma@mypine64 ~]$ uname -a
Linux mypine64 4.16.3-301.fc28.aarch64 #1 SMP Mon Apr 23 21:45:59 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux
[johnma@mypine64 ~]$

Thanks on sharing the good info and experience Smile


Messages In This Thread
Fedora 27 on Pine64 - by gregjo - 10-26-2017, 05:50 PM
RE: Fedora 27 on Pine64 - by tllim - 10-30-2017, 01:03 AM
RE: Fedora 27 on Pine64 - by ZeRaler - 11-06-2017, 03:57 PM
RE: Fedora 27 on Pine64 - by cmuellner - 01-28-2018, 08:24 AM
RE: Fedora 27 on Pine64 - by xalius - 01-28-2018, 02:56 PM
RE: Fedora 27 on Pine64 - by cmuellner - 01-29-2018, 03:35 AM
RE: Fedora 27 on Pine64 - by Luke - 01-29-2018, 05:06 AM
RE: Fedora 27 on Pine64 - by heatfanjohn - 08-06-2018, 11:07 AM
RE: Fedora 27 on Pine64 - by tllim - 08-08-2018, 12:03 AM
RE: Fedora 27 on Pine64 - by heatfanjohn - 08-09-2018, 11:11 AM
RE: Fedora 27 on Pine64 - by heatfanjohn - 08-09-2018, 12:16 PM
RE: Fedora 27 on Pine64 - by CaptainZalo - 08-10-2018, 12:44 PM
RE: Fedora 27 on Pine64 - by decko - 09-23-2018, 03:01 AM
RE: Fedora 27 on Pine64 - by heatfanjohn - 09-23-2018, 10:02 AM
RE: Fedora 27 on Pine64 - by decko - 09-25-2018, 07:42 AM
RE: Fedora 27 on Pine64 - by heatfanjohn - 09-25-2018, 01:50 PM
RE: Fedora 27 on Pine64 - by heatfanjohn - 10-26-2018, 08:38 AM
RE: Fedora 27 on Pine64 - by S265 - 01-02-2019, 09:43 PM
RE: Fedora 27 on Pine64 - by heatfanjohn - 01-02-2019, 10:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Fedora 32/CentOS 8 Pine A64+ Images wideawake 2 5,360 10-02-2020, 11:38 AM
Last Post: mathiraj
  Programming languages support under PINE64 baryluk 6 12,074 09-23-2020, 11:46 PM
Last Post: Phillip Bell
  Manjaro arm on pine64+ roel 2 5,789 10-19-2019, 05:13 AM
Last Post: roel
  +PINEBOOK Fedora 30 on Pinebook sdgathman 0 3,320 08-14-2019, 11:41 AM
Last Post: sdgathman
  Volumio for PINE64 Released mikelangeloz 11 24,142 03-22-2019, 09:25 AM
Last Post: llungster
  I2S Audio patches for Pine64+ uploaded to GitHub ramstadt 1 3,962 01-19-2019, 11:31 AM
Last Post: ramstadt
  Pine64: Minimal SDL config Max11 3 5,863 01-04-2019, 03:47 PM
Last Post: Max11
  Official build procedure of ayufan pine64 r.tanaka 0 3,067 08-21-2018, 10:54 PM
Last Post: r.tanaka
  DKMS on kernel 3.10.107-pine64 obrienmd 5 8,427 06-21-2018, 05:45 PM
Last Post: evilbunny
  Gentoo for pine64 - longsleep kernel incoherent 0 3,593 12-09-2017, 08:14 AM
Last Post: incoherent

Forum Jump:


Users browsing this thread: 1 Guest(s)