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
chlorine has quit [Ping timeout: 276 seconds]
libv has quit [Ping timeout: 260 seconds]
fl_0 has quit [Ping timeout: 256 seconds]
libv has joined #linux-sunxi
nuuuciano has quit [Read error: Connection reset by peer]
fl_0 has joined #linux-sunxi
<tuxillo> BenG83_: any way to avoid it?
<tuxillo> (other than disconnecting the cable)
<edfox> a diode
<tuxillo> i won't be soldering anything
<edfox> hot glue it!
<tuxillo> hehe
chomwitt has quit [Quit: WeeChat 1.0.1]
libv has quit [Ping timeout: 260 seconds]
_whitelogger has joined #linux-sunxi
kaspter has joined #linux-sunxi
<skiboy> How does one become an effective kernel contributor? How do you verify that your patches are good enough, and meet the coding standards that are expected? Is there a handy document with this information?
ninolein_ has joined #linux-sunxi
ninolein has quit [Ping timeout: 276 seconds]
<DonkeyHotei> to start off with, there is checkpatch.pl in the scripts/ dir
<skiboy> DonkeyHotei: I'm guessing it makes sure that your patch conforms to the coding standards?
<DonkeyHotei> it's not thorough, but it checks a few basics
<skiboy> I just forsee myself submitting a few patches in the future, but I prefer not to be on the receiving end of a Torvaldian rant.
uwe_ has quit [Ping timeout: 276 seconds]
<DonkeyHotei> the script won't keep you from making grievous errors deserving of that, but it is a necessity
<skiboy> Are there people that can be politely asked to review a patch before it is publicly submitted?
<DonkeyHotei> #kernelnewbies
<DonkeyHotei> i think it's here on freenode
<kilobyte> there are two: one on freenode, one on OFTC
<skiboy> excellent
<skiboy> It looks like the one on OFTC is more populous.
uwe_ has joined #linux-sunxi
<skiboy> Thanks for the pointers!
dddddd has quit [Remote host closed the connection]
uwe_ has quit [Ping timeout: 255 seconds]
uwe_ has joined #linux-sunxi
chlorine has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
chlorine has quit [Ping timeout: 256 seconds]
tllim has quit [Read error: Connection reset by peer]
nuuuciano has joined #linux-sunxi
edfox has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 255 seconds]
nuuuciano has quit [Ping timeout: 276 seconds]
nuuuciano has joined #linux-sunxi
lkcl has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 240 seconds]
Jackie_ has quit [Quit: Leaving]
<aalm> philectro, i think so, atleast i do. which board?
<aalm> philectro, if you need emac in u-boot, you might want to try something like my diff @ http://ix.io/EfH
ninolein_ has quit [Ping timeout: 255 seconds]
<icenowy[m]> BenG83_: yes
<icenowy[m]> oh this SPL currently can only do FEL boot
<icenowy[m]> as it do not support load 64-bit ATF & U-Boot
cnxsoft has joined #linux-sunxi
nothim has quit [Quit: Page closed]
<icenowy[m]> miasma: with a bootloader on SPI flash it can boot from a FAT partition ;-)
<icenowy[m]> smaeul: I'm curious how did you do the initial function scan on plain binary blobs?
tllim has joined #linux-sunxi
jtf has quit [Quit: WeeChat 1.9]
jtf has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
<smaeul> icenowy[m]: just look for bl or blx instructions, or in the case of or1k, l.jal
<smaeul> I'm assuming every target of a bl is a function (which is pretty reasonable)
<smaeul> additionally, for or1k, I treat unconditional branches at the end of a function as tail calls
<smaeul> this isn't useful for arm because the arm compiler likes to put unlikely branches after the exit point, with unconditional branches back up to the exit point
<smaeul> it's in scripts/gensyms
<wens> it really depends on the code
<smaeul> for the original brom I looked at (h5), I later verified that there were no branches of any kind into the middle of another function
<smaeul> because this simple version of static analysis doesn't catch function pointers or indirect function calls from a jump table
TheSeven has quit [Ping timeout: 276 seconds]
<icenowy[m]> jemk: (a long reply) reply to https://irclog.whitequark.org/linux-sunxi/2017-02-21#18895454
<icenowy[m]> There's a lock bit, which is BIT(3) of 0xfc, that prevents writing to ROTPK_HASH
<icenowy[m]> P.S. some interesting thing -- there's a eGON.BT0 string in SBROM
<icenowy[m]> smaeul: have you checked this?
<smaeul> no, I haven't had a chance to look at the sbrom at all beyond fixing and running the scripts
<smaeul> there's also BT0.NTAB which I don't recognize
joedj has quit [Remote host closed the connection]
lurchi_ has joined #linux-sunxi
<smaeul> looking at it now, the eGON.BT0 string is after the main function (so not a header), and it's not referenced from anywhere in the code
<smaeul> so AW probably forgot to delete the assembly file or something
lurchi__ has quit [Ping timeout: 256 seconds]
TheSeven has joined #linux-sunxi
joedj has joined #linux-sunxi
TheSeven has quit [Ping timeout: 255 seconds]
xes has quit [Read error: Connection reset by peer]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 256 seconds]
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
xes has joined #linux-sunxi
jbrown has quit [Ping timeout: 240 seconds]
tl_lim has joined #linux-sunxi
tllim has quit [Ping timeout: 265 seconds]
DullTube has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
philectro has quit [Ping timeout: 256 seconds]
<icenowy[m]> smaeul: P.S. H3 SBROM starts at 0xffff0000, not 0x0
<icenowy[m]> oh you noticed it
<icenowy[m]> and what's $d and $a ?
reinforce has joined #linux-sunxi
<smaeul> icenowy[m]: that's an arm assembler thing $d means data, $a is arm instructions, and $t is thumb instructions
xes_ has joined #linux-sunxi
<smaeul> because they're all mixed in the .text segment due to arm's limited relative address range
<smaeul> and the lack of 32-bit immediate loads
Putti has joined #linux-sunxi
<smaeul> so it places the too-complicated immediates at the end of each assembly file's text segment (or sometimes even in the middle of functions if they're too large) and uses pc-relative ldr's to access them
xes has quit [Ping timeout: 276 seconds]
<smaeul> the $d and $a and $t control the disassember's interpreting of the bytes. $d gets kept as ".word"
hardfalcon1 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 248 seconds]
phil42 has quit [Ping timeout: 256 seconds]
phil42 has joined #linux-sunxi
cnxsoft has quit [Read error: Connection reset by peer]
<icenowy[m]> thx for these arm assembly knowledge ;-)
cnxsoft has joined #linux-sunxi
phil42 has quit [Ping timeout: 248 seconds]
phil42 has joined #linux-sunxi
phil42 has quit [Ping timeout: 248 seconds]
reinforce has quit [Quit: Leaving.]
phil42 has joined #linux-sunxi
muvlon has joined #linux-sunxi
hardfalcon1 has quit [Ping timeout: 240 seconds]
nuuuciano has quit [Ping timeout: 240 seconds]
tl_lim has quit [Ping timeout: 265 seconds]
tl_lim has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
muvlon has quit [Ping timeout: 256 seconds]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 276 seconds]
muvlon has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
pgreco has joined #linux-sunxi
lemonzest has joined #linux-sunxi
bonbons has joined #linux-sunxi
hardfalcon1 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 240 seconds]
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 276 seconds]
enrico_ has joined #linux-sunxi
tl_lim has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
philectro has joined #linux-sunxi
BenG83_ has quit [Quit: Leaving]
<philectro> aalm, first board
<philectro> oops
<philectro> i mean cubieboard
msimpson has joined #linux-sunxi
ariendj has joined #linux-sunxi
mossroy has joined #linux-sunxi
ariendj has quit [Ping timeout: 268 seconds]
ariendj has joined #linux-sunxi
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
<wens> hmm, otg not working for me anymore
fkluknav has joined #linux-sunxi
chlorine_ has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
chlorine_ has quit [Read error: Connection reset by peer]
chlorine_ has joined #linux-sunxi
massi has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 265 seconds]
reinforce has joined #linux-sunxi
BenG83 has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
tkaiser has joined #linux-sunxi
<tkaiser> BenG83: In case you find time to test with H6 and SuperSpeed attached SSD can you please also update over at CNX? https://www.cnx-software.com/2018/01/10/25-orange-pi-lite2-board-comes-with-allwinner-h6-processor-802-11ac-wifi-ble-module-usb-3-0-and-more/#comment-550859
<BenG83> tkaiser, I'll put it on the TODO list
BenG83 has quit [Remote host closed the connection]
DullTube has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
BenG83 has joined #linux-sunxi
BenG83 has quit [Remote host closed the connection]
<sunxi_fan> hello, in a dual head setup on A20 i have KMS/DRM working ok on LCD+HDMI.. but with FBDEV emulation i get only a single dev node /dev/fb0 and a "mirror effect" on both display. does anyone know if/how one can have two /dev/fbX for splitted screens?
BenG83 has joined #linux-sunxi
chomwitt has joined #linux-sunxi
mpmc has quit [Quit: ZNC 1.6.3+deb1+jessie0 - http://znc.in]
chlorine_ has joined #linux-sunxi
chlorine has quit [Ping timeout: 265 seconds]
chlorine has joined #linux-sunxi
chlorine_ has quit [Ping timeout: 240 seconds]
edfox has joined #linux-sunxi
coco3431 has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
mpmc has joined #linux-sunxi
mpmc has quit [Client Quit]
chlorine has quit [Ping timeout: 276 seconds]
mpmc has joined #linux-sunxi
mpmc has quit [Client Quit]
Ntemis has joined #linux-sunxi
montjoie has quit [Quit: Lost terminal]
montjoie has joined #linux-sunxi
mpmc has joined #linux-sunxi
paulk-gagarine-s has joined #linux-sunxi
jbrown has joined #linux-sunxi
paulk-gagarine has quit [Ping timeout: 248 seconds]
mossroy has quit [Quit: Leaving]
BenG83 has quit [Remote host closed the connection]
ariendj has quit [Quit: No Ping reply in 180 seconds.]
ariendj has joined #linux-sunxi
<wens> nope, you need proper drm/kms for that
cnxsoft has quit [Quit: cnxsoft]
fl__0 has joined #linux-sunxi
willmore has quit [Ping timeout: 240 seconds]
fl_0 has quit [Ping timeout: 248 seconds]
willmore has joined #linux-sunxi
<mripard> the question is more, why do you want to use fbdev
<icenowy[m]> mripard: there can be legacy code ;-)
tom_nov has joined #linux-sunxi
<sunxi_fan> mripard: i'm sampling some Qt exampleson libQt 5.9.1 of buildroot 2017.08 and i find some lower level function like tgsi*machine_run() hogging one SOC core..
<sunxi_fan> as debugging the libQt stacks looks a too heavy effort :-) i was looking for a shortcut! :-)
<sunxi_fan> anyway, as i see so much interest, let me find a simple code to send a better report of the main issue i find..
<sunxi_fan> i'm talking of course of "sw rendering" of "openGl primitives through .../dri/kms_swrast.so and not the "mali.ko" route..
<sunxi_fan> indeed, i don't look for 3D performance, the same code was runing fine with simpleFb and now works ok on fbdev emulation and strikes a different (heeavy) path on DRM/KMS native.. i've been profiling with callgrind but the stack looks so deep!!
BenG83 has joined #linux-sunxi
leviathanch has joined #linux-sunxi
BenG83 has quit [Ping timeout: 248 seconds]
<icenowy[m]> jernej: I think we should use a VI as the primary layer, not a UI
BenG83 has joined #linux-sunxi
chlorine has joined #linux-sunxi
<sunxi_fan> for example the qt example analogClock is getting 100% CPU on native KMS and 0% CPU if i set in advance the env var "export QT_QPA_PLATFORM='linuxfb:fb=/dev/fb0' "
leviathanch has quit [Remote host closed the connection]
jernej_ has joined #linux-sunxi
<jernej_> icenowy[m]: I don't think that's wise. There is only one VI plane per mixer (except on V3) and it is the only one which supports YUV formats.
<jernej_> Kodi has renderer now which takes advantage of that
<jernej_> mpv too, I think
<KotCzarny> yeah, i wanted yuv support for years
<KotCzarny> pink
<KotCzarny> oops, wrong chan
<jernej_> mripard: Should I just send v3 of A83T HDMI driver or do you have a plan to review it later?
<mripard> jernej_: you can resend it
<jernej_> I waited because I though I will get some comments on bindings or driver
<sunxi_fan> this is the callgrind.out for the analog clock when lower level hogging a CPU core: https://drive.google.com/open?id=1XrmFYhIYgEOubY_dNqDRvyu5IU_WYTxj
massi has quit [Read error: Connection reset by peer]
massi has joined #linux-sunxi
jernej_ has quit [Ping timeout: 260 seconds]
<icenowy[m]> jernej: it has layers
<icenowy[m]> and I think alpha blending is more critical than YUV
dddddd has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
GrimKriegor has quit [Quit: oh bai bai bai]
<mripard> YUV is the only way to do proper hardware-accelerated video playback
<mripard> while in the other case, not a lot of compositors actually know how to use planes
GrimKriegor has joined #linux-sunxi
marble_visions has quit [Quit: bye]
marble_visions has joined #linux-sunxi
leviathanch has joined #linux-sunxi
<icenowy[m]> mripard: if a YUV is on the very top the cursor will hide on it
<icenowy[m]> which affects the experience
<icenowy[m]> it may not affect OTT usage, but for PC usage it hutrs
aalm has quit [Ping timeout: 248 seconds]
aalm has joined #linux-sunxi
<mripard> well, yes, but if there's no alpha in the format and the user chose it, with a higher zpos , then it's what they expect
<icenowy[m]> but I think we can use the layer in VI channel
<icenowy[m]> jernej: is this possible?
paulk-gagarine-s has quit [Ping timeout: 268 seconds]
tllim has joined #linux-sunxi
mossroy has joined #linux-sunxi
<tuxillo> hi
fkluknav has quit [Ping timeout: 248 seconds]
<tuxillo> sunxi-spl.bin is part of uboot right?
msimpson has quit [Quit: Leaving]
xes_ is now known as xes
fkluknav has joined #linux-sunxi
BenG83 has quit [Ping timeout: 276 seconds]
fl__0 has quit [Quit: STRG + Q]
<icenowy[m]> yes
leviathanch has quit [Ping timeout: 260 seconds]
leviathanch has joined #linux-sunxi
fl_0 has joined #linux-sunxi
chomwitt has quit [Quit: WeeChat 1.0.1]
JohnDoe_71Rus has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
leviathanch has joined #linux-sunxi
leviathanch has quit [Remote host closed the connection]
lamer15162080519 has joined #linux-sunxi
tkaiser has quit [Ping timeout: 265 seconds]
leviathanch has joined #linux-sunxi
lamer15162080519 has quit [Quit: jIRCii - http://www.oldschoolirc.com]
leviathanch has quit [Ping timeout: 256 seconds]
leviathanch has joined #linux-sunxi
scream has joined #linux-sunxi
<tuxillo> ok
tom_nov has quit [Quit: Leaving]
<tuxillo> for the sunxi-fel spl command I have to use uboot spl or is there any other thing that would allow me to run aarch64 code after it
<tuxillo> ?
<tuxillo> a year ago apritzel helped me with this. he told me you could spl the uart0-helloworld-sdboot.sunxi
<tuxillo> and then run the aarch64 code
_0x5eb_ has joined #linux-sunxi
mossroy has quit [Quit: Leaving]
chlorine has quit [Ping timeout: 276 seconds]
<KaZeR> hi there. the folks from NextThing directed me here. i'm trying to build an image for a chip pro, but i'm having trouble with uboot env vars not being picked up. is this the right place to ask?
<KotCzarny> you didnt provide all info
leviathanch has quit [Ping timeout: 256 seconds]
<KotCzarny> which uboot version are you using?
leviathanch has joined #linux-sunxi
fkluknav has quit [Ping timeout: 260 seconds]
specing has quit [Ping timeout: 276 seconds]
anarsoul|2 has joined #linux-sunxi
<KaZeR> KotCzarny: i'm quite new to uboot. package seems to be uboot-ww_2016.01_next
<KaZeR> last time i've used uboot was like 10 years ago on an OpenMoko Freerunner :)
leviathanch has quit [Ping timeout: 260 seconds]
specing has joined #linux-sunxi
leviathanch has joined #linux-sunxi
<KaZeR> KotCzarny: so the code is pulled from this repo : https://github.com/nextthingco/chip-u-boot/tree/ww/2016.01/next
massi has quit [Remote host closed the connection]
netlynx has joined #linux-sunxi
chlorine has joined #linux-sunxi
enrico_ has quit [Quit: Bye]
chlorine has quit [Ping timeout: 248 seconds]
aalm has quit [Ping timeout: 248 seconds]
matthias_bgg has quit [Ping timeout: 264 seconds]
<KaZeR> reading, thank you
phipli has joined #linux-sunxi
<jernej> icenowy[m]: Layers (no matter if UI or VI) can be used only if HW scaling is not used, since there is only one scaling unit per channel
<jernej> and usually you put video layer behind gui layer
<jernej> contrary how it's done in libvdpau-sunxi, I think
leviathanch has quit [Read error: Connection reset by peer]
leviathanch has joined #linux-sunxi
leviathanch has quit [Ping timeout: 248 seconds]
leviathanch has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
pmpp_ has joined #linux-sunxi
pmpp has quit [Disconnected by services]
JohnDoe_71Rus has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
pmpp_ is now known as pmpp
muvlon has quit [Quit: Leaving]
BenG83 has joined #linux-sunxi
SJRvanSchaik has joined #linux-sunxi
hardfalcon1 has quit [Ping timeout: 240 seconds]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
elros_ has joined #linux-sunxi
vagrantc has joined #linux-sunxi
aalm has joined #linux-sunxi
nothim has joined #linux-sunxi
hardfalcon has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 268 seconds]
nuuuciano has joined #linux-sunxi
lemonzest has quit [Quit: Quitting]
edfox has quit [Quit: Leaving]
dave0x6d has joined #linux-sunxi
netlynx has quit [Quit: Ex-Chat]
chomwitt has joined #linux-sunxi
ariendj has quit [Remote host closed the connection]
reinforce has quit [Quit: Leaving.]
bonbons has quit [Quit: Leaving]
scream has quit [Remote host closed the connection]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
matthias_bgg has joined #linux-sunxi
elros_ has quit [Quit: Communi 3.5.0 - http://communi.github.com]
pgreco has quit [Quit: Leaving.]
Mr__Anderson has quit [Remote host closed the connection]
IgorPec has quit [Ping timeout: 268 seconds]
willmore has quit [Ping timeout: 240 seconds]
leviathanch has quit [Remote host closed the connection]
tl_lim has joined #linux-sunxi
dave0x6d has quit [Quit: Connection closed for inactivity]
tllim has quit [Ping timeout: 276 seconds]
willmore has joined #linux-sunxi
chomwitt has quit [Quit: WeeChat 1.0.1]
chomwitt has joined #linux-sunxi
dddddd has quit [Read error: Connection reset by peer]