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
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mosterta has quit [Ping timeout: 260 seconds]
tkaiser has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
tkaiser has quit [Ping timeout: 244 seconds]
scream has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 252 seconds]
kaspter has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein has quit [Ping timeout: 260 seconds]
ninolein has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 246 seconds]
nixdork has quit [Quit: EliteBNC free bnc service - http://elitebnc.org/]
nixdork has joined #linux-sunxi
orly_owl has quit [Quit: leaving]
lewis1122 has joined #linux-sunxi
mozzwald has quit [Quit: leaving]
mozzwald has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 264 seconds]
lewis1122 has quit [Ping timeout: 252 seconds]
reev has joined #linux-sunxi
orly_owl has joined #linux-sunxi
lewis1122 has joined #linux-sunxi
vickycq has quit [Ping timeout: 240 seconds]
ganbold has joined #linux-sunxi
vickycq has joined #linux-sunxi
lewis1122 has quit [Client Quit]
lewis1122 has joined #linux-sunxi
lewis1122 has quit [Client Quit]
tkaiser has joined #linux-sunxi
kaspter has quit [Ping timeout: 252 seconds]
tkaiser has quit [Ping timeout: 244 seconds]
Zliba has left #linux-sunxi ["Leaving"]
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 272 seconds]
zuikis has joined #linux-sunxi
xenoxaos has quit [Ping timeout: 260 seconds]
xenoxaos has joined #linux-sunxi
gzamboni has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 264 seconds]
JohnDoe_71Rus has joined #linux-sunxi
boobypi has joined #linux-sunxi
mosterta has joined #linux-sunxi
<boobypi> <montjoie> About emac timeout, seem to be currious...just moving same code from emac_init to emac_open resolve this issue on my op pc.
clonak has joined #linux-sunxi
<boobypi> I try to use your function emac_uninit to succes "/etc/init.d/network restart" and it work but there is an (interesting bug) : If i don't plug eth cable and doing eth restart (many time so soft reset emac and unregister mdio ), when i connect ping will work.
<boobypi> but i plug a eth cable and doing eth restart (it's seem to work, up link 100mbit detection) but nothing go out with a ping...
<boobypi> I trace all #define register, soft reset occur perfectly...maybe an idea?
jstein has joined #linux-sunxi
boobypi has quit [Quit: Page closed]
apritzel has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 258 seconds]
<montjoie> boobypi do you use my latest version ?
jstein has quit [Remote host closed the connection]
Mr__Anderson has joined #linux-sunxi
phipli has joined #linux-sunxi
boobypi has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
<boobypi> <montjoie> I copy your driver from your github on 25/05/2016...so maybe not the last (i see add regulator...)
<boobypi> <monjoie> sorry 29/05/2016
mosterta has quit [Ping timeout: 264 seconds]
phipli has quit [Ping timeout: 260 seconds]
Netlynx has joined #linux-sunxi
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 246 seconds]
boobypi has quit [Quit: Page closed]
jernej has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
scream has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
tkaiser has quit [Ping timeout: 258 seconds]
<montjoie> could you retry from latest
<montjoie> I will try the plug/unplug with my opipc
jernej has quit [Remote host closed the connection]
jernej has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
reinforce has joined #linux-sunxi
Amit_t_ has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
cnxsoft has joined #linux-sunxi
<libv> plaes: thanks for your hard work
tkaiser has joined #linux-sunxi
<libv> rellla: you too, thanks :)
boobypi has joined #linux-sunxi
<boobypi> montjoie: yes but https://github.com/montjoie/linux/tree/sun8i-emac-wip seem to be removed
IgorPec has joined #linux-sunxi
mosterta has joined #linux-sunxi
IgorPec2 has joined #linux-sunxi
<boobypi> I find one version of 02/06/2016 on https://groups.google.com/forum/#!topic/linux-sunxi/dqtcl3wp0kQ Good for testing?
IgorPec has quit [Ping timeout: 252 seconds]
jernej has quit [Read error: No route to host]
jernej has joined #linux-sunxi
<boobypi> looklike the same driver i have, i will do a diff to see changes
IgorPec2 has quit [Ping timeout: 272 seconds]
<montjoie> boobypi: I have sent the last version yesterday so yes the link is good
zuikis has left #linux-sunxi [#linux-sunxi]
zuikis has joined #linux-sunxi
<boobypi> ok thanks i will retry
fabo has quit [Ping timeout: 276 seconds]
boobypi has quit [Quit: Page closed]
al1o has joined #linux-sunxi
nove has joined #linux-sunxi
jernej has quit [Ping timeout: 272 seconds]
fabo has joined #linux-sunxi
mosterta has quit [Ping timeout: 240 seconds]
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jernej has joined #linux-sunxi
jernej has quit [Ping timeout: 258 seconds]
apritzel has joined #linux-sunxi
jernej has joined #linux-sunxi
jernej has quit [Client Quit]
IgorPec has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
IgorPec has quit [Ping timeout: 250 seconds]
apritzel has joined #linux-sunxi
reev has quit [Read error: Connection reset by peer]
reev has joined #linux-sunxi
reev has quit [Max SendQ exceeded]
reev has joined #linux-sunxi
tkaiser has quit [Ping timeout: 272 seconds]
orly_owl has quit [Ping timeout: 250 seconds]
apritzel has quit [Ping timeout: 244 seconds]
Mr__Anderson has joined #linux-sunxi
reev has quit [Remote host closed the connection]
tkaiser has joined #linux-sunxi
orly_owl has joined #linux-sunxi
IgorPec has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
tkaiser has joined #linux-sunxi
<tkaiser> ssvb: OMG. I
<tkaiser> 'm just trying to test lima-memtester on BPi M2+ without fan. This board overheats that much that this state has been reached: https://github.com/igorpecovnik/lib/blob/master/config/fex/bananapim2plus.fex#L428
<tkaiser> Now BPi M2+ is running at 312MHz with only 3 CPU cores active. Does further testing makes any sense?
IgorPec has quit [Ping timeout: 260 seconds]
Amit_t_ has joined #linux-sunxi
<Amit_t_> The Legend, Great Ali passed away :(
FergusL has joined #linux-sunxi
orly_owl has quit [Read error: Connection reset by peer]
apritzel has joined #linux-sunxi
orly_owl has joined #linux-sunxi
FergusL has quit [Remote host closed the connection]
<ssvb> tkaiser: maybe the 600MHz mali clock speed is to blame?
FergusL has joined #linux-sunxi
mosterta has joined #linux-sunxi
<tkaiser> ssvb: Will try to lower that now and check again. At least BPi M2+ survived an hour with 720 MHz DRAM clockspeed with the Armbian image I made (u-boot 2016.05 and new BSP kernel)
<xcasex> tkaiser: whats the issue with the dram clock?
<tkaiser> xcasex: Trying to test highest reliably clockspeed.
<xcasex> aah i see.
<xcasex> good god, they cheaped out on the voltage reg of all thing >_>
<xcasex> *things
<ssvb> tkaiser: can you try to use the same U-Boot image for the FEL mode test?
al1o has joined #linux-sunxi
<tkaiser> ssvb: Yes, would be the next step. I already thought about how to extract u-boot+spl (which dd parameters)
<ssvb> tkaiser: and also the other way around - try to use the U-Boot image from the current FEL test bundle to boot your system and test it again
MrBIOS2 is now known as WB6ALX
apritzel has quit [Ping timeout: 244 seconds]
<ssvb> basically, I wonder if your current kernel is still doing any kind of DRAM reclocking or the problem is only U-Boot related
<ssvb> also we still have an experimental DRAM init code for H3, which tries to be deterministic (this test could help to rule out any random changes possibly caused by the SoC temperature differences at the time of boot)
<tkaiser> ssvb: I built another kernel to get back DRAM reclocking, then adjusted it in fex file too and tested. Same results and /sys/devices/platform/sunxi-ddrfreq/devfreq/sunxi-ddrfreq/cur_freq showed stable 720 MHz. I adjusted the value in the fex to 648 and as soon as throttling starts, DRAM clock speed was reduced to 648 MHz (both tests just to confirm). Will now revert back to the kernel where DRAM reclocking is disabled and
<tkaiser> try out exchanged u-boot
cnxsoft has quit [Quit: cnxsoft]
<jrg> let me see where my orange pi plus 2e is
<tkaiser> ssvb: These are current u-boot settings: https://github.com/igorpecovnik/lib/blob/master/patch/u-boot/u-boot-default/u-boot-99-add-missing-boards.patch#L40-L66 (I only exchanged the CONFIG_DRAM_CLK value in 24 MHz steps)
<jrg> last update was it was in ny on the 30th
reinforce has quit [Quit: Leaving.]
boobypi has joined #linux-sunxi
<boobypi> <montjoie> I tried your latest emac driver and I got emac timeout when eth cable not pluged.
<boobypi> <montjoie> I tried to add some msleep to simulate my debug output on uart (adding delay) but no way, SUN8I_EMAC_BASIC_CTL1 stay at 8001 softresetting state
<boobypi> <montjoie> maybe the problem is openwrt boot faster 13sec ready with eth up
<boobypi> <montjoie> so i move some code like i explain and it's work fine (better thanks to your cleaning of emac_stop).
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<boobypi> <montjoie> Now it can boot with or without cable pluged, doing "/etc/init.d/network restart" without probleme. Just it's reset all the driver with mdio phy (I used emac_uninit function).
<boobypi> <montjoie> I notice the phy blinking when reset was latter at boot, in emac_open call that emac_init ... maybe it's a point?
<boobypi> <montjoie> No error, full speed 86mbit / 94mbit. Tested with 50cm eth cable.
boobypi has quit [Quit: Page closed]
Amit_t_ has quit [Ping timeout: 250 seconds]
mosterta has quit [Ping timeout: 276 seconds]
<juri_> ok, something is still borked in stmmac_poll.
<juri_> mind you, i have to do evil things to force it to crash (full speed iscsi + compiling a kernel -j2..)
<juri_> but i'm starting to have a collection of oopses, that are not happening in my code.
<wens> juri_: get a proper stack trace and send a report to the mailing list?
Amit_t_ has joined #linux-sunxi
Shirasaka-Hazumi has quit [Ping timeout: 244 seconds]
jernej has joined #linux-sunxi
Shirasaka-Hazumi has joined #linux-sunxi
lamer14650557460 has joined #linux-sunxi
lamer14650557460 has quit [Client Quit]
tkaiser has quit [Ping timeout: 276 seconds]
Amit_t_ has quit [Ping timeout: 250 seconds]
tkaiser has joined #linux-sunxi
<tkaiser> The thermal sensor in BPi M2+'s H3 must be broken. I rebooted my lima-memtester image with exchanged script.bin for OPi PC Plus on the latter, let the same test ran and there cpufreq jumps between 1008 and 1200 MHz: http://kaiser-edv.de/tmp/KbDb9M/Bildschirmfoto%202016-06-04%20um%2017.55.52.png
<ssvb> tkaiser: don't forget about the mali clock speed
<tkaiser> ssvb: Exactly the same settings, only CPU dvfs table is different (and different voltage regulator switching on OPi PC Plus down to 1240mV and 1140mV @ 1008 MHz)
<tkaiser> ssvb: BTW: Another user tried this test Armbian image on an OPi Plus 2 (2GB model) and said lima-memtester spits out this message: 'Please remove 'sunxi_no_mali_mem_reserve' option from your kernel command line. Otherwise the mali kernel driver may be non-functional and actually knock down your system with some old linux-sunxi kernels. Aborted'
Amit_t_ has joined #linux-sunxi
<ssvb> tkaiser: the 'sunxi_no_mali_mem_reserve' option is not supported by the h3 kernel anyway, so the user should just stop doing this cargo cult stuff
<tkaiser> ssvb: Wrong information, I asked for contents of /proc/cmdline and this differs from what is set inside /boot/boot.scr. It seems he managed to boot from eMMC and switched then to the SD card.
<tkaiser> ssvb: Ah, good to know
Amit_t_ has quit [Ping timeout: 250 seconds]
ninolein has quit [Remote host closed the connection]
Amit_t_ has joined #linux-sunxi
ninolein has joined #linux-sunxi
tomboy64 has quit [Quit: Uhh ... gotta go.]
tomboy64 has joined #linux-sunxi
<montjoie> boobypi you use openwrt ? (which version)
tomboy64 has quit [Client Quit]
tomboy64 has joined #linux-sunxi
The_Loko has joined #linux-sunxi
<tkaiser> ssvb: No spinning cube on OPI Plus 2 too.
tomboy64 has quit [Client Quit]
tomboy64 has joined #linux-sunxi
ninolein has quit [Ping timeout: 258 seconds]
ninolein has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
Amit_t_ has joined #linux-sunxi
<montjoie> boobypi you copu code from emac_init to emac_open but where ? at start or end..
<montjoie> boobypi could you pastebin the diff that made it work ?
apritzel has joined #linux-sunxi
ninolein has quit [Ping timeout: 258 seconds]
ninolein_ has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
<ssvb> tkaiser: yeah, I will look into it when opi+2e arrives
<ssvb> tkaiser: also this would the the second h3 board for me and I could check this boot0 vs. SPL reliability thing on more than one board sample
mosterta has joined #linux-sunxi
ninolein_ has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
petr has quit [Remote host closed the connection]
petr has joined #linux-sunxi
Amit_t_ has joined #linux-sunxi
tkaiser has quit [Quit: jIRCii - http://www.oldschoolirc.com]
al1o has joined #linux-sunxi
reinforce has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
ganbold has quit [Remote host closed the connection]
gzamboni has quit [Ping timeout: 252 seconds]
Oracle_ has joined #linux-sunxi
Oracle_ has quit [Client Quit]
<jrg> oh neat my opi+2e showed
gzamboni has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
gzamboni has quit [Ping timeout: 244 seconds]
gzamboni has joined #linux-sunxi
apritzel has joined #linux-sunxi
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrg> how cute. it comes with an itty bitty antenna
<jrg> too bad it doesn't have an official case yet
<jrg> lol. wondering why my bpi slowed down for file xfers on the internet. and it is because i'm cp something from nfs to nfs
souther has quit [Ping timeout: 260 seconds]
doppo has quit [Ping timeout: 272 seconds]
souther has joined #linux-sunxi
doppo has joined #linux-sunxi
boobypi has joined #linux-sunxi
<boobypi> <montjoie> Here are my testing patch of your driver http://pastebin.com/zc4XvtaA
<boobypi> <montjoie> I started from openwrt r48747 but it's not official because i updade some pkg manualy and setup a linux4.6.1 (stable patch) + new uboot, etc...
<boobypi> <montjoie> I find your eth driver very usable, you are made an awsome work thanks a lot
<boobypi> <montjoie> tested with 10meters cable no shield, ok. same good bw, no err
apritzel has quit [Ping timeout: 244 seconds]
jernej has quit [Quit: Konversation terminated!]
jernej has joined #linux-sunxi
jernej has quit [Client Quit]
jernej has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
[7] has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
ninolein has quit [Remote host closed the connection]
ninolein has joined #linux-sunxi
nove has quit [Quit: nove]
boobypi has quit [Quit: Page closed]
Amit_t_ has quit [Ping timeout: 250 seconds]
peepsalot has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has quit [Quit: KVIrc KVIrc Aria 4.9.2, revision: git-6627-gf708225, sources date: 20160102, built on: 2016-05-12 17:32:15 UTC git-6627-gf708225 http://www.kvirc.net/]
phipli has joined #linux-sunxi
vagrantc has joined #linux-sunxi
Netlynx has quit [Quit: Leaving]
zuikis has left #linux-sunxi [#linux-sunxi]
jernej has quit [Ping timeout: 276 seconds]
apritzel has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
al1o has joined #linux-sunxi
<jrg> hm... well that sucks
<jrg> guess the opi doesn't have the same hole dimensions as a bananapi
<jrg> i kind of hate leaving it in the open like that
<jrg> ah well.. whatever. let me make an armbian SD for it
<jrg> hopefully 5.41 is the latest
<jrg> 14
orly_owl has quit [Quit: leaving]
vagrantc has quit [Ping timeout: 260 seconds]
vagrantc has joined #linux-sunxi
scream has quit [Remote host closed the connection]
KotCzarny has quit [Ping timeout: 240 seconds]
The_Loko has quit [Quit: Leaving]