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> Dear @microlinux I have put an effort in one of your build for Opi3b & after some modifications my hardware components are all 100% working for Opi3b v2.1. Perhaps the included `dts` can help you as well. I request you do please share **header** files for this image. It will greatly help me & my students. https://github.com/defencedog/orangepi3b_v2.1/tree/main/joshua_Armbian_Ora <clipped message>
<DC-IRC> [Discord] <ioncube7221> ngepi3b_jammy_edge_6.6.4
<DC-IRC> [Discord] <microlinux> Dear @ioncube7221 , I do not maintain ubuntu rockchip nor opi 3b armbian, the armbian developers do.
<DC-IRC> [Discord] <microlinux> I love the board tho. I will make content about it, but it's all thanks to the armbian devs and community, not me.
<DC-IRC> [Discord] <microlinux> I don't think I will receive the 2.1v of the board bc opi doesn't like my opinions
<DC-IRC> [Discord] <microlinux> I've always tried to help them, they don't want to succeed it seems.
<DC-IRC> [Discord] <microlinux> But I am not a developer. I am just a user like you.
<DC-IRC> [Discord] <microlinux> Armbian machinery requires money, and opi seems to not being cooperating with such and they not even took the effort on copying what armbian devs did for the opi 3b.
<DC-IRC> [Discord] <microlinux> It's not even about money, they have severe problems on their official linux builds. They won't fix them
<DC-IRC> [Discord] <ioncube7221> @microlinux because this img you made (extremely thanks for that) I was hoping you have build configs & can provide header files. Thus we can deploy our little chemical engineering experiments on it
<DC-IRC> [Discord] <microlinux> I am not interested on doing so, sorry! Armbian has releases for opi 3b now, it wasn't the case back then.
<DC-IRC> [Discord] <microlinux> I will not stub armbian in their back providing images based on others people work.
<DC-IRC> [Discord] <ioncube7221> @microlinux I have tried all latest releases of Opi3b from Armbian they don't even boot https://github.com/armbian/linux-rockchip/issues/228#issuecomment-2311401869. The only working image that I have & is not now available for download is `Armbian_community_24.8.0-trunk.495_Orangepi3b_noble_edge_6.10.2_gnome_desktop.img.xz`
<DC-IRC> [Discord] <microlinux> What we should do is to make changes on armbian itself. We need someone experienced with anaconda or calamares to make armbian a bit more appealing s desktop linux framework
<DC-IRC> [Discord] <microlinux> I will test that down the road, but 6.10 is edge
<DC-IRC> [Discord] <microlinux> You should try an stable kernel
<DC-IRC> [Discord] <microlinux> And freeze it
<DC-IRC> [Discord] <microlinux> I freeze my images right from the builder
<DC-IRC> [Discord] <microlinux> So, there are no kernel upgrades
<DC-IRC> [Discord] <microlinux> So far, I am on kernel 6.9 and works fine
<DC-IRC> [Discord] <aldmin1> hello everyone! i have a console named "Anbernic RG552", it haves a RK3399 CPU and Mali-T860. i want to build my own system with UBoot for the console and Mali-T860 drivers
<DC-IRC> [Discord] <aldmin1> how do i pack in drivers and UBoot?
<DC-IRC> [Discord] <Werner> Patches to uboot can be added here: https://github.com/armbian/build/tree/main/patch
<DC-IRC> [Discord] <Werner> Here is an example how to add an out of tree driver to the kernel source before compile: https://github.com/armbian/build/blob/422e91b24012889342a8438d950bc9bf04cdc49c/lib/functions/compilation/patch/drivers_network.sh
<DC-IRC> [Discord] <aldmin1> alright, i'll try. thanks!
<DC-IRC> [Discord] <aldmin1> this is my first ever OS compilation, i dont know anything. i have no idea how to add drivers, barely know how to compile an OS
<DC-IRC> [Discord] <moorenix> hey y'all, I run a rockpi-E as a wireguard vpn server and noticed that a dependency for `wireguard` package is the `linux-image-arm64-16k:arm64` kernel. But after it installed the dependency I checked the symlinks in `/boot` and noticed the `uInitrd` symlink pointed to the `6.10.6` ramdisk but the `Image` and `dtb` symlinks were still pointed to the `6.1.63` versions. I didn't re <clipped message>
<DC-IRC> [Discord] <moorenix> boot in that configuration because I'm not home and couldn't recover if it failed to boot so I manually updated the `uInitrd` symlink to the `6.1.63` version.
<DC-IRC> [Discord] <moorenix> - Why does `wireguard` have the dependency for this kernel? In past I also noticed that this package had a dependency for the real-time kernel 🤷‍♂️
<DC-IRC> [Discord] <moorenix> - Would the system have booted if I didn't update the `uInitrd` symlink to the matching kernel?
<DC-IRC> [Discord] <igorpec> that is broken wireguard dependency. you don't need to install that as WG modules is build into all kernels
<DC-IRC> [Discord] <igorpec> wireguard package is maintained by debian ...
<DC-IRC> [Discord] <igorpec> reinstall armbian kernel before rebooting as debian kernels might not even boot
<DC-IRC> [Discord] <moorenix> ah okay, `6.10.6+bpo-arm64-16k` is a debian kernel and `6.1.63-current-rockchip64` is an armbian kernel?
<DC-IRC> [Discord] <moorenix> thanks dude!
<DC-IRC> [Discord] <moorenix> oh weird, i just found the armbian apt source was disabled 🤔 weird, not sure why I did that lol
<DC-IRC> [Discord] <beohoff3174> has anyone done any gpu monitoring?
<DC-IRC> [Discord] <beohoff3174> I'm looking in `/sys/devices/platform/fb000.gpu` directory for a file like `load` or `utlization` that I can monitor and am not seeing one
<DC-IRC> [Discord] <beohoff3174> was just going to use cat & watch to spit something out to the terminal
<DC-IRC> [Discord] <beohoff3174> My google fu suggests this repo?
<DC-IRC> [Discord] <beohoff3174> https://github.com/ARM-software/gator
<DC-IRC> [Discord] <superkali> All you can debug is present here /sys/kernel/debug/
<DC-IRC> [Discord] <beohoff3174> interesting, looks like there is some more data in there, but I was naively hopping to just keep an eye on the total utilization, which doesn't jump out and bite me
<DC-IRC> [Discord] <beohoff3174> I was surprised that it looks like the gpu is clocked at it's lowest frequency setting, but I know very little about gpu utilization in linux
<DC-IRC> [Discord] <superkali> usually i use cat /sys/kernel/debug/rkrga/load for check VPU
<DC-IRC> [Discord] <superkali> idk if this can be useful for you
<DC-IRC> [Discord] <beohoff3174> yeah, very interesting. Are you running the vendor bsp? I went hunting for the load to check the VPU, and I don't see that file
<DC-IRC> [Discord] <superkali> currently yes, i'm working on kernel 6.1, after complete the dts i will revisit all code and trying to push it on LTS kernel.
<DC-IRC> [Discord] <superkali> what kernel are you using?
<DC-IRC> [Discord] <beohoff3174> I have a 6.10 version I'm developing on now
<DC-IRC> [Discord] <superkali> maybe you've to install gpu drivers
<DC-IRC> [Discord] <superkali> in this case you've to try install gpu drivers
<DC-IRC> [Discord] <beohoff3174> I'm going to start trying to compress video actually, a bit nervous I need to drop back to 6.1
<DC-IRC> [Discord] <superkali> idk if debug is enabled on 6.10 for gpu
<DC-IRC> [Discord] <superkali> idk if debug is enabled on 6.10 for vpu
<DC-IRC> [Discord] <superkali> i will check it too soon
<DC-IRC> [Discord] <beohoff3174> I've self compiled Mali, which seems to be working. I don't know that I did anything to install the drivers
<DC-IRC> [Discord] <beohoff3174> I want to say that it's in the armbian script though
<DC-IRC> [Discord] <superkali> you speak about mesa-vpu?
<DC-IRC> [Discord] <superkali> you're speak about mesa-vpu?
<DC-IRC> [Discord] <beohoff3174> oh sorry, yes I self compiled mesa
<DC-IRC> [Discord] <superkali> on /lib/firmware/ you've the binary of mali=
<DC-IRC> [Discord] <superkali> on /lib/firmware/ you've the binary of mali?
<DC-IRC> [Discord] <beohoff3174> ```
<DC-IRC> [Discord] <beohoff3174> ./arm/mali
<DC-IRC> [Discord] <beohoff3174> ./arm/mali/arch10.8
<DC-IRC> [Discord] <beohoff3174> ./arm/mali/arch10.8/mali_csffw.bin
<DC-IRC> [Discord] <beohoff3174> ```
<DC-IRC> [Discord] <beohoff3174> in /lib/firmware
<DC-IRC> [Discord] <beohoff3174> I don't have those mali_csffw_g* files
<DC-IRC> [Discord] <superkali> not necessary
<DC-IRC> [Discord] <superkali> i will check as i told you on my board when i'm free
<DC-IRC> [Discord] <superkali> but i think debug is disabled on kernel 6.10
<DC-IRC> [Discord] <beohoff3174> I self compiled the kernel and enabled debug
<DC-IRC> [Discord] <beohoff3174> *assuming I'm understanding what you are saying.
<DC-IRC> [Discord] <beohoff3174> the mali binary I have is `/usr/lib/firmware/arm/mali/arch10.8/mali_csffw.bin`
<DC-IRC> [Discord] <superkali> not properly check out /lib/firmware
<DC-IRC> [Discord] <superkali> check if it a symlink
<DC-IRC> [Discord] <beohoff3174> there isn't a symlink in `/lib/firmware`
<DC-IRC> [Discord] <beohoff3174> `ls -l /usr/lib/firmware/arm/mali/arch10.8/mali_csffw.bin` gives:
<DC-IRC> [Discord] <beohoff3174> `-rw-rw-r-- 1 root root 274432 Jun 26 08:44 /usr/lib/firmware/arm/mali/arch10.8/mali_csffw.bin`
<DC-IRC> [Discord] <beohoff3174> there isn't a symlink in `/lib/firmware` to the mali binary.
<DC-IRC> [Discord] <beohoff3174> `ls -l /usr/lib/firmware/arm/mali/arch10.8/mali_csffw.bin` gives:
<DC-IRC> [Discord] <beohoff3174> `-rw-rw-r-- 1 root root 274432 Jun 26 08:44 /usr/lib/firmware/arm/mali/arch10.8/mali_csffw.bin`
<DC-IRC> [Discord] <trinitylightforce> hi
acari has joined #armbian-rockchip
acari has quit [Quit: Leaving]
<DC-IRC> [Discord] <microlinux> Why? Why not panfrost?
<DC-IRC> [Discord] <microlinux> If uboot, I would recommend to bump the ram frequency to 1866 MT/s
<DC-IRC> [Discord] <ioncube7221> Dear @microlinux how can I increase RAM / CPU speed on RK3566 ...using `armbian-config` or otherwise
<DC-IRC> [Discord] <ioncube7221> Any settings I have to modify in boot file?
<DC-IRC> [Discord] <microlinux> Ram speed is only achievable from uboot. And I would not attempt it on rk3566
<DC-IRC> [Discord] <microlinux> Cpu is easier, you can unpack de dtb and add another opp table for 2.0 ghz
<DC-IRC> [Discord] <microlinux> I will pm you
<DC-IRC> [Discord] <ioncube7221> Extremely thanks
acari has joined #armbian-rockchip
acari has quit [Client Quit]
acari has joined #armbian-rockchip
acari has quit [Remote host closed the connection]
<DC-IRC> [Discord] <aldmin1> Oh yes, ive heard about panfrost, and more likely im gonna use it because i cant download the T860 driver from developer.arm.com
<DC-IRC> [Discord] <microlinux> Panfrost is the official linux driver
<DC-IRC> [Discord] <microlinux> For mali
<DC-IRC> [Discord] <microlinux> Do not use the blobs
<DC-IRC> [Discord] <microlinux> They suck hard
<DC-IRC> [Discord] <aldmin1> Alright
<DC-IRC> [Discord] <aldmin1> Im still unsure about what i am doing, i dont know how to pack in drivers and i need a tutorial
<DC-IRC> [Discord] <microlinux> Let me pm you
<DC-IRC> [Discord] <aldmin1> What is pm?
<DC-IRC> [Discord] <microlinux> Private message
<DC-IRC> [Discord] <aldmin1> Ok