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
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 27 2,917 05-17-2024, 07:58 AM
Last Post: treebeard
  atinout binaries for mobian/debian? NeutralGrey 2 142 05-13-2024, 02:42 PM
Last Post: Gumur
  Waydroid install instructions end up attempting to use wrong URLS to aquire .debs chainingsolid 1 148 04-26-2024, 04:56 PM
Last Post: zetabeta
  Mobian repository status henrythemouse 16 9,189 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 181 03-18-2024, 08:54 PM
Last Post: penguins_rule
  Phoch Trixie weekly install seems nice reTestability 0 241 03-10-2024, 08:47 AM
Last Post: reTestability
  apt trying to install a package version not in the repo chainingsolid 1 563 11-12-2023, 03:54 AM
Last Post: evilbunny
  How to check if tow-boot is installed? jojuma 3 1,059 09-29-2023, 11:29 PM
Last Post: tllim
  What actions needed to keep on mobian testing user641 3 1,911 09-05-2023, 06:44 AM
Last Post: Zebulon Walton
  Mobian boot failed with zstd message after upgrade. Mahgue 0 671 09-01-2023, 11:29 AM
Last Post: Mahgue

Forum Jump:


Users browsing this thread: 1 Guest(s)