Tow-Boot, a new U-Boot option for Pinephone Pro and other devices
#34
(02-07-2022, 07:52 AM)tmschmitz Wrote: I expect that I am missing the obvious, somewhere. I will explain my train of logic, and I would be grateful if you would help me find the path.

The getting-started.md file says to dd spi-installer.img to an sd card, and to boot from it. I watched the videos, and all that looks pretty easy. However, there is no file spi-installer.img in the git download, so I assume that I need to build it. I find no makefiles or instruction on how to do this, just .nix files.

"pine64-pinephonePro-2021.10-004.tar.xz" is what you're looking for. "spi-installer.img" is contained within.

It can be found here: https://github.com/Tow-Boot/Tow-Boot/rel...021.10-004



(02-16-2022, 06:03 PM)u-kidjp Wrote: My PPP (Explore Edition) cannot boot spi-installer which installed into SD card.
Should I wipe bootloader on eMMC ?

You can delete the stock data from eMMC, if you don't want it. With eMMC empty, the phone will default to booting from the SD Card (until you put an OS back on the eMMC, of course). But this is really a separate topic from successfully installing Tow-Boot to the phone's SPI (which can be done on a stock PPP, without touching the eMMC). Perhaps it is also worth mentioning that with Tow-Boot installed to the SPI, booting from the SD Card no longer requires the RE to be pressed. It is as simple as holding down Vol Down and short-pressing the Power Button.

I used "pine64-pinephonePro-2021.10-004.tar.xz", and not "pine64-pinephonePro-2021.10-004-pre.tar.xz" because, while "pine64-pinephonePro-2021.10-004-pre.tar.xz" would boot to the GUI, upon attempting to install it, it would return the error:

Code:
Error: /dev/mtdblock0 not found

spi-nor spi0.0:
unrecognized JEDEC id bytes ff ff ff ff ff ff
spi-nor: probe of spi0.0 failed with -2

Whereas "pine64-pinephonePro-2021.10-004.tar.xz" worked perfectly (after the 4th-ish attempt (and after adding a volume label to the SD Card)).

This is what worked for me when I finally got Tow-Boot to successfully install to the SPI; fixing the suspend issue amongst other things:

Charge the battery via Maskrom mode, as per the instructions in the blue box on the PPP wiki here: https://wiki.pine64.org/wiki/PinePhone_Pro#Boot_order ,

Download "pine64-pinephonePro-2021.10-004.tar.xz" from https://github.com/Tow-Boot/Tow-Boot/releases ,

Open "pine64-pinephonePro-2021.10-004.tar.xz" with 7-zip (or whatever you use) and extract the contents: "pine64-pinephonePro-2021.10-004.tar",

Similarly Open "pine64-pinephonePro-2021.10-004.tar" and extract the contents: "pine64-pinephonePro-2021.10-004",

The directory should contain: "spi.installer.img", among other things.

Flash only the: "spi.installer.img" to your SD Card,

Unplug the USB-C cable from the phone,

Remove the battery,

Press the power button to discharge any capacitors &-or static,

Insert the SD Card with Tow-Boot on it,

Reinsert the battery,

Press-and-hold RE,

In addition to holding RE, press-and-hold Vol Down,

In addition to holding both RE and Vol Down, short-press (maybe 1 sec, or so) the Power Button,

The phone should immediately vibrate, make the faint "pop" sound and the LED should turn Red,

The instant the LED changes from Red to Green (it skips Yellow if your battery is above 90% charged, I think), release both the Vol Down and RE,

It should load straight into Tow-Boot's GUI,

The GUI will remind you to plug the USB-C in,

Plug the USB-C cable back into the phone,

Select the Install option on the screen,

Tow-Boot should install in under 5 sec.

From there, just follow Tow-Boot's post-install instruction.

If the stock Bootloader and Manjoro OS are still on the phone's eMMC, be sure to unplug the USB-C cable as soon as the screen goes completely black, as it may interpret the USB-C's presence as "Power-On".
  Reply


Messages In This Thread
RE: Tow-Boot, a new U-Boot option for Pinephone Pro and other devices - by Simon Belmont - 03-21-2022, 09:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing r2kaw and Tow-Boot to the SPI ethical_haquer 1 33 2 hours ago
Last Post: Kevin Kofler
  tow-boot installation problem techariah 4 2,244 12-04-2024, 10:32 AM
Last Post: zetabeta
  How can boot from MicroSD after replacement of the main board u-kidjp 6 483 11-08-2024, 09:14 PM
Last Post: Kevin Kofler
  Megapixels on Mobian Bookworm on PinePhone Pro - Not Launching X0X0X0X0X0 3 1,329 10-28-2024, 10:46 AM
Last Post: Jite
  July 1 upgrade of Mobian Bookworm boot loops. mburns 5 1,375 10-26-2024, 05:17 AM
Last Post: mburns
  Seeking Contributors: Apache NuttX Real-Time Operating System for PinePhone Pro lupyuen 3 2,574 08-25-2024, 04:18 PM
Last Post: Fofeu
  tow-boot, just bought pinephone pro stratofall 4 796 07-30-2024, 03:43 PM
Last Post: stratofall
  bookworm vs trixie discussion for mobian in pinephone pro. zetabeta 16 5,366 04-28-2024, 01:52 AM
Last Post: diederik
  Connect external devices via USB martin@h4ck1ng.me 5 1,824 02-15-2024, 10:23 PM
Last Post: u-kidjp
Brick Recovery without Tow Boot b34ux 10 3,379 02-02-2024, 07:07 PM
Last Post: reky

Forum Jump:


Users browsing this thread: 31 Guest(s)