Difference between revisions of "Manjaro-ARM"
Views
Actions
Namespaces
Variants
Tools
(Hardkernel(odroid)) |
(Marked this version for translation) |
||
(35 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> | |||
__TOC__ | __TOC__ | ||
<translate> | |||
=Overview= <!--T:1--> | |||
<!--T:2--> | |||
The Manjaro distribution, but for ARM devices. | The Manjaro distribution, but for ARM devices. | ||
<!--T:3--> | |||
Based on Arch Linux ARM, combined with Manjaro tools, themes and infrastructure to make install images for your ARM device, like the Pinebook and Raspberry Pi. | Based on Arch Linux ARM, combined with Manjaro tools, themes and infrastructure to make install images for your ARM device, like the Pinebook and Raspberry Pi. | ||
<!--T:4--> | |||
<div style="clear: both"></div> | <div style="clear: both"></div> | ||
=Installation= | =Installation= <!--T:5--> | ||
===Preparing the SPI (optional)=== <!--T:46--> | |||
<!--T:47--> | |||
Some boards have an SPI storage chip. This is a small storage device, usually 4-16 MB in size, that the board checks for firmware before proceeding to other devices. So we can utilize this chip, by preparing the board specific firmware on it, making it able to boot our [https://github.com/manjaro-arm/generic-images/releases generic image] and our [https://github.com/manjaro-arm/generic-efi-images/releases generic EFI image].<br> | |||
We have currently tested [https://github.com/Tow-Boot/Tow-Boot Tow-Boot], so that's what this guide will use. | |||
<!--T:48--> | |||
# Go to the [https://github.com/Tow-Boot/Tow-Boot/releases latest release section] of Tow-Boot and download the file that matches your board. This is important. | |||
# | |||
# Unpack it and flash the `spi.installer.img` file to a spare SD card. If the archive does not contain any spi.installer.img file for your board, you should use one of our pre-built OS images instead, which has the Shared Storage version of U-boot installed. | |||
# | |||
# Insert the SD card into your device and boot from it. You will be presented with a short menu. One entry is "Flash Tow-Boot to SPI", second entry is "Erase SPI Flash" and the last option is "Reboot". | |||
# | |||
# Select the "Flash Tow-Boot to SPI" option and wait until it finishes successfully. It can take a couple of minutes as SPI storage is rather slow. | |||
# | |||
# When it's done, power off the device and take out the SD card. Now your device has the Tow-Boot board firmware in place and should now be capable of booting any generic (EFI) aarch64 image that supports your board. | |||
<!--T:49--> | |||
Our Generic Aarch64 image supports the Extlinux booting scheme, while our Generic EFI Aarch64 uses EFI enabled firmware (which tow-boot has). | |||
===Downloading=== <!--T:6--> | |||
<!--T:7--> | |||
You can find installation images in the downloads section of the [https://manjaro.org/download/#ARM Manjaro Website].<br> | |||
Find the image that matches your target device and desired edition.<br> | |||
Or if you have Board Firmware on your SPI, you can try our new [https://github.com/manjaro-arm/generic-images/releases Generic Aarch64 images]. | |||
===Writing the Installation Media=== | ===Writing the Installation Media=== <!--T:8--> | ||
<!--T:9--> | |||
The images are in a .xz file. These files can be burned directly to an SD card with Etcher or with dd directly.<br> | The images are in a .xz file. These files can be burned directly to an SD card with Etcher or with dd directly.<br> | ||
To manually install to your SD card with dd: | To manually install to your SD card with dd: | ||
<!--T:10--> | |||
Extract the image. | Extract the image. | ||
unxz Manjaro-ARM-[Edition]-[Device]-[Version].xz | <!--T:11--> | ||
unxz Manjaro-ARM-[Edition]-[Device]-[Version].xz | |||
<!--T:12--> | |||
Get it on the SD card | Get it on the SD card | ||
sudo dd if=Manjaro-ARM-[Edition]-[Device]-[Version].img of=/dev/[device] bs=4M | <!--T:13--> | ||
sudo dd if=Manjaro-ARM-[Edition]-[Device]-[Version].img of=/dev/[device] bs=4M | |||
Where ''[device]'' is your SD card's device, as seen by lsblk. Usually mmcblk0 or sdb. | Where ''[device]'' is your SD card's device, as seen by lsblk. Usually mmcblk0 or sdb. | ||
===Cleanup and First Boot=== | ===Cleanup and First Boot=== <!--T:14--> | ||
Once you have the image on the SDCard, you should be able to put the card into your device and plug it in. If everything worked correctly, it should boot to the OEM setup. Here you define your username, passwords locales etc. Once that is done, the script will clean up after itself, resize the partition and reboot the device. After that reboot, it should boot to the Operating System Depending on the edition you have installed, this could be a simple TTY login or a graphical desktop environment. | Once you have the image on the SDCard, you should be able to put the card into your device and plug it in. If everything worked correctly, it should boot to the OEM setup. Here you define your username, passwords locales etc. Once that is done, the script will clean up after itself, resize the partition and reboot the device. After that reboot, it should boot to the Operating System. Depending on the edition you have installed, this could be a simple TTY login or a graphical desktop environment. | ||
===Resizing the partitions=== | ===Resizing the partitions=== <!--T:15--> | ||
Since 18.09 this is now done automatically. The device will boot to OEM setup, which will handle the resizing, and then reboot before the login screen would appear. When it's booted to the login screen, the filesystem has been resized to fill out the remaining space on the SD card. | Since 18.09 this is now done automatically. The device will boot to OEM setup, which will handle the resizing, and then reboot before the login screen would appear. When it's booted to the login screen, the filesystem has been resized to fill out the remaining space on the SD card. | ||
===Login=== | ===Login=== <!--T:16--> | ||
Login depends on what you set up during the OEM setup. | Login depends on what you set up during the OEM setup. | ||
There are 1 users by default on the image. root. | There are 1 users by default on the image. root. | ||
And by default it has no password and autologin enabled. | And by default it has no password and autologin enabled. | ||
This gets changed when the OEM script is run, to disable the autologin and set the password defined during the setup. | This gets changed when the OEM script is run, to disable the autologin and set the password defined during the setup. | ||
</translate> | |||
<translate> | |||
=Supported Devices= <!--T:17--> | |||
Devices listed here are either supported by having device specific images, runs from the Generic images with board firmware on SPI or is still installable via the [https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-installer Manjaro ARM Installer] script. | |||
==Device List== <!--T:18--> | |||
= | ===Hardkernel=== <!--T:50--> | ||
{| class="wikitable sortable" style="text-align: center;width: 100%;" -- Header --> | |||
== | |+ | ||
|- | |||
{| class="wikitable" style="text-align: center;width: 100%;"-- Header --> | ! Model !! Release Year !! SoC Manufacturer !! Lithography !! CPU !! CPU Topology !! CPU Frequency !! GPU !! Memory !! Generic Image Support | ||
! | |- | ||
| <strong>Odroid C2</strong> | |||
| 2016 | |||
| Amlogic | |||
| 28nm | |||
| S905 | |||
| Quad-core: <br>4 x Cortex-A53 | |||
| 4 x 1.5GHz | |||
| Mali-450 MP3 | |||
| 2GB DDR3 | |||
| No | |||
|- | |- | ||
| | | <strong>Odroid C4</strong> | ||
<strong> | | 2020 | ||
| | | Amlogic | ||
| | | 12nm | ||
| | | S905X3 | ||
| | | Quad-core: <br>4 x Cortex-A55 | ||
| 4 x 2.0GHz | |||
| Mali-G31 MP2 | |||
| 4GB DDR4 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Odroid N2</strong> | ||
| 2019 | | 2019 | ||
| | | Amlogic | ||
| 12nm | |||
| S922X | |||
| Hexa-core: <br>4 x Cortex-A73 <br>2 x Cortex-A53 | |||
| 4 x 2.0GHz <br>2 x 1.8GHz | |||
| Mali-G52 MP4 | |||
| 2-4GB DDR4 | |||
| Yes | |||
|- | |- | ||
| <strong> | | <strong>Odroid N2+</strong> | ||
| Amlogic | | 2020 | ||
| | | Amlogic | ||
| | | 12nm | ||
| | | S922X | ||
| Hexa-core: <br>4 x Cortex-A73 <br>2 x Cortex-A53 | |||
| 4 x 2.4GHz <br>2 x 1.9GHz | |||
| Mali-G52 MP4 | |||
| 2-4GB DDR4 | |||
| Yes | |||
|- | |- | ||
| <strong> | | <strong>Odroid M1</strong> | ||
| | | 2021 | ||
| | | Rockchip | ||
| | | 22nm | ||
| | | RK3568B2 | ||
| Quad-core: <br>4 x Cortex-A55 | |||
| 4 x 2.0GHz | |||
| Mali-G52 2EE MC2 | |||
| 4–8GB LPDDR4 | |||
| No | |||
|} | |||
===Khadas=== | |||
{| class="wikitable sortable" style="text-align: center;width: 100%;" | |||
|+ | |||
|- | |||
! Model !! Release Year !! SoC Manufacturer !! Lithography !! CPU !! CPU Topology !! CPU Frequency !! GPU !! Memory !! Generic Image Support | |||
|- | |- | ||
| <strong> | | <strong>Edge-V</strong> | ||
| | | 2018 | ||
| | | Rockchip | ||
| | | 28nm | ||
| | | RK3399 | ||
| Hexa-core: <br>2 x Cortex-A72 <br>4 x Cortex-A53 | |||
| 2 x 1.8GHz <br>4 x 1.5GHz | |||
| Mali-T860 MP4 | |||
| 2-4GB LPDDR4 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Vim 1</strong> | ||
| Quad-core:<br>4 x Cortex-A53 | | 2016 | ||
| | | Amlogic | ||
| | | 28nm | ||
| | | S905X | ||
| Quad-core: <br>4 x Cortex-A53 | |||
| 4 x 1.5GHz | |||
| Mali-450 MP3 | |||
| 2GB DDR3 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Vim 2</strong> | ||
| | | 2017 | ||
| | | Amlogic | ||
| | | 28nm | ||
| | | S912 | ||
| Octa-core: <br>8 x Cortex-A53 | |||
| 8 x 1.5GHz | |||
| Mali-T820 MP3 | |||
| 2-3GB LPDDR4 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Vim 3</strong> | ||
| | | 2019 | ||
| | | Amlogic | ||
| | | 12nm | ||
| | | A311D | ||
|- | | Hexa-core: <br>4 x Cortex-A73 <br>2 x Cortex-A53 | ||
| 4 x 2.2GHz <br>2 x 1.8GHz | |||
| | | Mali-G52 MP4 | ||
| | | 2-4GB LPDDR4 | ||
| 2 | | No | ||
| | |||
|} | |} | ||
===Orange Pi=== | |||
{| class="wikitable sortable" style="text-align: center;width: 100%;" | |||
== | |+ | ||
{| class="wikitable" style="text-align: center;width: 100%;" | |||
| | |||
|- | |- | ||
! Model !! Release Year !! SoC Manufacturer !! Lithography !! CPU !! CPU Topology !! CPU Frequency !! GPU !! Memory !! Generic Image Support | |||
|- | |- | ||
| <strong> | | <strong>Orange Pi 3 LTS</strong> | ||
| | | 2019 | ||
| | | Allwinner | ||
| | | 28nm | ||
| | | H6 | ||
| Quad-core: <br>4 x Cortex-A53 | |||
| 4 x 1.8GHz | |||
| Mali-T720 MP2 | |||
| 1-2GB LPDDR3 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Orange Pi 4 LTS</strong> | ||
| 2 x | | 2021 | ||
| | | Rockchip | ||
| | | 28nm | ||
| | | RK3399 | ||
| Hexa-core: <br>4 x Cortex-A73 <br>2 x Cortex-A53 | |||
| 2 x 2.0GHz <br>4 x 1.5GHz | |||
| Mali-T860 MP4 | |||
| 2-4GB LPDDR4 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Orange Pi 800</strong> | ||
| | | 2022 | ||
| | | Rockchip | ||
| | | 28nm | ||
| | | RK3399 | ||
|- | | Hexa-core: <br>4 x Cortex-A73 <br>2 x Cortex-A53 | ||
| 2 x 2.0GHz <br>4 x 1.5GHz | |||
| 2 | | Mali-T860 MP4 | ||
| | | 2-4GB LPDDR4 | ||
| 2 | | No | ||
| | |||
|} | |} | ||
===Pine64=== | |||
{| class="wikitable sortable" style="text-align: center;width: 100%;" | |||
==Pine64== | |+ | ||
|- | |||
{| class="wikitable" style="text-align: center;width: 100%;"-- | ! Model !! Release Year !! SoC Manufacturer !! Lithography !! CPU !! CPU Topology !! CPU Frequency !! GPU !! Memory !! Generic Image Support | ||
|- | |||
| <strong>Rock64</strong> | |||
| 2017 | |||
| Rockchip | |||
| 28nm | |||
| RK3328 | |||
| Quad-core: <br>4 x Cortex-A53 | |||
| 4 x 1.5GHz | |||
| Mali-450 MP2 | |||
| 1-4GB LPDDR3 | |||
| No | |||
|- | |- | ||
| | | <strong>RockPro64</strong> | ||
<strong> | | 2017 | ||
| | | Rockchip | ||
| | | 28nm | ||
| | | RK3399 | ||
| | | Hexa-core: <br>4 x Cortex-A73 <br>2 x Cortex-A53 | ||
| | | 2 x 2.0GHz <br>4 x 1.5GHz | ||
| Mali-T860 MP4 | |||
| 2-4GB LPDDR4 | |||
| Yes | |||
|- | |- | ||
| <strong> | | <strong>Pine H64</strong> | ||
| | | 2019 | ||
| | | Allwinner | ||
| | | 28nm | ||
| | | H6 | ||
| | | Quad-core: <br>4 x Cortex-A53 | ||
| 4 x 1.8GHz | |||
| Mali-T720 MP2 | |||
| 2-4GB LPDDR3 | |||
| Yes | |||
|- | |- | ||
| <strong> | | <strong>Pinebook</strong> | ||
| | | 2017 | ||
| | | Allwinner | ||
| | | 40nm | ||
| | | A64 | ||
| | | Quad-core: <br>4 x Cortex-A53 | ||
| 4 x 1.152GHz | |||
| Mali-400 MP2 | |||
| 2GB LPDDR3 | |||
| Yes | |||
|- | |- | ||
| <strong> | | <strong>Pinebook Pro</strong> | ||
| 28nm | | 2019 | ||
| | | Rockchip | ||
| | | 28nm | ||
| | | RK3399 | ||
| | | Hexa-core: <br>2 x Cortex-A72 <br>4 x Cortex-A53 | ||
| 2 x 2.0GHz <br>4 x 1.5GHz | |||
| Mali-T860 MP4 | |||
| 4GB LPDDR4 | |||
| Yes | |||
|- | |- | ||
| <strong> | | <strong>Pinephone</strong> | ||
| | | 2019 | ||
| | | Allwinner | ||
| A64 | | 40nm | ||
| | | A64 | ||
| | | Quad-core: <br>4 x Cortex-A53 | ||
| 4 x 1.2GHz | |||
| Mali-400 MP2 | |||
| 2-3GB LPDDR3 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Pinephone Pro</strong> | ||
| | | 2022 | ||
| Hexa-core:<br>2 x Cortex-A72<br>4 x Cortex-A53 | | Rockchip | ||
| | | 28nm | ||
| | | RK3399 | ||
| | | Hexa-core: <br>2 x Cortex-A72 <br>4 x Cortex-A53 | ||
| 2 x 1.5GHz <br>4 x 1.5GHz | |||
| Mali-T860 MP4 | |||
| 4GB LPDDR4 @800 MHz | |||
| No | |||
|} | |||
===Radxa=== | |||
{| class="wikitable sortable" style="text-align: center;width: 100%;" | |||
|+ | |||
|- | |||
! Model !! Release Year !! SoC Manufacturer !! Lithography !! CPU !! CPU Topology !! CPU Frequency !! GPU !! Memory !! Generic Image Support | |||
|- | |- | ||
| <strong> | | <strong>Rock Pi 4B & 4C</strong> | ||
| | | 2019 | ||
| 2 x | | Rockchip | ||
| 28nm | |||
| 2 x 2.0GHz<br>4 x 1.5GHz | | RK3399 | ||
| | | Hexa-core: <br>2 x Cortex-A72 <br>4 x Cortex-A53 | ||
| 2 x 2.0GHz <br>4 x 1.5GHz | |||
| Mali-T860 MP4 | |||
| 1–4GB LPDDR4 | |||
| Yes | |||
|- | |- | ||
| <strong> | | <strong>Radxa Zero</strong> | ||
| | | 2021 | ||
| | | Amlogic | ||
| Mali- | | 12nm | ||
| | | S905Y2 | ||
| | | Quad-core: <br>4 x Cortex-A53 | ||
| 4 x 1.8GHz | |||
| Mali-G31 MP2 | |||
| 1-4GB LPDDR4 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Rock 3A</strong> | ||
| | | 2022 | ||
| 2 | | Rockchip | ||
| | | 22nm | ||
| | | RK3568 | ||
| | | Quad-core: <br>4 x Cortex-A55 | ||
| 4 x 2.0GHz | |||
| Mali-G52 2EE | |||
| 2-8GB LPDDR4 | |||
| No | |||
|} | |} | ||
===RaspberryPi === | |||
{| class="wikitable sortable" style="text-align: center;width: 100%;" | |||
== | |+ | ||
|- | |||
{| class="wikitable" style="text-align: center;width: 100%;"- | ! Model !! Release Year !! SoC Manufacturer !! Lithography !! CPU !! CPU Topology !! CPU Frequency !! GPU !! Memory !! Generic Image Support | ||
! | |||
! | |||
|- | |- | ||
| | | <strong>Pi 3B</strong> | ||
<strong> | | 2016 | ||
| | | Broadcom | ||
| 28nm | |||
| BCM2837 | |||
| Quad-core: <br>4 x Cortex-A53 | |||
| 4 x 1.2GHz | |||
| VideoCore IV | |||
| 1GB LPDDR2 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Pi 3B+</strong> | ||
| | | 2018 | ||
| Broadcom | |||
| 28nm | |||
| BCM2837B0 | |||
| Quad-core: <br>4 x Cortex-A53 | |||
| 4 x 1.4GHz | |||
| VideoCore IV | |||
| 1GB LPDDR2 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Pi 400</strong> | ||
| | | 2020 | ||
| Broadcom | |||
| 28nm | |||
| BCM2711 | |||
| Quad-core: <br>4 x Cortex-A72 | |||
| 4 x 1.5GHz | |||
| VideoCore VI | |||
| 4GB LPDDR4 | |||
| No | |||
|- | |- | ||
| <strong> | | <strong>Pi 4B</strong> | ||
| 28nm | | 2019 | ||
| Broadcom | |||
| 28nm | |||
| BCM2711 | |||
| Quad-core: <br>4 x Cortex-A72 | |||
| 4 x 1.5GHz | |||
| VideoCore VI | |||
| 1-8GB LPDDR4 | |||
| No | |||
|} | |||
===Ugoos=== | |||
{| class="wikitable sortable" style="text-align: center;width: 100%;" | |||
|+ | |||
|- | |||
! Model !! Release Year !! SoC Manufacturer !! Lithography !! CPU !! CPU Topology !! CPU Frequency !! GPU !! Memory !! Generic Image Support | |||
|- | |- | ||
| <strong> | | <strong>AM6 Plus</strong> | ||
| | | 2019? | ||
| | | Amlogic | ||
| | | 12nm | ||
| Hexa-core:<br> | | S922XJ | ||
| | | Hexa-core: <br>4 x Cortex-A73 <br>2 x Cortex-A53 | ||
| 4 x 2.2GHz <br>2 x 1.9GHZ | |||
| Mali-G52 MP6 | |||
| 4GB LPDDR4 | |||
| No | |||
| Mali- | |||
| | |||
| | |||
|} | |} | ||
==Android TV boxes== <!--T:41--> | |||
<!--T:42--> | |||
With a couple of small tweaks it is possible to boot and install the vim3 builds of Manjaro on some [[Amlogic TV boxes]]. Running Manjaro on TV boxes is not recommended for less experienced users of Linux nor serious production use. | |||
=Raspberry Pi Tips= <!--T:24--> | |||
< | |||
==Sensors== <!--T:25--> | |||
<!--T:26--> | |||
For temperature and humidity sensor see this tutorial on the forums: https://forum.manjaro.org/t/howto-raspberry-pi-temperature-and-humidity-sensor-dht22-dht11-am2302/34685 | For temperature and humidity sensor see this tutorial on the forums: https://forum.manjaro.org/t/howto-raspberry-pi-temperature-and-humidity-sensor-dht22-dht11-am2302/34685 | ||
==Overclocking== <!--T:27--> | |||
<!--T:28--> | |||
You can manage voltage and frequency settings in your <code>/boot/config.txt</code>. The following are the most common values for the Raspberry Pi: | You can manage voltage and frequency settings in your <code>/boot/config.txt</code>. The following are the most common values for the Raspberry Pi: | ||
<pre> | <pre> | ||
Line 362: | Line 444: | ||
</pre> | </pre> | ||
= | =Raspberry Pi Troubleshooting= <!--T:29--> | ||
==Pi 400 Power Button== <!--T:30--> | |||
<!--T:31--> | |||
If you have trouble using the power button on your Pi 400 with the XFCE desktop (or xfce4-power-manager) then make sure logind is handling button events: | If you have trouble using the power button on your Pi 400 with the XFCE desktop (or xfce4-power-manager) then make sure logind is handling button events: | ||
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true | xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true | ||
==Blocked Update== <!--T:32--> | |||
<!--T:33--> | |||
There are device-dependent workarounds if you experience an error similar to: | There are device-dependent workarounds if you experience an error similar to: | ||
<pre> | <pre> | ||
Line 377: | Line 461: | ||
</pre> | </pre> | ||
<!--T:34--> | |||
For the '''Pi 3B''': | For the '''Pi 3B''': | ||
sudo systemctl disable brcm43438.service | <!--T:35--> | ||
sudo systemctl disable brcm43438.service | |||
sudo pacman -S -dd brcm-patchram-plus-pi3b firmware-raspberrypi | sudo pacman -S -dd brcm-patchram-plus-pi3b firmware-raspberrypi | ||
sudo systemctl enable attach-bluetooth-pi3.service | sudo systemctl enable attach-bluetooth-pi3.service | ||
<!--T:36--> | |||
For the '''Pi 3B+''': | For the '''Pi 3B+''': | ||
sudo systemctl disable brcm43438.service | <!--T:37--> | ||
sudo systemctl disable brcm43438.service | |||
sudo pacman -S -dd brcm-patchram-plus firmware-raspberrypi | sudo pacman -S -dd brcm-patchram-plus firmware-raspberrypi | ||
sudo systemctl enable attach-bluetooth.service | sudo systemctl enable attach-bluetooth.service | ||
<!--T:38--> | |||
For the '''Pi 4B''': | For the '''Pi 4B''': | ||
sudo systemctl disable brcm43438.service | <!--T:39--> | ||
sudo systemctl disable brcm43438.service | |||
sudo pacman -S -dd brcm-patchram-plus firmware-raspberrypi | sudo pacman -S -dd brcm-patchram-plus firmware-raspberrypi | ||
sudo systemctl enable attach-bluetooth.service | sudo systemctl enable attach-bluetooth.service | ||
<!--T:40--> | |||
For the '''Pi 400''': | For the '''Pi 400''': | ||
<!--T:51--> | |||
sudo systemctl disable brcm43438.service | |||
sudo pacman -S -dd brcm-patchram-plus-pi400 firmware-raspberrypi | sudo pacman -S -dd brcm-patchram-plus-pi400 firmware-raspberrypi | ||
sudo systemctl enable attach-bluetooth-pi400.service | sudo systemctl enable attach-bluetooth-pi400.service | ||
==Missing Bluetooth after raspberrypi-bootloader/-x update 20210208-1== <!--T:52--> | |||
<!--T:43--> | |||
First, check whether the bootloader has been updated: | |||
pacman -Ss raspberrypi-bootloader | |||
<!--T:44--> | |||
Possible results: | |||
core/raspberrypi-bootloader '''20210208-1''' [installed] | |||
Bootloader files for Raspberry Pi | |||
core/raspberrypi-bootloader-x '''20210208-1''' [installed] | |||
Bootloader with extra codecs for Raspberry Pi | |||
=See also= | <!--T:45--> | ||
If it is the case, changing the occurrences of '''ttyAMA0''' in /boot/cmdline.txt to '''serial0''' may fix missing Bluetooth ([https://forum.manjaro.org/t/new-raspberry-pi-kernels-related-packages/4721/344 Source]). | |||
=Unsupported Devices= <!--T:53--> | |||
<!--T:54--> | |||
In general, any device that does not have a device specific image or works with the Generic image, is considered unsupported. We may drop support for a device when the manufacturer no longer sells the device. The device is then considered EOL (End-Of-Life). Such a device might still work by updating and old image or running the Generic image, but we no longer work to keep it working. | |||
=See also= <!--T:55--> | |||
https://wiki.archlinux.org/index.php/Category:ARM_architecture<br /> | https://wiki.archlinux.org/index.php/Category:ARM_architecture<br /> | ||
https://archlinuxarm.org/wiki<br /> | https://archlinuxarm.org/wiki<br /> | ||
Line 411: | Line 520: | ||
<br /> | <br /> | ||
</translate> | |||
[[Category:Contents Page]] | [[Category:Contents Page{{#translation:}}]] | ||
[[Category:ARM{{#translation:}}]] |
Latest revision as of 04:10, 16 October 2024
Overview
The Manjaro distribution, but for ARM devices.
Based on Arch Linux ARM, combined with Manjaro tools, themes and infrastructure to make install images for your ARM device, like the Pinebook and Raspberry Pi.
Installation
Preparing the SPI (optional)
Some boards have an SPI storage chip. This is a small storage device, usually 4-16 MB in size, that the board checks for firmware before proceeding to other devices. So we can utilize this chip, by preparing the board specific firmware on it, making it able to boot our generic image and our generic EFI image.
We have currently tested Tow-Boot, so that's what this guide will use.
- Go to the latest release section of Tow-Boot and download the file that matches your board. This is important.
- Unpack it and flash the `spi.installer.img` file to a spare SD card. If the archive does not contain any spi.installer.img file for your board, you should use one of our pre-built OS images instead, which has the Shared Storage version of U-boot installed.
- Insert the SD card into your device and boot from it. You will be presented with a short menu. One entry is "Flash Tow-Boot to SPI", second entry is "Erase SPI Flash" and the last option is "Reboot".
- Select the "Flash Tow-Boot to SPI" option and wait until it finishes successfully. It can take a couple of minutes as SPI storage is rather slow.
- When it's done, power off the device and take out the SD card. Now your device has the Tow-Boot board firmware in place and should now be capable of booting any generic (EFI) aarch64 image that supports your board.
Our Generic Aarch64 image supports the Extlinux booting scheme, while our Generic EFI Aarch64 uses EFI enabled firmware (which tow-boot has).
Downloading
You can find installation images in the downloads section of the Manjaro Website.
Find the image that matches your target device and desired edition.
Or if you have Board Firmware on your SPI, you can try our new Generic Aarch64 images.
Writing the Installation Media
The images are in a .xz file. These files can be burned directly to an SD card with Etcher or with dd directly.
To manually install to your SD card with dd:
Extract the image.
unxz Manjaro-ARM-[Edition]-[Device]-[Version].xz
Get it on the SD card
sudo dd if=Manjaro-ARM-[Edition]-[Device]-[Version].img of=/dev/[device] bs=4M
Where [device] is your SD card's device, as seen by lsblk. Usually mmcblk0 or sdb.
Cleanup and First Boot
Once you have the image on the SDCard, you should be able to put the card into your device and plug it in. If everything worked correctly, it should boot to the OEM setup. Here you define your username, passwords locales etc. Once that is done, the script will clean up after itself, resize the partition and reboot the device. After that reboot, it should boot to the Operating System. Depending on the edition you have installed, this could be a simple TTY login or a graphical desktop environment.
Resizing the partitions
Since 18.09 this is now done automatically. The device will boot to OEM setup, which will handle the resizing, and then reboot before the login screen would appear. When it's booted to the login screen, the filesystem has been resized to fill out the remaining space on the SD card.
Login
Login depends on what you set up during the OEM setup. There are 1 users by default on the image. root. And by default it has no password and autologin enabled. This gets changed when the OEM script is run, to disable the autologin and set the password defined during the setup.
Supported Devices
Devices listed here are either supported by having device specific images, runs from the Generic images with board firmware on SPI or is still installable via the Manjaro ARM Installer script.
Device List
Hardkernel
Model | Release Year | SoC Manufacturer | Lithography | CPU | CPU Topology | CPU Frequency | GPU | Memory | Generic Image Support |
---|---|---|---|---|---|---|---|---|---|
Odroid C2 | 2016 | Amlogic | 28nm | S905 | Quad-core: 4 x Cortex-A53 |
4 x 1.5GHz | Mali-450 MP3 | 2GB DDR3 | No |
Odroid C4 | 2020 | Amlogic | 12nm | S905X3 | Quad-core: 4 x Cortex-A55 |
4 x 2.0GHz | Mali-G31 MP2 | 4GB DDR4 | No |
Odroid N2 | 2019 | Amlogic | 12nm | S922X | Hexa-core: 4 x Cortex-A73 2 x Cortex-A53 |
4 x 2.0GHz 2 x 1.8GHz |
Mali-G52 MP4 | 2-4GB DDR4 | Yes |
Odroid N2+ | 2020 | Amlogic | 12nm | S922X | Hexa-core: 4 x Cortex-A73 2 x Cortex-A53 |
4 x 2.4GHz 2 x 1.9GHz |
Mali-G52 MP4 | 2-4GB DDR4 | Yes |
Odroid M1 | 2021 | Rockchip | 22nm | RK3568B2 | Quad-core: 4 x Cortex-A55 |
4 x 2.0GHz | Mali-G52 2EE MC2 | 4–8GB LPDDR4 | No |
Khadas
Model | Release Year | SoC Manufacturer | Lithography | CPU | CPU Topology | CPU Frequency | GPU | Memory | Generic Image Support |
---|---|---|---|---|---|---|---|---|---|
Edge-V | 2018 | Rockchip | 28nm | RK3399 | Hexa-core: 2 x Cortex-A72 4 x Cortex-A53 |
2 x 1.8GHz 4 x 1.5GHz |
Mali-T860 MP4 | 2-4GB LPDDR4 | No |
Vim 1 | 2016 | Amlogic | 28nm | S905X | Quad-core: 4 x Cortex-A53 |
4 x 1.5GHz | Mali-450 MP3 | 2GB DDR3 | No |
Vim 2 | 2017 | Amlogic | 28nm | S912 | Octa-core: 8 x Cortex-A53 |
8 x 1.5GHz | Mali-T820 MP3 | 2-3GB LPDDR4 | No |
Vim 3 | 2019 | Amlogic | 12nm | A311D | Hexa-core: 4 x Cortex-A73 2 x Cortex-A53 |
4 x 2.2GHz 2 x 1.8GHz |
Mali-G52 MP4 | 2-4GB LPDDR4 | No |
Orange Pi
Model | Release Year | SoC Manufacturer | Lithography | CPU | CPU Topology | CPU Frequency | GPU | Memory | Generic Image Support |
---|---|---|---|---|---|---|---|---|---|
Orange Pi 3 LTS | 2019 | Allwinner | 28nm | H6 | Quad-core: 4 x Cortex-A53 |
4 x 1.8GHz | Mali-T720 MP2 | 1-2GB LPDDR3 | No |
Orange Pi 4 LTS | 2021 | Rockchip | 28nm | RK3399 | Hexa-core: 4 x Cortex-A73 2 x Cortex-A53 |
2 x 2.0GHz 4 x 1.5GHz |
Mali-T860 MP4 | 2-4GB LPDDR4 | No |
Orange Pi 800 | 2022 | Rockchip | 28nm | RK3399 | Hexa-core: 4 x Cortex-A73 2 x Cortex-A53 |
2 x 2.0GHz 4 x 1.5GHz |
Mali-T860 MP4 | 2-4GB LPDDR4 | No |
Pine64
Model | Release Year | SoC Manufacturer | Lithography | CPU | CPU Topology | CPU Frequency | GPU | Memory | Generic Image Support |
---|---|---|---|---|---|---|---|---|---|
Rock64 | 2017 | Rockchip | 28nm | RK3328 | Quad-core: 4 x Cortex-A53 |
4 x 1.5GHz | Mali-450 MP2 | 1-4GB LPDDR3 | No |
RockPro64 | 2017 | Rockchip | 28nm | RK3399 | Hexa-core: 4 x Cortex-A73 2 x Cortex-A53 |
2 x 2.0GHz 4 x 1.5GHz |
Mali-T860 MP4 | 2-4GB LPDDR4 | Yes |
Pine H64 | 2019 | Allwinner | 28nm | H6 | Quad-core: 4 x Cortex-A53 |
4 x 1.8GHz | Mali-T720 MP2 | 2-4GB LPDDR3 | Yes |
Pinebook | 2017 | Allwinner | 40nm | A64 | Quad-core: 4 x Cortex-A53 |
4 x 1.152GHz | Mali-400 MP2 | 2GB LPDDR3 | Yes |
Pinebook Pro | 2019 | Rockchip | 28nm | RK3399 | Hexa-core: 2 x Cortex-A72 4 x Cortex-A53 |
2 x 2.0GHz 4 x 1.5GHz |
Mali-T860 MP4 | 4GB LPDDR4 | Yes |
Pinephone | 2019 | Allwinner | 40nm | A64 | Quad-core: 4 x Cortex-A53 |
4 x 1.2GHz | Mali-400 MP2 | 2-3GB LPDDR3 | No |
Pinephone Pro | 2022 | Rockchip | 28nm | RK3399 | Hexa-core: 2 x Cortex-A72 4 x Cortex-A53 |
2 x 1.5GHz 4 x 1.5GHz |
Mali-T860 MP4 | 4GB LPDDR4 @800 MHz | No |
Radxa
Model | Release Year | SoC Manufacturer | Lithography | CPU | CPU Topology | CPU Frequency | GPU | Memory | Generic Image Support |
---|---|---|---|---|---|---|---|---|---|
Rock Pi 4B & 4C | 2019 | Rockchip | 28nm | RK3399 | Hexa-core: 2 x Cortex-A72 4 x Cortex-A53 |
2 x 2.0GHz 4 x 1.5GHz |
Mali-T860 MP4 | 1–4GB LPDDR4 | Yes |
Radxa Zero | 2021 | Amlogic | 12nm | S905Y2 | Quad-core: 4 x Cortex-A53 |
4 x 1.8GHz | Mali-G31 MP2 | 1-4GB LPDDR4 | No |
Rock 3A | 2022 | Rockchip | 22nm | RK3568 | Quad-core: 4 x Cortex-A55 |
4 x 2.0GHz | Mali-G52 2EE | 2-8GB LPDDR4 | No |
RaspberryPi
Model | Release Year | SoC Manufacturer | Lithography | CPU | CPU Topology | CPU Frequency | GPU | Memory | Generic Image Support |
---|---|---|---|---|---|---|---|---|---|
Pi 3B | 2016 | Broadcom | 28nm | BCM2837 | Quad-core: 4 x Cortex-A53 |
4 x 1.2GHz | VideoCore IV | 1GB LPDDR2 | No |
Pi 3B+ | 2018 | Broadcom | 28nm | BCM2837B0 | Quad-core: 4 x Cortex-A53 |
4 x 1.4GHz | VideoCore IV | 1GB LPDDR2 | No |
Pi 400 | 2020 | Broadcom | 28nm | BCM2711 | Quad-core: 4 x Cortex-A72 |
4 x 1.5GHz | VideoCore VI | 4GB LPDDR4 | No |
Pi 4B | 2019 | Broadcom | 28nm | BCM2711 | Quad-core: 4 x Cortex-A72 |
4 x 1.5GHz | VideoCore VI | 1-8GB LPDDR4 | No |
Ugoos
Model | Release Year | SoC Manufacturer | Lithography | CPU | CPU Topology | CPU Frequency | GPU | Memory | Generic Image Support |
---|---|---|---|---|---|---|---|---|---|
AM6 Plus | 2019? | Amlogic | 12nm | S922XJ | Hexa-core: 4 x Cortex-A73 2 x Cortex-A53 |
4 x 2.2GHz 2 x 1.9GHZ |
Mali-G52 MP6 | 4GB LPDDR4 | No |
Android TV boxes
With a couple of small tweaks it is possible to boot and install the vim3 builds of Manjaro on some Amlogic TV boxes. Running Manjaro on TV boxes is not recommended for less experienced users of Linux nor serious production use.
Raspberry Pi Tips
Sensors
For temperature and humidity sensor see this tutorial on the forums: https://forum.manjaro.org/t/howto-raspberry-pi-temperature-and-humidity-sensor-dht22-dht11-am2302/34685
Overclocking
You can manage voltage and frequency settings in your /boot/config.txt
. The following are the most common values for the Raspberry Pi:
over_voltage=6 arm_freq=2100 gpu_freq=650
Raspberry Pi Troubleshooting
Pi 400 Power Button
If you have trouble using the power button on your Pi 400 with the XFCE desktop (or xfce4-power-manager) then make sure logind is handling button events:
xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/logind-handle-power-key -n -t bool -s true
Blocked Update
There are device-dependent workarounds if you experience an error similar to:
error: failed to prepare transaction (conflicting dependencies) :: brcm-patchram-plus and pi-bluetooth are in conflict
For the Pi 3B:
sudo systemctl disable brcm43438.service sudo pacman -S -dd brcm-patchram-plus-pi3b firmware-raspberrypi sudo systemctl enable attach-bluetooth-pi3.service
For the Pi 3B+:
sudo systemctl disable brcm43438.service sudo pacman -S -dd brcm-patchram-plus firmware-raspberrypi sudo systemctl enable attach-bluetooth.service
For the Pi 4B:
sudo systemctl disable brcm43438.service sudo pacman -S -dd brcm-patchram-plus firmware-raspberrypi sudo systemctl enable attach-bluetooth.service
For the Pi 400:
sudo systemctl disable brcm43438.service
sudo pacman -S -dd brcm-patchram-plus-pi400 firmware-raspberrypi sudo systemctl enable attach-bluetooth-pi400.service
Missing Bluetooth after raspberrypi-bootloader/-x update 20210208-1
First, check whether the bootloader has been updated:
pacman -Ss raspberrypi-bootloader
Possible results:
core/raspberrypi-bootloader 20210208-1 [installed] Bootloader files for Raspberry Pi core/raspberrypi-bootloader-x 20210208-1 [installed] Bootloader with extra codecs for Raspberry Pi
If it is the case, changing the occurrences of ttyAMA0 in /boot/cmdline.txt to serial0 may fix missing Bluetooth (Source).
Unsupported Devices
In general, any device that does not have a device specific image or works with the Generic image, is considered unsupported. We may drop support for a device when the manufacturer no longer sells the device. The device is then considered EOL (End-Of-Life). Such a device might still work by updating and old image or running the Generic image, but we no longer work to keep it working.
See also
https://wiki.archlinux.org/index.php/Category:ARM_architecture
https://archlinuxarm.org/wiki
https://osdn.net/projects/manjaro-arm/