<ssvb>
libv: we only the code to write some values to the disp (and hdmi) hardware registers to make it use some selected memory area as the framebuffer, but that's the area of your expertise :)
<ssvb>
libv: *we only need
paulk-collins has quit [Quit: Ex-Chat]
<ssvb>
libv: if this gets done, we get boot menu in u-boot (which is great by itself) and also basic graphics support for the mainline kernel to survive until kms driver
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
<libv>
ssvb: how do we deal with lcd, vga or hdmi, how do we know which is present?
<libv>
is the device tree stuff useful at u-boot time already, does one need to build u-boot especially
<libv>
vga can be load detected, but i have never tried that on hw that is not known for having vga, so results might vary
<libv>
hdmi is a bit more safe
<libv>
but then the question becomes, do we do a full edid read and parse, or just use 640x480 (i am not sure whether that is still required)
<libv>
as for lcd, you need full timing, full power on/off and backlight support, that's a big mess of code
<libv>
ssvb: anyway, that's something for later, right now i need to figure out why hdmi ddc is not doing my biding
<BorgCuba>
good night everybody!
BorgCuba has quit [Quit: leaving]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
xavia has quit [Quit: Leaving.]
xavia has joined #linux-sunxi
froese has quit [Quit: Leaving]
rz2k has quit []
Gerwin_J has quit [Quit: Gerwin_J]
TheSeven has quit [Ping timeout: 250 seconds]
TheSeven has joined #linux-sunxi
FreezingCold has quit [Ping timeout: 264 seconds]
<ssvb>
libv: what I would want is some sort of universal display support for sunxi, which can automatically configure itself and do not need any extra information hardcoded in u-boot
<ssvb>
libv: is it true that every a10 and a20 tablet has a hdmi connector?
<ssvb>
libv: it could work as a poor man's debugging console, so that people at least may see some feedback when trying to boot their device even if they do not have a serial cable :)
<ssvb>
libv: assuming that they have a TV or monitor and a spare HDMI cable
<libv>
yeah, i understand the need for this, especially given that i was the first to add native display support to coreboot
<libv>
and yeah, perhaps hdmi is the no-brainer
<libv>
but people will expect more, and that will become difficult
<libv>
and i am not sure whether we should do the full ddc/edid there
afaerber__ has joined #linux-sunxi
afaerber_ has quit [Ping timeout: 250 seconds]
xavia has quit [Remote host closed the connection]
<wens>
just the minimum should be enough during the boot loader
Black_Horseman has quit [Remote host closed the connection]
<libv>
wens: and what is the minimum common denominator?
<wens>
libv: not sure, 640x480? 720p?
<ssvb>
libv: u-boot has some edid code, at least grep says so
<ssvb>
and in principle, we can do the runtime detection of the soc type, use the peripherals which BROM can handle (for example, mmc) and initialize dram with some basic failsafe settings
<ssvb>
which means that we very likely can have a universal sd card image, able to boot on any a10/a13/a20 device
kuldeepdhaka has joined #linux-sunxi
<ssvb>
libv: u-boot merge window is open until Saturday August 02 2014
<ssvb>
and if I understand their policy correctly, review of the already submitted patches continues even after the merge window and they still can make it into the next release
<ssvb>
"In the result, the final version of such patches gets submitted after the merge window has been closed"
<ssvb>
"It is current practice in U-Boot that such patches are eligible to go into the upcoming release. "
<wens>
i guess this works to mitigate problems such as maintainers missing patches or just missing?
<ssvb>
I don't know, but the next u-boot version is v2014.10 and it is scheduled to be released in the middle of October
<ssvb>
the merge window for this next release is open right now
<ssvb>
I guess, there is plenty of time to address all the review comments and prepare the final version of the patch set, submitted during the merge window
kuldeepdhaka has quit [Ping timeout: 264 seconds]
sehraf has joined #linux-sunxi
<ssvb>
libv: are you in the right mood to maybe try chopping off the extra features from the sunxi kms and converting it into the sunxi u-boot video driver?
bgal has joined #linux-sunxi
<ssvb>
if you have no time, enjoying a vacation, etc., then I will likely try to see if I can hack something myself in a few days
kuldeepdhaka has joined #linux-sunxi
kuldeepdhaka has quit [Read error: Connection reset by peer]
kuldeepdhaka has joined #linux-sunxi
Quarx has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 255 seconds]
nabblet has joined #linux-sunxi
<sehraf>
montjoie[home], or anybody else: i still have the dead lock issue with the security system driver (v4) ... any ideas how to debug / fix this? http://pastebin.com/RC805xAg
formruga has quit [Quit: Konversation terminated!]
Gerwin_J has joined #linux-sunxi
<Wizzup>
arokux2: well
<Wizzup>
Presumably 'add USB options to configs' is vague
<Wizzup>
Something like: 'Add USB CONFIG options to Linux <something>' would be more clear
<Wizzup>
but idn
wingrime has joined #linux-sunxi
paulk-aldrin has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
<wingrime>
ssvb: ping
<wingrime>
Recently was talk around hdmi
<arokux2>
hi wingrime
<ssvb>
hi wingrime
<wingrime>
And any success?
<wingrime>
Hi all
<ijc>
arokux2: I think he wants more description for each patch. Maybe some of them are fairly trivial/obvious and don't require more than a single line but none of the 5 patches have anything other than a subject line and surely some of them are worthy of a bit more verbiage. Take a look at "git log" for the sort of things which are expected.
<wingrime>
Sory for some absence from channel, it's all about time zone and full time work
<wingrime>
Conversatio
<wingrime>
Err
shineworld has quit []
<wingrime>
Conversations here require be in channel when deep night there
Gerwin_J has joined #linux-sunxi
<wingrime>
libv: how driver woks goes on?
Gerwin_J has quit [Quit: Gerwin_J]
prahal has joined #linux-sunxi
<ssvb>
arokux2: I guess that patch would benefit from having a description about *why* you are enabling USB for sunxi
<ssvb>
arokux2: just add some basic overview of the hardware (how common is to have a USB port on typical sunxi devices, etc.)
<arokux2>
ssvb: ok
Black_Horseman has joined #linux-sunxi
<ssvb>
arokux2: also the maintainers are sometimes deliberately rude just to check if you are a sane person and whether you can communicate politely and obediently satisfy their requests :)
<arokux2>
:)
<ssvb>
wingrime: how far have you advanced with the hdmi support yourself?
<ssvb>
wingrime: got any notes in the wiki or somewhere else?
<wingrime>
ssvb: i made uboot app that configured all stuff in hdmi regs
<wingrime>
But no success
<wingrime>
I tryed to get testing patten according manual , I only get thos, when I set that bit on living system
FreezingCold has joined #linux-sunxi
<ssvb>
wingrime: if I were to do it, I would probably try to reduce the current disp driver in the linux kernel to the very minimum, chopping off all the extras
<ssvb>
wingrime: and then see what remains
<wingrime>
I even tryed copy all regs from living system, but no success, I tryed only hdmi module without video frontend backend
<wingrime>
So only thing I have to suggest ,that hdmi need video backend and fronted be gate and clocked
<ssvb>
wingrime: imho it is easier to start with some working state and gradually modify it, compared to implementing everything from scratch and hoping that it works
<wingrime>
As far i tryed to get test patten that besides in hdmi module it self
ricardocrudo has quit [Ping timeout: 256 seconds]
<ssvb>
the documentation is not exactly great
<wingrime>
But was half year ago, so I can miss something. I hope to see what libv says..
<wingrime>
ssvb: most impressive thing was - hdmi have own pll within IP module and cfg regs for if
<wingrime>
Dedicated pll, not within clock control module was really strange
<wingrime>
ssvb: I think I will need some logic analyser, to check what is going on on wires
<ssvb>
wingrime: do you have some ideas where it might be possible to get this logic analyser? or just talking theoretically?
xhato has joined #linux-sunxi
<xhato>
hi there
<wingrime>
I can use low freq Oscilloscope on work
<oliv3r>
what drivers haven't beenported to te mainline u-bootrelease yet?
<oliv3r>
(from the sunxi variant)
<ssvb>
oliv3r: that's a good question
<oliv3r>
sorry for not having keept up
bgal has quit [Ping timeout: 260 seconds]
Black_Horseman has quit [Quit: Zwi se logou mou!!!]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<oliv3r>
ssvb: i was hoping you'd supprise me with an answer :)
FR^2 has quit [Quit: Leaving]
<xavia>
I am having a weird issue where udev is not creating devices inside /dev, the system boots fine, but then I don't see for example.. any of my block devices in /dev.. has anyone come across an issue like this before?