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
  asterisk or FreePBX on pinephone? vanja 0 345 06-16-2026, 09:24 AM
Last Post: vanja
  Jami on Pinephone [ IM and VOIP ] p1trson 15 22,735 06-16-2026, 05:02 AM
Last Post: marlboro1950
  Movuan distribution for PinePhone merom 6 6,773 06-04-2026, 02:10 AM
Last Post: merom
  Latest firmware for PinePhone modem! Subsentient 106 231,614 04-03-2026, 08:37 AM
Last Post: baptx
  Fedora + Phosh for PinePhone njha 77 218,944 01-14-2026, 12:22 AM
Last Post: tllim
  Difficulty with openSUSE Tumbleweed Install PinePhone Beta danm1988 0 892 11-17-2025, 07:49 AM
Last Post: danm1988
  baremetal via Zig on PinePhone - JumpDrive help please WhiteHexagon 1 4,077 07-07-2025, 10:33 AM
Last Post: WhiteHexagon
  Office applications for the Pinephone Peter Gamma 2 5,400 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 73,989 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 7,174 07-04-2024, 07:34 AM
Last Post: Kevin Kofler

Forum Jump:


Users browsing this thread: 2 Guest(s)