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
<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]
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]
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
<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 :)