ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
vagrantc has quit [Quit: leaving]
drrty has quit [Ping timeout: 245 seconds]
vstehle has quit [Ping timeout: 268 seconds]
vicencb has quit [Quit: Leaving.]
kaspter has quit [Quit: kaspter]
vstehle has joined #linux-rockchip
jlanda has quit [Quit: jlanda]
jlanda has joined #linux-rockchip
ldevulder_ is now known as ldevulder
yann has quit [Ping timeout: 265 seconds]
ayaka has quit [Ping timeout: 265 seconds]
ayaka has joined #linux-rockchip
kaspter has joined #linux-rockchip
vicencb has joined #linux-rockchip
yann has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kevery has joined #linux-rockchip
kevery1 has joined #linux-rockchip
field^Mop has joined #linux-rockchip
cristian_c has quit [Ping timeout: 258 seconds]
kevery has left #linux-rockchip [#linux-rockchip]
kevery1 has left #linux-rockchip [#linux-rockchip]
kevery1 has joined #linux-rockchip
kevery1 has quit [Ping timeout: 245 seconds]
mniip has quit [Ping timeout: 610 seconds]
field^Mop has quit [Ping timeout: 258 seconds]
ganbold has quit [Ping timeout: 265 seconds]
ganbold has joined #linux-rockchip
ganbold has quit [Ping timeout: 265 seconds]
ganbold has joined #linux-rockchip
kevery has joined #linux-rockchip
kevery has quit [Ping timeout: 245 seconds]
kevery has joined #linux-rockchip
smak201 has joined #linux-rockchip
grkblood13 has joined #linux-rockchip
field^Mop has joined #linux-rockchip
Depau has quit [Quit: ZNC 1.7.4 - https://znc.in]
field^Mop has quit [Ping timeout: 265 seconds]
Depau has joined #linux-rockchip
Depau has quit [Quit: ZNC 1.7.4 - https://znc.in]
Depau has joined #linux-rockchip
wadim_ has quit [Quit: Leaving.]
<smak201> hi, has someone here managed to get pcie working on rk3399?
<smak201> I have been trying various kernels, but always seem to get timeout in pcie lane training
mniip has joined #linux-rockchip
<smak201> I'm running nanopc-t4 and pcie seems to work with friendlyelec's friendlycore images but nothing else I have tried
<smak201> I just can't figure out what's the magic sauce they put in it
field^Mop has joined #linux-rockchip
<maz> smak201: I have a nanopc-t4 running with both mainline u-boot and kernel, and PCIe is definitely working (I have a NVME SSD on it).
<smak201> maz: great to hear
<smak201> i also have samsung pm981 NVME on it and running currently mainline 5.3.0-rc6 but just can't get the pcie up
<smak201> are you using the nanopc-t4 device tree in the mainline kernel?
<maz> smak201: yes (or so I seem to remember, I don't have the machine in front of me).
<smak201> ok, but at least there is then some hope to get it working
<maz> smak201: there was something subtle about the uboot device tree vs the kernel one. I basically have to boot u-boot with its own device tree, then load the kernel's from grub.
<smak201> good to know. I have to start working with the mainline u-boot then
<smak201> I tries it some time ago, but couldn't get it to boot
<maz> smak201: I'm not sure u-boot is changing the situation much (it doesn't know about the PCIe bus at all, AFAIK).
<maz> smak201: but there's all kind of subtle things about having the right regulators, phys and co in your kernel.
<smak201> I have the uboot booting the kernel image directly now, I will try to add grub in the mix and see if it helps
<maz> grub won't change a thing.
<maz> the kernel should be able to do it directly if it has the right DT and all the regulators/phys and co compiled in.
<smak201> as far as I understood the nanopc-t4 seems to have the pci power rails wired directly to the main 3.3V regulators
<smak201> so there is no way switching them on or off
Depau has quit [Ping timeout: 264 seconds]
<smak201> but I think it has something to do with the device trees if you have it working
<maz> I assume you have the pcie phy driver compiled in, right?
<smak201> I have it as a module right now
<smak201> to be able to recompile and test stuff easier
<smak201> do you think that might be a problem?
<maz> yup.
<maz> have both phy driver and pcie controller compiled in.
<maz> modules are just a universal pain
<smak201> I will try to compile them in and see if something changes
<smak201> maz: thanks a lot for your help. Good to know there is at least some hope to get it working
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 265 seconds]
Depau has joined #linux-rockchip
field^Mop has quit [Ping timeout: 276 seconds]
return0e has joined #linux-rockchip
return0e_ has quit [Ping timeout: 276 seconds]
kevery has quit [Ping timeout: 258 seconds]
lkcl has quit [Ping timeout: 240 seconds]
ganbold has quit [Remote host closed the connection]
yann has quit [Ping timeout: 240 seconds]
field^Mop has joined #linux-rockchip
yann has joined #linux-rockchip
cristian_c has joined #linux-rockchip
elektrinis has quit [Read error: Connection reset by peer]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #linux-rockchip
j45 has quit [Remote host closed the connection]
busterbcook has quit [Quit: ZNC 1.7.4 - https://znc.in]
busterbcook has joined #linux-rockchip
j45 has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 246 seconds]
gnufan_home has joined #linux-rockchip
jelly has quit [Ping timeout: 268 seconds]
stikonas has quit [Remote host closed the connection]
field^Mop has quit [Ping timeout: 276 seconds]
stikonas has joined #linux-rockchip
ifbizo has quit [Remote host closed the connection]
jelly-home has joined #linux-rockchip
gnufan_home has quit [Quit: Leaving.]
ifbizo has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
inode has quit [Ping timeout: 250 seconds]
inode has joined #linux-rockchip