All Projects → nadiaholmquist → Archiso Pbp

nadiaholmquist / Archiso Pbp

archiso customized for the Pinebook Pro

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Archiso Pbp

Raspberry Pi Cross Compilers
Latest GCC Cross Compiler & Native (ARM & ARM64) CI generated precompiled standalone toolchains for all Raspberry Pis. 🍇
Stars: ✭ 261 (+401.92%)
Mutual labels:  arm, aarch64
Woa Deployer Lumia
Making your Lumias great again!
Stars: ✭ 380 (+630.77%)
Mutual labels:  arm, aarch64
Efifs
EFI FileSystem drivers
Stars: ✭ 272 (+423.08%)
Mutual labels:  arm, aarch64
Reko
Reko is a binary decompiler.
Stars: ✭ 942 (+1711.54%)
Mutual labels:  arm, aarch64
Cemu
Cheap EMUlator: lightweight multi-architecture assembly playground
Stars: ✭ 666 (+1180.77%)
Mutual labels:  arm, aarch64
GENADEV OS
An AArch64 hobbyist OS for the Raspberry Pi 3 B+
Stars: ✭ 14 (-73.08%)
Mutual labels:  arm, aarch64
Sleef
SIMD Library for Evaluating Elementary Functions, vectorized libm and DFT
Stars: ✭ 353 (+578.85%)
Mutual labels:  arm, aarch64
arch-odroid
A simple script automatically installing Arch Linux for the ODROID.
Stars: ✭ 30 (-42.31%)
Mutual labels:  arm, arch
Steed
[INACTIVE] Rust's standard library, free of C dependencies, for Linux systems
Stars: ✭ 520 (+900%)
Mutual labels:  arm, aarch64
Docker Cloudflare Ddns
A small amd64/ARM/ARM64 Docker image that allows you to use CloudFlare as a DDNS / DynDNS Provider.
Stars: ✭ 467 (+798.08%)
Mutual labels:  arm, aarch64
interp
Interpreter experiment. Testing dispatch methods: Switching, Direct/Indirect Threaded Code, Tail-Calls and Inlining
Stars: ✭ 32 (-38.46%)
Mutual labels:  arm, aarch64
Fasmg Ebc
An EFI Byte Code (EBC) assembler, based on fasmg
Stars: ✭ 17 (-67.31%)
Mutual labels:  arm, aarch64
Fukuro
Simple microkernel (early stage)
Stars: ✭ 18 (-65.38%)
Mutual labels:  arm, aarch64
Asmdb
Instructions database and utilities for X86/X64 and ARM (THUMB/A32/A64) architectures.
Stars: ✭ 258 (+396.15%)
Mutual labels:  arm, aarch64
rosetta-at-home
Fold for Covid - Help fight the COVID-19 pandemic with your old laptop, Raspberry Pi, or other spare computer
Stars: ✭ 78 (+50%)
Mutual labels:  arm, aarch64
Sse2neon
A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation
Stars: ✭ 316 (+507.69%)
Mutual labels:  arm, aarch64
rune
Haiku MMC image writer for ARM,ARM64
Stars: ✭ 22 (-57.69%)
Mutual labels:  arm, aarch64
opcodesDB
x86-64 | ARM (AArch32/AArch64/THUMB) full instruction set.
Stars: ✭ 49 (-5.77%)
Mutual labels:  arm, aarch64
Raspberry Pi Pcie Devices
Raspberry Pi PCI Express device compatibility database
Stars: ✭ 444 (+753.85%)
Mutual labels:  arm, aarch64
Raspberrypipkg
DEPRECATED - DO NOT USE | Go here instead ->
Stars: ✭ 758 (+1357.69%)
Mutual labels:  arm, aarch64

Notice: For the time being, you need to use archiso 48 to successfully build this.

archiso for Pinebook Pro

This repository contains a customized archiso preset for building images for the Pinebook Pro ARM laptop. Pre-built images are available here.

Building the image should be possible on aarch64 platforms like the Pinebook Pro itself, as well as other architectures. For building to work on non-aarch64, you'll need qemu-user-static and binfmt-qemu-static.

PKGBUILDs for the packages used in this image can be found here.

Check out the FAQ for common issues you may encounter.

Building

Building the image is fairly straightforward, install archiso, multipath-tools, and the qemu packages if you need them, then clone this repository and run build.sh as root.

If all goes well, an .img file will be placed in the out directory, and should be ready to be written to an SD card or USB stick.

Installation

The instructions in installation guide in /root mostly apply, however there are some things specific to the Pinebook Pro to be aware of:

  • The SD card is /dev/mmcblk1, eMMC is mmcblk2 and USB storage will be /dev/sdX.
  • You must leave around 16MB or more of free space before your first partition if you are installing to the eMMC, u-boot will be written here.
  • U-boot looks for a file called extlinux.conf in /extlinux, or /boot/extlinux on the first partition marked bootable on the eMMC, an example configuration is provided below.
  • Currently, the regular linux-aarch64 and linux-aarch64-rc kernels don't work, until this is sorted out you can use the pinebookpro repository included in the image (see /etc/pacman.conf) and install linux-pbp from it.
  • ap6256-firmware is needed for the Wi-Fi and Bluetooth to function, and pbp-keyboard-hwdb for the brightness control shortcuts to work correctly, both can be installed from the pinebookpro repo.
  • The pinebookpro repo will be missing from the target system's pacman.conf, make sure to edit it and add this if you want to use my prebuilt packages
[pinebookpro]
Server = https://nhp.sh/pinebookpro/

Writing u-boot to the eMMC

The Pinebook Pro currently uses u-boot as its bootloader, you can install it with the uboot-pbp package in the pinebookpro repo. Two files will be placed in /boot that need to be written to the eMMC, idbloader.img at sector 64 and u-boot.itb at sector 16384, they can be installed like this:

dd if=/boot/idbloader.img of=/dev/mmcblk2 seek=64
dd if=/boot/u-boot.itb of=/dev/mmcblk2 seek=16384

Extlinux configuration

Here is a sample extlinux.conf file:

LABEL Arch Linux ARM
KERNEL ../Image
FDT ../dtbs/rockchip/rk3399-pinebook-pro.dtb
APPEND initrd=../initramfs-linux.img console=tty1 rootwait root=UUID=<UUID> rw

Place this example configuration in a directory named extlinux in /boot. Remember to replace <UUID> with your actual partition UUID, or use one of the other options for specifying the root filesystem.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].