mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
<Tartarus> Hey all, trying to check something in U-Boot. on rk3399, 0x100000 is in regular DDR space, yes?
mps has quit [Ping timeout: 248 seconds]
raster has quit [Quit: Gettin' stinky!]
mps has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
stikonas has quit [Quit: Konversation terminated!]
System_Error has quit [Remote host closed the connection]
Daanct12 has joined #linux-rockchip
MyNetAz has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
MyNetAz has joined #linux-rockchip
Stat_headcrabbed has joined #linux-rockchip
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
hexdump0815 has quit [Ping timeout: 244 seconds]
hexdump0815 has joined #linux-rockchip
Whistler has joined #linux-rockchip
<CounterPillow> Tartarus: I'm probably too late on this, but according to the memory map in the RK3399 TRM that should be correct if I'm reading this right. https://0x0.st/XFrz.png
Stat_headcrabbed has joined #linux-rockchip
Daanct12 has quit [Ping timeout: 252 seconds]
Daanct12 has joined #linux-rockchip
Stat_headcrabbed has quit [Remote host closed the connection]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
leming has quit [*.net *.split]
sL1pKn07 has quit [*.net *.split]
Scrooge has quit [*.net *.split]
jelly has quit [*.net *.split]
valpackett has quit [*.net *.split]
norris has quit [*.net *.split]
steev has quit [*.net *.split]
leming has joined #linux-rockchip
steev has joined #linux-rockchip
sL1pKn07 has joined #linux-rockchip
jelly has joined #linux-rockchip
norris has joined #linux-rockchip
valpackett has joined #linux-rockchip
Scrooge has joined #linux-rockchip
MyNetAz has quit [Write error: Connection reset by peer]
jelly has quit [Max SendQ exceeded]
jelly has joined #linux-rockchip
Scrooge has quit [Read error: Connection reset by peer]
Scrooge has joined #linux-rockchip
MyNetAz has joined #linux-rockchip
eballetbo has joined #linux-rockchip
warpme has joined #linux-rockchip
ldevulder has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hypfer6 has quit [Ping timeout: 252 seconds]
warpme has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
<qschulz> Tartarus: wdym by "regular DDR space"?
<qschulz> but likely not\
<qschulz> if I do maths properly
<qschulz> 0x100000 is 1MiB
<qschulz> and the first 2MiB on DRAM are reserved for TF-A
<qschulz> on Rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raster has joined #linux-rockchip
psydroid has joined #linux-rockchip
warpme has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
<CounterPillow> Doesn't that depend on where TPL decides to load TF-A?
<CounterPillow> pretty sure the bootrom does not mandate any specific TF-A address.
<qschulz> CounterPillow: as far as I remember, TF-A is loaded in SRAM but has 2MiB reserved foin DRAM r whatever it wants to do
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #linux-rockchip
warpme_ has joined #linux-rockchip
naoki has quit [Quit: naoki]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<diederik> mmind00: I don't understand the Fixes tag on https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/commit/?h=v6.13-armsoc/dtsfixes&id=8b9c12757f919157752646faf3821abf2b7d2a64
<diederik> it's a change to rk356x/rk3568 dtsi files and that fixes the DT *binding* ?
<mmind00> diederik: the binding commit introduced reset-names property (including a minItems:1), so broke rk3568 devicetree
<diederik> I understood there was a relation, but I didn't realize it would be recorded as fixing the binding ... or I'm reading/interpreting that incorrectly
<mmind00> diederik: it doesn't fix the binding ... "Fixes: foo" means "that commit broke "something" and "this" commit fixes that _issue_
<mmind00> diederik: "Fixes" establishes a relation between commits, not between the content
<diederik> then I've learned something new today. Thanks for that :)
<diederik> I always thought it meant "that was wrong and this fixes that"
<diederik> IOW: I thought it was about the content
<mmind00> it can be i.e. a Fix can also be for the code-_change_ itself ... but can also be about breakage caused somewhere else
warpme_ has joined #linux-rockchip
<Daanct12> does anyone know why writing to vop registers doesn't work?
<Daanct12> it would just not apply at all
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
sjoerd0 has joined #linux-rockchip
sjoerd has quit [Ping timeout: 252 seconds]
sjoerd0 is now known as sjoerd
warpme has joined #linux-rockchip
psydroid has joined #linux-rockchip
<mmind00> Daanct12: the is this reg_cfg_done bit I think?
<Tartarus> qschulz: Ah, hm. I was looking at include/configs/rk3399_common.h and CFG_IRAM_BASE and thought TF-A got put in there and not DDR space.
<Daanct12> mmind00: yeah but this is a rk3568 platform..
<Daanct12> bit15 is always set and the TRM doesn't say much
<qschulz> Tartarus: pretty sure TF-A is in SRAM but has reserved memory in DRAM, but wouldn't swear on my life :)
<Tartarus> OK
<Tartarus> FWIW, I'm looking at two chromebooks and so maybe they don't use TF-A, I dunno
<qschulz> Tartarus: TF-A is necessary for any Aarch64 to boot the Linux kernel as far as I know
MyNetAz has quit [Ping timeout: 252 seconds]
<Daanct12> rk3588 trm has more stuffs in application notes but they don't seem to be quite useful
* Daanct12 thinks it wants everything to be written all at once
Daanct12 has quit [Ping timeout: 276 seconds]
digetx has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
MyNetAz has joined #linux-rockchip
digetx has joined #linux-rockchip
MyNetAz has quit [Ping timeout: 252 seconds]
Daanct12 has joined #linux-rockchip
qschulz has quit [Ping timeout: 252 seconds]
Danct12 has quit [Ping timeout: 252 seconds]
qschulz has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
warpme has quit [Client Quit]
dustinm` has quit [Ping timeout: 252 seconds]
dustinm` has joined #linux-rockchip
MyNetAz has joined #linux-rockchip
<wens> ATF build failure for RK3399:
<wens> make -C plat/rockchip/rk3399/drivers/m0 BUILD=build/rk3399/release/m0
<wens> make: *** No rule to make target 'plat/rockchip/rk3399/drivers/pmu/pmu_fw.c', needed by 'build/rk3399/release/bl31/pmu_fw.o'. Stop.
<qschulz> wens: master?
<wens> yeah, also 2.12
ldevulder has quit [Quit: Leaving]
<wens> hmm, might be stale files?
<wens> yeah, stale files
<wens> sorry for the noise
<qschulz> wens: was surprised because I sent a bunch of patches to fix build warnings before 2.12 :)
<wens> my roc-rk3399-pc boot stalls right after smp bringup, very weird
<qschulz> wens: cold boot?
<wens> yup
<qschulz> ok, because for warm boot there is a patch to force a CPU reset in TPL
<qschulz> don't remember if it was merged in U-Boot
warpme_ has joined #linux-rockchip
<wens> I think this started between 6.10 and 6.12
<wens> since it stalls after smp, thought about updating the bootloader and atf
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
System_Error has quit [Remote host closed the connection]
<wens> removing some cmdline options got it working again :/
<wens> qschulz: what's the standard way for sending ATF patches these days?
<wens> yeah, OK, pseudo NMI is broken
System_Error has joined #linux-rockchip
<wens> maz: ^
<wens> ah, gerrit
<maz> wens: what's new?
<maz> wens: can you easily bisect it?
<wens> maz: rk3399 hangs pretty early during boot if pseudo NMI is enabled on the cmdline
<maz> guess I need to revive mine. hasn't booted in a while.
<wens> maz: I think it's a pretty large range, as I don't remember the previous working version
<maz> (huh, booting 5.18-rc6...)
<wens> it doesn't hang on mediatek if that's of any consolation
<maz> looks like my rk3399 doesn't find its nvme device. it's going to be hard to test remotely.
<wens> doesn't seem to break on rk3588
warpme_ has joined #linux-rockchip
vagrantc has joined #linux-rockchip
<wens> v6.10 or v6.11 was probably the last version that ran
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
raster has quit [Quit: Gettin' stinky!]
stikonas has joined #linux-rockchip
repk has quit [Ping timeout: 252 seconds]
repk has joined #linux-rockchip
wcarson has quit [Quit: brb]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
warpme_ has joined #linux-rockchip
wcarson has joined #linux-rockchip
warpme_ has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
f476 has joined #linux-rockchip
naoki has joined #linux-rockchip
psydroid has quit [Quit: KVIrc 5.2.6 Quasar http://www.kvirc.net/]
repk has quit [Ping timeout: 248 seconds]
repk has joined #linux-rockchip