0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Raspberrypi5, install Manjaro-ARM

Last updated at Posted at 2024-05-07

Install Manjaro-ARM to Raspberrypi5.

自分用の防備録も兼ねて投稿します。
net上で探しても記事が少ないので、参考になれば幸いです。
類似な内容をここにも上げてますが、詳細な情報を以下に掲載します。

今のところmanjaroは公式にpi5をsuppportしてないようので、manjaro-arm-rpi4 は動作しない模様。もしsupportしているようでしたら、ご存じの方、ご連絡お願いします。

The key to me was update manjaro software stable rpi4 first and change to unstable branch later and then install software.
I have a rpi4 in wich I made the migration.
If you try install manjaro-arm rpi4 on SD or USB and boot directly on rpi5 not work.

Otutline

  • must have Raspberrypi4 to do following method.
  • I have manjaro-arm rpi4 on SD-card in my pi-4.
  • update pi-4.
  • move to unstable branch.
  • install kernel & some pkgs etc.
  • set updated SD-card on pi-5 and run.
  • modify some setting parameter; overclock etc... if you need.

Prepare

  • prepare Raspberrypi4 and install manjaro-arm-rpi4.
  • backup pacman database etc before update, if you neeed.
  • update pi-4 like follows.
## 不要かも? 念の為。
sudo pacman -Syy
sudo pacman -S archlinux-keyring manjaro-keyring

## update pi-4. 
sudo pacman -Syyuu | tee `date +%y%m%d_%H%M`_log.txt

Move to unstable branch & install some of pkgs etc.

  • Read following page to confirm details.

The key is to install the unstable repositories with the system completely updated and then add the software that I put above. Then change the rpi4 for the rpi5 and that's it.

## you should update pacman-mirror if you use Japan repo, because some of pkg may not exist in Japan servers.

sudo pacman-mirrors -c Japan United_States

## move to unstable branch

sudo pacman-mirrors --api --set-branch unstable && sudo pacman -Syu |\
tee `date +%y%m%d_%H%M`_move_to _unstable.txt

## install kernel etc.

sudo pacman -Syuu linux-rpi4 linux-rpi5 rpi-overlays firmware-raspberrypi raspberrypi-utils raspberrypi-bootloader raspberrypi-bootloader-x |\
tee `date +%y%m%d_%H%M`_install-kernel-etc-pi5.txt

Modify boot/config.txt after updating.

It seems to be safer for me to do before updating.

sudo vim /boot/config.txt
## add follwings.
os_check=0

But this may not be needed...

os_check=0 on config.txt is not the key to sucess rpi5 boot and I dont know if it is mandatory to boot rpi5.

Set updated SD-card to pi5 and run.

  • updateしたSD-cardをpi5に入れ、電源を繋いで起動。

Modify some setting parameter. overclock etc after boot-up.

  • overclock
sudo vim /boot/config.txt

## overclock 2.9GHz. 3.0GHz is unstable for my pi5.
arm_freq=2900
#arm_freq=3000
gpu_freq=1000
over_voltage_delta=50000

  • change boot order, if you need. But you do not need it, when you use SD-card or USB-SSD.

その他

  • Hyprland 予告編.

私はsshを通してRaspberryp使っているので、必須でないですが、モニタに繋いで使う時に利用します。mouseは嫌いですので、tiling-compsitorを使います。

compositorはhyprlandです。i3も動作します。
Waylandでうまく動作しないものがあるので、i3も手放せません。
これも記事が少ないので、近いうちに詳細を投稿します。

## waybarは私が入れた時点(2024.5.6)では動作しませんでした。
## 可能ならdown-gradeしましょう。 ただし古いpkgを持っていればですが。

yay -S hyprland swaybg swayidle swaylock xorg-xwayland wlroots wl-clipboard waybar wofi foot mako grim slurp wf-recorder

初投稿になりますが、今後もよろしくお願いします。
間違い等ございましたら、ご指摘お願いします。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?