Manjaro Arm Linux - Dev Edition

Post Reply
User avatar
spikerguy
Posts: 62
Joined: Thu Apr 30, 2020 12:35 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 25 times
Been thanked: 24 times
Contact:

Manjaro Arm Linux - Dev Edition

Post by spikerguy »

Hello,

I am happy to announce that we have a working Manjaro Arm Linux Image for Odroid M1.
2022-05-21_13-37.png
2022-05-21_13-37.png (661.97 KiB) Viewed 11227 times
This is Dev edition images which is based on Unstable branch of Manjaro Repo.

Kindly test the images and share your feedback, Be Aware that these images are not for production use as they're based on unstable branch.
Everything working except Rtc, PCIE & Sata.
All new images from 26-05-2022 will be able to boot from petitboot. :D

Users can download the image from our git ci.
Download Images

Thanks to Odroid Team for sending us Odroid M1 Device samples.

Donation
Please consider supporting Manjaro ARM directly via Patreon, Ko-Fi or Open Collective.
You can also donate to our upstream, which is Arch Linux ARM.
Last edited by spikerguy on Thu May 26, 2022 9:00 pm, edited 2 times in total.
These users thanked the author spikerguy for the post (total 2):
nl.smart (Sun May 22, 2022 7:53 am) • odroid (Sun May 22, 2022 3:27 pm)
Manjaro ARM Team

User avatar
spikerguy
Posts: 62
Joined: Thu Apr 30, 2020 12:35 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 25 times
Been thanked: 24 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by spikerguy »

Reserved for future updates.
Manjaro ARM Team

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

Hi,

Thanks for your post and the image, congratulation to the dev team, the device boot with the image.

to boot with the emmc module, you have to press the rcy button, thanks for the tip :-)

I flashed the image on a Odroid c2 emmc module.

Bug report :
- after the boot and the Manjaro arm config with calamares, the password is set with the us keyboard and not with the local keyboard set during the config with calamares.
- the 2 usb 3.0 slot doesn't work.
- vnc and samba doesn't work (same issue on the odroid n2 with kde since a while) I hope soon a LXQt version for the Odroid m1 to solve it :-)
These users thanked the author nl.smart for the post:
spikerguy (Sun May 22, 2022 7:47 pm)
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

arlac77
Posts: 9
Joined: Wed Apr 07, 2021 2:21 am
languages_spoken: english
ODROIDs: c2,xu3,xu4,hc4
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by arlac77 »

Hello,
Thanks for the image.

I have some problems using it.

RCY key means „(O) SPI recovery Switch„ ?

For me neither using a micro SD-Card nor a eMmc module did produce any screen (HDMI) output.

Is is enough to dd the decompressed image to the flash device or are some special operations required to make uboot work ?

I used
dd if=<decompressed image> of=/dev/*blk bs=4M


Thanks

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

Hi arlac77,

First, flash the image with a software like balenaEtcher, don't decompress it, but flash the image.
https://github.com/balena-io/etcher/blo ... SUPPORT.md

Secondly, to boot the image flashed on your sd card press the rcy button during the boot

Image
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

arlac77
Posts: 9
Joined: Wed Apr 07, 2021 2:21 am
languages_spoken: english
ODROIDs: c2,xu3,xu4,hc4
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by arlac77 »

Hello,

the problem is that I do not have any signal over HDMI (at least not in the first (10?) minutes).
When i enable ssh in the root fs (before booting) I am able to connect via ssh into the freshly booted sd-card.

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

I flashed the kde version on an emmc module, I boot the device and pressing the rcy button simultaneously.

What spykerguy wrote is very precice :

"These images will not boot off Petitboot, as we;re looking into this issue while it will just work fine when RCY key is pressed while powering on the device which skips petitboot and boots from our uboot for rk356x."
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

User avatar
tobetter
Posts: 13216
Joined: Mon Feb 25, 2013 10:55 am
languages_spoken: Korean, English
ODROIDs: Many
Location: Paju, South Korea
Has thanked: 1014 times
Been thanked: 2300 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by tobetter »

In order to boot Manajro without pressing the boot select button, we have two methods.

Option A:
Disable Petitboot by running fw_setenv skip_spiboot true in the command line of Petitboot, this won't run Petitboot again. But cons it will only boot from eMMC or SD card, not from USB nor NMVe nor SATA.

Option B:
Majaro uses extlinux.conf as a boot script which is not supported by Petitboot, alternatively we can use boot.scr. This script is from their extlinux/extlinux.conf in BOOT_MNJRO partition and it can be translated to boot.scr with the command mkimage -T script -A arm64 -C none -d boot.cmd boot.scr. Drop the file boot.scr to the first partition of Manajro image, then Petitboot will show you the boot entry and can boot from it. I've done this with eMMC, not with NVMe or SATA, techinically it will work.

Code: Select all

$ cat boot.cmd
setenv bootlabel Manjaro ARM

setenv bootargs root=PARTUUID=9a949ba1-67a4-4652-b8e3-fedddea3ff68 rw rootwait audit=0 splash plymouth.ignore-serial-consoles console=ttyS2,1500000 

load ${devtype} ${devnum}:${partition} ${fdt_addr_r} ${prefix}/dtbs/rockchip/rk3568-odroid-m1.dtb
load ${devtype} ${devnum}:${partition} ${kernel_addr_r} ${prefix}/Image
load ${devtype} ${devnum}:${partition} ${ramdisk_addr_r} ${prefix}/initramfs-linux.img
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
These users thanked the author tobetter for the post (total 2):
nl.smart (Tue May 24, 2022 5:02 am) • spikerguy (Thu May 26, 2022 6:08 pm)

User avatar
spikerguy
Posts: 62
Joined: Thu Apr 30, 2020 12:35 am
languages_spoken: english
ODROIDs: HC4
Has thanked: 25 times
Been thanked: 24 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by spikerguy »

We have updated the boot method and added the boot.cmd which generates boot.scr on kernel updates.

With the new images it will work out fine without the need of pressing any button.
It will reflect as bootable in petitboot.
Will update the link once the new images are ready.

UPDATE:
New Images generated with boot.scr
Download 20220526 Images

Thanks.
These users thanked the author spikerguy for the post (total 2):
tobetter (Thu May 26, 2022 6:21 pm) • nl.smart (Thu May 26, 2022 10:21 pm)
Manjaro ARM Team

arlac77
Posts: 9
Joined: Wed Apr 07, 2021 2:21 am
languages_spoken: english
ODROIDs: c2,xu3,xu4,hc4
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by arlac77 »

With the 20220526 image I am able to boot without the recovery button (sd-card || eMMC) (using petitboot).
But I still have not screen output (HDMI)
These users thanked the author arlac77 for the post:
spikerguy (Fri May 27, 2022 6:16 pm)

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

I built a LXQt image for the Odroid m1, flashed on emmc module, it boot without problem.
Congratulation to the dev.
These users thanked the author nl.smart for the post:
spikerguy (Fri May 27, 2022 6:16 pm)
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

User avatar
rmsc
Posts: 20
Joined: Sun Jul 03, 2022 3:09 am
languages_spoken: english
ODROIDs: 4x M1
Location: Portugal
Has thanked: 3 times
Been thanked: 4 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by rmsc »

Tried booting from nvme, but it gets stuck really early:

Code: Select all

Starting version 251.3-1-arch
:: running early hook [plymouth]
I guess this is the PCIe not working yet.. really interested in getting this working :)
These users thanked the author rmsc for the post:
nl.smart (Tue Aug 09, 2022 8:35 pm)

exceeder
Posts: 7
Joined: Fri Oct 14, 2022 6:29 am
languages_spoken: english
ODROIDs: C1, M1
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by exceeder »

Dev 20221003 https://github.com/manjaro-arm/om1-imag ... g/20221003
5.19.12-1-MANJARO-ARM
nvme boot works :-)
no audio and gpu acceleration :-(
These users thanked the author exceeder for the post (total 2):
odroid (Fri Oct 14, 2022 10:10 am) • nl.smart (Sun Oct 16, 2022 10:54 pm)

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

Hi,

Thanks exceeder for your feedback.

I built an image today

Code: Select all

sudo buildarmimg -d om1 -e lxqt -v 2022.10.16 -b testing -n
To build yourself your Manjaro os see below
https://forum.manjaro.org/t/wiki-how-to ... -arm/35461

The Odroid m1 is now working with the kernel 6.0.2-1, I hope for a long time.
emmc module running the device.

The USB 3 slot on the top is now working, not on the bottom.
The audio jack output is working on the Odroid m1, tested just now.

Code: Select all

[nls@m1 ~]$ date -u
dim. 16 oct. 2022 13:09:27 UTC
[nls@m1 ~]$ screenfetch
                             nls@m1
                             OS: Manjaro-ARM 22.10
                             Kernel: aarch64 Linux 6.0.2-1-MANJARO-ARM
         #####               Uptime: 7m
        #######              Packages: Unknown
        ##O#O##              Shell: bash 5.1.16
        #######              Resolution: 1920x1080
      ###########            DE: LXQt 1.1.0
     #############           WM: OpenBox
    ###############          WM Theme: Mikachu
    ################         GTK Theme: Matcha-light-azul [GTK2/3]
   #################         Icon Theme: Papirus-Dark
 #####################       Font: Noto Sans 11
 #####################       Disk: 
   #################         CPU: Unknown @ 4x 1.992GHz
                             GPU: Mali-G52 r1 (Panfrost)
                             RAM: 1645MiB / 7450MiB
                            
[nls@m1 ~]$ uname -a
Linux m1 6.0.2-1-MANJARO-ARM #1 SMP PREEMPT Sat Oct 15 08:40:15 UTC 2022 aarch64 GNU/Linux
[nls@m1 ~]$ 
These users thanked the author nl.smart for the post:
exceeder (Mon Oct 17, 2022 8:52 pm)
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

exceeder
Posts: 7
Joined: Fri Oct 14, 2022 6:29 am
languages_spoken: english
ODROIDs: C1, M1
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by exceeder »

Thanks, I have updated with pacman -Syu, and can confirm 6.0.2-3-MANJARO-ARM both analog RK817 and HDMI are working. Sound card is so powerful for passive 8Ω speakers, no amp is necessary for basic usage.
Despite I am using as zigbee2mqtt gateway / Home Assistant, Panfrost gpu driver also works, but unable to set up more than 1080p. Needs digging.
My current goal is get root filesystem on BTRFS :-)

Code: Select all

glmark2-es2-wayland --fullscreen
glmark2 Score: 289
Last edited by exceeder on Wed Oct 19, 2022 9:12 pm, edited 1 time in total.
These users thanked the author exceeder for the post:
nl.smart (Tue Oct 18, 2022 2:11 am)

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

exceeder, you are welcome on the Manjaro arm forum.
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

Aleksander1
Posts: 3
Joined: Wed Oct 19, 2022 8:02 pm
languages_spoken: english, polish
ODROIDs: Odroid M1
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by Aleksander1 »

Great project!

As of Linux kernel version 6.0.2-3, USB 3.0 on the bottom works perfectly now, but the top USB-3 port resets several times per second (USB3->SATA adapter).

dmesg output, if someone wants it:

Code: Select all

(... a lot of spam messages)
[  +3.239958] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
[  +1.169996] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
[  +1.319996] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
[  +4.230007] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
[  +1.200033] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
[  +0.980052] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
[  +5.389946] usb 6-1: reset SuperSpeed USB device number 3 using xhci-hcd
[  +3.429610] usb 6-1: device not accepting address 3, error -22
[  +0.669991] usb 6-1: device not accepting address 3, error -22
[  +0.450009] usb 6-1: device not accepting address 3, error -22
The same device works on all other ports, of course. I'm not sure if this is a hardware problem or not.
These users thanked the author Aleksander1 for the post:
nl.smart (Thu Oct 20, 2022 3:26 am)

exceeder
Posts: 7
Joined: Fri Oct 14, 2022 6:29 am
languages_spoken: english
ODROIDs: C1, M1
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by exceeder »

Aleksander1, I do not have trouble with both USB3 / SATA. U may try to replace your power adaptor, I have only 1A and no issues.

Code: Select all

[63541.903406] usb 6-1: new SuperSpeed USB device number 2 using xhci-hcd
[63541.935668] usb 6-1: New USB device found, idVendor=05e3, idProduct=0731, bcdDevice=90.72
[63541.935720] usb 6-1: New USB device strings: Mfr=3, Product=4, SerialNumber=5
[63541.935757] usb 6-1: Product: MYS326-3
[63541.935777] usb 6-1: Manufacturer: Genesys
[63541.935794] usb 6-1: SerialNumber: 121127001034
[63541.938587] usb-storage 6-1:1.0: USB Mass Storage device detected
[63541.940002] scsi host1: usb-storage 6-1:1.0
[63542.974851] scsi 1:0:0:0: Direct-Access              MYS326 U3        9072 PQ: 0 ANSI: 0
[63542.976189] sd 1:0:0:0: [sda] 1465149164 512-byte logical blocks: (750 GB/699 GiB)
[63542.976517] sd 1:0:0:0: [sda] Write Protect is off
[63542.976528] sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00
[63542.976825] sd 1:0:0:0: [sda] No Caching mode page found
[63542.976833] sd 1:0:0:0: [sda] Assuming drive cache: write through
[63543.007712]  sda: sda1
[63543.008196] sd 1:0:0:0: [sda] Attached SCSI disk
[63543.814749] ntfs3: Max link count 4000
[63543.814767] ntfs3: Read-only LZX/Xpress compression included
[63543.816829] ntfs3: Unknown parameter 'windows_names'
These users thanked the author exceeder for the post:
nl.smart (Thu Oct 20, 2022 3:26 am)

usual user
Posts: 134
Joined: Sat Sep 10, 2022 10:47 pm
languages_spoken: english
Has thanked: 4 times
Been thanked: 52 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by usual user »

exceeder wrote:
Mon Oct 17, 2022 9:13 pm
unable to set up more than 1080p. Needs digging.
You might notice that hantro has just moved out of staging and no rkvdec2 is available in mainline yet. So only VP8 and h264 up to 1080p until now.

Aleksander1
Posts: 3
Joined: Wed Oct 19, 2022 8:02 pm
languages_spoken: english, polish
ODROIDs: Odroid M1
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by Aleksander1 »

Are these newest Manjaro images booting? I just found out that after petitboot auto-boot, it just freezes (no HDMI output, no UART output): https://github.com/manjaro-arm/om1-imag ... /tag/22.12
Recently I had similar problem after updating Linux kernel, replacing /boot/dtbs/rockchip/xxxxx-odroid-m1 with the old one fixes the problem. Was something changed?

Aleksander1
Posts: 3
Joined: Wed Oct 19, 2022 8:02 pm
languages_spoken: english, polish
ODROIDs: Odroid M1
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by Aleksander1 »

For anyone who have the same problem after Manjaro update:
1. Download any other OS image that is not Manjaro. In this example I will download the newest minimal image (Bullseye Minimal) from Armbian and mount it
2. Copy .dtb file

Code: Select all

cp /mnt/armbian/boot/dtb-6.1.0-rk3568-odroid/rockchip/rk3568-odroid-m1.dtb \
/boot/dtbs/rockchip/rk3568-odroid-m1.dtb

3. Reboot

isi
Posts: 1
Joined: Thu Dec 29, 2022 7:01 am
languages_spoken: english, german
ODROIDs: M1
Has thanked: 0
Been thanked: 0
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by isi »

Aleksander1 wrote:
Mon Dec 26, 2022 7:30 am
Are these newest Manjaro images booting? I just found out that after petitboot auto-boot, it just freezes (no HDMI output, no UART output): https://github.com/manjaro-arm/om1-imag ... /tag/22.12
Recently I had similar problem after updating Linux kernel, replacing /boot/dtbs/rockchip/xxxxx-odroid-m1 with the old one fixes the problem. Was something changed?
I flashed an external SSD with Manjaro 22.12 and it booted with petitboot (connected via USB). But I did not test it with autoboot.

exceeder
Posts: 7
Joined: Fri Oct 14, 2022 6:29 am
languages_spoken: english
ODROIDs: C1, M1
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by exceeder »

Last releases, including 23.02 also not works for me (blue led blinking, black screen), rk3568-odroid-m1.dtb is broken somehow.
Just copy/replace with previous working version, or as someone recommends, use dtb file from another distribution.


Currently using manjaro dev 23.02 with kernel 6.2.0-1 by pillow
kernel 6.2.0-1 with SATA support, also the included dtb works:
kernel: https://overviewer.org/~pillow/up/21707 ... kg.tar.zst
headers: https://overviewer.org/~pillow/up/5131d ... kg.tar.zst

source: https://archlinuxarm.org/forum/viewtopi ... 7&start=10

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

Issue with the Manjaro odroid m1 image I built Sunday 1 October, the emmc module boot on the m1 but I read on the bottom left on screen the folowing message:

Can't open (/proc/kcore).

a few second later a second message appear

[eth0] PXE autoconfiguration failed

I don’t know how to configure petit boot, thanks in advance for your help.
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

@exceeder
The last image (December 2023) I built for the Odroid M1 is working well, thanks a lot to the dev, Enjoy !
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

User avatar
nl.smart
Posts: 45
Joined: Sat Aug 24, 2019 6:02 pm
languages_spoken: Fr, En
ODROIDs: C2, N2, C4, M1, H2+, H3+
Has thanked: 35 times
Been thanked: 12 times
Contact:

Re: Manjaro Arm Linux - Dev Edition

Post by nl.smart »

The last stable image build for the Odroid M1 is working on sd card, emmc module, ssd disc and nvme disc.

At first boot login password are root / root, reboot the M1, install with your settings, Enjoy !
If the distro that you are using works for your needs, that is the correct one.
KDE user since 2003.
Feedback from users is a part of software development.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 3 guests