Turl changed the topic of #linux-sunxi to: Allwinner/sunxi /development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
lennyraposo has quit [Read error: Connection reset by peer]
<longsleep> lennyraposo: mhm, that sunxi_drm does not seem to be compatible with the disp2 driver in the BSP
al1o has joined #linux-sunxi
lennyraposo has joined #linux-sunxi
xinj has quit [Read error: Connection reset by peer]
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<longsleep> lennyraposo: that sunxi_drm is not compatible to the disp2 driver in the BSP Kernel
xinj has joined #linux-sunxi
<lennyraposo> so
<lennyraposo> great
<longsleep> lennyraposo: i was under the impression you compiled the drm modules? no?
<lennyraposo> I placed them in the gpu section and included the entries
<lennyraposo> and it did compile
<lennyraposo> even booted off the new image
<lennyraposo> new kernel
<longsleep> lennyraposo: i highly doubt that it compiled any sunxi_drm_*.o file
<longsleep> lennyraposo: after all it does include things not there, accesses members not there and uses too many arguments
<lennyraposo> selected the new additions under graphics
<lennyraposo> let me check
<longsleep> lennyraposo: you probably did not add it to the Makefile
<longsleep> lennyraposo: see my branch, i pushed it
<lennyraposo> I did add it
<lennyraposo> kconfig
<longsleep> not kconfig
<longsleep> Makefile
<lennyraposo> source "drivers/gpu/drm/sunxi/Kconfig"
<longsleep> not enough
<lennyraposo> ok
apritzel1 has quit [Ping timeout: 244 seconds]
<longsleep> lennyraposo: we need a disp2 driver which includes the de_feat_get_num_screens, neither the BSP 1.2 nor the BSP 2.0 one seem to have this
<longsleep> lennyraposo: thats how fare i came after fixing include paths and removing some maybe optional features accessing non existing struct members
<lennyraposo> so this is a wild goose chase and they really didn't get this thing to work
<lennyraposo> atleast not on your kernel efforts
<longsleep> lennyraposo: well, the sunxi_drm is obviously out of tree and the have made it with a newer disp2 driver not available to us
<lennyraposo> already messaged tllim earlier today stating the difficulties thus far
<longsleep> lennyraposo: btw, i am force pushing to that branch so if you use it make sure to pull with --rebase
<lennyraposo> will do
<longsleep> lennyraposo: i am going to sleep now, have a good night
<lennyraposo> you too mate
<lennyraposo> and thanks for the insight
keh has quit [Ping timeout: 260 seconds]
<wens> MoeIcenowy: I'd really like to through something at the one who designed all this :(
<wens> MoeIcenowy: you could see if it's possible to merge the drivers using a struct to store all the register offsets and bits
<wens> that's assuming they operate similarly
xinj has quit [Ping timeout: 240 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 272 seconds]
cnxsoft has joined #linux-sunxi
<MoeIcenowy> wens: I think we don't need to consider irq now
<MoeIcenowy> on sun8iw5 irq is also not used
a|3x has joined #linux-sunxi
<MoeIcenowy> and the reg map is very different to sun4i-ts
<MoeIcenowy> wens: the sun8i-ths driver has some magic number to calculate the temperature based on the raw output
<MoeIcenowy> should they be detected by "sun8iw3-ths", "sun8iw5-ths", "sun9i-ths"
<wens> Orz
<MoeIcenowy> and for sun8iw3/5 the control register's value is different
<MoeIcenowy> (it may be the first time that wafer number appear in mainline kernel?
<MoeIcenowy> (I read about sun8i-ths (h3) driver, the magic number is hardcoded in sun8i_ths_get_temp
gzamboni has quit [Ping timeout: 246 seconds]
<MoeIcenowy> and I cannot find any clock definition in the sdk sun8iw3/5 driver...
p1u3sch1 has quit [Ping timeout: 260 seconds]
p1u3sch1 has joined #linux-sunxi
<MoeIcenowy> wens: how can I acquire the clock and reset info?
<MoeIcenowy> I foud nothing in the CCU part of A33 user manual
<MoeIcenowy> found
solarnetone has joined #linux-sunxi
fire219 has quit [Read error: Connection reset by peer]
<wens> hmmm, they should be there?
<wens> if not then there's no reset control. and it just takes osc24M
<wens> (and audio PLL?)
<TheLinuxBug> so samsung evo (MB-MP16D) or sandisk ultra which is the better microsd to purchase?
IgorPec has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
<KotCzarny> TheLinuxBug: evo+ maybe, you need the best 4k random io
orly_owl has joined #linux-sunxi
Netlynx has joined #linux-sunxi
zuikis has joined #linux-sunxi
vagrantc has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
jbrown has quit [Ping timeout: 276 seconds]
gzamboni has joined #linux-sunxi
apritzel1 has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
zuikis has quit [Remote host closed the connection]
zuikis has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
apritzel1 has quit [Ping timeout: 244 seconds]
staplr has joined #linux-sunxi
orly_owl has quit [Ping timeout: 260 seconds]
orly_owl has joined #linux-sunxi
Amit_t_ has joined #linux-sunxi
staplr has quit [Read error: No route to host]
staplr has joined #linux-sunxi
scream has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
jernej has quit [Quit: Konversation terminated!]
afaerber has quit [Quit: Ex-Chat]
Amit_t_ has quit [Ping timeout: 250 seconds]
Amit_t_ has joined #linux-sunxi
<MoeIcenowy> wens: according to the manual
<MoeIcenowy> it's really using audio pll
<MoeIcenowy> I think we have now no pll1 driver on a23/33
<MoeIcenowy> in addition, the sun8iw6/sun9i ths is much different than sun8iw3/5
<Amit_t_> apritzel: Hello, I compile with latest head at 02ac84a51069b8e110fce986552975ac41d2a033 but when boot it , I see this http://paste.ubuntu.com/17846039/
<longsleep> lennyraposo: seems like the Pin64 BSP-2.0 disp2 drivers are required for the drm stuf .. i am looking into it again :/
apritzel1 has joined #linux-sunxi
reinforce has joined #linux-sunxi
<MoeIcenowy> oh I'm sorry
<MoeIcenowy> I mean " I think we have now no pll2 driver on a23/33"
<MoeIcenowy> have anyone written one?
kaspter has joined #linux-sunxi
IgorPec10 has joined #linux-sunxi
zuikis has left #linux-sunxi [#linux-sunxi]
apritzel has quit [Ping timeout: 244 seconds]
IgorPec10 has quit [Ping timeout: 244 seconds]
jstein has quit [Remote host closed the connection]
kaspter has quit [Ping timeout: 264 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 264 seconds]
cnxsoft1 is now known as cnxsoft
paulk-aldrin has joined #linux-sunxi
Netlynx has joined #linux-sunxi
pmattern has joined #linux-sunxi
IgorPec10 has joined #linux-sunxi
staplr has quit [Ping timeout: 260 seconds]
Netlynx has quit [Quit: Leaving]
apritzel1 has quit [Ping timeout: 244 seconds]
xinj has joined #linux-sunxi
apritzel has joined #linux-sunxi
phipli has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
fire219 has joined #linux-sunxi
xinj has quit [Ping timeout: 244 seconds]
BenG83 has joined #linux-sunxi
IgorPec10 has quit [Ping timeout: 244 seconds]
staplr has joined #linux-sunxi
IgorPec10 has joined #linux-sunxi
nove has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
staplr has quit [Ping timeout: 260 seconds]
IgorPec10 has quit [Ping timeout: 276 seconds]
Amit_t_ has quit [Ping timeout: 250 seconds]
fl__0 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 272 seconds]
fl__0 is now known as fl_0
apritzel has quit [Ping timeout: 244 seconds]
jernej has joined #linux-sunxi
<longsleep> mmpf, the sunxi_drm driver for pine64 needs disp driver from BSP 2.0 which i fail to get working :/
<longsleep> does disp: probe of 1000000.disp failed with error -22 mean something to anyone?
SMDhome has joined #linux-sunxi
<longsleep> err, i mean disp 1000000.disp: unable to map dsi registers
<SMDhome> has anyone tried to build uboot for sun8i with musb support?
BenG83 has quit [Ping timeout: 244 seconds]
raknaz has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
apritzel has joined #linux-sunxi
<MoeIcenowy> SMDhome: which wafer?
jbrown has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 240 seconds]
Nyuutwo has joined #linux-sunxi
|Jeroen| has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
<ssvb> SMDhome: "sun8i" means Cortex-A7 in the Allwinner's classification, and there are many different SoC's which use Cortex-A7, so your question is ambiguous
raknaz has quit [Quit: raknaz]
<MoeIcenowy> SMDhome: do you mean H3
<MoeIcenowy> musb works quite well on my A33 (sun8iw5
<MoeIcenowy> H3 is sun8iw7
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Mr__Anderson has quit [Quit: Leaving.]
IgorPec10 has joined #linux-sunxi
lemonzest has joined #linux-sunxi
IgorPec10 has quit [Ping timeout: 244 seconds]
reinforce has quit [Quit: Leaving.]
paulk-aldrin has quit [Quit: Leaving]
IgorPec10 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
reinforce has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
pulser_ has joined #linux-sunxi
ojn_ has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
Keziolio_ has joined #linux-sunxi
firnsy_ has joined #linux-sunxi
leio_ has joined #linux-sunxi
Nacho_ has joined #linux-sunxi
pmattern_ has joined #linux-sunxi
heffer_ has joined #linux-sunxi
atsampso1 has joined #linux-sunxi
LostSoul_ has joined #linux-sunxi
tsuggs_ has joined #linux-sunxi
[Awaxx]_ has joined #linux-sunxi
cptG_ has joined #linux-sunxi
camh1 has joined #linux-sunxi
kivutar_ has joined #linux-sunxi
fl_0 has quit [Quit: STRG + Q]
FergusL has quit [Ping timeout: 258 seconds]
naobsd has quit [Ping timeout: 258 seconds]
cajg has quit [Ping timeout: 258 seconds]
ganbold has quit [Ping timeout: 258 seconds]
arete74_ has quit [Ping timeout: 258 seconds]
atsampson has quit [Ping timeout: 258 seconds]
jbrown has quit [Ping timeout: 258 seconds]
a|3x has quit [Ping timeout: 258 seconds]
ninolein has quit [Ping timeout: 258 seconds]
lennyraposo has quit [Ping timeout: 258 seconds]
camh has quit [Ping timeout: 258 seconds]
[Awaxx] has quit [Ping timeout: 258 seconds]
LostSoul has quit [Ping timeout: 258 seconds]
pmattern has quit [Ping timeout: 258 seconds]
gzamboni has quit [Ping timeout: 258 seconds]
Nacho has quit [Ping timeout: 258 seconds]
cptG has quit [Ping timeout: 258 seconds]
Keziolio has quit [Ping timeout: 258 seconds]
ojn has quit [Ping timeout: 258 seconds]
leio has quit [Ping timeout: 258 seconds]
heffer has quit [Ping timeout: 258 seconds]
firnsy has quit [Ping timeout: 258 seconds]
tsuggs has quit [Ping timeout: 258 seconds]
pulser has quit [Ping timeout: 258 seconds]
kivutar has quit [Ping timeout: 258 seconds]
a|3xx has joined #linux-sunxi
kivutar_ is now known as kivutar
lennyraposo has joined #linux-sunxi
cajg has joined #linux-sunxi
jbrown has joined #linux-sunxi
gzamboni has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
Net147 has quit [Ping timeout: 246 seconds]
FergusL has joined #linux-sunxi
arete74 has joined #linux-sunxi
fl_0 has joined #linux-sunxi
ojn_ is now known as ojn
Net147 has joined #linux-sunxi
phipli has quit [Ping timeout: 264 seconds]
IgorPec10 has quit [Ping timeout: 276 seconds]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
IgorPec10 has joined #linux-sunxi
staplr has joined #linux-sunxi
jbrown has quit [Remote host closed the connection]
Amit_t_ has joined #linux-sunxi
staplr has quit [Ping timeout: 240 seconds]
IgorPec10 has quit [Ping timeout: 276 seconds]
RzR has joined #linux-sunxi
BenG83 has joined #linux-sunxi
IgorPec10 has joined #linux-sunxi
phipli has joined #linux-sunxi
pmattern_ is now known as pmattern
IgorPec10 has quit [Ping timeout: 260 seconds]
[Awaxx]_ has quit [Quit: "non sense"]
[Awaxx] has joined #linux-sunxi
jernej has quit [Ping timeout: 276 seconds]
pietrushnic`away has quit [Ping timeout: 276 seconds]
<jrg> wow. my orange pi plus 2e actually hit 65C :)
<jrg> although considering everything else.. the banana pi would have been up to 400C by now
<jrg> and caught fire while exploding in atomic fashion
jbrown has joined #linux-sunxi
<|Jeroen|> yeah the bananna's wheren't the best boards
<|Jeroen|> needing to plug in 2 power supply's etc, crzazyness!
cptG has joined #linux-sunxi
cptG_ has quit [Ping timeout: 244 seconds]
Amit_t_ has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has joined #linux-sunxi
Andy-D_ is now known as Andy-D
<lvrp16> people really have that much trouble with banana pi?
<lvrp16> i have all of the boards...i don't they any of them were that particularly bad if you had a proper power supply
apritzel has quit [Ping timeout: 244 seconds]
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
staplr has joined #linux-sunxi
staplr has quit [Remote host closed the connection]
eyad has joined #linux-sunxi
<eyad> hello everyone
eyad has quit [Client Quit]
paulk-collins has joined #linux-sunxi
<apritzel> Amit_T: did you use the updated DT?
jernej has joined #linux-sunxi
BenG83 has quit [Ping timeout: 244 seconds]
|Jeroen| has quit [Quit: dada]
jernej has quit [Ping timeout: 258 seconds]
IgorPec has joined #linux-sunxi
igraltist has quit [Ping timeout: 260 seconds]
igraltist has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
jrg has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein is now known as Guest47208
<longsleep> lennyraposo: so if you talk to pine64 ask whem if they have an image with working disp driver from BSP 2.0. Thats the one which is required for the sunxi_drm driver.
jstein_ is now known as jstein
<longsleep> lennyraposo: i tried to the updated disp driver for the seconds time, and again miserably failed - i fixed HDMI but cannot attach the framebuffer to it, thus nothing shows :)
Guest47208 has quit [Ping timeout: 252 seconds]
<longsleep> lennyraposo: i am pretty much giving up on this and let the BSP 2.0 changes RiP - unfortunately this means the sunxi_drm driver will not work with my Kernel tree for the time being.
IgorPec has quit [Ping timeout: 244 seconds]
apritzel has quit [Ping timeout: 244 seconds]
<ssvb> longsleep: I believe that the disp driver integration can be re-worked to adapt to any kernel
<ssvb> longsleep: but of course, if aw has done this work, it would be best if it just compiled out of the box
<longsleep> ssvb: yeah sure - the one from bsp 1.2 works ok, but i cannot get the one from 2.0 working - at least not to the point that the framebuffer is attached on hdmi - took me a lot of debugging already ..
lemonzest has quit [Quit: Leaving]
popolon has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
IgorPec10 has joined #linux-sunxi
pietrushnic`away has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
IgorPec10 has quit [Ping timeout: 264 seconds]
<lennyraposo> hey guys
<lennyraposo> I sent the issues to tllim as he has the direct connection
<lennyraposo> I get everything through him
<lennyraposo> and yes
<lennyraposo> things failed misreably 3 timees actually
<lennyraposo> the xf86 has no issues I cna acewrtain at this time
<lennyraposo> as it did compile and install
jrg has joined #linux-sunxi
<lennyraposo> I asked tllim to provide us with how they got this to work with the bsp kernel on the debian and ubuntu image provided
<lennyraposo> the only thing that coems to mind is that they used another kernel that is not part of the BSP provided
<longsleep> lennyraposo: well we cannot as the disp driver from BSP 2.0 does not work and i gave up on it
<longsleep> lennyraposo: i will need much more beer to touch it again
<lennyraposo> figured as much
<lennyraposo> lol
<lennyraposo> hey
<lennyraposo> I can add you to the site in terms of beer ;)
IgorPec10 has joined #linux-sunxi
<lennyraposo> peopel will help out
<longsleep> lennyraposo: did you check, does the x11 driver actually use/require the drm modules?
<longsleep> lennyraposo: i mean the mali module works fine
<lennyraposo> yes
<longsleep> ok
<lennyraposo> they have a sunxi entry
<longsleep> sunxi entry?
<lennyraposo> now as to if they work is anothe rstory
<longsleep> i do not follow
<lennyraposo> /xf86-video-armsoc/src/drmmode_sunxi
<lennyraposo> drmmode_sunxi.c
<lennyraposo> sunxi_drm.h
<lennyraposo> it did build
<lennyraposo> and install
<longsleep> ok
<lennyraposo> got help from ssvb and mripard
<longsleep> well then it will need the drm modules loaded i suppose
<lennyraposo> #include "../drmmode_driver.h"
<lennyraposo> #include <stddef.h>
<lennyraposo> #include "sunxi_drm.h"
<lennyraposo> #include <xf86drm.h>
<lennyraposo> #include <xf86drmMode.h>
<lennyraposo> #include <sys/ioctl.h>
<lennyraposo> #include "armsoc_driver.h"
<lennyraposo> #include "../armsoc_dumb.h"
<longsleep> which i can compile and load fine now but zero output on HDMI :)
<lennyraposo> can see that they are usign the rotate stuff as mentioned in the new kernel driver entries for drm gpu stuffs
<longsleep> lennyraposo: anyhow if you want to play around, clone my pine64-hacks-1.2-mali and replace drivers/video/sunxi with the one from the BSP 2.0 Kernel
<lennyraposo> will do
<BenG83> I can drive over and bring you beer
<lennyraposo> been learnign much hackign about this
<lennyraposo> lol
<longsleep> Well, at least for today more beer will not help as one can only drink so much and i invested maybe 3 hours on that crappy driver today
<BenG83> ;)
<mripard> lennyraposo: does X works with modesetting ?
<longsleep> 2 soccer games
Keziolio_ has quit [Quit: No Ping reply in 180 seconds.]
<lennyraposo> unsure as I am new at this
Keziolio has joined #linux-sunxi
<lennyraposo> if it helps the display tool is what is being utilized for the switching resolutions at this point
<BenG83> is this up to date?
<longsleep> mripard: i have not looked at the details, but the drm driver has a kms helper
<lennyraposo> oh the ne wstuff oyu mean
<lennyraposo> sorry
al1o has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 272 seconds]
<mripard> lennyraposo: I'd make sure that the display works with X, before trying to make the mali work
p1u3sch1 has joined #linux-sunxi
<lennyraposo> see if I can get the sunxi provided display driver to work before moving on to the next portions
<longsleep> mripard: if you could offer some insight, how the framebuffer is actually bound to the hdmi output in the disp driver so i get an idea where to continue debugging that would be awesome
<mripard> longsleep: I'm not sure what you mean by that
<mripard> but you should really get something out of the display driver first
<mripard> libdrm's modetest can help too
<mripard> 1) get something that works with modesetting
<mripard> s/modesetting/modetest/
<longsleep> well first the framebuffer should work
<longsleep> works fine with 1.2 version of disp2
<mripard> 2) get X running using X's modesetting
<longsleep> but 2.0 version does not
<mripard> 3) move to armsoc
<mripard> no
<mripard> well, actually, it depends
<mripard> if by framebuffer you mean /dev/fb*
<longsleep> yes
<mripard> then no, it's a relic of the past
<mripard> and it will not be used by armsoc
<longsleep> ok, so how could i get something out on the display without X then?
<mripard> step 1 ;)
<longsleep> ok
<longsleep> but i higly doubt that modetest is going to show anything, i have the feeling something is still wrong with my hacked to load disp2 driver ..
<longsleep> mripard: thanks for the list, i didn't know about modetest and libdrm at all
<nove> longsleep: there is this that i don't understand, doesn't this new sunxi_drm replaces the old display driver (the disp2 driver)?
paulk-collins has quit [Quit: Leaving]
<longsleep> nove: maybe you are supposed to load only one yes, but in any case the sunxi_drm needs the old disp2 driver to compile
<nove> longsleep: ah, i see the makefile
<nove> this new sunxi drm driver is been linked with the libhdmi blob
<longsleep> nove: yes
<longsleep> nove: let me try what happens when i just build the drm one
<nove> and i was thinking that the "license-issues" issues were been resolved
<longsleep> yeah, no suprise that they are not :/
<longsleep> nove, mripard well the screen got pink on boot with just the drm driver, thats good?
<longsleep> [ 9.708716] [drm] surface(1920 x 1080), fb(1920 x 1080) and bpp(32) form(875713089)
<longsleep> does not seem so bad
<longsleep> [drm] Initialized sunxi 1.0.0 20160530 on minor 0
<longsleep> well without any specific X11 driver it just crashes
<longsleep> [drm:sunxi_user_fb_create] *ERROR* cannot use this gem memory type for fb.
<longsleep> and modetest says no device found, any idea how to add sunxi_drm?
IgorPec10 has quit [Ping timeout: 250 seconds]
<mripard> I'm not sure anyone ever looked at that driver before
<longsleep> mripard: was that driver even available before?
<longsleep> mripard: well but actually it seems to work, i added 'sunxi' as driver and modetest succeeded with drmOpen
<longsleep> mripard: Output here if anyone is interested: http://paste.ubuntu.com/17876828/
<mripard> longsleep: try modetest -s 29:1920x1080
<longsleep> mripard: yea tried this already .. crashes :/
<longsleep> [ 832.577451] [drm] sunxi_hdmi_get_edid:add 36 cout modes.
<longsleep> [ 832.743089] [drm:sunxi_user_fb_create] *ERROR* cannot use this gem memory type for fb.
<longsleep> [ 832.757411] Unable to handle kernel paging request at virtual address 3432525800000458
<longsleep> this is the first time for me that i ever looked into drm, no idea what gem memory is :)
<mripard> GEM is DRM's memory allocator
<mripard> basically, it tries to allocate the buffer that is going to be displayed, cannot, and crashes because someone didn't properly checked its allocations
<mripard> no wonder why nothing works :)
<nove> this is a suprise, i tought that allwinner was been license savvy by staying in the gray area, of having no-license in the old display driver, but now with this gpl licensed drm driver that links to a binary-only-blob, makes this into a gpl-violation
<nove> or this should mean the the libhdmi will be released as open-source
<longsleep> nove: well, at least its not in the tarball they provided
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nove> i really don't understand what are the difficulties, when other soc vendors have or are working for mainline driver for their respective display engines
<nove> but somehow allwinner is special
<nove> longsleep: it is only, who will distribute the compiled binaries, that will be in gpl violation
<longsleep> nove: yes - it makes no sense to GPL sunxi_drm if they do not GPL libhdmi either
Shirasaka-Hazumi has quit [Ping timeout: 244 seconds]
Shirasaka-Hazumi has joined #linux-sunxi
apritzel has joined #linux-sunxi
<ssvb> mripard: looks like newest mali blobs now have a redistributable license
<ssvb> mripard: now it's only a matter of getting a full set of blobs, and this thing is going to be at least easy to install and use
Da_Coynul has joined #linux-sunxi
<Da_Coynul> getting sun4i-usb-phy: probe of 1c19400.phy failed with error -22 with Orange Pi PC (Allwinner H3) using montjoie's kernel
<Da_Coynul> is usb working with this board?
<ssvb> nove: ugh, the libhdmi blob :(
<ssvb> nove, longsleep: was it always there? so that it's not just the source files with wrong license notices?
<ssvb> libv: hi, are you here?
<longsleep> ssvb: yes
<longsleep> ssvb: it links to libhdmi and seems to use its symbols
<ssvb> longsleep: in other words, we have an illegal kernel on a64 (if somebody uses hdmi)
<longsleep> ssvb: yes
<longsleep> ssvb: but i am still struggelling to get it into shape so that at least something works, so for now we have an illegal non functional kernel :)
<ssvb> longsleep: I'm not talking about the new code drop, but about the a64 kernel which you are maintaining at the moment
<longsleep> ssvb: yes, also that
<longsleep> ssvb: it violates the GPL the same way
<ssvb> looks like https://linux-sunxi.org/GPL_Violations needs to be updated
<longsleep> ssvb: absolutely
<ssvb> is there anything else of this kind?
<mripard> ssvb: they do ? latest news I had was that it was only for the mali t-*
<mripard> that would be awesome
<longsleep> ssvb: yes, there are other binary files, let me look it up
<ssvb> mripard: yes, I checked their download page today, and they now have 64-bit Mali-450 blobs with a redistributable license
<mripard> indeed
<mripard> we'll probably have a armhf binary accessible soon though :)
<longsleep> ssvb: one other drivers/media/platform/sunxi-vfe/lib/libisp
<ssvb> mripard: I also sent a e-mail about half an hour ago, you are on CC :)
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ssvb> mripard: thanks!
Da_Coynul has joined #linux-sunxi
<mripard> I have to reply to that thread too, thanks for reminding me :)
<longsleep> ssvb: libhdmi is at drivers/video/sunxi/disp2/hdmi/libhdmi_sun50iw1 and drivers/video/sunxi/disp2/hdmi/libhdmi_sun8iw11
<mripard> we've tackled all the issues we had (or at least the one we are aware of)
Da_Coynul has quit [Client Quit]
<mripard> ssvb: the only sure I'm not really sure of is the license of the blobs I have, and I need to get that solved
<nove> ssvb: the blobs (libhdmi) are also in the H3 kernels (if i am not mistaken)
p1u3sch1 has quit [Ping timeout: 276 seconds]
<ssvb> nove: yes, libhdcp
<ssvb> nove: still if I understand it correctly, this has not caused any problems for the hdmi support in the mainline kernel patches
<ssvb> nove: the only concern was related to missing license headers in the source files
<nove> ssvb: maybe, we should have a fossology instance for sunxi use, or other better way to help with the inventory of this issues
<ssvb> nove, longsleep: it is interesting to compare the aw h3 sources, aw a64 sources and the new display driver code drop to see what is really required and what is optional
tsuggs_ has quit [Ping timeout: 276 seconds]
<nove> ssvb: is very likely, that libhdmi blob is only for hdcp, (but i am not the best person to say this for certain)
<ssvb> nove: yes, plot thickens
<longsleep> ssvb: ok, you think it could work without libhdmi?
<nove> (anyway, is all for today, bye)
nove has quit [Quit: nove]
<ssvb> longsleep: I have not checked this yet, but https://linux-sunxi.org/DWC_HDMI_Controller seems to say that H3 and A64 very likely use the same HDMI
<ssvb> longsleep: but now we have a weird cocktail of GPL licensed sources, sources without any license notices and binary blobs
phipli has quit [Ping timeout: 276 seconds]
Net147 has quit [Ping timeout: 250 seconds]
Net147 has joined #linux-sunxi
<longsleep> ssvb: yeah, the license situation is unchanged if you ask me - new is that they now released a GPL driver which cannot work without a closed source library which makes no sense
<ssvb> longsleep: the a64 hdmi blob seems to be responsible for mostly the same things as hdmi_bsp_sun8iw7.c from the h3 kernel
<longsleep> ssvb: so what license does that file have?
<ssvb> longsleep: no license notices at all
<longsleep> mhm
<ssvb> so a64 just has changed for the worse
<ssvb> longsleep: and Allwinner does not seem to understand software licenses at all, they have stripped out the Mali EULA too
<ssvb> they are sometimes doing things which do not make much sense
<longsleep> yes so it seams
<longsleep> but where is the fun if it would be different :)
<BenG83> that is probably something Tl Lim can address when he flies to China again
scream has quit [Remote host closed the connection]
Da_Coynul has joined #linux-sunxi
<lennyraposo> so in summation
reinforce has quit [Quit: Leaving.]
<lennyraposo> just got caught up
<lennyraposo> they are referencing binaries with open code
<lennyraposo> which become useless if the state of the license itself is unknown
<lennyraposo> and cannot be include for redistribution
<longsleep> lennyraposo: on top of it, i have not got it working yet
<longsleep> lennyraposo: you could try the branch again, maybe their x11 driver works
<lennyraposo> will do when I get a chance this weekend
<lennyraposo> having family over for my daughter bday party
<lennyraposo> she just turned 2 ;)
<BenG83> congrats :)
<longsleep> sounds fun
<lennyraposo> ya
<lennyraposo> first time having my wife's and my family under the same roof for a bday party in ages
<lennyraposo> btw anyone catchthe portugal goal?
<lennyraposo> I was out getting a new propane tank
<lennyraposo> nm
<lennyraposo> I found a vid