rellla 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 - *only registered users can talk*
parco has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 244 seconds]
[Awaxx] has quit [Ping timeout: 252 seconds]
[imback] has joined #linux-sunxi
[imback] has quit [Ping timeout: 252 seconds]
nuuuciano has joined #linux-sunxi
chomwitt has quit [Read error: Connection reset by peer]
_whitelogger has joined #linux-sunxi
xes has quit [Quit: bye..]
xes has joined #linux-sunxi
chomwitt has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
<wens> jernej: both the linker script and virt-v7.c check if CONFIG_ARMV7_SECURE_BASE is defined or not
victhor has quit [Ping timeout: 252 seconds]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-sunxi
lurchi_ is now known as lurchi__
dddddd has quit [Remote host closed the connection]
_whitelogger has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
chomwitt has quit [Ping timeout: 268 seconds]
<parco> any ideas why the DSI might be failing to bind? https://pastebin.com/raw/qVGauqLY
<parco> it's failing at line 108 in "sun4i_drv.c", and line 1032 of sun6i_mipi_dsi.c
<wens> -517 means -EPROBE_DEFER, i.e. some resource it needs is not available yet
<parco> oh awesome, how did you find that out ?
<wens> seen it enough times
<wens> it's in include/uapi/asm-generic/errno.h
<parco> ok cool, thanks :)
TheSeven has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
<parco> i wonder if its a requirement to modularize the drm and dsi bits, and load them in some order
<parco> right now i'm just compiling them in kernel
_whitelogger has joined #linux-sunxi
<wens> probe deferring is there to deal with re-ordering
<wens> it's likely that you missed some driver and something is not probing
<wens> panel, pwm, backlight, regulator, etc.
<wens> from what I can tell, your panel driver is asking for deferred probe. That means some resource the panel needs is not there yet
xyntrix has quit [Quit: Leaving]
<parco> wens: i'm using the panel-ilitek-ili9881c.c from /drivers/gpu/drm/panel
<parco> it looks like the only thing it will defer on is the backlight
<parco> and i'm actually not configured to compile that :)
<parco> progress! but now i'm hanging on "[ 1.122781] [drm] No driver support for vblank timestamp query."
lurchi_ has joined #linux-sunxi
TheSeven has quit [Ping timeout: 264 seconds]
TheSeven has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 244 seconds]
nuuuciano has quit [Ping timeout: 244 seconds]
<wens> that's just an info message
<wens> you probably want to turn on drm debug messages
<wens> add drm.debug=0x1e to your cmdline
<wens> i.e. bootargs
<parco> it hangs for about 30 seconds at line 193: https://pastebin.com/emnce2sP
selfbg has joined #linux-sunxi
IgorPec has joined #linux-sunxi
<parco> could this be something wrong with my panel driver?
parco has left #linux-sunxi [#linux-sunxi]
parco has joined #linux-sunxi
<parco> looks like the ili9881c.c driver makes a call to "mipi_dsi_dcs_set_tear_on", which my panel does not have. I wonder if that is what's creating the VBLANK interrupts
f0xx has joined #linux-sunxi
<parco> or maybe because i don't have something installed in userland, like xorg
iamfrankenstein has joined #linux-sunxi
<wens> I think someone else encountered that. it was due to either incorrect timings or some bug in the dsi driver
<wens> paulk-leonov: ^
<wens> anarsoul: ^ you as well?
<anarsoul> wens: ?
<anarsoul> I don't remember any issues with binding my panel
<anarsoul> parco: DSI is pretty sensitive to timings. If your timings are not correct you'll get no VBLANK interrupts
<parco> anarsoul: ok great, i just wanted to nail it down to my actual driver
<parco> i don't have any Xorg or the like installed though, will that be an issue?
<anarsoul> yeah, no vblank interrupts will mean that any attempt to wait for vblank will timeout
<anarsoul> it'll look like your system hangs for some time (30s?)
<parco> Exactly
<parco> then quickly spits out a bunch of stuff
<anarsoul> fix your timings
<anarsoul> :)
<anarsoul> panel timings I mean
<parco> so everything in my drm_display_mode struct?
<anarsoul> yes
oliver[m] has quit [Ping timeout: 256 seconds]
<wens> anarsoul: ah, wrong person then, might have been jernej
YannSoubeyrand[m has quit [Ping timeout: 240 seconds]
ildar has quit [Ping timeout: 240 seconds]
t4h4[m] has quit [Ping timeout: 260 seconds]
k40s[m] has quit [Ping timeout: 264 seconds]
GuLinux[m] has quit [Ping timeout: 256 seconds]
romainmahoux[m] has quit [Ping timeout: 260 seconds]
kuhn[m] has quit [Ping timeout: 260 seconds]
mic-e[m] has quit [Ping timeout: 255 seconds]
airwind has joined #linux-sunxi
<parco> this is gonna take a bit of digging, not sure how to map "qcom,mdss-dsi-panel-timings" to actual values
<parco> that still leaves me confused as to what would I expect to see if I don't have Xorg installed?
<parco> will the console just magically appear :)
<wens> Xorg is not needed to test panels. you can build libdrm, which has the `modetest` util
<parco> ok thanks, i'll get that installed after my vblanks start coming in
<parco> root
<parco> woops :/
oliver[m] has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
GuLinux[m] has joined #linux-sunxi
YannSoubeyrand[m has joined #linux-sunxi
romainmahoux[m] has joined #linux-sunxi
kuhn[m] has joined #linux-sunxi
k40s[m] has joined #linux-sunxi
t4h4[m] has joined #linux-sunxi
ildar has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 268 seconds]
reinforce has joined #linux-sunxi
fkluknav has joined #linux-sunxi
reinforce has quit [Client Quit]
IgorPec2 has joined #linux-sunxi
IgorPec has quit [Ping timeout: 264 seconds]
TheSeven has quit [Read error: Connection reset by peer]
TheSeven has joined #linux-sunxi
jstefanop has joined #linux-sunxi
reinforce has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
jstefanop has quit [Ping timeout: 264 seconds]
tllim has quit [Read error: Connection reset by peer]
tithrion has joined #linux-sunxi
tithrion has quit [Remote host closed the connection]
massi has joined #linux-sunxi
clemens3 has quit [Ping timeout: 252 seconds]
AneoX_ has joined #linux-sunxi
jstefanop has joined #linux-sunxi
AneoX has quit [Ping timeout: 252 seconds]
jstefanop has quit [Ping timeout: 268 seconds]
fkluknav has quit [Ping timeout: 268 seconds]
clemens3 has joined #linux-sunxi
jstefanop has joined #linux-sunxi
TheSeven has quit [Ping timeout: 276 seconds]
[7] has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
jstefanop has quit [Ping timeout: 244 seconds]
zumbi_ is now known as zumbi
matthias_bgg has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
jelly has quit [Quit: ""]
jelly-home has joined #linux-sunxi
Mylene_ is now known as Mylene
lkcl has joined #linux-sunxi
f0xx has quit [Ping timeout: 244 seconds]
mhlavink has joined #linux-sunxi
parco has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
Keziolio has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
elros1 has joined #linux-sunxi
parco has joined #linux-sunxi
parco has left #linux-sunxi [#linux-sunxi]
IgorPec2 has quit [Ping timeout: 244 seconds]
IgorPec has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
BenG83 has joined #linux-sunxi
f0xx has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
mavkhimenia has joined #linux-sunxi
mzki has quit [Ping timeout: 252 seconds]
fkluknav has joined #linux-sunxi
mzki has joined #linux-sunxi
victhor has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
selfbg1 has joined #linux-sunxi
selfbg has quit [Ping timeout: 268 seconds]
selfbg1 is now known as selfbg
<MartijnBraam> Hello, I'm currently trying to get mainline linux working on my A10 tablet for the postmarketOS project but I can't get any kernel output
<MartijnBraam> It's this device: http://linux-sunxi.org/Inet_1
<MartijnBraam> I compiled a mainline u-boot and got that working, I got it to the point where u-boot says "Starting kernel ..." but there's no output after that
<KotCzarny> enable earlyprintk?
<MartijnBraam> hmm I'll check if this kernel has EARLY_PRINTK enabled
<MartijnBraam> Hmm the wiki says "Pretty much useless on sunxi since some u-boot specific mechanism of printing to u-boot enabled serial port is used anyway and duplicates the earlyprintk functionality. Might come handy if you want to use another port, however. "
<KotCzarny> which wiki?
<MartijnBraam> I'm trying it anyway
<KotCzarny> first time i see it
<KotCzarny> and edit is quite old, january 2014
Gerwin_J has joined #linux-sunxi
<MartijnBraam> Adding early printk doesn't seem to change anything
<Wizzup> MartijnBraam: do you the right display options enabled? drm, etc?
<Wizzup> Oh, wait, do you have serial?
<KotCzarny> wizzup, he should see kernel booting in uart anyway
<MartijnBraam> Wizzup: I have a serial port soldered to the device
<KotCzarny> MartijnBraam: did you try booting some other kernel with that uboot?
<MartijnBraam> what do you mean other kernel? for some other random device?
<KotCzarny> no, i assume you have any working kernel
<KotCzarny> ie. original android or whatever
<MartijnBraam> I'll have to search for one, I couldn't find an android kernel source for this device
<KotCzarny> what is the device?
mavkhimenia has quit [Remote host closed the connection]
<MartijnBraam> Point of View Protab 2 XXL
mavkhimenia has joined #linux-sunxi
__martin has joined #linux-sunxi
<__martin> anarsoul?
<MartijnBraam> also for reference, the u-boot script I'm using: https://gist.github.com/MartijnBraam/c8462d1773f93ff6bddab35c8af60c93
mavkhimenia has quit [Remote host closed the connection]
<agraf> MartijnBraam: does the dtb have a stdout-path node in /chosen?
<agraf> MartijnBraam: in that case you can just pass "earlycon" on the kernel command line
<MartijnBraam> it has the stdout-path set to serial0:115200n8
victhor has quit [Ping timeout: 252 seconds]
<MartijnBraam> earlycon also doesn't change anything
<KotCzarny> there is still possibility your dt or kernel config to be wrong
<MartijnBraam> It's the same dts that u-boot is using, I'm using the inet1_defconfig as kernel config
IgorPec has joined #linux-sunxi
GrimKriegor has quit [Read error: Connection reset by peer]
GrimKriegor has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
aalm has quit [Ping timeout: 268 seconds]
clemens3 has quit [Remote host closed the connection]
mavkhimenia has quit [Remote host closed the connection]
clemens3 has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
matthias_bgg has quit [Ping timeout: 252 seconds]
nuuuciano has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
dddddd has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 264 seconds]
afaerber has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
aalm has joined #linux-sunxi
felipeduque has joined #linux-sunxi
rexxster has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
felipeduque has quit [Read error: Connection reset by peer]
felipeduque has joined #linux-sunxi
libv_ is now known as libv
elros1 has quit [Remote host closed the connection]
<MartijnBraam> I did a clean rebuild of the kernel using sunxi_defconfig but it doesn't change anything
jstefanop has joined #linux-sunxi
willmore has quit [Ping timeout: 260 seconds]
<miasma> MartijnBraam: "It's the same dts that u-boot is using" -- shouldn't you use the one generated when compiling the kernel?
<MartijnBraam> I mean the .dts in the kernel source is the same one as in the u-boot source I compiled
<miasma> also if the kernel is compressed with lz4, try something else. some older kernels had a problem with unaligned access & lz4
<miasma> i think it has been fixed in 4.18
<MartijnBraam> I'm building 4.18.4 now
jstefanop has quit [Ping timeout: 276 seconds]
<miasma> MartijnBraam: does the kernel output logs to the right serial port?
<MartijnBraam> I forgot early printk support in my previous build
<MartijnBraam> I hope so, every source I've found says I should use ttyS0 for the A10
<miasma> you could add several, just in case
<MartijnBraam> hmm ok
<MartijnBraam> I've added S0, S1 and S2 now
felipeduque has quit [Read error: Connection reset by peer]
elros1 has joined #linux-sunxi
<MartijnBraam> still nothing
<KotCzarny> check uboot's loading script too
<KotCzarny> maybe you are using conflicting memory locations
<MartijnBraam> ok, I have no idea what good and bad memory locations are and how to find out
<KotCzarny> check other a10/a20 ?
<KotCzarny> maybe take it for starters
<KotCzarny> you can omit initrd for now
tnovotny has joined #linux-sunxi
<KotCzarny> just try to get kernel start
<KotCzarny> and talk to you
<MartijnBraam> ok
<KotCzarny> another thing is trying zimage instead of uimage
<MartijnBraam> I tried that but didn't change anything
<KotCzarny> in my case the hardest part was to create proper DT file (i was trying to make my a13 boot)
willmore has joined #linux-sunxi
fkluknav has quit [Remote host closed the connection]
<MartijnBraam> With the other memory addresses it still won't work
<MartijnBraam> with kernel loaded to 0x42 and dtb to 0x43
fkluknav has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
airwind has quit [Quit: airwind]
lurchi_ is now known as lurchi__
f0xx has quit [Ping timeout: 252 seconds]
lurchi__ is now known as lurchi_
mavkhimenia has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
lurchi_ is now known as lurchi__
vicpt has joined #linux-sunxi
vicpt has quit [Remote host closed the connection]
vicpt has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
wwilly has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
wasutton3_mobile has joined #linux-sunxi
mavkhimenia has quit [Remote host closed the connection]
tllim has joined #linux-sunxi
HeavyMetal has quit [Ping timeout: 264 seconds]
cnxsoft has quit [Quit: cnxsoft]
HeavyMetal has joined #linux-sunxi
HeavyMetal has quit [Changing host]
HeavyMetal has joined #linux-sunxi
wwilly_ has joined #linux-sunxi
fkluknav has quit [Ping timeout: 264 seconds]
wwilly has quit [Ping timeout: 244 seconds]
vicpt has quit [Quit: Leaving]
wwilly_ has quit [Quit: Leaving]
wwilly has joined #linux-sunxi
sunshavi has quit [Ping timeout: 252 seconds]
fkluknav has joined #linux-sunxi
wasutton3_mobile has quit [Ping timeout: 252 seconds]
jaganteki has joined #linux-sunxi
return0e has quit [Remote host closed the connection]
BenG83 has quit [Quit: Leaving]
return0e has joined #linux-sunxi
sunshavi has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
jernej has joined #linux-sunxi
jernej has left #linux-sunxi [#linux-sunxi]
jernej has joined #linux-sunxi
jstefanop has joined #linux-sunxi
jernej has quit [Client Quit]
jernej has joined #linux-sunxi
jernej has quit [Client Quit]
MX-Master has joined #linux-sunxi
blu-boards has joined #linux-sunxi
jernej has joined #linux-sunxi
blu-boards has quit [Quit: Leaving]
MX-Master has quit [Quit: Leaving]
fkluknav has quit [Ping timeout: 268 seconds]
reinforce has quit [Quit: Leaving.]
mpmc has quit [Ping timeout: 244 seconds]
mpmc has joined #linux-sunxi
return0xe has joined #linux-sunxi
return0e has quit [Ping timeout: 244 seconds]
vicpt has joined #linux-sunxi
fkluknav has joined #linux-sunxi
__martin has quit [Quit: Leaving]
clemens3 has quit [Ping timeout: 276 seconds]
vicpt has quit [Quit: Leaving]
massi has quit [Remote host closed the connection]
jelly-home is now known as jelly
iamfrankenstein has joined #linux-sunxi
wasutton3_mobile has joined #linux-sunxi
aalm has quit [Ping timeout: 276 seconds]
afaerber has quit [Quit: Leaving]
popolon has joined #linux-sunxi
|jbrown| has joined #linux-sunxi
reinforce has joined #linux-sunxi
vagrantc has joined #linux-sunxi
jaganteki has quit [Quit: Page closed]
wasutton3_mobile has quit [Ping timeout: 272 seconds]
JohnDoe3 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 252 seconds]
matthias_bgg has quit [Quit: Leaving]
mavkhimenia has quit [Remote host closed the connection]
wasutton3_mobile has joined #linux-sunxi
tnovotny has quit [Ping timeout: 264 seconds]
popolon has quit [Ping timeout: 252 seconds]
popolon has joined #linux-sunxi
fkluknav has quit [Ping timeout: 272 seconds]
anarsoul|2 has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Ntemis has joined #linux-sunxi
wasutton3_mobile has quit [Ping timeout: 244 seconds]
parco has joined #linux-sunxi
parco has left #linux-sunxi [#linux-sunxi]
parco has joined #linux-sunxi
<tautologico> I want to read from/write to NAND in FEL mode, ideally from a program and not "manually". what's the simplest way to do that?
IgorPec has quit [Ping timeout: 268 seconds]
victhor has joined #linux-sunxi
<tautologico> I thought about adapting something from uboot, either mainline or the sunxi fork
<elros1> I was able to read from nand using felix: https://github.com/lolet/FELix
<tautologico> elros1: I think this is just what I need, will investigate further. Thanks a lot, I'm kinda cross-eyed from reading a lot of uboot source code recently :)
<elros1> tautologico: instruction from http://linux-sunxi.org/Intenso_TAB744 (Dump firmware section) can be useful for you also
<tautologico> elros1: will take a look, thanks again
aalm has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 268 seconds]
rexxster has quit [Remote host closed the connection]
afaerber has joined #linux-sunxi
JohnDoe3 has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
IgorPec has joined #linux-sunxi
AneoX_ has quit [Read error: Connection reset by peer]
AneoX has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 244 seconds]
lurchi__ is now known as lurchi_
jernej has quit [Quit: Konversation terminated!]
reinforce has quit [Quit: Leaving.]
Mr__Anderson has quit [Remote host closed the connection]
iamfrankenstein has quit [Quit: iamfrankenstein]
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
Ntemis has quit [Read error: Connection reset by peer]
lkcl has quit [Ping timeout: 252 seconds]
scream has joined #linux-sunxi
scream has quit [Remote host closed the connection]
phantoxeD has quit [Ping timeout: 260 seconds]
phantoxeD has joined #linux-sunxi
IgorPec has quit [Ping timeout: 244 seconds]
rexxster has joined #linux-sunxi
rexxster has quit [Remote host closed the connection]
elros1 has quit [Remote host closed the connection]
Da_Coynul has joined #linux-sunxi
d_ed has quit [Ping timeout: 264 seconds]
bshah has quit [Ping timeout: 268 seconds]
bshah has joined #linux-sunxi
d_ed has joined #linux-sunxi
jstefanop has quit [Remote host closed the connection]
jstefanop has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
jstefanop has quit [Remote host closed the connection]
wasutton3_mobile has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
fALSO has quit [Quit: Lost terminal]