Difference between revisions of "Manjaro-ARM"

Marked this version for translation
(added languages and translate tags)
(Marked this version for translation)
Line 3: Line 3:


<translate>
<translate>
=Overview=
=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-->


===Downloading===
===Downloading=== <!--T:6-->


<!--T:7-->
You can find installation images in the downloads section of the [https://manjaro.org/download/#ARM Manjaro Website] or at [https://osdn.net/projects/manjaro-arm/ OSDN]<br>
You can find installation images in the downloads section of the [https://manjaro.org/download/#ARM Manjaro Website] or at [https://osdn.net/projects/manjaro-arm/ OSDN]<br>
Find the image that matches your target device and desired edition.
Find the image that matches your target device and desired edition.




===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.
Line 49: Line 58:
</translate>
</translate>
<translate>
<translate>
=Supported Devices=
=Supported Devices= <!--T:17-->


==Hardkernel==
==Hardkernel== <!--T:18-->
</translate>
</translate>
{|  class="wikitable" style="text-align: center;width: 100%;"-- Header -->  
{|  class="wikitable" style="text-align: center;width: 100%;"-- Header -->  
Line 348: Line 357:


<translate>
<translate>
===Raspberry Pi===
===Raspberry Pi=== <!--T:19-->


====Sensors====
====Sensors==== <!--T:20-->


<!--T:21-->
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====
====Overclocking==== <!--T:22-->


<!--T:23-->
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 363: Line 374:
</pre>
</pre>


===Troubleshooting===
===Troubleshooting=== <!--T:24-->


====Pi 400 Power Button====
====Pi 400 Power Button==== <!--T:25-->


<!--T:26-->
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====
====Blocked Update==== <!--T:27-->


<!--T:28-->
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 378: Line 391:
</pre>
</pre>


<!--T:29-->
For the '''Pi 3B''':
For the '''Pi 3B''':


  sudo systemctl disable brcm43438.service
  <!--T:30-->
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:31-->
For the '''Pi 3B+''':
For the '''Pi 3B+''':


  sudo systemctl disable brcm43438.service
  <!--T:32-->
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:33-->
For the '''Pi 4B''':
For the '''Pi 4B''':


  sudo systemctl disable brcm43438.service
  <!--T:34-->
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:35-->
For the '''Pi 400''':
For the '''Pi 400''':


  sudo systemctl disable brcm43438.service
  <!--T:36-->
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====
====Missing Bluetooth after raspberrypi-bootloader/-x update 20210208-1==== <!--T:37-->


<!--T:38-->
First, check whether the bootloader has been updated:
First, check whether the bootloader has been updated:
  pacman -Ss raspberrypi-bootloader
  pacman -Ss raspberrypi-bootloader


<!--T:39-->
Possible results:
Possible results:
  core/raspberrypi-bootloader '''20210208-1''' [installed]
  core/raspberrypi-bootloader '''20210208-1''' [installed]
Line 413: Line 436:
     Bootloader with extra codecs for Raspberry Pi
     Bootloader with extra codecs for Raspberry Pi


<!--T:40-->
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]).
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]).


==Android TV boxes==
==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.
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.


=See also=
=See also= <!--T:43-->
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 />