mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
vagrantc has quit [Quit: leaving]
Daanct12 has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
alpernebbi has quit [Ping timeout: 252 seconds]
System_Error has quit [Ping timeout: 260 seconds]
alpernebbi has joined #linux-rockchip
System_Error has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 260 seconds]
hexdump0815 has joined #linux-rockchip
hexdump0815 has quit [Ping timeout: 252 seconds]
hexdump0815 has joined #linux-rockchip
<dsimic> Kwiboo: thanks for the pointers... it's a bit crazy how many different boards Radxa is churning out :)
<dsimic> to sum it up, "Radxa ROCK 5T stands as an upgraded version of the Radxa ROCK 5B+"
<dsimic> qschulz: could you, please, describe a bit better to what "while (1)" did you refer to, in the DRAM init code?
<naoki> I still do not understand why removing unused pin and renaming pin to match with schematic
<naoki> could you tell me what's wrong, anyone?
<naoki> why ... is wrong
Daanct12 has quit [Ping timeout: 252 seconds]
<naoki> this patch also rename pin, should I drop renaming part?
<naoki> dsimic: I guess user want new boards? ;)
<dsimic> perhaps, but it's been like yesterday when the ROCK 5B+ was released :)
<naoki> hehe
<naoki> (btw I don't have 5B+, so I cannot write dts yet)
<dsimic> is it known when restocking of the ROCK 5 ITX is expected?
hexdump0815 has quit [Ping timeout: 255 seconds]
<naoki> sorry, I'm not sale/manufacturing person
<naoki> it seems 16GB/24GB model are available on allnet/arace
hexdump0815 has joined #linux-rockchip
<naoki> which model are you looking for?
<dsimic> a friend of mine wants to buy the 16 GB version, last time I checked only the 24 GB version was available
<naoki> buy
<dsimic> oh, look at that :)
<dsimic> thanks, I'll let him know
alpernebbi has quit [Ping timeout: 245 seconds]
asriel has quit [*.net *.split]
qschulz has quit [*.net *.split]
dustinm` has quit [*.net *.split]
sigmaris has quit [*.net *.split]
Bahhumbug has quit [*.net *.split]
dTal has quit [*.net *.split]
arnd has quit [*.net *.split]
jelly has quit [*.net *.split]
mort has quit [*.net *.split]
lucaceresoli has quit [*.net *.split]
s1b1 has quit [*.net *.split]
hl has quit [*.net *.split]
loki_val has quit [*.net *.split]
paulk has quit [*.net *.split]
xha has quit [*.net *.split]
diederik has quit [*.net *.split]
LordKalma has quit [*.net *.split]
mmind00 has quit [*.net *.split]
System_Error has quit [*.net *.split]
digetx has quit [*.net *.split]
serdarth has quit [*.net *.split]
smaeul has quit [*.net *.split]
Emantor has quit [*.net *.split]
unkraut has quit [*.net *.split]
mps has quit [*.net *.split]
lorenzb has quit [*.net *.split]
micken has quit [*.net *.split]
maz has quit [*.net *.split]
fleg has quit [*.net *.split]
dlezcano has quit [*.net *.split]
kbingham has quit [*.net *.split]
manawyrm has quit [*.net *.split]
naoki has quit [*.net *.split]
helene has quit [*.net *.split]
sL1pKn07 has quit [*.net *.split]
shoragan has quit [*.net *.split]
anarsoul has quit [*.net *.split]
rtp has quit [*.net *.split]
macromorgan has quit [*.net *.split]
dsimic has quit [*.net *.split]
Kwiboo has quit [*.net *.split]
valpackett has quit [*.net *.split]
jakllsch has quit [*.net *.split]
repk has quit [*.net *.split]
norris has quit [*.net *.split]
steev has quit [*.net *.split]
Danct12 has quit [*.net *.split]
ungeskriptet has quit [*.net *.split]
gnuiyl has quit [*.net *.split]
indy has quit [*.net *.split]
tlwoerner has quit [*.net *.split]
cyrozap has quit [*.net *.split]
dianders has quit [*.net *.split]
tucanae47 has quit [*.net *.split]
tortoise has quit [*.net *.split]
wens has quit [*.net *.split]
cp- has quit [*.net *.split]
franoosh has quit [*.net *.split]
linkmauve has quit [*.net *.split]
f476 has quit [*.net *.split]
dliviu has quit [*.net *.split]
a1batross has quit [*.net *.split]
kilobyte_ch has quit [*.net *.split]
Bitweasil has quit [*.net *.split]
leming has quit [*.net *.split]
sjoerd has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
mkorpershoek has quit [*.net *.split]
kevery has quit [*.net *.split]
Perflosopher has quit [*.net *.split]
urja has quit [*.net *.split]
dlg has quit [*.net *.split]
hramrach has quit [*.net *.split]
psydroid has quit [*.net *.split]
FergusL7 has quit [*.net *.split]
Hypfer6 has quit [*.net *.split]
mx08 has quit [*.net *.split]
npcomp has quit [*.net *.split]
wcarson has quit [*.net *.split]
Tartarus has quit [*.net *.split]
eballetbo has quit [*.net *.split]
CounterPillow has quit [*.net *.split]
phh has quit [*.net *.split]
alikates has quit [*.net *.split]
mitznite has quit [*.net *.split]
ch has quit [*.net *.split]
Esmil has quit [*.net *.split]
jcarrasco has quit [*.net *.split]
sre has quit [*.net *.split]
mriesch has quit [*.net *.split]
detlevc has quit [*.net *.split]
sfo has quit [*.net *.split]
Ermine has quit [*.net *.split]
UndrWater has quit [*.net *.split]
Whistler has quit [*.net *.split]
daniels has quit [*.net *.split]
rah has quit [*.net *.split]
helene has joined #linux-rockchip
psydroid has joined #linux-rockchip
dsimic has joined #linux-rockchip
fleg has joined #linux-rockchip
franoosh has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
arnd has joined #linux-rockchip
mmind00 has joined #linux-rockchip
LordKalma has joined #linux-rockchip
diederik has joined #linux-rockchip
Bahhumbug has joined #linux-rockchip
asriel has joined #linux-rockchip
xha has joined #linux-rockchip
mort has joined #linux-rockchip
dTal has joined #linux-rockchip
dianders has joined #linux-rockchip
ch has joined #linux-rockchip
lvrp16 has joined #linux-rockchip
mitznite has joined #linux-rockchip
paulk has joined #linux-rockchip
qschulz has joined #linux-rockchip
Tartarus has joined #linux-rockchip
loki_val has joined #linux-rockchip
daniels has joined #linux-rockchip
steev has joined #linux-rockchip
hl has joined #linux-rockchip
s1b1 has joined #linux-rockchip
dustinm` has joined #linux-rockchip
Esmil has joined #linux-rockchip
lucaceresoli has joined #linux-rockchip
CounterPillow has joined #linux-rockchip
mkorpershoek has joined #linux-rockchip
sigmaris has joined #linux-rockchip
tucanae47 has joined #linux-rockchip
tortoise has joined #linux-rockchip
norris has joined #linux-rockchip
hramrach has joined #linux-rockchip
wcarson has joined #linux-rockchip
jakllsch has joined #linux-rockchip
micken has joined #linux-rockchip
Bitweasil has joined #linux-rockchip
valpackett has joined #linux-rockchip
repk has joined #linux-rockchip
urja has joined #linux-rockchip
lorenzb has joined #linux-rockchip
sjoerd has joined #linux-rockchip
rtp has joined #linux-rockchip
maz has joined #linux-rockchip
manawyrm has joined #linux-rockchip
leming has joined #linux-rockchip
alikates has joined #linux-rockchip
cyrozap has joined #linux-rockchip
dlg has joined #linux-rockchip
anarsoul has joined #linux-rockchip
UndrWater has joined #linux-rockchip
kbingham has joined #linux-rockchip
Ermine has joined #linux-rockchip
Whistler has joined #linux-rockchip
dlezcano has joined #linux-rockchip
wens has joined #linux-rockchip
sfo has joined #linux-rockchip
shoragan has joined #linux-rockchip
phh has joined #linux-rockchip
indy has joined #linux-rockchip
kilobyte_ch has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
f476 has joined #linux-rockchip
linkmauve has joined #linux-rockchip
mps has joined #linux-rockchip
npcomp has joined #linux-rockchip
gnuiyl has joined #linux-rockchip
Perflosopher has joined #linux-rockchip
mx08 has joined #linux-rockchip
sre has joined #linux-rockchip
detlevc has joined #linux-rockchip
Hypfer6 has joined #linux-rockchip
sL1pKn07 has joined #linux-rockchip
dliviu has joined #linux-rockchip
unkraut has joined #linux-rockchip
jcarrasco has joined #linux-rockchip
a1batross has joined #linux-rockchip
Kwiboo has joined #linux-rockchip
FergusL7 has joined #linux-rockchip
mriesch has joined #linux-rockchip
smaeul has joined #linux-rockchip
serdarth has joined #linux-rockchip
naoki has joined #linux-rockchip
ungeskriptet has joined #linux-rockchip
kevery has joined #linux-rockchip
cp- has joined #linux-rockchip
Emantor has joined #linux-rockchip
rah has joined #linux-rockchip
macromorgan has joined #linux-rockchip
eballetbo has joined #linux-rockchip
Danct12 has joined #linux-rockchip
digetx has joined #linux-rockchip
System_Error has joined #linux-rockchip
jelly has joined #linux-rockchip
Bahhumbug has quit [Read error: Connection reset by peer]
Bahhumbug has joined #linux-rockchip
gnuiyl has quit [Remote host closed the connection]
gnuiyl has joined #linux-rockchip
Daanct12 has joined #linux-rockchip
raster has joined #linux-rockchip
warpme has joined #linux-rockchip
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
kevery has quit [Quit: kevery]
kevery has joined #linux-rockchip
<Kwiboo> naoki: regarding your "arm64: dts: rockchip: change pinctrl for pcie2x1l2 for Radxa ROCK 5A" patch: the split of pcie pin group already fixed the issue for u-boot so commit message no longer match why/what is done, so now look like your patch swap and rename pinctrl symbols without any explanation
<Kwiboo> please send an updated patch stating that the rename of symbol is to match schematics and possible skip the reorder or at least mention the reorder
<naoki> well,
<Kwiboo> dropping the pins from pinctrl-0 seem like an unneccecery step? the pins are connected according to schematic
<naoki> remove unused CLKREQ and WAKE pins, rename reset pin name to match witch schematic, and reorder
<Kwiboo> on rk356x it is important to include all pins because they help indicate correct IO mux, not sure it is same for rk3588
<Kwiboo> and hw and schematic have all 3 signals hooked, so they should be included in DT to be explicit about hw, not what feature are implemented in software
<naoki> Kwiboo: about rk356x, kever yang said that unused pins by software should be default (GPIO)
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mripard has joined #linux-rockchip
<naoki> I'm confused because I'm being told to do the opposite.
warpme has joined #linux-rockchip
<Kwiboo> I can understand the confusion, and kevery is right, software does not make use of those pins, however DT is about describing the hw and is not intended to work as configuration for software features
<Kwiboo> in my mind having the pins described in DT is more correct from hw viewpoint, as they exist and the pins/signals are wired according to schematics
<dsimic> FWIW, I agree with Kwiboo's argument that the DT needs to describe the actual hardware
<dsimic> if there are some resulting issues in the drivers, drivers need to be fixed
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qschulz> dsimic: the while(1); ones
<qschulz> only two in the sdram_rk3399 driver
<dsimic> qschulz: thanks... ah, silly me, how did I miss those? :)
<dsimic> why don't we replace those with panic()?
<qschulz> Well... we could but I am not sure this is the wisest
<qschulz> I'm wondering if we shouldn't simply panic() for ANY DRAM init issue
<dsimic> perhaps, but these endless loops are the first, obvious candidates
<qschulz> because right now, if the DRAM init fails (aside from those two while(1); infinite loops), we just print "failed" and go on with the boot process
<qschulz> I mean, it wouldn't be too difficult to simply return -EINVAL for that function instead of void and have dram_init() read that return value and return it if non-zero as well
<qschulz> and then from TPL/SPL instead of printing the error message we panic()
<dsimic> hmm, how about replacing those two infinite loops with panic() first, to see how would the upstream react?
<dsimic> and based on that, go further
<qschulz> if we can do the thing properly instead of piling up work arounds on work arounds, it would be nice :)
<dsimic> I can agree on that :)
matthias_bgg has joined #linux-rockchip
<dsimic> would you like to do that yourself, or should I earmark that?
<qschulz> will do myself as this is a pain point of mine, I want my RK3399 Puma to reboot themselves if they fail DRAM init
<qschulz> otherwise it's bad for an embedded system to be stuck in the middle of nowhere :)
<dsimic> totally agreed, it should be handled by panic(), which can be configured to hang if desired so
<dsimic> please, Cc me when you submit the patches, so I don't miss them
warpme has joined #linux-rockchip
naoki has quit [Quit: naoki]
<qschulz> Kwiboo: it seems like the sdram patches from Rockchip you sent on this chan earlier does fix my DRAM init issues on my picky RK3399 Puma? I'll let it run a bit more to be sure
<qschulz> I had a hang in TF-A though (but that could be because I'm running the integration branch + some patches :) )
<qschulz> and after 2200 reboots, one of the USB hubs was not detected, maybe you've experienced this in the past`, who knows
Stat_headcrabbed has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.4.3]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dsimic> qschulz: sorry, what SDRAM patches are you referring to? I went again quickly through the channel history and wasn't able to spot them
<dsimic> ah, yes, I remember that now... thanks
warpme has joined #linux-rockchip
<qschulz> welp, DRAM init just failed on my RK3399 again :(
raster has quit [Quit: Gettin' stinky!]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsimic has quit [Ping timeout: 260 seconds]
dsimic has joined #linux-rockchip
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-rockchip
psydroid has quit [Read error: Connection reset by peer]
psydroid has joined #linux-rockchip
<qschulz> dsimic: there you go
<qschulz> mmind00: Kwiboo: mmmm, I looked into the OPP again on RK3399 in the kernel to increase the base core freq and boot faster
<qschulz> in U-Boot I mean
<qschulz> we have 600MHz currently hardcoded for both the LITTLE and the big clusters
<qschulz> However, the big cluster can actually go up to 816MHz with the same voltage as 600MHz
<qschulz> ... but it's different between RK3399 and OP1
<qschulz> 600MHz @ 0.825-1.25V on RK3399, 600MHz @ 0.8V on OP1
<qschulz> 816MHz @ 0.825-1.25V on RK3399, 816MHz @ 0.825V on OP1
<qschulz> is there a way to know (and guarantee) about the voltage for the big cluster on RK3399/RK3399-T/OP1 by any chance?
<mmind00> qschulz: I'd assume the OP1 voltages should be the most occurate, because I'd think the ChromeOS people would've been quite pedantic with Rockchip to get acurate freq/voltage pairs
<qschulz> mmind00: aren't there slightly different silicon (or binning at least?)?
<qschulz> s/there/they/
<mmind00> qschulz: yes
<mmind00> qschulz: I meant, I'd consider the op1 OPPs as correct for the OP1 variant
<qschulz> gotcha
vagrantc has joined #linux-rockchip
raster has joined #linux-rockchip
<rah> I flashed a built u-boot to my roc-pc-plus and now it doesn't seem to want to enter maskrom mode..
<rah> as I understand it, that shouldn't possible right?
<rah> I get this on the serial line instead of maskrom mode:
<rah> U-Boot TPL 2025.01-rc1-00162-g56accc56b9aa (Nov 05 2024 - 18:58:07)
<rah> rk3399_dmc_of_to_plat: Cannot read rockchip,sdram-params -1
<rah> DRAM init failed: -1
<dsimic> qschulz: mmind00: as an additional note, the OP1 should be the "creme de la creme" of the RK3399 binning; it can run the big cores faster, i.e. at 2 GHz, and the lower OPPs require a bit lower voltages than on the other RK3399 bins
<dsimic> thus, the OP1 OPPs should actually include the voltage ranges, to allow higher voltages in case the associated regulators cannot deliver the exact voltages, and it's safe to run lower OPPs at higher voltages -- nothing wrong will happen, just more power will be used unnecessarily
<dsimic> I'll move forward and send a patch that adds those voltage ranges to the OP1 OPPs, which may actually not be used on the supported boards (depending on the regulators), but are the right way to specify the OPPs
<dsimic> qschulz: thanks for the patches, I'll review them a bit later
<dsimic> qschulz: regarding increasing the boot frequency on the RK3399, I'm a bit worried about that, because even bumping it up to the next higher OPP that still uses the same voltage may actually increase the power draw, which may cause issues on some devices that may not negotiate the right profiles with their PSUs/chargers before the kernel takes over
ungeskriptet has quit [Killed (mercury.libera.chat (Nickname regained by services))]
ungeskriptet has joined #linux-rockchip
ungeskriptet is now known as Guest4709
Guest4709 has quit [Killed (lithium.libera.chat (Nickname regained by services))]
ungeskriptet has joined #linux-rockchip
raster has quit [Read error: Connection reset by peer]
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
<rah> I seem to have bricked an unbrickable device :-/
<dsimic> rah: where did you write this U-Boot build to?
diederik has quit [Ping timeout: 248 seconds]
stikonas has joined #linux-rockchip
naoki has joined #linux-rockchip
naoki has quit [Client Quit]
warpme has joined #linux-rockchip
warpme has quit [Client Quit]
diederik has joined #linux-rockchip
sL1pKn07 has quit [Remote host closed the connection]
sL1pKn07 has joined #linux-rockchip
sL1pKn07 has quit [Remote host closed the connection]
sL1pKn07 has joined #linux-rockchip
ungeskriptet is now known as Guest2102
Guest2102 has quit [Killed (platinum.libera.chat (Nickname regained by services))]
ungeskriptet has joined #linux-rockchip
naoki has joined #linux-rockchip
indy has quit [Ping timeout: 248 seconds]
indy has joined #linux-rockchip