Radxa Rock 5 Model B

Ask questions about Arch Linux ARM. Please search before making a new topic.

Radxa Rock 5 Model B

Postby AaronVB » Fri Nov 04, 2022 7:52 pm

Any chance we can get Arch running on the Rock5B?

It's using a Rockchip RK3588, here's an overview: https://wiki.radxa.com/Rock5
I have one and i can provide command outputs if that helps. I've already uploaded some info to https://uraniumhexafluori.de/rock5b/
It's currently running their provided Ubuntu Image from https://github.com/radxa/debos-radxa/releases/download/20221031-1045/rock-5b-ubuntu-focal-server-arm64-20221031-1328-gpt.img.xz

Sorry if this is the wrong subforum btw ^^
AaronVB
 
Posts: 5
Joined: Fri Nov 04, 2022 7:23 pm

Re: Radxa Rock 5 Model B

Postby moonman » Sat Nov 05, 2022 1:28 am

Grab the ubuntu kernel, and replace the one in multi-platform tarball (make sure to remove the package with pacman), and you will have archlinux arm on your device. Until one of the core developers has one of these it won't be officially supported, unfortunately.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Radxa Rock 5 Model B

Postby etienne » Wed Nov 16, 2022 9:48 pm

Also looking forward to get a working build of arch linux arm for this board. Any updates on this?
I currently have the device but not really experienced in kernel building so not sure how much work it requires
etienne
 
Posts: 1
Joined: Wed Nov 16, 2022 9:36 pm

Re: Radxa Rock 5 Model B

Postby khamon » Thu Nov 17, 2022 3:51 pm

I am also looking into this. I have no experience building this at all, and at the moment I am following as a base https://archlinuxarm.org/platforms/armv8/rockchip/rock64

I have already prepared the u-boot as specified in here: https://wiki.radxa.com/Rock5/guide/build-u-boot-on-5b; what I have not so clear if I can use the "compiled" kernel image from the current debian:

$this->bbcode_second_pass_code('', '
/boot $ ls -la
total 60588
drwxr-xr-x 4 root root 4096 Jan 1 1970 .
drwxr-xr-x 19 root root 4096 Nov 16 18:37 ..
-rwxr-xr-x 1 root root 6939247 Oct 24 08:25 System.map-5.10.66-27-rockchip-gea60d388902d
-rwxr-xr-x 1 root root 208204 Oct 24 08:25 config-5.10.66-27-rockchip-gea60d388902d
-rwxr-xr-x 1 root root 618 Oct 31 15:57 config.txt
drwxr-xr-x 3 root root 4096 Oct 31 13:40 dtbs
drwxr-xr-x 2 root root 4096 Oct 31 13:40 extlinux
-rwxr-xr-x 1 root root 25227813 Oct 31 15:51 initrd.img-5.10.66-27-rockchip-gea60d388902d
-rwxr-xr-x 1 root root 29635072 Oct 24 08:25 vmlinuz-5.10.66-27-rockchip-gea60d388902d')

or if I would need to recompile it somehow, just I am not sure how to proceed, if I should use the linux-lts510 and try there or if I would need to do something different...?


Edit: Also I saw this.... maybe I can use these: https://wiki.radxa.com/Rock5/guide/build-kernel-on-5b
khamon
 
Posts: 6
Joined: Thu Nov 17, 2022 1:23 am

Re: Radxa Rock 5 Model B

Postby sehraf » Sun Nov 20, 2022 12:29 pm

moonman basically said it all.
You need uboot+kernel (with modules) and the arch rootfs.

What i did:

It should be noted that the kernel is 5.10 and that the radxa images lack some features like btrfs. There is no mainline support at the moment. Also my m.2 WiFi adapter is not working (it is detected though)

I highly recommend an UART adapter (they use 1500000 baud) for debugging.
If anything of the points above is unclear you might want to wait for official support.

------------------------------------

$this->bbcode_second_pass_quote('khamon', 'w')hat I have not so clear if I can use the "compiled" kernel image from the current debian:


Yes, you can use it (or any other kernel you might find on discord).
Last edited by sehraf on Wed Nov 30, 2022 7:22 pm, edited 1 time in total.
sehraf
 
Posts: 79
Joined: Mon Feb 03, 2014 10:06 pm

Re: Radxa Rock 5 Model B

Postby khamon » Mon Nov 21, 2022 11:52 am

Wow, thanks very much for the detailed info, so I may have a try :) it looks fun :)
khamon
 
Posts: 6
Joined: Thu Nov 17, 2022 1:23 am

Re: Radxa Rock 5 Model B

Postby sehraf » Mon Nov 21, 2022 6:13 pm

no problem!

I just saw that i forgot to mention to copy the kernel modules back into arch :?
(It will probably boot fine without the modules but then some things won't work)
sehraf
 
Posts: 79
Joined: Mon Feb 03, 2014 10:06 pm

Re: Radxa Rock 5 Model B

Postby khamon » Fri Nov 25, 2022 12:22 am

Sorry I've been out for a couple of days so I had no time to have a look to this, but tomorrow I may check it, I'm just wondering how it works with the pacman if I copy myself the linux-image + headers how pacman will know that there is some kernel image and headers installed? This is something I am not sure if I would need to do something with the pacman itself or somehow create a package for the kernel image and the headers? uhmmm :? :? :?
khamon
 
Posts: 6
Joined: Thu Nov 17, 2022 1:23 am

Re: Radxa Rock 5 Model B

Postby khamon » Fri Nov 25, 2022 12:23 am

Sorry I've been out for a couple of days so I had no time to have a look to this, but tomorrow I may check it, I'm just wondering how it works with the pacman if I copy myself the linux-image + headers how pacman will know that there is some kernel image and headers installed? This is something I am not sure if I would need to do something with the pacman itself or somehow create a package for the kernel image and the headers? uhmmm :? :? :?
khamon
 
Posts: 6
Joined: Thu Nov 17, 2022 1:23 am

Re: Radxa Rock 5 Model B

Postby AaronVB » Fri Nov 25, 2022 12:25 am

I'm no expert but I think it won't update the kernel because it's not a package in any repo
AaronVB
 
Posts: 5
Joined: Fri Nov 04, 2022 7:23 pm

Next

Return to User Questions

Who is online

Users browsing this forum: No registered users and 16 guests