techping has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
Mr__Anderson has quit [Ping timeout: 260 seconds]
lemonzest has quit [Quit: Quitting]
victhor has joined #linux-sunxi
kloczek has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Quit: cnxsoft]
Mr__Anderson has joined #linux-sunxi
<xdanger>
is there a way to force the hdmi on even if there isn't anything connected on h3-boards?
jrg has quit [Quit: Fear is the mind killer.]
<wens>
u-boot? kernel?
<xdanger>
trying orange pi lite, I have a own custom image (just pre installed software and configuration of networking) using the latest 4.11.1 at the moment with the latest uboor
<xdanger>
s/uboor/u-boot/
jrg has joined #linux-sunxi
<wens>
don't think you can
reinforce has quit [Quit: Leaving.]
<xdanger>
hmm...
yann has quit [Ping timeout: 240 seconds]
yann has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Ntemis has joined #linux-sunxi
fkluknav has quit [Ping timeout: 245 seconds]
quard has joined #linux-sunxi
netlynx has joined #linux-sunxi
<plaes>
xdanger: do you have something connected?
fkluknav has joined #linux-sunxi
<plaes>
there are things like hdmi dummy plug
<plaes>
which is basically HDMI + I2C EEPROM
<plaes>
what you could do is to hack u-boot to always detect a display and feed it EDID data
<xdanger>
I'm really not liking the idea of hacking u-boot.
<xdanger>
But maybe I just have to accept that it can't be done on sunxi. On raspberry it is possible.
<KotCzarny>
linux-sunxi started as a hack, make your hack, then submit patch?
<plaes>
how is it possible with raspberry?
<MoeIcenowy>
P.S. why do you want to force the hdmi?
martinayotte has joined #linux-sunxi
<martinayotte>
@MoeIcenowy, with your recent PMIC patches, did you got chance to try the AP6212 on OPiWin ? I'm stuck with no voltage on DLDO2 ... I don't understand why ...
<MoeIcenowy>
I have no OPi Win
<MoeIcenowy>
but I got rtl8723bs on Pine64 and AP6212 on BPi M64
<martinayotte>
Ah ! Ok ! I don't know much about PMIC, but I've added 'regulator-always-on' to DLD02 in DTS, but I still don't have any voltage. Any clue how to troubleshoot that ?
<BenG83>
can you dump the registers martinayotte ?
<BenG83>
then check if the bits are actually set
<martinayotte>
Which tool should I use to dump PMIC register ?
<BenG83>
I think zador did it for AXP803
<BenG83>
there must be something to dump via I2C
<BenG83>
on legacy kernel there are debugfs calls that go through the ARISC
<martinayotte>
But the PMIC is actually hookup on RSB not I2C
<BenG83>
but on mainline you should be able to use I2C directly I guess
<BenG83>
RSB has alternate functions for I2C iirc
foxx_ has quit [Ping timeout: 268 seconds]
lkcl has quit [Ping timeout: 240 seconds]
diego_r has quit [Ping timeout: 260 seconds]
<martinayotte>
I don't understand : if I hook it up on I2C in DT, I need to disable the RSB, but then the AXP803 driver won't work anymore, right ?
Boris80 has quit [Ping timeout: 240 seconds]
<BenG83>
are we talking legacy?
<BenG83>
I dont think there is a AXP driver that uses ARISC and RSB for mainline?
<martinayotte>
No ! Mainline from Icenowy 4.11.1 branch
<BenG83>
ok
<BenG83>
I though she uses I2C
<BenG83>
*thought
<BenG83>
I also think she has some userpsace tool
<BenG83>
MoeIcenowy, ?
<xdanger>
plaes: in config.txt: hdmi_force_hotplug=1
<martinayotte>
I would love it if there is such tool, otherwise, adding traces in the driver would be painful
chlorine has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
<BenG83>
did you try adding a register write in u-boot
<BenG83>
that is how I tested some axp803 things last year
<BenG83>
in u-boot there are register read/write functions
<BenG83>
write to the DLDO2 register and see if it turns on
<xdanger>
MoeIcenowy: I have headless orange pi:s, but I'd like the hdmi to be on so it's possible to check for network problems or other startup problems.
<plaes>
xdanger: u-boot also supports hpd=0
<MoeIcenowy>
BenG83: nope I used RSB
<BenG83>
ok
<martinayotte>
I don't know how to do that, I'm not familiar with AXP
<MoeIcenowy>
martinayotte: please directly use my RSB configuration ;-)
<MoeIcenowy>
P.S. sunxi-4.11.y can be taken as an example
<BenG83>
is there an advantage to RSB over I2C if we are not using the ARISC?
<martinayotte>
It is using your 4.11.1-y branch, I've only added 'regulator-always-on'
<MoeIcenowy>
in fact the chip cannot talk to I2C if not manually set
<MoeIcenowy>
as I know the AXP803 shipped with A64 is tweaked to defaultly use RSB
<BenG83>
ah ok
<BenG83>
so you have to be in RSB mode anyways to switch to I2C
<MoeIcenowy>
yes
<BenG83>
MoeIcenowy, did you see Tl last week?
<MoeIcenowy>
nope
<BenG83>
or do you know what is going on with business units at AW?
<MoeIcenowy>
seems that TL is communicating with BU3 for H6
<BenG83>
he was shortly online and something about R- (BU5?) getting folded into BU1?
<MoeIcenowy>
yes
<BenG83>
08:01:16 <tllim> @tkaiser, no more BU5. Majority of BU5 now maerge with BU1. R18 consider BU1 product
<BenG83>
what is BU1 again?
<xdanger>
Another question.. Armbian seems to start eth0 on orange pi pc plus at boot even if there is no ethernet cable plugged in. And I can't seem to get any udev trigger from plugging the cable.
jernej has joined #linux-sunxi
pfeerick has quit [Ping timeout: 260 seconds]
jernej has quit [Ping timeout: 240 seconds]
fkluknav has quit [Remote host closed the connection]
Mr__Anderson has quit [Remote host closed the connection]
fkluknav has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
massi has quit [Remote host closed the connection]
The_Loko has joined #linux-sunxi
phipli has joined #linux-sunxi
phiplii has joined #linux-sunxi
vagrantc has joined #linux-sunxi
pfeerick has joined #linux-sunxi
jernej has joined #linux-sunxi
phiplii has quit [Quit: Leaving]
IgorPec has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
goofie has quit [Ping timeout: 240 seconds]
<martinayotte>
@MoeIcenowy, could you share your defconfig from your 4.11 pine build ? I think maybe I've forgot some AXP settings, such as MFD_AXP20X_RSB and maybe others ... Thanks in advance !
<jernej>
plaes: hpd parameter works only with non-DM video drivers, e.g. old Allwinner SoCs
yann has quit [Ping timeout: 260 seconds]
jstein_ has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
jstein_ is now known as jstein
Andy-D_ has quit [Remote host closed the connection]
<martinayotte>
@MoeIcenowy, could you tell me if you have some AXP traces in your dmesg ? Even with proper MFD_AXP20X_RSB in defconfig, I've no trace of AXP been init in my dmesg, and still no DLDO2 voltage.
terra854 has quit [Quit: Connection closed for inactivity]
<KotCzarny>
thebug: hdcp is off in all fexes in 1.2.5 afair
<KotCzarny>
oops. wrong chan
Ntemis has quit [Remote host closed the connection]
jernej has quit [Ping timeout: 268 seconds]
jernej has joined #linux-sunxi
LargePrime has joined #linux-sunxi
Andy-D has joined #linux-sunxi
jernej has quit [Ping timeout: 240 seconds]
quard has quit [Quit: Leaving]
foxx_ has joined #linux-sunxi
foxx_ has quit [Ping timeout: 260 seconds]
jernej has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
reinforce has quit [Quit: Leaving.]
yann has joined #linux-sunxi
lkcl has joined #linux-sunxi
dh1tw has joined #linux-sunxi
kloczek has joined #linux-sunxi
jernej has quit [Ping timeout: 240 seconds]
diego_r has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
jstein_ has joined #linux-sunxi
medvid has quit [Ping timeout: 246 seconds]
jstein_ is now known as jstein
<MoeIcenowy>
martinayotte: yes there is AXP traces
<MoeIcenowy>
could you send me your config?
phipli has quit [Quit: Leaving]
<martinayotte>
@MoeIcenowy, I don't have any AXP trace, and RSB only shows "sunxi-rsb 1f03400.rsb: RSB running at 3000000 Hz", my defconfig is there https://file.io/YPrp0k (some of your settings added to current Armbian one)
<MoeIcenowy>
martinayotte: which patchset did you applied?
<martinayotte>
Thanks for taking a look ! Really appreciated since I got AP6212 running fine on all Armbian H3/H5 since several weeks, but no success on A64 since I've only recently seen your AXP patches.
<MoeIcenowy>
oh very strange
<MoeIcenowy>
could you also send your dt
<MoeIcenowy>
?
<MoeIcenowy>
P.S. maybe you should try to modify the dt base on sun50i-a64-bananapi-m64.dts in sunxi64-4.11.y
<martinayotte>
Since most of the patches are already in your 4.11.y branch, I've only added r_intc in irq-sunxi-nmi.c, and tweak the OPiWin DTS (will upload in few mins)
LargePrime has quit [Ping timeout: 272 seconds]
<MoeIcenowy>
the r_intc has some problem
<MoeIcenowy>
please just follow the current status of nmi_intc in sunxi64-4.11.y, but not to use r_intc in the new patchset
<MoeIcenowy>
in fact this is a historical problem imported in A31, and Maxime tries to solve it for A64 now
kloczek has quit [Read error: Connection reset by peer]
kloczek has joined #linux-sunxi
<martinayotte>
@MoeIcenowy, (the souper is cooking, so, I get back on my desktop) Good news ! it is now working ! It was that old ELDO1 that was used in the build ... now with good DLDO2, everything is fine !!! :-) Sorry for the noise ...
kloczek has quit [Quit: kloczek]
kloczek has joined #linux-sunxi
dh1tw has quit [Ping timeout: 240 seconds]
The_Loko has quit [Quit: Leaving]
victhor has joined #linux-sunxi
<martinayotte>
... and your defconfig as well as you advise about removing r_intc patch probably was helpful... Thanks for your help !
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 258 seconds]
paulk-collins has quit [Ping timeout: 255 seconds]
diego_r has quit [Ping timeout: 246 seconds]
dh1tw has joined #linux-sunxi
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 260 seconds]
paulk-collins has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 246 seconds]
medvid has joined #linux-sunxi
dh1tw has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]