Turl 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
jernej has quit [Ping timeout: 240 seconds]
vinimac has quit [Quit: Saindo]
apritzel has quit [Ping timeout: 240 seconds]
wzyy2 has joined #linux-sunxi
chomwitt has quit [Ping timeout: 246 seconds]
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
ganbold has quit [Quit: This computer has gone to sleep]
ganbold has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
<wens> MoeIcenowy: function pointers don't have much to do with OO
Andy-D has quit [Ping timeout: 260 seconds]
victhor has quit [Ping timeout: 240 seconds]
reev has joined #linux-sunxi
velly has joined #linux-sunxi
cloud-e has quit [Ping timeout: 260 seconds]
cloud-e has joined #linux-sunxi
cloud-e has quit [Ping timeout: 264 seconds]
pg12 has quit [Ping timeout: 240 seconds]
pg12 has joined #linux-sunxi
cloud-e has joined #linux-sunxi
terra854 has joined #linux-sunxi
techping has joined #linux-sunxi
techping has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
IgorPec has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 264 seconds]
dr1337 has joined #linux-sunxi
<dr1337> hi all, does anyone know how to get a hold of V3S development boards?
<dr1337> Is the lichee zero the only one available?
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #linux-sunxi
jski_ has joined #linux-sunxi
jski has quit [Ping timeout: 240 seconds]
alsy has joined #linux-sunxi
alsy2 has quit [Ping timeout: 260 seconds]
JohnDoe_71Rus has joined #linux-sunxi
Putti has quit [Ping timeout: 240 seconds]
robogoat has quit [Ping timeout: 240 seconds]
robogoat has joined #linux-sunxi
Putti has joined #linux-sunxi
jernej has joined #linux-sunxi
alsy2 has joined #linux-sunxi
alsy has quit [Ping timeout: 268 seconds]
jernej has quit [Ping timeout: 240 seconds]
alsy has joined #linux-sunxi
alsy2 has quit [Ping timeout: 260 seconds]
zumbi has quit [Ping timeout: 240 seconds]
pulser_ has quit [Read error: Connection reset by peer]
bbrezillon has quit [Ping timeout: 258 seconds]
pulser has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
zumbi has joined #linux-sunxi
<KotCzarny> oh, xunlong listened and renamed orange pi zero plus 2 to orange pi zero plus 2 h3 and orange pi zero plus 2 h5
<KotCzarny> ;)
reinforce has joined #linux-sunxi
alsy has quit [Ping timeout: 246 seconds]
DullTube has joined #linux-sunxi
<plaes> hrm.. Banana Pi M2Ultra (with R40) costs 50$
<KotCzarny> yup, a20/r40 are amazingly expensive
<plaes> I was thinking about getting it to test the ccu patches... but no
<plaes> wens: is the clock setup of R40 similar to A20?
<MoeIcenowy> plaes: quite different
<MoeIcenowy> R40 is in sun6i-style
<KotCzarny> not 8?
ganbold has quit [Quit: Leaving]
ganbold has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 260 seconds]
Andy-D has joined #linux-sunxi
f0xx has joined #linux-sunxi
<wens> KotCzarny: the clock layout is either sun4i or sun6i
<MoeIcenowy> there's no SoC with sun8i name do not use sun6i-style clock, except sun8iw2, which we usually call it sun7i
dr1337 has quit [Ping timeout: 260 seconds]
BenG83 has quit [Quit: Leaving]
<KotCzarny> ahum
<plaes> sun7i is a20
florianH has joined #linux-sunxi
massi has joined #linux-sunxi
vickycq has quit [Ping timeout: 258 seconds]
vickycq has joined #linux-sunxi
lemonzest has joined #linux-sunxi
techping has joined #linux-sunxi
Andy-D has quit [Ping timeout: 240 seconds]
Worf has joined #linux-sunxi
LargePrime has quit [Ping timeout: 256 seconds]
LargePrime has joined #linux-sunxi
petard_ has joined #linux-sunxi
Ntemis has joined #linux-sunxi
filt3r has quit [Read error: Connection reset by peer]
<petard_> MoeIcenowy: Hi. I will bother you again with v3s :/ Please tell me if you've been able to boot lichee with mainline uboot ? I'm able to boot it with sunxi uboot but with mainline it just doesn't work. It says starting kernel and everything goes black. I guess I'm missing the loading addresses. I'm loading script.bin to 0x42000000 and uImage to 0x41000000. Any wisdom ?
BenG83 has joined #linux-sunxi
filt3r has joined #linux-sunxi
<MoeIcenowy> I remember lichee kernel used different addresses on V3s
<MoeIcenowy> but I forgot the addresses
<petard_> Basically this is what I get:
<petard_> => setenv bootargs console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait panic=10
<petard_> => load mmc 0:1 0x42000000 boot/script.bin
<petard_> ** File not found boot/script.bin **
<petard_> => load mmc 0:1 0x42000000 script.bin
<petard_> 31972 bytes read in 89 ms (350.6 KiB/s)
<petard_> => load mmc 0:1 0x41000000 uImage
<petard_> 2275856 bytes read in 538 ms (4 MiB/s)
<petard_> => bootm 0x41000000
<petard_> ## Booting kernel from Legacy Image at 41000000 ...
<petard_> Image Name: Linux-3.4.39
<petard_> Image Type: ARM Linux Kernel Image (uncompressed)
<petard_> Data Size: 2275792 Bytes = 2.2 MiB
<petard_> Load Address: 40008000
<KotCzarny> ugh
<KotCzarny> use pastebin.com
<KotCzarny> or similar
<petard_> Sorry. My bad
matthias_bgg has joined #linux-sunxi
<petard_> Correct paste: https://pastebin.com/Ps7xb0cM
<MoeIcenowy> ok got the address
<MoeIcenowy> try to put kernel at 0x42000000 and script.bin at 0x41d00000
<petard_> Nope, same thing again
<petard_> Can you give me a pointer what to research ? I don't want to bother you to do my research.
<MoeIcenowy> the bsp kernel source :-(
<MoeIcenowy> P.S. have you rebuilt script.bin according to your current console?
<petard_> yep
<petard_> the same one boots fine on legacy uboot
<MoeIcenowy> mripard: the internal osc of A64 is surely 11MHz :-(
<MoeIcenowy> maybe it's a silicon bug
<MoeIcenowy> so if the mux is not switch to external osc32k you will get a 22KHz osc32k :-)
<mripard> MoeIcenowy: iirc, the accuracy is *very* bad on the internal oscillator
<MoeIcenowy> but both my Pine64 and jernej's Pine64 showed a 11MHz result
<MoeIcenowy> P.S. creating the rtc-int-osc clock in rtc-sun6i driver is also a bad idea
<MoeIcenowy> as the iosc is 667KHz on A33, 16MHz on H3/5 and 11MHz ( :-( ) on A64
<MoeIcenowy> mripard: should I define iosc frequency to 11000000 in A64 DTSI?
<mripard> which is why I told you to check the RTC before
<MoeIcenowy> or define as 16000000 as the datasheet said?
<MoeIcenowy> I think 1/3 error is even too more for a RC oscillator...
<MoeIcenowy> and the default value of RTC INT OSC divider is also 16, which means Allwinner designed the iosc on A64 to be 16MHz, so the 11MHz should be some bug...
<mripard> in the A33 at least, the accuracy is 30%
<mripard> 11MHz is within bounds of 16MHz with 30% accuracy
<MoeIcenowy> 11MHz is slightly beyond 30%
<MoeIcenowy> 11 / 16 = 0.6875
<mripard> your measure might be a bit inacurrate itself
<MoeIcenowy> yes
<MoeIcenowy> but it's also possible to make the situation worse
<MoeIcenowy> I hope there's a method to prevent to switch to iosc even if it's a valid mux
<MoeIcenowy> so I will follow the datasheet in the patchset I sent now
<MoeIcenowy> I think no clocks in R_CCU need to have its frequency set in Linux
<MoeIcenowy> or should we enlarge the accurency value to a higher value, e.g. 50%?
<MoeIcenowy> mripard: ^
<mripard> it would be good if you could test all the muxing options
<MoeIcenowy> I tested all ;-)
<mripard> just to be sure what those muxes are
<MoeIcenowy> 0 is losc, 1 is hosc and 2 is pll6
<mripard> on which SoC ? A64?
<MoeIcenowy> H3/H5/A64 all
<wens> what do you mean by "no clocks in R_CCU need to have its frequency set in Linux"
<mripard> so just like A33 then
<MoeIcenowy> The original ar100-info has code to test mux 0, 1 and 2
clonak_ is now known as clonak
<MoeIcenowy> I only modified it to test also mux 3
<MoeIcenowy> wens: I think we have no need to change rates of clocks in R_CCU
<wens> MoeIcenowy: that doesn't mean something won't depend on reading back the clock rate
<MoeIcenowy> and mod0 clocks in r_ccu have all only osc32k, osc24M mux (no mux option to AR100 clk)
<mripard> it depends, it might be useful for the UARTs, IR (maybe?), etc
<mripard> i2c too
<MoeIcenowy> yes
<wens> uarts, i2c, rsb all read the clock rate and set internal dividers
<MoeIcenowy> reading back do not hurt
<MoeIcenowy> but we shouldn't have code to put the clock into the so-inaccurate mux 3
<wens> if you really want to go that route, you can, by just leaving it out of the parent clocks list
<wens> but you need to be sure that if some other system left the mux at 3, linux has some way to force it out
<mripard> MoeIcenowy: that depends
<wens> not sure if the clk core can do that
<mripard> for something that doesn't really depends on the rate itself
<mripard> (or that have some tolerancies)
<MoeIcenowy> I know it depends
<mripard> using the internal oscillator might make sense if your external one consumes some power for example
<MoeIcenowy> but I think such an inaccurency can hurt all devices that use it as clock input
<mripard> the proper way to deal with that would simply be to report its accuracy
<mripard> and let drivers deal with that
<MoeIcenowy> ok
<MoeIcenowy> I think drivers will try to use an oscillator with better accurency, right?
<mripard> but, I'll state that again, if that internal oscillator is that bad
<mripard> you want to fix your RTC.
tkaiser has joined #linux-sunxi
<MoeIcenowy> RTC fixup code is already there in rtc-sun6i.c
<mripard> yes, and no drivers use it
<mripard> hmm
<mripard> s/drivers/DT/
<MoeIcenowy> nope it's in probe function
<MoeIcenowy> and forced
<MoeIcenowy> without any statements
<MoeIcenowy> just followed after memory remapping
<wens> right, iirc i requested that
<MoeIcenowy> it's good ;-) otherwise we will have an osc32k with 22KHz ;-)
<MoeIcenowy> but now I think having the iosc defined in rtc-sun6i.c is not a good idea -- it should be the second clock input of rtc device node
<MoeIcenowy> and to be compatible with the dt in 4.11 we can still create the int osc clock in rtc driver if the second clock is not present
<wens> you can also just add new compatibles for the other chips, such that they register the internal clock at a different frequency
<MoeIcenowy> but the internal clock is also used by r_ccu
<MoeIcenowy> and when we ccuizeing the prcm clocks in A23/A33 we will also deprecate the codes that create the int_osc in rtc-sun6i driver
<MoeIcenowy> as both rtc-sun6i and r-ccu want this 667KHz clock
<wens> you have a point
<MoeIcenowy> and I suggest we raise the accurency value of iosc to 40%, as the result on A64 have already reach the value that is little more error than 30%
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
<MoeIcenowy> let me first submit the r_ccu patchset for A64/H3/H5 then the rtc external iosc patchset
<wens> wonder if there's a switch to turn iosc off, like on a80/a83t
<MoeIcenowy> there's no switch to turn it off on A83T.
<MoeIcenowy> there is a OSC16M_ENABLE register on A83T
<MoeIcenowy> but it's not R/W
<MoeIcenowy> it's RO
<MoeIcenowy> P.S. what label should I attach on iosc device tree node? osc16M or iosc?
<mripard> MoeIcenowy: there's no point in reporting an accuracy bigger than what it is if you don't have anything to back it up
<wens> MoeIcenowy: funny that it is R/O but the default is 0 (disabled)
<MoeIcenowy> P.S. at least I'm sure the OSC16M is on after fully cold boot on A64 (with all power supplies removed and DCIN re-inserted)
<wens> well the bit is r/w on a83t, despite what the manual says
<MoeIcenowy> and in that situation I got the embarrassing 22KHz osc32k
<MoeIcenowy> well at least there's no such a register at 0x01f015f4 on A64
<wens> the 24M/16M mux on the a83t seems bogus :/
Worf has quit [Quit: Konversation terminated!]
<wens> that or the mux only applies to cpus' hosc input
<wens> and 24Mhz feeds the ccu directly
lamer14907821425 has joined #linux-sunxi
<MoeIcenowy> should I note the experiement result on my A64 in device tree binding documentation?
<MoeIcenowy> or just say 16MHz with 30% accuracy?
tkaiser has quit [Ping timeout: 240 seconds]
<wens> not sure why you would mention it if you are moving it out to a independent clock node?
<wens> "internal RC oscillator" should suffice
<MoeIcenowy> original osc descriptions are like "the low frequency oscillator (usually at 32kHz)"
<MoeIcenowy> so should I describe the new osc "the SoC's internal frequency oscillator (on A64/H3/H5 it'
<MoeIcenowy> it's 16MHz, but with only an accuracy of 30%)"
<wens> imho that's more for the device tree writer to know which clock to put there
<MoeIcenowy> so we can even remove the frequency info?
<wens> "SoC's internal RC oscillator" is specific enough
<MoeIcenowy> OK ;-)
<MoeIcenowy> and we cannot ensure it's RC ;-)
<wens> you can always mention all the information in your commit log though
<wens> true, the datasheets for the newer SoCs are quite vague about it :(
akaWolf has quit [Ping timeout: 258 seconds]
<MoeIcenowy> I will mention the frequency in per-SoC DTSI commit message ;-)
<MoeIcenowy> as for A33 it's really 667KHz ;-)
Mr__Anderson has joined #linux-sunxi
akaWolf has joined #linux-sunxi
Hao has joined #linux-sunxi
massi has quit [Remote host closed the connection]
wzyy2 has quit [Ping timeout: 268 seconds]
Hao has quit [Quit: Ex-Chat]
Hao has joined #linux-sunxi
<oliv3r> what was the key that boot0 checks to interrupt the bootloader?
<wens> 2 drops to fel mode
<wens> s drops to a shell in u-boot
Hao has quit [Ping timeout: 240 seconds]
mhlavink has quit [Ping timeout: 260 seconds]
akaWolf has quit [Ping timeout: 240 seconds]
Mr__Anderson 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 quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
BenG83 has quit [Ping timeout: 260 seconds]
chlorine has quit [Ping timeout: 260 seconds]
chlorine has joined #linux-sunxi
<plaes> hum.. 0x1661 as SoC id
<MoeIcenowy> plaes: what SoC?
<MoeIcenowy> interesting
<plaes> see mailinglist
<plaes> I wish he starts with new device howto
<MoeIcenowy> soooooooooooooo inteeeeeeeeeeeresting
<MoeIcenowy> it may be a testing sample between A23 and A33
<KotCzarny> first allwinner clone?
<KotCzarny> or someone got cheap batch of created-to-order leftovers?
<MoeIcenowy> nope, I think clones should have correct SoC ID
kaspter has joined #linux-sunxi
<oliv3r> wens: perfect thank you
<MoeIcenowy> except the situation that the clone is based on some internal designs leaked from AW
techping has quit [Remote host closed the connection]
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
velly has quit [Ping timeout: 256 seconds]
reev has quit [Ping timeout: 256 seconds]
wzyy2 has joined #linux-sunxi
chlorine has joined #linux-sunxi
BenG83 has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 260 seconds]
<igraltist> oh, cubietruck reach new limit :D 0.0-10.0 sec 1.09 GBytes 937 Mbits/sec
DullTube has quit [Quit: Leaving]
massi has joined #linux-sunxi
<igraltist> its looks that ~45MB/s download with nfs is the maximum
chlorine_ has joined #linux-sunxi
chlorine_ has quit [Remote host closed the connection]
<igraltist> iperf reverse: 0.0-10.0 sec 525 MBytes 441 Mbits/sec
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 258 seconds]
chlorine has joined #linux-sunxi
chlorin__ has joined #linux-sunxi
chlorine_ has quit [Read error: Connection reset by peer]
kaspter has quit [Ping timeout: 268 seconds]
chlorine has quit [Ping timeout: 256 seconds]
chlorin__ has quit [Remote host closed the connection]
chomwitt 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
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
lamer14907821425 has quit [Quit: jIRCii - http://www.oldschoolirc.com]
vagrantc has joined #linux-sunxi
Guest78775 has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<tkaiser> igraltist: And now start htop in another shell, test again and let htop answer the 'what's the bottleneck?' question ;)
<tkaiser> igraltist: And if you've not switched to performance governor you need a 3rd shell to monitor cpufreq too :)
<tkaiser> igraltist: If since you mentioned NFS you might also want to look into CPU affinity, where eth0 IRQs are processed and then both taskset and ionice become your favourite tools to improve performance even further. ;)
<igraltist> oh with cpufreq performance: 0.0-10.0 sec 812 MBytes 680 Mbits/sec
<tkaiser> igraltist: Ok, so only 70 Mbits/sec are missing to reach the maximum ;) http://linux-sunxi.org/Sunxi_devices_as_NAS#Influence_of_the_chosen_OS_image_on_NAS_performance
<tkaiser> igraltist: And you won't get these 70 Mbits/sec with default DVFS settings since you need to exceed 960 MHz. You're testing your CPU and not network all the time ;)
<igraltist> cpu speed max is 1008MHz
<tkaiser> igraltist: Yeah, then this is the maximum you get. Numbers in linux-sunxi wiki are with an overvolted/overclocked A20. Anyway: iperf with SBC --> bottlenecked by CPU
hojnikb has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
<hojnikb> Anything relevant from xunlong about the 2g-iot board ? They seem to be focusing on countless retardations of h3 boards, but actually producing something with more usefulness (like remote iot projects) ?
<igraltist> i saw now the peek on 52MB/s on download enough for me :D
<hojnikb> *iterations
lkcl has joined #linux-sunxi
<hojnikb> igraltist: 52MB/s is nothing to brag about really :)
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<igraltist> it was not that good in the last to years :D
chlorine has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Quit: cnxsoft]
<miasma> damn, there are tons of new boards not listed here. does anyone remember all of them? http://linux-sunxi.org/Table_of_Allwinner_based_boards
<miasma> new orange pi zero, new nanopi
<hojnikb> These chinese fabs spit out boards faster than wiki maintainers can keep up :)
<jelle> miasma: supported ones are the most interesting :)
<KotCzarny> miasma: just add the ones you want
<miasma> jelle: um, aren't they mostly supported already
<miasma> KotCzarny: i will, but i need to browse multiple news sites to find them
<KotCzarny> and its not the boards that are supported but socs
<miasma> at least the new opi zero is h3 based
<KotCzarny> unless there is some sunxi devs support program sponsored by vendors? ;)
<KotCzarny> for specific boards, that is
<KotCzarny> there are two opi0
<KotCzarny> h3 and h5 ;)
<miasma> there's some ubuntu collaboration with xunlong, isn't there
<jelle> miasma: they don't seem to do mainline work though
<jelle> just pushing their flatpack alternative
<miasma> wouldn't those apps work with mainline kernels too
* vagrantc tends to keep an eye on arch/arm*/boot/dts/ for new boards
<KotCzarny> miasma, i think tkaiser recently posted something that listed boards not in the table yet
<miasma> vagrantc: sadly that's lagging badly behind, see http://linux-sunxi.org/H3#Mainline_status
<jelle> miasma: the apps are not the issue, it's the driver support
<MoeIcenowy> P.S. Nano Pi guys are now seeking for some mainline support ;-)
<jelle> MoeIcenowy: how do you know? :P
<MoeIcenowy> jelle: they mailed to me ;-)
<KotCzarny> miasma: https://forum.armbian.com/index.php?/topic/1351-h3-board-buyers-guide/#comment-28169
<MoeIcenowy> and tkaiser (in fact it's tkaiser who introduced me to them
<jelle> I've been busy with the nano pi neo air, but bluetooth over uart is "special" :p
<miasma> KotCzarny: thanks
<miasma> orange pi pc 3, is that even released yet?
<MoeIcenowy> I think no...
<hojnikb> Nope, only PC2
<jelle> MoeIcenowy: and the nano pi neo air should work mostly
<hojnikb> I'd say PC3 might use a better SoC than H5
<hojnikb> at least that would make sense
<MoeIcenowy> I've heard they're already ready to release a 4.10-based image for Nano Pi NEO...
<jelle> :O
<KotCzarny> what soc is better than h5?
<jelle> MoeIcenowy: that would be very interesting
<vagrantc> miasma: sure, it lags, but it's the most interesting set of boards from my perspective :)
<MoeIcenowy> although some boards in arch/arm^/boot/dts/ may have even no MMC support
<MoeIcenowy> for example the A83T boards
<hojnikb> S905X is better than h5
<hojnikb> better media support :)
<KotCzarny> hojinkb, let's stay in allwinner land ;)
<vagrantc> yes, some features lack too.
<KotCzarny> otherwise it's too much to choose from ;)
<hojnikb> well
<hojnikb> i don't think allwinner has anything that can compete with amlogic
<hojnikb> media wise
<KotCzarny> h5 can decode videos via cpu
<miasma> sadly, board makers might abandon allwinner if nothing new comes up
<KotCzarny> so it's not that bad
<MoeIcenowy> yes allwinner has nothing to compete with Amlogic
<MoeIcenowy> but linux-sunxi is much better than linux-meson
<miasma> there's this new dynamiq
<miasma> people soon want 8-core arm64
<jelle> MoeIcenowy: first off the wiki ;-)
<hojnikb> anything can decode video via cpu
<miasma> does any arm/mips/x86 sbc community have a better wiki?
<hojnikb> but decoding something like hevc hi10 required a lot of power
<hojnikb> something a53 aren't capable
<hojnikb> hence special hw decoders
<miasma> hw decoders make lots of sense, it would be hard to cool the SoC anyways with that much processing
<hojnikb> yep
<hojnikb> although
<hojnikb> > H.265/HEVC Main/Main 10 profile@level 5.1 high-tier
<hojnikb> that would suggest support for 10 bit video
<MoeIcenowy> yes, but someone tested and failed
<hojnikb> yes i tested myself under android
<hojnikb> and no dice for 10 bit videos
<hojnikb> 8 bit worked fine
<hojnikb> so either they didn't implement proper software support for their cedarX
<hojnikb> or there isn't any hardware and they're just straight up lying in their whitepapers
<KotCzarny> i wonder if it would be possible to write arm/neon optimized h265/hevc decoder that would compete with hw ones
<hojnikb> nope
<hojnikb> not a chance
<KotCzarny> anyone tried?
<KotCzarny> or patents prevent it?
<hojnikb> i don't think there are any patents preventing it
<hojnikb> it just makes little sense
<KotCzarny> hw engines are not modifiable, software can be changed/update
<hojnikb> software is also terribly inefficient
<hojnikb> not something you want on a passive cooled device
Ntemis has quit [Ping timeout: 258 seconds]
<hojnikb> best way is to plan ahead and implement every commonly used codec/profile
<hojnikb> i mean, AVC/H.264 stuck around for 10 years now and is still going strong
JohnDoe_71Rus has joined #linux-sunxi
<hojnikb> i still think there is a slight chance H5 might actually support above mentioned codecs in software
<miasma> didn't the dual-core intels (with ~100W TDP) have problems decoding h264 at some point. not enough cpu power
<hojnikb> maybe P4
<KotCzarny> changing codecs and depending on specialized hw seems quite wasteful
<hojnikb> drawing more power than necessary is more wasteful :)
<KotCzarny> yeah, 5W instead of 2.5? ;)
<miasma> not supporting 10bit videos is problematic, but I don't think most videos depend on that anyways
<miasma> the video situation is pretty standardized nowadays
<hojnikb> PC2 can draw up to 7W with just the CPU cores loaded
<KotCzarny> still a lot less than any x86 box
<miasma> i used to watch tons of videos with rpi, it supports h264/high profile 5.1
<hojnikb> i can't image what would happen if you loaded gpu cores at the same time as well
<hojnikb> KotCzarny: actually no
<hojnikb> my z3735f draws similar amount of power
<hojnikb> around 0.5-1.5V@5V
<hojnikb> compared to PC2
<KotCzarny> atx psu alone can suck 5-20W just connected to ac ;)
<hojnikb> x86 is not just atx boxes with big psus
<hojnikb> just look at atoms
<MoeIcenowy> but Z3735F designs usually do not use ATX
<hojnikb> it's still a PC and still x86
<miasma> i have atom z8350 and it needs like 5V/3A, otherwise hangs randomly
<MoeIcenowy> many of them produce in Shenzhen use a power supply vendor that we are familiar -- AXP!
<hojnikb> must be shit psu
<KotCzarny> :)
<hojnikb> i hadn't seen more than 2A from my z3735f
<MoeIcenowy> (or specially AXP288, which is nearly the same with the AXP803 paired with A64)
<MoeIcenowy> (but with DCIN and VBUS combined, and RSB support removed)
<hojnikb> bottom line
<hojnikb> x86 cpus can be very efficient
<hojnikb> or platforms based around them for that matter
<KotCzarny> how many cores are z3735f ?
<MoeIcenowy> 2c4t or 4c4t...
<MoeIcenowy> I forgot
<KotCzarny> 4. hum
<hojnikb> it's 4 cores
<hojnikb> clocks to 1.3-1.8G
<KotCzarny> interesting. so atoms are finally catching up to real usable cases
<hojnikb> atoms are usable since at least 2014
<KotCzarny> z3735f is q1'14
<hojnikb> ever since intel released silvermont based sos
<miasma> yea, they switched to OoO execution and maybe even hyperthreading at some point
<MoeIcenowy> but it's a pity that consumer-level Atoms are now abandoned
<miasma> the NAS atoms also had some issue with their internal clock dying
<hojnikb> They're not
<KotCzarny> it's a17 though
<hojnikb> only cheapo tables SoCs are scrapped
<hojnikb> everything else is still going strong
<hojnikb> now with goldmont cores
<jelle> KotCzarny: mali no drivers, intel shot at getting them :(
reinforce has quit [Quit: Leaving.]
<hojnikb> reaching core2 level IPC
<hojnikb> at 1/10 the power
<miasma> i'd hope amd comes up with a large number of new Zen cores in their apus. would compete with atoms
<hojnikb> i doubt we'll see that before 2018
<MoeIcenowy> Zen cores are designed for high power consume
<hojnikb> nope zen cores are highly scalable
<Ke> f you want NAS, perhaps you would like MacchiatoBIN
<Ke> at this time openness and mainline linux support are questions though
<TheLinuxBug> ESPRESSObin would be my suggestion
<Ke> both u-boot and linux have descriptions of the devices dts and whatnot
<KotCzarny> still, those cores and software (bsp) are poorly implemented arm tech, otherwise we would be seeing 10-50x lower cpu draw in idle
<TheLinuxBug> full speed SATA and 3x Gigabit nic
<TheLinuxBug> + pcie
<TheLinuxBug> to add additional SATA ports as needed
chlorine has joined #linux-sunxi
<miasma> maybe xunlong would consider other designs than allwinner h3/h5 too :) the price is pretty competitive :)
<TheLinuxBug> I am not too concerned about what they produce, but it would be nice if they delievered the items ordered from them...
<hojnikb> looks like xunlong is married with allwinner :D
<hojnikb> i think amd could really pull a good SoC with 2c4t config
<hojnikb> and a fab, thats highly optimized for low power/low frequency
alsy has joined #linux-sunxi
<alsy> hi, i've added ac_power_supply and usb_power_supply in cubietruck.dts. But only USB pwer apears unter /sys/class. I don't understand why.
bfree has quit [Ping timeout: 240 seconds]
<alsy> I'm on next from today
alsy has quit [Ping timeout: 260 seconds]
alsy has joined #linux-sunxi
<MoeIcenowy> alsy: because the ac_power_supply driver is not yet merged.
<alsy> but there are entries in sun5i-r8-chip.dts and sun8i...
<alsy> and I thought "mfd: axp20x; Add AC power supply cells for AXP22x PMICS" adds it
<alsy> or was there an AC patch in series that was not accepted?
quard has joined #linux-sunxi
<MoeIcenowy> alsy: yes there's still some patches not merged
<alsy> ok thanks
<MoeIcenowy> they may be merged in 4.12
<alsy> i'm on next-20170329
<alsy> i'll have a look which patches are not merged
chlorine has quit [Read error: Connection reset by peer]
Hao has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
hojnikb has quit [Quit: Page closed]
chlorine_ has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
cptG has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
chlorine has quit [Ping timeout: 240 seconds]
cptG_ has quit [Ping timeout: 268 seconds]
Ntemis has joined #linux-sunxi
chlorine has joined #linux-sunxi
reinforce has joined #linux-sunxi
chlorine has quit [Remote host closed the connection]
komunista has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
chlorine has quit [Read error: Connection reset by peer]
chlorine_ has quit [Ping timeout: 256 seconds]
alsy has quit [Ping timeout: 246 seconds]
alsy has joined #linux-sunxi
vickycq has quit [Ping timeout: 264 seconds]
vickycq has joined #linux-sunxi
f0xx has quit [Ping timeout: 260 seconds]
formruga has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
chomwitt has quit [Ping timeout: 260 seconds]
Hao has quit [Ping timeout: 264 seconds]
Hao has joined #linux-sunxi
wzyy2 has quit [Ping timeout: 246 seconds]
|Jeroen| has joined #linux-sunxi
akaWolf has joined #linux-sunxi
Andy-D has joined #linux-sunxi
alsy2 has joined #linux-sunxi
alsy has quit [Ping timeout: 240 seconds]
chomwitt has joined #linux-sunxi
alsy2 has quit [Ping timeout: 256 seconds]
popolon has quit [Ping timeout: 240 seconds]
chomwitt has quit [Ping timeout: 240 seconds]
alsy has joined #linux-sunxi
Wizzup has quit [Remote host closed the connection]
alsy2 has joined #linux-sunxi
multi_io has quit [Ping timeout: 246 seconds]
Wizzup has joined #linux-sunxi
multi_io has joined #linux-sunxi
alsy has quit [Ping timeout: 260 seconds]
petard_ has quit [Remote host closed the connection]
massi has quit [Remote host closed the connection]
<MoeIcenowy> oh I now need a name, to cover both the mixer in DE2 and the backend (and frontend) in DE1...
<MoeIcenowy> wens, mripard, jernej: ^
<KotCzarny> DEWINNER ? ;)
<MoeIcenowy> what's dewinner?
<KotCzarny> name i made up this moment
|Jeroen| has quit [Quit: dada]
<MoeIcenowy> I want a serious name in source file for a variable name which may contain a sun4i-backend or a sun8i-mixer
<MoeIcenowy> maybe I can just call it mixer
<MoeIcenowy> as it's also the function of sun4i-backend ;-)
matthias_bgg has quit [Quit: Leaving]
BenG83 has quit [Quit: Leaving]
netlynx has joined #linux-sunxi
alsy has joined #linux-sunxi
alsy2 has quit [Read error: No route to host]
LargePrime has quit [Ping timeout: 240 seconds]
LargePrime has joined #linux-sunxi
Hao_ has joined #linux-sunxi
f0xx has joined #linux-sunxi
lkcl has quit [Ping timeout: 240 seconds]
Hao_ has quit [Remote host closed the connection]
Hao_ has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
apritzel1 has joined #linux-sunxi
Putti has quit [Ping timeout: 240 seconds]
gw has joined #linux-sunxi
gw is now known as Guest76632
Hao_ has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
Putti has joined #linux-sunxi
jernej has joined #linux-sunxi
Guest76632 has quit [Quit: Page closed]
netlynx has quit [Quit: Ex-Chat]
quard has quit [Quit: Leaving]
f0xx has quit [Ping timeout: 260 seconds]
Hao_ has joined #linux-sunxi
<MoeIcenowy> jernej: DE2 refactoring finished
<jernej> great
<jernej> already on github?
<MoeIcenowy> nope
<MoeIcenowy> still on my local machine
<MoeIcenowy> oh one patch missing
<MoeIcenowy> and doing a pass of checkpatch.pl
<MoeIcenowy> ok checkpatched
<MoeIcenowy> now push to github and send patch
apritzel1 has quit [Ping timeout: 240 seconds]
<MoeIcenowy> jernej: now on my github de2-v3
<jernej> I'm already reading them :)
<MoeIcenowy> P.S. I did a force push to fix a typo...
kloczek has quit [Remote host closed the connection]
<MoeIcenowy> Please then point it out in the mails I sent, thus I can fix it according the the mailing list archive ;-)
f0xx has joined #linux-sunxi
terra854 has quit [Quit: Connection closed for inactivity]
alsy has quit [Ping timeout: 264 seconds]
aballier has quit [Quit: leaving]
fest has quit [Ping timeout: 260 seconds]
lkcl has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
fest has joined #linux-sunxi
chomwitt has joined #linux-sunxi
Hao_ has quit [Ping timeout: 240 seconds]
kloczek has joined #linux-sunxi
BenG83 has joined #linux-sunxi
apritzel has joined #linux-sunxi
nashpa has quit [Ping timeout: 268 seconds]
nashpa has joined #linux-sunxi
victhor has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Mr__Anderson has joined #linux-sunxi
f0xx has quit [Ping timeout: 256 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
<jernej> MoeIcenowy: ping?
Mr__Anderson has quit [Remote host closed the connection]
lemonzest has quit [Quit: Leaving]
BenG83 has quit [Ping timeout: 240 seconds]
lurchi__ is now known as lurchi_
BenG83 has joined #linux-sunxi
komunista has quit [Quit: Leaving.]
Ntemis has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
vagrantc has joined #linux-sunxi
laj has joined #linux-sunxi
lurchi__ is now known as lurchi_
dave0x6d has quit [Quit: Connection closed for inactivity]
a|3x has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-sunxi
mzki has quit [Ping timeout: 260 seconds]
BenG83 has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-sunxi
tsuggs has joined #linux-sunxi
jernej has quit [Ping timeout: 260 seconds]