PinePhone Development

From PINE64
Jump to navigation Jump to search

Booting images via USB

During development of low-level components such as the bootloader or kernel it can be useful to boot images via USB (from your PC) for rapid development, rather than the typical but comparatively slow approach of copying images to an SD card.

To do this:

  1. Set up your PinePhone to boot to FEL mode
  2. Remove your PinePhone battery. This will allow you to control whether the PinePhone is on by unplugging/re-plugging the USB port.
  3. Plug in a USB cable. This will power on your PinePhone and boot into FEL mode.
  4. Follow to boot via USB.

Your development cycle is now to repeat (3) and (4) for each new image.