Turl 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
ricardocrudo has quit [Ping timeout: 265 seconds]
Andy-D has quit [Ping timeout: 256 seconds]
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
vishnup has joined #linux-sunxi
khuey has quit [Ping timeout: 252 seconds]
khuey has joined #linux-sunxi
vishnup has quit [Ping timeout: 276 seconds]
kaspter has joined #linux-sunxi
rellla has quit [Quit: see you later]
vishnup has joined #linux-sunxi
rellla has joined #linux-sunxi
naobsd has joined #linux-sunxi
vishnup has quit [Ping timeout: 256 seconds]
vishnup has joined #linux-sunxi
vishnup has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
naobsd has quit [Quit: naobsd]
cnxsoft has joined #linux-sunxi
egbert has quit [*.net *.split]
fredy has quit [*.net *.split]
TJvV has quit [*.net *.split]
Tartarus has quit [*.net *.split]
kevinsan has quit [*.net *.split]
Zotan has quit [*.net *.split]
fest has quit [*.net *.split]
TheSeven has quit [Ping timeout: 265 seconds]
TheSeven has joined #linux-sunxi
p1u3sch1 has quit [Ping timeout: 245 seconds]
bfree has quit [Ping timeout: 265 seconds]
p1u3sch1 has joined #linux-sunxi
bfree has joined #linux-sunxi
egbert has joined #linux-sunxi
Tartarus has joined #linux-sunxi
fredy has joined #linux-sunxi
TJvV has joined #linux-sunxi
fest has joined #linux-sunxi
kevinsan has joined #linux-sunxi
Zotan has joined #linux-sunxi
khuey is now known as khuey|away
vishnup has quit [Ping timeout: 265 seconds]
bbrezillon has quit [Quit: WeeChat 0.4.2]
JohnDoe_71Rus has joined #linux-sunxi
pitillo_ is now known as pitillo
pitillo has quit [Changing host]
pitillo has joined #linux-sunxi
reinforce has joined #linux-sunxi
sanzoghenzo has joined #linux-sunxi
<sanzoghenzo> Hi all, I'm trying to use my olinuxino A20 with an old monitor that supports resolutions up to 1440x900 60Hz via HDMI to Dvi adapter, but after the kernel takes over I cannot see anything. Using arch Linux arm,only console for now
HeHoPMaJIeH has joined #linux-sunxi
sehraf has joined #linux-sunxi
HoloIRCUser1 has joined #linux-sunxi
sanzoghenzo has quit [Ping timeout: 256 seconds]
domidumont has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
Andy-D has joined #linux-sunxi
domidumont has joined #linux-sunxi
domidumont has quit [Remote host closed the connection]
domidumont has joined #linux-sunxi
penghb has joined #linux-sunxi
penghb has quit [Client Quit]
<HoloIRCUser1> I tried to change the display mode in the fex file but nothing changed. Note that I see only fbcon and not fb0 in sysfs
HoloIRCUser1 is now known as sanzoghenzo
Andy-D has quit [Ping timeout: 245 seconds]
bbrezillon has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 245 seconds]
Andy-D has joined #linux-sunxi
iamfrankenstein has joined #linux-sunxi
naobsd has joined #linux-sunxi
prz has joined #linux-sunxi
vishnup has joined #linux-sunxi
Andy-D has quit [Ping timeout: 252 seconds]
vishnup has quit [Read error: Connection reset by peer]
vishnu_ has joined #linux-sunxi
vishnu_ has quit [Ping timeout: 244 seconds]
gianMOD has joined #linux-sunxi
awe00 has joined #linux-sunxi
hansg has joined #linux-sunxi
sanzoghenzo has quit [Remote host closed the connection]
hansg has quit [Client Quit]
ricardocrudo has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
Black_Horseman has joined #linux-sunxi
gianMOD has joined #linux-sunxi
mauro_ has joined #linux-sunxi
Xaros has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 246 seconds]
Thanatos has joined #linux-sunxi
Xaros has quit [Ping timeout: 276 seconds]
gianMOD has quit [Remote host closed the connection]
Thanatos has quit [Ping timeout: 245 seconds]
vbmithr_ has joined #linux-sunxi
lioka_ has joined #linux-sunxi
Akagi201_ has joined #linux-sunxi
ijc_ has joined #linux-sunxi
lioka has quit [*.net *.split]
vbmithr has quit [*.net *.split]
ijc has quit [*.net *.split]
lioka_ is now known as lioka
lioka has quit [Changing host]
lioka has joined #linux-sunxi
vishnup has joined #linux-sunxi
T0mW has joined #linux-sunxi
vishnup has quit [Ping timeout: 272 seconds]
ijc_ is now known as ijc
vishnup has joined #linux-sunxi
ricardocrudo has quit [Ping timeout: 264 seconds]
vishnup has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
Akagi201_ has quit [Remote host closed the connection]
gianMOD has joined #linux-sunxi
gianMOD has quit [Remote host closed the connection]
naobsd has quit [Remote host closed the connection]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
mauro_ has quit [Ping timeout: 245 seconds]
Akagi201_ has joined #linux-sunxi
pekka20 has quit [Quit: WeeChat 1.0.1]
nove has joined #linux-sunxi
gianMOD has joined #linux-sunxi
vishnup has quit [Ping timeout: 240 seconds]
vishnup has joined #linux-sunxi
vishnup has quit [Remote host closed the connection]
vishnup has joined #linux-sunxi
vishnu_ has joined #linux-sunxi
vishnup has quit [Read error: Connection reset by peer]
prz has quit [Ping timeout: 264 seconds]
prz has joined #linux-sunxi
Xaros has joined #linux-sunxi
Black_Horseman has quit [Ping timeout: 264 seconds]
Xaros has quit [Ping timeout: 276 seconds]
pekka20 has joined #linux-sunxi
iamfrankenstein1 has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 264 seconds]
vishnu_ has quit [Ping timeout: 244 seconds]
kaspter has quit [Ping timeout: 244 seconds]
leviathancn has joined #linux-sunxi
SHINOBI has joined #linux-sunxi
vishnup has joined #linux-sunxi
SHINOBI has left #linux-sunxi [#linux-sunxi]
iamfrankenstein has joined #linux-sunxi
iamfrankenstein1 has quit [Ping timeout: 245 seconds]
iamfrankenstein has quit [Ping timeout: 264 seconds]
arete74 has quit [Ping timeout: 245 seconds]
iamfrankenstein has joined #linux-sunxi
quitte has joined #linux-sunxi
naobsd has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 244 seconds]
JohnDoe_71Rus has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
iamfrankenstein has joined #linux-sunxi
vishnup has quit [Ping timeout: 272 seconds]
leviathancn has quit [Quit: No Ping reply in 180 seconds.]
leviathancn has joined #linux-sunxi
joost_dtn has joined #linux-sunxi
ricardocrudo has joined #linux-sunxi
prz has quit [Quit: Leaving.]
cnxsoft has quit [Quit: cnxsoft]
foudubassan has quit [Remote host closed the connection]
<jemk> rellla: i guess no, because how vdpau works you will almost always have a different rgba_surface
<rellla> jemk: but isn't current data equal to the previous data if nothing has changed? i try to find a way to only update the osd layer, when we have a change in the data...
foudubassan has joined #linux-sunxi
<jemk> rellla: everything gets redrawn every frame, even if nothing (or only the video layer) changed, thats how vdpau works
<rellla> jemk: hm. the dirty area thing only redraws the part of the rect, that is dirty?
<jemk> rellla: most players draw the osd to a seperate Output(or Bitmap)Surface and copy it to every frame OutputSurface, that could be optimized by detecting this and not copying it, and instead showing the seperate OutputSurface as top layer
<jemk> rellla: the dirty area mostly prevents clearing the whole surface
<jemk> *clearing before redraw
<rellla> jemk: we do show the osd on a separate top layer, don't we?
<jemk> rellla: yes, we do, but we still copy it each frame
leviathancn has quit [Ping timeout: 255 seconds]
<rellla> what is the resource intensive part? the ioctls in the presentation queue, or the rgba_blit?
<jemk> rellla: the rgba_blit, it uses g2d and doesn't use much cpu, but it takes time and memory bandwidth
pekka20 has quit [Quit: WeeChat 1.0.1]
pekka20 has joined #linux-sunxi
<rellla> jemk: so is it possible at all to let rgba_render_surface check, if the surface has changed? or has the blit to be done anyway. i'm a little bit confused :p
<jemk> rellla: depends, if it's only a single blit to the target you could show the source on the layer instead of copying it to the target
ssvb has joined #linux-sunxi
alexvf has joined #linux-sunxi
<alexvf> hi guys, how can i check if hdmi glitches running at 1080p@50 is due to insufficient memory bandwidth remaining for the display?
mmarker has quit [Ping timeout: 265 seconds]
<alexvf> i'm running a media kiosk in a20 and i can't get a decent hdmi signal at 1080p50
<rellla> jemk: that would not be the way to go.
reinforce has quit [Quit: Leaving.]
<rellla> i want someone to check if the rgba data has changed. if so, skip the blit and take the old rgba surface. hm.
<rellla> there must be a way to sth like "if(src == old_src && ...) { dest = old_dest } else { rgba_blit }
quitte has quit [Read error: Connection reset by peer]
jackdaniel has joined #linux-sunxi
<jackdaniel> hello
<jackdaniel> I have a question - is there any recent work on sound on A20, or Emilio branch is most recent - and does it work just fine, or there are some gotchas? And if yes - is it desireable to rebase his work on current sunxi-next?
quitte has joined #linux-sunxi
domidumont has quit [Read error: Connection reset by peer]
xomb has joined #linux-sunxi
Andy-D has joined #linux-sunxi
afaerber_ is now known as afaerber
afaerber_ has joined #linux-sunxi
afaerber_ has quit [Read error: Connection reset by peer]
<jemk> rellla: that should be possible too, but you will still have unnecessary copies when the data changes
SQUelcher has joined #linux-sunxi
<SQUelcher> hi
<rellla> jemk: "unnecessary copies" <- what do you mean with that?
afaerber has quit [Ping timeout: 272 seconds]
<forkit1> is there a decent working buildroot env for A20's?
<SQUelcher> I'm experimenting with the mainline kernel on a BPi-R1 board, is is booting up fine and with some additional patches, the switch is also working, but i'm unable to turn the sata power on..
<SQUelcher> On sunxi-uboot, you can enable it with a certain option in the .fex file, but i'm unable to translate it to mainline uboot
<forkit1> is the A20 big endian or little endian?
<xomb> .fex is needed in building the uboot?
<forkit1> xomb: no
<xomb> but can be included?
<forkit1> idk. Maybe in sunxi-uboot
<xomb> i have a .fex file for my board but i didn't find a way to use it.
<xomb> i thoght it was for the android version of the system
<forkit1> you compile it to script.bin and put script.bin in the first vfat partition on the sdcard.
<xomb> i bet thats my problem from yesterday
<forkit1> I believe there are u-boot environmental variables that reference script.bin
<xomb> also. thank you for the help back then. i apprecaite it
<forkit1> hahaa no big deal
<xomb> if i knew the community was so nice i would have came here earlier to ask for help
<forkit1> ive been here 1 week?
xomb_ has joined #linux-sunxi
<xomb_> i'm having this random drops from the irc.. dunno
<xomb_> ths is my second day here :D
<mripard_> jackdaniel: I'm taking over that job, but haven't really started yet
<mripard_> hans' picked them in his sunxi-wip branch
<mripard_> that's probably the more up-to-date branch currently
afaerber has joined #linux-sunxi
xomb has quit [Ping timeout: 246 seconds]
<mripard_> SQUelcher: your patches for the switch are welcome :)
<mripard_> SQUelcher: what is the SATA power connected to ?
<mripard_> forkit1: both, as any ARM CPU
<mripard_> I'm not sure anyone ever booted it in big endian though
<SQUelcher> mripard_: a working .fex has "sata_power_en = port:PB03<1><default><default><0>" in it
Netlynx has joined #linux-sunxi
<SQUelcher> mripard_: sadly they're not my patches, they're from https://github.com/Dh0mp5eur/BCM53125-Mainline-Patches ;)
<jackdaniel> mripard_: thanks, I'll check there then (I'm in a middle of rebasing this now)
xomb_ has quit [Ping timeout: 246 seconds]
xomb has joined #linux-sunxi
21WABWOCA has joined #linux-sunxi
reinforce has joined #linux-sunxi
21WABWOCA has quit [Quit: Leaving]
Andy-D has quit [Ping timeout: 256 seconds]
bonbons has joined #linux-sunxi
<SQUelcher> mripard_: it seems i'm getting closer, the hdd spins up when i push reset (after fiddling with the .dts)
<jackdaniel> if I'll manage to run audio codec on cubieboard2, should I write patch with dts to mailinglist, or rather make pull request to Hans branch on github?
<alexvf> does someone know if hdmi glitches running at 1080p@50 is due to insufficient memory bandwidth remaining for the display?
<alexvf> has this problem been fixed?
quitte has quit [Read error: Connection reset by peer]
Andy-D has joined #linux-sunxi
<ssvb> alexvf: this depends on how you have it configured
Dodger78 has quit [Read error: Connection reset by peer]
Akagi201_ has quit [Remote host closed the connection]
<SQUelcher> shit, i've changed something and i can't get it back to work :<
<ssvb> alexvf: moreover, without the symptoms description together with some information about your test setup and hardware, it is difficult to understand what kind of problem you have encountered
xomb has quit [Ping timeout: 246 seconds]
<ssvb> alexvf: you can always try to do some basic debugging yourself before asking for help, for example reducing the screen resolution and changing some other things may provide some insights
<SQUelcher> mripard_: I guess it is working partially now, I haven't found out how to enable sata power properly on boot, but if I push the reset button twice (in u-boot), it spins up... $)
<forkit1> Haha apparently you can run BSD in Big Endian http://wiki.netbsd.org/ports/evbarm/allwinner/#index5h1
khuey|away is now known as khuey
awe00 has quit [Ping timeout: 250 seconds]
ricardocrudo has quit [Remote host closed the connection]
<SQUelcher> argh. okay. it's working now.
<SQUelcher> Okay, for the log: To get SATA power working on the Banana Pi R1 board just add SATAPWR=SUNXI_GPB(3) to CONFIG_SYS_EXTRA_OPTIONS in your u-boot .config
<alexvf> ssvb: i had already done debug, i only got shaking screen at 1080p@50/60, not at 1080i nor 1080p24
<ssvb> alexvf: shaking screen on *a20*?
<alexvf> ssvb: and i already changed dram_clk from 432 to 480 and even 552
<alexvf> yep
gianMOD has quit [Remote host closed the connection]
<ssvb> what kind of test are you running?
<ssvb> do you get the same shaking screen with https://github.com/ssvb/lima-memtester ?
<alexvf> i am running a media kiosk
<ssvb> if you have a better testcase for this particular problem (easily reproducible by other people), it would be very much welcome
<alexvf> ok, i will try lima-memtester
<ssvb> thanks
<alexvf> you are welcome
skoperst has joined #linux-sunxi
<forkit1> Has anyone setup a working buildroot for an Allwinner A20 based system?
<ssvb> forkit1: for what kind of system?
<forkit1> Olimex A20
<forkit1> Lime2 really
<ssvb> buildroot kinda works nicely for generating initramfs images, but your mileage may vary
<ssvb> it depends on what you actually need
<forkit1> End goal is single image to deploy with slipstream'd configs onto multiple (20s) boards
domidumont has joined #linux-sunxi
pmattern has joined #linux-sunxi
<ssvb> multiple lime2 boards?
<forkit1> Functionally multiple A20SOMs (which looks like a Lime2) plugged into custom motherboards
<ssvb> this is not necessarily what you need, but might be interesting to check
<forkit1> I think I did, but it didlt like my ethernet card
steeve has joined #linux-sunxi
<ssvb> hmm, can you provide more details?
<forkit1> I honestly think the hardware is broken - I get a whole slew of errors when doing anything with eth0
<ssvb> does the vendor provide any kind of validation image?
<forkit1> im curretly soldring some wires to a ethernet switch in MII mode to try to troubleshoot what is going on.
<forkit1> Yep, and it doesnt work either.
<ssvb> if this is lime2, then it should work fine
<forkit1> its basically a lime2 with the USB, power reg, and ethernet seperated out by bus.
<ssvb> if it is something that is kinda supposed to be like lime2, then you need to be careful with the selection of the right fex and/or dtb files
plaes has quit [Ping timeout: 248 seconds]
plaes has joined #linux-sunxi
<forkit1> true, Im working with mainline, so I need to get the correct dtb file (vendor doesnt supply any). Debian's mainline kernel boots and 90% works, except the ethernet, and using Lime2's dtb causes bootloops.
premoboss has joined #linux-sunxi
<forkit1> is there a way to go from dtb->dte->dtb?
FDCX_ has joined #linux-sunxi
<ssvb> forkit1: yes, to some extent (some cosmetic/formatting information is lost on the dts->dtb->dts roundtrip) but you don't need to do this
dev1990 has joined #linux-sunxi
<ssvb> forkit1: you can find the lime2 dts file in the linux kernel sources
<forkit1> is it olimex supplied or user supplied? I might need to edit for A20SOM
<ssvb> but the vendor really needs to provide some sort of the hardware description information, at least via a properly working fex file
<ssvb> if olimex is your hardware vendor, then you may try to ask in the #olimex channel
reinforce has quit [Quit: Leaving.]
khuey is now known as khuey|away
Netlynx has quit [Quit: Leaving]
khuey|away is now known as khuey
<forkit1> can someone explain to me the difference between MAC and PHY modes in MII/RMII/RGMII?
<forkit1> is one the master and the other slave?
awe00 has joined #linux-sunxi
joost_dtn has quit [Remote host closed the connection]
khuey is now known as khuey|away
silentcreek has joined #linux-sunxi
<silentcreek> Hi! Aside from enabling "Support for frame buffer devices" and "Simple framebuffer support" in the Kernel configuration, is there something else to do, to get Simple Frambuffer working on mainline? Like for example, some U-Boot settings in the boot.cmd/boot.src file?
<silentcreek> I'm running Kernel 4.0.0 and U-Boot 2015.04. U-Boot HDMI output works fine, but I don't see any output after loading the Kernel (it boots fine though - I can log in via ssh and everything works as expected).
<ssvb> silentcreek: maybe you want "Framebuffer Console support" too (this seems to be a rather popular problem)
<ssvb> maybe mripard_ could consider adding this information to the mainline kernel wiki page :-)
<silentcreek> If I have the info, I'm also willing to edit the wiki ;)
<ssvb> sure you can :-)
<atsampson> ssvb: the next question after that tends to be about having console=tty1 rather than console=/dev/ttyS0 in the boot args...
<ssvb> right
<silentcreek> I'm also thinking about how the wiki could be updated and cleaned up a bit. There are quite a few places or passages where I know the information is outdated, insufficient or conflicting with other wiki contents. It's just that I stumble about these contents, but I don't have all the info (or I'm just not sure) to update it. However, that's a bigger project - not for tonight.
<mripard_> jackdaniel: send it to the ml
<mripard_> ssvb: anyone can edit the wiki :)
gianMOD has joined #linux-sunxi
<ssvb> mripard_: sure, but it's up to you to at least pick the default config options for sunxi :-) and the popular config tweak recommendations are also very much related
gianMOD has quit [Remote host closed the connection]
<ssvb> nobody wants to convert the basic kernel compilation/usage instructions in the wiki into an unwieldy mess, so you have the privilege to take care of it
<mripard_> ssvb: the thing is, a configuration is very personal
<mripard_> we could enable simplefb
<mripard_> but whether we want the framebuffer console is very debatable
a1d3s558 has joined #linux-sunxi
<silentcreek> mripard: I don't think it's neccessary to enable it by default, as long as people can find the info on how to enable it on the wiki. At the moment it doesn't seem complete, so after I recompiled my kernel and verified the steps, I will update the wiki. And don't get me wrong, this is not a complaint. I'm very grateful for all the work you and other community members put into this.
a1d3s|away has quit [Quit: Serverwechsel]
<mripard_> silentcreek: still, ssvb is right and people tend to rant more about the missing options, but never actually post anything to enable them
<silentcreek> I think it's quite amazing to see how far mainline support has come and how well it runs on sunxi devices (well, I can only speak for A20). Especially if you look at other cheap SoCs where people are stuck with old and/or horribly hacked kernels, it's nice to know that with sunxi suport in mainline, you can keep your devices up to date with little effort.
ricardocrudo has joined #linux-sunxi
xomb has joined #linux-sunxi
<ssvb> mripard_: yeah, I had a feeling that you personally don't like the framebuffer console for whatever reason and that this could be the reason why it is still missing in the wiki page
<ssvb> the point is that we don't want to convert the wiki page into a freaking encyclopedia about kernel configuration
<ssvb> but the wiki page is still useful for addressing some of the most popular questions/pitfalls
<mripard_> ssvb: no, not really
<mripard_> but I'd really prefer to have people actually get what the configuration is about
<mripard_> and why "I don't have anything on the display" is normal when you don't have anything that display something
<mripard_> of course I don't want it to become an encyclopedia
<mripard_> but it really shouldn't be
Andy-D has quit [Ping timeout: 246 seconds]
delfes has quit [Quit: Leaving]
gianMOD has joined #linux-sunxi
khuey|away is now known as khuey
delfes has joined #linux-sunxi
Andy-D has joined #linux-sunxi
domidumont has quit [Ping timeout: 246 seconds]
bonbons has quit [Quit: Leaving]
diego71_ has joined #linux-sunxi
diego71 has quit [Ping timeout: 264 seconds]
gianMOD has quit [Remote host closed the connection]
<silentcreek> ssvb: So, I recompiled the kernel with the additional CONFIG_FRAMEBUFFER_CONSOLE=y and changed the console to console=tty1 in boot,cmd. Now it works as expected. Thank you. I will update the wiki.
<silentcreek> Oh, and thanks to atsampson as well. ;)
nove has quit [Quit: nove]
silentcreek has quit [Quit: Page closed]
Black_Horseman has joined #linux-sunxi
Black_Horseman has joined #linux-sunxi
sehraf has quit [Quit: www.miranda-fusion.de ... be part of it...]
Akagi201_ has joined #linux-sunxi
skoperst has quit [Ping timeout: 246 seconds]
iamfrankenstein has quit [Quit: iamfrankenstein]
gianMOD has joined #linux-sunxi
FDCX_ has quit [Ping timeout: 255 seconds]
gianMOD has quit [Ping timeout: 256 seconds]
awe00 has quit [Ping timeout: 256 seconds]
dev1990 has quit [Quit: Konversation terminated!]
pmattern has quit [Quit: Genug für heute.]
Turl has quit [Quit: >.<]
Turl has joined #linux-sunxi
Andy-D has quit [Ping timeout: 252 seconds]
ricardocrudo has quit [Remote host closed the connection]
adj__ has joined #linux-sunxi
adj_ has quit [Ping timeout: 240 seconds]