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
<ssvb> GeneralStupid: for the start, can you try the test script from here - https://github.com/ssvb/lima-memtester/releases/tag/20151207-orange-pi-pc-fel-test
<ssvb> GeneralStupid: and then add your results to the table here - http://linux-sunxi.org/Orange_Pi_PC#DRAM_clock_speed_limit
vishnup has joined #linux-sunxi
deskwizard has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
Ueno_Otoko has joined #linux-sunxi
Ueno_Otoko has quit [Ping timeout: 240 seconds]
TheLinuxBug has quit [Ping timeout: 250 seconds]
flok420 has quit [Ping timeout: 250 seconds]
TheLinuxBug has joined #linux-sunxi
orly_owl has joined #linux-sunxi
orly_owl has quit [Client Quit]
orly_owl has joined #linux-sunxi
orly_owl has quit [Changing host]
orly_owl has joined #linux-sunxi
flok420 has joined #linux-sunxi
orly_owl has quit [Ping timeout: 272 seconds]
ricardocrudo has quit [Ping timeout: 255 seconds]
orly_owl has joined #linux-sunxi
dannym has quit [Remote host closed the connection]
orly_owl has quit [Ping timeout: 240 seconds]
deskwizard has quit [Read error: Connection reset by peer]
orly_owl has joined #linux-sunxi
orly_owl has quit [Client Quit]
orly_owl has joined #linux-sunxi
deskwizard has joined #linux-sunxi
afaerber has quit [Ping timeout: 260 seconds]
afaerber has joined #linux-sunxi
orly_owl has quit [Ping timeout: 272 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
leviathancn_szu has quit [Ping timeout: 260 seconds]
akaizen has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
akaizen has joined #linux-sunxi
orly_owl has joined #linux-sunxi
naobsd has joined #linux-sunxi
viccuad has joined #linux-sunxi
orly_owl has quit [Ping timeout: 265 seconds]
orly_owl has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
akaizen has quit [Read error: Connection reset by peer]
p1u3sch1 has quit [Ping timeout: 265 seconds]
p1u3sch1 has joined #linux-sunxi
TheSeven has quit [Ping timeout: 240 seconds]
TheSeven has joined #linux-sunxi
akaizen has joined #linux-sunxi
orly_owl has quit [Ping timeout: 246 seconds]
viccuad has quit [Ping timeout: 246 seconds]
IgorPec has joined #linux-sunxi
hipboi has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
hipboi has quit [Ping timeout: 255 seconds]
iamfrankenstein has quit [Client Quit]
JohnDoe_71Rus has joined #linux-sunxi
hipboi has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 260 seconds]
cnxsoft1 is now known as cnxsoft
orly_owl has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
deskwizard has quit [Ping timeout: 272 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
hipboi_ has joined #linux-sunxi
hipboi has quit [Ping timeout: 240 seconds]
naobsd has quit [Quit: naobsd]
hipboi_ has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
Netlynx has joined #linux-sunxi
Netlynx has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
hipboi has quit [Read error: Connection reset by peer]
leio has quit [Ping timeout: 260 seconds]
leio has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 240 seconds]
hipboi has joined #linux-sunxi
kaspter has joined #linux-sunxi
<KotCzarny> hmm, i've noticed that in bootloader phase device uses ~0.15mA, but booted ~0.50, what can i power off to lower usage? (already disabled wifi and screen via a10disp)
akaizen has quit [Read error: Connection reset by peer]
jonatan has joined #linux-sunxi
hipboi has quit [Read error: Connection reset by peer]
hipboi has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<tkaiser> Still talking about Lamobo R1? If so not much. There's the broadcom switch and SATA power (might be disabled, search in the forum at bananapi.com how the community had to reverse engineer the power scheme to be able to power disks -- simple lesson: never every buy any product from SinoVoip again)
<tkaiser> And then on Allwinner SoCs it makes a difference whether a display is detected or not. SoC temperature and consumption increase with connected display. And the 'display engine' is in enabled state the first 10 minutes after a boot (at least on H3 and A83T, haven't checked A20)
<tkaiser> When no display is connected you see SoC temperature and consumption slighty decrease 10 minutes after boot.
tkaiser has quit [Client Quit]
JohnDoe_71Rus has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
<tkaiser> And on the R1 the crappy Wi-Fi is connected through USB, you can try to disable it completely. If power is supplied through USB (look into the fex file for a PIN definition, eg. PH6), you might disable it through sunxi-pio -m PH6'<default><default<default><0>'
<tkaiser> If that works you can disable it in the fex file too
<KotCzarny> hmm
<KotCzarny> thought unloading module disabled it completely
<KotCzarny> apparently its not
<KotCzarny> (but it gets back 100mA so i presume it is)
<tkaiser> Why? It's an IC that has to be powered. And it's connected through USB like a Wi-Fi dongle
soderstrom has joined #linux-sunxi
<tkaiser> It depends on the power scheme SinoVoip used. No idea, will never ever look into something from this manufacturer.
hipboi has quit [Quit: Leaving]
<KotCzarny> would that pin disabling disable power on the whole wifi bus?
<tkaiser> Look into the power scheme in the Wiki. Can't tell. Which sunxi-pio you can switch pins of/off. What then happens depends
<KotCzarny> thanks for the sunxi-pio tip
<KotCzarny> as its preferred way to disable it dynamically than recompiling kernel/uboot
<KotCzarny> hmm, loaded module for wifi and put it up, mA didnt change, so it was apparently hostapd activity on the wifi (module itself when idle doesnt do much)
<tkaiser> At least you can have a look whether disabling PB03 helps (you power your disk externally you said?)
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<KotCzarny> i didnt have my 3.5" hdd yet with this device (should be home in a few days), but im planning to put external power cable and not power it from r1
<KotCzarny> pb03 is the sata power pin?
<KotCzarny> also, apparently armbian doesnt include that tool (luckily i have compiled the sources and can add it)
<KotCzarny> sunxi-pio -m PB03
<KotCzarny> PB3<1><0><1><1>
<KotCzarny> what is the correct way to disable it? sunxi-pio -m PB03<1><0><0><1> ?
<KotCzarny> also in fex pb03 is motor_shake
<KotCzarny> root@lamobo:~# grep PB03 lamobo-r1.fex
<KotCzarny> motor_shake = port:PB03<1><default><default><1>
<KotCzarny> sata_power_en = port:PB03<1><default><default><0>
<KotCzarny> is it a but or simple same pin control both ?
tkaiser has joined #linux-sunxi
<tkaiser> motor_used = 0
<tkaiser> As already said: I won't look into problems with any SinoVoip product since it's not worth the efforts.
<KotCzarny> and for general question about pin power, was the syntax correct?
<tkaiser> To review Banana Pi M3 was enough. Everything that came after Banana Pi (be it R1, M2 or M3) is lousy
<tkaiser> Try it out. Regarding your disk. You can't power 3.5" from the board. You need a dual voltage PSU: 5V/12V
<KotCzarny> i know
<tkaiser> And a special cable between the SATA connector on the board and the disk
<KotCzarny> that's why i said i will be connecting disk externally
<KotCzarny> and yes, i have adapter to connect sata cable
<tkaiser> Better throw the R1 in the bin, get a 12V PSU, 2 step-down converters for 9V/5V, a cheap GBit switch and a Banana Pi instead
<tkaiser> If you stay with the R1, check SMART attribute 199 ;)
<KotCzarny> this is the adapter i bought me
<KotCzarny> (i'll use only sata-data part)
<KotCzarny> it should also save the sata port on board from wear as a side effect
<tkaiser> Have you measured the consumption of your dual voltage PSU already? Since the few ones we tried here all had an idle consumption way higher than the whole board. Why trying to save 100mA on the board when your PSU wastes 3W when idle?
<KotCzarny> tkaiser: i want to minimize board power to lowere temperature on the axp (not to save on electricity)
<KotCzarny> s/temperature/wear/
<KotCzarny> offtopic, are the raspberry pi2+ suffering from single usb connection or their ports (4) are independent?
<tkaiser> http://linux-sunxi.org/Sunxi_devices_as_NAS#Network.2Fstorage_not_blocking_each_other
<KotCzarny> but is ti the case with rasp 2 too?
<tkaiser> Yes! As already written there.
<KotCzarny> thx
<KotCzarny> i'm trying to woo away someone from buying rpi
<tkaiser> Also offtopic: I made a test just recently: https://community.wd.com/t/technical-questions-regarding-pidrive/142658
<tkaiser> You're able to get close to 35MB/s with a single disk connection. But can't UAS there so this will especially affect accessing disks in parallel. Then performance will degrade drastically on the RPi2
<tkaiser> I thought about using WD's 'PiDrive' to be combined with ODROID C1+ but it seems this drive is both horribly slow and the USB-to-SATA bridge lacks features (and the product support)
<KotCzarny> :)
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
soderstrom has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
<KotCzarny> how do i use modified fex file?
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Equilibrium 4.2.0, revision: 42021, sources date: 20120701, built on: 2013-10-21 12:25:22 UTC 42021 http://www.kvirc.net/]
avph has quit [Ping timeout: 255 seconds]
JohnDoe_71Rus has joined #linux-sunxi
<KotCzarny> ahm.
avph has joined #linux-sunxi
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
HeavyMetal has joined #linux-sunxi
ikmaak has joined #linux-sunxi
<ikmaak> the nand on the olimex lime2/cubieboard etc, will the driver be mainlined? in the kernel there is still no support for it as far as i can see?
viccuad has joined #linux-sunxi
<ikmaak> hmm. https://linux-sunxi.org/MTD_Driver says "Since version 3.19 of the Mainline Kernel SLC NAND is supported. " " Booting: TODO: dtb, u-boot, boot0/sunxi-spl, special hw-randomization for boot partitions " why is this SLC and is it in now or not?
<ikmaak> if i understand correctly now https://linux-sunxi.org/NAND#Background there is a non-free driver for it in some board distro's but it depends on some util "nand-part" by a chinese guy who did not specify licensing well (and used no comments), solving the issue is described as straightforward, just needing someone knowledgeable to work on it for about a day..
<ikmaak> KotCzarny: reading :)
<ikmaak> there are 3 patches for nand, but it is unclear to me if they are merged now, or it needs more work
<ikmaak> or if that is all that is needed
<ikmaak> if i understan correctly: 3 patches are proposed, but no comments on them, and there is no merge in sight? no info if this is all that is needed
<KotCzarny> >> echo 'auto' > '/sys/bus/usb/devices/3-1/power/control';
<KotCzarny> saves 20-30mA (by enablin wlan usb autosuspend)
<KotCzarny> and another 20 by echo 'min_power' > '/sys/class/scsi_host/host0/link_power_management_policy';
Ueno_Otoko has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
<KotCzarny> axp chip reports nice 431mA 5042mV
paulk-collins has joined #linux-sunxi
tkaiser has joined #linux-sunxi
<tkaiser> KotCzarny: fex2bin is your friend. And BTW: For such optimisation stuff you're trying to achieve I find it useful to use a bit more monitoring (being able to look at graphs and to correlate settings)
<tkaiser> If you install RPi-Monitor simply rely on the archive I provide there. The official RPi-Monitor package contains outdated stuff for A20
ricardocrudo has joined #linux-sunxi
akaizen has joined #linux-sunxi
akaizen has quit [Ping timeout: 265 seconds]
akaizen has joined #linux-sunxi
silviop has joined #linux-sunxi
akaizen_ has joined #linux-sunxi
<silviop> Hi, my ask: Tablet q8 A13 compatible, after Uboot correct start kernel, backlight switch off, but i can see with a flashlight boot text scrolling so lcd is ok but backlight is switched off.
<silviop> uboot and kernel mainline
akaizen__ has joined #linux-sunxi
akaizen__ has quit [Read error: Connection reset by peer]
akaizen has quit [Ping timeout: 256 seconds]
akaizen has joined #linux-sunxi
<silviop> i try to set default-.brightness-level =<100> in sun5i-q8-common.dtsi but no change
akaizen_ has quit [Ping timeout: 260 seconds]
<silviop> in my original fex lcd is enabled by APX-1 , pwm port is PB2 and power is APX-0
lamer14505336559 has joined #linux-sunxi
tkaiser has quit [Ping timeout: 260 seconds]
lamer14505336559 has quit [Quit: jIRCii - http://www.oldschoolirc.com]
<KotCzarny> tkaiser: i'm using external usb meter
<KotCzarny> also, found sunxi-fexc and did those changes
<KotCzarny> and while before tweaking it was showing 0.50-0.51A in idle, now it shows 0.43-0.45A
<KotCzarny> also, temperature on axp chip dropped 1-1.5C
<KotCzarny> hmm, i wonder how much power gmac/bcm switch uses (will test it later when i configure wifi)
BorgCuba has joined #linux-sunxi
Ueno_Otoko has quit [Ping timeout: 256 seconds]
<BorgCuba> hi, I want to modify the boot command for u-boot so I placed "uEnv.txt" with my changes into the 1st fat32 partition. This file is not recognized, I get "fail to find part named env". Do I have to rename the partition or add an extra partition?
Netlynx has quit [Quit: Leaving]
ricardocrudo has quit [Ping timeout: 256 seconds]
reinforce has joined #linux-sunxi
kenny has quit [Remote host closed the connection]
deskwizard has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
jbrown has joined #linux-sunxi
atsampson has quit [Ping timeout: 240 seconds]
IgorPec has joined #linux-sunxi
akaizen has joined #linux-sunxi
Netlynx has joined #linux-sunxi
Netlynx has quit [Changing host]
Netlynx has joined #linux-sunxi
<BorgCuba> is it possible to disable vsync? got a problem with glmark2-es and max 60fps for on-screen rendering
jbrown has quit [Ping timeout: 260 seconds]
atsampson has joined #linux-sunxi
paulk-collins has quit [Quit: Quitte]
lemonzest has joined #linux-sunxi
jbrown has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein1 has quit [Ping timeout: 260 seconds]
<ssvb> BorgCuba: what kind of hardware, kernel and graphics setup are you using?
deskwizard is now known as deskWT
<ssvb> BorgCuba: because the right answer to your question varies depending on this
cazzacarna has quit [Ping timeout: 246 seconds]
cazzacarna has joined #linux-sunxi
MackBoy has quit [Ping timeout: 246 seconds]
IgorPec has quit [Ping timeout: 246 seconds]
MackBoy has joined #linux-sunxi
jbrown has quit [Ping timeout: 256 seconds]
jbrown has joined #linux-sunxi
<KotCzarny> does wpa_supplicant work with realtek 8192cu ?
<plaes> yes
<plaes> though, I would suggest using rtl8xxx driver in case you use mainline
<plaes> rtl8xxxu
<KotCzarny> nope, 3.4 for now
<plaes> well, good luck then :)
<KotCzarny> um
<plaes> I never got it working there
<plaes> but I didn't try it much either
<KotCzarny> i might just steal the ralink 5370 from the other machine
<KotCzarny> but wouldnt mind having this to work (just until 4.4 hits the armbian)
tkaiser has joined #linux-sunxi
<tkaiser> KotCzarny: The best what you can do with the R1's onboard Wi-Fi is to simply ignore it: http://forum.armbian.com/index.php/topic/136-lamobo-r1-wifi-unstable/
<tkaiser> But feel free to waste your time. Current users of this board already think about desoldering it: http://forum.armbian.com/index.php/topic/372-hardware-mod-bpi-r1/
jbrown has quit [Ping timeout: 256 seconds]
tkaiser has quit [Client Quit]
deskWT is now known as Deskwizard
paulk-collins has joined #linux-sunxi
silviop_ has joined #linux-sunxi
MaDMaLKaV has joined #linux-sunxi
silviop_ has quit [Client Quit]
<KotCzarny> yeah, i saw the desolder idea
<KotCzarny> actually it's quite nice because i think its just an usb trace
<KotCzarny> which means full size port is still free for other device
<KotCzarny> (most likely usb-eth)
popolon has quit [Quit: WeeChat 1.3]
popolon has joined #linux-sunxi
mawe242 has joined #linux-sunxi
jbrown has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
pmattern has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 272 seconds]
jbrown has quit [Ping timeout: 272 seconds]
<BorgCuba> ssvb: h3, 3.4 kernel (orange pi pc/lichee), hdmi (disp2 frambuffer driver)
soderstrom has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
jbrown has joined #linux-sunxi
<ssvb> BorgCuba: ok, thanks
<ssvb> where did you take this kernel? it is not like there is a single commonly used git repository with the 3.4 kernel for h3
<ssvb> and do you run glmark2-es2 in framebuffer or in x11?
Andy-D has quit [Remote host closed the connection]
Andy-D has joined #linux-sunxi
jbrown has quit [Ping timeout: 272 seconds]
Michal has joined #linux-sunxi
Deskwizard has quit [Ping timeout: 240 seconds]
paulk-collins has quit [Quit: Quitte]
mawe242 has quit [Ping timeout: 240 seconds]
p1u3sch1 has quit [Ping timeout: 265 seconds]
p1u3sch1 has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
jbrown has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
p1u3sch1 has quit [Ping timeout: 240 seconds]
p1u3sch1 has joined #linux-sunxi
yann|work has joined #linux-sunxi
<Wizzup> I'm struggling to get spidev to work on my 4.3 kernel. All the entries in the kernel config are there, but adding it to the dt seems harder. I used the method on the wiki, adapted for the device I am using amt (cubieboard2), http://linux-sunxi.org/SPIdev#Configuring_your_DT_.28mainline.29
<Wizzup> But the kernel gives me a trace saying: spidev spi32766.0: buggy DT: spidev listed directly in DT
<Wizzup> Googling for this results in quite some discussion on the linux-sunxi ML, but I cannot find a conclusion nor a 'proper' example
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Equilibrium 4.2.0, revision: 42021, sources date: 20120701, built on: 2013-10-21 12:25:22 UTC 42021 http://www.kvirc.net/]
jbrown has quit [Ping timeout: 256 seconds]
reinforce has quit [Quit: Leaving.]
<BorgCuba> ssvb, I dont remember exactly where I obtained the kernel. I run glmark-es2 on the framebuffer
<BorgCuba> ssvb, havent you ordered a opi pc too?
<BorgCuba> the kernel comes with r4p0 mali drivers and somehwere on the odroid forums you can download matching libs (libMali libGLES ...)
<BorgCuba> no UMP required, it uses something called "dma-buf"
<ssvb> BorgCuba: yes, I already have opi pc
<ssvb> BorgCuba: about vsync, you can check this patch - https://github.com/ssvb/linux-sunxi/commit/d4662ee456eef8873c23f1400c60b93c0ca835eb
<BorgCuba> ssvb, alright thank you!
<ssvb> BorgCuba: It prevents lima-memtester from being vsync limited, so that's probably exactly what you need :)
<BorgCuba> yes, thats what I need
<BorgCuba> ssvb, waht do you think about the opi and the h3?
<ssvb> considering the price, it is a very nice hardware
<BorgCuba> indeed
<BorgCuba> but, the h3 gets quite hot at times
jbrown has joined #linux-sunxi
<ssvb> yes, if it is running at a high clock speed and core voltage, while keeping all CPU cores busy
<ssvb> and Mali also consumes some power
soderstrom has quit [Quit: leaving]
vishnup has quit [Ping timeout: 260 seconds]
yann|work has quit [Ping timeout: 255 seconds]
yann|work has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
<Wizzup> So I got spidev to load, but it doesn't seem to actually do anything on mainline
<Wizzup> (with a weird spidev number though, very high)
avph has quit [Ping timeout: 255 seconds]
akaizen has joined #linux-sunxi
avph has joined #linux-sunxi
akaizen has quit [Ping timeout: 246 seconds]