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
akaizen has quit [Remote host closed the connection]
bonbons has quit [Quit: Leaving]
arete74 has quit [Ping timeout: 264 seconds]
arete74 has joined #linux-sunxi
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
smotocel69_ has joined #linux-sunxi
pirea has quit [Ping timeout: 240 seconds]
xinj has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
FR^2 has quit [Ping timeout: 255 seconds]
geecko has quit [Quit: bye bye]
sabayonuser has joined #linux-sunxi
sap has quit [Ping timeout: 268 seconds]
FR^2 has joined #linux-sunxi
xinj has quit [Read error: Connection reset by peer]
pseudomind_ has joined #linux-sunxi
xinj has joined #linux-sunxi
pseudomind_ has quit [Quit: pseudomind_]
TheSeven has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
pseudomind_ has joined #linux-sunxi
rz2k has quit [Read error: Connection reset by peer]
<wens> Turl: hmm, first GPIO user of AXP?
pseudomind_ has quit [Quit: pseudomind_]
Xaros has quit [Quit: Zwi se logou mou!!!]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
xinj has quit [Quit: xinj]
deffrag has joined #linux-sunxi
arky has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 240 seconds]
arky has quit [Ping timeout: 255 seconds]
Fusing has joined #linux-sunxi
cajg has quit [Ping timeout: 240 seconds]
netlynx has joined #linux-sunxi
cajg has joined #linux-sunxi
Fusing has quit [Read error: Connection reset by peer]
bbrezillon has joined #linux-sunxi
srxa has joined #linux-sunxi
_massi_ has joined #linux-sunxi
bonbons has joined #linux-sunxi
bertrik has joined #linux-sunxi
bertrik has quit [Changing host]
bertrik has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
sehraf has joined #linux-sunxi
megal0maniac_afk is now known as megal0maniac
FR^2 has quit [Quit: Leaving]
<megal0maniac> Well, this looks terribly promising: http://www.cubieforums.com/index.php?topic=568.0
<megal0maniac> One of the options: CUBIEBOARD 2 ONLY NAND VERSION (dd it, NOT phoenix suit)
<megal0maniac> I can dd. I can't phoenix suit. Feeling positive. Now I just need to wait 5 hours for it to download
jemk has joined #linux-sunxi
Fusing has joined #linux-sunxi
_massi_ has quit [Quit: Leaving]
<bertrik> is there a nice overview somewhere of the addresses of memory-mapped IO on A31?
pirea has joined #linux-sunxi
<pirea> hi
nicksydney has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc Insomnia 4.0.2, revision: 402, sources date: 20100627, built on: 2010-08-02 17:44:33 UTC 402 http://www.kvirc.net/]
srxa has quit [Remote host closed the connection]
srxa has joined #linux-sunxi
<bertrik> for example, is there some piece of hardware at address 0x1c20000 ?
geecko has joined #linux-sunxi
<jemk> bertrik: I don't think we have a manual for a31, so the only documentation for this are kernel header files
<bertrik> jemk: thanks!
leviathanch has quit [Remote host closed the connection]
<bertrik> jemk: I'm asking because I'm looking into reverse engineering boot0 of the A31
<bertrik> specifically the DRAM initialisation
paulk-aldrin has quit [Quit: Ex-Chat]
leviathanch has joined #linux-sunxi
FreezingCold has quit [Quit: Out]
FreezingCold has joined #linux-sunxi
deffrag_ has joined #linux-sunxi
deffrag has quit [Ping timeout: 252 seconds]
pseudomind_ has joined #linux-sunxi
<pirea> i know to read assembly
<pirea> but i undersatand nothing from that code
<pirea> :|
<pirea> jemk brom can be rewrithed?
<specing> it means you can't read assembly
<pirea> specing i understand what do that instructions
<mru> reading assembly usually isn't that hard
<mru> unless its ia64
pseudomind_ has quit [Client Quit]
<mru> that's impossible to understand
<pirea> but nothing more
<pirea> because i don't know what data is at some adresses
<mru> figuring that out is what reverse engineering means
<bertrik> pirea: as far as I understand, BROM can't be rewritten, it's hardcoded into the SoC, boot0 and boot1 are on the sd card and we can write an alternative implementation of it.
<pirea> if we can rewrite brom we can use mbr on nand
<bertrik> The thing I'm investigating now is to figure out DRAM initialisation, so eventually we can have an open-source boot0, skip boot1, and load and start u-boot from boot0
<megal0maniac> bertrik: Maybe check out #linux-sunxi as well?
<megal0maniac> Oh lol
* megal0maniac thought he was in #cubieboard, for some reason. Ignore me
<jemk> bertrik: have a look at rockchip rk30xx manual, as far as i know they use the same dram controller as in a31
pirea has quit [Remote host closed the connection]
megal0maniac is now known as megal0maniac_afk
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
<lauri> Good morning guys
<lauri> Does anyone of you know the power supply voltage tolerance for A20 off the top of your head?
<mru> probably varies by rail
<megal0maniac_afk> lauri: http://ubuntuone.com/46t5oFNpITlmOAOkLxENtf page 30
<megal0maniac_afk> Interestingly, ratings for PLL and RTC have both min and max at 3.0V. No tolerance whatsoever
<lauri> so A20 runs at 3.3V
<lauri> 5V is converted to 3.3V using on-board step-down converter right?
<lauri> so even if 5V is actually 4.89V it's okay since it's stabilized in the 3.3V step?
<megal0maniac_afk> lauri: I think there's typically a 3v3 regulator
<lauri> today it just randomly crashed with purple screen :/
<megal0maniac_afk> afaik, only 3v3 and lower is used by the A20 itself. 5V will feed the regulator and things like USB
<megal0maniac_afk> To fluctuations in 5V shouldn't matter too much for the processor, provided you're within the ratings of the regulator and you have necessary filtering (usually just taken straight from the datasheet)
<megal0maniac_afk> *So
<nedko> A20 is used with a power chip that is designed for it
<megal0maniac_afk> Yeah, the AXP. But that's fed by the 3v3 which is up to the board to provide
<nedko> axp209
<nedko> hmm
<mru> not to be confused with the DEC Alpha AXP :)
<nedko> accroding to my board schematic, axp209 is fed with 5V
<nedko> which are provided by MP1482DS
<nedko> which is fed with 6-16VDC
<megal0maniac_afk> Ah, I might be mistaken
deasy has joined #linux-sunxi
<megal0maniac_afk> Okay yes, it seems that ACIN on the AXP is 5V. But the A20 itself only uses 3v3 and below
geecko has quit [Ping timeout: 268 seconds]
<jemk> oh my, we are blind...
<jemk> dram controller is from synopsys designware
<bertrik> jemk: nice find :)
<jemk> bertrik: the a10/20 one, don't know about a31
<bertrik> oh ..
<jemk> but its likely the a31 one is from them too
Black_Horseman has quit [Ping timeout: 240 seconds]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has quit [Changing host]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<ssvb> lauri: about "today it just randomly crashed with purple screen :/", has this happened with overclocked dram?
<ssvb> jemk: yes, indeed :) does synopsys designware provide any documentation for their dram controllers?
<jemk> ssvb: i don't think they provide any information to non-customers
<mru> so find another customer willing to leak the info
xinj has joined #linux-sunxi
Fusing has quit [Quit: Nettalk6 - www.ntalk.de]
Black_Horseman has quit [Quit: Αποχώρησε]
leviathanch2 has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 245 seconds]
FreezingCold has quit [Ping timeout: 268 seconds]
<ssvb> jemk: anyway, they offer a lot of various documentation at http://www.synopsys.com/IP/InterfaceIP/DDRn/Pages/default.aspx
<ssvb> jemk: only registration is needed, I wonder if someone@linux-sunxi.org would work as a "business e-mail" :)
<jemk> ssvb: the "datasheets" are only some pages describing the features, what one needs are the databooks. and those are only available to customers
geecko has joined #linux-sunxi
<ssvb> jemk: they have links to "databooks" too, a few click away from there
<lauri> ssvb: DRAM was at 480MHz
bbrezillon has quit [Ping timeout: 268 seconds]
<ssvb> lauri: not every Cubietruck is stable and problem free when DRAM is clocked at 480MHz
<lauri> ssvb: Yeah I got that :)
<ssvb> lauri: you can try https://github.com/ssvb/lima-memtester/ to run some basic memory stability test
<ssvb> jemk: also pinged Tsvetan at #olimex (if there is any chance that they might be eligible for getting access to the synopsys documentation)
<lauri> ssvb: Okay it crashed again now :/
<ssvb> lauri: what has crashed?
<lauri> ssvb: The whole machine hangs, I'll run the test but until then I'll attempt clocking down by 24MHz
<ssvb> lauri: if the system freezes during running lima-memtester, then it's likely that dcdc3 voltage is too low - https://www.mail-archive.com/linux-sunxi@googlegroups.com/msg03510.html
Fusing has joined #linux-sunxi
<lauri> ssvb: now it's at 456MHz, let's see what happens..
mmarker has quit [Remote host closed the connection]
<lauri> btw, shouldn't a10-meminfo be renamed to something like sunxi-meminfo? The name is misleading for A20 user..
<mnemoc> lauri: can you submit it to sunxi-tools?
mmarker has joined #linux-sunxi
<lauri> submit exactly what?
<lauri> meminfo project is owned by maxnet?
<mnemoc> a10-meminfo.c ... renamed
mmarker has left #linux-sunxi [#linux-sunxi]
<mnemoc> i assume he used a GPL2 compatible license
<mnemoc> as it's no longer maintained it seems like a good idea to adopt it
<jelly-home> in a totally unrelated note... how would I pronounce "sunxi"?
<mnemoc> I used to pronounce it sun-cha-i ... but oliv3r used somethine like sun-xi/sun-tzi in his fosdem talk. since then I switched to his pronounciation
<mnemoc> http://chinesepod.com/tools/pronunciation/section/10 says "xi" sounds like "shi"
<rm> it's not a chinese word
<mnemoc> sun-X-i
<rm> yep, "x" just stands for a number
<mnemoc> when I asked tom he said they pronounce the sun and i in english, and the X in chinese
<mnemoc> but sun-xi is indeed simpler
<jelly-home> mnemoc: as in sunshee or sunshy?
<mnemoc> oliv3r and libv used something like sun-si
<mnemoc> in fosdem
<jelly-home> works for me, thanks
ganbold_ has quit [Ping timeout: 240 seconds]
<mnemoc> making it sound as sun-tzi (mimicing sun-tze from the art of war) is kind of nice too
<mnemoc> sun-tzu
xinj has quit [Quit: xinj]
xinj has joined #linux-sunxi
<nedko> i pronounce it soon-ksi :)
<wens> sunXi, X replaced with [3-8]
ganbold_ has joined #linux-sunxi
<wens> Allwinner people would pronounce it as sun-cha-i (cha means cross in Chinese)
* mnemoc was right! \o/
<mnemoc> wens: so you pronounce arch arm mach dash sun cha i ?
<mnemoc> oliv3r's arch arm mach sun si .... even if wrong, it's easier :p
<wens> mnemoc: I speak English :p
<mnemoc> ^^
<mnemoc> so sun cross i ?
<mnemoc> or sun x i ?
<wens> sunxi is easier
<mnemoc> like sun-she ?
<wens> sun-si
<mnemoc> ok, so just like oliv3r and libv
<mnemoc> it seems there is agreement :)
<wens> :)
* jelly-home is glad to have brought up this Important Stuff question
<mnemoc> jelly-home: the "how do you pronounce your name" is always an important question
<wens> someone should put it on the wiki
<jelly-home> I kind of like the sun-cha-i approach mostly because it reminds me of a 90s tune, Sunchyme by Dario G
<libv> megal0maniac_afk: no.
<libv> megal0maniac_afk: you cannot dd
<libv> for the _third_ time.
<libv> libnand does not give you access to the boot0 area of the nand.
<libv> i tend to pronounce it sun-ksi
TomiK has joined #linux-sunxi
TomiK has quit [Client Quit]
TomiK has joined #linux-sunxi
TomiK has quit [Client Quit]
jemk has quit [Read error: Operation timed out]
xinj has quit [Ping timeout: 255 seconds]
<ccaione> mripard: ping
<mnemoc> ccaione: hi, how long does it normally take to get an electronic id card in a city like milano?
* mnemoc is registered in rome, but everything takes ages there
arky has joined #linux-sunxi
<ccaione> mnemoc: usually in milan things are faster than in rome, but still no idea. If you want I can try to give the office a call to ask
<mnemoc> no rush :)
<mnemoc> (thanks)
<ccaione> np :)
<mru> in sweden it takes about one week
<mnemoc> both of my grandmothers were from the north of italy, but the male line rules.... and that one (a pellegrini) came from rome :\
arky has quit [Quit: Leaving]
<mnemoc> when I asked for a marriage certificate they gave me a fotocopied form handwritten :|
<megal0maniac_afk> libv: Does boot0/1 not chainload whatever is on the accessible part of NAND?
<libv> megal0maniac_afk: what stops it from chainloading what you have can build with our nand howto?
<megal0maniac_afk> libv: The fact that the images I have are meant to be loaded with phoenixsuit and aren't built in the same way?
<libv> let me guess, you haven't tried that, and you are only considering images, preferably ones where you just have to run one command and all will be well
leviathanch has quit [Read error: Connection reset by peer]
<libv> megal0maniac_afk: i still maintain that you should take your livesuit image issue back to inet
imcsk8 has joined #linux-sunxi
<megal0maniac_afk> libv: I have
<megal0maniac_afk> But this looks promising, and can't do any more damage than what has already been done
<megal0maniac_afk> The device still boots from NAND. I don't know what exactly is intact because I don't completely understand how it works yet, but it isn't trashed
<megal0maniac_afk> So if boot1 (which I think is the stage where it stops) finds what its looking for on the accessible part of the NAND, then this might work
<megal0maniac_afk> Well it _will_ work. It's just a question of whether this image has what it wants
<libv> well, wait and see
leviathanch has joined #linux-sunxi
<megal0maniac_afk> I shall :)
<megal0maniac_afk> Unfortunately my internet is painfully slow, so it will be a few hours
<megal0maniac_afk> Interestingly, according to the schematic, N_OE and PWRON on the axp209 are brought out to pushbuttons. Why would they do this?
rz2k has joined #linux-sunxi
<ccaione> megal0maniac_afk: to have a power button?
<megal0maniac_afk> ccaione: But N_OE?
<megal0maniac_afk> I'm guessing that's like a hard-reset?
<ccaione> megal0maniac_afk: which board? on cb1/2 N_OE is GND
<ccaione> anyway it is used to power on the AXP when you have battery
<megal0maniac_afk> Here's the section: http://i.imgur.com/MvQEq3h.png
<megal0maniac_afk> Okay, that makes sense. They're both labelled as PWRON in the schematic
deasy has joined #linux-sunxi
netlynx has quit [Quit: Leaving]
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
bbrezillon has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 252 seconds]
deffrag__ has joined #linux-sunxi
tomboy65 has joined #linux-sunxi
Fusing has quit [Ping timeout: 240 seconds]
deffrag_ has quit [Ping timeout: 255 seconds]
Fusing has joined #linux-sunxi
deasy has joined #linux-sunxi
<ssvb> lauri: is 456MHz dram clock working more reliable now?
physis has joined #linux-sunxi
wickwire has joined #linux-sunxi
<physis> juanfont: thank you guys. The patch you tell me to apply in cedar_dev driver works like a charm :) Video is working good inside XBMC. Now I will try to fix audio, thanks ;-)
srxa has quit [Read error: Connection reset by peer]
wickwire has quit [Ping timeout: 255 seconds]
srxa_ has joined #linux-sunxi
wickwire has joined #linux-sunxi
wickwire has quit [Ping timeout: 246 seconds]
wickwire has joined #linux-sunxi
wickwire has quit [Read error: Connection reset by peer]
bgal has joined #linux-sunxi
wickwire has joined #linux-sunxi
rzk has joined #linux-sunxi
ganbold__ has joined #linux-sunxi
zumbi_ has joined #linux-sunxi
npcomp_ has joined #linux-sunxi
itdanihe1 has joined #linux-sunxi
mdp- has joined #linux-sunxi
xnxs has joined #linux-sunxi
tgaz_ has joined #linux-sunxi
bgal has quit [*.net *.split]
lkcl has quit [*.net *.split]
andoma has quit [*.net *.split]
indy has quit [*.net *.split]
mdp has quit [*.net *.split]
xenoxaos has quit [*.net *.split]
tgaz has quit [*.net *.split]
itdaniher has quit [*.net *.split]
rz2k has quit [*.net *.split]
imcsk8 has quit [*.net *.split]
ganbold_ has quit [*.net *.split]
setkeh1 has quit [*.net *.split]
smotocel69_ has quit [*.net *.split]
mkutsevol has quit [*.net *.split]
zumbi has quit [*.net *.split]
FDCX has quit [*.net *.split]
ganbold has quit [*.net *.split]
npcomp has quit [*.net *.split]
tgaz_ is now known as tgaz
xnxs is now known as xenoxaos
xenoxaos has quit [Excess Flood]
setkeh- has joined #linux-sunxi
andoma has joined #linux-sunxi
indy_ has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
xenoxaos has quit [Excess Flood]
srxa_ has quit [Ping timeout: 255 seconds]
lkcl has joined #linux-sunxi
smotocel69_ has joined #linux-sunxi
bgal has joined #linux-sunxi
xenoxaos has joined #linux-sunxi
FDCX has joined #linux-sunxi
sabayonuser has quit [Quit: Konversation terminated!]
sabayonuser has joined #linux-sunxi
Seppoz has joined #linux-sunxi
xenoxaos has quit [Ping timeout: 240 seconds]
smotocel69_ has quit [Ping timeout: 268 seconds]
Fusing has quit [Quit: Nettalk6 - www.ntalk.de]
xenoxaos has joined #linux-sunxi
xenoxaos has quit [Excess Flood]
xenoxaos has joined #linux-sunxi
smotocel69_ has joined #linux-sunxi
FDCX has quit [Remote host closed the connection]
FDCX has joined #linux-sunxi
bonbons has quit [Quit: Leaving]
Black_Horseman has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
bertrik has quit [Ping timeout: 245 seconds]
bgal has quit [Ping timeout: 255 seconds]
geecko has quit [Remote host closed the connection]
rzk has quit []
ganbold__ has quit [Remote host closed the connection]
wickwire has quit [Remote host closed the connection]
FDCX has quit [Read error: Operation timed out]
FDCX has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
kurguzov has joined #linux-sunxi