01:00
vagrantc has quit [Ping timeout: 258 seconds]
01:04
vicencb has quit [Quit: Leaving.]
01:35
stikonas has quit [Remote host closed the connection]
01:38
stikonas has joined #linux-rockchip
01:39
stikonas has quit [Remote host closed the connection]
01:41
stikonas has joined #linux-rockchip
01:41
stikonas has quit [Remote host closed the connection]
02:04
vstehle has quit [Ping timeout: 246 seconds]
03:34
cristian__c has quit [Read error: Connection reset by peer]
03:34
cristian_c has joined #linux-rockchip
03:39
kaspter has joined #linux-rockchip
04:12
chewitt has joined #linux-rockchip
05:21
camus has joined #linux-rockchip
05:23
kaspter has quit [Ping timeout: 264 seconds]
05:23
camus is now known as kaspter
06:00
vstehle has joined #linux-rockchip
06:07
chewitt has quit [Read error: Connection reset by peer]
06:07
chewitt has joined #linux-rockchip
06:18
_whitelogger has joined #linux-rockchip
06:19
cristian_c has quit [Read error: Connection reset by peer]
06:19
cristian_c has joined #linux-rockchip
06:24
chewitt has quit [Quit: Zzz..]
06:32
_whitelogger has joined #linux-rockchip
06:50
chewitt has joined #linux-rockchip
06:52
chewitt has quit [Client Quit]
06:54
chewitt has joined #linux-rockchip
07:10
beeble has joined #linux-rockchip
07:56
indy has joined #linux-rockchip
08:19
chewitt has quit [Quit: Zzz..]
08:21
cristian_c has quit [Ping timeout: 272 seconds]
08:24
ldevulder_ is now known as ldevulder
08:41
MoeIcenowy has joined #linux-rockchip
08:50
stikonas has joined #linux-rockchip
08:59
stikonas has quit [Remote host closed the connection]
09:08
wadim_ has quit [Ping timeout: 268 seconds]
09:12
nsaenz has joined #linux-rockchip
09:14
nsaenz has quit [Remote host closed the connection]
09:16
nsaenz has joined #linux-rockchip
09:36
vicencb has joined #linux-rockchip
09:41
wadim_ has joined #linux-rockchip
09:47
apritzel has joined #linux-rockchip
09:59
t3st3r has quit [Ping timeout: 256 seconds]
10:01
t3st3r has joined #linux-rockchip
10:53
somy has quit [Ping timeout: 252 seconds]
11:14
nsaenz has quit [Quit: Leaving]
11:14
nsaenz has joined #linux-rockchip
12:27
afaerber has joined #linux-rockchip
12:35
lisa has joined #linux-rockchip
12:51
djdram has joined #linux-rockchip
12:56
<
s_frit >
that's what it says in the channel topic
12:58
<
djdram >
how can i find rasta234 ?
13:02
<
djdram >
== No such nick/channel: rasta234
13:02
<
djdram >
== End of WHOIS
13:02
<
s_frit >
i don't know, sorry. maybe someone else knows
13:03
<
s_frit >
why do you ask?
13:04
<
djdram >
he tried to build a core for rk3399
13:04
<
djdram >
I wanted to know the results and join the revision
13:06
<
s_frit >
for which board?
13:07
<
djdram >
TV-Box Yundoo Y8, in .dts model = "Rockchip RK3399 Board rev2 (BOX)";
13:10
<
djdram >
from the Firefly ROC-RK3399-PC
13:10
<
djdram >
not working USB
13:10
field^Mop has joined #linux-rockchip
13:11
<
djdram >
The OS itself is running
13:15
<
djdram >
Will it be enough to replace the data in rk3399-roc-pc.dts from my dts?
13:15
<
djdram >
for build kernel
13:18
<
djdram >
usb will work after this on this kernel?
13:19
<
s_frit >
no idea. but if you only change the dts you only need to update the dtb on the device, not the kernel
13:21
<
djdram >
dtb on the device - is it possible in more detail how? where to get it(dtb)? how to add to the structure?
13:21
<
s_frit >
edit the dts, rebuild it
13:22
<
s_frit >
*rebuild the dtb
13:22
<
djdram >
dtb will I get when building the kernel?
13:22
<
s_frit >
you have the kernel source tree?
13:22
<
s_frit >
with all the dts, dtsi etc?
13:23
<
djdram >
this source kernel
13:24
<
s_frit >
so if you have that in your local file system, you can just go to the root directory and type `make dtbs`
13:24
<
s_frit >
that's how i do it anyway
13:24
<
s_frit >
assuming you are on linux with the right tools installed
13:24
<
djdram >
if make kernel in this repository it works on my device except usb
13:25
<
s_frit >
i am not an expert. i don't know why usb fails
13:26
<
djdram >
`make dtbs` in the source code in the kernel folder?
13:28
<
s_frit >
that will compile any changes that you made to the dts into the dtb
13:28
<
s_frit >
also will include any changes that you made to related dtsi
13:30
<
djdram >
I don't have DTSI, I could only get DTS from the device
13:30
<
djdram >
using the Device Tree Compiler
13:31
<
s_frit >
that is slightly different
13:31
<
s_frit >
so you converted the dtb from the device into a dts?
13:32
<
djdram >
mkdir /tmp/dtb
13:32
<
djdram >
adb pull /proc/device-tree/ /tmp/dtb
13:32
<
djdram >
dtc -I fs -O dts /tmp/dtb/ > /tmp/android.dts
13:33
<
djdram >
so i got dts via adb
13:35
<
djdram >
there are many files and directories in the "/tmp/dtb" folder
13:35
<
djdram >
maybe they need to be moved somewhere in the source code?
13:36
<
djdram >
is dtb in uboot?
13:37
<
s_frit >
i am not familiar with how this works with android, but i think yes uboot passes the dtb to the linux kernel somehow
13:38
<
s_frit >
the dts that you have is not the same as the "source dts" that is in /kernel/arch/arm64/boot/dts/rockchip
13:38
<
s_frit >
the source dts is more organised, and includes .dtsi files and so on
13:38
<
s_frit >
basically source dts + dtsi gets compiled into the dtb that you have
13:39
<
s_frit >
at least that's how i understand the process
13:42
<
djdram >
Where can I get dtsi, is it possible to get it from the device?
13:42
<
s_frit >
i don't believe so. i think the "make dtbs" process flattens everything
13:42
<
s_frit >
all of the relevant information is in the dtb
13:43
<
s_frit >
if you compare your dts to the ones in the kernel tree i think you will get the idea
13:45
<
djdram >
#include "rk3399.dtsi"
13:46
<
s_frit >
yes. and others
13:46
<
djdram >
#include "rk3399-android.dtsi"
13:47
<
s_frit >
but what i mean is, compart the actual contents of the dts
13:47
<
djdram >
Probably they do not need to create your own dtsi
13:47
<
s_frit >
you will see that some names are replaced by data that come from dtsi in the kernel version
13:47
<
s_frit >
it depends
13:48
<
s_frit >
what do you want to do now?
13:51
<
djdram >
I am trying to change dts (rk3399-roc-pc.dts) according to my dts obtained from the device
13:52
<
s_frit >
ok. so start comparing and see where you get stuck. i think you will find many differences that arise because you don't have dtsi for your device dts
13:52
<
djdram >
dtsi - leave that were in rk3399-roc-pc.dts
13:52
<
s_frit >
yes definitely i agree
13:53
<
s_frit >
but that is not the issue
13:53
<
s_frit >
the issue is that your device dts contains stuff that was pulled from those dtsi and you have to compare each one
13:53
<
s_frit >
comparing dts is not easy
13:54
<
s_frit >
maybe better to compile rk3399-roc-pc.dts, then convert rk3399-roc-pc.dtb back to a dts and then compare that to your device dts to work out what is different
13:56
<
s_frit >
sorry if i confuse you
13:56
<
djdram >
not working usb, I can not connect via ADB
14:02
<
djdram >
ok, thanks for the help, I'll try to figure out the structure of the device tree
14:03
nighty- has quit [Quit: Disappears in a puff of smoke]
14:03
<
djdram >
hm.. maybe rk3399-roc-pc.dtb unpack uboot from firmware
14:06
cristian_c has joined #linux-rockchip
14:07
ldevulder_ has joined #linux-rockchip
14:11
ldevulder has quit [Ping timeout: 245 seconds]
15:02
ldevulder_ is now known as ldevulder
15:33
BenG83 has joined #linux-rockchip
15:37
wadim_ has quit [Read error: Connection reset by peer]
15:46
scelestic has joined #linux-rockchip
15:50
djdram has quit [Ping timeout: 256 seconds]
15:58
aalm has quit [Quit: xyz 2.3]
17:36
stikonas has joined #linux-rockchip
18:15
aalm has joined #linux-rockchip
18:17
apritzel has quit [Remote host closed the connection]
18:17
apritzel has joined #linux-rockchip
18:22
apritzel has quit [Ping timeout: 255 seconds]
18:40
athidhep has quit [Ping timeout: 245 seconds]
18:54
athidhep has joined #linux-rockchip
19:03
afaerber has quit [Quit: Leaving]
19:15
Substring has joined #linux-rockchip
19:39
rich0 has quit [Quit: rich0]
19:41
vagrantc has joined #linux-rockchip
19:41
rich0 has joined #linux-rockchip
20:47
somy has joined #linux-rockchip
20:57
vicencb has quit [Quit: Leaving.]
21:01
vagrantc has quit [Quit: leaving]
21:23
vagrantc has joined #linux-rockchip
21:38
vagrantc_ has joined #linux-rockchip
21:55
vagrantc has quit [Quit: leaving]
21:55
vagrantc_ is now known as vagrantc
21:57
vicencb has joined #linux-rockchip
22:03
BenG83 has quit [Quit: Leaving]
22:15
return0e_ has joined #linux-rockchip
22:17
return0e has quit [Ping timeout: 255 seconds]
22:25
Substring has quit [Quit: Leaving]
23:37
athidhep has quit [Quit: athidhep]
23:49
vagrantc has quit [Quit: leaving]