mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
naoki has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
franoosh has quit [Read error: Connection reset by peer]
erg_ has joined #linux-rockchip
hanetzer has quit [Ping timeout: 248 seconds]
hanetzer has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 245 seconds]
hexdump0815 has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 248 seconds]
matthias_bgg has joined #linux-rockchip
System_Error has quit [Ping timeout: 264 seconds]
System_Error has joined #linux-rockchip
hanetzer has quit [Ping timeout: 252 seconds]
hanetzer has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
mripard has joined #linux-rockchip
raster has joined #linux-rockchip
cbeznea has joined #linux-rockchip
naoki has quit [Ping timeout: 276 seconds]
eballetbo has joined #linux-rockchip
ldevulder has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
<warpme> guys: i'm adding support for rk3576 in my appliance. 6.15 mainline seems well supporting this soc (with some patches i got sd, usb, eth, hdmi, audio, gpu) working well. I'm trying now with Detlev vdpu383 decoder code but with this board hangs. So now i want to: first cleanup boot without vdpu383 then try vdpu383 again. So - when cleaning boot - in dmesg have issue with rockchchip-pm-domain like this: https://termbin.com/grqq I'm not sure how to
<warpme> fix this. Any hints here?
hanetzer has quit [Ping timeout: 252 seconds]
jaganteki has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaganteki has quit [Ping timeout: 240 seconds]
System_Error has joined #linux-rockchip
franoosh has joined #linux-rockchip
erg_ has quit [Ping timeout: 248 seconds]
warpme has joined #linux-rockchip
jaganteki has joined #linux-rockchip
jaganteki has quit [Quit: Client closed]
naoki has joined #linux-rockchip
<mmind00> macromorgan: detlevc has done that back in 2024: https://lore.kernel.org/dri-devel/20241115162120.83990-1-detlev.casanova@collabora.com/
<mmind00> macromorgan: if I interpret past mails correctly, we're hanging on https://lore.kernel.org/dri-devel/3346283.VqM8IeB0Os@diego/
naoki has quit [Quit: naoki]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
jaganteki has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TahomaSoft has quit [Quit: Konversation terminated!]
warpme has joined #linux-rockchip
<CounterPillow> >Debian GNU/Linux 13 fratti-rock2a ttyS0
<CounterPillow> there we go, that was surprisingly easy once I found the right patches \o/
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<CounterPillow> does anyone have the RK3528 TRM?
warpme has joined #linux-rockchip
jaganteki has quit [Quit: Client closed]
<macromorgan> okay cool, thanks Heiko
<CounterPillow> Kwiboo: ok, hwrng driver on rk3528 will need some adjustments. Right now half the trng registers it's reading are 0. I'll need to look into whether that's something we can enumerate in hardware or whether the driver needs to handle the new DT compatible. reg 0x0, 0x4, 0x8 and 0xc all read as 0 for me at the moment so if there's some hardware config stuff stored there I can't get at it seemingly, but that may be clock/power related
<CounterPillow> maybe?
user21 has joined #linux-rockchip
<user21> hi, questions on getting the network to work on the rk3888, kernel is 6.14 CONFIG_PHYLIB=y
<user21> CONFIG_DWMAC_ROCKCHIP=y
<user21> CONFIG_REALTEK_PHY=y
<user21> CONFIG_DWMAC_GENERIC=y
<user21> CONFIG_NET_VENDOR_REALTEK=y
<user21> CONFIG_WLAN_VENDOR_REALTEK=y
user21 has quit [Remote host closed the connection]
user21 has joined #linux-rockchip
steev has quit [Ping timeout: 252 seconds]
eballetbo has quit [Ping timeout: 272 seconds]
steev has joined #linux-rockchip
<phh> rk3888 is fire *_*
<qschulz> user21: port the device tree to 6.14 for starters
<user21> I see the eth0 interface but there it refuses to get configured with dhclient
<qschulz> make it pass the CHECK_DTBS=y check
<user21> I did
<user21> ah 1 sec
psydroid has quit [Ping timeout: 252 seconds]
psydroid has joined #linux-rockchip
arnd has quit [Ping timeout: 272 seconds]
lvrp16 has quit [Ping timeout: 252 seconds]
ndufresne has quit [Ping timeout: 272 seconds]
eballetbo has joined #linux-rockchip
tortoise has quit [Ping timeout: 252 seconds]
daniels has quit [Ping timeout: 252 seconds]
Tartarus has quit [Ping timeout: 272 seconds]
norris has quit [Ping timeout: 272 seconds]
lvrp16 has joined #linux-rockchip
arnd has joined #linux-rockchip
smaeul_ has joined #linux-rockchip
smaeul has quit [Ping timeout: 276 seconds]
norris has joined #linux-rockchip
Tartarus has joined #linux-rockchip
kilobyte_ch has quit [Ping timeout: 272 seconds]
tortoise has joined #linux-rockchip
mriesch has quit [Ping timeout: 248 seconds]
mriesch has joined #linux-rockchip
kilobyte_ch has joined #linux-rockchip
daniels has joined #linux-rockchip
ndufresne has joined #linux-rockchip
dsimic has quit [Ping timeout: 265 seconds]
dsimic has joined #linux-rockchip
<user21> I do see this in the dmesg: "rk_gmac-dwmac fe1c0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0"
<user21> and the eth0 shows in the list, but how do I tell what is missing ?
<user21> the driver seems to be "rtl8211fs", suspecting this one is in the kernel already
<qschulz> user21: what's providing the clock to the PHY? if it's coming from a pin on the SoC, you may be missing some pinctrl maybe (we have eth0_pins on Jaguar for example_
<qschulz> then check also which driver is supposed to match the ID of your PHY and make sure it's built
<qschulz> check also your reset gpio for the PHY is muxed into a GPIO and not something else
<user21> I got this in the dmesg: "rk_gmac-dwmac fe1c0000.ethernet eth0: PHY [stmmac-0:01] driver [RTL8211F Gigabit Ethernet] (irq=POLL)"
<user21> let check the gpio stuff
<qschulz> seems reasonable then
<qschulz> do you get a link at least?
<qschulz> (see LEDs and or whatever ip-utils/ethtool reports)
<qschulz> could be an issue with the RGMII delays for example
Kwiboo has quit [Quit: .]
Kwiboo has joined #linux-rockchip
<user21> it says eth0 is up
<qschulz> is there a link :)
<user21> but when it refuses to get an IP
<qschulz> the network interface being up != the ethernet PHY having a link
<user21> ah, sorry, how do I check ?
<user21> and how to do I check for some diagnostics for reasons why
<qschulz> unplug and replug the cable, is there some event in the kernel output?
<qschulz> do you have an LED on your Ethernet connector showing link status maybe?
<qschulz> (could be that it shows only after speed negociation happened so not sure)
<user21> 1 sec
<qschulz> [ 23.775579] rk_gmac-dwmac fe1b0000.ethernet end0: Link is Down
<qschulz> is what I get when I remove my ethernet cable
<qschulz> end0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
<qschulz> end0 (eth0) is UP but the link is DOWN
<qschulz> (output of ip addr show end0)
<qschulz> (also NO-CARRIER is probably relevant there)
<qschulz> [ 98.528100] rk_gmac-dwmac fe1b0000.ethernet end0: Link is Up - 1Gbps/Full - flow control off
<qschulz> when plugging in
<qschulz> end0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
<qschulz> when connected
<user21> need to reboot and flash a new image
<user21> I guess there is no signal like that for me, the back plane is a custom one and has hot pluggable ethernet
<user21> this how it looks like https://snipboard.io/yA54FB.jpg
<user21> but eth0 won't get an ip
<user21> I'm missing something
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eballetbo has quit [Quit: Connection closed for inactivity]
<robmur01> looks the phy thinks it doesn't have anything connected (NO-CARRIER)
<user21> you are right, tried also to config it manually, and seems link is down, @qschulz suspicion is true also https://snipboard.io/Ohru04.jpg
<user21> seems like the network is not powered ? bad device tree setup ?
<robmur01> if you've specified a phy interrupt, check the GPIO/polarity/pinctrl is correct (I'd first try removing it to force polling and see if it detects the link then)
<user21> ok let me check
<user21> I'm still checking, but learning at the same time
<user21> that device tree file is the one running for current board on 5.10 kernel, I moved it to 6.14, but need the get the network working again
<user21> in theory I need the whole file, but I want to isolate the exact parts I need for the network, driver, power delivery, buses etc
<user21> I tried to drop-in the whole file, but was a bad idea, so now trying in steps
<user21> I was told the driver must be rtl8211fs , but not sure if this needs some kernel config flags as well
<CounterPillow> rtl8211fs should be covered by the realtek phy config you've already enabled
<CounterPillow> mainline device tree bindings will differ from what vendor kernels use, so it's probably easiest to reference what other device trees in mainline with the same combination of SoC and ethernet PHY did. ODROID M2 for example uses an RTL8211F which is probably pin-compatible
<robmur01> bleh, I should have paid more attention - it already says "irq=POLL", so never mind that then
<user21> got it thank you, checking my DT for any power delivery issues
stikonas has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
<user21> ok so on a working system after the "rk_gmac-dwmac fe1c0000.ethernet eth0: configuring for phy/rgmii link mode" I get a message "rk_gmac-dwmac fe1c0000.ethernet eth0: Link is Up - Unknown/Unknown - flow control off"
<user21> and the network card is usable
<user21> on the system that does not work there is nothing after "rk_gmac-dwmac fe1c0000.ethernet eth0: configuring for phy/rgmii link mode"
<user21> basically seems like the interface is not responsive
jaganteki has joined #linux-rockchip
cbeznea has quit [Ping timeout: 260 seconds]
jaganteki has quit [Quit: Client closed]
stikonas has quit [Ping timeout: 248 seconds]
franoosh has quit [Ping timeout: 265 seconds]
stikonas has joined #linux-rockchip
raster has joined #linux-rockchip
Dex2x has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
Dex2x has joined #linux-rockchip
raster has quit [Quit: Gettin' stinky!]
Dex2x has quit [Ping timeout: 272 seconds]
Dex2x has joined #linux-rockchip
erikbeck has joined #linux-rockchip
erikbeck is now known as help
help is now known as Guest9942
Guest9942 is now known as TahomaSoft
TahomaSoft has quit [Changing host]
TahomaSoft has joined #linux-rockchip
linkmauve has left #linux-rockchip [Error from remote client]
<TahomaSoft> Got the LinkStar H68K (rk3568) running on all eight cylinders (4 eth + 1 wifi +3 USB).
<TahomaSoft> Am working towards integrating into mainline Openwrt and then submit kernel patches.
<CounterPillow> \o/
<TahomaSoft> Indeed! Thank you CounterPillow!