<MoeIcenowy>
as the name suggested it wants a sensor bound to a thermal zone
LargePrime has quit [Ping timeout: 260 seconds]
<wens>
add the thermal zone before adding ths?
<MoeIcenowy>
seems ok
<mripard>
that's a bug
<MoeIcenowy>
and what's the situation of the ccu pll notifier?
<mripard>
we should ignore ENODEV
<MoeIcenowy>
mripard: thus I should change the code and continue when return == -ENODEV?
<MoeIcenowy>
I think we should add dvfs for H3 & A64 now
<mripard>
yes
<MoeIcenowy>
but I remember you said that the patch of H3 should wait something
yann|work has joined #linux-sunxi
<tuxillo>
hi
<tuxillo>
has anybody been able to use the debug uart in the opi 2g iot?
BenG83 has joined #linux-sunxi
<KotCzarny>
it might be you are the only one having such board
<KotCzarny>
did you try orange forums?
<MoeIcenowy>
here's not #orangepi
<MoeIcenowy>
discussing opi 2g iot here is off topic ;-)
<tuxillo>
yeah I know it's not sunxi sorry :)
<tuxillo>
KotCzarny: yeah done that, will check this week again
LargePrime has joined #linux-sunxi
phipli has joined #linux-sunxi
IgorPec has joined #linux-sunxi
popolon has joined #linux-sunxi
velly has quit [Ping timeout: 258 seconds]
velly has joined #linux-sunxi
leviathan_ has quit [Read error: Connection reset by peer]
fkluknav has joined #linux-sunxi
perr has quit [Read error: Connection reset by peer]
perr has joined #linux-sunxi
nihcas has quit [Remote host closed the connection]
steev has quit [Remote host closed the connection]
zerotri has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
zerotri has joined #linux-sunxi
steev has joined #linux-sunxi
lurchi__ is now known as lurchi_
Mr__Anderson has joined #linux-sunxi
nihcas has joined #linux-sunxi
phipli has quit [Ping timeout: 264 seconds]
velly has quit [Ping timeout: 255 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
velly has joined #linux-sunxi
lurchi_ is now known as lurchi__
iamfrankenstein has joined #linux-sunxi
<MoeIcenowy>
mripard: the ion rework seems to be done in linux-next...
<MoeIcenowy>
vendor-specified ion drivers are removed
<MoeIcenowy>
and the dt binding now directly uses cma regions
<wens>
yeah, IIRC there was a long discussion about this
<MoeIcenowy>
but... is it possible to convert mali to use ion?
<MoeIcenowy>
(something that seems interesting: we can get libvdpau-sunxi's decoding code to work on mainline by porting the ugly /dev/cedar_dev driver
iamfrankenstein has quit [Ping timeout: 258 seconds]
iamfrankenstein1 is now known as iamfrankenstein
chlorine has quit [Remote host closed the connection]
paulk-collins has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 255 seconds]
velly has quit [Read error: Connection reset by peer]
velly has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 240 seconds]
iamfrankenstein has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<rellla>
MoeIcenowy: kido already did that afaik
iamfrankenstein has quit [Client Quit]
phipli has quit [Remote host closed the connection]
<MoeIcenowy>
rellla: saw it
<MoeIcenowy>
but only the cedar_dev part
iamfrankenstein has joined #linux-sunxi
chlorine has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
phipli has joined #linux-sunxi
afaerber has joined #linux-sunxi
chomwitt has joined #linux-sunxi
phipli has quit [Ping timeout: 268 seconds]
kloczek has joined #linux-sunxi
Mr__Anderson has quit [Quit: Leaving.]
chlorine_ has joined #linux-sunxi
chlorine_ has quit [Remote host closed the connection]
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 276 seconds]
JohnDoe71rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
chlorine_ has quit [Ping timeout: 276 seconds]
velly has quit [Ping timeout: 245 seconds]
fkluknav has quit [Ping timeout: 240 seconds]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has quit [Read error: Connection reset by peer]
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 276 seconds]
reev has joined #linux-sunxi
solarnetone has joined #linux-sunxi
fkluknav has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
LargePrime has quit [Ping timeout: 276 seconds]
marble_visions has quit [Ping timeout: 260 seconds]
chlorine_ has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
LargePrime has joined #linux-sunxi
reev has quit [Ping timeout: 268 seconds]
Gerwin_J has quit [Quit: Gerwin_J]
popolon has quit [Quit: WeeChat 1.7.1]
popolon has joined #linux-sunxi
perr has quit [Remote host closed the connection]
perr has joined #linux-sunxi
TheLinuxBug has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Quit: Leaving]
matthias_bgg has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
cnxsoft has quit [Quit: cnxsoft]
fkluknav has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
TheLinuxBug has joined #linux-sunxi
popolon has quit [Ping timeout: 260 seconds]
f0xx has joined #linux-sunxi
perr__ has joined #linux-sunxi
fire219 has quit [Ping timeout: 240 seconds]
fire219 has joined #linux-sunxi
terra854 has quit [Ping timeout: 276 seconds]
Macer_ has joined #linux-sunxi
Putti has quit [Ping timeout: 248 seconds]
mozzwald has quit [Ping timeout: 264 seconds]
perr has quit [Ping timeout: 255 seconds]
Macer has quit [Ping timeout: 255 seconds]
Macer_ is now known as Macer
mozzwald has joined #linux-sunxi
robogoat_ has quit [Ping timeout: 240 seconds]
bparker has quit [Ping timeout: 240 seconds]
TheLinuxBug has quit [Ping timeout: 264 seconds]
indy has quit [Ping timeout: 258 seconds]
LargePrime has quit [Ping timeout: 276 seconds]
TheLinuxBug has joined #linux-sunxi
solarnetone has quit [Ping timeout: 255 seconds]
jrg has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
jrg has joined #linux-sunxi
Putti has joined #linux-sunxi
indy has joined #linux-sunxi
solarnetone has joined #linux-sunxi
popolon has joined #linux-sunxi
terra854 has joined #linux-sunxi
LargePrime has joined #linux-sunxi
robogoat has joined #linux-sunxi
Kais__ has joined #linux-sunxi
bparker has joined #linux-sunxi
<Kais__>
Can someone help me overclocking dram on A64? I've changed dts but not sure if it is sufficient....
<MoeIcenowy>
why do you want to overclock it?
<MoeIcenowy>
it's not safe
<Kais__>
MoeIcenowy: I already know that, but i'm just curious about how far can my board's performace go
<MoeIcenowy>
but you can easily face system instability
<MoeIcenowy>
wens: are you going to re-spin A83T PSCI patch?
<Kais__>
Well... I'm already aware about stability issue, but would like to try it though
Ntemis has joined #linux-sunxi
<hor>
mripard: Are the DRM implementation for A13 and the prototypes for LVDS and HDMI for A10 also applicable without code change, but configuring the DTS? Thanks.
<hor>
mripard: Sorry, again: Are the DRM implementation for A13 and the prototypes for LVDS and HDMI for A10 also applicable without code change for the A20, except configuring the DTS? Thanks.
<MoeIcenowy>
the prototype is for A10s, not A10
<MoeIcenowy>
A10s is in fact the same die with A13 with different functions exported
fkluknav has quit [Ping timeout: 276 seconds]
<Kais__>
Should I change boot0 binary to change ram clock? It seems to be initializing dram settings at boot time
<MoeIcenowy>
Kais__ yes
<Kais__>
MoeIcenowy: could you tell me where to change? I found two hex having a002(672)
<MoeIcenowy>
I don't know
<terra854>
is there source code for boot0?
<MoeIcenowy>
in fact seems to be yes... although libdram is a blob
<MoeIcenowy>
and the DRAM data is added after boot0 is built
foxx has joined #linux-sunxi
<terra854>
did anyone try to decompile it?
<terra854>
or disassemble it?
perr__ has quit [Quit: Leaving]
<terra854>
the libdram
fkluknav has joined #linux-sunxi
foxx has quit [Ping timeout: 240 seconds]
<MoeIcenowy>
wens: I suggest you call your A83T PRCM clocks drivers "Add support for A83T's PRCM *CCU*"
<MoeIcenowy>
as PRCM is more than a CCU
<Kais__>
I tried changing both hex I found, and it boots correctly.... but I can't verify if ram clock is changed unfortunately
<MoeIcenowy>
got a user manual
<MoeIcenowy>
and check the CCU chapter
<MoeIcenowy>
and read registers via devmem applet of busybox
f0xx has quit [Ping timeout: 276 seconds]
jernej has joined #linux-sunxi
<wens>
MoeIcenowy: I don't have A83T PSCI patches
<wens>
MoeIcenowy: mine are for the A80, which is similar
<MoeIcenowy>
yes but the one who made A83T PSCI patchset doesn't continue
<wens>
I think he said he didn't have time for it anymore
<wens>
If I have time I might rework it into the A80 PSCI stuff
<wens>
but I'm assuming the A83T's GIC is equally broken
fkluknav has quit [Ping timeout: 276 seconds]
Andy-D_ has joined #linux-sunxi
fkluknav has joined #linux-sunxi
<MoeIcenowy>
how broken?
<MoeIcenowy>
how can I test this?
jernej has quit [Ping timeout: 264 seconds]
walrus10 has joined #linux-sunxi
<wens>
i don't have PSCI code for the A83T atm
<wens>
so I'm not sure how you are going to test it
<wens>
suffice to say, registers are wrong, and interrupts fire in the wrong mode as a result
<MoeIcenowy>
apply the patch and check the GIC MMIO part?
reinforce has joined #linux-sunxi
<wens>
shut down a core and you will know
<wens>
it will crash or do something stupid
<MoeIcenowy>
shut down it in Linux?
<wens>
hotplug (or in this case, hot remove) a core
<wens>
also, you will see the _secure_ interrupts of the arch timers fire
<MoeIcenowy>
will it show if I use maxcpus=7?
<wens>
huh?
<MoeIcenowy>
just leave one CPU down
<wens>
echo 0 > /sys/devices/system/cpuX/online
<wens>
as in hot-remove a core...
<MoeIcenowy>
ok
<wens>
or just check /proc/interrupts and see which arch timer interrupts are firing
<MoeIcenowy>
ok
<MoeIcenowy>
it should be non-secure one, as LInux is running in non-secure, right?
<wens>
and if you're interested, read up on trustzone extensions and stuff
<wens>
yes
<MoeIcenowy>
the whole AW TZ is currently a mess
<wens>
but on the A80, GIC access security is screwed up
<wens>
so you get secure GIC access under non-secure ARM
<wens>
so you access the wrong set of registers, because the GIC registers are secure/non-secure banked
<MoeIcenowy>
oh at the time of that patch the sunxi psci implementation is still in .S
<MoeIcenowy>
but now it's .c
<wens>
luckily you can access the non-secure registers from the secure side
<wens>
but that is a whole messy f**k-up workaround
<wens>
my initial version just crashed when booted back to secure, and I haven't touched it since
<MoeIcenowy>
and does the Linux GIC driver needs to be workarounded for this?
<wens>
what did I just say?
<MoeIcenowy>
?
<wens>
of course it needs to be worked around
<MoeIcenowy>
in fact I'm asking whether we need to workaround it in *Linux*
<wens>
I just said so...
<wens>
yes
walrus10 has quit [Quit: Page closed]
Nacho has quit [Remote host closed the connection]
Nacho has joined #linux-sunxi
<MoeIcenowy>
oh the patch is so out-of-date that I think I'm rewriting it rather than applying it
Kais__ has quit [Quit: Page closed]
<MoeIcenowy>
wens: in mpidr how many bits are for cpuid and how many are for cluster id?
<MoeIcenowy>
8, 8?
yann|work has quit [Ping timeout: 255 seconds]
victhor has joined #linux-sunxi
hor has left #linux-sunxi [#linux-sunxi]
fkluknav has quit [Ping timeout: 276 seconds]
<MoeIcenowy>
wens: where are your A80 PSCI code?
vagrantc has joined #linux-sunxi
chlorine_ has quit [Remote host closed the connection]
fdcx has quit [Remote host closed the connection]
Nacho has quit [Remote host closed the connection]
fdcx has joined #linux-sunxi
Nacho has joined #linux-sunxi
lennyraposo has quit [Quit: Leaving.]
fdcx has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
fdcx has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
chomwitt has quit [Ping timeout: 276 seconds]
BenG83 has quit [Quit: Leaving]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
iamfrankenstein1 is now known as iamfrankenstein
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 240 seconds]
iamfrankenstein1 is now known as iamfrankenstein
<montjoie>
ouch, converting ablkcipher to skcipher was not easy
afaerber has quit [Quit: Leaving]
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
<MoeIcenowy>
wens: even your a80-psci code is now also very old...
<MoeIcenowy>
montjoie: updating sun4i-ss ?
pmpp_ has joined #linux-sunxi
pmpp has quit [Ping timeout: 245 seconds]
<montjoie>
MoeIcenowy: sun8i-ce
<montjoie>
I try to create a minimal version (only aes) for begin mainlining
<montjoie>
but ablkcipher is deprecated
<montjoie>
and I need to convert PRNG to crypto_rng also (for sun4i-ss also)
yann-kaelig has quit [Quit: Leaving]
gzamboni has quit [Read error: No route to host]
yann|work has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
<diego71>
vagrantc: several lost packets can explain slow download. Tcp when think there is lost packet, assume there is a congestion and slow down the connection. You can test this hypotesis with a ping -s 1500 $address
<diego71>
It happened to us, to see a very slow comunication (few kb/s) for a foult cable, that cause error on 10% of packets
jstein_ has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 240 seconds]
jstein_ is now known as jstein
chomwitt has joined #linux-sunxi
<vagrantc>
it's certainly plausible there's a bad cable somewhere
<MoeIcenowy>
wens: my experimental PSCI implementation (based on your a80-psci) hangs after CPU: Virtualization extensions available.
f0xx has joined #linux-sunxi
<MoeIcenowy>
(It reached there after I added a 10ms delay before cpu_on return, otherewise it will directly hang at bringing up CPU1
<MoeIcenowy>
is it possible to be because of the GIC problem?
<MoeIcenowy>
(as I based on your a80-psci I enabled only cluster 0 now
jernej has joined #linux-sunxi
yann-kaelig has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
Pepe has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
netlynx has quit [Quit: Ex-Chat]
vagrantc has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
afaerber has joined #linux-sunxi
scream has quit [Remote host closed the connection]