terra854 has quit [Quit: Connection closed for inactivity]
<wens>
Net147: can't say... haven't given that last part much thought yet
<MoeIcenowy>
oh now I need to rebase my de2 patchset now... (on wens' multi-pipeline patchset)
<MoeIcenowy>
and in fact I cannot understand wens' multi-pipeline dt binding...
DullTube has quit [Quit: Leaving]
<wens>
MoeIcenowy: it's only for DE 1.0
<MoeIcenowy>
wens: yes
<MoeIcenowy>
but for DE2 there's still multi pipeline
<wens>
for DE 2.0, the central mux provides the IDs for both sides
<MoeIcenowy>
?
<wens>
won't you have a device node representing the mux?
<MoeIcenowy>
temporarily not
<MoeIcenowy>
furtherly the de2 ccu node will be extended for muxing
<MoeIcenowy>
currently the default value is hardcoded
<MoeIcenowy>
(mixer0->tcon0, mixer1->tcon1
<wens>
it should be part of your of_graph, shouldn't it?
diego_ has joined #linux-sunxi
<mripard>
MoeIcenowy: we can't do temporarily stuff, or you're going to have to deal with DT backward compatibility
diego_r has quit [Ping timeout: 240 seconds]
<wens>
yup, and that is always a pain :/
<MoeIcenowy>
yes...
<MoeIcenowy>
mripard: P.S. how to deal with NMI now?
<wens>
it is almost certainly irq-sun4i
<MoeIcenowy>
wens: thus the real NMI is bound to which IRQ number in irq-sun4i?
<wens>
0
<MoeIcenowy>
then what's the other IRQs left?
<wens>
all the other peripherals in the system
mhlavink has quit [Ping timeout: 260 seconds]
<wens>
R_INTC is for or1k to use, but it is also chained to the GIC it seems
<mripard>
wens: MoeIcenowy: well, you know who to tell that to
<mripard>
MoeIcenowy: I'd just create a new compatible, using the A31 driver for now, and introduce an offset in the driver
<MoeIcenowy>
so if I change it to allwinner,sun4i-a10-ic, change base address to 0x01f00c00, and change the irq reference to <&r_intc 0> will it continue to work?
<mripard>
that way it will be fixable in the future
<MoeIcenowy>
wens: ^
<wens>
MoeIcenowy: i don't think the sun4i driver does chained irqs atm, you need to add support for that first
<MoeIcenowy>
mripard: but for the DE2 mux we can then add the secondary tcon (for mixer0 it's tcon1, for mixer1 it's tcon0) and keep code with only one tcon to work
<MoeIcenowy>
and in fact when both pipelines are active we cannot make a good decision on doing what route -- so hardwiring 0-0 1-1 is good a choice
Nacho has joined #linux-sunxi
<MoeIcenowy>
the axp803 basical driver has been merged by Lee Jones just now... so currently the most critical problem is nmi_intc
Nacho_ has quit [Ping timeout: 260 seconds]
<wens>
MoeIcenowy: the dt bindings are supposed to represent the hardware. Whether the driver(s) can fully support it is besides the point
<MoeIcenowy>
so will of_graph functions trapped in mess if there's an extra out port?
<wens>
why would there be an extra out port?
<MoeIcenowy>
when the mux is unimplemented the other out port is then the extra one
<MoeIcenowy>
mripard: let me do the nmi driver hacking in my patchset
<wens>
you can represent it as an endpoint
<MoeIcenowy>
which compatible should I pick?
<MoeIcenowy>
the current broken one is allwinner,sun6i-a31-sc-nmi
<MoeIcenowy>
should I just pick allwinner,sun6i-a31-r-nmi or allwinner-sun6i-a31-nmi ?
<MoeIcenowy>
allwinner,sun6i-a31-nmi *
<wens>
call it r-intc or something, not nmi
tkaiser has joined #linux-sunxi
<MoeIcenowy>
ok
<MoeIcenowy>
seems reasonable
<MoeIcenowy>
oh seems that the :q
<MoeIcenowy>
(silly... I should type the :q in vi window
<MoeIcenowy>
oh seems that the sun4i-ic driver interrupt-cells is 1 and sunxi-nmi driver interrupt-cells is 2
<MoeIcenowy>
the missing cell is trigger type
<wens>
in the old intc, only the nmi has configurable trigger type
<wens>
the default is low level, so it just works
<wens>
to be safe it is best to change it to 2, and then ignore any flags for the other interrupts
<MoeIcenowy>
do this in sun4i-ic driver?
<MoeIcenowy>
so it can still be compatible with old sun4i/sun5i dt binding?
<mripard>
MoeIcenowy: and call it for A64
<MoeIcenowy>
mripard: why?
<MoeIcenowy>
don't we need to fix old SoCs either?
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<mripard>
Because, it's for an A64 ?
<MoeIcenowy>
ok ;-)
<MoeIcenowy>
so I use allwinner,sun50i-a64-r-intc ;-)
<mripard>
I would do this in the NMI driver for now
<mripard>
unless we can confirm what our current guesses are
fkluknav has quit [Ping timeout: 240 seconds]
<MoeIcenowy>
mripard: so is my compatible ok?
<MoeIcenowy>
or still allwinner,sun50i-a64-sc-nmi?
<MoeIcenowy>
and should I use <0x01f00c00 0x50> reg from BSP device tree?
<mripard>
I was talking about the driver to use
<mripard>
r-intc would be bettre in the compatible
<MoeIcenowy>
yes I agree with use NMI driver now
<MoeIcenowy>
and the NMI driver seems to be very clear to add new compatibles ;-)
<mripard>
and the size would be 0x1000
<MoeIcenowy>
are you sure it's 0x1000?
<MoeIcenowy>
PRCM is at 0x01f01400 which is only 0x01f00c00 + 0x700
<wens>
memory map says 1K, so 0x400?
<wens>
0x01f01000 is another watchdog
<MoeIcenowy>
0x400 is ok
<MoeIcenowy>
the memory map shows "0x01F0 0C00---0x01F0 0FFF 1K"
lkcl has quit [Ping timeout: 245 seconds]
fkluknav has joined #linux-sunxi
<mripard>
oh, right
<mripard>
sorry :/
<mripard>
that's what one call a brainfart :)
<Net147>
mripard: hmm... if you disconnect HDMI, power on board, wait until u-boot gets to autoboot countdown, plug it back in, the first time sun4i_hdmi_get_modes is called it fails to get the EDID
<wens>
Net147: known issue, mentioned that in my review :)
<wens>
s/.*//
<Net147>
wens: I didn't see the review. you have a link to it?
Mr__Anderson has joined #linux-sunxi
<Net147>
wens: slightly related, I remember you mentioned in the channel that it fails to get edid the second time around
<Net147>
wens: right I was looking at that and couldn't find where you mention that reading edid fails the first time.
fkluknav has quit [Ping timeout: 240 seconds]
<wens>
yeah, brainfart :|
dave0x6d has quit [Quit: Connection closed for inactivity]
<Net147>
wens: but yeah, drm_do_get_edid returns 0 the first time sun4i_hdmi_get_modes is called. if u-boot has detected the HDMI previously though, it works the first time.
<ElBarto>
I had that on FreeBSD, this is simply the i2c controller that is not reseted correctly iirc
<ElBarto>
u-boot does it correctly
<ElBarto>
it was for A20 but it's probably the same issues here (A10s right ?)
The_Loko has joined #linux-sunxi
<Net147>
ElBarto: I am using A20
terra854 has joined #linux-sunxi
<ElBarto>
oh well probably the same mistake I've done on FreeBSD then :)
<Net147>
ElBarto: any idea what the mistake was? =)
cnxsoft has quit [Quit: cnxsoft]
<ElBarto>
not reseting (or not correctly the i2c controller for edid)
<Char0n>
yea thought so. found several guys trying to port newer android but failed
fkluknav has quit [Ping timeout: 260 seconds]
<Char0n>
i'm somewhat pissed at allwinner. thought under GPL they are forced to open _all_ sources. but nope.
<dgp>
Char0n: hah
<KotCzarny>
they are chinese company, they do what they want (as much chinese law permits, ofc)
<dgp>
Char0n: And on Android.. no. Lots of the bits you want are in userland and GPL doesn't matter there even if Allwinner cared
<Char0n>
i see
foxx has quit [Read error: No route to host]
foxx has joined #linux-sunxi
<dgp>
Char0n: To make it usable you'll want blobs for surfaceflinger etc. You'd probably end up having to rip them from an existing rom and having to hack them or the android source to get it to sort of work
<KotCzarny>
dgp: i think he wants plain linux
<dgp>
Read the line about trying to port newer Android ;)
<Char0n>
tried that. pulled the blobs from the stock, compiled it without error and flashed it. as said, bricked it. no idea why. still working on it.
<Char0n>
guess i messed up the device tree or something like that
lennyraposo has quit [Quit: Leaving.]
<Char0n>
still learning all this stuff
<MoeIcenowy>
Char0n: If you are not using work based on the original Allwinner Android source, you will surely fail.
<Char0n>
it is the original. at least the original from the tablet manufacturer (denver).
<KotCzarny>
MoeIcenowy: what did you use for your 6 port?
<MoeIcenowy>
hacking the surfaceflinger.
foxx has quit [Read error: Connection reset by peer]
f0xx has joined #linux-sunxi
<MoeIcenowy>
I'm now expecting Replicant to do their Replicant 6
<MoeIcenowy>
although with replicant I think most tablet have no libre enough WLAN cards ;-)
<MoeIcenowy>
so a USB-attached AR9271 will be needed
paulk-collins has joined #linux-sunxi
diego_ has quit [Ping timeout: 260 seconds]
tyler-baker has quit [Quit: Shazbot]
<Char0n>
ah.. touchscreen is GSLX680
<Char0n>
3rd party driver available. interesting.
<MoeIcenowy>
Char0n: do you already have a Android firmware that can use the touch facility successfully?
<Char0n>
the stock firmware, yea
<Char0n>
or better say "the contaminated original china firmware"
<MoeIcenowy>
you will need the gslX680.ko or/and gslX680new.ko to extract firmware
<MoeIcenowy>
wens: when testing the new driver, all axp regulators are said "supplied by regulator-dummy", is this correct?
Ntemis has quit [Read error: Connection reset by peer]
<Char0n>
gslX680.ko and gslX680new. roger. will check. thanks
<MoeIcenowy>
do you already have the stock script.bin file?
<Char0n>
err no
<MoeIcenowy>
please try to retrieve it
<MoeIcenowy>
it lies in the 0x42000000 position of memory when Linux is booted
<MoeIcenowy>
you can get it via /dev/mem
<Char0n>
okay
matthias_bgg has quit [Quit: Leaving]
tyler-baker has joined #linux-sunxi
<montjoie>
anyone here with a pine64 without gigabit(RMII) ?
<montjoie>
I need a network test
<vagrantc>
the pine64+ have gigabit, yes?
<montjoie>
yes
<montjoie>
I need someone to test set drive-strenght of RMII pins to 30
lkcl has quit [Ping timeout: 245 seconds]
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
fkluknav has joined #linux-sunxi
lkcl has joined #linux-sunxi
Nacho has quit [Ping timeout: 252 seconds]
Nacho has joined #linux-sunxi
<MoeIcenowy>
mripard: the newest sunxi/master of u-boot seems to broke H3...
<MoeIcenowy>
the serial console is silent, like death
<MoeIcenowy>
(although the SPL seems to correctly returned to FEL
netlynx has quit [Quit: Ex-Chat]
<MoeIcenowy>
mripard: 7095f864186350dd5773a0bda2df19a1fa8d0aeb is the first bad commit
<MoeIcenowy>
sunxi: Convert CONS_INDEX to Kconfig
dev1990 has joined #linux-sunxi
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-sunxi
<MoeIcenowy>
fix sent out
rpd_ has quit [Remote host closed the connection]
Mr__Anderson has quit [Quit: Leaving.]
rpd_ has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
xes__ has joined #linux-sunxi
halex has quit [Ping timeout: 260 seconds]
xes_ has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
dave0x6d has joined #linux-sunxi
xes__ is now known as xes
rpd_ has left #linux-sunxi [#linux-sunxi]
fkluknav has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 268 seconds]
OtakuNekoP has joined #linux-sunxi
JohnDoe6 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
Mr__Anderson has joined #linux-sunxi
yann|work has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
lkcl has joined #linux-sunxi
kloczek has joined #linux-sunxi
kloczek has quit [Remote host closed the connection]
lurchi_ has quit [Ping timeout: 240 seconds]
Ntemis has joined #linux-sunxi
Ntemis has quit [Read error: Connection reset by peer]