Turl changed the topic of #linux-sunxi to: NOTICE: web/wiki is down, it will be back up soon // 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
pmattern has quit [Quit: Genug für heute.]
Renard has quit [Quit: Renard]
FreezingAlt has joined #linux-sunxi
whitesn_ has quit [Ping timeout: 245 seconds]
gianMOD has joined #linux-sunxi
ninolein has quit [Ping timeout: 265 seconds]
ninolein has joined #linux-sunxi
<Seppoz_nowork> mmarker: there is RESET# Pin
<Seppoz_nowork> think thats what your looking for
gianMOD has quit [Ping timeout: 276 seconds]
wenbin has joined #linux-sunxi
uwe_ has quit [Ping timeout: 255 seconds]
uwe_ has joined #linux-sunxi
naobsd has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 244 seconds]
cnxsoft has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
popolon has quit [Quit: WeeChat 1.1.1]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
Seppoz_nowork has quit [Ping timeout: 276 seconds]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
rz2k|2 has joined #linux-sunxi
rz2k_ has quit [Read error: Connection reset by peer]
leviathanch has joined #linux-sunxi
naobsd has joined #linux-sunxi
leviathanch has quit [Ping timeout: 245 seconds]
leviathanch has joined #linux-sunxi
naobsd has quit [Ping timeout: 240 seconds]
gianMOD has joined #linux-sunxi
rz2k_ has joined #linux-sunxi
leviathanch has quit [Ping timeout: 246 seconds]
rz2k|2 has quit [Read error: Connection reset by peer]
gianMOD has quit [Ping timeout: 276 seconds]
naobsd has joined #linux-sunxi
p1u3sch1 has joined #linux-sunxi
p1u3sch1_ has quit [Ping timeout: 245 seconds]
vishnup has quit [Remote host closed the connection]
kurain has joined #linux-sunxi
kurain has quit [Ping timeout: 256 seconds]
orly_owl has joined #linux-sunxi
TheSeven has quit [Ping timeout: 272 seconds]
TheSeven has joined #linux-sunxi
iamfrankenstein1 has quit [Ping timeout: 245 seconds]
kurain has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 245 seconds]
JohnDoe_71Rus has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
konradoo77 has quit [Ping timeout: 245 seconds]
reinforce has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
cubear has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 265 seconds]
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
tomcheng76 has joined #linux-sunxi
ssvb has quit [Ping timeout: 256 seconds]
ssvb has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
<a1d3s> steeve on banana pro it work with mainline kernel and brcmfmac
<a1d3s> steeve you need the firmware for that http://piprojects.net/wp-content/uploads/2015/01/ap6210.zip , must be in /lib/firmware/brcm and then do dmesg and show which sdio.txt and sdio.bin is needed
<a1d3s> steeve you have to rename the nvram.txt and one of the bin files
domidumont has joined #linux-sunxi
eagles0513875_ has quit [Changing host]
eagles0513875_ has joined #linux-sunxi
eagles0513875_ has joined #linux-sunxi
gianMOD has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
wenbin has quit [Quit: Leaving]
FergusL_ is now known as FergusL
khuey_ has joined #linux-sunxi
gianMOD has joined #linux-sunxi
khuey has quit [Read error: Connection reset by peer]
gianMOD has quit [Ping timeout: 276 seconds]
steeve has quit [Read error: Connection reset by peer]
_massi has joined #linux-sunxi
naobsd has joined #linux-sunxi
a1d3s_mobile has joined #linux-sunxi
arete74 has quit [Ping timeout: 240 seconds]
gianMOD has joined #linux-sunxi
specing has quit [Ping timeout: 256 seconds]
sehraf has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
a1d3s_m6 has joined #linux-sunxi
a1d3s_m6 has left #linux-sunxi [#linux-sunxi]
a1d3s_mobile has quit [Ping timeout: 256 seconds]
arete74 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
Montjoie has quit [Ping timeout: 245 seconds]
gianMOD has quit [Remote host closed the connection]
Montjoie has joined #linux-sunxi
naobsd has quit [Remote host closed the connection]
Netlynx has joined #linux-sunxi
FR^2 has joined #linux-sunxi
alexvf has quit [Ping timeout: 246 seconds]
phh_ is now known as phh
naobsd has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
wickwire has joined #linux-sunxi
gianMOD has joined #linux-sunxi
HeHoPMaJIeH has quit [Ping timeout: 264 seconds]
HeHoPMaJIeH has joined #linux-sunxi
<libv> still down?
<libv> yikes.
gianMOD has quit [Ping timeout: 272 seconds]
<plaes> mhm :(
<libv> i do hope nothing was lost
<libv> i wasted a lot of time on that wiki
<rellla> libv: afaik Turl is just finishing the NDH_TODO pages ;)
<rellla> i hope the best, too.
<libv> anywa
<libv> fosdem.
<rellla> libv: any news regarding lima on fosdem, or "just" tamil?
jackdaniel has quit [Quit: leaving]
cnxsoft1 has joined #linux-sunxi
kurain has quit [Quit: kurain]
kurain has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 256 seconds]
Renard has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<oliv3r> FOSDEM!
<oliv3r> i def. wanna come watch your tamil talk
<plaes> tamil?
<oliv3r> mali-T
<plaes> ah.. newer devices
<Wizzup> well, not that new :)
f15h has joined #linux-sunxi
<oliv3r> Turl, you around?
dantob has joined #linux-sunxi
Andy-D has quit [Ping timeout: 246 seconds]
cnxsoft1 has quit [Ping timeout: 246 seconds]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
faisal has joined #linux-sunxi
<faisal> Whats wrong with the website. Its still down
<oliv3r> faisal: harddisk crashed
<oliv3r> their are busy with repair & recoery
<faisal> Alright
<faisal> Cheers
dantob has quit [Quit: dantob]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 240 seconds]
ssvb has quit [Ping timeout: 265 seconds]
ssvb has joined #linux-sunxi
faisal has quit [Ping timeout: 264 seconds]
HeHoPMaJIeH has quit [Quit: Konversation terminated!]
pmattern has joined #linux-sunxi
faisal has joined #linux-sunxi
cubear has quit [Quit: Leaving]
ricardocrudo has joined #linux-sunxi
tremon has joined #linux-sunxi
ConfusedQuestion has quit [Quit: "PRESS STOP ON TAPE"]
TheQuestionmark has joined #linux-sunxi
f15h has quit [Remote host closed the connection]
<FR^2> ouch.
<FR^2> seems to be the day of crashes
vpeter has joined #linux-sunxi
vpeter has quit [Changing host]
vpeter has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
Seppoz has joined #linux-sunxi
<Seppoz> ssvb: ping
<Seppoz> ssvb: if my device dont boot uboot i see a device showing up on the computer via the USB1 port
<Seppoz> if it boots uboot properly this does not happen
<Seppoz> does this tell me that the device boots into fel?
<Seppoz> USB\VID_1F3A&PID_EFE8&REV_02;3
<Seppoz> thats how i see it
Net147 has joined #linux-sunxi
ssvb has quit [Ping timeout: 240 seconds]
kurain has quit [Quit: kurain]
<NiteHawk> seppoz: yes, that means you've entered FEL mode
<NiteHawk> get the fel utility from sunxi-tools, and issue the command "fel ver" - it should report back with your device
<NiteHawk> e.g. "AWUSBFEX soc=00165100(A20) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000"
Black_Horseman has quit [Ping timeout: 272 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
faisal has quit [Ping timeout: 244 seconds]
gianMOD has joined #linux-sunxi
faisal has joined #linux-sunxi
faisal has quit [Client Quit]
Net147 has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC]
_massi has quit [Quit: Leaving]
gianMOD has quit [Ping timeout: 240 seconds]
<Seppoz> thanks
<Seppoz> i think i solved it
<Seppoz> the uboot pin was not floating
<Seppoz> and i think it has to float
<NiteHawk> yes. if you pull it low, you'll enforce FEL mode
ccaione_ has joined #linux-sunxi
ccaione has quit [*.net *.split]
deepe has quit [*.net *.split]
ccaione has joined #linux-sunxi
ccaione_ is now known as ccaione
ccaione has quit [Changing host]
<Turl> oliv3r: pong
cnxsoft has joined #linux-sunxi
fr4z has joined #linux-sunxi
rz2k_ has quit []
<Seppoz> how do i disable the double output of the kernel
<NiteHawk> double output?
<WarheadsSE> video ?
<WarheadsSE> kmsg?
popolon has joined #linux-sunxi
Renard has quit [Remote host closed the connection]
Renard has joined #linux-sunxi
<Seppoz> kerle output
<Seppoz> GTP gpios requested: int 4011675264 - rst 4011675520
<Seppoz> [ 3.498228] GTP gpios requested: int 4011675264 - rst 4011675520
<Seppoz> this stuff
<vovcia> Seppoz: i think this is earlyprintk stuff its useful
<Seppoz> i dont find it particular usefull as it shows every kernel message twice
<vovcia> Seppoz: i would leave it :)
<Seppoz> whats the point in having this?
tomboy65 has quit [Remote host closed the connection]
<vovcia> debugging early kernel boot problems
<Seppoz> i see
<vovcia> before kernel initialize console
<Seppoz> why would i want that in a productional env?
<NiteHawk> if you want to get rid of it, that's a kernel configuration option i think
<Seppoz> cant i disable this when console is on or so?
tomboy65 has joined #linux-sunxi
<Seppoz> anyone has any idea how to disable this?
<Seppoz> the .config has nothing with earlyprintk
<vovcia> Seppoz: remove earlyprintk
<vovcia> Seppoz: from /boot/uEnv.txt
<Seppoz> ah ok
<vovcia> afair
<NiteHawk> btw: what's the recommended/'stable' kernel for A20 currently?
Turl changed the topic of #linux-sunxi to: NOTICE: wiki is temporarily read-only, it will be back up to normal soon // 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
gianMOD has joined #linux-sunxi
<Turl> libv: ^
<Seppoz> in the sunxi 3.4 kernel i dont see under watchdog timer the suxi watchdog
<Seppoz> how do i enable the kernel watchdog
deepe has joined #linux-sunxi
<Seppoz> there is no earlyprintk in the uboot kernel args
<NiteHawk> try "grep -i printk .config". you might have CONFIG_EARLY_PRINTK?
reinforce has quit [Quit: Leaving.]
<Seppoz> nope
<Seppoz> my bad was looking at the old .confg
<Seppoz> found it thanks
<oliv3r> Turl: ping
<oliv3r> :p
<Turl> oliv3r: pong
<Turl> oliv3r: sup
cubear has joined #linux-sunxi
ssvb has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 246 seconds]
<ssvb> Seppoz: pong
<Turl> ohai ssvb
<Turl> ssvb: /topic
<ssvb> Turl: that's great, thanks for your hard work
<Turl> ssvb: yw
<Turl> ssvb: it's still running on the old server that's bad, that's why it's RO
<Seppoz> ssvb: we had a capacitor for the uboot switch
<Seppoz> ssvb: to debounce it.
<Turl> at least you can read and point people to it until we get the new one set up
<Seppoz> ssvb: the capacitor took to long to get the pin high
<Seppoz> ssvb: which caused the board to boot in FEL instead of regular boot. i removed this capacitor and now it seems to allways boot fine
<Seppoz> ssvb: thanks again
<ssvb> Seppoz: you are welcome
<Seppoz> still way better than having to worrie about reset and stuff :P
<ssvb> are the reboot problems also resolved now?
Renard has quit [Remote host closed the connection]
<Seppoz> the reboot problem i think is distro caused
<Seppoz> i think it never shut down
<ssvb> I think that shutdown definitely needs axp, but mripard_ may correct me
Renard has joined #linux-sunxi
<Seppoz> the shutdown did work fine on a10 without axp
<Seppoz> but ill takke a closer look on this later
<ssvb> Turl: are we still waiting for the new server?
<Seppoz> anyone know where autoboot_delay is defined in uboot 2014?
<Turl> ssvb: we got it already, it just needs to be set up
tomcheng76 has quit [Read error: Connection reset by peer]
mmarker has quit [Read error: Connection reset by peer]
ricardocrudo has joined #linux-sunxi
tomcheng76 has joined #linux-sunxi
<Seppoz> anyone know where CONFIG_BOOTDELAY is located in uboot 2014? in 2012 it was un sunxi_common.h. however its moved
<ssvb> Seppoz: try to grep u-boot sources?
<Seppoz> yea its 50 pages of results
<Seppoz> seems like any other board have it in the configs header
cnxsoft has quit [Quit: cnxsoft]
gianMOD has quit [Remote host closed the connection]
tomcheng76 has quit [Read error: Connection reset by peer]
<ssvb> Seppoz: ignoring the board specific configs, it is found in 'include/config_distro_defaults.h' and 'include/env_default.h'
<ssvb> Seppoz: I guess that you need to either add it back to sunxi_common.h or maybe patch config_distro_defaults.h
<Seppoz> i guess i can just change distro_default
<Seppoz> thanks
tomcheng76 has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
<plaes> \o/ wiki is up
<rellla> Turl: thanks!
<Turl> yw :)
<Turl> keep in mind it's read only though
<Seppoz> only my USB0 OTG seems to work, do i have to enable the other 2 in the driver somehow? i have them enabled in the fex and the devices are powered (5V are there)
<Turl> Seppoz: did you enable the ohci/ehci host driver?
<Seppoz> yes
<Seppoz> CONFIG_USB_SUNXI_EHCI=y
<Seppoz> CONFIG_USB_SUNXI_OHCI=y
<Turl> _COMMON, _USB_MANAGER and what not too iirc
<Seppoz> do i want EHCI_HCD
<Turl> dunno
<Turl> check the defconfig :)
<Seppoz> i am using the defconfig i believe
<Seppoz> didnt touch usb
<Turl> and it doesn't work?
<Turl> can you paste dmesg?
<Turl> Seppoz: the paste seems to be missing half of the text
<ssvb> Seppoz: increase CONFIG_LOG_BUF_SHIFT
<Seppoz> my bad
<ssvb> Seppoz: paste your fex?
<Turl> and .config
<ssvb> Seppoz: are modules copied to the device?
<Seppoz> yes
<Seppoz> any specific module you want me to load
<ssvb> nothing in particular, just a lot of usb stuff is compiled as modules, so it would not be happy if the modules are not installed correctly
<Seppoz> they should be
<ssvb> it might be a good idea to pay special attention to [usbc1] and [usbc2] sections in fex, and maybe borrow some stuff from the other fex files used on similar boards
<Seppoz> this fex file allready works fine on a10
<Seppoz> with older kernel tho
<Seppoz> so ieither my kernel is misconfgured
<Seppoz> or i require different settings with newer kernel
<Turl> CONFIG_USB_OHCI_HCD_PLATFORM=y
<Turl> CONFIG_USB_EHCI_HCD_PLATFORM=y
<Turl> try disabling those two
<Seppoz> ok
<Seppoz> usb_restric_flag = 0
<Seppoz> do i need that?
<Seppoz> that must be new
leviathanch has joined #linux-sunxi
igordcard has joined #linux-sunxi
<Seppoz> looks better now
<Seppoz> thank you sir
igordcard has left #linux-sunxi ["Leaving"]
gianMOD has joined #linux-sunxi
leviathanch has quit [Ping timeout: 246 seconds]
leviathanch has joined #linux-sunxi
Andy-D has joined #linux-sunxi
gianMOD has quit [Ping timeout: 256 seconds]
mmarker has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
domidumont has quit [Read error: Connection reset by peer]
FreezingAlt has quit [Quit: Out]
leviathanch has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
leviathanch has quit [Quit: No Ping reply in 180 seconds.]
leviathanch has joined #linux-sunxi
domidumont has joined #linux-sunxi
leviathanch has quit [Ping timeout: 246 seconds]
Guest78775 has joined #linux-sunxi
leviathanch has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 264 seconds]
vishnup has joined #linux-sunxi
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 272 seconds]
mmarker has quit [Read error: Connection reset by peer]
konradoo77 has joined #linux-sunxi
mmarker has joined #linux-sunxi
mmarker has quit [Changing host]
mmarker has joined #linux-sunxi
<Fsanches> is there somewhere an overview of the purpose of each of the linux-sunxi git branches at github ?
aballier has quit [Quit: leaving]
<Fsanches> if I want to submit patches, what's the branch my work should be based on?
Progman3K has joined #linux-sunxi
leviathanch has quit [Quit: No Ping reply in 180 seconds.]
<Progman3K> How can I boot an aw-som10 from a flash-drive? I have the rootfs and other files on my card but how do I tell the board to boot from it rather than its MMC?
leviathanchcn has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
<WarheadsSE> root= ?
mmarker has quit [Ping timeout: 264 seconds]
<vishnup> ssvb:?
<ssvb> vishnup: ...
Nyuutwo has quit [Quit: No Ping reply in 180 seconds.]
book`_ has quit [Ping timeout: 252 seconds]
alexxy has quit [Quit: No Ping reply in 180 seconds.]
<vishnup> I got some time to try libdram, however, spl size increased to ~18KB
kz1 has quit [Read error: Connection reset by peer]
nashpa has quit [Ping timeout: 252 seconds]
Nyuutwo has joined #linux-sunxi
mcan has quit [Ping timeout: 252 seconds]
<vishnup> can not be loaded to SRAM
alexxy has joined #linux-sunxi
lioka has quit [Ping timeout: 252 seconds]
sfritsch has quit [Ping timeout: 252 seconds]
kroylar has quit [Ping timeout: 252 seconds]
kz1 has joined #linux-sunxi
lioka has joined #linux-sunxi
sfritsch has joined #linux-sunxi
kroylar has joined #linux-sunxi
<vishnup> BTW, thanks for FEL regression fix patch, I've tested on A33 tablet, now it
<vishnup> starts SPL
book` has joined #linux-sunxi
nashpa has joined #linux-sunxi
mcan has joined #linux-sunxi
<vishnup> ssvb: A33 has SRAM A1: 32KB SRAM A2: 64 KB, I think is possible to load > 18KB SPL, isn't it?
mcan has quit [Changing host]
mcan has joined #linux-sunxi
<ssvb> vishnup: are you running out of available space?
<ssvb> vishnup: a part of SRAM is used by the BROM FEL code and not available to us
<vishnup> while writing SPL itself it gives error:
<vishnup> usb_bulk_recv error -9
ricardocrudo has quit [Ping timeout: 255 seconds]
iamfrankenstein has joined #linux-sunxi
<NiteHawk> can a 'monolithic' u-boot-sunxi-with-spl.bin be used in FEL mode, or it it SD card only?
<NiteHawk> I figure that (due to size limitations) FEL would always require a reasonably small SPL?
<vishnup> NiteHawk: u-boot-sunxi-with-spl.bin can not be used in FEL
<NiteHawk> ok, thx for clarifying that. I'm okay with separate spl + u-boot
konradoo77 has quit [Ping timeout: 246 seconds]
<ssvb> vishnup: wasn't it the dram code timing out for you earlier?
<ssvb> vishnup: now you are saying that the SPL upload fails, I'm a little bit confused
<ssvb> vishnup: or do you mean that linking libdram has increases the SPL size and it does not fit anymore?
<vishnup> If I exclude libdram, it's able to upload and execute with DRAM timeout
<vishnup> upload prob comes only if libdram is included.
gianMOD has joined #linux-sunxi
vishnup has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
Vespine has joined #linux-sunxi
<Progman3K> How can I boot an aw-som10 from a flash-drive? I have the rootfs and other files on my card but how do I tell the board to boot from it rather than its MMC?
<vishnup> ssvb: Is MAX size FEL can write is fixed?
wickwire has quit [Read error: Connection reset by peer]
cubear has quit [Ping timeout: 264 seconds]
<vishnup> ssvb: I'll try more things tomorrow morning.
<ssvb> vishnup: please try my u-boot patches - http://lists.denx.de/pipermail/u-boot/2015-January/203282.html
lioka has quit [Changing host]
lioka has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
Cooper_ has joined #linux-sunxi
<NiteHawk> ssvb, those are for 2015.01?
<ssvb> vishnup: also pushed to github here - https://github.com/ssvb/u-boot-sunxi/commits/20150130-fel-fixes
<Progman3K> How can I boot an aw-som10 from a flash-drive? I have the rootfs and other files on my card but how do I tell the board to boot from it rather than its MMC?
<ssvb> NiteHawk: for 2015.04
<Cooper_> ssvb: Over the last 24 hours I've been running lima-memtester together with cpuburn-a7. Everything's rock-solid. No error reported, rotating block on the screen, gray background. I'm thinking I really did just over-rice my system.
<Progman3K> All it says in the wiki for that is "Now you should be able to unmount your SDCard filesystems, and you should be able to boot your brand new installation."
<Progman3K> That's not really helpful
sono has joined #linux-sunxi
gianMOD has quit [Ping timeout: 240 seconds]
<sono> is there a banana* specific channel anyone is aware of?
<ssvb> vishnup: yes, the SPL size is limited, but switching to Thumb2 saves some space and it might be enough to fit
<vishnup> how to switch to thumb2?
<vishnup> ssvb: let me try
<ssvb> vishnup: just take the whole branch https://github.com/ssvb/u-boot-sunxi/commits/20150130-fel-fixes
<ssvb> vishnup: it is based on the current 'next' branch from the sunxi custodian repository
<vishnup> okie
<ssvb> Cooper_: I see, the DRAM is most likely fine
<Cooper_> ssvb: Anything else I might try before rebuilding everything with -Os instead?
<ssvb> Cooper_: the other test is checking cpufreq voltage/frequency settings - http://linux-sunxi.org/Hardware_Reliability_Tests#Reliability_of_cpufreq_voltage.2Ffrequency_settings
<Cooper_> Ah
<Cooper_> :)
ricardocrudo has joined #linux-sunxi
<ssvb> Cooper_: but it needs ruby interpreter, and also userspace cpufreq governor enabled in the kernel (which might be not there by default)
<Cooper_> Oh, I see. For each frequency there's a different voltage and all I've tested thus-far is full throttle.
<ssvb> Cooper_: it still might switch back and forth if there is some idle time
<Cooper_> ssvb: idle time vs cpuburn-a7....
<ssvb> Cooper_: during emerge, the cpu load is non-uniform, because there are configure and installation steps, which run on just a single core
<ssvb> Cooper_: what kind of cpufreq governor are you using right now?
<Cooper_> ssvb: Of course. I meant that thus far (=since running lima-tester along with cpuburn-a7, which is the time I've been verifying the build) there shouldn't have been idle time.
<Cooper_> ssvb: ondemand
<ssvb> Cooper_: for a non-battery powered board, the 'performance' governor may be a better choice
<Cooper_> ssvb: But doesn't that keep the chip at max speed? I want performance when I'm home (=30% of the time) and lower power draw when I'm not in a position to use the devices (sleep, work, etc).
dack has joined #linux-sunxi
gianMOD has joined #linux-sunxi
<wens> i don't think a couple of cortex-a7 cores will draw much power, even at full speed
<Cooper_> wens: True. The difference between idle and full blast is 3W.
<ssvb> Cooper_: we have some power consumption measurements, which show that the idle power consumption difference is negligible between the 'performance' and 'ondemand' governors on a20
<Cooper_> ssvb: So it does scale down in some way?
ricardocrudo has quit [Read error: Connection reset by peer]
<Cooper_> ssvb: CpuIdle or something.
<dack> anyone on with some git experience?
ricardocrudo has joined #linux-sunxi
FlibberTGibbet has joined #linux-sunxi
<ssvb> Cooper_: I guess the CPU is sitting on the WFI instruction when it has nothing to do - http://infocenter.arm.com/help/topic/com.arm.doc.ddi0464f/CACJFAJC.html#CJHHHFEG
<ssvb> Cooper_: the clock is probably disabled completely, not just reduced
<Cooper_> ssvb: I see. I'll give that a go in a bit, see where she stands. I already have pretty good measurements thus-far, though they are from my complete setup rather than a single board, but the other ones are literally doing nothing so their power consumption should be constant (hence the "3W difference" quote - I did measure deviation from the norm).
<wens> what board are you using?
<Cooper_> wens: PcDuino3 Nano
<wens> hmm
<Cooper_> wens: That's an A20 with 1 GB ram.
<wens> so that's without regulators dropping voltage
<ssvb> Cooper_: the power consumption difference between idle and full load is naturally expected
<ssvb> Cooper_: the question was whether idling at 60MHz is providing any reasonable power saving vs. idling at 1GHz
<Cooper_> wens: As I said, I don't know idle power draw for a single board, but when I have 2 of those Nanos, a 12V-to-5V buck converter, 3 desktop SATA harddisks in low power state (drive motor off) and a 1-to-5 SATA port multiplier with those 3 harddisks attached but not doing anything, The total power draw of all that is just under 10W.
<ssvb> Cooper_: and the tests have shown that the power consumption difference is negligible, but the responsiveness becomes pretty bad (cpufreq is too slow to increase the clock speed)
<Cooper_> wens: Put cpuburn across both cores on just 1 of those Nanos and the total power consumption goes up to around 12W.
<Cooper_> ssvb: As I said, I'll be trying it out as soon as my kernel module for the userspace cpufreq governor finishes compiling.
<wens> so you got the port multiplier working?
<ssvb> Cooper_: cpuburn is a bit artificial workload, you can realistically get somewhat close to it only when doing video transcoding or neon accelerated bitcoin mining :)
<wens> we used to use seti@home for x86 load testing :p
<Cooper_> wens: Yup.
<Cooper_> ssvb: With performance the power draw difference of the idle machine is effectively 0. I'll stick with that for 'production'. Thanks.
adj_ has quit [Ping timeout: 245 seconds]
<ssvb> wens: what do you think about the "race to idle" approach?
<ssvb> wens: some people think that on modern processors reducing the cpu clock speed only makes sense for overheating prevention
<ssvb> wens: and in the case of Allwinner chips, stressing the CPU with the 1.4V core voltage for prolonged periods of time may be not very nice
<wens> race to idle?
<ssvb> wens: the idea that it is best to complete the task as fast as possible (ex. by running at 1GHz) and go to sleep sooner than crawling at a lower clock speed
<wens> i think it makes sense
<wens> i mean the idle core can go into deeper sleep states
Zboonet has joined #linux-sunxi
Progman3K has left #linux-sunxi [#linux-sunxi]
Zboonet has quit [Ping timeout: 245 seconds]
pekka10 has quit [Quit: WeeChat 1.0.1]
konradoo77 has quit [Ping timeout: 264 seconds]
konradoo77 has joined #linux-sunxi
<wens> "waking up to decide if the system is idle"
<wens> sounds idiotic
pekka10 has joined #linux-sunxi
iamfrankenstein has quit [Quit: iamfrankenstein]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Client Quit]
<ssvb> wens: I believe that the Cortex-A7 is also getting aggressively power gated on WFI, making it somewhat similar to modern Intel processors
<ssvb> wens: sounds weird? looking up to Intel as a role model of power saving tricks :)
<ssvb> the ondemand governor has proven to be quite a bad performance hazard on the 3.4 kernel :(
flok420 has quit [Remote host closed the connection]
flok420 has joined #linux-sunxi
<Fsanches> thanks
domidumont has quit [Ping timeout: 246 seconds]
<NiteHawk> turl: 3.14 seems to be missing there?
<NiteHawk> or more specifically, reference-3.14
<Turl> NiteHawk: it's probably not usable, so it's moot
<Turl> for the most part, you can ignore anything that's not 3.4 on that repo
<NiteHawk> oh, ok - so sunxi-3.4 is still "state of the art"?
<Turl> NiteHawk: if you want full hardware support, yes
konradoo77 has quit [Ping timeout: 264 seconds]
iamfrankenstein has joined #linux-sunxi
<Turl> NiteHawk: which these days mostly means display, 2D accel and mali
<Turl> if you can live without those you can use mainline
<NiteHawk> i see
konradoo77 has joined #linux-sunxi
adj_ has joined #linux-sunxi
tomcheng76 has quit [Read error: Connection reset by peer]
Vespine has quit [Quit: Leaving]
tomcheng76 has joined #linux-sunxi
interrobangd has joined #linux-sunxi
<interrobangd> its online again!
<interrobangd> ehx.
<interrobangd> *thx
<interrobangd> .. hetzner :|
FlibberTGibbet has quit [Quit: Leaving]
<Seppoz> whats hetzner?
<interrobangd> hoster
<Seppoz> ah
konradoo77 has quit [Ping timeout: 264 seconds]
gianMOD has quit [Remote host closed the connection]
<Cooper_> ssvb: Tried the cpufreq-ljt-stress-test and it completes immediately saying it's passed the test. I'm not getting the output with various MHz reported as the page does and as I said, it completes pretty much immediately. It's hard to believe it's done anything.
<Cooper_> c/does/shows/
<ssvb> Cooper_: does it show any error messages or something?
<Cooper_> ssvb: Nothing. Lemme make a pastebin.
<Cooper_> ssvb: That's everything on the screen.
<Cooper_> ssvb: And cpufreq was set to performance when I started it and it's set to userspace now.
<ssvb> Cooper_: hmm, somehow it can't detect the list of supported frequencies
<Cooper_> ssvb: Where does it expect to find this?
<ssvb> Cooper_: check /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
<Cooper_> ssvb: cat: /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies: No such file or directory
<ssvb> Cooper_: hmm, can you 'ls' this directory?
<Cooper_> ssvb: min_frequency is 60000 and max_frequency is 912000
<Cooper_> affected_cpus cpuinfo_max_freq cpuinfo_transition_latency related_cpus scaling_cur_freq scaling_governor scaling_min_freq cpuinfo_cur_freq cpuinfo_min_freq debug_mask scaling_available_governors scaling_driver scaling_max_freq scaling_setspeed
<Cooper_> ssvb: Does it matter that I made that governor a module and not the default just yet?
<ssvb> Cooper_: maybe try to "modprobe cpufreq_userspace" to see if it helps?
<Cooper_> ssvb: Already loaded. From lsmod: cpufreq_userspace 2585 1
dack has quit [Remote host closed the connection]
akaizen_ has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
<ssvb> Cooper_: google says that some people also had 'scaling_available_frequencies' missing, but I'm still trying to figure out why this could be happening
pmattern has quit [Quit: Genug für heute.]
<Cooper_> ssvb: Building the kernel with it built-in rather than as a module.
akaizen has quit [Ping timeout: 272 seconds]
ricardocrudo has quit [Ping timeout: 264 seconds]
<Cooper_> ssvb: Still nothing...
fr4z has quit [Remote host closed the connection]
viccuad has joined #linux-sunxi
<Turl> interrobangd: yeah, it's the old server
<Turl> that's why it's read-only
<interrobangd> with new disk
<Turl> interrobangd: with old disks
<interrobangd> but i thought its dead and hetzner has changed it
<Turl> we replaced one of the disks, but there's others that are bad too
<Turl> so we're moving to a new server with new disks
<interrobangd> but only the disks are bad, everyting else is still ok?
* interrobangd is happy to see the wiki again
<Turl> well, it makes you think if there's nothing else bad on there
<Turl> iirc the PSU died some time ago too
<Turl> and was replaced
<Cooper_> ssvb: Isn't there a way to just outright tell that stresstester the frequencies it could attempt which it could verify against the min and max values reported?
<ssvb> Cooper_: you can also enable cpufreq stats in the kernel, the script can also extract the frequencies there
<ssvb> Cooper_: but it is quite an interesting case, I would need to reproduce the problem
<Cooper_> ssvb: Looked at the script. It's the time_in_state file you're now referring to, yes?
<ssvb> Cooper_: yes
<Turl> is CPU_FREQ_TABLE enabled?
<Cooper_> ssvb: Is that freq_list array populated with strings or numbers? I'm going to hard-code it for now based on the numbers on the hardware reliability test page.
<Cooper_> ssvb: Numbers. It's running now.
gianMOD has joined #linux-sunxi
dlan has quit [Ping timeout: 245 seconds]
<NiteHawk> https://github.com/linux-sunxi/u-boot-sunxi.git seems to have a wrong LED definition for the Banana Pi. there's only one user-definable (green) led on the board connected to PH24 (STATUSLED=248) - http://pastebin.com/F5VADp0Q fixes it for me
dlan has joined #linux-sunxi
dlan has quit [Changing host]
dlan has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
dlan has quit [Ping timeout: 272 seconds]
dlan_ has joined #linux-sunxi
dlan_ has quit [Remote host closed the connection]
dlan_ has joined #linux-sunxi
dlan_ has quit [Remote host closed the connection]
dlan_ has joined #linux-sunxi
dlan_ has joined #linux-sunxi
viccuad has quit [Quit: WeeChat 1.0.1]
zoldyck has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
nicksydney has quit [Quit: No Ping reply in 180 seconds.]
nicksydney has joined #linux-sunxi
interrobangd has quit [Quit: Leaving]
<Cooper_> ssvb: Complete success with the cpufreq stress tester. http://pastebin.com/sDxU6nJk
<ssvb> Cooper_: yes, looks good
<Cooper_> ssvb: I'm going to rebuild the thing with -Os and see if that helps.
<Cooper_> ssvb: de-rice my Gentoo. :)
<ssvb> Cooper_: maybe you can just download and extract the default arm stage3 and run some tests in chroot?
<Cooper_> ssvb: I can do that on the other board. I've spent quite some time already setting this one up.
<Cooper_> ssvb: Problem is that with the original kernel on this board, I was getting _massive_ stalls on the board.
<ssvb> Cooper_: do both boards show the same behavior?
<Cooper_> ssvb: That got fixed with a self-compiled kernel.
<Cooper_> ssvb: Don't know yet. Haven't done anything with the other yet aside from powering it on.
<Cooper_> I've got 2 network connections here, one is for my desktop, the other for one of the Nanos and right now that's this one.
<Cooper_> ssvb: I should point out, I got those stalls with the on-board kernel when accessing the machine using ssh.
cajg has quit [Ping timeout: 245 seconds]
gianMOD has joined #linux-sunxi
imcsk8 has quit [Quit: Reconnecting]
imcsk8 has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
<Turl> is it a banana pi? it had some issues with gmac that were solved with a patch
tremon has quit [Quit: getting boxed in]