stikonas has quit [Quit: Konversation terminated!]
qschulz has quit [Remote host closed the connection]
qschulz has joined #linux-rockchip
psydroid has quit [Ping timeout: 244 seconds]
psydroid has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-rockchip
gnuiyl has quit [Ping timeout: 265 seconds]
gnuiyl has joined #linux-rockchip
naoki has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
cbeznea has joined #linux-rockchip
System_Error has joined #linux-rockchip
gnuiyl has quit [Ping timeout: 276 seconds]
gnuiyl has joined #linux-rockchip
gnuiyl has quit [Remote host closed the connection]
gnuiyl has joined #linux-rockchip
<mmind00>
TahomaSoft: glad things worked out
franoosh has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xha has quit [Quit: WeeChat 4.6.2]
System_Error has quit [Ping timeout: 264 seconds]
System_Error has joined #linux-rockchip
raster has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder has joined #linux-rockchip
<diederik>
user21: I see a "supply phy not found, using dummy regulator", so it's probably missing a phy-supply property (or sth like that)
nashpa has quit [Ping timeout: 260 seconds]
dliviu has joined #linux-rockchip
<TahomaSoft>
mmind00: Thank you very much for your help!
dliviu has quit [Ping timeout: 244 seconds]
dliviu has joined #linux-rockchip
System_Error has quit [*.net *.split]
dliviu has quit [Ping timeout: 272 seconds]
dliviu has joined #linux-rockchip
<TahomaSoft>
Is refining it for a bit, shooting to patch into Linux 6.18 a reasonable goal?
<robmur01>
TahomaSoft: almost certainly! New board DTs are fairly straightforward, and you've probably got at least 5 weeks
naoki has quit [Quit: naoki]
* robmur01
is reminded that he really should get round to trying OpenWrt on the NanoPi-R2S...
<TahomaSoft>
Thanks robmur01!
<robmur01>
in fact the next 5-6 weeks would be for 6.17 stuff - I always get confused right at the start of a cycle :)
<robmur01>
I'd suggest having a look through the list archive at similar new board submissions to get a feel for what the reviewers want to see, and with luck you might get it done in only a couple of spins
erg_ has joined #linux-rockchip
<TahomaSoft>
Thanks, good idea. I subscribed to the list in part to see them as they come in to get a feel for that. Any particularly notable boards I should look at?
franoosh has quit [Read error: Connection reset by peer]
<robmur01>
Most vendors don't stray too far from the reference designs, so similar RK3568 router boards upstream like NanoPi-R5 or BPi-R2-Pro would be the first things I'd compare against
<a3f>
for context, rockchip_bbu_mmc_handler() is called when applying a barebox update (bbu) onto an MMC device, e.g. with fastboot flash bbu-mmc $image
<qschulz>
a3f: interestingly, on RK3399, it also looks at offset 0 as far as I could tell, since this is where we flash it on RK3399 Puma on SPI-NOR
<a3f>
qschulz, I am not sure it follows from that that it does so as well for MMC, but maybe it does
* a3f
is away for a while
<macromorgan>
jackpot, thank you
<CounterPillow>
does the maskrom have a boot counter that cycles through them or does it just look for the first valid signature?
<qschulz>
CounterPillow: wdym?
<CounterPillow>
does the watchdog triggering increase a counter that survives a warm reboot of the maskrom that then makes it try the second, third, etc offset
<robmur01>
At least in my experience with older SoCs, the boot ROM does not do anything remotely clever at all
<CounterPillow>
I guess this is the type of in-the-woods territory where I should dump the bootrom and check myself
<robmur01>
I mostly just recall the pain of corrupting the IDBloader on eMMC, but leaving the initial signature intact, on a TV box with no hardware "MaskROM" button...
<macromorgan>
I would still love to dump the bootrom and figure out if there is any provision in there (undocumented) that lets me use the eMMC boot partition
<qschulz>
macromorgan: many people would be interested in that
<qschulz>
but I would be very surprised Rockchip would not document this
dsimic has quit [Ping timeout: 272 seconds]
<qschulz>
I believe NXP made a 180 on that though? They had this implemented on i.MX6 AFAIR, but I've heard it's gone on i.MX8?
<CounterPillow>
I wouldn't be ;)
dsimic has joined #linux-rockchip
erg_ has quit [Ping timeout: 260 seconds]
<robmur01>
Indeed I wouldn't expect actual documentation either way, but going to the effort to implement something, validate that it works, then never use it nor even have any hint of its existence in the BSP and tools, *that* seems unlikely ;)
<user21>
I see this in the dmesg: "rk_gmac-dwmac fe1b0000.ethernet: probe with driver rk_gmac-dwmac failed with error -22"
<qschulz>
user21: -22 = -EINVAL but that doesn't really help to pinpoint where the issue is
<qschulz>
user21: I would just add printk every other line in the probe function to figure out where it comes from :)
<user21>
as immediate I need the network up and running this will give me a baseline to fix the rest
xha has joined #linux-rockchip
<qschulz>
user21: look at the log before the first line
<qschulz>
sometimes you get more info right before the error
<qschulz>
grepping the log isn't always the best idea :)
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<a3f>
qschulz, eMMC boot partitions are still supported on newer i.MX SoCs. What changed as far as I heard was the mechanism for having multiple redundant copies on eMMC user partition
<a3f>
but I never used that myself, although I hear it actually had a provision for "handshaking" with bootrom to tell it not to boot the next copy
<user21>
basically when I do "dhcpcd eth0" I get "eth0: waiting for carrier" then "timed out"
erg_ has joined #linux-rockchip
<diederik>
I suspect that when you do ``dmesg --level 0,1,2`` you may see several lines. If not or in addition to that, ``dmesg --level 3`` (and level 4) will likely also report several issues. I'd recommend to first try to resolve those
erg_ has quit [Read error: Connection reset by peer]
<diederik>
several pinctrl related issues; an apparently misconfigured bridge; problems with configuring power management; and a mention about 'legacy-interrupt-controller' ... which surprises me
<robmur01>
user21: GMAC0 failing to probe for some reason seems unlikely to have any influence on the behaviour of GMAC1 (probed as eth0)'s phy
<robmur01>
unless maybe you've got some sort of weird MDIO mux between the two?
<robmur01>
Or perhaps GMAC0 is actually the interface you want, and you're chasing the wrong problem?
<user21>
hmm good info, need to think, this is all new stuff to me, learning a lot
stikonas has joined #linux-rockchip
cbeznea has quit [Ping timeout: 276 seconds]
<CounterPillow>
"The mailinglist mostly has patches on it, so I don't really know if people are expecting non-patch mails." mmind00, I am disappointed you forgot about our rich and vibrant community of Polish B2B e-mail spammers.