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 [Ping timeout: 258 seconds]
vicencb has quit [Quit: Leaving.]
stikonas has quit [Remote host closed the connection]
stikonas 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]
vstehle has quit [Ping timeout: 246 seconds]
cristian__c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
kaspter has joined #linux-rockchip
chewitt has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 264 seconds]
camus is now known as kaspter
vstehle has joined #linux-rockchip
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
cristian_c has quit [Read error: Connection reset by peer]
cristian_c has joined #linux-rockchip
chewitt has quit [Quit: Zzz..]
_whitelogger has joined #linux-rockchip
chewitt has joined #linux-rockchip
chewitt has quit [Client Quit]
chewitt has joined #linux-rockchip
beeble has joined #linux-rockchip
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined #linux-rockchip
chewitt has quit [Quit: Zzz..]
cristian_c has quit [Ping timeout: 272 seconds]
ldevulder_ is now known as ldevulder
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
wadim_ has quit [Ping timeout: 268 seconds]
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
vicencb has joined #linux-rockchip
wadim_ has joined #linux-rockchip
apritzel has joined #linux-rockchip
t3st3r has quit [Ping timeout: 256 seconds]
t3st3r has joined #linux-rockchip
somy has quit [Ping timeout: 252 seconds]
nsaenz has quit [Quit: Leaving]
nsaenz has joined #linux-rockchip
afaerber has joined #linux-rockchip
lisa has joined #linux-rockchip
djdram has joined #linux-rockchip
<djdram> HI
<s_frit> hello
<s_frit> that's what it says in the channel topic
<djdram> how can i find rasta234 ?
<djdram> == No such nick/channel: rasta234
<djdram> == End of WHOIS
<s_frit> i don't know, sorry. maybe someone else knows
<s_frit> why do you ask?
<djdram> he tried to build a core for rk3399
<djdram> I wanted to know the results and join the revision
<s_frit> for which board?
<djdram> TV-Box Yundoo Y8, in .dts model = "Rockchip RK3399 Board rev2 (BOX)";
<djdram> from the Firefly ROC-RK3399-PC
<djdram> not working USB
field^Mop has joined #linux-rockchip
<djdram> The OS itself is running
<djdram> dts Yundoo Y8 - https://pastebin.com/X5maiK88
<djdram> Will it be enough to replace the data in rk3399-roc-pc.dts from my dts?
<djdram> for build kernel
<djdram> usb will work after this on this kernel?
<s_frit> no idea. but if you only change the dts you only need to update the dtb on the device, not the kernel
<djdram> dtb on the device - is it possible in more detail how? where to get it(dtb)? how to add to the structure?
<s_frit> edit the dts, rebuild it
<s_frit> *rebuild the dtb
<djdram> dtb will I get when building the kernel?
<s_frit> you have the kernel source tree?
<s_frit> with all the dts, dtsi etc?
<djdram> this source kernel
<s_frit> yes
<s_frit> so if you have that in your local file system, you can just go to the root directory and type `make dtbs`
<s_frit> that's how i do it anyway
<s_frit> assuming you are on linux with the right tools installed
<djdram> if make kernel in this repository it works on my device except usb
<s_frit> ok
<s_frit> i am not an expert. i don't know why usb fails
<djdram> `make dtbs` in the source code in the kernel folder?
<s_frit> that will compile any changes that you made to the dts into the dtb
<s_frit> also will include any changes that you made to related dtsi
<djdram> ok thx
<djdram> I don't have DTSI, I could only get DTS from the device
<djdram> using the Device Tree Compiler
<s_frit> oh i see
<s_frit> that is slightly different
<s_frit> so you converted the dtb from the device into a dts?
<djdram> mkdir /tmp/dtb
<djdram> adb pull /proc/device-tree/ /tmp/dtb
<djdram> dtc -I fs -O dts /tmp/dtb/ > /tmp/android.dts
<djdram> so i got dts via adb
<djdram> there are many files and directories in the "/tmp/dtb" folder
<djdram> maybe they need to be moved somewhere in the source code?
<djdram> is dtb in uboot?
<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
<s_frit> the dts that you have is not the same as the "source dts" that is in /kernel/arch/arm64/boot/dts/rockchip
<s_frit> the source dts is more organised, and includes .dtsi files and so on
<s_frit> basically source dts + dtsi gets compiled into the dtb that you have
<s_frit> at least that's how i understand the process
<djdram> Where can I get dtsi, is it possible to get it from the device?
<s_frit> i don't believe so. i think the "make dtbs" process flattens everything
<s_frit> all of the relevant information is in the dtb
<s_frit> if you compare your dts to the ones in the kernel tree i think you will get the idea
<djdram> not dtsi
<djdram> in file
<djdram> #include "rk3399.dtsi"
<s_frit> yes. and others
<djdram> #include "rk3399-android.dtsi"
<s_frit> but what i mean is, compart the actual contents of the dts
<djdram> Probably they do not need to create your own dtsi
<s_frit> you will see that some names are replaced by data that come from dtsi in the kernel version
<s_frit> it depends
<s_frit> what do you want to do now?
<djdram> I am trying to change dts (rk3399-roc-pc.dts) according to my dts obtained from the device
<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
<djdram> dtsi - leave that were in rk3399-roc-pc.dts
<s_frit> yes definitely i agree
<s_frit> but that is not the issue
<s_frit> the issue is that your device dts contains stuff that was pulled from those dtsi and you have to compare each one
<s_frit> comparing dts is not easy
<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
<s_frit> sorry if i confuse you
<djdram> not working usb, I can not connect via ADB
<djdram> ok, thanks for the help, I'll try to figure out the structure of the device tree
nighty- has quit [Quit: Disappears in a puff of smoke]
<djdram> hm.. maybe rk3399-roc-pc.dtb unpack uboot from firmware
cristian_c has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 245 seconds]
ldevulder_ is now known as ldevulder
BenG83 has joined #linux-rockchip
wadim_ has quit [Read error: Connection reset by peer]
scelestic has joined #linux-rockchip
djdram has quit [Ping timeout: 256 seconds]
aalm has quit [Quit: xyz 2.3]
stikonas has joined #linux-rockchip
aalm has joined #linux-rockchip
apritzel has quit [Remote host closed the connection]
apritzel has joined #linux-rockchip
apritzel has quit [Ping timeout: 255 seconds]
athidhep has quit [Ping timeout: 245 seconds]
athidhep has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
Substring has joined #linux-rockchip
rich0 has quit [Quit: rich0]
vagrantc has joined #linux-rockchip
rich0 has joined #linux-rockchip
somy has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
vagrantc has quit [Quit: leaving]
vagrantc has joined #linux-rockchip
vagrantc_ has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
vagrantc_ is now known as vagrantc
vicencb has joined #linux-rockchip
BenG83 has quit [Quit: Leaving]
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 255 seconds]
Substring has quit [Quit: Leaving]
athidhep has quit [Quit: athidhep]
vagrantc has quit [Quit: leaving]