Brume: Arch linux

Since I have debian on sd and didn’t want to blow that away yet I will set up a new sd with a new card:

wget http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
opkg update
opkg install fdisk

umount /dev/sda1
fdisk /dev/sda

Welcome to fdisk (util-linux 2.33).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

[48845.668969] sda: sda1

Command (m for help): g
Created a new GPT disklabel (GUID: 1AE3FF3C-E366-234D-A28A-7342CF9DCA19).

Command (m for help): n
Partition number (1-128, default 1):
First sector (2048-30253022, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-30253022, default 30253022):

Created a new partition 1 of type ‘Linux filesystem’ and of size 14.4 GiB.

Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
[48862.883867] sda: sda1
Syncing disks.

mkfs.ext4 /dev/sda1

tar -xzvf /tmp/ArchLinuxARM-aarch64-latest.tar.gz -C /mnt/sda1/

cp /mnt/mmcblk1p1/boot/Image /mnt/sda1/boot/
cp /mnt/mmcblk1p1/boot/armada-gl-mv1000-ubuntu.dtb /mnt/sda1/boot/armada-gl-mv1000-ubuntu.dtb
edit /mnt/sda1/etc/systemd/network/wan.network

copy in

[Match]
Name=wan

[Network]
DHCP=yes
DNSSEC=no

edit /mnt/sda1/etc/systemd/network/br-lan.netdev

[NetDev]
Name=br-lan
Kind=bridge

edit /mnt/sda1/etc/systemd/network/br-lan.network
[Match]
Name=br-lan

[Network]
Address=192.168.8.1/24
Gateway=192.168.8.1
DNS=192.168.8.1

edit /mnt/sda1/etc/systemd/network/lan.network
[Match]
Name=lan*

[Network]
Bridge=br-lan

set the device to boot from sd again:

fw_setenv image_part 1
fw_setenv image_dir /boot/
fw_setenv fdt_name armada-gl-mv1000-ubuntu.dtb
fw_setenv args_sd setenv bootargs root=/dev/mmcblk1p1 rw rootwait
fw_setenv bootscript run boot_sd

you’ll need to run halt and then swap out the sd card. If all goes well you should be booted into arch linux.

Keep in mind you’ll need to have serial for now. There is an issue where if the netdevs need to be set to up before they work(even when not plugged in)

I will build a custom tarball that has this stuff fixed and prepared shortly.

1 Like

Pls keep us updated if you make Arch Linux working without problems.

Working tarball up at https://github.com/aliosa27/mv1000-arch