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
katerX has quit [Ping timeout: 252 seconds]
katerX_ has joined #armbian-rockchip
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC> [Discord] <enok71> @amazingfate Can't find any error in the rock-5a-radxa-camera-4k overlay dts on rock 5a in 6.1. Also compared the rest of the dts to 5.10 official image dts, found nothing obviously wrong.
<DC-IRC> [Discord] <enok71> Looks to me like rkcif-mipi-lvds2 device is never created at boot as it is supposed to (no /dev/v4l-subdev4). Therefore there is no connection between rkcif and rkisp in 6.1 as there was in 5.10, and therefore no video stream can be captured through the video devices after ISP (rkisp_selfpath, rkisp_mainpath).
<DC-IRC> [Discord] <enok71> Is there an issue tracker or bug forum or something for this 6.1 vendor kernel?
<DC-IRC> [Discord] <enok71> dts for 5.10 official build 18 and 6.1 armbian vendor branch, both with rock-5a-radxa-camera-4k overlay added.
<DC-IRC> [Discord] <enok71> @amazingfate And this is the dmesg output from that rtl8192 WiFi dongle issue, which I think is a completely unrelated problem. The same dongle works fine in other systems I tried. I switched WiFi dongle to an old "ralink" model instead and the problem disappeared. Still, maybe it's an indication of some problem related to USB or dma in 6.1 on rock 5a.
<DC-IRC> [Discord] <amazingfate> rkisp is all rockchip's sdk stuff, it's better to reach radxa and let them report to rockchip.
<DC-IRC> [Discord] <enok71> Ok I'll try that, thanks.
<DC-IRC> [Discord] <amazingfate> Rtl8192 driver is mainline kernel driver of v6.1. You may try other dkms drivers. Or try armbian edge to see if this issue also happens with kernel 6.8.
<DC-IRC> [Discord] <enok71> Yes. Since the dongle works fine on all other Linux systems I have I'm guessing the rtl8192 driver is not the problem but something related to USB or something specifically on RK3588 and/or kernel 6.1. Looks like something just triggered by accident by something in this driver.
<DC-IRC> [Discord] <amazingfate> Have you tried other usb ports on board?
<DC-IRC> [Discord] <enok71> Hmm, no... 🙂
<DC-IRC> [Discord] <amazingfate> The 4 usb ports on board are from different phys.
<DC-IRC> [Discord] <enok71> Yes Will try later today, thanks again.
<DC-IRC> [Discord] <marty1938> ok, do you think the reset fix was removed lately? is it possible to do the reset when linux is booted or does the pin need to be toggled in u-boot?
<DC-IRC> [Discord] <enok71> Same crash regardless which USB-2 port I put the rtl8192 dongle in. No crash if I put it in one of the USB-3 ports.
<DC-IRC> [Discord] <amazingfate> Then it's an issue of usb2 ports.
<DC-IRC> [Discord] <enok71> The ralink WiFi dongle works just fine in those USB2 ports though. And I think the rtl8192 dongle also worked fine in those ports until recently.
<DC-IRC> [Discord] <enok71> Just to be clear: the module that works is listed as "ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter" and uses mt7601u module, while the one causing the crash is "ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter" and uses rtl8192cu module.
<DC-IRC> [Discord] <enok71> If someone comes up with a solution I can contribute with testing it. Otherwise I'll solve my own problem by either using the ralink dongle or putting the rtl8192 module in an USB3 port.
<DC-IRC> [Discord] <matthewcroughan> What CONFIG option are you suggesting to enable?
<DC-IRC> [Discord] <enok71> If someone comes up with a solution I can contribute with testing it. Otherwise I'll work around it by either using the ralink dongle or putting the rtl8192 module in an USB3 port.
<DC-IRC> [Discord] <k.s.bedford.jr> ?
<DC-IRC> [Discord] <k.s.bedford.jr> you talking for the kernel ?
<DC-IRC> [Discord] <matthewcroughan> No, I'm talking about for u-boot
<DC-IRC> [Discord] <k.s.bedford.jr> and what board/chip
<DC-IRC> [Discord] <matthewcroughan> H96 V58 MAX, which is an RK3588 based board, that I have been hacking on
<DC-IRC> [Discord] <k.s.bedford.jr> well most use the default config.
<DC-IRC> [Discord] <k.s.bedford.jr> that I know of
<DC-IRC> [Discord] <matthewcroughan> What is default in your mind?
<DC-IRC> [Discord] <matthewcroughan> evb-v10?
<DC-IRC> [Discord] <k.s.bedford.jr> looking in teh src 1 min
<DC-IRC> [Discord] <k.s.bedford.jr> its whats default in the uboot src. but not finding links to it in the code other then this
<DC-IRC> [Discord] <k.s.bedford.jr> and not shure if thes for armbian or if passed to uboot when it builds/installs
<DC-IRC> [Discord] <k.s.bedford.jr> is that a tv box ?
<DC-IRC> [Discord] <k.s.bedford.jr> what kernel src you using ?
<DC-IRC> [Discord] <matthewcroughan> collabora 6.9-rc1
<DC-IRC> [Discord] <matthewcroughan> Ignore armbian anyway, I'm working with mainline stuff
<DC-IRC> [Discord] <matthewcroughan> https://github.com/Kwiboo/u-boot-rockchip
<DC-IRC> [Discord] <matthewcroughan> I can compile u-boot against these trees, but I'm not using any vendor/non-mainline based stuff
<DC-IRC> [Discord] <matthewcroughan> Ah I see, you think I'm talking about armbian/build, the txt file doesn't really tell me anything about the u-boot defconfig
<DC-IRC> [Discord] <matthewcroughan> so what you've pointed to can't help
<DC-IRC> [Discord] <matthewcroughan> I'm talking about options like this https://github.com/Kwiboo/u-boot-rockchip/blob/rk3xxx-2024.04/configs/rock5a-rk3588s_defconfig#L56
<DC-IRC> [Discord] <matthewcroughan> Because yesterday, this message from kwiboo has me wondering what `CONFIG_` option in the u-boot defconfig I need to set to get ethernet working like described, since apparently u-boot need to configure some pins first before the Linux kernel gets access
<DC-IRC> [Discord] <matthewcroughan> Maybe it's the config option for this combophy thing https://qemu.googlesource.com/u-boot/+/82220526ac9887c39d2d5caa567a20378b3122b7
<DC-IRC> [Discord] <matthewcroughan> Since QSGMII CTRL is involved..
<DC-IRC> [Discord] <mariob> Have a look at rock-5a
<DC-IRC> [Discord] <matthewcroughan> @mariob https://termbin.com/xhv8
<DC-IRC> [Discord] <mariob> And your actual dtb at the same time, you need to get the reset-gpios right and rx/tx delays (+ phy-mode)
<DC-IRC> [Discord] <matthewcroughan> here's the decompiled device tree for the running board
<DC-IRC> [Discord] <matthewcroughan> from /proc/device-tree
<DC-IRC> [Discord] <matthewcroughan> it looks like gmac0 isn't even enabled, only gmac1
<DC-IRC> [Discord] <mariob> And your actual dtb at the same time, you need to get the reset-gpios right and rx/tx delays (+ phy-mode) right
<DC-IRC> [Discord] <matthewcroughan> and the tx-delay is slightly different
<DC-IRC> [Discord] <matthewcroughan> so I think this board is quite unique in some values
<DC-IRC> [Discord] <k.s.bedford.jr> so your using nicos and not armbian
<DC-IRC> [Discord] <k.s.bedford.jr> ok
<DC-IRC> [Discord] <enok71> I tried the problematic WiFi dongle in the USB2 port with collabora branch kernel 6.9rc1, and there is no crash.
<DC-IRC> [Discord] <mecoblock> the name makes no sense the price is nice. Too bad it’s RK3588s so it’s nvme it’s 2.0x1
<DC-IRC> [Discord] <efectn> I'm waiting for Orange pi 5 Premium LTS
<DC-IRC> [Discord] <Werner> naming scheme of xunlong was never meaningful or reasonable
<DC-IRC> [Discord] <lanefu> should just been Orange Pi 5 Sahara Edition.
<DC-IRC> [Discord] <efectn> It sounds like upstream USB3 PHY of RK3588 has some issues with several USB hubs. I get `Cannot enable. Maybe the USB cable is bad?` spam in dmesg even though the hub and usbs work
<DC-IRC> [Discord] <efectn> There is no problem with USB2
<DC-IRC> [Discord] <shivansps> I hear that a "Max" version is coming next with a RK3588 instead
<DC-IRC> [Discord] <shivansps> They should launch a Orange PI 5 Lottery with a RK3582
<DC-IRC> [Discord] <shivansps> in all seriusness, if Radxa did it it is just a matter of time
<DC-IRC> [Discord] <Tonymac32> Sigh can we just build a good board and support it? Just once?
<DC-IRC> [Discord] <Tonymac32> "quick make a new one to distract everyone from our last "effort"
<DC-IRC> [Discord] <Tonymac32> Le sigh
<DC-IRC> [Discord] <monkablyat> Great, for some reason I'm thinking about that Triple H WWE song now RIP
katerX_ has quit [Ping timeout: 272 seconds]
katerX has joined #armbian-rockchip