<wens>
i don't think the code allows charging and otg at the same time
<wens>
i'd use the charger anyway
<wens>
it seems some boards are wired to just use otg for power
<ssvb>
wens: it's more interesting to know if the hardware supports this
<rellla>
ssvb: did you notice my request about un-forking linux-sunxi some days ago?
<ssvb>
rellla: yes, I think I explained it before
<wens>
ssvb: it should, but the code has to as well
<rellla>
ssvb: ok, let me search the logs :p
<ssvb>
wens: we can fix the code, right? ;)
<wens>
if you want to poke around the sdk, yeah
<wens>
it's also related to the layout, but i dont think that's an issue
<ssvb>
rellla: basically the github people could not do it right (preserving the forks with linux-sunxi as a root) and reverted to the original setup
<ssvb>
wens: if the simultaneous usb hub+charging functionality can work, I'm also going to get Primo73 with A20 :)
<rellla>
ssvb: maybe i should open a feature request, that you can choose base levels when displaying networks graphs ...
<ssvb>
wens: MSI does not provide a separate power connector, and this is not great :(
leviathanch2 has joined #linux-sunxi
<ssvb>
wens: and many tablets don't seem to have normal usb host connectors either, so properly working otg is kinda important
<ssvb>
rellla: what do you mean?
<rellla>
i like this network graphs to see what's going on within the different forks. but this is too big for whole the linux tree. it isn't displayed even atm, because there are too many forks
<ssvb>
rellla: yep, github is not perfect
<wens>
rellla: doesn't that page run for ages?
<rellla>
ssvb: and searching with fork:true is more efficient, when it can concentrate on only the linux-sunxi forks. thats why i asked.
<rellla>
wens: what do you mean?
<wens>
rellla: the network graph for torvalds/linux, i've never seen it render
<rellla>
wens: atm it doesn't. but i think to remember that it worked a time ago. if you had enough time :p
<wens>
ssvb: the required changes would to to let the driver not enable vbus when it senses voltage on the line
xavia has joined #linux-sunxi
<wens>
iirc allwinner's driver isn't that smart
<rellla>
for the smaller repos like libvdpau it's just fine to get an overview, who is actively dealing with it - without watching every fork
<rellla>
but lets stop offtopic :)
<wens>
i think a few of us forked directly from torvalds
<ssvb>
wens: do all the development boards only use usb mini plug?
<wens>
afaik most use the usb mini plug, but the a80 uses usb 3.0 micro
Skaag has joined #linux-sunxi
<wens>
ssvb: the id line is connected to a gpio, so it can't really detect the resistance, just pull-down or floating, per usb otg spec
<hramrach_>
ssvb: I use OTG in tablets like this: I enable the ethernet gadget, connect to PC, ssh in over USB
leviathanch2 has quit [Ping timeout: 260 seconds]
<ssvb>
hramrach_: yeah, this should be suitable for development
<hramrach_>
that's about as much as you can do. Ideally if you connect a keyboard it would flip to host and you could type but I did not test that in ages
<hramrach_>
I guess the OTG hub is nice for when the tablet is fully working
<ssvb>
yeah, I would want the tablet to act as a standalone PC, with a usb hub connected to the otg connector for usb ethernet dongle, keyboard, mouse
<ssvb>
and also usb hub providing power to the device (not the other way around)
<wens>
actually i meant for you to look at the new files, clk-gates.c and clk-sun4i-core.c
konradoo77 has quit [Ping timeout: 260 seconds]
<mripard>
wens: I would have pushed the USB clocks one step further
<mripard>
leave the gate registering function there, it's good.
<mripard>
but moving the reset part out of it
<mripard>
which is clearly specific to the USB clocks
konradoo77 has joined #linux-sunxi
<wens>
ah, that was on my mind :)
<mripard>
and won't be used for "basic" clocks anyway
<mripard>
cool :)
<mripard>
we're on the same page then :)
<wens>
i'll give it a go tomorrow
<mripard>
it looks fine otherwise, thanks!
<wens>
still thinking about the ahb gates, as that has ahb_sdram, which needs protecting
<wens>
probably use of_clk_get_by_index there
<mripard>
we're not in a hurry
<mripard>
especially if you have that much branches ;)
<wens>
:p
netlynx has joined #linux-sunxi
netlynx has joined #linux-sunxi
<Turl>
wens: :)
<Turl>
I'm not a big fan of the gazillon boilerplate functions + OF_DECLAREs that will come out of it though
<Turl>
hmm
diego71_ is now known as diego71
Skaag has joined #linux-sunxi
leviathanch2 has quit [Ping timeout: 272 seconds]
yann_s|AFK has joined #linux-sunxi
yann_s|AFK is now known as yann_s
Skaag has quit [Client Quit]
Skaag has joined #linux-sunxi
bertrik has joined #linux-sunxi
Renard has joined #linux-sunxi
weissschloss has quit [Remote host closed the connection]
nove has joined #linux-sunxi
souther has quit [Ping timeout: 260 seconds]
weissschloss has joined #linux-sunxi
souther has joined #linux-sunxi
Skaag has quit [Quit: Leaving.]
konradoo77 has quit [Ping timeout: 260 seconds]
Skaag has joined #linux-sunxi
notmart has quit [Quit: notmart terminated!]
konradoo77 has joined #linux-sunxi
Skaag has quit [Client Quit]
Skaag has joined #linux-sunxi
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-sunxi
Skaag has quit [Client Quit]
Skaag has joined #linux-sunxi
_massi has quit [Remote host closed the connection]
megal0maniac has quit [Killed (holmes.freenode.net (Nickname regained by services))]
megal0maniac has joined #linux-sunxi
akaizen has quit [Ping timeout: 250 seconds]
Skaag has quit [Client Quit]
Skaag has joined #linux-sunxi
sehraf has joined #linux-sunxi
megal0maniac has quit [Ping timeout: 260 seconds]
<hramrach_>
wens: managed to get u-boot prompt with your fes file http://sprunge.us/SeAP
<hramrach_>
and managed to build the AW u-boot without nand support
<hramrach_>
but it still overrides the bootcmd to attempt nand boot
akaizen has joined #linux-sunxi
megal0maniac has joined #linux-sunxi
<hramrach_>
ssvb: I have an a13 tablet with power connector, a13 tablet without power connector, an a23 tablet with power connector and a rk3188 tablet without power connector
<hramrach_>
and a tegra2 tablet which requires like 19V to charge
<hramrach_>
and yes, from this small sample the trend is that more usable tablets do not have a power connector
<hramrach_>
but even the a23 tablet has BT so presumably you could connect keyboard to it while charging with USB *and* it has a power connector ... and a very bad TN display
<hramrach_>
You can still use the display as flashlight but that's kind of poor excuse for a device to have display
<ssvb>
the HP tablet has has power connector and bluetooth, but no HDMI
<ssvb>
the MSI tablet has HDMI, but no power connector and no bluetooth
konradoo77 has quit [Ping timeout: 250 seconds]
<hramrach_>
also the 10" HP tablet claims mali GPU so probably not a31
<hramrach_>
but the HP stuff can be readily ordered worldwide whereas the MSI tablets seem hard to get
<ssvb>
it is kinda reasonable to have a single usb otg connector in higher quality and user friendly tablets, with less holes to plug the cable, the users are less likely to be confused and do something wrong ;)
<hramrach_>
the rk tablet has USB and HDMI. the usb is a bit wider
<hramrach_>
higher end tablets have MHL
<ssvb>
MHL?
<hramrach_>
or some other TLA for HDMI-in_USB
konradoo77 has joined #linux-sunxi
netlynx has quit [Quit: Leaving]
<ssvb>
MSI tablets seem to be available on ebay
<hramrach_>
that's kind of worldwide
<hramrach_>
the HP tablets are available from AU and DE hp store
megal0maniac has quit [Ping timeout: 258 seconds]
megal0maniac has joined #linux-sunxi
<hramrach_>
hmm, any idea how to extract the spare_head structure from existing u-boot binary?
<hramrach_>
I guess I need objdump
<hramrach_>
hmm, it does not recognize file format
MY123 has quit [Quit: "End of Day, my Core i7 is sleeping"]
<rellla>
libv: k3 enters fel mode :p
<libv>
:)
<libv>
finish the page :)
<rellla>
only thing that makes sense is ./fel version, isn't it?
<libv>
you can do like usbboot and livesuite that way as well
<libv>
but yes, ./fel version is a good proof
<rellla>
in case of dram.c and .fex we have to take the one already present in our repos, or that one in lemaker's repos or working images.
<rellla>
next will be a manual build.
<rellla>
libv: gmac support seems to be special for this device and will probably not work with linux-sunxi-3.4. source code for working gmac is supplied by lemaker - fully based on #ifdef phrases. is it a good choice to merge it into sunxi-3.4? maybe someone has to look over that piece of code.
diego_r has quit [Ping timeout: 246 seconds]
bonbons has quit [Quit: Leaving]
<libv>
rellla: try to figure out what that lemaker patch does
<libv>
ssvb: hah, videocore drivers installed on banana pi
<libv>
and then come to us to complain
megal0maniac has quit [Read error: Connection reset by peer]
megal0maniac has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
<ssvb>
libv: well, I guess there should not be a big difference between replacing mesa and replacing videocore drivers
konradoo77 has joined #linux-sunxi
<ssvb>
libv: this guy probably have just skipped directly to the 'Verifying the EGL/GLES driver stack' step and now wonders why it does not work
<libv>
nah, it speaks volumes of the market lemaker is in
<libv>
and how it tries to abuse raspberry pi
<libv>
and how its customers are not the most clueful on the planet
konradoo87 has quit [Ping timeout: 260 seconds]
<ssvb>
the sample set is still not big enough to make any conclusions :)
<rellla>
libv: clueless. aha.
<rellla>
pfff
<libv>
rellla: why did you buy this device?
<ssvb>
bananapi owner spotted :)
<libv>
rellla: and not an olimex of sorts?
<libv>
or a cubie
<libv>
did you buy it because it was supposed to be a raspberry pi but on steriods?
<rellla>
i have all 3 cubies and wanted a gmac device
<libv>
or did you buy it knowing full well that this was a raspberry pi ripoff, but with sunxi hw
DagoRed is now known as KD0MTO
<libv>
see, the first is the common case
<libv>
the second, your case, is quite rare
<hramrach_>
plus lime has gmac
<hramrach_>
2/3 cubie have gmac
<libv>
a20 lime or lime2?
<ssvb>
yes, lime2 looks good
<rellla>
40€ with in-EU buying isn't that bad imo
<libv>
rellla: true that
<hramrach_>
hmm, actually it might have only 100mbit but for the 2 they probably did gmac
<rellla>
some olimex device will be the next.
<hramrach_>
cb2 has 100mbit but you can use gmac driver
<ssvb>
lime2 has more RAM, proper 32-bit memory bus width and gbit ethernet
* rellla
meant gbit instead of gmac
froese has joined #linux-sunxi
<rellla>
and no, i never compared it with rpi bought it to replace them
<rellla>
i don't know what to do with my 2nd rpi
<rellla>
even
<hramrach_>
to me it looks like olimex really got this devboard thing right. cubietech was pretty close and ahead of olimex when it comes to AW hardware but then Tom moved on and there is no more progress there
KD0MTO is now known as DagoRed
<rellla>
olimex seems to be the one with the most constant progress and that makes it appear sympathic and professionell to me. though no lime here :(
<froese>
well, first there's the device, then comes the wiki-page (maybe) ...
<libv>
froese: if someone useful had used that device already, there would've been a wiki page already
<froese>
well, for me someone would be "useful" if he could just share some experiences he had with the board with me ;-)
<libv>
froese: and you expect such a person to be here all the time and respond to you directly within half an hour or so?
astr has joined #linux-sunxi
<libv>
wiki is where it is at :)
<froese>
well, if i don't ask ...
<libv>
for such a question, email is much much better
pietrushnic has quit [Ping timeout: 250 seconds]
<froese>
yeah, let's shut down irc...
<libv>
?
<libv>
froese: that does not make sense
<libv>
froese: you asked an irc channel whether anyone has used a very specific device out of about a thousand devices
<astr>
for the olimex lime board, what are the pins MIC1OUT_P and MIC1OUT_N for? (also asked on #olimex)
<astr>
a10 soc
<libv>
astr: schematics are available
<libv>
so it seems that nobody has bothered with setting up an A31s page.
<astr>
libv, so schematics will tell me what it means not the circuit diagram?
<froese>
libv: right, a channel filled with 151 people interested in allwinner boards about the first board with an ethernet switch chip built in.
<libv>
froese: of which about 10 will be alive
<libv>
second, that thing is using the banana pi, which is everything but a community device, and which is therefor not at all commonly available within this crowd
<froese>
see, so now i at least know, that banana pi isn't well regarded here ;-)
<libv>
why would it be?
<libv>
its done by a bad cheap chinese manufacturer who looks to cash in on raspberry pi in the most horrible way possible
<froese>
i don't know. why not?
<libv>
they tried hard to mimic the look of the rpi
<libv>
but their connectors are off so it won't even fit in raspberry pi housings
<froese>
isn't that the "chinese way"?
<libv>
froese: and we should regard it well, why exactly?
<astr>
libv, nope schematics are definitely useless
<libv>
astr: then we will be of no help either
<astr>
hehe
<astr>
I was wondering if it was a a10 soc thing
<libv>
astr: i am sure that if someone would actually try to read the schematics, and would try to match it up with the datasheet and user manual, he/she would end up being able to make sense of it
bengal has quit [Quit: Leaving]
<astr>
got the usermanual for the board, laking a datasheet for the soc got the manual for the soc but that isn't much use. olimex don't link to datasheet, assumed it was hard to get. then again maybe its somewhere on linux-sunxi/github....
<astr>
sorry t bother you
<libv>
astr: try looking at the SoC page on our wiki
FreezingCold has quit [Ping timeout: 250 seconds]
konradoo77 has quit [Ping timeout: 246 seconds]
<froese>
another shot in the dark: what's the status of the mainline kernel regarding battery charging (cubietruck)? the last infos i find are a couple of month old.
<ssvb>
hramrach_: guess what? you were right, I already happen to have one magic usb hub, which unconditionally provides 5V back :)
ninolein has joined #linux-sunxi
<ssvb>
hramrach_: now let's see if I can tweak the kernel code to reliably use it as a source of power for a cubieboard and still use it as a hub to connect usb peripherals
hramrach_ has quit [Remote host closed the connection]
bsdfox has quit [Ping timeout: 246 seconds]
hramrach_ has joined #linux-sunxi
ssvb has quit [Ping timeout: 272 seconds]
ssvb has joined #linux-sunxi
sehraf has joined #linux-sunxi
xavia has quit [Remote host closed the connection]