Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit]
#32
While exploring other os's I noticed Maemo Leste has quite a bit of functionality as of late and it's based on Devuan which is possibly the only distribution besides Slack that is systemd free and it's my current desktop OS having left Slack because of the lack of mainstream app support.  In the install process (partial copy below) it has a step that seems may help with Slarm64.  I obviously don't know the in's and out's but if these steps are necessary then it seems they should be worked into the process.

eMMC Installation
Some notes have been adapted from the Pine64 Wiki.
Preparing the .img file for eMMC boot
Download the .img.xz version of the image and extract it:
$ unxz -k maemo-leste-*-arm64-pinephone-*.img.xz

The image, by default, points to
Code:
/dev/mmcblk0
for SD cards, which must be modified to point to
Code:
/dev/mmcblk2
for the eMMC. To start, mount the image to a loop device.
$ sudo losetup -P /dev/loop0 maemo-leste-*-arm64-pinephone-*.img

Mount the second partition to /mnt and the first partition to /mnt/boot and enter /mnt:
$ sudo mount /dev/loop0p2 /mnt
$ sudo mount /dev/loop0p1 /mnt/boot
$ cd /mnt

Use the editor of your choice to edit
Code:
/mnt/etc/fstab
, replacing
Code:
/dev/mmcblk0
with
Code:
/dev/mmcblk2
.
Now we need to edit
Code:
boot.scr
. For that you will need to download
Code:
boot.txt
from Maemo Leste github:
$ cd /mnt/boot
$ sudo wget https://raw.githubusercontent.com/maemo-...r/boot.txt

Now we do the same step as we did for the fstab, replacing
Code:
/dev/mmcblk0
with
Code:
/dev/mmcblk2
in
Code:
boot.txt
.

To regenerate
Code:
boot.scr
you need to install
Code:
u-boot-tools
first to be able to use mkimage.
Regenerate
Code:
boot.scr
:
$ sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -d boot.txt boot.scr
  Reply


Messages In This Thread
RE: Slarm64 on PinePhone [Unofficial Slackware ARM - 64 bit] - by donchurch - 03-21-2024, 10:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone app development WhiteHexagon 15 3,986 04-23-2024, 05:19 AM
Last Post: Jonnyc
Wink PINEPHONE not booting Touchwood 2 478 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 5,437 12-20-2023, 07:20 AM
Last Post: nickolas
  Struggle to install LibreOffice on the PinePhone Peter Gamma 48 24,547 11-24-2023, 07:02 AM
Last Post: Peter Gamma
  Which word processor to choose for the Pinephone? Peter Gamma 8 2,017 11-23-2023, 01:06 AM
Last Post: Peter Gamma
  openSUSE for Pinephone Alefnode 75 102,468 11-17-2023, 08:37 AM
Last Post: Uturn
  Using Signal on PinePhone in mid-2023? dante404 45 13,357 11-17-2023, 04:23 AM
Last Post: Kevin Kofler
  Genode- Sculpt OS for the PinePhone (non Linux) Surehand53 1 996 11-04-2023, 07:23 PM
Last Post: tllim
  Abiword as a office mobile word processor for the Pinephone? Peter Gamma 11 2,317 10-24-2023, 08:57 AM
Last Post: Peter Gamma
  What File Manager Options Are There For The Pinephone? pinephoneuser22 7 2,447 10-18-2023, 08:37 AM
Last Post: luppivega

Forum Jump:


Users browsing this thread: 1 Guest(s)