ChanServ changed the topic of #libreelec to: ~ LibreELEC Support Channel ~ current release: LibreELEC (Leia) 9.0.0 RELEASE ~ No discussion or support for piracy addons ~ https://libreelec.tv/2018/04/community-builds/ ~ https://freenode.irclog.whitequark.org/libreelec
Gittun has quit [Quit: ‹‹UPP››]
aphirst has quit [Remote host closed the connection]
aphirst has joined #libreelec
Butterfly^ is now known as Guest55474
Guest55474 has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
Butterfly^ has joined #libreelec
ca_cabotage has quit [Ping timeout: 246 seconds]
self has quit [Ping timeout: 264 seconds]
self has joined #libreelec
self has quit [Ping timeout: 264 seconds]
speeedy has quit [Quit: hey]
speeedy has joined #libreelec
_whitelogger has joined #libreelec
fraggle_laptop has quit [Read error: Connection reset by peer]
fraggle_laptop has joined #libreelec
JohnDoe_71Rus has joined #libreelec
andy-burns has joined #libreelec
andy-burns has quit [Ping timeout: 244 seconds]
chewitt has quit [Quit: Zzz..]
chewitt has joined #libreelec
andy-burns has joined #libreelec
_whitelogger has joined #libreelec
andy-burns has quit [Ping timeout: 250 seconds]
tsal has quit [Ping timeout: 250 seconds]
tsal has joined #libreelec
andy-burns has joined #libreelec
martian67 has quit [Quit: ZNC 1.7.2+deb1 - https://znc.in]
martian67 has joined #libreelec
nobblywobbly has joined #libreelec
self has joined #libreelec
nobblywobbly has quit [Remote host closed the connection]
_whitelogger has joined #libreelec
_whitelogger has joined #libreelec
speeedy has quit [Ping timeout: 250 seconds]
martian67 has quit [Remote host closed the connection]
Mickroz has joined #libreelec
martian67 has joined #libreelec
speeedy has joined #libreelec
gouchi has joined #libreelec
martian67 has quit [Remote host closed the connection]
martian67 has joined #libreelec
tuxiano has joined #libreelec
andy-burns has quit [Ping timeout: 250 seconds]
self has quit [Ping timeout: 264 seconds]
martian67 has quit [Quit: ZNC 1.7.2+deb1 - https://znc.in]
martian67 has joined #libreelec
self has joined #libreelec
|Jeroen| has joined #libreelec
andy-burns has joined #libreelec
martian67 has quit [Quit: ZNC 1.7.2+deb1 - https://znc.in]
martian67 has joined #libreelec
martian67 has quit [Quit: ZNC 1.7.2+deb1 - https://znc.in]
BCMM has joined #libreelec
martian67 has joined #libreelec
|Jeroen| has quit [Quit: dada]
Gittun has joined #libreelec
self has quit [Ping timeout: 264 seconds]
Mickroz has quit [Ping timeout: 246 seconds]
Mickroz has joined #libreelec
chewitt has quit [Max SendQ exceeded]
chewitt has joined #libreelec
|Jeroen| has joined #libreelec
martian67 has quit [Quit: ZNC 1.7.2+deb1 - https://znc.in]
gouchi has quit [Remote host closed the connection]
martian67 has joined #libreelec
andy-burns has quit [Ping timeout: 246 seconds]
andy-burns has joined #libreelec
fraggle_laptop has quit [Read error: Connection reset by peer]
fraggle_laptop has joined #libreelec
martian67 has quit [Quit: ZNC 1.7.2+deb1 - https://znc.in]
ca_cabotage has joined #libreelec
martian67 has joined #libreelec
martian67 has quit [Quit: ZNC 1.7.2+deb1 - https://znc.in]
martian67 has joined #libreelec
LargePrime has joined #libreelec
JohnDoe_71Rus has quit [Ping timeout: 255 seconds]
_whitelogger has joined #libreelec
ca_cabot has joined #libreelec
ca_cabotage has quit [Ping timeout: 246 seconds]
andy-burns has quit [Ping timeout: 245 seconds]
<MaDMaLKaV> Hi everyone
<MaDMaLKaV> back to the dts, wish me luck
<vpeter> Good luck :)
chewitt has quit [Ping timeout: 245 seconds]
chewitt has joined #libreelec
ca_cabo has joined #libreelec
ca_cabot has quit [Ping timeout: 255 seconds]
ca_cabot has joined #libreelec
ca_cabo has quit [Ping timeout: 245 seconds]
ca_cabot has quit [Ping timeout: 250 seconds]
<MaDMaLKaV> I'm too dummy for "device tree for dummies" :)
<MaDMaLKaV> I'm trying to understand how the pin values get resolved, so I can compare a "good" dts with a decompiled one and see if they match
<MaDMaLKaV> like
<MaDMaLKaV> decompiled -or reading the /sys devicetree in android- :
<MaDMaLKaV> pinctrl-0 = <0x6e 0x6f 0x70>;
<MaDMaLKaV> kernel dts :
<MaDMaLKaV> pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
<MaDMaLKaV> I want to see if those & alias or whathever they are called end up with those values or different ones
<MaDMaLKaV> need some fresh air, bbl
<vpeter> MaDMaLKaV: Just decompile both and compare the result?
LargePrime has quit [Quit: Leaving]
<MaDMaLKaV> wow, yeah
<MaDMaLKaV> great idea man
<MaDMaLKaV> I would rather understand how it works, but this is a great workaround to verify stuff meanwhile, thanks
<chewitt> I wouldn't worry about the compiled values
<chewitt> It's the origina/source values that count
<chewitt> what's the actual device you have?
makije has quit [Quit: Quit]
<MaDMaLKaV> a5x max , a cheapo rk3328 tv box
<chewitt> so you said you've a working (booting) dts that's only missing wifi/bt ?
<chewitt> can you pastebin the source dts?
<MaDMaLKaV> I have a working DTB that have ethernet, but not wifi, bt or ir. Don't have the sources for that one
<MaDMaLKaV> I also have a DTB with wifi but not ethernet, bt or ir. I have the sources for that one -is the trn9 one on LE git-
makije has joined #libreelec
<chewitt> can you pastebin the decompiled one you don't have sources for?
<MaDMaLKaV> I have tried several combinations of dtbs and images to get an idea of what works and what doesn't , and have compared the values in /sys devicetree with my /sys devicetree on android and a dts from an android upgrade an user provided in another forum
<vpeter> Don't have sources: decompile it :)
<MaDMaLKaV> yeah, sure, gimme some minutes
<MaDMaLKaV> vpeter: yeah, well, that is good but I'm also trying to understand what I'm doing , I want to learn a little, not just copy/paste like mad :)
<chewitt> first objective is to mod the trn9 dts to have working ethernet
<chewitt> as without source dts, you're a bit screwed to make changes
<chewitt> (not impossible, but lots more complicated)
<MaDMaLKaV> I was actually working on that , basically
makije has quit [Remote host closed the connection]
makije has joined #libreelec
<MaDMaLKaV> all the power stuff seems also more similar to the decompiled mx10 dtb than to the trn9
<MaDMaLKaV> wish I had that one to use as base...
<MaDMaLKaV> seems like my device and mx10 have a lot of stuff in common with the evb dts
<MaDMaLKaV> ummm, I sitll need to figure out how to compile the dts on the kernel, dtc gives and error because there is stuff for kernel preprocessor it doesn't understand
The_Coolest has quit [Quit: FOLD For The Cause!!!]
<MaDMaLKaV> make ARCH=arm64 CROSS_COMPILE=dunno_lol dtbs
<chewitt> are you working with LE or a generic OS?
<MaDMaLKaV> LE
<chewitt> create a patch for the kernel source and just recompile the linux package
<chewitt> PROJECT=Rockchip DEVICE=3328 ARCH=arm scripts/build linux
<chewitt> PROJECT=Rockchip DEVICE=3328 ARCH=arm UBOOT_SYSTEM=trn9 scripts/build linux
<chewitt> ^ UBOOT_SYSTEM will be required
<chewitt> as long as you've compiled the rest of the image it's only a couple of mins to respin the image
<MaDMaLKaV> I'm doing what you told me, I'm just a little slow -I have to see how to do what you told me before doing it ^^ -
<chewitt> how familiar are you with git?
<MaDMaLKaV> OK, patch file generated
<MaDMaLKaV> chewitt, somewhat familiar, not much
<MaDMaLKaV> about UBOOT_SYSTEM , I dunno what you are talking about
<MaDMaLKaV> I'm looking at the options file in the RK3328 folder , I think I need to add a line with KERNEL_MAKE_EXTRACMD+=" rockchip/rk3328-box-a5x.dtb"
<MaDMaLKaV> ?
<chewitt> into project options
<chewitt> then "PROJECT=Rockchip DEVICE=RK3328 ARCH=arm UBOOT_SYSTEM=box-a5x make image" should work
<MaDMaLKaV> I start to doubt that this is easier that make ARCH=arm CROSS_COMPILE+whatever dtbs to get a quick dtb for testing :)
<chewitt> once you put the plumbing in-place it's done
<MaDMaLKaV> OK, edited uboot_helper, added KERNEL_MAKE_EXTRACMD+=" rockchip/rk3328-box-a5x.dtb" , added the patch file
<MaDMaLKaV> does the build system any trick to know how many cores I have or can I add -j8 to the make image command?
<chewitt> it will use all cores available
<chewitt> ./tools/dashboard to see how the build slots are used
<MaDMaLKaV> OK
<MaDMaLKaV> I just remembered I forgot to try to get the IR stuff on the new dts, gonna finish that, generate new patch and compile
gouchi has joined #libreelec
<MaDMaLKaV> # CONFIG_ROCKCHIP_REMOTECTL is not set
<MaDMaLKaV> but my remote seems to use a pwm interface linked to that... dunno if I should enable it
<chewitt> I wouldn't be surprised if I missed something btw .. I'm not the world greatest expert :)
<MaDMaLKaV> your are being really helpful :)
<MaDMaLKaV> even if we miss something, we will leave a good base with this, errors should appear on the console to guide me
<MaDMaLKaV> OK, my dirty trick to generate the patch didn't work XD
<MaDMaLKaV> gonna dinner something and see how to properly generate it
tuxiano has quit [Quit: tuxiano]
|Jeroen| has quit [Quit: dada]
andy-burns has joined #libreelec
<MaDMaLKaV> make says there is no rule to build arch/arm64/boot/dts/rockchip/rk3328-box-a5x.dtb
<MaDMaLKaV> seems I need to add some more stuff, looking at it
<MaDMaLKaV> oh, the uboot_system thing , never got to do anything about it, lemme look
svetlemodry has joined #libreelec
<MaDMaLKaV> OK, I can't find what I have to modify to get it to compile
<MaDMaLKaV> let's call it a day
chewitt has quit [Ping timeout: 268 seconds]
andy-burns has quit [Ping timeout: 268 seconds]
gouchi has quit [Remote host closed the connection]
ngc0202 has joined #libreelec
<ngc0202> hey, I realized LE wasn't outputting in 4k and I couldn't set it higher than 1080p, how do I get it to do that?
<ngc0202> I'm updating to 9.0.1 from 8.2.5 rn since I saw it in the topic
<ngc0202> not sure if that'll help though
ca_cabotage has joined #libreelec
moufl has quit [Ping timeout: 245 seconds]
Gittun has quit [Quit: ‹‹UPP››]
<TheTrash> If the setting is not there, something in the chain isn't convinced 4k is supported. What platform?