3. Manjaro Manual

3.1. List of supported devices

Main Control Board Model
RK3566 ROC-RK3566-PC/Station-M2
RK3568 ROC-RK3568-PC/Station-P2
RK3399 ROC-RK3399-PC-PLUS/Station-P1

3.2. Necessary conditions

  • Manjaro running on x86_64 machine

  • Manjaro-arm-tools

3.3. Manjaro-arm-tools

Install

$ sudo pacman -S manjaro-arm-tools manjaro-tools-base

Or use the git version of the tool

$ sudo pacman -Syy manjaro-arm-tools-git

3.4. Get the configuration file

Configuration files are primarily text files that contain a list of packages and settings that are installed and configured on images built for Manjaro-ARM. They allow us to set themes, start services, add taskbar applets, default settings, and more. They are derived from Manjaro’s own configuration files, with some modifications to work on ARM boards. They are installed in:

/usr/share/manjaro-arm-tools/profiles

usage:

$ sudo getarmprofiles -f

3.5. Compile the image

Usage: buildarmimg [options]
    -d <device> Device the image is for. [Default = rpi4. Options = am6-plus, clockworkpi-a06, edgev, generic, gsking-x, gt1-ultimate, gtking-pro, halium-9, jetson-nano, m5, nanopc-t4, nanopi-neo-plus2, oc2, oc4, ohc4, on2, on2-plus, pbpro, pbpro-bsp, pine64, pine64-lts, pinebook, pine-h64, pinenote, pinephone, pinephonepro, pinetab, quartz64-a, quartz64-b, quartz64-bsp, radxa-zero, radxa-zero2, roc-cc, rock3a, rock64, rockpi4b, rockpi4c, rockpro64, rpi3, rpi4, rpi4-cutiepi, soquartz-cm4, station-m2, stationp1, station-p2, vim1, vim2, vim3, vim3l]
    -e <edition> Edition of the image. [Default = minimal. Options = budgie, cubocore, desq, gnome, i3, jade, kde-bigscreen, kde-plasma, lomiri, lxqt, mate, maui-shell, minimal, nemomobile , phosh, plasma-mobile, plasma-mobile-dev, server, sway, wayfire, xfce]
    -v <version> Define the version the resulting image should be named. [Default is current YY.MM]
    -k <repo> Add overlay repo [Options=kde-unstable, mobile].
    -i <package> Install local package into image rootfs.
    -b <branch> Set the branch used in the image. [Default = stable. Options = stable, testing or unstable]
    -m Create bmap. ('bmap-tools' need to be installed.)
    -n Force download of new rootfs.
    -s <hostname> Use custom hostname
    -x Don't compress the image.
    -c Disable colors.
    -h This help

Commonly used options are:

-d <device>: Specify the compilation device, the devices currently supported by Firefly are stationp1, station-m2, station-p2
-e <edition>: distribution, commonly used distributions are gnome, xfce, kde

The following is an example of compiling the gnome system. After the compilation is completed, the firmware is in: /var/cache/manjaro-arm-tools/img/

3.5.1. ROC-3566-PC/Station-M2

sudo buildarmimg -d station-m2 -e gnome

3.5.2. ROC-3568-PC/Station-P2

sudo buildarmimg -d station-p2 -e gnome

3.5.3. ROC-3399-PC-PLUS/Station-P1

sudo buildarmimg -d stationp1 -e gnome

3.6. Official weekly mirror download