<pnill>
"he mainboard LVDS output need to turn off NOSSC(Spread Spectrum function) and turn on the FREERUN function. The mainboard does not turn off the NOSSC, the frequency is unstable and the screen will flicker." so I probably won't get an answer as I'd want to do this on a BSP kernel... but does anyone know if the options mentioned in the quote there are available in the LCD driver provided with the BSP kernel?
<pnill>
I tried looking around and I found nossc=1 is available in the intel integrated graphics driver but I don't see anyone else call it that or really understand what it is tbh.
Net147 has quit [Ping timeout: 480 seconds]
Net147 has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
hlauer has joined #linux-sunxi
ftg has quit [Ping timeout: 480 seconds]
<gamiee>
pnill: only way is to dig in into the source codes of BSP
<pnill>
Yeah, I attempted and failed lol... I don't know anything about the settings they're speaking of.
<pnill>
"NOSSC" / "FREERUN" as nothing in BSP or mainline for the drm driver stuff seems to have anything of that sort.
<pnill>
I just know it's clock related but haven't researched much further than that.
<libv>
spread spectrum is tiny semi-random variations of the display clock
<libv>
this is to reduce electrostatic emissions and to stop it from interfering with other devices
<libv>
i spent 3d hunting that bit on the radeonhd project
<libv>
back in late 2007
<libv>
and as usual, mr bridgman (the ati guy who should've been providing us with information - hah) was no help, and the fork just took the change, removed author info, and went with it without blinking
<libv>
spread spectrum is of course more than that, but this is what it does in the display driver or in many modern clock driver circuitry, basically a means to keep the FCC happy
macromorgan is now known as Guest4256
macromorgan has joined #linux-sunxi
Guest4256 has quit [Read error: Connection reset by peer]
<hlauer>
At one point in the past the i2s stopped working and at the end if figured out the patch set the pll2 registers again as before, but I never understand that
<hlauer>
s/if/I
<libv>
hlauer: according to wens patch, it allows one of the pll modifiers to be fractional
<libv>
hlauer: instead of it being an integer, it becomes an int like float
<libv>
which could indeed throw off some things if the clock becomes unstable, and audio is very very sensitive to that
<libv>
but good catch, i am sure that took quite some bisecting/debugging
<libv>
so it could be that the audio base pll on a10/a20 does not support it, and then the whole pll divider/multiplier calculation becomes false
<libv>
so your patch can be reduced to just removing that flag for this clock
<hlauer>
Found it from the hardware side: Just read the hardware registers and noticed the difference.
<libv>
nice catch
<libv>
and register dumpers ftw
<libv>
oh, and extra thanks for bringing it up now
<hlauer>
Thanks. What means "register dumpers ftw" ?
<libv>
as i had an i2s issue myself when i tried to verify the fosdem video hw close to a year ago
<libv>
the audio was strangle garbled, but basically working
<libv>
a register dumper is a simple tool that allows one to read from like /dev/mem and dump regname, value
<libv>
ftw is for the win
<hlauer>
Mine based on hifiberry didn't work at all any more - just my private setup
<libv>
hlauer: i'm sticking that straight in my fosdem kernel now so i do not forget about it
cnxsoft1 has joined #linux-sunxi
<hlauer>
Thanks a lot. Will that hit vanilla later?
cnxsoft has quit [Ping timeout: 480 seconds]
<libv>
i catch myself not spending time on upstreaming, instead spending time on running towards fosdems goals instead, so while this is a goal, it's not the most immediate
<libv>
hlauer: do send it to the ml though
<libv>
reduce it to just the flag, add an explanation of what it is, and send it to the ml
<libv>
that's the fastest way to mainline
<hlauer>
Ok, fair. Is the fosdem kernel code available somewhere? I'm bound to admin stuff at the moment, so will look into it when time permits
<libv>
we need i2s there to talk to grab the audio from the adv7611 hdmi capture chip
<libv>
ah, heh, that patch is not as simple as i assumed, i seemed to have overlooked the first part...
<libv>
heh, will keep this in mind for when i get back to fosdem stuff regardless, as i do not have the capacity to test this code now
warpme___ has joined #linux-sunxi
<hlauer>
I'll be glad to test anything you provide on my BananaPro setup, as I'm routinely compiling the rc kernels - it will just take a few days for feedback
cnxsoft1 has quit [Read error: Connection reset by peer]
cnxsoft has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
lunixoid has joined #linux-sunxi
lunixoid has quit [Ping timeout: 480 seconds]
sunshavi_ has quit [Ping timeout: 480 seconds]
sunshavi_ has joined #linux-sunxi
prefixcactus has quit [Ping timeout: 480 seconds]
JohnDoe_71Rus has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
vagrantc has joined #linux-sunxi
warpme___ has quit []
gsz has joined #linux-sunxi
JohnDoe_71Rus has quit []
gsz has quit [Quit: leaving]
hlauer has joined #linux-sunxi
tuxd3v has joined #linux-sunxi
<tuxd3v>
hello Guys I have a Olimex OlinuxinoLime2( A20 ), and I was thinking in using it as my personal ntp server
<tuxd3v>
does any one knows if it has a good RTC oscilator?
<tuxd3v>
seems that I found at least one :)
<tuxd3v>
32 768 Hz (RTC) quartz crystal Q4 is found at pins F1 and F2 of the A20 microcontroller.
hlauer has quit [Ping timeout: 480 seconds]
tuxd3v has quit [Quit: Leaving]
tuxd3v has joined #linux-sunxi
<tuxd3v>
hello,
<tuxd3v>
does we in Olinuxino( A20 ) have to create a deamon for RTC?