nighty- has quit [Quit: Disappears in a puff of smoke]
lurchi__ is now known as lurchi_
lurchi_ is now known as lurchi__
nighty- has joined #linux-rockchip
nots has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
aalm has joined #linux-rockchip
kaspter has joined #linux-rockchip
perr has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-rockchip
fireglow has quit [Quit: Gnothi seauton; Veritas vos liberabit]
fireglow has joined #linux-rockchip
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-rockchip
cnxsoft1 is now known as cnxsoft
cnxsoft has quit [Ping timeout: 246 seconds]
cnxsoft has joined #linux-rockchip
nots has quit [Quit: Page closed]
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 248 seconds]
vstehle has joined #linux-rockchip
stdint has quit [Ping timeout: 268 seconds]
stdint has joined #linux-rockchip
stdint has quit [Ping timeout: 268 seconds]
stdint has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
stdint has quit [Ping timeout: 268 seconds]
ganbold has quit [Remote host closed the connection]
ganbold has joined #linux-rockchip
stdint has joined #linux-rockchip
wadim_ has joined #linux-rockchip
<Pix>
Hi guys, does some of you run the vanilla 4.14 kernel on their rk3399 ?
<Pix>
i built one, but when uboot loads it.. it stucks without any console output
<beeble>
works for me
<beeble>
did you load the correct dtb? and did you set bootargs with correct console parameters?
<aalm>
heh
<aalm>
no such thing as sane defaults yet on linux it seems? :P
<Pix>
yeah i was coming to this :) dtb i think so, just took the excavator dtb from the freshly built tree, and on the console i'm not sure if i have to bot ttyS2 OR ttyFIQ0 (i have ttyFIQ0 on the 4.4 and got the console )
<beeble>
for debuging purpose you may want to set your console to something like console=uart,mmio32,0xff180000 earlyprintk (change the address to your uart)
<Pix>
i put that too ( took it from the wiki)
<Pix>
but i pasted it as-is, i don't know where to look at the address
<aalm>
dt?
<Pix>
[pix@minibenden ~]$ dmesg | grep 0xff180000
<Pix>
[ 0.930388] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 35, base_baud = 1500000) is a 16550A
<Pix>
(from my booted 4.4 kernel)
<aalm>
or check in u-boot what it uses
<Pix>
guess it's the correct one
<aalm>
yep
<beeble>
aalm: defaults can be set to sane defaults in the dtb. but if u-boot overwrites it then defaults are useless :)
<Pix>
aaaah
<Pix>
in the wiki it's uart8250,mmio,0xff1a0000 i pasted
<Pix>
lemme check with 0xff180000 :)
<Pix>
fuck, same punition
<Pix>
Enter choice: 2
<Pix>
Retrieving file: /Image-4.14
<Pix>
2: Vanilla 4.14
<Pix>
.. and i stay here
<Pix>
beeble, could i borrow your Image/dtb by chance ?
BenG83 has quit [Ping timeout: 264 seconds]
<beeble>
Pix: i don't run it on a sapphire
<beeble>
and does it really load your dtb?
<beeble>
looks like you are using extlinux.conf
<beeble>
maybe try it manually first?
<Pix>
yes
<Pix>
good idea
<rtp>
fwiw, the serial port on the 40 pin header of the sapphire is the ttyS2
<Pix>
Ok
<hanetzer>
grub2 on the asus c201 chromebook is possibly on the horizon :D
<Pix>
(same thing)
<Pix>
gonna go on searching
<Pix>
maybe there is an issue with the device tree ass you suggest beeble
perr has quit [Remote host closed the connection]
perr has joined #linux-rockchip
<maz>
hanetzer: sounds interesting. do you have pointer to this?
<maz>
hanetzer: fancy! if only coreboot would switch to non-secure...
<hanetzer>
maz: hmm? howya mean?
<maz>
hanetzer: coreboot starts the system in secure SVC, meaning we can't use virtualization (which is non-secure only). switchint to non-secure on its own is easy, but we then loose the ability to do any power management. Ideally, coreboot would implement PSCI and co, but that's starting to be a rather tall order...
perr has quit [Remote host closed the connection]
<rtp>
Pix: btw, I've configured my uboot to set uart speed to 115200 (due to mainline atf running at 115200). maybe you can try using 115200 everywhere too ?
<Pix>
rtp, ah
<Pix>
well, maybe i can try that
<Pix>
the thing is even if i have no console, the board never pings so it means i never get to userland
BenG83 has joined #linux-rockchip
<rtp>
no console and no kernel logs even with earlycon=uart8250,mmio32,0xff1a0000 earlyprintk ?
<Pix>
yep
<Pix>
nada
<Pix>
i'll try building it with gcc 7 ( i used a gcc 4.8 )
<Pix>
i build native, not cross
matthias_bgg has joined #linux-rockchip
<Pix>
(but it should not change anything)
perr has joined #linux-rockchip
<Pix>
but first maybe i need to be sure which uart address is ttyS2 ( the uart on the 40 pin connector)
matthias_bgg has quit [Remote host closed the connection]
matthias_bgg has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
<rtp>
ttyS2 is at 0xff1a0000 if I believe what I said earlier :)
<Pix>
ok :)
nighty- has quit [Quit: Disappears in a puff of smoke]
<gab>
Hi there, does anyone know if OpenCL actually works with the mali-Tx drivers on rk3399 ? (or has tested it)
nashpa has quit [Ping timeout: 268 seconds]
nashpa has joined #linux-rockchip
<beeble>
gab: yes it does
nighty- has joined #linux-rockchip
<gab>
beeble: great thanks :)
<gab>
was just checking before I'd try to make it work for nothing
<gab>
had some bad experience in the past with crappy mali drivers on some other vendor's SoC
<beeble>
my hello world worked and i have opencv with opencl running
<gab>
is there anything rockchip-specific to put in the code, or will standard opencl samples work out of the box ?
<beeble>
standard works
<gab>
excellent, thanks
perr has quit [Remote host closed the connection]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-rockchip
cyteen has quit [Read error: Connection reset by peer]
BenG83_ has joined #linux-rockchip
BenG83 has quit [Ping timeout: 264 seconds]
<Pix>
ok, getting farther ( switched to gcc 7 helped)
cnxsoft has quit [Remote host closed the connection]
aalm has quit [Ping timeout: 246 seconds]
cyteen has quit [Ping timeout: 265 seconds]
afaerber has quit [Ping timeout: 240 seconds]
jkstrick has quit [Read error: No route to host]
jkstrick has joined #linux-rockchip
BenG83_ has joined #linux-rockchip
cyteen has joined #linux-rockchip
afaerber has joined #linux-rockchip
bamvor has quit [*.net *.split]
sjg1_ has quit [*.net *.split]
srao has quit [*.net *.split]
dianders has quit [*.net *.split]
srao has joined #linux-rockchip
sjg1_ has joined #linux-rockchip
dianders has joined #linux-rockchip
bamvor has joined #linux-rockchip
wadim_ has quit [Quit: Leaving.]
matthias_bgg has quit [Ping timeout: 260 seconds]
alyssa has left #linux-rockchip [#linux-rockchip]
cyteen has quit [Read error: Connection reset by peer]
cyteen has joined #linux-rockchip
Easyfab has joined #linux-rockchip
nighty- has quit [Quit: Disappears in a puff of smoke]
nighty- has joined #linux-rockchip
<mmind00>
ayufan: didn't you want to send a patch regarding the rock64 gmac? If you don't have the time, I can do that myself as well ... while keeping you as the author of course :-)
<ayufan>
I wanted, but I didn't do it yet :)
<ayufan>
I will be happy to try
<ayufan>
just let me quickly know how to do it :)
<mmind00>
ayufan: hehe ... ideally on top of linux-next or my for-next branch, do your change (property + delays) and also drop the max-speed that's in there
<ayufan>
can you link to the tree?
<ayufan>
where I should send a patch?
<mmind00>
ayufan: then my personal approach is "git format-patch -1; scripts/get_maintainer.pl 0001-.....patch" and send it via git send-email to the people and lists you got from that
<ayufan>
ok
<ayufan>
:)
<mmind00>
ayufan: oh and most importantly write a nice commit message for it ;-)
stdint has quit [Ping timeout: 268 seconds]
<ayufan>
mmind00: sent
<ayufan>
please let me know if you received :)
stdint has joined #linux-rockchip
jkstrick has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
<mmind00>
ayufan: yep, I see it now :-) ... Recipient list also looks ok ... although generally (for future patches) you can omit get_maintainer entries labeled as "commit signer"
JohnDoe_71Rus has joined #linux-rockchip
<ayufan>
I used `git send-email --cc-cmd="scripts/get_maintainer.pl -i" 0001-rock64-dts-fix-gmac2io-stability-issues.patch`