<Net147>
it is writing to undocumented bits in the register...
diego___ has joined #linux-sunxi
diego___ is now known as diego71
<wens>
Net147: yes that's it
<Net147>
wens: those bits are undocumented... even for A13
<wens>
Net147: I think it's the doc that's wrong, but you'll have to dig through the ML archives to find the discussion
<Net147>
wens: right. but toggling bits 16-19 on A20 has no effect on the audio for me
leviathan_ has joined #linux-sunxi
<wens>
the doc is wrong only for sun4i/sun5i
<wens>
so for A20 you have to toggle the documented post-div bits
<wens>
I'm not sure really, but you could give it a try
terra854 has joined #linux-sunxi
mossroy has joined #linux-sunxi
<Net147>
wens: I did try it. toggling the documented post-div bits works.
<wens>
ok?
<Net147>
yes, it works fine on A20 now
paulk-leonov has quit [Quit: Leaving]
https_GK1wmSU has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
<terra854>
No one is working on DRM for A64?
https_GK1wmSU has left #linux-sunxi [#linux-sunxi]
Gerwin_J has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<Net147>
wens: in non-CCU clock driver - clk-a10-pll2.c:36:#define SUN4I_PLL2_POST_DIV_SHIFT 26
<wens>
Net147: right, and we use that driver on sun4i and sun7i
JohnDoe3 has joined #linux-sunxi
msimpson has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
BenG83 has quit [Ping timeout: 260 seconds]
BenG83 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
<Net147>
wens: I can't actually find the discussion where the doc is wrong for A13. there is no comment in the code that the doc is wrong.
fkluknav has joined #linux-sunxi
fugitive_ has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
<Net147>
wens: in sunxi-3.4, arch/arm/mach-sun5i/include/mach/ccmu_regs.h has struct __CCMU_PLL2_AUDIO_REG0008 and bits 16-19 are in the PLL2 bias current field
<marble_visions>
hi all, does kernel 3.4 support device trees?
<Net147>
mripard: did you test the audio clock on A13 when you added the sun5i CCU driver?
yann|work has quit [Ping timeout: 240 seconds]
https_GK1wmSU has joined #linux-sunxi
https_GK1wmSU has left #linux-sunxi [#linux-sunxi]
afaerber has joined #linux-sunxi
Andy-D has joined #linux-sunxi
<wens>
Net147: I think the discussion either happened on IRC, or in private
<wens>
MoeIcenowy: pinctrl changes have shown up :)
<wens>
montjoie: so I think the solution is "phy-is-internal", maybe wait a few days, then you can send patches fixing dwmac-sun8i?
<montjoie>
wens: rockchip patch with phy-is-internal sent this morning, we will see what netpeople will say
<montjoie>
at first agreement I will sent patch:)
<wens>
:)
<wens>
montjoie: btw, next time you send patches, please specify which patches should go in which tree
pfeerick has quit [Ping timeout: 255 seconds]
IgorPec has joined #linux-sunxi
<montjoie>
I agree
LargePrime has quit [Ping timeout: 260 seconds]
BenG83 has quit [Ping timeout: 240 seconds]
leviathan_ has quit [Remote host closed the connection]
gumblex has joined #linux-sunxi
gumblex_ has quit [Ping timeout: 255 seconds]
<plaes>
Net147: thanks for another great fix
<Net147>
plaes: no problem =)
<oliv3r>
plaes: i haven't checked into the why yet, but its quite audioable :)
<oliv3r>
why isn't fdt_high not in the sunxi default environemnt? whats the advantage of not having it in there? i just noticed that we always need to set it pretty much, so people who may not need it can override it if needed, rather then almost everybody having to set it, right?
<Net147>
oliv3r: maybe my patch fixes your double rate audio issue as well?
<wens>
oliv3r: I think newer U-boot works without fdt_high?
matthias_bgg has joined #linux-sunxi
<Net147>
is there any benefit to copying the FDT on boot?
fkluknav has quit [Read error: Connection reset by peer]
fkluknav has joined #linux-sunxi
popolon has joined #linux-sunxi
fkluknav has quit [Ping timeout: 246 seconds]
<oliv3r>
Net147: are they ontop of pleas' patches?
<Net147>
oliv3r: I posted a fix for the pll-audio clock in reply to plaes' CCU patchset v6
<Net147>
oliv3r: I CC-ed you
ykchavan has joined #linux-sunxi
<oliv3r>
Net147: ah awesome :)
<oliv3r>
i'll test it out yeah
ykchavan_ has joined #linux-sunxi
ykchavan_ has quit [Remote host closed the connection]
ykchavan_ has joined #linux-sunxi
ykchavan has quit [Ping timeout: 260 seconds]
hp197 has quit [Ping timeout: 276 seconds]
hp197 has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
swiftgeek has quit [Ping timeout: 260 seconds]
swiftgeek has joined #linux-sunxi
aballier has quit [Ping timeout: 240 seconds]
aballier has joined #linux-sunxi
lerc has quit [Ping timeout: 240 seconds]
fkluknav has joined #linux-sunxi
lerc has joined #linux-sunxi
mhlavink has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
gzamboni has joined #linux-sunxi
specing has quit [Ping timeout: 276 seconds]
specing has joined #linux-sunxi
<oliv3r>
what's the cheapest sunxi board?
<oliv3r>
orange pi zero?
<KotCzarny>
yeah, 256M version
<KotCzarny>
7usd+shipping (~4usd for me)
<loblik>
I guess so. I just got it for something like 11usd
cnxsoft has quit [Read error: Connection reset by peer]
<loblik>
but that was 512mb version
cnxsoft has joined #linux-sunxi
<KotCzarny>
opi0(256) costs 6.99usd, opi0(512) 8.99usd in xunlong's store
<KotCzarny>
unless you get some crazy promo selling under the original price you won't find cheaper
chlorine has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 248 seconds]
deskwizard 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 [Remote host closed the connection]
chlorine has joined #linux-sunxi
ykchavan_ has quit [Remote host closed the connection]
ykchavan_ has joined #linux-sunxi
<oliv3r>
yeah opi0 is very cheap i noticed
<oliv3r>
and has quite a lot of cool features
<oliv3r>
h2+ is based on A33 right?
<oliv3r>
how complete is our support here?
<oliv3r>
6.99 .that
<oliv3r>
that's really crazy cheap
<oliv3r>
buy 100 of them and you get free shipping? :p
<oliv3r>
4.18 USD shipping though
<oliv3r>
gets a little bit cheaper if you get more
diego_ has quit [Ping timeout: 260 seconds]
fkluknav has quit [Ping timeout: 260 seconds]
<IgorPec>
h2+ = H3 (more or less)
<oliv3r>
yeah, wihtout hdmi and gigabit
<oliv3r>
but h3 is a33 based right? i mean it's all sun7
<oliv3r>
sun8i
<loblik>
I'm using armbian with kernel 4.11.3 and there is no throtling so it get's little bit warmer and no wifi as there is no in-kernel driver I guess.
<wens>
oliv3r: sun8i = all cortex-a7
<wens>
oliv3r: nothing else :p
<loblik>
but otherwise this cheap board works quite well atleas so far
<oliv3r>
wens: so it no longer refers to the peripherial set?
fkluknav has joined #linux-sunxi
BenG83 has joined #linux-sunxi
marble_visions has quit [Ping timeout: 240 seconds]
<KotCzarny>
oliv3r: h3 is quite well supported
<KotCzarny>
but opi0 itself is very limited in ports
matthias_bgg has joined #linux-sunxi
marble_visions has joined #linux-sunxi
ykchavan_ has quit [Remote host closed the connection]
<lvrp16>
advertising h3 as anything over 1 ghz is a stretch just like raspberry pi 3's 1.2ghz is a stretch
<lvrp16>
and the amlogic 2ghz nonsense
ykchavan has joined #linux-sunxi
<KotCzarny>
lvrp16: with proper design 1.2 is stable on h3
<KotCzarny>
even 1.3 (as armbian folks say)
<lvrp16>
it's a 1ghz silicon at best
<lvrp16>
they've improved it in h5 so you can do 1.2ghz
<wens>
MoeIcenowy: are you going to resend the ethernet alias fixes?
<KotCzarny>
lvrp16: some xunlong's boards do very good heat dissipation
diego_ has joined #linux-sunxi
<oliv3r>
KotCzarny: i see ; actually a lof of our chips are getting to a point where they are quite well supported
<oliv3r>
KotCzarny: yeah but i'm sure you need a beefy heatsink
<lvrp16>
xunlong uses the oldest h3 design with the programmable i2c regulator, the newer designs skip it in favor of fixed voltage like the banana pi m2+, higher than 1ghz is really an overclock of the silicon.
<oliv3r>
and since most are sold without, those boards should be 'safe' at 1ghz
<KotCzarny>
lvrp16: they also use a lot of copper in the boards apparently
<oliv3r>
so a hidden heatsink of sort s:)
<KotCzarny>
and the boards itselves are big
<oliv3r>
heat spreader really
<lvrp16>
i highly doubt that they use any more than normal
<KotCzarny>
opipc+2e/opipc+ i have hardly need any heatsink
<MoeIcenowy>
wens: still thinking
deskwizard has quit [Ping timeout: 248 seconds]
awais has quit [Ping timeout: 260 seconds]
ykchavan has quit [Remote host closed the connection]
ykchavan has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
IgorPec has quit [Ping timeout: 255 seconds]
reinforce has quit [Quit: Leaving.]
ykchavan has quit [Remote host closed the connection]
ykchavan has joined #linux-sunxi
jernej has joined #linux-sunxi
<lvrp16>
has any1 played with the h6 yet?
<KotCzarny>
no devices released yet
<MoeIcenowy>
orange pi says they're doing H6
<MoeIcenowy>
on Orange Pi 3
<KotCzarny>
lol
<KotCzarny>
they should really start including soc in the model's name
<lvrp16>
yeah seriously, i recommended that to steven 2 years ago
IgorPec has joined #linux-sunxi
<[TheBug]>
lol especially with the vartions of the same board with both H3/H5
<[TheBug]>
seems it would be logical...
<lvrp16>
i hope the h6 has the crypto extensions for the cores
<lvrp16>
otherwise it'll just be an 905
<KotCzarny>
maybe they've licensed it? ;)
<lvrp16>
i couldn't find it on the brief
<MoeIcenowy>
I think all A53 has AES instruction set...
<lvrp16>
you have to license it separately
<lvrp16>
s905 vs s905x
<MoeIcenowy>
lvrp16: ?!
<MoeIcenowy>
s905 has an A53 without AES?
<lvrp16>
s905 doesn't have crypto extensions
<MoeIcenowy>
do you mean AES/SHA instruction sets
<MoeIcenowy>
or some hardware IP block?
<lvrp16>
i mean the instruction support in the A53
<lvrp16>
not separate crypto engines
<MoeIcenowy>
oh...
<lvrp16>
separate crypto engines perform like crap and aren't MT capable
<KotCzarny>
mmm, multistream speedup
<MoeIcenowy>
if my memory is right H5 has crypto instructions
<MoeIcenowy>
yes the "features" in the /proc/cpuinfo on a kernel running on Orange Pi Prime (H5) says "fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid"
<lvrp16>
i hope h6 is the same way
<lvrp16>
s905x has 1.5GB/s aes throughput on all 4 cores...without it, you have like 20MB/s
<lvrp16>
s905 can only do a pathetic 20MB/s
<KotCzarny>
mmm, smmmoking!
<lvrp16>
on all 4 cores, you can do ~80MB/s
<lvrp16>
so if h6 doesn't have it, it'll be really hamstrung
deskwizard has joined #linux-sunxi
deskwizard has joined #linux-sunxi
deskwizard has quit [Changing host]
<MoeIcenowy>
is Amlogic the only vendor known to cut the crypto extension?
<lvrp16>
in so far as i know, only s905 doesn't have it and h3, h6
<lvrp16>
rockchip 33x all have it
<KotCzarny>
h3 use a7 cores
chlorine_ has joined #linux-sunxi
<lvrp16>
i should make an 8890 board ;)
<lvrp16>
would u guy pay $200 for it?
<lvrp16>
guys*
<KotCzarny>
allwinner is about lowest cost possible ;)
<KotCzarny>
orders on sub 10usd boards from xunlong seems to confirm that
<lvrp16>
they're a public company, they really need a breakout chip and not try to live off their 3 year old design
chlorine has quit [Ping timeout: 260 seconds]
<lvrp16>
otherwise they may go "unpublic" lol
netlynx has joined #linux-sunxi
<willmore>
lvrp16, A64 has crypto, right?
<lvrp16>
yes
<willmore>
Rpi3 seems not to have them either.
<IgorPec>
here are some numbers done with H5. https://forum.armbian.com/index.php?/topic/4530-nanopi-neo2-411-kernel/&do=findComment&comment=35173
<willmore>
Can you use the AES extension from ARMv7 anyway?
<MoeIcenowy>
seems yes
<MoeIcenowy>
but I think many programs just doesn'
<willmore>
IIRC, openssl doesn't tend to use AES extensions because they can be vulnerable to certain attacks. You have to tell it when you build it not to worry and use the ISA extensions.
<KotCzarny>
hmm
<KotCzarny>
igorpec, that's single core results?
<IgorPec>
sorry, wrong ... cpu governor is notok
<IgorPec>
the same. huh
<lvrp16>
a64 should have the instruction extensions, they mention 3-10x software encryption boost
<MoeIcenowy>
h3 doesn't has AES extension
<IgorPec>
It's Linux nanopineo 4.10.0-sun8i
<MoeIcenowy>
AES extension is in fact introduced in ARMv8
<IgorPec>
than its ok.
<azelha>
hi. anyone know how to setup basic timers and interrups on soc A20?
<MoeIcenowy>
how can Cortex-A7 which is ARMv7 have it? ;-)
<MoeIcenowy>
azelha: refer to the user manual.
<azelha>
A20 user manual dont show all
<azelha>
show me info about the gic on A20 mamual
<azelha>
should be a sample code of it on sunxi
<willmore>
MoeIcenowy, If you mean my comment, I was talking about the Rpi3 which is an ARMv8 chip running in 32 bit mode. I was curious if the AES extensions are available in the 32bit mode. I may have misspoke when I asked my question, sorry.
<MoeIcenowy>
willmore: I think it can be present
<MoeIcenowy>
check your /proc/cpuinfo
reinforce has joined #linux-sunxi
<MoeIcenowy>
and I think many program won't consider ARMv8 AArch32 situation...
<willmore>
MoeIcenowy, that was my expectation as well.
<willmore>
I don't have a Rpi3 handy to check. But it doesn't have AES anyway, so ...
dave0x6d has joined #linux-sunxi
msimpson has quit [Quit: Leaving]
jernej has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Quit: Leaving]
BenG83 has quit [Quit: Leaving]
leviathan_ has joined #linux-sunxi
jernej has joined #linux-sunxi
deskwizard has quit [Ping timeout: 260 seconds]
phipli has joined #linux-sunxi
lkcl has quit [Ping timeout: 246 seconds]
vagrantc has joined #linux-sunxi
vagrantc has quit [Ping timeout: 248 seconds]
BenG83 has joined #linux-sunxi
lurchi__ is now known as lurchi_
deskwizard has joined #linux-sunxi
deskwizard has joined #linux-sunxi
deskwizard has quit [Changing host]
afaerber has quit [Quit: Leaving]
f0xx has quit [Ping timeout: 260 seconds]
lurchi_ is now known as lurchi__
vishnup has joined #linux-sunxi
specing has quit [Ping timeout: 240 seconds]
afaerber has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]
jernej has joined #linux-sunxi
vishnup has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
chlorine_ has quit []
Keziolio has quit [Ping timeout: 246 seconds]
lkcl has joined #linux-sunxi
vagrantc has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
<phipli>
Hey folks - anyone know what interface(s) the Orange Pi NAS Expansion board connects to on the Orange Pi?
https_GK1wmSU has left #linux-sunxi [#linux-sunxi]
jstein has quit [Read error: Connection reset by peer]
terra854 has quit [Quit: Connection closed for inactivity]
smaeul has quit [Quit: WeeChat 1.8]
fkluknav has quit [Ping timeout: 255 seconds]
Gerwin_J has quit [Ping timeout: 258 seconds]
Gerwin_J has joined #linux-sunxi
ykchavan has quit [Quit: Leaving]
mossroy has quit [Quit: Leaving]
lurchi__ is now known as lurchi_
reinforce has joined #linux-sunxi
leviathan_ has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
Mr__Anderson has quit [Remote host closed the connection]
hp197 has joined #linux-sunxi
Andy-D has joined #linux-sunxi
vagrantc has joined #linux-sunxi
libv has quit [Read error: Connection reset by peer]
libv has joined #linux-sunxi
vagrantc has quit [Ping timeout: 260 seconds]
reinforce has quit [Quit: Leaving.]
libv has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
specing has quit [Read error: Connection reset by peer]
libv has quit [Ping timeout: 246 seconds]
libv_ has joined #linux-sunxi
libv_ has quit [Ping timeout: 260 seconds]
libv has joined #linux-sunxi
yann|work has quit [Ping timeout: 240 seconds]
specing has joined #linux-sunxi
yann|work has joined #linux-sunxi
diego_ has quit [Ping timeout: 260 seconds]
https_GK1wmSU has joined #linux-sunxi
Ntemis has quit [Remote host closed the connection]
https_GK1wmSU has left #linux-sunxi [#linux-sunxi]
phipli has quit [Ping timeout: 260 seconds]
<willmore>
It's also one USB<>SATA per USB bus, so they shouldn't interfere with each other at the hardware level. I can't speak about the driver and block layers.
jernej has quit [Ping timeout: 268 seconds]
dev1990 has quit [Quit: Konversation terminated!]
jonkerj has quit [Ping timeout: 260 seconds]
jonkerj has joined #linux-sunxi
libv_ has joined #linux-sunxi
libv has quit [Ping timeout: 276 seconds]
libv_ has quit [Read error: Connection reset by peer]