lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
<DC-IRC>
[Discord] <ioncube7221> Any step by step guidelines to compile Mali-Bitfrost G52 for RK3566 OrangePi 3b? I have panfrost enable in my `X11 gnome` but I cannot find `/dev/mali`
<DC-IRC>
[Discord] <beohoff3174> Isn't panfrost a driver? You'd expect to see it in lsmod, not in `/dev`, right?
<DC-IRC>
[Discord] <microlinux> Panfrost just works
<DC-IRC>
[Discord] <microlinux> Check glxinfo -B, mesa-utils the package
<DC-IRC>
[Discord] <beohoff3174> Hey how do you include the linux headers when building the image from scratch? Or do I need to install them using a package
<DC-IRC>
[Discord] <beohoff3174> or maybe a better way to ask this question is, is there an issues installing the developmental headers using apt if I'm on linux 6.1.0.3
<DC-IRC>
[Discord] <beohoff3174> Nevermind, figured out that the kernel headers can be found at `build/output/debs`
<DC-IRC>
[Discord] <igorpec> there is a switch KERNEL_HEADERS = yes or something
<DC-IRC>
[Discord] <beohoff3174> armbian-config will install outdated headers, not sure if that's known or intended. I might be in the minority of folks compiling their own image
<DC-IRC>
[Discord] <beohoff3174> thank you for the pointers though!
<DC-IRC>
[Discord] <igorpec> If you build from sources you ha ve different kernel then repo have
<DC-IRC>
[Discord] <alexl83> Dear Friends, I'm trying to enable KASLR on rockchip-rk3588 orangepi5-plus on edge 6.10 kernel, so far I have:
<DC-IRC>
[Discord] <alexl83> CONFIG_RANDOMIZE_BASE=y in kernel .config
<DC-IRC>
[Discord] <alexl83> CONFIG_CMD_KASLRSEED=y in uboot config
<DC-IRC>
[Discord] <alexl83> CONFIG_DM_RNG=y in uboot config
<DC-IRC>
[Discord] <lanefu> Nope but it's cool you're working on it 🤠
<DC-IRC>
[Discord] <alexl83> Thanks 🙏 trying to wrap my head around this: do we have any KASLR-supported board? If so I can dissect here and there to try and understand
<DC-IRC>
[Discord] <beohoff3174> I wish I could, I don't have much experience with the vendor kernel
<DC-IRC>
[Discord] <alexl83> As strange as it sounds, mainline u-boot 2024.07 lacks kaslr-seed node creation support - I could only find in 2024.10-rcX and master
<DC-IRC>
[Discord] <Werner> Well then there are two options: try to backport to 07 or play with the 10-rc 😄
<DC-IRC>
[Discord] <alexl83> I found a patchseries - it's been merged in june/24 - just need to understand how to pull it off from a web-based mailing list
<DC-IRC>
[Discord] <alexl83> will try applying to 2024.07
<DC-IRC>
[Discord] <alexl83> ok downloading was easy, comfy download button on webpage - now rummaging to see if it compiles and runs
<DC-IRC>
[Discord] <Werner> dealing with patches can be a huge pain..if you don't know what you are doing...like me 😅
<DC-IRC>
[Discord] <alexl83> it's a pain in the ass, but a nice hobby
<DC-IRC>
[Discord] <alexl83> ok I'm an idiot: does anyone know how to apply a patchwork series format patch OR convert it to something poor sloppy coders like me can use with armbian framework?
<DC-IRC>
[Discord] <alexl83> done with a lame git hack and it applies and compiles! now let's test it
<DC-IRC>
[Discord] <beohoff3174> What did you end up doing, `git apply`?
<DC-IRC>
[Discord] <alexl83> No, applied 4 diffs, then git patch
<DC-IRC>
[Discord] <alexl83> It compiles doesn’t work
<DC-IRC>
[Discord] <alexl83> Tomorrow will dig deeper
<DC-IRC>
[Discord] <alexl83> No, applied 4 diffs, then git diff
<DC-IRC>
[Discord] <alexl83> now I'll try backporting to 2024.07 and see if it works
<DC-IRC>
[Discord] <alexl83> then will check the-going PR, hpefully it'll help
<DC-IRC>
[Discord] <alexl83> can't find the pr but I'm sure I saw it yday
<DC-IRC>
[Discord] <alexl83> it's been merged - I think platform-install.sh might need some patching too though
<DC-IRC>
[Discord] <alexl83> it's been merged
<DC-IRC>
[Discord] <alexl83> backporting works: 2024.07 with KASLR - will commit a pr tomorrow
<DC-IRC>
[Discord] <alexl83> PR committed - I'm testing the same for nanopi-r5c it'a bit more invasive but if works i'll push - then code owner will decide
<DC-IRC>
[Discord] <beohoff3174> How did you figure this out, out of curosity?
<DC-IRC>
[Discord] <alexl83> cat /proc/device-tree/chosen/u-boot,version output was giving out old version