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
<TheLinuxBug> KotCzarny: if you give me it I am happy to test and have google credtentials etc, just let me know
<TheLinuxBug> :)
BenG83 has quit [Ping timeout: 260 seconds]
nOOb__ has quit [Quit: Leaving]
LargePrime has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
TheLinuxBug has quit [Ping timeout: 246 seconds]
TheLinuxBug has joined #linux-sunxi
popolon has quit [Quit: WeeChat 1.4]
LargePrime has quit [Ping timeout: 250 seconds]
LargePrime has joined #linux-sunxi
yann|work has quit [Ping timeout: 250 seconds]
bugzc has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Ultrasauce has joined #linux-sunxi
apritzel has quit [Ping timeout: 250 seconds]
LargePrime has quit [Ping timeout: 265 seconds]
yann|work has joined #linux-sunxi
ninolein has quit [Ping timeout: 245 seconds]
ninolein has joined #linux-sunxi
FergusL has quit [Ping timeout: 246 seconds]
yann-kaelig has quit [Quit: Leaving]
Ultrasauce has quit [Ping timeout: 246 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
vagrantc has joined #linux-sunxi
victhor has quit [Ping timeout: 260 seconds]
vagrantc has quit [Ping timeout: 244 seconds]
lkcl has quit [Ping timeout: 256 seconds]
lkcl has joined #linux-sunxi
pg12 has quit [Ping timeout: 260 seconds]
pg12 has joined #linux-sunxi
Andy-D has joined #linux-sunxi
lkcl has quit [Ping timeout: 265 seconds]
lkcl has joined #linux-sunxi
lkcl has quit [Read error: Connection reset by peer]
lkcl has joined #linux-sunxi
Ntemis has quit [Ping timeout: 268 seconds]
terra854 has joined #linux-sunxi
[7] has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
leviathanch has joined #linux-sunxi
f0xx has joined #linux-sunxi
bugzc_ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
bugzc has quit [Ping timeout: 260 seconds]
bugzc has joined #linux-sunxi
bugzc_ has quit [Ping timeout: 260 seconds]
f0xx has quit [Ping timeout: 268 seconds]
PITYHERO122 has joined #linux-sunxi
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<PITYHERO122> how can i control a pwm beeper by python on pcduino board?
reinforce has joined #linux-sunxi
<PITYHERO122> i have <pcduino.pwm> but it cant work
\\Mr_C\\ has joined #linux-sunxi
critch has quit [Ping timeout: 245 seconds]
critch has joined #linux-sunxi
PITYHERO122 has quit [Read error: Connection reset by peer]
Gerwin_J has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
f0xx has joined #linux-sunxi
scream has joined #linux-sunxi
bugzc has quit [Ping timeout: 260 seconds]
Mr__Anderson has joined #linux-sunxi
yann|work has quit [Ping timeout: 248 seconds]
Mr__Anderson has quit [Quit: Leaving.]
Dodger78 has joined #linux-sunxi
jernej has joined #linux-sunxi
bonbons has joined #linux-sunxi
jernej has quit [Ping timeout: 246 seconds]
jernej has joined #linux-sunxi
jernej has quit [Ping timeout: 240 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 246 seconds]
apritzel has joined #linux-sunxi
lkcl has quit [Ping timeout: 260 seconds]
apritzel has quit [Ping timeout: 240 seconds]
yann-kaelig has joined #linux-sunxi
lkcl has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
jernej has quit [Ping timeout: 240 seconds]
BenG83 has joined #linux-sunxi
Net147 has quit [Quit: Quit]
Net147 has joined #linux-sunxi
h0rzerFg has quit [Ping timeout: 245 seconds]
dh1tw has joined #linux-sunxi
jernej has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
utente has joined #linux-sunxi
<utente> hi, i have A13-OlinuXino board with battery (original from olimex). if i do "halt" command, the board shut down but do also restart. so i do "halt -f" and the board shut down and no reboot. but if i want to reboot it, i must unplug/plug the main power supply AND also the battery! if i do unplug/plug only the main power supply, the board DOES NOT boot. someone has the same behaviour? somehone know how to solve?
<KotCzarny> dont halt. or maybe prepare mini uboot/kernel that would watch for some gpio/ir events
<KotCzarny> maybe add a switch on your battery cable
<utente> KotCzarny, halt is neeed to do a "clean" shoutdown when software detect main power is absent, so battery give some moment to allow clean shutdown.
<utente> all a whitch to battery is hard to do (nottecnocally but for other reasons)
<KotCzarny> maybe reboot to some ramdisk based minios that will rebooot again when power comes back?
<utente> mmm too much complecate, whe are short of time and now we got this mess with battery. to us now A13-OlinuXito is renamed "maloox" board.
<KotCzarny> does it mean anything?
<KotCzarny> maybe write to olimex that you need physical power on/off switch
<KotCzarny> maybe coupled with a relay that will turn on device on power
<utente> maloox it the name of a medicine agaisnt thomach ache, olimex give us a lot ostomach ache, iit is a joke, never mind :-)
<KotCzarny> :)
<miasma> would a reset switch work, if you want to wake the board again
<utente> rele' seems a god idea, i will refer to my hardware guy
<miasma> e.g. with raspberry pi, when it halts, it can be restarted with reset
<KotCzarny> but it should be smart one (ie. with mcu) that will react on different situations as needed
bonbons has quit [Quit: Leaving]
<KotCzarny> bad part is that relay board might be more expensive than a13 ;)
<utente> hahaha yes
<KotCzarny> but hmm, relay controllable via gpio might simply cut off battery as the last action during halt
<KotCzarny> so it may be even a dumb one
<KotCzarny> and external power would switch the relay back
<KotCzarny> (or a button)
philippe_fouquet has joined #linux-sunxi
<utente> battery shout power also rele i think so if main power go away, rele still allow battery to power the board
<KotCzarny> anyway, that's the idea, because i have never seen any way to reset board without cutting power once its halted
<miasma> depends on the board. like i said, on rpi there are two pins you can short and it works
<miasma> but the original version didn't support it, they added it later
Andy-D has quit [Ping timeout: 268 seconds]
scream has quit [Remote host closed the connection]
hossa[m] has left #linux-sunxi ["User left"]
<utente> ok
reinforce1 has joined #linux-sunxi
jstein_ has joined #linux-sunxi
utente has quit [Ping timeout: 248 seconds]
jstein_ is now known as jstein
juri_ has quit [Ping timeout: 250 seconds]
juri_ has joined #linux-sunxi
utente has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
jernej has quit [Ping timeout: 244 seconds]
victhor has joined #linux-sunxi
apritzel has joined #linux-sunxi
LargePrime has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
apritzel has quit [Ping timeout: 245 seconds]
pekka10 is now known as pekka_afk
Keziolio has quit [Ping timeout: 246 seconds]
Keziolio has joined #linux-sunxi
reinforce1 has quit [Quit: Leaving.]
utente has quit [Ping timeout: 265 seconds]
pekka_afk is now known as pekka10
Sakami has joined #linux-sunxi
<Sakami> Hi. Is there a way to use sysdig on armbian? HW:banana pi
<Sakami> Because the armbian kernel does not have HAVE_SYSCALL_TRACEPOINTS, sysdig-probe cannot be built
<KotCzarny> recompile kernel
<Sakami> I'm trying to locate a trojan that is peroidically communicating on port 8087
bonbons has joined #linux-sunxi
lkcl has quit [Read error: No route to host]
lkcl has joined #linux-sunxi
utente has joined #linux-sunxi
cptG has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
cptG_ has quit [Ping timeout: 260 seconds]
jstein_ has joined #linux-sunxi
jstein is now known as Guest59483
IgorPec has joined #linux-sunxi
jstein_ is now known as jstein
Guest59483 has quit [Ping timeout: 265 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
apritzel has joined #linux-sunxi
chomwitt has quit [Ping timeout: 244 seconds]
lemonzest has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
<KotCzarny> hmm, is enabling hdmi uboot job?
f0xx has quit [Quit: terminated!]
foxx_ has joined #linux-sunxi
h0rzerFg has joined #linux-sunxi
muvlon has joined #linux-sunxi
leviathanch has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
foxx_ has quit [Ping timeout: 265 seconds]
yann-kaelig has quit [Quit: Leaving]
<KotCzarny> jelle: is your h3-hdmi branch usable or 'just started' ?
leviathanch has quit [Read error: Connection reset by peer]
vagrantc has joined #linux-sunxi
leviathanch has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
longsleep has quit [Remote host closed the connection]
longsleep has joined #linux-sunxi
chomwitt has joined #linux-sunxi
orly_owl_ has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
orly_owl has quit [Ping timeout: 260 seconds]
<apritzel> KotCzarny: U-Boot enabling HDMI is _one_ way of getting graphics
<apritzel> KotCzarny: the kernel then just sees a framebuffer, where it can paint into
<KotCzarny> apritzel: because i've used mainline uboot on h3 and legacy kernel doesnt enable hdmi
<apritzel> you lost me at "... and legacy kernel" ;-)
<KotCzarny> so i see dispaly interrupts rising, so graphics is working, but black screen
yann|work has joined #linux-sunxi
<KotCzarny> if you know the way to run android with mainline kernel, im all for it ;)
orly_owl_ is now known as orly_owl
<KotCzarny> especially on h3 ;)
orly_owl has quit [Changing host]
orly_owl has joined #linux-sunxi
<apritzel> what is aosp based on these days?
<KotCzarny> generic aosp or sunxi related aosp?
<apritzel> generic
<KotCzarny> i think 7.0 requires 3.16 at least, but aosp itself isnt bundled with any kernel
<apritzel> do they keep a kernel branch that tracks mainline?
<apritzel> but you need Android specific patches to the kernel, don't you?
<KotCzarny> havent got there yet, so dont know
<KotCzarny> anyway, jelle's uboot hangs at sunxi_hdmi_hdp_detect, do you have a clue where to look now?
<KotCzarny> ie. did you happen to stumble in similar situation in the past
yann|work has quit [Ping timeout: 268 seconds]
<apritzel> I think I never attached a HDMI cable to a sunxi board ;-)
vagrantc has quit [Quit: leaving]
muvlon has quit [Quit: Leaving]
netlynx has quit [Quit: Ex-Chat]
yann|work has joined #linux-sunxi
yann|work has quit [Ping timeout: 248 seconds]
<jelle> KotCzarny: no my branch should be rm'd from the wiki
<KotCzarny> jelle: :/
<KotCzarny> so close, so far
<KotCzarny> one thing i figured out is that you got lock/unlock values in reverse
<KotCzarny> (and yeah, it hangs on htmi_read_lock)
<KotCzarny> otoh, swapping it doesnt change a thing.
<KotCzarny> wiki says registers should be unscrambled, or it's only valid for the other block
philippe_fouquet has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
<KotCzarny> (or its wiki that has it in reverse, looking at kernel patch)
apritzel has quit [Ping timeout: 260 seconds]
utente has quit [Ping timeout: 244 seconds]
patap has joined #linux-sunxi
jernej has joined #linux-sunxi
<patap> jernej: does this branch worth testing? https://github.com/jernejsk/u-boot/tree/h3_hdmi_unscrambled
<jernej> KotCzarny: ^^^
<jernej> well, yes
<jernej> it is just philosophical difference in comparison with non unscrambled version
<KotCzarny> yeah, just found your git
<KotCzarny> compiling it now
<jernej> both h3_hdmi branches are exactly the same regarding the functionality
<patap> will give it a try a soon as i get powersupply sorted out
<jernej> ok, I will add it to the wiki
<KotCzarny> :)
Ntemis has joined #linux-sunxi
<KotCzarny> wow, jernej, you my hero!
<KotCzarny> yumkay. android boots with mainline uboot on h3 ;)
Mr__Anderson has joined #linux-sunxi
<jernej> KotCzarny: In your case it is only eye candy or not?
<KotCzarny> though display is a bit unstable
<jernej> how so?
<KotCzarny> might be power fluctuations, as i saw 4.6V on power meter
<KotCzarny> perks of living in rural area, eh
<KotCzarny> what did you mean by eye candy?
<jernej> U-Boot video driver used for boot splash screen
<KotCzarny> nope. with plain mainline uboot hdmi wasnt enabled even after droid booted fully
<KotCzarny> with yours it works
<jernej> Really?
<KotCzarny> looks like hdmi phy or whatever is only turned on by uboot
<KotCzarny> and didnt get touched by legacy kernel
<jernej> uh, can you give me kernel cmdline?
<jernej> I have a hunch
<KotCzarny> kernel cmdline is unchanged in both cases
<jernej> yes, but there might be special parameter, which says that U-Boot already initialized video driver
<jernej> remove disp_para=405 and you are good even without HDMI support in U-Boot
mzki has joined #linux-sunxi
<KotCzarny> still, having hdmi in uboot is nice too. thanks for the tip
<jernej> glad to help
<jernej> well, this may even solve your display issues, because video driver is initialized a bit differently than in U-Boot
<KotCzarny> is it going to be merged to mainline uboot?
<jernej> I will post RFC soon
<KotCzarny> cool!
<jelle> Merge window is still open for uboot :)
<KotCzarny> shall i test anything else?
<KotCzarny> hmm, power down in droid doesnt work anymore
<KotCzarny> it just reboots instead of sleeping in v. low power and waiting for ir/power key
patap has quit [Ping timeout: 260 seconds]
lemonzest has quit [Quit: Leaving]
h0rzerFg has quit [Ping timeout: 260 seconds]
<jernej> jelle: I suspect custodians will want to reorganize the code, because TCON and extremly likely TV out are the same as in driver for older SoCs
<jelle> Oh hmm
philippe_fouquet has quit [Remote host closed the connection]
<willmore> H3 HDMI in mainline? yay!
<jernej> willmore: U-Boot
<jernej> but it can be used together with simplefb driver in Linux kernel
<willmore> Ahh, okay. Still good!
<jernej> willmore: But WIP H3 HDMI driver exists on sunxi mail list if you want to have it
scream has joined #linux-sunxi
Nyuutwo has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-7036-gfd20b1a, build type: debug, sources date: 20160102, built on: 2016-12-02 12:15:06 UTC git-7036-gfd20b1a http://www.kvirc.net/]
Nyuutwo has joined #linux-sunxi
<willmore> jernej, I'm reading along, but not playing along. Maybe later in the year if I get some free time.
<KotCzarny> hmm, it looks like resolution set by uboot is unstable, ie disturbed by cpu/mali activity
<KotCzarny> when i reset it in settings, artifacts are going away
Gerwin_J_ has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J_ is now known as Gerwin_J
<KotCzarny> it might get unnoticed because: 1/ in uboot you dont do much, 2/ linux either doesnt do mali in testing cases?
<jernej> KotCzarny: I noticed that with BSP kernel, artifacts happened when both outputs, TV and HDMI, were active
<jernej> but I didn't run Android once, so I really don't know what's going on
<KotCzarny> might be the case, horizontal waves ?
<jernej> no, more like multiple white dots or short lines briefly showed, every minute or so
<KotCzarny> nope. not that. its more like old vhs horizontal distortions
<jernej> ok, then I don't know
<jernej> did you try without the kernel argument I mentioned?
<KotCzarny> not yet
<jernej> highly recommended, because everything will get reinitialized with expected values
<KotCzarny> mhm, gonna try tomorrow, sleepy time soon
mossroy has joined #linux-sunxi
jernej has quit [Ping timeout: 250 seconds]
reinforce has quit [Quit: Leaving.]
jernej has joined #linux-sunxi
mossroy has quit [Quit: Leaving]
victhor has quit [Ping timeout: 260 seconds]
utente has joined #linux-sunxi
jernej has quit [Ping timeout: 250 seconds]
leviathanch has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
popolon has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
paulk-aldrin has quit [Quit: Leaving]
Mr__Anderson has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 260 seconds]
jernej has quit [Ping timeout: 250 seconds]
utente has quit [Ping timeout: 260 seconds]
avph has quit [Read error: Connection reset by peer]
avph has joined #linux-sunxi
lkcl has joined #linux-sunxi
LargePrime has quit [Ping timeout: 248 seconds]
LargePrime has joined #linux-sunxi
victhor has joined #linux-sunxi
mzki has quit [Ping timeout: 248 seconds]
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]