I personally flash https://tow-boot.org/ to spi, and follow instructions here https://tow-boot.org/distributions/fedora.html You will need to install WIFI firmware. An interim WiFi firmware you can use https://fedora.roving-it.com/brcm-pinebookpro-0.0-1.noarch.rpm
Scripts for installing Fedora aarch64 directly to SD/eMMC. The script will add copr repository for some extra packages needed on Pinebook Pro.
copr: https://copr.fedorainfracloud.org/coprs/aptupdate/pinebook-pro/
source: https://github.com/bengtfredh/pinebook-pro-copr.git
Script will install kernel-pbp from copr which is a vanilla kernel patched for Pinebook Pro with Manjaro config merged on Fedora config. You can chose to switch to linux-manjaro from same copr which is a rpm packaged Manjaro aarch64 kernel. Biggest difference is, kernel-pbp have SELINUX and btrfs build in kernel, linux-manjaro have no SELINUX and have btrfs as module.
This script is "interactive". Meaning that it asks you questions when run to customize your install. Like username, password etc.
Runtime is approx 40-50 minutes for Fedora Workstation depending on your bandwidth and SD card speed. Fedora update is what takes longest time.
To use this script, please make sure that the following is correct:
sudo
rights.Then use this to get it:
git clone https://github.com/bengtfredh/pinebook-pro-fedora-installer
cd pinebook-pro-fedora-installer
chmod +x fedora-installer
sudo bash ./fedora-installer [<url>]
Some Fedora mirrors are veeeery slow - give url to known good mirror as parameter i.e.
bash ./fedora-installer https://fedora.uib.no/fedora/linux/releases/34/Workstation/aarch64/images/Fedora-Workstation-34-1.2.aarch64.raw.xz
dialog
is weird, the script needs to be run in bash
.bash ./fedora-installer https://mirrors.dotsrc.org/fedora-buffet/fedora-secondary/releases/34/Spins/aarch64/images/Fedora-Minimal-34-1.2.aarch64.raw.xz
There is no reason why this script should not work with other editions of Fedora. Just give url as maramater when script run. Script is tested with Fedora Workstation and Minimal.
To create image you later can dd to mmc/emmc/nvme
Prepare an image by running following:
fallocate -l 8GiB myimage.img
losetup /dev/loopX myimage.img
Run the script pointing to /dev/loopX.
I think the installer is better choice, because you are in control of what you install. But I have created some prebuild images for you. There is images with root on ext4 and on btrfs, see filename:
https://s3.fredhs.net/minio/pinebook-pro-image/
This script should be distro-agnostic, which means you can install pinebook-pro-fedora-installer from any distro, as long as the dependencies are met.
Inspiration from:
https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-installer
https://github.com/nikhiljha/pp-fedora-sdsetup
https://github.com/daniel-thompson/pinebook-pro-debian-installer.git