Rock 5 Slarm64 (aarch64 unofficial slackware)

installation README.TXT
kernel 6.5.0-rc6

slarm64-current-aarch64-core-rock_5b-6.5.0-rc6-build-20230814.img.zst
slarm64-current-aarch64-core-rock_5b-6.5.0-rc6-build-20230814.img.zst.sha256
slarm64-current-aarch64-server-rock_5b-6.5.0-rc6-build-20230814.img.zst
slarm64-current-aarch64-server-rock_5b-6.5.0-rc6-build-20230814.img.zst.sha256
slarm64-current-aarch64-xfce-rock_5b-6.5.0-rc6-build-20230814.img.zst
slarm64-current-aarch64-xfce-rock_5b-6.5.0-rc6-build-20230814.img.zst.sha256

Dear Mara,

thank you very much for your builds, but I could not boot.
Is there anything special that we must do?

Regards,

Hi @darkstar

you need to look at the output on the debug console, today I checked it on another board, it also does not load.

installation README.TXT
kernel 6.6.0-rc6

slarm64-current-aarch64-core-rock_5b-6.6.0-rc6-build-20231019.img.zst
slarm64-current-aarch64-core-rock_5b-6.6.0-rc6-build-20231019.img.zst.sha256
slarm64-current-aarch64-server-rock_5b-6.6.0-rc6-build-20231019.img.zst
slarm64-current-aarch64-server-rock_5b-6.6.0-rc6-build-20231019.img.zst.sha256
slarm64-current-aarch64-xfce-rock_5b-6.6.0-rc6-build-20231019.img.zst
slarm64-current-aarch64-xfce-rock_5b-6.6.0-rc6-build-20231019.img.zst.sha256

2 Likes

Thanks very much for this! The slarm64 project has been super helpful (thanks to your RISC-V support, I managed to produce an image that boots on the DevTerm)! So I was very excited to see a version available for the Rock5b.

It boots fine and I can ssh to it (if I tail the DHCP logs to find out what it gets assigned), but I seem to be having trouble with video using this image. No video, no /dev/fb*, and startx (predictably) can’t find a video device. Is the official kernel missing some drivers?

# dmesg | grep -iE 'video|frame.?buffer|vpu|fb|gpu'
[    0.000000]   node   0: [mem 0x0000000100000000-0x00000003fbffffff]
[   14.395170] videodev: Linux video capture interface: v2.00
[   14.526113] hantro-vpu fdc70000.av1d: registered rockchip,rk3588-av1-vpu-dec as /dev/video0
[   33.761189] vdd_gpu_s0: disabling
root@rock-5b:~# dmesg | grep -C3 -iE 'video|frame.?buffer|vpu|fb|gpu'
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000efffffff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x00000003fbffffff]
[    0.000000]   node   0: [mem 0x00000003fc500000-0x00000003ffefffff]
[    0.000000]   node   0: [mem 0x00000004f0000000-0x00000004ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000004ffffffff]
--
[   13.566476] EXT4-fs (mmcblk1p2): mounted filesystem 32539e08-a5c0-4084-9f32-0932043d95e3 ro without journal. Quota mode: none.
[   14.206440] udevd[543]: starting eudev-3.2.14
[   14.358235] mc: Linux media interface: v0.10
[   14.395170] videodev: Linux video capture interface: v2.00
[   14.417442] r8169 0004:41:00.0: enabling device (0000 -> 0003)
[   14.441765] r8169 0004:41:00.0 eth0: RTL8125B, 00:e0:4c:68:00:fc, XID 641, IRQ 103
[   14.441775] r8169 0004:41:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
--
[   14.470723] rockchip-dw-pcie a40000000.pcie:      MEM 0x00f0200000..0x00f0ffffff -> 0x00f0200000
[   14.470729] rockchip-dw-pcie a40000000.pcie:      MEM 0x0900000000..0x093fffffff -> 0x0040000000
[   14.481749] rockchip-dw-pcie a40000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[   14.526113] hantro-vpu fdc70000.av1d: registered rockchip,rk3588-av1-vpu-dec as /dev/video0
[   14.557767] input: rk3588-es8316 Headphones as /devices/platform/analog-sound/sound/card0/input2
[   14.831049] device-mapper: uevent: version 1.0.3
[   14.831184] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com
--
[   17.301120] RTL8226B_RTL8221B 2.5Gbps PHY r8169-4-4100:00: attached PHY driver (mii_bus:phy_addr=r8169-4-4100:00, irq=MAC)
[   17.473361] r8169 0004:41:00.0 eth0: Link is Down
[   20.488477] r8169 0004:41:00.0 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   33.761189] vdd_gpu_s0: disabling
[   34.739946] Adding 131068k swap on /swap.  Priority:-2 extents:3 across:54689792k SS
[   34.753954] dw-apb-uart feb50000.serial: forbid DMA for kernel console
[ 1320.123375] usb 5-1: new full-speed USB device number 2 using ohci-platform

Out of desperation, I even tried the XFCE image (which apparently has neither vi nor ed): no luck, same results. Any ideas?

updated kernel, new images irradium

1 Like

Very cool! Will dd it today and give results in the other thread. Funny coincidence you’re doing CRUX, right after I did the Slackware image for DevTerm, I started on getting a CRUX image to boot (It works great but I have to do some cleanup: https://forum.clockworkpi.com/t/crux-for-devterm-a06-dev-notes/11879/5 ) and was thinking, since they are both Rockchips so I could have the Rock5b do the heavy lifting for builds (4GB of RAM required some unsavory hacks to get things like qt6 to build) but thought it’d be easier to start with Slackware. This makes it a little easier. Thanks for your efforts!