<ErwinH>
tkaiser: Is it enough to see that changing the max_freq in the dvfs_table is reflected in the cpufreq_max_freq?
tgaz has quit [Read error: Connection reset by peer]
tgaz has joined #linux-sunxi
yann|work has quit [Ping timeout: 258 seconds]
<ErwinH>
tkaiser: running at higher clockspeeds helps a little in improving the iperf3 performance. Reaching peek speeds of 612MBits/sec running at 1152MHz.
<ErwinH>
Average bandwidth: 582Mbits/sec
<wens>
rellla: 1.5 :p
<wens>
rellla: it's 1.0 DE, TCON is more like 2.0 (one channel documented per TCON instead of 2)
<rellla>
wens: how tricky would it be, to get vga part ported to 1.0? if even possible...
<MoeIcenowy>
since A33 TCON have only one channel.
<wens>
rellla: the vga is just an external dac
<wens>
MoeIcenowy: the vendor kernel doesn't seem to care :p
<MoeIcenowy>
nearly all aw boards come with VGA is external DAC
<wens>
we could try to make it use the supposedly non-existent ch1
<MoeIcenowy>
I cannot understand what you're saying...
<wens>
rellla: only the A10/A20 have a TV encoder that has enough channels for VGA
<wens>
MoeIcenowy: i mean we could try using ch1 in tcon0 on the a80
<wens>
that is, when i get hdmi working :/
<MoeIcenowy>
wens: even though the ch1 is not mentioned?
<MoeIcenowy>
in user manual
matthias_bgg has quit [Quit: Leaving]
<wens>
MoeIcenowy: yup
<MoeIcenowy>
but I think ch1-less tcon is already sun8i-a33-tcon ;-)
<wens>
i know
<wens>
but it still seems to have the mux for dsi and hdmi
<wens>
so, not so sun8i-a33-ish :)
Putti has quit [Quit: Leaving]
<MoeIcenowy>
a33 has also mipi-dsi
Putti has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
<wens>
but it doesn't have 2 tcons you need to mux
<MoeIcenowy>
although we have no any support for it, in both u-boot and kernel
<MoeIcenowy>
two weeks ago I got an A33 tablet with a DSI screen
<MoeIcenowy>
then I returned it back (just because I don't feel like writing the driver
<wens>
why not :p
<wens>
you could always send it to someone else
popolon has joined #linux-sunxi
florianH has joined #linux-sunxi
clonak has joined #linux-sunxi
Andy-D_ has quit [Ping timeout: 258 seconds]
yann|work has joined #linux-sunxi
kaspter has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<dgp>
Do interrupts from gpio pins have lots of latency? (h2/h3)
<tkaiser>
ErwinH: you might set cpufreq governor to performance and then monitor cur_freq (not max -- irrelevant) since the budget cooling stuff dictates how high CPU and GPU cores can be clocked (and I would assume H5 legacy kernel tried to address rather capable Mali450 which could generate a lot of heat when used)
<ErwinH>
I've seen the cur_freq at 1152 while running iperf3
diego_r has quit [Quit: Konversation terminated!]
<ErwinH>
The legacy kernel monitors both sensors and displays the highest.
<tkaiser>
ErwinH: Ok, then this works. IIRC with A64 cpufreq could be adjusted by playing around with dtc and editing the .dtb file while dvfs operating points could only be changed through u-boot (so overclocking worked but led to undervolting and instabilities with heavy loads)
<ErwinH>
Only thing is, I doubt the voltage regulator is addressed in the Legacy kernel...
<ErwinH>
1V1 point stays at 1V1
<tkaiser>
ErwinH: Sure, that's the whole problem and most probably the reason why Buddy started with these values (no clue how this stuff works). Looking at the 'H5 SDK' commits already made me so sick that I think it's not worth the efforts.
<tkaiser>
ErwinH: If Buddy's last commits weren't just by accident then at least we know how that OPi Zero Plus 2 (nice name BTW) looks like. No Ethernet and AP6212 for WiFi/BT and camera interface. Attacking NanoPi Air.
elvirolo has joined #linux-sunxi
<elvirolo>
hi!
<dgp>
tkaiser: h2+ again?
<ErwinH>
H5
<tkaiser>
dgp: Even more weird: H5
<dgp>
So it's not going to be as cheap as the current zero I guess
<dgp>
Only thing wrong with the current zero is the weird wifi chipset really :)
<tkaiser>
dgp: Nope, if Steven tries to attack FriendlyARM then it will be $18 (since NanoPi Air is $20)
<elvirolo>
I have an Olimex Lime2 board with a 3A PSU, connected to the USB OTG port of the board. The board is also powered by a lipo battery. There's a 1A 2.5" SATA disk connected to it + a USB hub. It seems the board doesn't power up when the battery is not connected. Isn't that strange?
<ErwinH>
But not at HS
<ErwinH>
;vqmmc="vcc-emmcvq18"
<tkaiser>
elvirolo: IIRC when you power Olimex boards through OTG you need to press the power button. Use the barrel plug when you want to start the board when power is available.
<elvirolo>
tkaiser: the thing is that it starts, but crashes a second later, except if the battery is plugged in.
<dgp>
tkaiser: they must only spend a week or so designing each of these boards
<tkaiser>
elvirolo: Welcome to the world of undervoltage/undercurrent then. If it's about power then simply try to avoid these three letters: U, S and B.
<KotCzarny>
if that's a micro usb port, then its limited to 1.8A, isnt it?
<elvirolo>
I'm trying to use it with the latest version of uboot mainline, as you suggested it to me, tkaiser
<KotCzarny>
so no wonder you get out of power
<tkaiser>
KotCzarny: MiniUSB
<elvirolo>
tkaiser: KotCzarny aaah, that's what it is
<KotCzarny>
tkaiser, still, is it supposed to be powered via that port?
<elvirolo>
KotCzarny: it is indeed miniusb
kaspter has quit [Ping timeout: 246 seconds]
<elvirolo>
KotCzarny: it can
<tkaiser>
KotCzarny: Sure and the same applies to all sunxi devices with a PMIC
<KotCzarny>
no, is it supposed by vendor, not by funky power routing
a1d3s has joined #linux-sunxi
<KotCzarny>
?
<tkaiser>
KotCzarny: Also true, I did all my consumption tests with Olimex boards using Mini-USB.
<tkaiser>
Since I ordered USB-to-5.5/2.1-cables and they were crap (shutdown under load maybe due to thin cable diameter) so I had to use OTG
mzki has joined #linux-sunxi
<elvirolo>
Ok, so I should get a proper barrel-type PSU then
<tkaiser>
elvirolo: I would switch to the barrel plug instead. Olimex claims they have a 'noise immune' design there. And in case you don't know the AWG rating of your USB cable it's safer anyway.
<elvirolo>
a pity they only sell 1A ones
<KotCzarny>
make one yourself?
<KotCzarny>
plugs+cable bares are dirt cheap
<diego71_>
indeed
<diego71_>
and there are also 2.1 plug with clip, you don't even need to solder them
<elvirolo>
Well, I suppose I could get a plug an connect it to my 3A PSU
<elvirolo>
diego71_: that sounds good
<elvirolo>
I have an iron, but I'm always afraid of shortcuts/dodgy solder joints when I do it myself
<KotCzarny>
then use clips/electrical connectors
<tkaiser>
elvirolo: 'psu 2.1 5.5 5v' web search
<dan0_0>
tkaiser: what would the use of a board without ethernet be with an H5?
<dan0_0>
At least for my use cases it seems like a big impediment
<elvirolo>
Thank you :)
<KotCzarny>
similar to this one, no soldering and good grip
<dgp>
elvirolo: super cheap meter from banggood would help
<tkaiser>
dan0_0: NanoPi Air seems to sell quite well
<KotCzarny>
available in any electrical shop
<dan0_0>
H5 with eMMC would be great
<dan0_0>
tkaiser: How many units?
<jelle>
tkaiser: is there a wifi mainline driver?
<tkaiser>
dan0_0: No idea, only based on interest in Armbian forum.
apritzel has joined #linux-sunxi
* jelle
quickly wanders off to the wiki
<tkaiser>
jelle: Sure, it's AP6212, same driver as for Cubietruck for example
<dan0_0>
I feel like they need to just up their marketing, outreach and software game. Ship a few dozen freebies out to some hackerspaces and seed the market
<jelle>
tkaiser: nice
<elvirolo>
KotCzarny: actually I think I might have one lurking around somewhere
<dan0_0>
there are definitely more than a few people here in Seattle who'd buy a few dozen OrangePis to replace their RasPis/build new systems
<tkaiser>
jelle: Even BT should work but there the userland situation is a mess AFAIK
<jelle>
ohh I'd like bluetooth
<elvirolo>
dgp: indeed :)
<dan0_0>
mmm, BT would be sweet
<dan0_0>
could do a bluetooth beacon :P
* jelle
was thinking about gaming thing
futabachannel has quit [Quit: Leaving...]
<dan0_0>
what'd you use BT for in gaming?
<KotCzarny>
p2p games
<dan0_0>
don't you want everything to be low latency there?
<dan0_0>
mmm
<KotCzarny>
battle ships
<dan0_0>
yea, I could see that
<apritzel>
dan0_0: controllers?
<tkaiser>
apritzel: H5, mainline and USB. What's missing?
<dan0_0>
apritzel: just feel like BT is a bit high latency for that, hell, gamers around here buy motherboards with 2x USB 1.1 ports since it has lower latency vs USB 2.0
<apritzel>
tkaiser: nothing, I guess?
<apritzel>
tkaiser: in my experience most things that work on H3 just work on the H5
<tkaiser>
apritzel: Ok, then I overlooked something (no ehci/ohci nodes in DT IIRC)
<apritzel>
tkaiser: but the DT may miss some nodes
<tkaiser>
apritzel: In case you missed it, ErwinH also applied megous' H3 ths patches and they seem to work fine with OPi PC 2
<apritzel>
tkaiser: or: the config bits are missing in arm64
<apritzel>
tkaiser: that's especially true for USB
<apritzel>
tkaiser: temperature sensor?
<ErwinH>
Readout working fine :)
<ErwinH>
1 of the 2 sensors
<tkaiser>
apritzel: Yep and AFAIK throttling too
<apritzel>
well, I have moved the sensors into ATF
<apritzel>
and use SCPI sensors
<apritzel>
just have to find a way to work around some nasty sunxi-ng clock behaviour
<apritzel>
btw: I have some almost sane U-Boot patches for the H5
<apritzel>
FEL is working, Ethernet as well
<apritzel>
and: blob-free: no libdram or boot0, pure OpenSource DRAM setup
<apritzel>
on top of the A64 SPL patches
<tkaiser>
Great
<apritzel>
those ths patches are those older ones from summer?
<apritzel>
I looked into some of them for the ATF THS driver and found at least one bug in there ...
<apritzel>
so any OrangePi PC 2 involved people here: don't waste your time with this SDK U-Boot, just be a little more patient ...
* jelle
patiently waits on apritzel's magic
noblock has quit [Quit: Leaving]
<apritzel>
btw: does anyone know why we use DRAM at 672 MHz only?
noblock has joined #linux-sunxi
<KotCzarny>
stability?
<apritzel>
all the chips on the 64-bit boards (Pine64, BPi-M64, OPi-PC2) use DDR3-1600 capable chips
<KotCzarny>
vendor numbers?
Putti has quit [Ping timeout: 250 seconds]
<KotCzarny>
one guy experimented with 800something mhz
<KotCzarny>
and claimed it was stable with proper tuning
<apritzel>
Theobroma?
<KotCzarny>
ntemis was his nick
<KotCzarny>
never provided limamemtester results though
<KotCzarny>
you can search the logs what he modified
* dan0_0
is still waiting for his Opi PC2 to arrive from China
<apritzel>
KotCzarny: I think I remember him: wasn't he copying some dodgy values from someone? And this was one some 32-bit OPi?
<dan0_0>
Did 800 odd mhz provide any significant performance improvements?
<apritzel>
dan0_0: theoretically this is +20% on DRAM performance
<apritzel>
dan0_0: but I don't have any benchmark data
<dan0_0>
:c
<KotCzarny>
apritzel: i dont remember the details, just the event
<dan0_0>
I'd assume the GPU would have improved performance
<apritzel>
but my impression is that those Allwinner default settings leave a lot on the table
florianH has quit [Quit: Connection closed for inactivity]
lemonzest has quit [Remote host closed the connection]
<KotCzarny>
umkay.seems that trim command doesnt work over usb for jms578
<KotCzarny>
either unimplemented in the driver or failing for some other reason
tkaiser has joined #linux-sunxi
cptG_ has joined #linux-sunxi
Leepty has quit [Remote host closed the connection]
cptG has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
ErwinH has joined #linux-sunxi
ErwinH has quit [Ping timeout: 260 seconds]
yann|work has quit [Ping timeout: 248 seconds]
<MoeIcenowy>
It seems that the EFI mode of U-Boot 2016.11 cannot boot Linux kernel on sun8i...
<MoeIcenowy>
(I used a H3
dave0x6d has joined #linux-sunxi
ganbold has quit [Ping timeout: 240 seconds]
deskwizard has joined #linux-sunxi
Pepe has joined #linux-sunxi
<MoeIcenowy>
I may receive some V3s board next week...
<KotCzarny>
entry level dash cam solution
<KotCzarny>
a bit on the low side
<MoeIcenowy>
yes
<MoeIcenowy>
but one advantage of V3s is its integrated DRAM
<KotCzarny>
but only 64mb
<KotCzarny>
so very specialized
<MoeIcenowy>
yes...
<MoeIcenowy>
it may be worthful to run bare metal ;-)
<KotCzarny>
but if they deliver on the 'low power' side, it might be quite interesting
Andy-D_ has joined #linux-sunxi
<MoeIcenowy>
yes... A V3s come with a SPI NOR Flash can easily become a low-end embedded solution
<KotCzarny>
do some power usage measurements (lowest/normal/max) etc
<MoeIcenowy>
beating STM32
<KotCzarny>
yes, though it greatly depends how much juice it will suck
<MoeIcenowy>
if it come with a SPI NOR co-packaged, it will be better ;-)
<MoeIcenowy>
yes
<KotCzarny>
could make nice music/video player too
<MoeIcenowy>
sunxi used to be a player SoC vendor ;-)
<MoeIcenowy>
when the X is below 3 ;-)
lovepupils has joined #linux-sunxi
<lovepupils>
wow just read today's irclog, great to see this much love for the pi pc2!
<lovepupils>
maybe I will run armbian before NYE :)
lovepupils has quit [Client Quit]
Putti has joined #linux-sunxi
apritzel has joined #linux-sunxi
KB3VGW has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
vagrantc has joined #linux-sunxi
vagrantc has quit [Ping timeout: 258 seconds]
KB3VGW has quit [Read error: Connection reset by peer]
KB3VGW has joined #linux-sunxi
KB3VGW has left #linux-sunxi [#linux-sunxi]
vagrantc has joined #linux-sunxi
deskwizard has quit [Ping timeout: 245 seconds]
apritzel has left #linux-sunxi [#linux-sunxi]
matthias_bgg has quit [Quit: Leaving]
<KotCzarny>
hmm. why is setup_environment in uboot using only sid[0] and sid[3] for identification? looking at sid list at wiki it's not differing much
Andy-D_ has quit [Ping timeout: 268 seconds]
dave0x6d has quit [Quit: Connection closed for inactivity]
<beeble>
other way would be to use fit images and define the image to load in the u-boot dtb
<beeble>
but i think you wanted to keep distroboot
IgorPec has joined #linux-sunxi
<KotCzarny>
image roughly stays the same, because i target h3 boards
<tkaiser>
I knew it from the day Pine64 has been announced. Someone would be moronic enough to praise ARMv6 Raspbian running on ARMv8 boards (not RPi 3): http://forum.pine64.org/showthread.php?tid=2949
<KotCzarny>
but fexes differ, and since bsp droid is broken in terms of usb device autodetect, i have to make a workaround
terra854 has quit [Quit: Connection closed for inactivity]
<KotCzarny>
tkaiser, why do you care about forum.pine64 ?