mnemoc changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait! - https://github.com/linux-sunxi/ - Logs at http://irclog.whitequark.org/linux-sunxi
popolon has quit [Quit: WeeChat 1.1]
\\Mr_C\\ has quit [Quit: .]
trollinger has quit [Quit: Reicht jetzt erst mal.]
\\Mr_C\\ has joined #linux-sunxi
ninolein_ has quit [Ping timeout: 252 seconds]
ninolein has joined #linux-sunxi
naobsd has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
ricardocrudo has quit [Ping timeout: 264 seconds]
naobsd has joined #linux-sunxi
uwe_ has quit [Ping timeout: 252 seconds]
cnxsoft has joined #linux-sunxi
kurain has joined #linux-sunxi
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
\\Mr_C\\ has quit [Quit: .]
\\Mr_C\\ has joined #linux-sunxi
uwe_ has joined #linux-sunxi
phh has joined #linux-sunxi
phh has quit [Client Quit]
phh has joined #linux-sunxi
vpeter has quit [Remote host closed the connection]
mnemoc has joined #linux-sunxi
vpeter has joined #linux-sunxi
speakman has quit [Ping timeout: 246 seconds]
\\Mr_C\\ has quit [Quit: .]
Skaag has joined #linux-sunxi
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 265 seconds]
JohnDoe_71Rus has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
Skaag has quit [Quit: Leaving.]
Skaag has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 272 seconds]
cubear has joined #linux-sunxi
khuey|away is now known as khuey
Froolap has joined #linux-sunxi
reinforce has joined #linux-sunxi
khuey is now known as khuey|away
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
vishnu has joined #linux-sunxi
Netlynx has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
vishnu has quit [Ping timeout: 264 seconds]
vishnu_ has quit [Ping timeout: 240 seconds]
domidumont has quit [Quit: Leaving.]
domidumont has joined #linux-sunxi
_massi has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
vishnu has joined #linux-sunxi
vishnu has quit [Read error: Connection reset by peer]
vishnu has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
f15h has joined #linux-sunxi
vishnu_ has quit [Read error: Connection reset by peer]
vishnu has quit [Ping timeout: 264 seconds]
Netlynx has quit [Quit: Leaving]
blsd has quit [Quit: Leaving]
sehraf has joined #linux-sunxi
naobsd has quit [Ping timeout: 265 seconds]
blsd has joined #linux-sunxi
blsd has quit [Read error: Connection reset by peer]
naobsd has joined #linux-sunxi
blsd has joined #linux-sunxi
arossdotme has quit [Ping timeout: 244 seconds]
vishnu_ has joined #linux-sunxi
philippe_fouquet has quit [Remote host closed the connection]
vishnu_ has quit [Read error: Connection reset by peer]
vishnu_ has joined #linux-sunxi
vishnu_ has quit [Client Quit]
vishnu_ has joined #linux-sunxi
arossdotme has joined #linux-sunxi
vishnu_ has quit [Read error: Connection reset by peer]
vishnu_ has joined #linux-sunxi
vishnu_ has quit [Client Quit]
vishnu_ has joined #linux-sunxi
vishnu_ has quit [Client Quit]
melonipoika has joined #linux-sunxi
philippe_fouquet has joined #linux-sunxi
philippe_fouquet has quit [Client Quit]
FreezingCold has quit [Quit: Out]
naobsd has quit [Quit: naobsd]
ssvb has quit [Ping timeout: 240 seconds]
vishnu_ has joined #linux-sunxi
pmattern has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
tomboy65 has quit [Ping timeout: 250 seconds]
vishnu_ has quit [Ping timeout: 246 seconds]
wickwire has joined #linux-sunxi
FreezingCold has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
vishnu_ has quit [Read error: Connection reset by peer]
vishnu_ has joined #linux-sunxi
f15h has quit [Read error: Connection reset by peer]
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-sunxi
souther has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
f15h has joined #linux-sunxi
naobsd has joined #linux-sunxi
libv has joined #linux-sunxi
naobsd1 has joined #linux-sunxi
naobsd has quit [Ping timeout: 245 seconds]
jelly has quit [Quit: ""]
jelly-home has joined #linux-sunxi
steev has joined #linux-sunxi
jelly-home is now known as jelly
ricardocrudo has joined #linux-sunxi
Andy-D has joined #linux-sunxi
naobsd1 is now known as naobsd
kurain has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]
vishnu_ has quit [Ping timeout: 256 seconds]
bengal has joined #linux-sunxi
alexvf has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 244 seconds]
naobsd has joined #linux-sunxi
bengal has quit [Ping timeout: 256 seconds]
ssvb has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
premoboss has quit [Remote host closed the connection]
<vishnu_> Hello
paulk-collins has joined #linux-sunxi
f15h has quit [Remote host closed the connection]
techn has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 245 seconds]
vishnu_ has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 264 seconds]
vishnu_ has quit [Read error: Connection reset by peer]
vishnu_ has joined #linux-sunxi
VargaD_ has joined #linux-sunxi
VargaD has quit [Ping timeout: 264 seconds]
VargaD_ is now known as VargaD
focus has quit [Ping timeout: 256 seconds]
vishnu_ has quit [Ping timeout: 240 seconds]
<Seppoz> how cna i disbale the double output in the kernel again?
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<libv> what is "the double output"?
<andoma> i think the printk prints both via the LL_DEBUG -thingie and via the normal serial console
<andoma> in some configs
<Seppoz> how cna i disable it
<Seppoz> lile
<Seppoz> [ 1.952197] usbcore: registered new interface driver pl2303
<Seppoz> <6>USB Serial support registered for pl2303
<Seppoz> the <6> stuff
popolon has joined #linux-sunxi
<andoma> IIRC you should turn of LL_DEBUG in the kernel config (need kernel recompile)
ricardocrudo has joined #linux-sunxi
<libv> Seppoz: early printk i guess
ojn has quit []
ojn has joined #linux-sunxi
focus has joined #linux-sunxi
cubear has quit [Quit: Leaving]
<Seppoz> so ifixed my display problem
<Seppoz> now im pretty much stuck with the last one which is dram
<Seppoz> im having a very hard time finding working dram settings
<Seppoz> is there any way to probe automaticaly?
<Seppoz> H5TQ4G63afr is the chip, 2 of them
<Seppoz> so those standard settings should work on any chip?
<ssvb> the dram clock speed is typically limited not by the ddr3 chips themselves (which are usually ddr3-1333), but by pcb routing
<ssvb> yes, these settings should work
<Seppoz> what about density and so on
<Seppoz> i just dont set those?
<ssvb> they are automatically detected in the mainline u-boot
<Seppoz> unknown field 'active_windowing' specified in initializer
<Seppoz> i just pulled latets uboot
MagicNAT has joined #linux-sunxi
<ssvb> also if you have Android, then you can dump dram settings using the meminfo tool
<Seppoz> i dont have anything yet
<ssvb> latest u-boot from where?
<Seppoz> sunxi
<Seppoz> should i zuse different
<Seppoz> *should i use
<MagicNAT> Hi, anyone know how to get fbtft works on Banana Pro?
<ssvb> Seppoz: http://git.denx.de/?p=u-boot/u-boot-sunxi.git;a=shortlog;h=refs/heads/next
<Seppoz> is this different than the sunxi uboot?
<ssvb> yes
<Seppoz> so this is the one that we use now?
<a1d3s> magicnat yes maybe :)
<a1d3s> im working on
<ssvb> Seppoz: that's the mainline u-boot for sunxi
<Seppoz> git pull git://git.denx.de/u-boot-sunxi.git
<Seppoz> fatal: Not a git repository (or any of the parent directories): .git
<ssvb> "git clone"?
<Seppoz> oh darn
<Seppoz> sorry
<a1d3s> mripard help very much :) , now im search for right pin definition
<MagicNAT> a1d3s lol
<MagicNAT> I loaded the kernel module and it just don't work
<a1d3s> which kernel?
<MagicNAT> [info] Loading kernel module flexfb.
<MagicNAT> [info] Loading kernel module fbtft_device.
<MagicNAT> <6>fbtft_device: SPI devices registered:
<MagicNAT> [ 8.807466] fbtft_device: SPI devices registered:
<MagicNAT> <6>fbtft_device: 'fb' Platform devices registered:
<MagicNAT> [ 8.816948] fbtft_device: 'fb' Platform devices registered:
<MagicNAT> <3>fbtft_device: spi_busnum_to_master(0) returned NULL
<MagicNAT> [ 8.827654] fbtft_device: spi_busnum_to_master(0) returned NULL
<MagicNAT> <3>fbtft_device: failed to register SPI device
<MagicNAT> [ 8.837845] fbtft_device: failed to register SPI device
<Seppoz> ill give the mainline uboot with failsafe dram settings a shit
<MagicNAT> ERROR: could not insert 'fbtft_device': Invalid argument
<MagicNAT> [info] Loading kernel module ads7846_device.
<MagicNAT> <3>ads7846_device: spi_busnum_to_master(0) returned NULL.
<MagicNAT> [ 8.901823] ads7846_device: spi_busnum_to_master(0) returned NULL.
<Seppoz> *shot
<MagicNAT> ERROR: could not insert 'ads7846_device': Invalid argument
<Seppoz> and then we will see
<MagicNAT> ads_7846_device
wickwire has quit [Read error: Connection reset by peer]
<a1d3s> i have added the dts from fbtft to bananapo.dts and then set status to okay , make dtbs
reinforce has quit [Quit: Leaving.]
<a1d3s> but in fbtft dts the pin def differ from name . they are for rpi and in bpi they called &pio insteed of &gpio and some other diffs
<MagicNAT> Yes, I do modify it and put it inside bananapro's dts and compile a dtb
<MagicNAT> Or maybe I load dtb wrong?
<a1d3s> the dtb must placed in /boot
<mripard> @all: anyone interested in doing consultancy for a small sunxi-related project?
<MagicNAT> Well i did put it in boot
<mripard> it should be a matter of a day or two for someone with some kernel experience
<MagicNAT> How do you load your dtb file?
<mripard> MagicNAT: your dtb is loaded if you have that error.
<mripard> if it was not, the kernel wouldn't even boot.
wickwire has joined #linux-sunxi
<a1d3s> mripard i want to talk about mali but not today ;) i stressed you up enough for next days
<mripard> a1d3s: there's nothing to talk about
<mripard> mali isn't supported
<Seppoz> so i compiled the mainline uboot
<Seppoz> do i have to dd in a different place
<Seppoz> or did they stop to output on uart0?
vector80 has joined #linux-sunxi
<MagicNAT> a1d3s Do I need spi-bcm2708 in order to get fbtfb device work?
<mripard> MagicNAT: why would you need some broadcom driver?
<MagicNAT> I don't know either... But in here: https://github.com/notro/fbtft/issues/49
<mripard> the guy talks about a raspberry pi
<mripard> are you using a raspberry pi?
<MagicNAT> Well, I'm not...
pekka20 has joined #linux-sunxi
cnxsoft has quit [Quit: cnxsoft]
afaerber has joined #linux-sunxi
<Seppoz> is the dram_para in the fex file used by the kernel?
ssvb has quit [Ping timeout: 246 seconds]
ssvb has joined #linux-sunxi
Skaag has quit [Quit: Leaving.]
domidumont has quit [Read error: Connection reset by peer]
<wens> ah crap, crashed my hummingbird testing cpufreq
<wens> now i have to go to the office on sat. to fix it :(
booly-yam-6710 has joined #linux-sunxi
<a1d3s> mripard i have a sunxi question :) when will it support or how does it the banana m2 and u-boot too?
blsd has quit [Remote host closed the connection]
f15h has joined #linux-sunxi
Skaag has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
<mripard> when someone with a board will support it
MagicNAT has quit [Ping timeout: 265 seconds]
MagicNAT has joined #linux-sunxi
Skaag has quit [Ping timeout: 245 seconds]
vishnu_ has joined #linux-sunxi
<a1d3s> mripard i have a board :)
<a1d3s> im one of two german who have an m2
<mripard> a1d3s: well then, if you feel up to writing a device tree for it, go ahead
<a1d3s> mripard ok , but then i have something to know and learn :)
<mripard> will be a good start
<a1d3s> im not a dev , mostly im user and other hand a windows dau ;)
<wens> device tree, not that hard
<mripard> good thing that there'se no code involved then :)
Skaag has joined #linux-sunxi
Skaag has quit [Max SendQ exceeded]
Skaag has joined #linux-sunxi
<Seppoz> i cant find ANY working dram settings for my board that doesnt crash the kernel
<Seppoz> and i know it must be dram settings as same kernel with same stuff boots on olimex board
<Seppoz> is there anything i can use to probe dram settings if i cant boot into distro
<Seppoz> even with the specified fallback settings i cant boot
<Seppoz> the mainline uboot doesnt boot at all by the way
konradoo87 has joined #linux-sunxi
<Seppoz> no output nothing just stays blank
konradoo77 has quit [Ping timeout: 264 seconds]
<ssvb> Seppoz: using very low dram clock frequency should improve reliability
<ssvb> Seppoz: you can try even something like 312MHz
<Seppoz> ok
<Seppoz> and what about all the other 5000 settings?
<Seppoz> how would i finf out whats right there
<Seppoz> any description on what this all is?
<ssvb> Seppoz: you can find the dram info in the wiki
<Seppoz> iv been looking for it now like half the day
<Seppoz> couldnt really find anything on what each individual thing does
<ssvb> Seppoz: but you normally don't need to change anything other than the dram clock speed, unless you are optimizing it for extreme clock speeds
<Seppoz> i hate fucking china
<Seppoz> so what do i use then?
<Seppoz> for low clock speed?
<Seppoz> the fallback settings here? http://linux-sunxi.org/Mainline_U-boot#DRAM_Settings
<ssvb> Seppoz: yes, that's a failsafe template
<Seppoz> allso will this fallback settings work on A20
<ssvb> yes
<ssvb> btw, what kind of defconfig have you tried for the mainline u-boot?
<Seppoz> because afaik a20 has different way of ram
<Seppoz> cubietruck and i used the fallback dram settings
<Seppoz> am i supposed to see anything on uart0 on new uboot?
<Seppoz> A20 should have different ram interface dont it?
<Seppoz> something is swapped or so
<ssvb> A10/A13/A20 have the same DRAM controller, only with some very minor differences
<Seppoz> also does the dram_param settings matter?
<Seppoz> in fex?
<ssvb> there are no differences in 'dram_para' struct settings between A10/A13/A20
<Seppoz> do they matter
<Seppoz> are they used?
<ssvb> fex often contains bogus settings
<Seppoz> i thought uboot sets up dram
<ssvb> just ignore them
<Seppoz> do they have to be adjusted
<Seppoz> are they used
<Seppoz> by the kernel?
<ssvb> yes, uboot sets up dram
<Seppoz> so the settings in the fex file are not used at all?
<ssvb> the fex settings might be used by the suspend code in the kernel
f15h has quit [Quit: Page closed]
<ssvb> but since nobody really uses suspend to ram with sunxi-3.4, they are irrelevant
<Seppoz> ok
<ssvb> what kind of device is that?
<Seppoz> merrii C21 board
<Seppoz> this is the dram settings i have now
<ssvb> does it boot?
<Seppoz> nope
<Seppoz> wait a sec
<ssvb> ok, what kind of settings used to boot, but were unreliable?
<ssvb> do you have a HDMI monitor connected?
<Seppoz> it does boot but it causes a kernel crash
<Seppoz> no
<Seppoz> it does boot but either it stucks at INIT: version 2.88 booting
<Seppoz> or the kernel crashes
<ssvb> why do you think that the dram settings are related to the kernel crash?
<Seppoz> if i use the same kernel on olimex a20 micro the same kernel with the same distro boots
<Seppoz> because i had that before
<ssvb> is it sunxi-3.4 kernel?
<Seppoz> on merrii c11 board that is 100% idential only with a10 instead of a20
<Seppoz> yes
<Seppoz> most recent
<ssvb> do you have a fex file for it?
<Seppoz> yea but also hald the time uboot dont even come up
<ssvb> if the fex file is not in sunxi-boards repository, then it would make sense to add it there
<Seppoz> must be dram
<ssvb> it could be bad voltages
<ssvb> if you had a HDMI monitor, you could try to boot the https://github.com/ssvb/sunxi-bootsetup/releases/tag/20141215-sunxi-bootsetup-prototype sd card image
<ssvb> actually, you can try it even without a HDMI monitor if you have a serial console
<Seppoz> i dont have hdmi
<ssvb> please still try it even without hdmi if you have a spare sd card
<ssvb> you should get a menu on the serial console too
<ssvb> of course, assuming that it boots correctly
leviathanch2 has joined #linux-sunxi
<Seppoz> dding
<Seppoz> i cant say i cant imaine the voltages are wrong but on the other hand the A10 worked fine so
<Seppoz> would be quite unlikely
<Seppoz> unless A20 needs different voltages
<ssvb> it could fail if pmic is not configured correctly, or if fex specifies bogus voltages
<ssvb> Seppoz: let me know if the sd card boots, and also please paste the text from the menu caption if you get anything there on the serial console
<Seppoz> i dont even get to fex
<Seppoz> most of the time
<ssvb> fex?
<Seppoz> i mean to the point where it would actually use the fex
<Seppoz> where does the fex specify any voltages
<Seppoz> what kind of voltages you mean
<ssvb> the sd card image, that I have provided, does not even use fex
<Seppoz> its flashing right now
<Seppoz> what is pmic?
<Seppoz> axp?
<Seppoz> we dont use axp
<Seppoz> all voltages
<Seppoz> sorry all voltages are provided by actual power regulators
<ssvb> ok, I see
<ssvb> does this board work with any software?
<ssvb> like android or something
MagicNAT has quit [Ping timeout: 244 seconds]
<Seppoz> at this point i just want to boot the kernel and any distro
<ssvb> I mean, are we sure that the hardware itself is workable?
<Seppoz> well since the chinees suck and the only answers to questions like "please send us the dram uboot settings" is " you dont need to change that" no
<Seppoz> i dont have anyhting bootable at the moment
<ssvb> well, try to boot my sd card image, it is designed to be bootable on all a10/a20 devices (but of course is a bit experimental at this point)
<ssvb> if it successfully boots, then we can try to get a real system up and running
<ssvb> if it fails to boot, then either your hardware is broken, or there is some software bug in the image
reinforce has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
domidumont has joined #linux-sunxi
<Seppoz> the image you sent doesnt show anyhthing
konradoo87 has quit [Ping timeout: 252 seconds]
<ssvb> Seppoz: hmm, and it was written correctly (unpacked from xz)?
<Seppoz> it does show something on olimex
<Seppoz> it boots directly into uboot tho
<Seppoz> not showing any settings or anything
<ssvb> no menu?
<Seppoz> no
<Seppoz> not even on olimex
<Seppoz> i bet you if i just had the correct dram settings it would all just work
<ssvb> I doubt this, it looks like something more serious
domidumont has quit [Ping timeout: 246 seconds]
MagicNAT has joined #linux-sunxi
<Seppoz> but like what?
<ssvb> IMHO "all voltages are provided by actual power regulators" would be the culprit
<ssvb> do you have the schematics? can measure the relevant voltages?
<Seppoz> yes i can
<Seppoz> but please explain to me why would it work with A10 cpu?
<Seppoz> if voltage is the problem
<ssvb> A10 cpu?
<Seppoz> everything else is 100% idential
<Seppoz> just 1 board has A10 one board has a20
<ssvb> is the A10 variant of this board properly supported?
<Seppoz> what do you mean?
<ssvb> like some config for u-boot, fex file in sunxi-boards, etc.
<Seppoz> nope
<ssvb> taking care of this would be a good start
p1u3sch1 has joined #linux-sunxi
<Seppoz> im wondering if frequency scaling is screwing this up
<Seppoz> does frequency scaling depend on certain voltages
<ssvb> normally one starts with simple things, then moves to more complex ones
<ssvb> skipping steps does not always speed up anything
<Seppoz> yea i agree
p1u3sch1 has quit [Client Quit]
p1u3sch1 has joined #linux-sunxi
<ssvb> Seppoz: it would be really great if you had *any* kind of validation software for this a20 board, just to make sure that this particular unit is not defective
<ssvb> Seppoz: does the vendor provide absolutely nothing?
<ssvb> Seppoz: no android or ubuntu or anything from the vendor?
<Seppoz> yea i will go and kick the peorucers butt
domidumont has joined #linux-sunxi
<Seppoz> whats the lowest speed dram can go down to
<ssvb> 360MHz would be the lowest DRAM clock speed used by any known A10/A20 devices
<ssvb> it can go lower than that, but so far nobody tested the exact limits :)
domidumont has quit [Ping timeout: 246 seconds]
tomboy64 has quit [Ping timeout: 250 seconds]
techn_ has joined #linux-sunxi
booly-yam-6710 has quit [Ping timeout: 240 seconds]
techn has quit [Ping timeout: 264 seconds]
booly-yam-6710_ has joined #linux-sunxi
vector80 has quit [Remote host closed the connection]
leviathanch2 has quit [Ping timeout: 276 seconds]
Skaag has quit [Quit: Leaving.]
Skaag has joined #linux-sunxi
MagicNAT has quit [Ping timeout: 255 seconds]
ricardocrudo has quit [Ping timeout: 252 seconds]
f15h has joined #linux-sunxi
leviathanch2 has joined #linux-sunxi
MagicNAT has joined #linux-sunxi
FDCX_ has joined #linux-sunxi
<MagicNAT> Anyone know how to get WaveShare 3.5 inch RPi LCD work on Banana Pro? The fbtft kernel work well now but there are only some strange lines showed up...
<ssvb> Seppoz: are you sure that you are not getting something like this on your olimex board? http://linux-sunxi.org/SD_card_based_installer
<ssvb> Seppoz: did you see any kind of error messages from u-boot about failing to load the kernel?
konradoo87 has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 264 seconds]
<plaes> does anyone know how to decode the GPIO syntax from FEX?
<plaes> things like port:PH00<6><1><default><default>
konradoo77 has quit [Ping timeout: 272 seconds]
<plaes> I'm trying to set up the bosch accelerometer for device tree
<libv> Port H 0x00
<libv> 6 is the multiplex iirc
<libv> that's in the user guide
<plaes> thanks, found it
cubear has joined #linux-sunxi
konradoo87 has quit [Ping timeout: 265 seconds]
konradoo77 has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
Zboonet has quit [Quit: Leaving]
MagicNAT has quit [Ping timeout: 264 seconds]
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
<vishnu_> hi, I do not find the includes in dtsi file in mainline, are these changes yet to be accepted?
<Seppoz> ssvb: i dont no
MagicNAT has joined #linux-sunxi
<vishnu_> maxime: ping?
<ssvb> Seppoz: what do you get? can you paste the log from your serial console?
<Seppoz> just regular uboot starting
<Seppoz> not more
<ssvb> starting and then ending where?
f15h has quit [Quit: Page closed]
<ssvb> the log is extemely valuable
<Seppoz> ok give me a sec
<Seppoz> it allso detects wrong ram
<ssvb> Seppoz: thanks! is 512MB wrong?
<Seppoz> let me verify
<Seppoz> its olimex a20 micro
<Seppoz> should have 1 gb
<Seppoz> also other uboots detect 1gb
<Seppoz> one question, how much current does drr and cpu draw?
<Seppoz> *ddr
<Seppoz> just so you know olimex is the one that works fine
<Seppoz> iths the merrii board that doesnt
<ssvb> Seppoz: 1A should be enough for everything
<Seppoz> we have 500ma for drr and 500ma for cpu
<Seppoz> is that enough
_massi has quit [Quit: Leaving]
melonipoika has quit [Ping timeout: 246 seconds]
Vespine has joined #linux-sunxi
<Seppoz> what is the lowest dram can go down to?
cubear has quit [Ping timeout: 245 seconds]
afaerber has quit [Quit: Verlassend]
<ssvb> Seppoz: afaik, nobody has tested it yet
<ssvb> Seppoz: you may be the first one to test lower dram clock speeds :)
MagicNAT has quit [Ping timeout: 244 seconds]
f15h has joined #linux-sunxi
wickwire has quit [Read error: Connection reset by peer]
Skaag has quit [Quit: Leaving.]
<Seppoz> if i have 2 times 4Gb Ram blocks, how much resulting ram do i have?
konradoo77 has quit [Ping timeout: 245 seconds]
konradoo77 has joined #linux-sunxi
<plaes> 1GB
<Seppoz> ty
MagicNAT has joined #linux-sunxi
f15h has quit [Ping timeout: 246 seconds]
vishnu_ has quit [Quit: Leaving]
<Seppoz> how is this meassurement generated
<Seppoz> manual?
<ssvb> Seppoz: using the instructions/scripts from http://linux-sunxi.org/A10_DRAM_Controller_Calibration
<ssvb> Seppoz: but indeed, the A20 Olinuxino does not seem to be able to run at really high dram clock speeds
booly-yam-6710_ has quit [K-Lined]
<Seppoz> dcdc3_vol = 1325
<Seppoz> whats that?
<Seppoz> please isnt there any description on all those parameters?
<Seppoz> what do those 15 parameters do?
<ssvb> Seppoz: it's dcdc3 rail from axp209, which goes to vdd-dll pin of the soc
<ssvb> Seppoz: which parameter are you interested in?
<Seppoz> all the dram ones
<ssvb> I can't describe "all" at once
<ssvb> so we need to start with something
<Seppoz> before that please what is vdd-dll
<Seppoz> is that the cpu supply voltage?
<ssvb> Seppoz: it's one of the pins, documented in the a20 datasheet
<Seppoz> just saw
<Seppoz> so there is no automatic way to find good settings if i cant boot a distro?
MagicNAT has quit [Ping timeout: 240 seconds]
<ssvb> Seppoz: try emr1=4 and low dram clock speed
<ssvb> Seppoz: but it's basically "reduce the dram clock speed until it works reliable" strategy
vishnu_ has joined #linux-sunxi
<ssvb> Seppoz: emr1 must be quite critical for a20 olinuxino, because there is no other reasonable explanation
<Seppoz> what is emr1?
<ssvb> Seppoz: there is a table, which shows how to interpret it
<plaes> anyone familiar with iio subsystem?
<Seppoz> can aaxp change voltage of dcdc3?
<ssvb> yes, it defaults to 1.2V after reset, but is usually configured as 1.25V when initialized by u-boot
<ssvb> the maximum is supposedly 1.4V and higher voltage improves dram reliability
<Seppoz> well we fixed this to 1.2V
<Seppoz> you think that is a problem?
<ssvb> oh, this is pretty bad
MagicNAT has joined #linux-sunxi
<ssvb> not a total disaster, but you will not be able to get high dram clock speeds with that
<Seppoz> well it didnt even run well on 312
<Seppoz> what is the lowest you know you cna get down to?
<ssvb> btw, olimex fixes this voltage to 1.4V at least in http://linux-sunxi.org/Olimex_A13-OLinuXino-Micro
<Seppoz> its confusing as the datasheets all show 1.2
<ssvb> try to step down in 24MHz steps
<ssvb> and set 'emr1' to 4 if you have not tried it yet
<Seppoz> emr14 and zq?
<Seppoz> 7f?
<Seppoz> by the way, wehn we talk dcdc3 its the whole VDDINT
<Seppoz> that is conrrect right?
<ssvb> yes
<Seppoz> because vdd-dll is based on vdd-int
<Seppoz> ok
<Seppoz> marsboard also claimes to be 1.2V
selsinork has joined #linux-sunxi
<ssvb> Seppoz: if you find some bootable dram settings, also be sure to run https://github.com/ssvb/lima-memtester/ to confirm that this setup is really reliable
<Seppoz> i will try to get higher voltage
<Seppoz> i wont live with 2xx mhz on dram
reinforce has quit [Quit: Leaving.]
paulk-collins has quit [Ping timeout: 245 seconds]
konradoo77 has quit [Ping timeout: 264 seconds]
<plaes> uhoh.. do I really have to CC everyone I get from ./scripts/get_maintainer.pl ?
konradoo77 has joined #linux-sunxi
<Seppoz> ssvb: i believe the voltage you mentioned causes this issue
<Seppoz> my next step will be to increase this voltage to 1,35V
<Seppoz> thank you very much for your help
MagicNAT has quit [Ping timeout: 245 seconds]
<Seppoz> right now this voltage is 1.185
<Seppoz> the VDDINT
MagicNAT has joined #linux-sunxi
pekka20 has quit [Quit: WeeChat 1.0.1]
<plaes> doh.. forgot linux-sunxi
<Seppoz> :P
pekka10 has joined #linux-sunxi
interrobangd has joined #linux-sunxi
tomcheng76 has quit [Read error: Connection reset by peer]
<hramrach> hello
<Seppoz> hi
<hramrach> how do you use SD uart with DT?
MagicNAT has quit [Ping timeout: 245 seconds]
interrobangd has quit [Quit: Leaving]
tomboy64 has joined #linux-sunxi
<ssvb> hramrach: just a sec
tomcheng76 has joined #linux-sunxi
booly-yam-4531 has joined #linux-sunxi
FDCX_ has quit [Ping timeout: 244 seconds]
iamfrankenstein has joined #linux-sunxi
booly-yam-4531 has quit [K-Lined]
iamfrankenstein has quit [Client Quit]
selsinork has quit [Ping timeout: 265 seconds]
pmattern has quit [Quit: Genug für heute.]
konradoo77 has quit [Ping timeout: 264 seconds]
premoboss has joined #linux-sunxi
konradoo77 has joined #linux-sunxi
selsinork has joined #linux-sunxi
tomboy64 has quit [Remote host closed the connection]
<Seppoz> ssvb: how is vdd-dll and dram related?
interrobangd has joined #linux-sunxi
tomboy64 has joined #linux-sunxi
<ssvb> Seppoz: the dram controller is likely powered by it
<Seppoz> you think the voltage we have can cause the bahavior we experiance?
bonbons has joined #linux-sunxi
cosm has joined #linux-sunxi
atsampson has quit [Quit: kerneltime]
atsampson has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 264 seconds]
Vespine has quit [Quit: Leaving]
konradoo77 has quit [Ping timeout: 265 seconds]
konradoo77 has joined #linux-sunxi
interrobangd has quit [Quit: Leaving]
cosm has quit [Ping timeout: 256 seconds]
cosm has joined #linux-sunxi
boycottg00gle has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
konradoo77 has quit [Ping timeout: 246 seconds]
gjm has joined #linux-sunxi
paulk-collins has joined #linux-sunxi
Nyuutwo has quit [Ping timeout: 245 seconds]
bonbons has quit [Quit: Leaving]