<maz>
micken: can you please explain what you're trying to do? you give no indication of whether you're running bare metal or as part of the kernel, and the GIC configuration is not exactly trivial...
JohnDoe_71Rus has joined #linux-rockchip
<beeble>
maz: he is porting risc os
lupine872 has joined #linux-rockchip
lupine872 has quit [Client Quit]
<maz>
beeble: right. at last explaining which GIC version, how is the kernel booted (secure, non-secure), how is the GIC distributor setup (groups, priorities), how the CPU interface is configured...
<maz>
beeble: you need to know all of that in order to answer the "why isn't my interrupt delivered" question.
<maz>
s/last/least/
<beeble>
maz: i was just answering the part of "bare metal" :)
<beeble>
have nothing to do with it at all
<maz>
beeble: I know! ;-) the rest of the rant is directed at micken...
wzyy2 has joined #linux-rockchip
chichak has joined #linux-rockchip
BenG83_ has quit [Remote host closed the connection]
<tkaiser>
NVMe is nice. IRQ affinity works automagically :)
wzyy2 has quit [Remote host closed the connection]
JohnDoe8 has joined #linux-rockchip
<beeble>
tkaiser: not really a significant difference between performance and powersafe (single testrun)
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
<tkaiser>
Ok, thank you :)
<beeble>
you are welcome
anarsoul|2 has joined #linux-rockchip
Easyfab has joined #linux-rockchip
xerpi has joined #linux-rockchip
_hramrach is now known as hramrach
lkcl has joined #linux-rockchip
<micken>
maz: Sorry SSH died. Ok Here goes a lenghty version. As beeble told you I am porting riscos to RK3288 using a tinker-board. I have setup the GIC according to the documentation. We already have driver for it for other socs, so my work have been just checking it. I have also compared it with u-boot. Everything seems to be in order, but apperantly something isn't. My recent tests (last hours) makes me think that hardware device interrupts , for
<micken>
maz: perhaps I have misunderstood what secure means in this context. When I ahve been reading I thought of secure as in TZ..!
BenG83_ has joined #linux-rockchip
<micken>
maz: I boot from u-boot, just launching my kernel (osrom).
<maz>
micken: TZ is a product (and/or a software spec). Secure is the mode TZ runs in, but that's also the mode the CPU starts in. the GIC can deal with both secure and non-secure interrupts, and must be configured accordingly.
<micken>
maz: does u-boot leave me in secure ?
<maz>
micken: only you can know that.
<micken>
ok
<maz>
micken: you need to see if your u-boot version is configured to switch to NS.
<micken>
maz: ok, I can dig into u-boot a bit more then.. But if I am in secure-mode it can explain a few things
<maz>
micken: secure is actually easier. there is no priority shift and other PMR madness that happens in NS.
<micken>
hmm
<maz>
micken: but that omap5 code is... wow... from another era.... ;-)
<micken>
maz: thanks a lot for the hint.. might prove very usefull
<maz>
micken: no worries. might be easier on email though.
VargaD has quit [Ping timeout: 252 seconds]
VargaD has joined #linux-rockchip
vagrantc has joined #linux-rockchip
nots has joined #linux-rockchip
paulk-gagarine-s has joined #linux-rockchip
paulk-gagarine has quit [Ping timeout: 240 seconds]
paulk-gagarine-s has quit [Remote host closed the connection]
paulk-gagarine has joined #linux-rockchip
matthias_bgg has quit [Quit: Leaving]
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
xerpi has quit [Remote host closed the connection]
xerpi has joined #linux-rockchip
Substring has joined #linux-rockchip
lkcl has quit [Ping timeout: 264 seconds]
Substring has quit [Client Quit]
<micken>
maz: I "think" it is running non-secure. It is a little emabarrasing , but I don't have anything (well...) that can build u-boot. As far from what I can see secure is optional. And I tried to switch to non-secure (resulted in complete halt)
<micken>
maz: and I am using non secure GRF
<micken>
gah need to find a linux box
<micken>
perhaps I can use the tinkerboard!
<beeble>
virtualbox to the rescue?
<micken>
:/
<micken>
ah yes vbox
<micken>
might do the trick
<micken>
But a better way would be if I could dd from windows and build in the "linux" mode thingy , didn't think of that