869442cd8e | ||
---|---|---|
initramfs | ||
splash | ||
src | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md |
README.md
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.
Building
The dependencies are:
- aarch64-linux-gnu- toolchain
- u-boot tools
- mtools
- bison
- flex
- swig
To install the dependencies on a Debian-based system:
$ sudo apt-get install gcc-aarch64-linux-gnu u-boot-tools mtools bison flex swig
Download the projects to build:
$ git submodule update --init --recursive
Build everything needed for the pinephone image:
$ make -j8 pine64-pinephone.img.xz
Generate only the initramfs for the pinephone:
$ make -j8 initramfs-pine64-pinephone.gz
Generate an image for every supported platform:
$ make -j8 all
This project is built on:
- Busybox - which is GPLv2.
- postmarketOS scripts - which is GPLv2.
- Pine64's kernel fork - which is GPLv2.
- U-Boot - which has multiple licenses