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:
- Set up your PinePhone to boot to FEL mode
- Remove your PinePhone battery. This will allow you to control whether the PinePhone is on by unplugging/re-plugging the USB port.
- Plug in a USB cable. This will power on your PinePhone and boot into FEL mode.
- Follow https://linux-sunxi.org/FEL/USBBoot to boot via USB.
Your development cycle is now to repeat (3) and (4) for each new image.