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
popolon has quit [Quit: WeeChat 1.4]
gianMOD has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 258 seconds]
ninolein has joined #linux-sunxi
Andy-D has quit [Ping timeout: 260 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
Andy-D has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solarnetone has quit [Read error: No route to host]
solarnetone has joined #linux-sunxi
gzamboni has quit [Ping timeout: 272 seconds]
gianMOD has joined #linux-sunxi
gianMOD has quit [Ping timeout: 240 seconds]
Shirasaka-Hazumi has quit [Ping timeout: 258 seconds]
Shirasaka-Hazumi has joined #linux-sunxi
smooker has joined #linux-sunxi
<smooker> Hi
Shirasaka-Hazumi has quit [Ping timeout: 276 seconds]
Shirasaka-Hazumi has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 264 seconds]
p1u3sch1 has joined #linux-sunxi
<smooker> got power on problem with sun8i-emac. (leds not wmitting). some tips ?
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
Dragon535 has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
xenoxaos has quit [Ping timeout: 250 seconds]
xenoxaos has joined #linux-sunxi
fire219 has quit [Read error: Connection reset by peer]
<montjoie> smooker: need more details
<smooker> montjoie: hi
<smooker> clocks = <&bus_gates 17>, <&bus_gates 128>;
<smooker> arch/arm/boot/dts/sun8i-h3.dtsi
<smooker> tried to changed it to CCU way
<smooker> clocks = <&ccu CLK_BUS_EMAC>, <&ccu CLK_BUS_EPHY>;
JohnDoe_71Rus has joined #linux-sunxi
<smooker> Linux OrangePI 4.7.0-rc7-next-20160714-dirty #5 SMP Fri Jul 15 20:22:11 EEST 2016 armv7l GNU/Linux
<WeblordPepe> well that was unepexpected
<WeblordPepe> i have doom running in ncurses
<smooker> [ 22.181996] Generic PHY 1c30000.ethernet:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1c30000.ethernet:01, irq=-1)
<smooker> [ 22.195474] sun8i-emac 1c30000.ethernet: device MAC address slot 0 ea:0b:ee:4b:72:0b
<montjoie> smooker: I have just see your email, so now it works ?
<smooker> montjoie: nope. it does not light up leds. i'm not sure if it's ok this way with CCU.
<smooker> montjoie: still reading allwinner h3 datasheet. can you give me a clue .. ? ;)
<montjoie> I think davem is not the good tree for testing first, could you try mine ?
<smooker> sure. gimme yours to save me some time
<montjoie> and you use an orange pi 2 ?
<smooker> nope. orange pi pc. orange pi 2 depends on sun8i-h3 dtb too and is the first to pop up error ;)
<smooker> v1.2
<montjoie> I have just to commit a little fix from this week
<wens> smooker: the CCU changes are only in clk-next
<wens> so you should probably use linux-next
<smooker> montjoie: remote: Counting objects: 4799725, done.
<smooker> montjoie: you will commit now ?
<smooker> wens: please explain
<smooker> wens: i'm on net-next from davem
<montjoie> smooker: commit done
<smooker> montjoie: 10x. will pull it afer it finishes cloning
<smooker> do i have to be in linux-next or only on net-next ?
Dragon535 has left #linux-sunxi [#linux-sunxi]
<wens> use linux-next
<wens> net-next only contains network driver changes
<wens> CCU is a _clk_ driver
<smooker> there is CCU in the master branch
juri_ has quit [Ping timeout: 264 seconds]
<smooker> i'm trying to get montoje-s emac driver on ccu
<smooker> + 366409a...9e39aee sun8i-emac-wip-v2 -> origin/sun8i-emac-wip-v2 (forced update)
<smooker> Auto-merging drivers/net/ethernet/allwinner/sun8i-emac.c
<smooker> CONFLICT (add/add): Merge conflict in drivers/net/ethernet/allwinner/sun8i-emac.c
<smooker> strange... cloning again with depth 1
<smooker> montjoie: compiling now.
TheLinuxBug has quit [Ping timeout: 264 seconds]
gianMOD has joined #linux-sunxi
TheLinuxBug has joined #linux-sunxi
gianMOD has quit [Ping timeout: 276 seconds]
Andy-D has quit [Ping timeout: 260 seconds]
imcsk8 has quit [Read error: Connection reset by peer]
imcsk8 has joined #linux-sunxi
<smooker> montjoie: got only lo0 ;)
<MoeIcenowy> apritzel: how to enable emac on p64+?
<smooker> Linux OrangePI 4.7.0-rc5-g9e39aee #1 SMP Sat Jul 16 08:48:26 EEST 2016 armv7l GNU/Linux
<smooker> montjoie: │ │ < > Allwinner sun8i EMAC support │ │
<smooker> sorry :)
<smooker> [ 44.194627] sun8i-emac 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
<smooker> [ 59.195024] sun8i-emac 1c30000.ethernet eth0: Link is Up - 10Mbps/Full - flow control off
<smooker> repeating...
<smooker> [ 63.195160] sun8i-emac 1c30000.ethernet eth0: Link is Down
cnxsoft1 has joined #linux-sunxi
<smooker> montjoie: green led is constantly on, orange on i off
<smooker> montjoie: tried with cable to the laptop insted of the switch - same behaviour
cnxsoft has quit [Ping timeout: 260 seconds]
cnxsoft1 is now known as cnxsoft
<wens> smooker: really? where?
<smooker> wens: orange pi pc ;)
<wens> 13:29 < smooker> there is CCU in the master branch
<wens> i meant this
<smooker> let me paste
<montjoie> smooker: check with another cable/power source
<smooker> wens: [smooker@smoolap ~/src/orangepi/linux]$ git remote show origin
<smooker> * remote origin
<smooker> HEAD branch: master
<smooker> Push URL: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
<smooker> Fetch URL: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
<smooker> ... a little bit later
<smooker> montjoie: checked with 2 cables. green led is for activity and is constantly on
BenG83 has joined #linux-sunxi
<smooker> power source is SMPS not adapter. seems good. and it was working with 3.4 sunxi ;)
<smooker> no matter if the cable is plugged - the green ed is on
<smooker> ethtool eth0
<smooker> Settings for eth0:
<smooker> Supported ports: [ TP MII ]
<smooker> Supported link modes: Not reported
<smooker> Supported pause frame use: No
<smooker> Supports auto-negotiation: No
<smooker> Advertised link modes: Not reported
<smooker> Advertised pause frame use: No
<smooker> Advertised auto-negotiation: No
<smooker> Link partner advertised link modes: 10baseT/Half 10baseT/Full
<smooker> 100baseT/Half 100baseT/Full
<smooker> Link partner advertised pause frame use: Transmit-only
<smooker> Link partner advertised auto-negotiation: Yes
<smooker> Speed: 100Mb/s
MoeIcenowy is now known as duangduang
<wens> smooker: i don't see how that's possible... CCU is destined for the next release, and the merge window hasn't opened yet
<smooker> it seems that i patched with Maxime Ripard patches, and forgot about this... ;)
<smooker> ./include/dt-bindings/clock/sun8i-h3-ccu.h
<smooker> My apologies. I got complete mess here. Will go for a smoke.
BenG83 has quit [Ping timeout: 252 seconds]
<smooker> montjoie: mai i ask you for precompiled kernel and a dtb for orange pi pc (just to give it a try) ?
mpmc has quit [Ping timeout: 240 seconds]
mpmc has joined #linux-sunxi
smooker has quit [Ping timeout: 260 seconds]
gzamboni has joined #linux-sunxi
BenG83 has joined #linux-sunxi
smooker has joined #linux-sunxi
gianMOD has joined #linux-sunxi
lemonzest has joined #linux-sunxi
<montjoie> smooker: yes I will upload it
gianMOD has quit [Ping timeout: 240 seconds]
<smooker> montjoie: played with ethtool... some packets passed ;)
maz has quit [Ping timeout: 258 seconds]
smooker has quit [Ping timeout: 260 seconds]
BenG83 has quit [Ping timeout: 260 seconds]
gianMOD has joined #linux-sunxi
BenG83 has joined #linux-sunxi
smooker has joined #linux-sunxi
gianMOD has quit [Ping timeout: 260 seconds]
premoboss has joined #linux-sunxi
bonbons has joined #linux-sunxi
Netlynx has joined #linux-sunxi
reinforce has joined #linux-sunxi
mosterta has joined #linux-sunxi
hansg has joined #linux-sunxi
staplr has joined #linux-sunxi
IgorPec has joined #linux-sunxi
jernej has joined #linux-sunxi
OverCR has joined #linux-sunxi
mpmc has quit [Ping timeout: 240 seconds]
hansg has quit [Client Quit]
mpmc has joined #linux-sunxi
jernej has quit [Quit: Konversation terminated!]
apritzel has joined #linux-sunxi
jernej has joined #linux-sunxi
OverCR1 has joined #linux-sunxi
OverCR has quit [Ping timeout: 240 seconds]
ricardocrudo has joined #linux-sunxi
OverCR has joined #linux-sunxi
OverCR1 has quit [Ping timeout: 272 seconds]
OverCR1 has joined #linux-sunxi
OverCR has quit [Ping timeout: 240 seconds]
OverCR has joined #linux-sunxi
OverCR1 has quit [Ping timeout: 276 seconds]
ricardocrudo has quit [Ping timeout: 252 seconds]
OverCR has quit [Ping timeout: 260 seconds]
ricardocrudo has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 258 seconds]
bomboletta has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec2 has quit [Ping timeout: 244 seconds]
bomboletta has quit [Ping timeout: 258 seconds]
OverCR has joined #linux-sunxi
apritzel has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
gianMOD has joined #linux-sunxi
Da_Coynul has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
pietrushnic has quit [Ping timeout: 258 seconds]
Shirasaka-Hazumi has quit [Ping timeout: 276 seconds]
Shirasaka-Hazumi has joined #linux-sunxi
cnxsoft has quit [Client Quit]
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Da_Coynul has joined #linux-sunxi
<apritzel> MoeIcenowy: EMAC on Pine64> where do you have problems? You need montjoie's latest driver, the DT bits from a64-v5 and need to turn on DC1SW in the PMIC
<apritzel> all of which is covered by my latest code drop: ATF takes care of the PMIC (a proper version is contained in the firmware image) and a64-v5 contains the EMAC driver and DT bits
p1u3sch1 has quit [Ping timeout: 250 seconds]
p1u3sch1 has joined #linux-sunxi
mosterta has quit [Ping timeout: 272 seconds]
cptG_ has joined #linux-sunxi
cptG has quit [Ping timeout: 244 seconds]
Shirasaka-Hazumi has quit [Quit: ZNC 1.6.2+deb2+b1 - http://znc.in]
BenG83 has quit [Ping timeout: 272 seconds]
premoboss has quit [Quit: Sto andando via]
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xige has joined #linux-sunxi
xige has quit [Client Quit]
apritzel has quit [Ping timeout: 244 seconds]
Da_Coynul has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
mosterta has joined #linux-sunxi
vagrantc has joined #linux-sunxi
JohnDoe7 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 264 seconds]
al1o has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
lennyraposo has quit [Quit: Leaving.]
fire219 has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gianMOD has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cnxsoft has quit [Quit: cnxsoft]
OverCR has quit [Quit: Leaving.]
jernej has quit [Ping timeout: 264 seconds]
mosterta has quit [Ping timeout: 276 seconds]
gianMOD has quit [Remote host closed the connection]
jmcneill has joined #linux-sunxi
<jmcneill> anybody have an orangepi plus 2e yet?
<jmcneill> i'm trying to figure out the magic to turn on the phy
<TheLinuxBug> yes
<TheLinuxBug> but I don't know that answer to your question
<TheLinuxBug> its supported by Armbian so thats what I run for linux on it
<TheLinuxBug> KotCzarny or tkaiser when when they are here may better be able to answer your question
<jmcneill> I may have found something..
<jmcneill> arg no luck
<jmcneill> the FreeBSD driver works on a83t and a64 with external rgmii phy and h3 with internal phy, this is the first i've tried h3 with external phy
<jmcneill> symptom is the controller doesn't clear soft reset state, which on the others typically meant the phy wasn't powered
<jmcneill> working now
<jmcneill> staring at the wrong datasheet and missed PHY_SELECT bit in H3 EMAC_CLK_REG
staplr has quit [Remote host closed the connection]
OverCR has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Da_Coynul has joined #linux-sunxi
Andy-D has joined #linux-sunxi
lennyraposo has joined #linux-sunxi
gianMOD has joined #linux-sunxi
yann has joined #linux-sunxi
afaerber has joined #linux-sunxi
jmcneill has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
mosterta has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
IgorPec2 has quit [Quit: Nettalk6 - www.ntalk.de]
jernej has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
mosterta has quit [Ping timeout: 276 seconds]
gianMOD has joined #linux-sunxi
lennyraposo has quit [Quit: Leaving.]
BenG83 has quit [Ping timeout: 240 seconds]
gianMOD has quit [Remote host closed the connection]
Amit_t_ has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
nove has joined #linux-sunxi
<nove> longsleep: you asked, this explains http://irclog.whitequark.org/linux-sunxi/2014-08-23#9972121
TheSeven has quit [Disconnected by services]
<nove> read not only this line, but also the following lines
[7] has joined #linux-sunxi
<nove> that only keep confirming that allwinner only does things when pressured with bad publicity, this https://github.com/allwinner-zh/linux-3.4-sunxi/commit/6964d467510849e3e262518cb87bff7ef92e01f5 change was made by direct result of a private email exchange between me and the eoma people, when after been asked for security problems example, that piece of source-code removed was the example that i gave them.
<nove> (not in this case) in general this is a problem in this linux-sunxi community, there is too many private exchanges in were all the kind words are wasted with no results, and then there is only left the "laundry"(as this rant) to do in public, and then the assholes are called by not being constructive
<nove> it took 3 to 4 days, from what i wrote and the change to happen
<nove> i really, don't understand this all winner situation, were the only from of contact with allwinner is by the mean of intermediaries that don't have the full technical knowledge to transmit what why and how the issues can be resolved
<nove> is not the last of security flaws, this driver allows userspace to map the hardware video engine registers, and with this all lower 256MiB can be read or written into
<nove> but who cares, security issues is only to be resolved when made public bring bad publicity, and everyones is happy with the vendor's software and its blobs, to the point of keep quietly to ignoring the gpl violations
<nove> the only bad thing, is that "gpl violations" don't bring "bad publicity"
<nove> what "gpl violations" brings is only fracturing community, from the people that care versus the people that don't care
<nove> because if there were a "community", we all already would have a mainline driver for this video engine(vpu), and (i have the audacity to say) also a mainline lima driver for Mali gpu
<nove> (that i am sure)
<nove> in other news, it looks that someone make working h264 encoding in H3, good job for them
gianMOD has joined #linux-sunxi
<nove> (i wonder what was the difficulty, maybe the real problem was bigger "laziness" that the lazy me)
<nove> if someone wants to help, by testing that and confirm that is working, the colorful table at the cedrus wiki page can then be updated
|Jeroen| has joined #linux-sunxi
mosterta has joined #linux-sunxi
<nove> (i can not do, because the gpl violations makes H3/A64 hardware to be too expensive, and by so i don't own any)
BenG83 has joined #linux-sunxi
<|Jeroen|> isn't that allwinners problem?
<fire219> there was a decent effort to get a decent mali drive for A64 (which i assume would also be applicable to H3)
<fire219> AW went along for a bit but eventually gave it the middle finger
<nove> is because of the license issues, that kms/drm driver that allwinner wrote can only be use by violating gpl
BenG83 has quit [Ping timeout: 264 seconds]
BenG83 has joined #linux-sunxi
al1o has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
<longsleep> nove: thanks for the heads up! In the meantime i also released a Kernel build for the Pine64 with that code removed as well.
IgorPec has joined #linux-sunxi
al1o has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gianMOD has joined #linux-sunxi
<|Jeroen|> mainline works fine for me on the pine64
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 252 seconds]
gianMOD has quit [Remote host closed the connection]
Netlynx has quit [Quit: Leaving]
gianMOD has joined #linux-sunxi
Da_Coynul has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* nove goes back to aestivation
nove has quit [Quit: nove]
smooker has quit [Ping timeout: 260 seconds]
mosterta has quit [Ping timeout: 250 seconds]
smooker has joined #linux-sunxi
BenG83 has quit [Ping timeout: 264 seconds]
Amit_t_ has joined #linux-sunxi
cosm has quit [Ping timeout: 260 seconds]
aalm has quit [Ping timeout: 264 seconds]
cosm has joined #linux-sunxi
apritzel has joined #linux-sunxi
swiftgeek has quit [Quit: WeeChat 1.5]
aalm has joined #linux-sunxi
aalm has quit [Quit: aalm]
BenG83 has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
Mr__Anderson has joined #linux-sunxi
Amit_t_ has quit [Ping timeout: 250 seconds]
JohnDoe7 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
pietrushnic has joined #linux-sunxi
pietrushnic has quit [Client Quit]
popolon has joined #linux-sunxi
mosterta has joined #linux-sunxi
leio has quit [Ping timeout: 246 seconds]
leio has joined #linux-sunxi
tsuggs has quit [Ping timeout: 276 seconds]
apritzel has quit [Ping timeout: 244 seconds]
|Jeroen| has quit [Quit: dada]
Da_Coynul has joined #linux-sunxi
Xeroxxx has joined #linux-sunxi
azend|vps has quit [Remote host closed the connection]
azend|vps has joined #linux-sunxi
fire219 has quit [Read error: Connection reset by peer]
fire2191 has joined #linux-sunxi
fire2191 has quit [Read error: Connection reset by peer]
fireTwoOneNine has joined #linux-sunxi
jernej has quit [Ping timeout: 272 seconds]
arossdotme has quit [Ping timeout: 272 seconds]
arossdotme has joined #linux-sunxi
apritzel has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
BenG83 has quit [Ping timeout: 240 seconds]
paulk-collins has quit [Quit: Leaving]
reinforce has quit [Quit: Leaving.]
arossdotme has quit [Quit: Ex-Chat]
arossdotme has joined #linux-sunxi
BenG83 has joined #linux-sunxi
lemonzest has quit [Quit: Leaving]
OverCR has quit [Quit: Leaving.]
bonbons has quit [Quit: Leaving]
smooker has quit [Ping timeout: 260 seconds]
BenG83 has quit [Ping timeout: 252 seconds]
aalm has joined #linux-sunxi
vagrantc has joined #linux-sunxi
apritzel has quit [Ping timeout: 244 seconds]