mobian installed to eMMC - how to install tow-boot
#2
a) no.
b) why?
c) yes. remove u-boot first utilizing sudo dd if=/dev/zero of=/dev/[DEVICE] bs=8k seek=1 count=4
Code:
# Startup order conflicts

The Allwinner SoC used in the Pinephone (A64) will always prefer starting
the platform firmware (U-Boot) from SD card when available.

When using some pre-built distribution images, it may be desirable to neuter
the U-Boot that is baked into the image.

With the usual U-Boot setup for Allwinner, the easiest way to strip U-Boot
from an eMMC or SD image is by running the following command, taking care
to replace `[DEVICE]` with the device for the storage device.

```
$ sudo dd if=/dev/zero of=/dev/[DEVICE] bs=8k seek=1 count=4
```

When running the command on the Pinephone (A64), *usually* the block device
for the SD card is `mmcblk0`, and the block device for the eMMC is `mmcblk2`.
You can use `lsblk` to look at the block devices available.

> **NOTE**: Make sure the operating system image has a baked-in U-Boot
> install before issuing the command, and that you are targeting the right
> storage device.
>
> Some distributions target UEFI boot, and use GPT. Issuing this command
> **will break the partition table**.

Finally, on distributions shipping U-Boot, it is prudent to disable the
package that provides the automatic upgrade facilities.

- For Manjaro and Arch Linux, the package is called `uboot-pinephone`.


## Additional features

The phone can be started in *USB Mass Storage* mode by holding the *volume up*
d) not needed. but dd backup for safety before upgrade. tow boot is small code written to start of eMMC.
  Reply


Messages In This Thread
RE: mobian installed to eMMC - how to install tow-boot - by vusra - 07-09-2023, 01:33 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New Install, apps start but don't show up on screen?! RT3 2 154 07-18-2025, 07:56 PM
Last Post: Kevin Kofler
  boot gets stuck shortly after disk decryption vortex 10 8,000 07-16-2025, 10:50 AM
Last Post: demetemre
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 65 23,595 07-12-2025, 07:46 AM
Last Post: anonymous
  cryptocurrency on mobian/pinephone biketool 33 50,375 06-30-2025, 02:57 PM
Last Post: biketool
  XLibre for Mobian Hiraghm 1 279 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 244,243 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 181 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 368 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 748 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 817 04-29-2025, 02:10 PM
Last Post: mdk

Forum Jump:


Users browsing this thread: 1 Guest(s)