rellla 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 - *only registered users can talk*
specing_ has joined #linux-sunxi
specing has quit [Ping timeout: 240 seconds]
specing_ is now known as specing
apritzel has quit [Ping timeout: 252 seconds]
Mangy_Dog has quit [Ping timeout: 265 seconds]
JoaoSchim has quit [Ping timeout: 265 seconds]
<smaeul> jernej: no, when I2S is used, it is bidirectional
vagrantc has quit [Ping timeout: 245 seconds]
suprothunderbolt has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
jernej has quit [Client Quit]
jernej has joined #linux-sunxi
sunshavi has quit [Ping timeout: 252 seconds]
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
luke-jr has quit [Quit: ZNC - http://znc.sourceforge.net]
luke-jr has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
kaspter has quit [Ping timeout: 252 seconds]
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
sunshavi has joined #linux-sunxi
JoaoSchim has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Excess Flood]
kaspter has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-sunxi
ganbold has quit [Read error: Connection reset by peer]
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
camus has joined #linux-sunxi
ganbold has joined #linux-sunxi
camus1 has joined #linux-sunxi
kaspter has quit [Ping timeout: 265 seconds]
camus1 is now known as kaspter
camus has quit [Ping timeout: 252 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
jbrown has quit [Ping timeout: 248 seconds]
kaspter has quit [Ping timeout: 252 seconds]
kaspter has joined #linux-sunxi
jbrown has joined #linux-sunxi
lukedashjr has joined #linux-sunxi
luke-jr has quit [Ping timeout: 246 seconds]
lukedashjr is now known as luke-jr
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
buzzmarshall has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 246 seconds]
cmeerw has joined #linux-sunxi
lkcl has joined #linux-sunxi
apritzel has joined #linux-sunxi
reinforce has joined #linux-sunxi
apritzel has quit [Ping timeout: 252 seconds]
cmeerw has quit [Ping timeout: 245 seconds]
gsz has joined #linux-sunxi
diego71 has quit [Ping timeout: 260 seconds]
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
tnovotny has joined #linux-sunxi
<plaes> does anyone know which utility could I use to turn off screen temporarily using kms?
<plaes> libv: ^^ :)
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
<libv> plaes: nothing that i know of
<libv> but perhaps you can recycle some existing kms test app, and find some way in which to make this happen
<libv> but beware, if you find a way, it might be extremely stupid
uis has quit [Client Quit]
<libv> like what fun i had when trying to disable planes
uis has joined #linux-sunxi
<plaes> well, I would just like to same as `xset dpms force off`
<libv> if only my hiring at intel had not been blocked, and i had driven the team manager to give me and ville the time we needed, then ville would have done more than just plant to seed of atomic, and we would've had something an order of magnitude saner than what we have now
<libv> for planes, you have to basically zero all or a lot of properties before it accepts it and properly disables it
ynezz_ is now known as ynezz
<libv> for those who actually poked VGA style hw, dpms is pretty simple
<libv> iirc, two bits in the vga sequencer register
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
<libv> they would control the h and v sync lines on the vga connector, and depending on which was off, the monitor either went into sleep mode or in full powerdown
<libv> and even though Xfree86-4.0 was supposed to have been rid of vga (spec) specifics... for ages, dpms was still poking those two vga registers directly
matthias_bgg has joined #linux-sunxi
<libv> it only got fixed with randr1.2, where keithp took my modesetting ideas (the ones he shot down a year earlier), and ignored the lessons learned with xfree86-4.0 (like the use of helpers, which only got rediscovered with kms atomic), and then badly implemented something where one was not able to tell why modes were culled or where modes came from during validation
<libv> in this round, the vga stuff got removed, but was only solved on the driver side
<libv> vga sync stuff
uis has quit [Client Quit]
<libv> from then on, a modeset would occur, and then raw memory content would be shown before X had had a chance to draw anything into it
uis has joined #linux-sunxi
<libv> and even though keithp, the great master of the xorg protocol, who never cared about drivers or driver infrastructure in his life, was driving this randr1.2, it never got fixed
<libv> i had a suse manager panick and ask why his lcd on his laptop was being destroyed in Q3 2007, because there was old memory content on his laptop lcd
<libv> days before a suse release
<libv> the fix, by adam jackson, just null the memory content before doing anything...
<libv> so much for history
<libv> you would probably need to go through the whole song and dance of kms, and then find some convoluted way of doing things...
<libv> which then probably would die with your application dying
<libv> meh
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
<libv> plaes: at boot time, at any time when the system is up, or from an application?
aballier_ has quit [Ping timeout: 252 seconds]
uis has quit [Client Quit]
<plaes> from an application
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
<libv> plaes: then you have to go through the whole song and dance indeed...
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 268 seconds]
camus is now known as kaspter
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
qschulz has quit [Remote host closed the connection]
qschulz has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
lkcl has quit [Ping timeout: 246 seconds]
uis has quit [Ping timeout: 252 seconds]
lkcl has joined #linux-sunxi
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
tmlind_ is now known as tmlind
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
<libv> still digging though, interrupted by my 4y old
warpme_ has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
<plaes> no worries, I was just wondering whether there's existing utility
<libv> probably not, it is amazing how little you can find of direct users of kms
<libv> and the code i am trawling through seems just as convoluted for crtcs/encoders, as for planes
<libv> so it is going to be something implicit again
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
<plaes> what about wayland? :D
suprothunderbolt has quit [Ping timeout: 246 seconds]
uis has quit [Ping timeout: 252 seconds]
uis has joined #linux-sunxi
<libv> you mean that thing that is now 2/3rds as old as X11 was when it came into existence, and which still lacks a lot of X features ;p
<libv> X and wayland have their own implementations of kms
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
aliosa27_ has quit [Read error: Connection reset by peer]
aliosa27_ has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
uis has quit [Ping timeout: 240 seconds]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
victhor has joined #linux-sunxi
choozy has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
<buZz> hah yay, i found my old cubieboard2 again :P
uis has quit [Client Quit]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
uis has quit [Client Quit]
uis has joined #linux-sunxi
<libv> :)
apritzel has joined #linux-sunxi
bauen1 has quit [Quit: rebooting]
bauen1 has joined #linux-sunxi
specing has quit [Ping timeout: 252 seconds]
specing_ has joined #linux-sunxi
specing_ is now known as specing
lucascastro has quit [Ping timeout: 252 seconds]
<Kooda> I still have my cubieboard 1 going strong! :)
<atsampson> Mine too -- I used it as my home router for a long time, and these days it's a (very slow but reliable) ARM build machine
<atsampson> (the router's now a pcduino3nano, since it needs gigabit Ethernet...)
<Kooda> Mine is used as a server and seedbox :)
buzzmarshall has joined #linux-sunxi
tnovotny has quit [Read error: Connection reset by peer]
lucascastro has joined #linux-sunxi
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #linux-sunxi
jbrown has quit [Ping timeout: 260 seconds]
elros1 has joined #linux-sunxi
lucas_ has joined #linux-sunxi
lucascastro has quit [Ping timeout: 240 seconds]
lucas_ has quit [Ping timeout: 240 seconds]
jbrown has joined #linux-sunxi
buzzmarshall has quit [Remote host closed the connection]
buzzmarshall has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 252 seconds]
camus is now known as kaspter
cmeerw has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lucas_ has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
lucas_ has quit [Ping timeout: 268 seconds]
specing has quit [Ping timeout: 252 seconds]
choozy has joined #linux-sunxi
JoaoSchim has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
rzerres has quit [Ping timeout: 260 seconds]
<apritzel> does anyone here have one of those "X96 Mate" TV boxes (w/ H616)? jernej?
<apritzel> I have one here now and was just wondering if anyone has already some DT for that, so I don't need to start from scratch ...
<apritzel> the Android kernel thankfully provides regulator_summary in debugfs, but the relation between devices and AXP rails probably requires trial and error, I guess
<jernej> apritzel: I have T95 H616 box
<apritzel> right, saw that older branch in your github ...
<jernej> and yes, regulators are pain
<apritzel> I guess they are not that much different
<apritzel> well, at least I know the voltages
<jernej> apritzel: did you figure out USB?
<apritzel> jernej: I think so, smaeul's hint of USB2 reset being required everywhere looks good so far
<jernej> that's from boot rom, right?
<apritzel> but then I said that several times during the last posts ;-)
<apritzel> jernej: yes, I think. Not sure also from the BSP code, maybe?
<apritzel> the neat thing is that it's just a DT fix
<apritzel> jernej: can you say whether the RTC clocks are different between the H6 and H616?
<apritzel> I am using a separate compatible now, but just use the H6 recipe for the clocks part
<jernej> I forgot already, I have to check manuals
vagrantc has joined #linux-sunxi
<apritzel> jernej: no worries, it's not urgent ...
<apritzel> I just always get confused over those RTC clocks ...
<jernej> apritzel: there are some changes - check register 0x60 description in both manuals
<apritzel> right, I see
<jernej> although I think this can be handled inside rtc driver based on the fact if external 32k oscillator is defined in DT or not
<apritzel> did anyone hear anything from the Allwinner guys doing the A100 support? They seemed to have vanished after the first round of patches, or at least after the first post of the 2nd round?
<apritzel> a lot of H616 IP changes seems to have actually been introduced with the A100 already (USB PHY, for instance), so I wonder if this could be tackled in one go
rzerres has joined #linux-sunxi
victhor has quit [Ping timeout: 246 seconds]
victhor has joined #linux-sunxi
<jernej> apritzel: do you have any solution for copying protected regions from DT changed by TF-A to loaded from SD in U-Boot for H616?
<apritzel> jernej: ah, right, that one
<apritzel> I looked it up the other day, IIRC U-Boot can enter protected regions, if it know about them itself
<apritzel> so we would need to teach U-Boot to parse /reserved-memory and enter that into its own data structure
matthewcroughan has quit [Quit: No Ping reply in 180 seconds.]
<apritzel> although I think I booted without problems lately, while loading the DTB from TFTP, let me check that ...
matthewcroughan has joined #linux-sunxi
rzerres has quit [Ping timeout: 240 seconds]
<jernej> yeah, but probably reset doesn't work
<jernej> basically anything that needs TF-A
lucas_ has joined #linux-sunxi
_0x5eb_ has quit [Ping timeout: 268 seconds]
_0x5eb_ has joined #linux-sunxi
<apritzel> ... for instance SMP bringup. Turns out I still had the /reserved-memory node in my external DTB, if I remove that, it indeed hangs during Linux boot
<apritzel> mmh, bdinfo lists the region from the TF-A patched DT already, so there must be more to it
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
lucas_ has quit [Ping timeout: 260 seconds]
specing has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
rzerres has joined #linux-sunxi
elros1 has quit [Remote host closed the connection]
aballier has joined #linux-sunxi
aballier has joined #linux-sunxi
lucas_ has joined #linux-sunxi
lucas_ has quit [Ping timeout: 246 seconds]
ElBarto has quit [Quit: leaving]
ElBarto has joined #linux-sunxi
jbrown has quit [Ping timeout: 260 seconds]
lucas_ has joined #linux-sunxi
<MoeIcenowy> apritzel: U-Boot DT is patched but Linux DT is not?
<apritzel> MoeIcenowy: Trusted Firmware finds the DT that is attached to the U-Boot binary, and patches that
<apritzel> so U-Boot proper sees the patched version
<apritzel> but if you load a new DTB in U-Boot proper, from some storage, then it's too late for TF-A to patch that
<apritzel> but the reserved memory regions should be preserved
<apritzel> U-Boot scans its DT for reserved-memory regions, and it looks like the EFI loaders translates that into the EFI memory map, as a reserved region
<apritzel> but for booti it seems to miss that
<apritzel> there is fdtdec_add_reserved_memory(), which has all the code, but it doesn't seem to be called, AFAICT
macc24 has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 5.0.1, revision: 5.0.1+git-7433-0df9f22f2, build type: debug, sources date: 20160102, built on: 2019-12-08 19:19:20 UTC 5.0.1+git-7433-0df9f22f2 http://www.kvirc.net/]
macc24 has joined #linux-sunxi
gsz has quit [Ping timeout: 240 seconds]
jbrown has joined #linux-sunxi
xes_ has quit [Ping timeout: 265 seconds]
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
reinforce has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
gaston1980 has joined #linux-sunxi
warpme_ has quit [Quit: Connection closed for inactivity]
tuxillo has quit [Ping timeout: 252 seconds]
jstein has joined #linux-sunxi
jstein has quit [Client Quit]
reinforce has quit [Quit: Leaving.]
choozy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
aballier_ has joined #linux-sunxi
aballier has quit [Ping timeout: 260 seconds]
uis has quit [Quit: ZNC 1.7.5 - https://znc.in]
uis has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]
cmeerw has quit [Ping timeout: 246 seconds]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 240 seconds]
tuxillo has joined #linux-sunxi