Flash/Rescue SD Card image for PinePhone and PineTab. This is NOT a bootloader
Go to file
Clayton Craft 2c018c5c0b
librem5: use the 'birch' dtb
This is 'safer', since my understanding is that it'll work on all
librem5 variants, whereas the 'r4' dtb only works on Evergreen
2021-02-04 03:06:10 +01:00
initramfs init: Add optional sleep before creating device nodes 2021-02-04 02:57:45 +01:00
splash Add support for Purism Librem 5 2021-02-04 03:01:10 +01:00
src librem5: use the 'birch' dtb 2021-02-04 03:06:10 +01:00
.gitignore Add support for Purism Librem 5 2021-02-04 03:01:10 +01:00
LICENSE Added GPLv2 License 2020-03-17 04:13:48 +07:00
Makefile librem5: use the 'birch' dtb 2021-02-04 03:06:10 +01:00
README.md readme: document additional dependencies for the Librem 5 2021-02-04 03:01:21 +01:00

Jumpdrive

The swiss army knife of Pine64 devices (currently only Pinetab and PinePhone)

You can use this to flash a image directly to eMMC, troubleshooting a broken system, and a lot more.

Table of Contents

Installation

Download the latest image for your device here

Then use dd to flash the image to an SD card. Jumpdrive is pretty small, so there is no need for a large storage SD card.

Insert the SD card to the device, then boot it up, you should get a nice splash screen and you should see a new storage device after you plug the device to USB.

With the device plugged in, you can now flash a distro, or fix a unbootable installation.

WARNING: In case eMMC isn't showing up try to charge your battery and try again. There are reports of people not being able to flash to eMMC with discharged battery.

Building

The dependencies are:

  • aarch64-linux-gnu- toolchain
  • u-boot tools
  • mtools

Additional dependencies for the Purism Librem 5:

  • arm-none-eabi- toolchain
  • uuu
$ git submodule update --init --recursive
Downloads the projects to build

$ make -j8 pine64-pinephone.img.xz
Builds everything needed for the pinephone image...

$ make -j8 initramfs-pine64-pinephone.gz
Generate only the initramfs for the pinephone

$ make -j8 all
Generates an image for every supported platform in parallel

This project is built on: