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*
sunshavi has joined #linux-sunxi
zhovner has joined #linux-sunxi
gaston1980 has quit [Ping timeout: 268 seconds]
jstein has quit [*.net *.split]
random_yanek has quit [*.net *.split]
warpme_ has quit [*.net *.split]
gumblex has quit [*.net *.split]
corecode has quit [*.net *.split]
mru has quit [*.net *.split]
lynxis has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
libv has quit [*.net *.split]
ccaione has quit [*.net *.split]
charco has quit [*.net *.split]
kelvan has quit [*.net *.split]
liushuyu has quit [*.net *.split]
karlp has quit [*.net *.split]
Hauke has quit [*.net *.split]
doppo_ has quit [*.net *.split]
popolon has quit [Quit: WeeChat 2.9]
jstein has joined #linux-sunxi
warpme_ has joined #linux-sunxi
corecode has joined #linux-sunxi
mru has joined #linux-sunxi
gumblex has joined #linux-sunxi
lynxis has joined #linux-sunxi
liushuyu has joined #linux-sunxi
libv has joined #linux-sunxi
ccaione has joined #linux-sunxi
lvrp16 has joined #linux-sunxi
charco has joined #linux-sunxi
Hauke has joined #linux-sunxi
kelvan has joined #linux-sunxi
doppo_ has joined #linux-sunxi
karlp has joined #linux-sunxi
t3st3r has quit [Remote host closed the connection]
t3st3r has joined #linux-sunxi
t3st3r has quit [Remote host closed the connection]
random_yanek has joined #linux-sunxi
t3st3r has joined #linux-sunxi
montjoie has quit [Ping timeout: 256 seconds]
montjoie has joined #linux-sunxi
apritzel has quit [Ping timeout: 256 seconds]
cnxsoft has joined #linux-sunxi
victhor has joined #linux-sunxi
kaspter has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 268 seconds]
lurchi__ has joined #linux-sunxi
tuxd3v has quit [Quit: Leaving]
tuxd3v has joined #linux-sunxi
lurchi__ has quit [Quit: Konversation terminated!]
lurchi_ has joined #linux-sunxi
lurchi_ has quit [Client Quit]
lurchi_ has joined #linux-sunxi
olla has joined #linux-sunxi
olla has quit [Quit: WeeChat 2.9]
olla has joined #linux-sunxi
olla has quit [Client Quit]
olla has joined #linux-sunxi
olla has quit [Quit: WeeChat 2.9]
sunshavi_ has joined #linux-sunxi
sunshavi_ has quit [Quit: WeeChat 2.9]
sunshavi_ has joined #linux-sunxi
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
sunshavi has quit [Quit: nil]
sunshavi has joined #linux-sunxi
lurchi_ is now known as lurchi__
ChriChri_ has joined #linux-sunxi
ChriChri_ is now known as ChriChri
AneoX has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
victhor has quit [Ping timeout: 264 seconds]
vagrantc has quit [Ping timeout: 268 seconds]
sunshavi has quit [Quit: nil]
asdf28 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
tuxd3v has quit [Ping timeout: 256 seconds]
apritzel has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
reinforce has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
apritzel has quit [Ping timeout: 268 seconds]
smaeul has quit [Ping timeout: 272 seconds]
<montjoie> anyway, their BSP is so wrong about their own hardware....
<KotCzarny> but does it work for them?
smaeul has joined #linux-sunxi
cmeerw has joined #linux-sunxi
cmeerw has quit [Ping timeout: 264 seconds]
pg12 has quit [Ping timeout: 246 seconds]
pg12 has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: (Read error: Connection reset by beer)]
xes has quit [Quit: bye..]
xes has joined #linux-sunxi
pg12 has quit [Ping timeout: 260 seconds]
pg12 has joined #linux-sunxi
AneoX has joined #linux-sunxi
[TheBug] has quit [Quit: ZNC - http://znc.sourceforge.net]
[TheBug] has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
\\Mr_C\\ has joined #linux-sunxi
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 268 seconds]
ldevulder_ is now known as ldevulder
apritzel has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
tuxd3v has joined #linux-sunxi
Mangy_Dog 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
kaspter has quit [Ping timeout: 268 seconds]
kaspter has joined #linux-sunxi
victhor has joined #linux-sunxi
gediz0x539 has quit [Ping timeout: 256 seconds]
gediz0x539 has joined #linux-sunxi
Mangy_Dog has quit [Ping timeout: 265 seconds]
tuxd3v has quit [Ping timeout: 256 seconds]
gediz0x539 has quit [Remote host closed the connection]
gediz0x539 has joined #linux-sunxi
<apritzel> mripard: so the mainline DTs seem to suggest that the Pinebook (and only that, among all A64 boards) seems to use HS-200, apparently with the 200 MHz
<apritzel> that somehow reminds me of the H5 issue? I tried DDR50 on the Emlid H5 board, and it failed, but using 42MHz (divider 7) was working
kaspter has quit [Quit: kaspter]
<plaes> MoeIcenowy: o/
<plaes> MoeIcenowy: Do you have any plan to push the F1C100s patches to mainline?
AneoX has quit [Ping timeout: 265 seconds]
AneoX has joined #linux-sunxi
dddddd has quit [Quit: dddddd]
dddddd has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
kaspter has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
[TheBug] has quit [Ping timeout: 240 seconds]
[TheBug] has joined #linux-sunxi
jernej has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
gaston1980 has joined #linux-sunxi
popolon has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
t3st3r has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
andy25225 has quit [Ping timeout: 265 seconds]
cmeerw has joined #linux-sunxi
[TheBug] has quit [Ping timeout: 246 seconds]
andy25225 has joined #linux-sunxi
[TheBug] has joined #linux-sunxi
[TheBug] has quit [Ping timeout: 256 seconds]
tuxillo has quit [Remote host closed the connection]
tuxillo has joined #linux-sunxi
[TheBug] has joined #linux-sunxi
victhor has quit [Quit: Leaving]
asdf28 has quit [Ping timeout: 256 seconds]
asdf28 has joined #linux-sunxi
xes has quit [Quit: bye..]
xes has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
matthias_bgg has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
iamfrankenstein has quit [Ping timeout: 268 seconds]
tuxd3v has joined #linux-sunxi
vagrantc has joined #linux-sunxi
andy25225 has quit [Quit: Leaving]
tuxd3v has quit [Remote host closed the connection]
gaston1980 has quit [Quit: Konversation terminated!]
tuxd3v has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
victhor has joined #linux-sunxi
minicom has quit [Ping timeout: 264 seconds]
minicom has joined #linux-sunxi
luke-jr has quit [Read error: Connection reset by peer]
luke-jr has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
[TheBug] has quit [Ping timeout: 240 seconds]
[TheBug] has joined #linux-sunxi
abelvesa has quit [Read error: Connection reset by peer]
abelvesa has joined #linux-sunxi
<MoeIcenowy> plaes: no idea
<MoeIcenowy> it seems to be too much change
<anarsoul> apritzel: IIRC pinebook is the only device that has 1.8v power supply wired to emmc :)
<anarsoul> pinephone doesn't have that, thus no hs200
<MoeIcenowy> majorly because PinePhone reused some GPIO on PC bank
night199uk has quit [Ping timeout: 240 seconds]
night199uk has joined #linux-sunxi
cmeerw has quit [Ping timeout: 268 seconds]
night199uk has quit [Ping timeout: 264 seconds]
night199uk has joined #linux-sunxi
<apritzel> the SoPine and Pine64-LTS also have 1.8V on eMMC
<anarsoul> apritzel: yeah, I think hs200 worked for me on pine64-lts
<apritzel> as does the A64-Olinuxino
<apritzel> it works, but not at 200 MHz
<anarsoul> apritzel: I'd suggest to test it first before enabling it
<apritzel> I did test it, that's where I am coming from
<apritzel> 123 MB/s
<anarsoul> apritzel: you mean hs200 is not 200mhz?
<apritzel> the eMMC spec says the HS200 speed mode runs at 200 MHz
<apritzel> but that apparently does not work stably on all boards
<anarsoul> isn't it just an interface speed? emmc can actually perform worse than max interface speed
<apritzel> and the H6 and H616 open admit in the manual that it only supports up to 150 MHz
<apritzel> yes, sure
night199uk has quit [Ping timeout: 268 seconds]
<apritzel> this number was with hdparm -t, which IIRC measures mostly the interface speed
<anarsoul> apritzel: is there a magic bit to double the clock? :)
<apritzel> I think the clock part is fine, clk_summary reports 150 MHz
<apritzel> (which doesn't mean too much on its own)
<apritzel> but the reported data rate from hdparm make me more confident
<apritzel> and the 200 MHz on HS200 means that everyone (controller, traces, device) should support 200 MHz, but of course you can also run at a lower speed
night199uk has joined #linux-sunxi
<apritzel> to me it looks like there is some issue somewhere, either in the SoC itself or in the traces
<apritzel> and since the H6 manual explicitly states 150 MHz max, I assume it's more in the SoC
<apritzel> the interesting part is why it apparently works on the Pinebook
<apritzel> anarsoul: can you test the interface speed with hdparm -t for me?
<anarsoul> sure
<anarsoul> that'll take some time, battery on my pb is dead, I need to charge it for a bit
<apritzel> anarsoul: I see, no worries, I won't need it until after the merge window ;-)
<apritzel> anarsoul: btw: in the Pinebook supposed to work with the battery removed?
<anarsoul> I never tried
<apritzel> anarsoul: my battery seems to be really dead, I couldn't even revive it with this manual charge boost trick
<anarsoul> btw, battery discharge only happens with original pb (14")
<anarsoul> 11" seems to work fine
<anarsoul> but I have faulty emmc on this one
<karlp> anyone know if I can change cpu affinity for suxio_pio_edge interrupts?
<anarsoul> I guess I should move emmc from 14" into 11"
<karlp> I want to get lower jitter, latency is fine, and cpu0 has all the sdcard+wifi+blah interrupts on it as well.
<karlp> I tried taskset on my process that opens gpio chardev, but, not enough apparently...
<apritzel> anarsoul: so I removed it, but it still doesn't come up, it seems like it reboot-loops *very* early (BROM?). I suspect some other issue, but wanted to check
<karlp> want to move 135 to another cpu ideally: https://paste.jvnv.net/view/1zSrc
<apritzel> karlp: /proc/irq/x/smp_affinity
<karlp> yass! takk
<anarsoul> apritzel: you should ask someone from pine64
<anarsoul> or consult schematics if you can read it
<apritzel> yeah, I tried measuring around already, but eventually gave up. I might come back to it next week ...
<karlp> apritzel: is that actually writable?
<apritzel> depends on the IRQ, per-CPU IRQs are naturally not changeable ;-)
<apritzel> works for me
<karlp> for one of the gpio ones?
<apritzel> I tried it on the EMAC IRQ
<karlp> hrm, I guess I could try moving the rest away from cpu 0,
<apritzel> you see that IRQ in /proc/interrupts, I guess?
<karlp> but both the existing pio one from the button "k1" in my paste above or my own gpio chardev one fail
<karlp> yeah, see my paste?
<karlp> line 135 is my gpio on pin L11,
<karlp> and it goes up by the exact amount I expect when I run my gpio chardev program and feed it events on the pin
<apritzel> ah, right
<smaeul> you can't move the PIO interrupt, but you can move the GIC interrupt the PIO feeds into
<apritzel> smaeul: ah, good point, that's this PIO IRQ controller
<karlp> ok, that would make sense, is there an easy way of figuring out which gic interrupt it is?
<karlp> none of the listed have a nice obviou sname at least.
<anarsoul> apritzel: Timing buffered disk reads: 382 MB in 3.00 seconds = 127.25 MB/sec
<anarsoul> and card is identified as hs200 card: [ 6.510451] mmc2: new HS200 MMC card at address 0001
<apritzel> anarsoul: thanks, interesting, that's not really faster than mine @150MHz, but that could be due to chip limitations
<apritzel> karlp: that doesn't help you, those are the GIC lines (+32), but you need the logical Linux IRQ number
<apritzel> not sure why it's not listed, maybe because it's a "nested" IRQ
<smaeul> right
<smaeul> try `grep sunxi_pinctrl_irq_handler -r /sys/kernel/debug/irq/irqs`
<smaeul> the hwirq<->irq mapping is linear, but the offset is arbitrary
<smaeul> those files will have the HWIRQ in them
<karlp> I don't have s/k/d/irq, I guess that's a config I need to turn on?
<smaeul> actually, the mapping is not linear, that's the OF to HWIRQ mapping that's linear
<smaeul> karlp: yes, CONFIG_GENERIC_IRQ_DEBUGFS
<karlp> ok, irq affinity definitely sounds like it should _help_ with jitter at least, avoiding the mmc irqs.
<karlp> thank you very much!
<karlp> will have to rebuild this kernel, will not have that setup quickly enough for right now
<apritzel> karlp: you could check for IRQs that are in /proc/irq/x, but not in /proc/interrupts
<smaeul> I'm not sure it would help -- the pinctrl IRQs don't show up in /proc/irq, so you can't change their affinity
<karlp> well, the pio ones show up, and you can't change it either, so
night199uk has quit [Ping timeout: 240 seconds]
<smaeul> apritzel: did you comment on any of my TF-A patches? don't really want to dig through the CI comment spam...
<apritzel> smaeul: I added some nice words, as the GUI recommends ;-) but nothing to worry about
<apritzel> I am about to shoot down the broken CI vote, then wait for a day and probably commit it
night199uk has joined #linux-sunxi
<smaeul> ok, thanks. they should fix their CI (both the spurious failures and the spam)
<apritzel> smaeul: you tell me, I am preaching that for about a year now ...
<apritzel> smaeul: did you those hundreds of emails as well?
<apritzel> did you get*
<smaeul> yes, 300+ emails/day
<apritzel> so sorry for that ...
<smaeul> eh, it's not your bug. just stay away from that Allow-CI button ;)
<apritzel> smaeul: yeah, I was a bit wary to use that in the first place
<apritzel> but wanted to have some votes other than from me on those patches
<apritzel> and last time I was told off to not submit too quickly, and not without running the *#$# CI, so ...
<apritzel> (when in reality I can mathematically prove that your patches won't affect Juno and FVP functionality or build ...)
Pinchiukas has left #linux-sunxi ["WeeChat 2.8"]
jstein has quit [Quit: quit]
<anarsoul> apritzel: I just tried and pinebook runs fine with battery disconnected
<anarsoul> well, at least it starts u-boot
<anarsoul> linux is not so happy
<apritzel> anarsoul: thanks, that clears that up!
asdf28 has quit [Ping timeout: 240 seconds]