2021-06-29 16:00
ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
00:39
kevery has joined #linux-rockchip
01:06
Tenkawa has quit [Quit: Leaving.]
01:46
camus has quit [Ping timeout: 240 seconds]
02:01
camus has joined #linux-rockchip
02:04
camus has quit [Remote host closed the connection]
02:05
camus has joined #linux-rockchip
02:48
urja has quit [Read error: Connection reset by peer]
02:49
urja has joined #linux-rockchip
03:52
System_Error has quit [Ping timeout: 240 seconds]
03:55
macromorgan has quit [Quit: Leaving]
04:56
camus1 has joined #linux-rockchip
04:58
camus has quit [Ping timeout: 240 seconds]
04:58
camus1 is now known as camus
04:59
vagrantc has quit [Quit: leaving]
05:57
lurchi_ has joined #linux-rockchip
05:58
lurchi__ has quit [Ping timeout: 250 seconds]
07:22
<
indy >
hi all, after few months, i dusted of rockpi 4 with debian and upgraded to 5.15-rt-arm64 kernel
07:25
<
indy >
i have there ch368 pcie board
07:27
<
indy >
lspci says "I/O behind bridge: 00000000-00000fff [size=4K]" for "PCI bridge: Fuzhou Rockchip Electronics Co., Ltd RK3399 PCI Express Root Port (prog-if 00 [Normal decode])"
07:56
<
indy >
does RK3399 supports i/o space access for pcie? besides memory space access?
08:07
ldevulder has joined #linux-rockchip
08:18
repk has quit [Ping timeout: 260 seconds]
08:29
repk has joined #linux-rockchip
08:33
matthias_bgg has joined #linux-rockchip
08:34
camus has quit [Ping timeout: 256 seconds]
08:34
camus has joined #linux-rockchip
09:00
Un1Gfn has quit [Quit: You have been kicked for being idle]
09:03
kevery1 has joined #linux-rockchip
09:05
kevery has quit [Ping timeout: 272 seconds]
09:05
kevery1 is now known as kevery
09:40
kevery1 has joined #linux-rockchip
09:42
kevery has quit [Ping timeout: 260 seconds]
09:42
kevery1 is now known as kevery
10:22
<
robmur01 >
indy: yup, according to the DT it has a 1MB I/O space window
10:23
<
indy >
robmur01, io space or memory space?
10:25
<
robmur01 >
an MMIO window to PCI I/O space
10:25
<
robmur01 >
much like the adjacent MMIO window to PCI memory space ;)
10:27
<
robmur01 >
(even though it typically is the case, note that PCI memory space doesn't
*have* to be mapped 1:1 with the system memory map either)
10:30
<
indy >
what should be reason failing to assign io space?
10:31
<
indy >
afaik cm4 on baseboard fails because io space is not supported
10:32
<
indy >
but i hoped rk3399 supports that
10:45
<
indy >
it is google translated chinese trm/datasheet from wch
10:51
<
robmur01 >
possibly something's getting confused by the I/O region being at a silly bus address? According to the binding, the middle cell is supposed to be 0
10:53
<
robmur01 >
I'd see if fixing that makes any difference, i.e. change the second "ranges" entry on the pcie node to <0x81000000 0x0 0x00000000 0x0 0xfbe00000 0x0 0x100000>
11:29
stikonas has joined #linux-rockchip
11:34
<
robmur01 >
that's the one
12:43
matthias_bgg has quit [Read error: Connection reset by peer]
12:43
matthias_bgg has joined #linux-rockchip
13:32
camus has quit [Remote host closed the connection]
13:32
camus has joined #linux-rockchip
13:58
stikonas has quit [Remote host closed the connection]
14:01
robmur01 has quit [Ping timeout: 272 seconds]
14:07
robmur01 has joined #linux-rockchip
14:13
Tenkawa has joined #linux-rockchip
14:13
<
indy >
is there way to access pci io and mem space directly?
14:16
<
jakllsch >
indy: from where?
14:20
<
indy >
from userspace
14:23
<
jakllsch >
maybe via mmap
14:23
<
jakllsch >
if the kernel allows, and if you can figure out all the mappings
15:11
stikonas has joined #linux-rockchip
15:50
ldevulder has quit [Read error: Connection reset by peer]
15:50
ldevulder has joined #linux-rockchip
16:03
ldevulder_ has joined #linux-rockchip
16:06
ldevulder has quit [Ping timeout: 252 seconds]
17:09
ldevulder_ is now known as ldevulder
17:34
camus has quit [Ping timeout: 256 seconds]
17:34
camus has joined #linux-rockchip
17:56
matthias_bgg has quit [Ping timeout: 256 seconds]
18:40
Tenkawa has quit [Ping timeout: 250 seconds]
18:54
vagrantc has joined #linux-rockchip
18:56
Tenkawa has joined #linux-rockchip
19:45
macromorgan has joined #linux-rockchip
20:09
camus has quit [Remote host closed the connection]
20:09
camus has joined #linux-rockchip
20:22
camus has quit [Ping timeout: 256 seconds]
20:23
camus has joined #linux-rockchip
21:06
vagrantc has quit [Quit: leaving]
22:17
shailangsa has quit [Remote host closed the connection]
23:07
stikonas has quit [Remote host closed the connection]
23:50
Tenkawa has quit [Ping timeout: 256 seconds]
23:53
camus1 has joined #linux-rockchip
23:55
camus has quit [Read error: Connection reset by peer]
23:55
camus1 is now known as camus
23:56
Tenkawa has joined #linux-rockchip