Turl changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask and wait! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
deasy has joined #linux-sunxi
<Turl> pirea: I've seen that on ubuntu with libv's packages
<binaryferret> ls
<pirea> Turl i have arch :)
<Turl> binaryferret: No such file or directory
<pirea> now i am trying to compile limare :D
n01 has quit [Ping timeout: 260 seconds]
tzafrir has joined #linux-sunxi
<binaryferret> Turl: hehehe.
pfdm has joined #linux-sunxi
tomee^ has quit [Quit: I Quit.]
<wens> arokux: wierd, how come your ct detects 2 phy's
<wens> Turl: do you need to add "mac-address = [00 00 00 00 00 00];" to the dt as well? see some other boards do it
<pirea> shit
<Turl> wens: I don't think it's needed
<Turl> at least it worked without it on my testing
<wens> Turl: I see
<pirea> Turl it's still need a dri driver mali...
<wens> hramrach: add "ccflags-y := -DDEBUG" to stmmac/Makefile
<wens> hramrach: and stmmaceth=debug:15 to boot parameters if compiling stmmac in static.
<wens> hramrach: then stmmac will output a lot of debug info, including dma descriptors, packet data, etc.
<pfdm> pirea: for what ?
<pirea> pfdm libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/lima_dri.so
<pirea> libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/lima_dri.so
<pirea> pfdm and it end with swrast
<Turl> pirea: you probably need to install more lima stuff :p
<pfdm> pirea: ask libv maybe .
<Turl> pirea: you should ask libv
<pirea> pfdm, Turl, that thing doesn't exist :)
<pirea> i think...
<pirea> pfdm your libvdpau-sunxi is working?
<Turl> pirea: you can always skip mesa and use the proprietary blob if you need something working now
<pirea> Turl i know that
<Turl> pirea: btw you're trying GLES right? and not GL
<pirea> Turl no
FDCX has joined #linux-sunxi
pirea has quit [Quit: Leaving]
pfdm has quit [Quit: Page closed]
pirea has joined #linux-sunxi
<wens> arokux: buildroot fails on nano: can't find curses.h
<pirea> arokux xf86-video-fbturbo-git has been updated :)
\\Mr_C\\ has quit [Quit: .]
<wens> arokux: fixed packages/nano/nano.mk :p
egbert has joined #linux-sunxi
egbert_ has quit [Read error: Operation timed out]
wingrime has joined #linux-sunxi
bsdfox\ has quit [Ping timeout: 260 seconds]
wingrime has quit [Ping timeout: 245 seconds]
bsdfox\ has joined #linux-sunxi
prasannapete has joined #linux-sunxi
aep has quit [Ping timeout: 272 seconds]
aep has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
pirea has quit [Quit: Leaving]
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah|mobile has joined #linux-sunxi
naobsd has joined #linux-sunxi
eebrah|mobile has quit [Ping timeout: 245 seconds]
eebrah_ has quit [Ping timeout: 252 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
rings_VII has joined #linux-sunxi
rings_IIV has quit [Ping timeout: 246 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
maz_ has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
Quarx has joined #linux-sunxi
prasannapete has quit [Ping timeout: 268 seconds]
<wens> mripard: wonder if the GMAC is held in reset as well?
<mripard> isn't it working in u-boot ?
<mripard> but yeah, on the A31, it is
apo has joined #linux-sunxi
apo_ has quit [Ping timeout: 272 seconds]
maz_ has quit [Ping timeout: 252 seconds]
apo has quit [Read error: Connection reset by peer]
apo has joined #linux-sunxi
apo has quit [Read error: Connection reset by peer]
apo has joined #linux-sunxi
<wens> mripard: if i use emac in u-boot, then gmac in kernel, or vice versa, the phy in the kernel doesn't work
eebrah_ has quit [Ping timeout: 248 seconds]
<wens> mripard: something is missing in the kernel driver maybe
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
<hramrach> yes, tried to build stmmac but it does not work
<hramrach> it detects two hpys just as u-boot does but does not send packets
<hramrach> there are way more options configurable on the kernel driver so something is possibly wrong
<wens> hramrach: 2 phy's on ct?
<hramrach> no, it's some bug in the driver. It sees two PHYs
<hramrach> the CT patch for u-boot works but the kerenl driver is missing something. it does not seem the PHY is even reset, and no packets are sent
shineworld has joined #linux-sunxi
<hramrach> I don't see any reason for two PHYs. And the info is identical as reported by u-boot
<hramrach> sun7i# mii info 0
<hramrach> PHY 0x00: OUI = 0x0732, Model = 0x11, Rev = 0x05, 100baseT, FDX
<hramrach> sun7i# mii info 1
<hramrach> PHY 0x01: OUI = 0x0732, Model = 0x11, Rev = 0x05, 100baseT, FDX
<hramrach> If there were really two of them where would the other one get the link? There is only one physical port
<mripard> wens: and what if you use gmac all the way?
<mripard> maybe it's just the phy that needs to be reset
<hramrach> how do you use gmac?
<wens> mripard: can't transmit packets
<hramrach> it works allright with 3.4 booting from SD with no net in u-boot and never got it working in mainline
<wens> mripard: dma still needs to be worked out
<mripard> wens: I thought you said it was working in u-boot
<wens> mripard: it works in u-boot, not in kernel
<hramrach> it is working in u-boot
<hramrach> I download hte kernel over gmac
apo has quit [Ping timeout: 245 seconds]
<mripard> so. if you are using both in u-boot and in the kernel, it doesn't work either?
apo has joined #linux-sunxi
<hramrach> no
<wens> same here
<mripard> wens: you told me gmac was working in the kernel 2 minutes ago...
<wens> on cb2 stmmac only sees one phy though
<wens> mripard: did I?
paulk-collins has joined #linux-sunxi
<hramrach> not clear enough
<hramrach> wens | mripard: if i use emac in u-boot, then gmac in kernel, or vice versa, the phy in the kernel doesn't work
<hramrach> seems to imply that it does work if the drivers are same in both
<mripard> ok, so, gmac doesn't work at all
<mripard> you're using the st-micro one, right?
apo has quit [Read error: Connection reset by peer]
<wens> sorry for the consufion
<wens> mripard: that's right
apo has joined #linux-sunxi
<hramrach> mripard: see the link
<wens> so is hramrach
<mripard> have you tried the various different compatible it has?
<hramrach> just picked some random driver that seemed to match what is in u-boot
<hramrach> no. how do I pick which to use?
<hramrach> tried like 2 of them
<mripard> I have no idea, you're the one that looked into it :)
<hramrach> also the driver has way more parameters than what is set in u-boot
<mripard> I just swa that it has several of them
<hramrach> like DT sets IO size for start
<mripard> with a version of the IP
<mripard> that enables a few stuff
<wens> mripard: compatibles fall into 2 groups, none of them work
<hramrach> or disables, yes
<mripard> maybe it's just that you don't have the right set of features for the IP
<hramrach> yes, there are quite a few
<hramrach> but wth the u-boot driver uses
<mripard> you can't compare a u-boot driver with a kernel ones
<wens> according to the driver, gmac should be an older version of the IP that doesn't have a feature set register
<mripard> u-boot drivers are usually minimal
<hramrach> you can. it has to set up the features somehow
<hramrach> yes, that's what I get. not sure if it's selected or detected
<mripard> anyway
<hramrach> but using the version for Exynos which is recent I get no features detected
<mripard> it looks like it has two clocks in the A20
<mripard> and you enable only one of it in your dt
<wens> mripard: the second clock is for selecting MII/RGMII
<wens> mripard: and it's more of a register flag than a clock
maz_ has joined #linux-sunxi
<mripard> it sets up the parent clock it uses, the dividor, delay and has an invertor
<mripard> it looks a lot like a clock to me.
<mripard> and anyway
<mripard> your partent clock isn't right
<mripard> it should be 49
<mripard> 17 is nthte EMAC
jemk has joined #linux-sunxi
<hramrach> it's set to 17 in u-boot as well afaict
<hramrach> that's where I copied it from
<wens> hramrach: it's 17 in the second clock register
<wens> hramrach: so you need to add 32
maz_ has quit [Ping timeout: 248 seconds]
<mripard> so the clock will be gated at the end of the kernel boot, and you won't get anything out of the gmac anymore
maz_ has joined #linux-sunxi
<hramrach> hmm, I get link with clock 49
<hramrach> on phy1
<wens> hramrach: are you using cb2 or ct?
<hramrach> CT
<hramrach> eth0: PHY ID 001cc915 at 0 IRQ 0 (stmmac-0:00)
<hramrach> eth0: PHY ID 001cc915 at 1 IRQ 0 (stmmac-0:01) active
<hramrach> libphy: stmmac-0:01 - Link is Up - 100/Full
<wens> hramrach: you may need to set GMAC clock, though u-boot might already have done it
maz_ has quit [Read error: Connection reset by peer]
<hramrach> I get all 32 PHYs with 0s on cb2 so there is something wrong eth0: PHY ID 00000000 at 0 IRQ 0 (stmmac-0:00) active
<hramrach> but I use emac for downloading the kernel there
<wens> hramrach: if you use gmac for downloading the kernel, you get 1 phy, but no network activity after boot
<hramrach> so there is something that is not enabled in the kernel that u-boot does for you, definitely
<wens> hramrach: i'm going to dig through cubietech 3.4 kernel
<hramrach> hmm, when I omit the line which selects phy1 I get same result on phy0
<hramrach> so looks like a bug that shows the same phy twice
maz_ has joined #linux-sunxi
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
<mnemoc> Turl: has anyone tried to port android 4.4 yet?
specing has quit [Ping timeout: 260 seconds]
<shineworld> 4.4 in A10/A20 should be very interesting
<mnemoc> their new vm will "revive" all those 512MB sunxi devices out there
<mnemoc> but the freaking blobs...
<mnemoc> unless someone parts the RE mali and cedarx code to run on Android ;-)
<mnemoc> ports*
<mnemoc> a fully free android 4.4 for sunxi...
<mnemoc> </dreaming>
<shineworld> so main problem is : hard to have binary parts updated to 4.4 for A10/A20 ?
<mnemoc> that's even the reason why galaxy nexus is not getting 4.4
<mnemoc> f* blobs
<mnemoc> but we do have reasonably usable RE code
<shineworld> I thought that RE code is only for linux...
<mnemoc> the high level API, yes
<shineworld> however this is very out of my capabilities unfortunately...
<mnemoc> making OSS bindings for android would give this platform a new level of openness
<shineworld> After a year in android matter my skill with it aren't as I would like
<shineworld> yeah, actually I fond that allwinner powered toys are one of most OSS toys that I've found at moment
<mnemoc> hitting the android world with a similar level of openness would bring a lot of new devs
<shineworld> I'm using android devices to do HMI (human machine interfaces) for industrial plants and I like results
<mnemoc> you don't need fancy video decoding or 3d acceleration on an HMI
<shineworld> unfortunately I'm moved to different platform than allwinner because I wasn't able to get working Android Accessory with any linux-sunxi kernel
<shineworld> I've got always kernel problems with USB switching mode
enrico_ has joined #linux-sunxi
<shineworld> so I'm using some rockchip (sigh) hardware at moment
<mnemoc> we have usb for mainline, they don't ;-)
<shineworld> when I run a simple UartAccessoryTest in my Linux uartaccessory emulator with Allwinner the kernel get crazy and USB enter in a infinite loop o
<shineworld> I will happy if some USB gurus run the UartAccessoryTest on any android allwinner powered board and connect it with usb to a Linux PC running uartaccessory emulator...
<shineworld> you will catch a loop in USB sw-udc.c
<hramrach> the problem with android is there are no android devs, no docs, nothing
<shineworld> I've tried to debug USB matter but the bad thing is that accessory mode close adb every time so any debug is very HARD to do
<shineworld> my knowledge of linux is little ... too much little to afford a debug and understand what is wrong in code
<shineworld> so I'm moved to rockchip (for the moment)
<shineworld> obviously any my google powered terminal works fine :)
<shineworld> but some customer require low-cost tablets to use how HMI interfaces
<hramrach> rk is good for that
<hramrach> seems lowest cost tablets atm are rk29xx
_massi_ has joined #linux-sunxi
cubear has joined #linux-sunxi
<shineworld> is a CUBE with 3168 (dual core at 1.2Ghz)
<hramrach> with pvr graphics?
rz2k has joined #linux-sunxi
<shineworld> only 54E
<shineworld> is very cheap
<shineworld> for a 1024x600
<shineworld> capacitive touch
<shineworld> BUT ... there is a BUT ... they don't share sources
<shineworld> and so my capabilities to "mod" android os are very limited
<shineworld> with previous Allwinner tablets I've modified a lot android sources to be more "industrial need friendly"
<shineworld> Unfortunately to connect my external motion control board with Allwinner the only solution is to use IOIO board which use a different approach (an ADB client instead of AOA device)
Soru has quit [Remote host closed the connection]
wingrime has joined #linux-sunxi
<shineworld> but ADB client is very slow than direct USB AOA approach
<JohnDoe_71Rus> shineworld: hi
<shineworld> hi JohnDoe_71Rus
<shineworld> cya
shineworld has quit [Quit: Leaving]
Sonicadvance1 has quit [Ping timeout: 260 seconds]
Sonicadvance1 has joined #linux-sunxi
soul has joined #linux-sunxi
soul is now known as Guest27396
FunkyPenguin has quit [Ping timeout: 264 seconds]
FunkyPenguin has joined #linux-sunxi
wolfy has joined #linux-sunxi
n01 has joined #linux-sunxi
wolfy has quit [Ping timeout: 251 seconds]
Guest27396 is now known as Taduro
<plaes> o/ seems like Gemei G9 has UART0 nicely available: http://linux-sunxi.org/images/1/1c/Gemei_g9_mainboard_front.jpg
* plaes starts annotating chips
<libv> plaes: nice :)
<libv> plaes: that blue wire wrap is a bit worrying :)
<plaes> oh well.. you can see that board is 1.0 :)
<libv> :)
<plaes> unfortunately I cannot test the uart this weekend, as I'm on the road :S
<libv> it should just work :)
_massi_ has quit [Quit: Leaving]
<plaes> yeah, though I stupidly forgot to pack the usb->uart dongle :S
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
tomee^ has joined #linux-sunxi
Upgreydd has joined #linux-sunxi
jemk has quit [Ping timeout: 252 seconds]
<Upgreydd> hi guys i have a little problem, i've doing this http://linux-sunxi.org/Building_on_Ubuntu and installed gcc-arm-linux-gnueabi and gcc-arm-linux-gnueabihf... when i'm compiling i've get following error: error: required section '.rel.plt' not found in the linker script
<Upgreydd> should i add some things to PATH compiler?
<Upgreydd> variable*
<Dreadlish> what are you compiling?
<Upgreydd> Dreadlish: make hwpack-install SD_CARD=/dev/sdX ROOTFS=your_rootfs.tar.gz
<Upgreydd> i'm doing this ;]
<Upgreydd> with mine SD_CARD and rootfs ;]
<Upgreydd> make hwpack-install SD_CARD=/dev/sdb ROOTFS=/home/upgreydd/sunxi/linaro-raring-server-20131021-529.tar.gz
<Dreadlish> eh
<Dreadlish> so you didn't set the toolchain?
<Upgreydd> Dreadlish: but i should use gcc-arm-linux-gnueabi or gcc-arm-linux-gnueabihf ??
<Dreadlish> if your hardware support hardfloat, it's better to use hf
<Upgreydd> Dreadlish: i don't know what's hardfloat ;] i'm beginer sory
<Dreadlish> hardware accelerated float operations
<Dreadlish> but on a10/a20 you should use hf
<Upgreydd> Dreadlish: ok i see, and what path i should add? i've tried to find it using "find / -name *gnueabihf*" but there's a lot of patches can you give me advice where i can find gcc-arm-linux-gnueabihf/bin ?
<Dreadlish> eh
<Dreadlish> /usr/arm-linux-gnueabihf/
<Dreadlish> somewhere there
<Upgreydd> thank you very much ;)
<Dreadlish> if it isn't there should be similar directory there
<Upgreydd> i was looking in /usr/lib
<Dreadlish> bins should be linked in /usr/bin
<Dreadlish> so you hadn't to add anything
<Upgreydd> anything to $PATH?
<Dreadlish> yup
<Upgreydd> sooo why i'm getting this error?
<Upgreydd> .rel.plt
<plaes> funny, the touchscreen controller has another arm chip on it.. :S
<Dreadlish> Upgreydd: which version of gcc do you have?
eebrah has joined #linux-sunxi
<Dreadlish> (the arm one)
<Upgreydd> Dreadlish: gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8
<Dreadlish> 4.8.1 and kernel isn't good choice.
<Dreadlish> try to get something like 4.7
<Upgreydd> Dreadlish: this is output of: gcc -v
<Upgreydd> ok i'll
<Dreadlish> 4.7.2 or so
<Dreadlish> linaro hosts it on their site
<Dreadlish> afaik
<Upgreydd> i've installed 4.7.3-7
<Upgreydd> Dreadlish: thank you, looks you've solved mine problem ;]
eebrah has quit [Ping timeout: 264 seconds]
eebrah has joined #linux-sunxi
eebrah is now known as Guest77334
Taduro has quit [Read error: Connection reset by peer]
Guest77334 is now known as eebrah_
mouchon has quit [Ping timeout: 252 seconds]
Taduro has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
<oliv3r> hno or anybody else, if i'm not mistaken, io-width was the per chip width, whereas bus-width was the widt of all chips combined. so 4 8-bit chips give 32-bit bus width, and 2 16-bit chips give also 32 bit bus width.
<oliv3r> so single chip boards need to have an io-width of 32bits or is the bus-width 16 bits there?
<oliv3r> in any case, cubietruck and cb2 have the same bus/io which is not right as cb2 has 2 and ct has 4 memory chps
Upgreydd has quit [Quit: Page closed]
cubear has quit [Quit: Leaving]
mouchon has joined #linux-sunxi
<torbenh3> arokux: ping
<torbenh3> wens: got a git repo with the gmac u-boot ?
<torbenh3> ah.... found arokux repo
<torbenh3> mmmm... doesnt look as sweet as the patches posted to the ML
<mnemoc> shame on arokux
<mnemoc> hno: can you comment on the gmac patches for u-boot?
<torbenh3> mnemoc: you mean these, right ?
eebrah_ has quit [Ping timeout: 272 seconds]
<mnemoc> yes
eebrah_ has joined #linux-sunxi
bizd has joined #linux-sunxi
<bizd> Hello, not sure if I am right here
<bizd> I already asked in cubieboard channel
<bizd> I did put cubian on my cubieboard 1 and compiled the sunxi git kernel becuase I needed some missing kernel features, everything worked out fine but now my xbmc doesn't seem to do hw accel with HD Video anymore, mali is loaded though. Is there anything I need to do in addition after having
<bizd> compiled the kernel on my wn ? Also what I see as a difference in the working an not working xbmc log is tahat it doesnt seem to be able to open cedar saying "ERROR: A10: open failed. (-4)"
Black_Horseman has quit [Quit: Αποχώρησε]
<tomboy64> sounds to me like you need to relink the mali driver
<tomboy64> (but i'm not an expert on that matter)
<bizd> tomboy64: How can I do that ? Can you please explain ?
<tomboy64> bizd: from where you got the sunxi-sources there should be a directory that offers the mali drivers
<tomboy64> which in turn should provide instructions on what to do with them
<bizd> tomboy64: yes the mali drivers are in the kernel as I understood and I did install all kernel modules after compiling the kernel and mali is also loaded
<bizd> modinfo: /lib/modules/3.4.67/kernel/drivers/gpu/mali/mali/mali.ko
apo_ has joined #linux-sunxi
<tomboy64> then i can't help you. i presumed you were still using the module your machine was shipped with against a newly compiled kernel
apo has quit [Ping timeout: 248 seconds]
<bizd> The difference to the cubie original kernel on the image is the "+" infront of the version number 3.4.67+ is this probably some other kernel source cubie creator used ?
<bizd> tomboy64: ah ok no :)
<bizd> s/cubie/cubian
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
apo_ has quit [Remote host closed the connection]
<tomboy64> bizd: possible. or maybe he just used some additional features that are not enabled per default in the sunxi-kernel
<tomboy64> you might want to ask in #cubian if there's a dev around
rz2k has quit []
FR^2 has joined #linux-sunxi
<bizd> tomboy64: ok ;) they forwarded me to cubieboard
<mnemoc> the + is added when you aren't sitting on a tag
<plaes> does anybody know how to spot g-sensor on the board?
<tomee^> btw. does sunxi-mali kernel support >r3p0 (both units of Mali400MP?)?
tinti has joined #linux-sunxi
apo has joined #linux-sunxi
<plaes> ooh.. I guess I found it
<bizd> mnemoc: how could I get that exact same version ?
<bizd> with the +
<bizd> thats the kernel I took https://github.com/linux-sunxi/sunxi-mali.git
<bizd> sorry mean this one
<oliv3r> there, pushed some u-boot stuffs
<oliv3r> i did my good dead for today
eebrah_ has quit [Read error: Connection reset by peer]
<oliv3r> mnemoc: the gmac patches look reasonably ok, but the designware matinainer needs to be talked to about the reduction of ... dsomething
AreaScout has joined #linux-sunxi
wingrime has quit [Ping timeout: 264 seconds]
<mnemoc> bizd: echo "" > .scmversion should work
eebrah_ has joined #linux-sunxi
eebrah_ is now known as eebrah
eebrah is now known as Guest11340
Guest11340 is now known as eebrah_
apo has quit [Read error: Connection reset by peer]
apo has joined #linux-sunxi
<bizd> mnemoc: thx
<mnemoc> did?
<bizd> mnemoc: I didnt try yet looking it up, do I have to do anything else via git comands then ?
<bizd> or how does this take effect ?
apo has quit [Ping timeout: 252 seconds]
<plaes> just running make should suffice
eebrah_ has quit [Read error: Connection reset by peer]
apo has joined #linux-sunxi
<bizd> ok thx will take 90 minutes I think ;)
<mnemoc> o_O
codekipper has joined #linux-sunxi
codekipper has quit [Client Quit]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
<plaes> phew..
<techn__> you are right, but in this case you will block usage of sunxi-bsp
<techn__> it wont work if there is no u-boot selection for your board
<oliv3r> yeah we need to sort that somehow better
<oliv3r> like a table for to combiend fex/u-boot etc
<techn__> oliv3r: rename pov_protab2 and wobo_i5 to generic and then use that object for those three
<techn__> ?
<techn__> this workaround has been used already
<plaes> actually 4, because zatab had same fex as gemei g9
<techn__> plaes: oh.. it was you who send that merge request
<techn__> :)
<wens> torbenh3: ML patches are from jemk. my tree adds support for cb2 with gmac, over his tree.
<torbenh3> wens: i have applied the ML patches now.
<wens> torbenh3: :)
<torbenh3> wens: but its not working. phy seems to think its on 100Mbit... miid dump says its 10 ...
<oliv3r> techn__: probably a better idea
<torbenh3> but switch tells me, its 1000 :S
<wens> torbenh3: O.o
<wens> torbenh3: try a 100 Mbps switch to get it working?
<torbenh3> ok. that did it... switched port to 100Mbit on switch.
<torbenh3> i guess autoneg is broken.
eebrah_ has quit [Ping timeout: 264 seconds]
eebrah_ has joined #linux-sunxi
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
geecko has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
shineworld has joined #linux-sunxi
<torbenh3> wens: nice. with the 100Mbit port, my mainline gmac also seems to be working.
<wens> torbenh3: really?!
<torbenh3> at least went through dhcp
<wens> torbenh3: try pinging or downloading something?
<WarheadsSE> arokux: pirea left while I was out, but I am looking at pulling fbturbo in
tomboy64 has quit [Quit: Uhh ... gotta go.]
eebrah_ has quit [Ping timeout: 264 seconds]
<torbenh3> wens: i cant. dont have a rootfs... looking, why it doesnt continue to mount the nfs
eebrah_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<wens> torbenh3: but you got IP from DHCP?
<torbenh3> wens: yes
<wens> torbenh3: which/who's tree are you using?
<wens> torbenh3: did you set interface to rgmii on the gmac clock register (CCU + 0x0164) ?
<torbenh3> wens: its sunxi-next with the gmac driver from the cubie repo cherrypicke on.
<wens> torbenh3: ok. i thought you were using stmmac
<torbenh3> wens: no. you were working on this. and i figured you have more time.
<torbenh3> wens: my goal is currently to get gmac working in mainline, and then we can dump registers, and figure out, hoe to fix stmmac.
<torbenh3> wens: with clk_ignore_unused, it looks like its working.
<wens> torbenh3: might need to dump the clock gating registers with and without clk_ignore_unused
<torbenh3> wens: the gmac is currently mapping the clk registers itself.
<torbenh3> so clk framework doesnt know about the clk, and turns it off ;)
<wens> torbenh3: oh, so you haven't changed it to register the clock. i see.
<torbenh3> wens: not yet ;) its really dirty.
<torbenh3> and since stmmac is the way to go, i wont invest in beautifieing that code.
<wens> torbenh3: i know. that's why i went for stmmac after glancing at gmac
<bizd> mnemoc: its working now had to load the sunxi cedar kernel module manually was in the standard kernel already included ... my bet ...
shineworld has quit [Quit: Leaving]
<wens> torbenh3: saw a patch you could follow to register the gmac clock without going through gmac code
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
geecko has quit [Quit: Quitte]
geecko has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
* torbenh3 <- happy panda :D
<torbenh3> wens: ok. nfsroot is mounted, and i can finally log into the board.
shineworld has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
<torbenh3> wens: did you already mess with the clk framework, so it knows the gmac clks ?
<wens> torbenh3: stmmac uses dts and clk framework, all it needs is the proper clock name in dts
<torbenh3> wens: yeah. but if sunxi clk doesnt know the name, then it wont work. does it already ?
<wens> torbenh3: the name is already in ML dtsi
<wens> torbenh3: but i think i understand your problem
<wens> torbenh3: let me dig through some code
eebrah_ has quit [Ping timeout: 252 seconds]
eebrah_ has joined #linux-sunxi
<wens> torbenh3: seems like clk_get won't work.
<torbenh3> wens: why not ?
<wens> torbenh3: what you can do is hack sunxi-clk and tell it to just ignore gmac clk
<wens> torbenh3: clk_get gets clock sources, not clock gates.
<wens> torbenh3: changing this line is easier anyway
<torbenh3> heh ? no.
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
maz_ has quit [Ping timeout: 260 seconds]
awatch_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
awatch_ has quit [Ping timeout: 264 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
tomboy64 has quit [Quit: Uhh ... gotta go.]
tomboy64 has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
FR^2 has quit [Quit: und weg...]
eebrah_ has quit [Ping timeout: 268 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
ZetaNeta has quit [Ping timeout: 260 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
<Turl> hi mripard
ZetaNeta has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 268 seconds]
shineworld has quit [Quit: Leaving]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
paulk-collins has quit [Remote host closed the connection]
tomboy64 has quit [Remote host closed the connection]
eebrah_ has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
eebrah_ has quit [Read error: Connection reset by peer]
tomboy64 has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 260 seconds]
eebrah_ has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
ccube has quit [Remote host closed the connection]
eebrah_ has quit [Read error: Connection reset by peer]
ccube has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
<mnemoc> DEPMOD 3.4.67-00021-gf7e2a58-dirty ..... not sure if I like this new default...
eebrah_ has joined #linux-sunxi
<torbenh3> :ls
<torbenh3> errm
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
<Turl> mnemoc: makes it trivial to get the exact hash used though :)
<Turl> what's the -00021 though?
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
wolfy has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
popolon has joined #linux-sunxi
<oliv3r> mnemoc: it'll take some getting used to, but it's good
<mnemoc> Turl: number of commits since the last tag I think
eebrah_ has quit [Read error: Connection reset by peer]
<mnemoc> yes, matches
n01 has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
Taduro has quit [Read error: Connection reset by peer]
eebrah_ has quit [Ping timeout: 268 seconds]
Taduro has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
Taduro has quit [Read error: Connection reset by peer]
eebrah_ has quit [Ping timeout: 272 seconds]
Quarx has quit []
Taduro__ has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
Taduro__ has quit [Read error: Connection reset by peer]
eebrah_ has quit [Ping timeout: 260 seconds]
Taduro_ has joined #linux-sunxi
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
Taduro___ has joined #linux-sunxi
enrico_ has quit [Remote host closed the connection]
eebrah_ has quit [Ping timeout: 245 seconds]
<tomboy64> i would like to modify an existing project (openelec) to run on the cubietruck. which kernel branch would you suggest?
<tomboy64> (e.g. an xbmc-only distro)
Taduro_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
<mnemoc> http://sprunge.us/cDQH ... /me wonders for which drivers beside wifi and lcd to disable auto gpio requesting
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
wolfy has quit [Ping timeout: 252 seconds]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein has quit [Read error: Connection reset by peer]
eebrah_ has quit [Ping timeout: 260 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 268 seconds]
eebrah_ has joined #linux-sunxi
cubear has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
bizd has quit [Ping timeout: 272 seconds]
eebrah_ has quit [Read error: Connection reset by peer]
codingrobot has quit [Ping timeout: 264 seconds]
codingrobot has joined #linux-sunxi
<mnemoc> oliv3r: one annoying side effect is that after every commit, everything gets recompiled
eebrah_ has joined #linux-sunxi
<oliv3r> minor thing :p
<oliv3r> back to 3hourly or dailies?
<mnemoc> nah, I don't think it will be needed
pfdm has joined #linux-sunxi
tinti has quit [Remote host closed the connection]
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
<pfdm> I blame cb2 for nothing, it can reah 10Mo/s without problem. My router wifi chip is awfully slow ...
Taduro___ has quit [Remote host closed the connection]
eebrah_ has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 245 seconds]
17WAADH9P has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
eebrah_ has joined #linux-sunxi
hramrach has quit [Remote host closed the connection]
hramrach has joined #linux-sunxi
17WAADH9P is now known as Taduro
eebrah_ has quit [Ping timeout: 272 seconds]
eebrah_ has joined #linux-sunxi
AreaScout has quit []
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 264 seconds]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 268 seconds]
eebrah_ has joined #linux-sunxi
honx has joined #linux-sunxi
pseudomind has joined #linux-sunxi
<Turl> pfdm: :p
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 248 seconds]
eebrah_ has joined #linux-sunxi
specing has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 264 seconds]
Taduro has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
Taduro_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Read error: Connection reset by peer]
pseudomind has quit [Ping timeout: 245 seconds]
eebrah_ has joined #linux-sunxi
mdp has quit [Excess Flood]
Taduro_ has quit [Read error: Connection reset by peer]
<torbenh3> wens: still there ?
mdp has joined #linux-sunxi
paulk-collins has quit [Remote host closed the connection]
eebrah_ has quit [Read error: Connection reset by peer]
Taduro has joined #linux-sunxi
<torbenh3> wens: i pushed my gmac stuff to https://github.com/torbenh3/sunxi-next/tree/gmac-test
<torbenh3> wens: add DT stuffs now. the ahb gate is properly opened via devm_clk_get now. but the driver still messes with the phy clock.
<torbenh3> wens: once i can control the phy clock via DT, we are very close to be able to switch to stmmac. the DT node already carries stmmac names.
eebrah_ has joined #linux-sunxi
eebrah_ has quit [Ping timeout: 268 seconds]
n1bs has joined #linux-sunxi
n1bs has quit [Client Quit]
n1bs has joined #linux-sunxi
wolfy has joined #linux-sunxi