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
<[7]> Turl: it seems to happen mostly randomly
<[7]> on like the 200th attempt to read a page
<[7]> and every time on a different page
fredy has quit [Ping timeout: 245 seconds]
<[7]> smells like timing or something like that
fredy has joined #linux-sunxi
zumbi_ has quit [Read error: Operation timed out]
zumbi has joined #linux-sunxi
<[7]> Turl: turns out that it probably isn't really a driver bug - just something that is different with my on-flash data format
<[7]> apparently that livesuite image for this board uses a format that is incompatible with what current a20-lichee-dev uboot is doing?
<[7]> and in the alleged source code of that image there's only a blob for the nand driver. great.
<[7]> that's what I call open source!
<[7]> at least that blob has symbols...
<[7]> looking at the disassembly confirms that theory
<[7]> it checksums 3 times as many words for the log block table
<[7]> each entry seems to be 3 times as big. but no idea what the format is.
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
Sonic1_ has joined #linux-sunxi
Sonic1_ is now known as Sonicadvance1
Sonic1 has quit [Remote host closed the connection]
<[7]> seriously, allwinner, that's bullshit!
Gerwin_J has quit [Quit: Gerwin_J]
<[7]> is anyone aware of this kind of different, incompatible nand data formats?
\\Mr_C\\ has quit [Quit: .]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
pfdm has quit [Ping timeout: 250 seconds]
<wens> arokux: i guess the AP6210 is something like this
techn__ has joined #linux-sunxi
techn_ has quit [Ping timeout: 264 seconds]
<wens> sunxi-3.4 stuck on <6>Calibrating delay loop...
deasy has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
geecko has quit [Quit: Quitte]
JohnDoe_71Rus has joined #linux-sunxi
ykchavan has joined #linux-sunxi
eebrah has joined #linux-sunxi
rm has quit [Quit: ZNC - http://znc.sourceforge.net]
rm has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
Taduro has quit [Ping timeout: 248 seconds]
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
tomboy64 has quit [Quit: Uhh ... gotta go.]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
tomboy64 has quit [Client Quit]
Sonicadvance1_ has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
Sonicadvance1 has quit [Ping timeout: 248 seconds]
eebrah has quit [Ping timeout: 245 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
Black_Horseman has quit [Remote host closed the connection]
mickoo has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Taduro_ has joined #linux-sunxi
AreaScout has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
Quarx has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
tomboy65 has quit [Client Quit]
Quarx has quit []
rellla has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
naobsd has joined #linux-sunxi
n01 has joined #linux-sunxi
ykchavan has quit [Quit: Leaving]
jlj has quit [Ping timeout: 265 seconds]
<oliv3r> tomee^: beacuase they are switching based instead of transformer based
wolfy has joined #linux-sunxi
wolfy has left #linux-sunxi [#linux-sunxi]
tomboy64 has quit [Quit: Uhh ... gotta go.]
<wens> same as your computer's power supply
<oliv3r> yeah but that one puts out a lot of amps ;)
arete74 has joined #linux-sunxi
montjoie[home] has joined #linux-sunxi
HeHoPMaJIeH has joined #linux-sunxi
kz1 has quit [Ping timeout: 246 seconds]
eebrah has quit [Read error: Connection reset by peer]
notmart has joined #linux-sunxi
eebrah has joined #linux-sunxi
FR^2 has joined #linux-sunxi
tzafrir has quit [Ping timeout: 272 seconds]
eebrah has quit [Read error: Connection reset by peer]
vicenteH has quit [Ping timeout: 246 seconds]
enrico_ has joined #linux-sunxi
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
pirea has quit [Ping timeout: 246 seconds]
adb has joined #linux-sunxi
_massi_ has joined #linux-sunxi
pirea has joined #linux-sunxi
vicenteH has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
FR^2 has quit [Quit: Connection reset by peer]
eebrah has quit [Read error: Connection reset by peer]
jinzo has joined #linux-sunxi
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
FR^2 has joined #linux-sunxi
eebrah has joined #linux-sunxi
rellla2 has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 240 seconds]
tomee^ has quit [Quit: I Quit.]
tzafrir has joined #linux-sunxi
eebrah has quit [Ping timeout: 245 seconds]
rellla3 has joined #linux-sunxi
eebrah has joined #linux-sunxi
rellla3 has quit [Quit: Nettalk6 - www.ntalk.de]
<oliv3r> libv: you made me lol; 'tag your it'
FR^2 has quit [Ping timeout: 246 seconds]
arokux has quit [Remote host closed the connection]
arokux has joined #linux-sunxi
<libv> oliv3r: i wonder when we will hear back from him
Quarx 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]
FR^2 has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
eebrah has joined #linux-sunxi
arokux has quit [Remote host closed the connection]
arokux has joined #linux-sunxi
<arokux> the quest is solved
<arokux> it can be now moved to cubietruck page
<oliv3r> libv: I can understand going the defensive route, normaly that can be valid; but in this case, they've been working on it for ages, and made a specific decision to call it 'OSHW' or atleast used the logo, so they could have had it all prepared in time
<oliv3r> libv: that said, maybe their mistake was thinking 'OSHW' means, 'runs GPL code'
<libv> oliv3r: nope, they clearly stated that because they used cadence allegro, they can't be bothered to make all files available
<oliv3r> ah nvm then ( i admit i haven't followed it all closely'
popolon has joined #linux-sunxi
<arokux> oliv3r: do you know something of SDIO?
<oliv3r> libv: do you know if connor got his CubieTruck at all?
<oliv3r> arokux: nada, i do know mripard was working on it for mainline
<arokux> can it be used to read off chip id, like in usb case?
<oliv3r> i think it should be able to
<libv> oliv3r: not to my knowledge, but he got a cubieboard2 just a few months before it
<arokux> [unrelated] what is TSD?
<oliv3r> ah so he did get that good
<oliv3r> arokux: embedded mmc
<oliv3r> arokux: e.g. SD card in a chip-package
eebrah_ has joined #linux-sunxi
<arokux> oliv3r: cubietruck has embedded sd card?!
<oliv3r> libv: i just read your fosdem dev room thing and saw his name as allready accepted so remembered it :)
<oliv3r> arokux: nah, but tom was planning on that instead of NAND
<arokux> oliv3r: see Storage solution:
<oliv3r> i think it's now simply an 'option'
<oliv3r> but we haven't seen anybody using that as an option
<oliv3r> i know my gf's SGS2 (i9100) uses a embedded MMC
<arokux> so actually what is there is only NAND+MicroSD
<arokux> right?
<oliv3r> yeah
<oliv3r> that's what we know and have
eebrah has quit [Ping timeout: 245 seconds]
<arokux> oliv3r: is it really needed there?
<arokux> oliv3r: it is in u-boot, right?
<TheSeven> speaking of nand... why isn't there any source code available that is compatible with olimex's android images?
<TheSeven> am I really forced to use the uboot that they shipped?
<arokux> TheSeven: if you want to boot from NAND - yes.
<TheSeven> why is the source code for the "old" A10 nand driver available, but not the one used in the A20 images?
<arokux> TheSeven: which images?
<TheSeven> olimex a20 android 4.2.2
<TheSeven> the differences seem to be somewhat minimal, but incompatible. i don't really see a point in not releasing the new source code
<arokux> TheSeven: it is #linux-sunxi here and I suppose only Tsvetan - which is the guy from Olimex will know the answer.
<TheSeven> in the sourcecode of that android image there's just a "libnand" blob
<TheSeven> do you happen to know what other images for a20 use?
<arokux> TheSeven: every distro you can imagine :)
<TheSeven> well, which driver do they use? or none at all?
<arokux> TheSeven: for NAND?
<TheSeven> yes
<arokux> no idea, ask oliv3r
<arokux> TheSeven: what I know that Allwinner emulates a block device with its driver...
vicenteH has quit [Ping timeout: 272 seconds]
<arokux> TheSeven: do you want to improve things or just looking for a solution of your current problem?
<TheSeven> yes, and they apparently changed the data structures used by that emulation layer in an incompatible way
<TheSeven> both
<oliv3r> arokux: when I wrote that page, it wasn' ti u-boot yet :p
<oliv3r> anyway, i'm not sure it's right anyway, I think io-width should be 8bit
<TomiK> hello, goooooooooood morning u-boot
<TomiK> :)
<oliv3r> but i need to talk to hno and remind myself why that was; i keep forgetting the io-width, buswidht and number of chip relation
<oliv3r> TomiK: hey
<TomiK> :)
<TomiK> oliv3r> oh
<TomiK> :)
<TomiK> how are you today ?
<oliv3r> TheSeven: because olimex pre-installs the image 'as is' from Allwinner
<TheSeven> I'm currently attempting to get that nand driver ported to sunxi uboot, and just realized that there isn't even any compatible source code, unlike for a10
<oliv3r> since it's really only used for testing if everything works as expected
<oliv3r> if he would ship with 3.4 pre-installed; chances are something at some point may not work
<oliv3r> and then it's hard to troubleshoot
adb has joined #linux-sunxi
<oliv3r> with 3.3, you know the hardware works; since most users will use SD card most of the time, that's 'ok'
<TheSeven> I'm open to suggestions for other android images of course, if they work well on the olimex a20 board and have reasonable feature coverage
<arokux> oliv3r: good, I remove that section.
<oliv3r> other then allwinner images, there are no android images
<oliv3r> atsampson gave up on android :()
<TheSeven> IIUC that image uses 3.0.8 with a newer nand driver that is incopatible with a20-lichee-dev uboot
<oliv3r> currently, linux-sunxi + nand is kinda a no-go; you can get things working, but you are tied to allwinner boot0/1
<oliv3r> mtd is progressing, but slowly
<TheSeven> i'd accept being tied to boot0/1 for now
<TheSeven> even though I don't really see what's preventing me from getting rid of them
<TheSeven> uboot spl seems to mostly work, if only I had the correct nand source code
<oliv3r> TheSeven: no nand support in our u-boot pretty much is it
<TheSeven> porting that from lichee isn't terribly hard
<TheSeven> or at least it wasn't on a10
<oliv3r> TheSeven: once mtd support get merged into u-boot we can atleast offer nand support via mtd
<oliv3r> we won't put libnand into u-boot
<TheSeven> not into the official one of course... but that doesn't prevent me from doing it on my github
<TomiK> I copied everything which is relative to sunxi to sun3i to port it, and I wonder if I can rename the struct fields ? because the aren't used for the same thing
eebrah_ has quit [Read error: Connection reset by peer]
<oliv3r> TomiK: can you be a little more specific? I understand you wanty to add sun3i support to u-boot; but which structs specifically :)
<TomiK> oliv3r> sunxi_ccm_reg by example
FunkyPenguin has quit [Ping timeout: 265 seconds]
<TheSeven> so there really isn't any source code for a20 libnand?
<oliv3r> ccm = clock controller module
<oliv3r> TheSeven: of course there is
<TheSeven> i haven't found any
<oliv3r> TheSeven: should have been merged into sunxi ages ago if i recall correctly
<TheSeven> sunxi what? linux? uboot?
<oliv3r> TheSeven: if it's not on the wiki; check irclog
FunkyPenguin has joined #linux-sunxi
<oliv3r> stage/sunxi-3.4
FunkyPenguin has quit [Changing host]
FunkyPenguin has joined #linux-sunxi
vicenteH has joined #linux-sunxi
<oliv3r> u-boot doesn't do nand; so not there
<TheSeven> hm, I'll take a look
<oliv3r> TomiK: does the datasheet speak of ccm? are there (obvious) differences there?
<oliv3r> TomiK: ideally that you can show me :)
<arokux> is there a datasheet of sun3i?!
eebrah has joined #linux-sunxi
<oliv3r> arokux: sun3i = F20, i think we have it
<oliv3r> but nobody has hardware
<arokux> ok...
<oliv3r> except TomiK ;)
<TheSeven> oliv3r: a quick look suggests that this is the same one as in lichee uboot, which is incompatible to the libnand blob
<TheSeven> different format of the log block table structure, and probably other differences as well
FunkyPenguin has quit [Excess Flood]
<oliv3r> TheSeven: yeah i recall there being differences; highly annoying
<TomiK> oliv3r> the F20 datasheet is very poor, the only doc I use is a french blog, and by example the first field of sunxi_ccm_reg struct is used to configure Core Pll
<TheSeven> and i haven't found any code that matches what i have on my flash so far
<oliv3r> TomiK: ah ok, sun4i, 5 and 7i i think have a pretty much identical CCM
<TomiK> ok
FunkyPenguin has joined #linux-sunxi
<oliv3r> so put it behind a sun3i ifdef and change the struct
<oliv3r> but you'll have to add a lot of ifdef's
<TomiK> ok :)
<TomiK> if fact, I was simplest for me to create a directory sun3i
eebrah has quit [Read error: Connection reset by peer]
<oliv3r> depends on how big those differences end up being
<TomiK> ok
<TomiK> or maybe can I work in my sun3i directory and debug like this and transfert everything in sunxi with #ifdefs when I will work
<wens> no luck with gigabit today, registers and clocks matched up, still nothing :(
<oliv3r> TomiK: of course that'll work too :)
<oliv3r> TomiK: first you gotta get it working ;)
<oliv3r> step 1; spl :D
<TomiK> okay :)
<oliv3r> wens: :(
FunkyPenguin has quit [Ping timeout: 246 seconds]
<TomiK> oki thx a lot :)
<arokux> wens: but sunxi-3.4 works, right?
<TomiK> bakc to the code, have a nice day, all :)
<TomiK> *back
<oliv3r> TomiK: good good luck!
eebrah has joined #linux-sunxi
<TomiK> oliv3r> thanks :)
FunkyPenguin has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #linux-sunxi
rz2k has joined #linux-sunxi
BluesBoy has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 265 seconds]
FunkyPenguin has joined #linux-sunxi
FunkyPenguin has quit [Excess Flood]
FunkyPenguin has joined #linux-sunxi
eebrah|mobile has joined #linux-sunxi
FR^2 has quit [Remote host closed the connection]
eebrah has quit [Read error: Connection reset by peer]
FunkyPenguin has quit [Ping timeout: 252 seconds]
FR^2 has joined #linux-sunxi
FunkyPenguin has joined #linux-sunxi
FunkyPenguin has quit [Excess Flood]
eebrah has joined #linux-sunxi
<wens> arokux: yes, but register dumps look the same :(
<arokux> wens: I see.
<arokux> anybody tried bluetooth on CT?
eebrah has quit [Read error: Connection reset by peer]
FunkyPenguin has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
eebrah has joined #linux-sunxi
FunkyPenguin has quit [Ping timeout: 245 seconds]
FunkyPenguin has joined #linux-sunxi
<oliv3r> mnemoc: ping
FunkyPenguin has quit [Excess Flood]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
FunkyPenguin has joined #linux-sunxi
eebrah has quit [Ping timeout: 252 seconds]
Taduro_ has quit [Read error: No route to host]
eebrah has joined #linux-sunxi
FunkyPenguin has quit [Excess Flood]
Taduro has joined #linux-sunxi
FunkyPenguin has joined #linux-sunxi
ZetaNeta has quit [Read error: Operation timed out]
eebrah has quit [Read error: Connection reset by peer]
FunkyPenguin has quit [Ping timeout: 264 seconds]
FunkyPenguin has joined #linux-sunxi
eebrah has joined #linux-sunxi
Taduro has quit [Read error: Connection reset by peer]
FunkyPenguin has quit [Ping timeout: 248 seconds]
Taduro has joined #linux-sunxi
FunkyPenguin has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
<oliv3r> andboy noticed output/lib/firmware/ti_3410.fw missing in sun7i_defconfig?
ZetaNeta has joined #linux-sunxi
eebrah has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 264 seconds]
geecko has joined #linux-sunxi
ganbold_ has joined #linux-sunxi
<TheSeven> hm, now I got sunxi uboot to link against the nand blob, but it still doesn't work
<TheSeven> gets much further, but fails while checksumming the partition table
<TheSeven> the whole log block init stuff looks good though
<TheSeven> so it can apparently read from the flash
eebrah has quit [Ping timeout: 265 seconds]
<oliv3r> TheSeven: i think mnemoc uploaded a20 nand source somewhere, otherwise lkcl should know
<TheSeven> there's some code in the a20-lichee-dev branch of sunxi-uboot, but it doesn't match the blob
eebrah has joined #linux-sunxi
<TomiK> ok to adapt SPL, which information do I need ? and which file to modify ?
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
<oliv3r> TomiK: normally, you have to only change the dram settings to get your board supported in boards/sunxi/dram_sun3i.c
<TomiK> ok thanks :)
eebrah|mobile has quit [Read error: Connection reset by peer]
Taduro has quit [Ping timeout: 246 seconds]
eebrah|mobile has joined #linux-sunxi
<oliv3r> TomiK: but you don't even have to look at dram changes if you don't evne get SPL up; spl should print something, then you're good to go
<TomiK> ok, but it doesn't print me anything :/
<TomiK> on the serial port
<oliv3r> then don't even bother looking for dram changes, you still need to check if your uart is configured properly and if the pll's (ccm) is setup correctly
eebrah has quit [Ping timeout: 240 seconds]
<TomiK> I believe it's correctly configured, I tested the ccm's config with my dummy bootloader it worked
eebrah has joined #linux-sunxi
eebrah|mobile has quit [Ping timeout: 248 seconds]
JohnDoe_71Rus has joined #linux-sunxi
jinzo has quit [Quit: Leaving]
<TheSeven> TomiK: try to make a loop that blinks an LED (if available) somewhere very early in the code, then move it until it gets stuck
<TomiK> oki :) good idea
<wens> oliv3r: do you think ahci_platform glue (imx or sunxi) is hack-ish?
<wens> oliv3r: i am using the same method for stmmac. seems to save a lot of duplicate code
<oliv3r> wens: yes :)
<oliv3r> wens: i was thinking of trying ahci_platform_register();
<oliv3r> wens: if you look at how mripard added support to the marvel IP for i2c is the proper way
<wens> oliv3r: is there such a function?
<wens> oh
<oliv3r> wens: trying to add*
<oliv3r> if you look at the sunxi way, there's like 90% duplicated code
<wens> stmmac already has a stmmac_dvr_probe, shared between pci and platform drivers
<wens> but then i'd have to copy DT stuff from the platform driver :(
<oliv3r> anybody building 3.4 kernel with gcc 4.7.3?
<oliv3r> gcc: error: unrecognized command line option ‘-mlittle-endian’ kinda worries me a little :p
<wens> seems like using DT .data is a nice way. i can keep the code in a seperate file, and just touch the compatible string in stmmac
eebrah has quit [Ping timeout: 240 seconds]
eebrah has joined #linux-sunxi
<TheSeven> very funny...
<TheSeven> _get_mbr: checksum mismatch: expected: 29DF39E4, got: 29DF39E4
eebrah has quit [Read error: Connection reset by peer]
<oliv3r> TheSeven: wow, smeone's math skills fial
<oliv3r> like my typing skills
<wens> i've seen something similar....
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
eebrah has joined #linux-sunxi
focus has quit [Ping timeout: 252 seconds]
eebrah has quit [Ping timeout: 264 seconds]
eebrah has joined #linux-sunxi
<oliv3r> something goes wrong with stage/sunxi-3.4 build and not sure ifit's an upstream bug yet, i have to build my kernel twice, first time fails on the firmware i linked above, second time it goes through happily
vicenteH has quit [Ping timeout: 272 seconds]
eebrah has quit [Read error: Connection reset by peer]
focus has joined #linux-sunxi
tomee^ has joined #linux-sunxi
eebrah has joined #linux-sunxi
<TheSeven> oliv3r: are you building with -j?
<oliv3r> always!
<TheSeven> if yes, it might be a missing dependency rule
<oliv3r> the bsp does it by default
<TheSeven> does it occur if you don't use -j?
<oliv3r> yeah i may very much have been fixed upstream; but 3.4 is just so old!
<oliv3r> lemme tr y and see
<TheSeven> if it's a dependency issue, it will either disappear or fail consistently then
<TheSeven> if it still works on the second attempt, it's something else
vicenteH has joined #linux-sunxi
<oliv3r> building with -j1
<oliv3r> it's been so long since i tried 3.4 :)
<arokux> TheSeven: which hw do you have, just curious.
<TheSeven> cubieboard a10 and olinuxino a20
<TheSeven> messing with the a20 right now
<arokux> I see
HeHoPMaJIeH has quit [Quit: Leaving]
bennhuang has joined #linux-sunxi
<bennhuang> what we can expected for GPU/Cedarx from allwinner? I mean next chip A80
<oliv3r> A80 will be powerVR; so not really looking forward to that ;)
<oliv3r> my hopes are on A60
<oliv3r> which might be mali
<oliv3r> i think they both will have newer version of CEdarX; if they are hugly different or just faster/more efficient remains to be known
<bennhuang> oliv3r: If we can have powerVR linux opengl es blobs for A80, will that change anything ?
<bennhuang> oliv3r: allwinner will have mali GPU, I am quite sure about that.
<rz2k> bennhuang: no, because powervr has extremely comlicated Xorg ecosystem
<rz2k> it needs replacing of your xorg version including supporting libraries and etc.
<rz2k> in two words: forget about it.
<oliv3r> bennhuang: not likly; as they are still just that, blobs :)
BluesBoy has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it]
<torbenh3> and the powervr kernel driver is a big lump of shit also :S
bennhuan` has joined #linux-sunxi
<bennhuan`> #oliv3r: An allwinner's marketing managers will meet us the day after tomorrow, And want me to give him some suggestion aaa
<bennhuan`> oliv3r: An allwinner's marketing managers will meet us the day
<bennhuan`> after tomorrow, And want me to give him some suggestion about the GPU/Cedarx
<TomiK> an idiot question, to build SPL, I just need to write "sun3i:SPL" in the options of the boards.cfg ?
<oliv3r> TomiK: i think so yeah
<libv> bennhuan`: no more pvr, it's hurting allwinners image and community acceptance
<bennhuan`> oliv3r: Maybe allwinner want to provide better binary GPU/Cedarx blobs~
<TomiK> oliv3r> okay thx
bennhuang has quit [Ping timeout: 246 seconds]
<oliv3r> bennhuan`: binnary blobs aren't really going to be accepted in any shape or form, just look what happened to mali/cedarX; both are being reverse engineerd so we don't need blobs anymore :)
<oliv3r> bennhuan`: and AW can't really get better blobs for GPU, as they get those themsevlves
<oliv3r> bennhuan`: and cedarX has been a huge mess for years
<bennhuan`> oliv3r: Get it. But what we can ask for more ? I can talk to them...:D
<libv> wasn't there the nand issue for which we still need something for uboot?
<oliv3r> bennhuan`: documentation on missing parts; documentation early so we can start early.
<oliv3r> bennhuan`: I think most developers are 'ok' with keeping the docs secret until after the release of the chip
<oliv3r> libv: we need docs to get the mtd driver to work better
<oliv3r> bennhuan`: but as with everything, docs, docs docs.
<oliv3r> bennhuan`: and when asking for docs for CedarX, it's only needed to make the reverse engineerd version better then what it is now, we know pretty much all its secrets
vicenteH has quit [Ping timeout: 272 seconds]
<atsampson> are there any other features we could use more information about (e.g. 2D graphics)?
<bennhuan`> oliv3r: I think it is impossible to get the cedarx docs. Try to get a more stable binary libraries with friendly API will be acceptable for allwinner. And with that libraries, RE will possible move on.
<oliv3r> 2D/disp is pretty well documented for sun5i
<bennhuan`> we need to get as much as possible, and also we need to consider the reality :D
<oliv3r> bennhuan`: well cedarX userspace is GPL infringing, so they are required to release source by law :p
<libv> bennhuan`: i do not know any open questions on display or 2d, but we haven't gotten round yet to fixing those bits up
<enrico_> bennhuan`: maybe ask for a developer contact we can send requests, and make him not trash them?
<oliv3r> bennhuan`: but the binaries luckly won't be needed soon *yay*
<libv> bennhuan`: i know this is impossible to ask, but they should really consider moving away from powervr, and either go mali or vivante for the whole range
<libv> bennhuan`: i do not know the reasons for you guys working on radxa and rockchip, but i could imagine that powervr has something to do with it
<bennhuan`> oliv3r: maybe too optimism. A80 of course will have change to Cedarx
<oliv3r> or adreno! but that's not possible ;)
<bennhuan`> oliver: i mean hardware
<oliv3r> bennhuan`: yeah it'll be cedarX v5 i think
<oliv3r> bennhuan`: but true, better binaries help RE-ing better ;)
<bennhuan`> oliv3r: yep, maybe much more powerful
<oliv3r> if the registers are nearly the same, they can make it more powerfull (quad HD) and still call it 'v5'
<bennhuan`> libv: I am not working on radxa or any other 3188 chip.
<oliv3r> rockchip is much worse then allwinner
<bennhuan`> oliv3r: yep. it's illegal to open the rockchip's source code afaik
<bennhuan`> rockchip will require you to sign NDA :D
<oliv3r> bennhuan`: really? wow, well they did dump some code and did leak the user manual
<oliv3r> but u-boot is completly closed at the moment
<oliv3r> which is illegal and unacceptable ;)
<libv> bennhuan`: ok, but tom is working on it :)
<bennhuan`> oliv3r: actually, cubietech is a design house of rockchip. We can get SDK from rockchip. But we have sign DNA with rockchip, so we cannot public it :D
<bennhuan`> oliv3r: and we even havn't touched the docs they provided :P
<oliv3r> hometime :)
<bennhuan`> enrico_: we have developer contact, but they don't want many people to contact allwinner
<bennhuan`> enrico_: If you want some support, you can email me
<bennhuan`> enrico_: allwinner give cubietech two FAE contact
eebrah has quit [Read error: Connection reset by peer]
<bennhuan`> enrico_: but most of time, I just don't want to bother them
<bennhuan`> libv: yes. I knew but I don't understand
<bennhuan`> libv: 5 month ago, tom told me he want to leave for shenzhen because of his wife, but did not tell me he want to start radxa..
eebrah has joined #linux-sunxi
<bennhuan`> libv: he is still a member of cubietech, but start radxa to kill cubieboard ? I don't understand~and will never understand what is he thinking
nove has joined #linux-sunxi
<enrico_> bennhuan`: ok thanks
<bennhuan`> oliv3r: it's a risk to public the source code
paulk-collins has joined #linux-sunxi
<bennhuan`> oliv3r: and bless rockchip will not charge them. or rockchip think they are too weak to charge :D
rz2k has quit [Remote host closed the connection]
<nove> bennhuan`, ask for vp9, h265, and if allwinner was the first to have a hardware implementation of Daala
<bennhuan`> nove: any others ?
<bennhuan`> nove: I've written down your suggestion :D
<libv> bennhuan`: ouch :(
rellla2 has quit [Quit: Nettalk6 - www.ntalk.de]
<nove> bennhuan`, h264 High 10 Profile (Hi10P), but is too late
<nove> bennhuan`, better to be ready for the new codecs
Sonicadvance1_ is now known as Sonicadvance1
<nove> bennhuan`, if allwinner worked with mozilla and Xiph.Org in Daala codec, to be the ones to do the hardware implementation, and if were open source
<nove> bennhuan`, that that were perfect
<libv> nove: cedarx is a bought core
<bennhuan`> nove: Let me google for Daala, I don't know any about that
eebrah has quit [Read error: Connection reset by peer]
wingrime has joined #linux-sunxi
<nove> libv, it is enough if allwinner has a say for new features
<bennhuan`> nove: what you are suggesting are almost about the new features. I also want to know about the Video Enc/Dec API suggestion..
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
<arete74> bennhuan`: sata PM
iamfrankenstein has quit [Quit: Nettalk6 - www.ntalk.de]
<arete74> for raid NAS server
<bennhuan`> arete74: I have suggested this
<nove> wingrime, ^
hramrach has joined #linux-sunxi
<bennhuan`> arete74: sata 3.0, sata PM, x2 GMAC, sata boot from brom
<bennhuan`> any better linux tools, like livesuit
eebrah has joined #linux-sunxi
<bennhuan`> usb 3.0, 2-4 core cpu(up to 1.2GHz), mali GPU. that is all I have suggested
<enrico_> bennhuan`: more info about omx support (is it true, what are the supported chips, where can we download it...)
<bennhuan`> now they are asking me how they can do better on GPU/Cedarx..
<nove> bennhuan`, for api, allwinner should work with mainline kernel, to define a framework for hardware video encoder/decoder
<nove> bennhuan`, but i am not the right person, to explain this
<ganbold_> bennhuan`: any plan to have board with 2 or more gigabit ethernet?
iamfrankenstein has joined #linux-sunxi
<bennhuan`> ganbold_: we can suggest
<ganbold_> bennhuan`: very few arm boards with even 2 gigabit ethernet
<nove> bennhuan`, for what i know, there is still a void in the linux kernel for this type of hardware
<wens> bennhuan`: best get some info on the gmac version, in-chip connections (clocks)
eebrah has quit [Read error: Connection reset by peer]
<wens> bennhuan`: their gmac seems old, doesn't have hardware id/feature flags
<nove> bennhuan`, but try to push for Daala, if Daala successes vp9 an h264 will have a very short life
<bennhuan`> wens: you mean the gmac IP version ?
<nove> bennhuan`, vp9 and h265, i mean
eebrah has joined #linux-sunxi
<bennhuan`> enrico_: I think I should suggest them to support omx
<bennhuan`> every time I talk to aw to support better for cedarx on linux, they ask me that what API should they support. and I get confused :D
<bennhuan`> I don't know what to say sometimes
tomboy64 has joined #linux-sunxi
tomboy64 has quit [Client Quit]
<nove> bennhuan`, that is one problem in linux, there isn't a good api
<wens> bennhuan`: yes
<wens> bennhuan`: ask them what features the gmac ip supports specifically
* TheSeven still wonders why there is no source code release of the new NAND FTL used on A20
<wens> bennhuan`: synology designware product brief says some features are optional. without hardware feature flags, we can only ask them
wingrime has quit [Ping timeout: 245 seconds]
<wens> torbenh3: i tried setting gmac_clk to 0x5, no luck. i'm out of ideas.
<torbenh3> wens: yeah. i also did that.
<wens> bennhuan`: one more, could you ask about gmac clock in CCU, how gmac generates internal transmit clock
<bennhuan`> wens: the asking mail was sent just now, and cc to you also
<bennhuan`> wens: forget about the NAND source code, aw will not provide. I have confirmed about it
<bennhuan`> wens: I mean aw will not provide new nand source code
<wens> TheSeven: ^
<bennhuan`> time to sleep :)
<wens> bennhuan`: thanks
<wens> bennhuan`: name looks familiar, the name on allwinner gmac drivers
<bennhuan`> wens: yes.
bennhuan` has quit [Remote host closed the connection]
tomee^ has quit [Quit: I Quit.]
<TheSeven> why on earth would they not release a minimally changed, but incompatible driver source? wtf?
<TheSeven> one more reason to not buy allwinner products
lynxis has quit [Quit: beaming to the mars]
lynxis has joined #linux-sunxi
<hramrach> ehlo
<hramrach> torbenh3 wens tried rebasing the gmac changes on top of linus master?
<hramrach> I needed some fixups to build and it still works on cb2 after that
<hramrach> you might want to look at those when making patch cleanup
Quarx has quit [Read error: Connection reset by peer]
Quarx has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
<arokux> TheSeven: do you give up on NAND? :(
Fusing has joined #linux-sunxi
<TheSeven> I'm currently trying to make it work with the blob at least
<TheSeven> but that crashes with weird "software interrupt" exceptions
<hramrach> on what hardware?
<TheSeven> no idea where, it's a blob :/
<TheSeven> olinuxino a20
<arokux> they are idiots
<hramrach> hmm
<hramrach> the blob used to work for me on cubieboard2
FR^2 has quit [Quit: Connection reset by peer]
<hramrach> but never really tried to read it with non-blob kernel
<TheSeven> I'm trying to link the libnand blob from olimex's a20 android source into latest sunxi uboot
<hramrach> ugh
<TheSeven> it worked well with the a10 version that I have source code for
<hramrach> I guess u-boot has somewhat different environment compared to Linux
<hramrach> so there might be a bug lurking that is not triggered on Linux but appears when linked with u-boot
<TheSeven> well it apparently works with the uboot that it ships with
eebrah has joined #linux-sunxi
<hramrach> still sholdn't the linux driver be basically based on libnand?
<arokux> TheSeven: is it sunxi's u-boot?
<TheSeven> but that's a lichee one without SPL support... I guess I could possibly use sunxi for SPL and lichee for the full one
<arokux> hramrach: he is working with u-boot only
<hramrach> you could try linking with the kernel driver that has sources
<arokux> hramrach: have you tried bluetooth with ct?
<TheSeven> hramrach: I haven't found any driver that has sources and is compatible with whatever android uses
<hramrach> arokux: no, I have the board set up to boot mainline kernel from network
<hramrach> did nobody try bt so far?
<arokux> hramrach: everybody that tried reported it as non-working
<hramrach> meh
<arokux> hramrach: wifi works with cubietech's kernel, but it is impossible to cherry pick it....
<hramrach> I think I have a BT headset somewhere so could try with that
<hramrach> yes, tried to import it and it did not work
<hramrach> seems the dhd infrastructure is different or something so merging it would be quite challenging
<arokux> hramrach: not simple importing is a problem. they downgraded a whole drivers/net/wireless/bcmdhd/* with some older version
<arokux> hramrach: they didn't bother to fix the new one...
<hramrach> yes, you could just use that but it does not work with the rest of the kernel
<arokux> hramrach: "that"?
<arokux> hramrach: our current dhd is way newer than that one which they downgraded.
<arokux> hramrach: what other core features of cubietruck remain untested?
<hramrach> battery integration
<hramrach> it has on-board and off-board battery
<arokux> hramrach: on-board - you mean battery for RTC?
<hramrach> yes, there is a small battery behind the RJ45 connector
<hramrach> and battery connector on the bottom
<arokux> hramrach: those batteries are independent, right?
<hramrach> they better should be or bad stuff happens
<hramrach> but can't really tell without looking at schematics
<arokux> hramrach: I just ask for basic understanding
<Turl> mripard: ping
<arokux> hramrach: all in all, they produce shit code that only works.
<arokux> hramrach: porting wifi can be big pain for us.
<hramrach> well, technically you could have the batteries in parallel and hope stuff works out somehow
juan_ has joined #linux-sunxi
<hramrach> but the small one should be for rtc only so it should be separate
<juan_> hi
TomiK has quit [Quit: KVirc a enfin son Script! [AndarisScript 4.3 sur www.andaris.net]]
rz2k has joined #linux-sunxi
<kriegerod> arokux: what Benn tell about bluetooth status? btw do you know if it works with cubietech published images?
<hramrach> arokux: speaking of testing stuff
<arokux> kriegerod: I haven't asked Benn about it and haven't tested it and I do not know if it works.
TomiK has joined #linux-sunxi
<hramrach> I tried to patch USB on top of linus master and besides not working it breaks clocks
<arokux> hramrach: with my patches?
<hramrach> without the USB patches and preceding clock and reset patches I can boot without no_idnore_unused
<hramrach> but not after
<TheSeven> hm... compiling uboot SPL with DEBUG set breaks it... somehow locks up during relocation from what I can tell
<hramrach> this is the stuff I tried
<hramrach> it says the patches are 2 months old
<arokux> this is the last stuff
<arokux> i'm not sure it will merge
<hramrach> it also says it's 2 months old
<hramrach> so I guess I have the same
<arokux> hramrach: no, compare hashes, not datetime
<arokux> hramrach: but again, I do not guarantee it will merge, if you want me to fix it - I will.
<hramrach> the hashes are obviously different since put the patches on top linus master
<arokux> hramrach: oh.. yes, sorry
<arokux> no word about allwinner..
n01 has quit [Ping timeout: 245 seconds]
<hramrach> btw what's stopping us from having mainline u-boot port?
eebrah has quit [Read error: Connection reset by peer]
<arokux> hramrach: hno busyness
<arokux> hm.. sunxi.org is listed here.. shouldn't they have asked/told here about that?
rz2k has quit [Ping timeout: 246 seconds]
<torbenh3> KernelLinux 3.x: SunXI 3.4, upstream Linus tree merge ongoing
<torbenh3> mmmm....
<arokux> :)
<arokux> torbenh3: yeah, you're the part of the last one ;)
<torbenh3> haha
rz2k has joined #linux-sunxi
<maz> hramrach: merging sunxi u-boot into mainline is fairly easy, this is what I'm using at the moment.
<arokux> maz: have you merged it?
<maz> arokux: yes, it's a 10 minute job.
<arokux> maz: maybe you want to help out with it while hno is busy?
<maz> arokux: or at least, it was 10 days ago.
<hramrach> I see that mainline u-boot is merged into sunxi u-boot occasionally so what we have is not obsolete, unlike the 3.4 kernel
eebrah has joined #linux-sunxi
<maz> arokux: I tend to focus on the kernel side of things, and only deal with u-boot because it gets in the way... ;-)
<hramrach> but what I ask is the missing pieces for the sunxi port to be acceptable upstream
<arokux> maz: I see, but you've merged it to u-boot mainline, so that is why i'm asking :p
<maz> arokux: sure. but you do have a maintainer (which is a lot more than most ports can claim), so it's not so bad.
<arokux> maz: hno?
rz2k has quit [Read error: Connection reset by peer]
<maz> arokux: yup.
rz2k has joined #linux-sunxi
pfdm has joined #linux-sunxi
juan_ has quit [Quit: Leaving]
vicenteH has joined #linux-sunxi
<hramrach> the improv looks nice
<arokux> hramrach: this is what MEB is
<hramrach> but being eoma compatible means the features available on the baseboard won't be exciting
tzafrir has quit [Ping timeout: 272 seconds]
<hramrach> and at that price point, meh
pirea has quit [Quit: Leaving]
fredy has quit [Excess Flood]
tomboy65 has quit [Write error: Broken pipe]
fredy has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
Fusing has quit [Ping timeout: 265 seconds]
eebrah has quit [Read error: Connection reset by peer]
Fusing has joined #linux-sunxi
eebrah has joined #linux-sunxi
<kriegerod> anybody knows where to take openmax libs for a20 (i.e. for cubietruck)? Is it usable currently at all?
eebrah_ has joined #linux-sunxi
eebrah has quit [Ping timeout: 272 seconds]
<TomiK> ok I think it's BROM problem
eebrah_ has quit [Read error: Connection reset by peer]
<Turl> kriegerod: look in the android sdk they provide around on hardware/aw/
<TomiK> with my dummy bootloader, when I add the bilnk function, I doesn't boot, when I remove it, it boots
<TomiK> *blink
<Turl> TomiK: do you write to any register on blink function?
<TomiK> I think, it's must blink the TX line which is connected to my fdti
<TomiK> but as PIN not as data transfert
eebrah has joined #linux-sunxi
n01_ has joined #linux-sunxi
n01 has joined #linux-sunxi
<Turl> TomiK: I ask because some cpu stall if you write to register of some component which is unclocked
<Turl> sun4i+ don't, but maybe sun3i did
<TomiK> ok, I called this blink function as very first in s_init, and after clock and gpio init, and nothing append
<Turl> did you configure mux for gpio out?
Gerwin_J has joined #linux-sunxi
<TomiK> the blink funtion calls gpio_direction_output and sunxi_gpio_set_cfgpin when starting
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Read error: Connection reset by peer]
fredy has quit [Excess Flood]
fredy has joined #linux-sunxi
eebrah has joined #linux-sunxi
rz2k has quit []
geecko has quit [Quit: Quitte]
<mripard> Turl: pong
<WarheadsSE> arokux: whats that
<Turl> mripard: hi
<arokux> WarheadsSE: improv?
<WarheadsSE> SoC
<arokux> WarheadsSE: what?
<WarheadsSE> almost sounds like the A20 EOMA I've seen discusses
<arokux> WarheadsSE: and it is it...
<arokux> :)
<WarheadsSE> fun
<arokux> i'm not affiliated with them
<arokux> :)
<WarheadsSE> no biggy, wasn't aware of this
<arokux> WarheadsSE: was just posted today
<Turl> mripard: I was thinking about the extra sata gate
<mripard> Turl: yeah, me too :)
<Turl> mripard: I was thinking of converting it to a factor
<mripard> so you'd have to separate pll6 clocks?
<mripard> I was rather thinking of adding a simple gate clock that would have <&pll6 1> and that's it
Quarx has quit [Read error: Connection reset by peer]
fredy has quit [Excess Flood]
<Turl> mripard: no, I mean the pll6_sata divisor
<Turl> currently it's a table divisor
fredy has joined #linux-sunxi
<mripard> and what's the difference with a factor?
<Turl> the extra division is kind of annoying though
<Turl> mripard: factors get embedded with gates easily :)
<mripard> ok :)
<lkcl> http://eoma68-a20.qimod.com/improv.html - EOMA68-A20 and Improv Engineering board now available for sale. please distribute widely
<Turl> mripard: the extra /6 kind of kills us there though :/
<mripard> if it pauses a problem, why don't we just add an extra gate clock just for sata then ? :)
<Turl> mripard: because it doesn't look neat :p
<Turl> I'll think about it some more, there must be an elegant solution :)
<maz> mripard: finally got the u-boot relocation to behave. looks neat so far...
Fusing2 has joined #linux-sunxi
Fusing has quit [Ping timeout: 265 seconds]
nove has quit [Quit: nove]
<mripard> Turl: we have that construct pretty much everywhere already
<mripard> we do separate the actual clocks and the gates everywhere else, why not here
<mripard> maz: cool :)
shineworld has joined #linux-sunxi
<Turl> mripard: but those are on different registers
<mripard> don't we have any clocks that share the same register?
<mripard> I thought we did
<Turl> mripard: not on X and X_gates kind of deal that I recall
eebrah has quit [Quit: Lost terminal]
JohnDoe_71Rus has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<hramrach> where is the latest clock code?
<hramrach> I have some clock patches packed with usb and ahci and they do break stuff
<hramrach> maybe there is a newer version?
<Turl> hramrach: I pushed a fresh rebased set earlier today
<Turl> hramrach: check sunxi-clk branch on my bitbucket
<Turl> brb
<hramrach> arokux: the bt on the original android can see my phone so it does something
AreaScout has quit [Ping timeout: 240 seconds]
wingrime has joined #linux-sunxi
tinti has joined #linux-sunxi
n01_ has quit [Write error: Connection reset by peer]
n01 has quit [Read error: Connection reset by peer]
tinti has quit [Changing host]
tinti has joined #linux-sunxi
n01 has joined #linux-sunxi
n01_ has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
Fusing2 has quit [Quit: Nettalk6 - www.ntalk.de]
Fusing has joined #linux-sunxi
ZetaNeta has quit [Ping timeout: 272 seconds]
<TheSeven> looks like my uboot is mostly working...
maz_ has joined #linux-sunxi
Fusing has quit [Quit: Nettalk6 - www.ntalk.de]
<hramrach> cool
<hramrach> how did you get to nand?
<libv> are we able to run wayland against our mali binaries today?
tomboy65 has quit [Ping timeout: 240 seconds]
<hramrach> I suspect nobody cares enough about wayland to try
<hramrach> how do you even run that thing?
<TheSeven> hramrach: the blob seems to be mostly working inside sunxi uboot
<TheSeven> oddly enough the blob didn't quite match my on-flash format either, so even that blob can't quite be the source of whatever binary image olimex released
tzafrir has joined #linux-sunxi
<hramrach> there are two nand image formats
<TheSeven> but as there seemed to be only a difference with the partition table, this was somewhat easy to fix
<hramrach> the sun4i and the sun6i
<TheSeven> the code in question was simple enough to just adapt from the sun4i variant and replace the object code inside the blob for that module
<hramrach> not sure if there is difference in anything but partition table
<TheSeven> the log block table structure has changed as well, that was what I ran into yesterday
<TheSeven> the binary image uses 24 byte table entries (not quite sure what the contents are), while the open source sun4i driver uses 8 byte entries
<hramrach> why does u-boot not patch my MAC address?
<libv> wouldn't the improv community be the linux-sunxi community, or am i missing something?
<Turl> libv: ask lkcl :)
<Turl> hramrach: uboot->what?
<libv> i see community mentioned quite a lot, but for some reason we are not mentioned
<lkcl> libv: que?
<lkcl> Turl: que?
<libv> sure, we started life hanging around in #arm-netbook
<Turl> libv: we're mentioned somewhere, I saw a link to linux-sunxi
<libv> but we grew out of that into something wider
<libv> Turl: not on http://aseigo.blogspot.de/2013/11/introducing-improv.html where a lot of talk about community seems to happen
<lkcl> libv: i'm not directly involved. qimod is a supplier to makeplaylive of one component.
<lkcl> libv: yehh, they're setting up a suite of forums etc. etc. - completely different focus
<TheSeven> what is responsible for loading script.bin? I guess it's boot1?
<lkcl> more like the raspberrypi forums etc. etc.
<lkcl> libv: loots of end-user-style questions.... :)
<lkcl> mmm, myy faavourite... :)
<hramrach> Turl: wrong alias. ethernet0 = &emac;
wingrime has quit [Ping timeout: 248 seconds]
<Turl> TheSeven: u-boot usually
<Turl> hramrach: looks fine to me
<hramrach> there should be a g
<TheSeven> hm, lichee uboot requires it to be in memory already, it gathers some information that it needs for the nand driver from it
<Turl> hramrach: gmac is not supported, only emac so far
<Turl> hramrach: when we gain that support you can override the alias on the boards using gmac
<hramrach> which is every board so far
<Turl> hramrach: there's like.. 2 a20 boards, and one uses emac :p
<TheSeven> how does the control flow when using a uboot spl look like?
<hramrach> not 100% sure about olinuxino
<Turl> 3, forgot the olinuxino
<TheSeven> and is there anything really preventing that from working from nand?
<hramrach> Turl: thete is olinuxino, cb2, ct
<TomiK> have a good night :)
TomiK has quit [Quit: KVirc a enfin son Script! [AndarisScript 4.3 sur www.andaris.net]]
<Turl> hramrach: olinuxino and cb2 are using emac currently
<hramrach> cb2 can use either and ct requires gmac
<libv> lkcl: anyway, nice to see an eoma-68 device up for sale
<mripard> are we seriously arguing about the index of an alias?
<Turl> hramrach: right, but there's no gmac support on linux
<Turl> hramrach: you cannot alias something that doesn't exist
<lkcl> libv: yaaay!
<Turl> mripard: :)
<hramrach> it does?
<Turl> pretty hidden
<libv> basyskom is one of the partners?
<libv> hahaha :)
<Turl> hramrach: I don't see any gmac dt nodes on torvalds/master
<Turl> hramrach: when gmac support is in place and the majority of boards can use it, we can switch the default alias if you want :)
<lkcl> Turl: it's just beginning - they'll get there
<libv> eva didn't want me and my then nokia money 3 years ago, and the other guy, mdfe ran off to open-exchange a year ago.
<libv> hrm, openslx, didn't think that that was still alive now that swerden is doing nfc thingies
<mripard> Turl: I wouldn't like it too much
<libv> pretty shaky "partners" imho
<mripard> Turl: you have those pll5/6 and mod clocks rebased?
<Turl> libv: is improv is a play on words with improve?
<Turl> mripard: yes, I pushed it earlier today to my repo
<libv> Turl: i tend to pair this abbreviation with the word theater
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<mripard> Turl: cool :)
<Turl> mripard: are you going to work on something? :)
<mripard> like I'm not working on anything
<mripard> :)
<mripard> but I should have the sending part of SPI ready
<mripard> I just need the clocks now :)
<mripard> in order to test it
<Turl> mripard: :p
<Turl> mripard: :D
zeRez has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
naobsd has quit [Quit: Page closed]
rellla3 has joined #linux-sunxi
adb has quit [Ping timeout: 252 seconds]
rellla3 has quit [Quit: Nettalk6 - www.ntalk.de]
ZetaNeta has joined #linux-sunxi
fredy has quit [Excess Flood]
LoCoZeNoz_ZUE has joined #linux-sunxi
fredy has joined #linux-sunxi
paulk-collins has quit [Remote host closed the connection]
maz_ has quit [Ping timeout: 245 seconds]
<hramrach> Turl: the clocks are still broken. I get division by 0 in drivers/clk/sunxi/clk-sunxi.c:791 sunxi_gates_clk_setup
<Turl> hramrach: paste the full trace somewhere please
<hramrach> ok
<Turl> and what hw is this on btw? a20?
<hramrach> a20
shineworld has quit [Quit: Leaving]
n01 has quit [Ping timeout: 245 seconds]
<hramrach> maybe I Should investigate if this was introduced with some patches after the clk ones
n01_ has quit [Ping timeout: 264 seconds]
<hramrach> actually, the 0 is in different blacktrace it seems but you can see
<hramrach> maybe related to /cpus/cpu@0 missing clock-frequency property ?
<Turl> no, that's not related
<Turl> the line numbers don't match with my tree either
<Turl> hramrach: can you git diff mytree/sunxi-clk..HEAD drivers/clk/sunxi ?
arokux2 has joined #linux-sunxi
<hramrach> I will try with a tree nearer clk
<Turl> even if you're on 3.12 the diff should be rather small, mike hasn't merged anything on it for a while
<hramrach> it's only broken with additional stuff
<Turl> the huge warnings are there because the gate registration is failing
<Turl> hramrach: do you have your tree online somewhere?
naobsd has joined #linux-sunxi
<hramrach> namely ahci stuff
<hramrach> I can push it
<Turl> ok
<hramrach> https://github.com/hramrach/linux-sunxi/ it breaks from linux-next-usb to linux-next-usb-ahci
<hramrach> the drivers still don't work so no need to be too upset about that
<hramrach> that's the oliv3r's branch that fails to register the ahci driver due to sysfs file duplicates
<arokux2> ideas?
<arokux2> this is cubietechs kernel with ArchLinux rootfs
TomiK has joined #linux-sunxi
<arokux2> down the road you can see: Unable to handle kernel paging request at virtual address c046ecac
<hramrach> actually there is some merge blunder with usb clocks
<hramrach> arokux2: what does Mounting Temporary Directory... do?
<hramrach> it can possibly allocate more memory than you have
<arokux2> hramrach: if you want me to fix usb, then say so, it is not up-to-date probably
<arokux2> hramrach: that's on cubietruck there are 2GiB..
Gerwin_J has joined #linux-sunxi
<Turl> arokux2: toolchain maybe? long shot
<hramrach> arokux2: it does not init for me. it complains about invalid resource and I have no idea what that means
<Turl> hramrach: changing that mask without adjusting the dt is trouble
<hramrach> yes, see that in local diff too
<arokux2> that should be gmac, right?
<Turl> arokux2: there was someone with a similar trace on the list I think
<arokux2> Turl: oh
<hramrach> that mask should have not changed
<arokux2> Turl: nope
<arokux2> hramrach: what does not init for you?
<hramrach> sunxi ehci driver
<hno> arokux, maz, oliv3r, and others interested in u-boot. I just pushed updated u-boot sources. Please test & verify. Have only run basic compiletest here.
<Turl> arokux2: I cannot find it now but I'm pretty sure I saw it somewhere :/
<hramrach> arokux2: http://sprunge.us/YhZO
<arokux2> sunxi-ahci: probe of ahci failed with error -17
<hramrach> sunxi-ehci 1c14000.ehci0: invalid resource type
<arokux2> hramrach: then device tree is fucked up
<arokux2> hramrach: what do you want to achieve?
<hramrach> run usb with recent mainline kernel
<TheSeven> wow, livesuite is much more of a crazy mess than I had anticipated
<arokux2> TheSeven: everything is mess in this world brother
<TheSeven> not *that* bad of a mess
<arokux2> hramrach: just for the sake of it?
<arokux2> TheSeven: "this world" == allwinner
<TheSeven> seriously, most of the other mess looks rather clean if you compare it with livesuit
<TheSeven> how many different components are involved with that?
<arokux2> TheSeven: we here do not touch NAND at all.
<hramrach> arokux2: could be useful to have multiple drivers working on the same kernel
<TheSeven> getting at the partition contents is easy - packaging them into a livesuit image isn't
<hno> there. now actuall pushed.
<arokux2> hno: you're returning back to sunxi?
<hno> arokux2, always been lurking here...
<arokux2> hramrach: so you want my patches cleanly apply 3.13?
<hramrach> arokux2: but I can wait until you get to rebasing it yourself knowing what you are doing I guess :)
<arokux2> hramrach: yeah, give me several days.
<arokux2> hramrach: I'd like to try bluetooth now, but I need *my* distro running
<hno> and updating u-boot is a very low hanging fruit that I can do.
<hramrach> arokux2: or maybe on top of Turl's current clk branch
<arokux2> hno: then do it!
<arokux2> :)
<hno> it's done.
<hramrach> because you have some clock patches in the usb stuff too
<arokux2> hramrach: yes...
<arokux2> hno: pushed to mainline? :p
<hno> no, merged mainline to ours..
Black_Horseman has quit [Quit: Αποχώρησε]
<arokux2> hno: :p
<hno> Need to find some time to update our patch queue.
<Turl> hno: I have some small uboot patches to raise mbus to 400mhz on some sun7i
<hramrach> iirc 400MHz is not stable
<hramrach> there was some discussion about that
fredy has quit [Remote host closed the connection]
Black_Horseman has joined #linux-sunxi
naobsd has quit [Quit: Page closed]
<hramrach> or rather nobody has really tested yet
<hramrach> the thread is [linux-sunxi] DRAM controller performance in Allwinner A20
<hno> Turl, needs positive review on ML. With that oliv3r is authorized to commit.
fredy has joined #linux-sunxi
<Turl> hno: I'll get them sent soon
<hramrach> can you like make it configurable by an env var or something?
<Turl> hramrach: aw confirmed it's stable with a small voltage bump
<hramrach> cool
<Turl> hramrach: and cubietech tested 50 cb2 units with no issues
<Turl> but yeah, I implemented it with a boards.cfg flag
<Turl> hramrach: they're on my uboot repo on bitbucket if you want to use them
ganbold_ has quit [Remote host closed the connection]
<hramrach> make sure you mention the sources because somebody might want to know why the baord started crashing with new version of u-boot ;-)
<on1x> question: is cedarx already working for A20?
<hramrach> wow, my u-boot is so patched already
<hramrach> btw there is some work upstream to make the u-boot dw driver work with cache enabled
<hramrach> but there are .. issues
Turl has quit [Ping timeout: 252 seconds]
tomboy64 has joined #linux-sunxi
Turl has joined #linux-sunxi
enrico_ has quit [Quit: Bye]
<hramrach> actually, I think I have some result
<hramrach> I connected CT to a gbit switch and it boots iirc
<hramrach> or did I boot from a different card?
<hramrach> no, it negotiates 100MBit @ GBit and fails
_whitelogger_ has joined #linux-sunxi
Nyuutwo has quit [Quit: No Ping reply in 180 seconds.]
_whitelogger has quit [Read error: Connection reset by peer]
Turl has quit [Ping timeout: 252 seconds]
Nyuutwo has joined #linux-sunxi
montjoie[home] has quit [Ping timeout: 251 seconds]
Turl has joined #linux-sunxi
montjoie[home] has joined #linux-sunxi
<arokux2> Turl: ^
<arokux2> kriegerod: there?
tomboy64 has quit [Ping timeout: 240 seconds]
<Turl> arokux2: hm?
<Turl> arokux2: ah, yeah, that one :)
<arokux2> Turl: :D
<arokux2> Turl: here ppl say it is gcc
<arokux2> but i'm using 4.7.2...
<Turl> arokux2: can't hurt to try sth earlier
<hramrach> gcc (Debian 4.7.2-5) 4.7.2 here
<hramrach> and no such problem
Turl has quit [Ping timeout: 252 seconds]
<arokux2> hramrach: have you rebuilt cubietech's kernel?