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
  Office applications for the Pinephone Peter Gamma 2 518 09-05-2024, 09:22 AM
Last Post: Peter Gamma
  Struggle to install LibreOffice on the PinePhone Peter Gamma 50 34,838 07-26-2024, 10:35 PM
Last Post: Peter Gamma
  Why does Pine64 sabotage office on the Pinephone? Peter Gamma 5 968 07-04-2024, 07:34 AM
Last Post: Kevin Kofler
  Which word processor to choose for the Pinephone? Peter Gamma 16 5,229 06-22-2024, 07:28 AM
Last Post: Peter Gamma
  Samba share on the Pinephone? Peter Gamma 0 632 06-16-2024, 10:26 PM
Last Post: Peter Gamma
  Possible Free Backup Carrier for PinePhone PineFone 0 441 06-13-2024, 03:45 PM
Last Post: PineFone
  Using Signal on PinePhone in mid-2023? dante404 47 22,206 05-03-2024, 02:19 AM
Last Post: dragonhospital
Wink PINEPHONE not booting Touchwood 2 1,189 02-23-2024, 07:27 AM
Last Post: Touchwood
  Slack on PinePhone Adam Seline 5 6,471 12-20-2023, 07:20 AM
Last Post: nickolas
  openSUSE for Pinephone Alefnode 75 114,927 11-17-2023, 08:37 AM
Last Post: Uturn

Forum Jump:


Users browsing this thread: 16 Guest(s)