ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
kevery has joined #linux-rockchip
Tenkawa has quit [Quit: Leaving.]
camus has quit [Ping timeout: 240 seconds]
camus has joined #linux-rockchip
camus has quit [Remote host closed the connection]
camus has joined #linux-rockchip
urja has quit [Read error: Connection reset by peer]
urja has joined #linux-rockchip
System_Error has quit [Ping timeout: 240 seconds]
macromorgan has quit [Quit: Leaving]
camus1 has joined #linux-rockchip
camus has quit [Ping timeout: 240 seconds]
camus1 is now known as camus
vagrantc has quit [Quit: leaving]
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 250 seconds]
<indy> hi all, after few months, i dusted of rockpi 4 with debian and upgraded to 5.15-rt-arm64 kernel
<indy> i have there ch368 pcie board
<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])"
<indy> does RK3399 supports i/o space access for pcie? besides memory space access?
ldevulder has joined #linux-rockchip
repk has quit [Ping timeout: 260 seconds]
repk has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
camus has quit [Ping timeout: 256 seconds]
camus has joined #linux-rockchip
Un1Gfn has quit [Quit: You have been kicked for being idle]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 272 seconds]
kevery1 is now known as kevery
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 260 seconds]
kevery1 is now known as kevery
<indy> rescan in dmesg - https://pastebin.com/aWWC9mK6
<robmur01> indy: yup, according to the DT it has a 1MB I/O space window
<indy> robmur01, io space or memory space?
<robmur01> an MMIO window to PCI I/O space
<robmur01> much like the adjacent MMIO window to PCI memory space ;)
<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)
<indy> what should be reason failing to assign io space?
<indy> afaik cm4 on baseboard fails because io space is not supported
<indy> but i hoped rk3399 supports that
<indy> "The I/O space of CH368 occupies 256 bytes" from https://github.com/cz172638/ch368 (section 6.2)
<indy> it is google translated chinese trm/datasheet from wch
<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
<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>
<indy> ?
stikonas has joined #linux-rockchip
<robmur01> that's the one
<indy> not helped
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
camus has quit [Remote host closed the connection]
camus has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
robmur01 has quit [Ping timeout: 272 seconds]
robmur01 has joined #linux-rockchip
Tenkawa has joined #linux-rockchip
<indy> is there way to access pci io and mem space directly?
<jakllsch> indy: from where?
<indy> from userspace
<jakllsch> maybe via mmap
<jakllsch> if the kernel allows, and if you can figure out all the mappings
<indy> i will try
stikonas has joined #linux-rockchip
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 252 seconds]
ldevulder_ is now known as ldevulder
camus has quit [Ping timeout: 256 seconds]
camus has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 256 seconds]
Tenkawa has quit [Ping timeout: 250 seconds]
vagrantc has joined #linux-rockchip
Tenkawa has joined #linux-rockchip
macromorgan has joined #linux-rockchip
camus has quit [Remote host closed the connection]
camus has joined #linux-rockchip
camus has quit [Ping timeout: 256 seconds]
camus has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
shailangsa has quit [Remote host closed the connection]
stikonas has quit [Remote host closed the connection]
Tenkawa has quit [Ping timeout: 256 seconds]
camus1 has joined #linux-rockchip
camus has quit [Read error: Connection reset by peer]
camus1 is now known as camus
Tenkawa has joined #linux-rockchip