mmind00 changed the topic of #linux-rockchip to: Rockchip development discussion | public log at https://libera.irclog.whitequark.org/linux-rockchip
kevery has joined #linux-rockchip
shoragan has quit [Quit: quit]
shoragan has joined #linux-rockchip
stikonas has quit [Ping timeout: 256 seconds]
camus has joined #linux-rockchip
kevery has quit [Ping timeout: 255 seconds]
kevery has joined #linux-rockchip
jaganteki has quit [Ping timeout: 250 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
droidrage has joined #linux-rockchip
naoki has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
crabbedhaloablut has joined #linux-rockchip
ldevulder has joined #linux-rockchip
warpme has joined #linux-rockchip
naoki has quit [Quit: naoki]
beeble has joined #linux-rockchip
f476_ has quit [Ping timeout: 260 seconds]
f476 has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
mripard has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Daanct12 has joined #linux-rockchip
warpme has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 245 seconds]
kevery1 is now known as kevery
paulk-bis has quit [Quit: WeeChat 3.0]
paulk has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
dsimic has quit [Ping timeout: 246 seconds]
dsimic has joined #linux-rockchip
kilobyte_ch has quit [Ping timeout: 260 seconds]
kilobyte_ch has joined #linux-rockchip
psydroid has joined #linux-rockchip
Daanct12 has quit [Quit: WeeChat 4.1.2]
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
psydroid2 has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kevery1 has joined #linux-rockchip
kevery has quit [Read error: Connection reset by peer]
kevery1 is now known as kevery
<linkmauve> Besides the proprietary rknpu2 and rknn-toolkit{,2}, has there been any reverse engineering done on the NPU side?
kevery has quit [Ping timeout: 252 seconds]
kevery has joined #linux-rockchip
<linkmauve> If not I think I’m going to start exploring that area.
warpme has joined #linux-rockchip
Stat_headcrabed has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<linkmauve> phh, is that your doing? https://github.com/phhusson/rknpu-reverse-engineering
<phh> yes
<phh> linkmauve: don't be dumb like me, and look at the TRM which completely describe it before reversing it
<phh> (reversing it did help me understand how it worked)
warpme has joined #linux-rockchip
<phh> to help understanding it, one thing to note is that it is NOT a CPU. it doesn't have an instruction set. As a first abstraction, consider it's just memory-to-memory hardware blocks. you set their config, the memory pointers, set their START register, and wait for them to finish their task
<linkmauve> Unrelated, but the GPU can use YUV formats as both input and output?!
<linkmauve> (I’m reading the TRM and “input” contains “npu”… ^^')
<linkmauve> phh, makes sense.
vagrantc has joined #linux-rockchip
<phh> it has a more advanced mode where it can chain commands (actually it's one hardware component of the NPU that simply writes the registers you asked it to, kinda like a DMA key-value writer), but I don't think it's very useful [1], and it'll just clog your brain
<phh> [1] it basically just gets you to be able to ignore most IRQs. I doubt you'll get micro-second NN tasks which would make this useful
<phh> either way, once you've written the ""basic"" mode, the advanced mode is a simple evolution of the basic one
mripard has quit [Ping timeout: 245 seconds]
<linkmauve> Is it described in another document than this one? I couldn’t find useful mentions of it in there: https://opensource.rock-chips.com/images/2/26/Rockchip_RK3568_TRM_Part1_V1.3-20220930P.PDF
<phh> uh, actually I've had much better understanding of the NPU than what I wrote...
<linkmauve> Heh. :)
<phh> linkmauve: look at RKNN section of the RK3588 documentation
<phh> kinda have to hope that the change isn't too big between those two...
kevery1 has joined #linux-rockchip
<phh> i seem to remember that rk3588 had SRAM while rk3568 didn't?
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<phh> linkmauve: you have full documentation for rk3568 in part 2 https://dl.radxa.com/rock3/docs/hw/datasheet/Rockchip%20RK3568%20TRM%20Part2%20V1.1-20210301.pdf
warpme has joined #linux-rockchip
<linkmauve> Thanks!
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
<phh> (rk3588 has three cores, that actually means three identical IPs at various memory offsets, but that have a flag to compute things together, but let's just forget it)
<linkmauve> The RDMA thingy (is that the advanced mode you mentioned?) reminds me of the display list feature of old OpenGL.
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
psydroid2 has quit [Remote host closed the connection]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
vagrantc has quit [Quit: leaving]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldevulder has quit [Quit: Leaving]
warpme has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
stikonas has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
chewitt has quit [Quit: Zzz..]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #linux-rockchip
mort has quit [Quit: Ping timeout (120 seconds)]
stikonas_ has joined #linux-rockchip
mort has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stikonas_ has quit [Quit: Konversation terminated!]
stikonas_ has joined #linux-rockchip
stikonas_ is now known as stikonas
crabbedhaloablut has quit []
stikonas_ has joined #linux-rockchip
crabbedhaloablut has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
crabbedhaloablut has quit [Client Quit]
crabbedhaloablut has joined #linux-rockchip
crabbedhaloablut has quit [Client Quit]
crabbedhaloablut has joined #linux-rockchip
crabbedhaloablut has quit []
crabbedhaloablut has joined #linux-rockchip
crabbedhaloablut has quit []
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 240 seconds]
kevery1 is now known as kevery