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
hanetzer has quit [Ping timeout: 264 seconds]
xes has quit [Ping timeout: 268 seconds]
hanetzer has joined #linux-sunxi
hanetzer has quit [Changing host]
hanetzer has joined #linux-sunxi
xyntrix has joined #linux-sunxi
LargePrime has joined #linux-sunxi
nOOb__ has joined #linux-sunxi
xyntrix has quit [Quit: Leaving]
xes has joined #linux-sunxi
xyntrix has joined #linux-sunxi
LargePrime has quit [Ping timeout: 248 seconds]
tonispax_ has joined #linux-sunxi
tonispa has quit [Ping timeout: 240 seconds]
ganbold has joined #linux-sunxi
sbcuser has joined #linux-sunxi
sbcuser has quit [Client Quit]
sbcuser has joined #linux-sunxi
sbcuser has quit [Ping timeout: 260 seconds]
anarsoul|2 has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
megi has quit [Ping timeout: 255 seconds]
vagrantc has quit [Quit: leaving]
victhor has quit [Remote host closed the connection]
<wens> paulliu: sounds weird
tonispax_ has quit [Remote host closed the connection]
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
[7] has quit [Ping timeout: 255 seconds]
TheSeven has joined #linux-sunxi
anarsoul has quit [Ping timeout: 240 seconds]
jbrown has quit [Ping timeout: 276 seconds]
anarsoul has joined #linux-sunxi
fkluknav has joined #linux-sunxi
TEKrantz has quit [Ping timeout: 264 seconds]
fkluknav has quit [Ping timeout: 264 seconds]
focus_ has quit [Ping timeout: 240 seconds]
xyntrix has quit [Quit: Leaving]
qeed has quit [Quit: Leaving]
focus_ has joined #linux-sunxi
TEKrantz has joined #linux-sunxi
fkluknav has joined #linux-sunxi
IgorPec has joined #linux-sunxi
montjoie has joined #linux-sunxi
anarsoul has quit [Ping timeout: 264 seconds]
<wens> f11f12_: which mixer? G2D? DE 2.0?
dlan has quit [Ping timeout: 240 seconds]
f0xx has joined #linux-sunxi
netlynx has joined #linux-sunxi
anarsoul has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 240 seconds]
dlan has joined #linux-sunxi
<f11f12_> wens: R40 mixer0/1. I have TCON0->LVDS (single channel) out running (test pattern generator) but can't seem to get the R40 mixer to run. The DE2.0 datasheet does not describe the R40 so I peek at the others to see what could make sense.
nOOb__ has quit [Ping timeout: 248 seconds]
dlan has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
dlan has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
dlan has quit [Ping timeout: 240 seconds]
dlan has joined #linux-sunxi
Putti has joined #linux-sunxi
dlan has quit [Ping timeout: 268 seconds]
dlan has joined #linux-sunxi
<f11f12_> wens: I'm on mainline/git 4.17, I'm using icenowy[m] 's sun8i_mixer and clocking/reset infrastructure. Does the allwinner mixer ip run continuously when started? Or is it on a frame by frame basis?
dlan has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
focus_ has quit [Ping timeout: 268 seconds]
dlan has quit [Remote host closed the connection]
dlan has joined #linux-sunxi
dlan has joined #linux-sunxi
hitech95_ROG has joined #linux-sunxi
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
focus_ has joined #linux-sunxi
jaganteki has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 256 seconds]
msimpson has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
f0xx has quit [Ping timeout: 248 seconds]
fkluknav has quit [Ping timeout: 248 seconds]
mavkhimenia has quit [Remote host closed the connection]
ganbold has quit [Quit: This computer has gone to sleep]
elros has joined #linux-sunxi
jaganteki has quit [Ping timeout: 260 seconds]
<wens> do you have all the necessary clocks up and running? the ones described in DE TOP
fkluknav has joined #linux-sunxi
<wens> and there's also routing from the mixer to one of the encoder outputs
hanni76 has joined #linux-sunxi
jaganteki has joined #linux-sunxi
IgorPec has quit [Ping timeout: 264 seconds]
clemens3_ has joined #linux-sunxi
xerpi has joined #linux-sunxi
jstein has quit [Quit: quit]
indy has quit [Quit: ZNC - http://znc.sourceforge.net]
indy has joined #linux-sunxi
megi has joined #linux-sunxi
longsleep has quit [Ping timeout: 260 seconds]
leviathan has joined #linux-sunxi
longsleep has joined #linux-sunxi
ganbold has joined #linux-sunxi
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
<oliv3r> hey all, is there a way to force the kernel to probe for devices (built-in not module) before running init? I currently have an initramfs but the USB storage devices only come available 1 - 2 seconds after init is started. I can add a 2s sleep to the init, which 'fixes' it but that's kinda hacky
<gnarface> i think what you want is to just move it earlier in init
<smaeul> there's rootdelay/rootwait, but I don't think they apply if you have an initramfs
leviathan has quit [Ping timeout: 248 seconds]
<pmpp> they apply
<pmpp> sometime aoe is slow to discover devices and rootwait fixes it
victhor has joined #linux-sunxi
<smaeul> otherwise you'll need to run some program (e.g. mdev or udev) to process all of the kernel's uevents to know when it's finished probing hardware
<pmpp> let me correct they apply when initramfs respect *that* parameter ;) so +1 with smaeul
<pmpp> oliv3r: if grep -q rootwait /proc/cmdline => busy loop, your sleep 2s is the "rootdelay" implementation :D
<smaeul> oliv3r: for this specific situation, findmnt is probably what you want
<smaeul> while ! $(findmnt -q ${ROOT}); do sleep 1; done
<pmpp> yeah that's the rootwait
<smaeul> er, sorry, I meant `findfs`
<smaeul> busuybox also has an implementation
<pmpp> ( for aoe you may add echo > /dev/etherd/discover in the loop )
<pmpp> must cut root= for findfs iirc it does LABEL= or UUID= only
<pmpp> i wonder if daughter board is strapped with adhesive
<oliv3r> yeah, but rootwait is for when a device absolutly exists
<oliv3r> a USB device may or may not be inserted
<oliv3r> so need to wait until USB probing is finished
<pmpp> oliv3r: yeah usb probing is async, you busywait
<oliv3r> i was hoping that all probing would be done by the time init is started, and I don't think there's some trigger that I can wait for that lets me know all probing is done
<oliv3r> busywait for what?
<pmpp> for device to be found
<oliv3r> in the case for when I know for certain a USB stick is inserted, easy
<oliv3r> but what if there is no stick? wait until it appears?
<oliv3r> thats kind of a long time to wait to continue booting :)
<pmpp> then you need a fallback root device
<oliv3r> e.g. right now, i just loop over a list of devices that exist in /dev/ (sd* and mmc*) and if none exist, continue with a regular root
<oliv3r> regular boot
<oliv3r> this is not the root device i'm waiting for, it is 'A' device which _may_ contain a file i'm looking for
<_bielski_> beeble: thanks, I have found also similar patches for the SPL switchover, anyway, my code looks fine but the execution gives 'undefined instruction', can it be a compiler issue?
<oliv3r> if it exists, i need to do something with the file, if it does not exist, i continue as usual
<pmpp> so you're ok with rootdelay= => sleep
<oliv3r> no
<oliv3r> :)
<oliv3r> rootdelay will wait until root is available
<oliv3r> root is _always_ available
<oliv3r> i need to check for some file on some device
<oliv3r> and continue normal boot if it does not exist
<oliv3r> think of a 'debug' parameter in a file
<pmpp> if you have built initrd yourself it is up to you to implement the rootdelay
<oliv3r> if i insert a usb stick, with a file on it named 'debug' i want a rescue shell or a led to turn on or whatever
<oliv3r> if not, continue normal boot
<oliv3r> so in my initramfs, in my init script, I need some way to figure out wether usb probing has finished
<oliv3r> as now, probing continues until AFTER the init script has already started
<pmpp> so you want root=maybe_root1_if_usb, may_beroot2_ifwhatever, normalroot
<oliv3r> not root
<oliv3r> root=/dev/mmcblk1p1
<pmpp> ok i get it
<oliv3r> and i want to: for device in sda* mmc*; do mount $device; if /mnt/debug; echo "hello"; done
<pmpp> you want to delay normal boot until you can seek for a file on a specific path and device
<oliv3r> yes, but, sda may never appear
<oliv3r> (if there is no usb device inserted)
<oliv3r> so i need to know when the kenrel thinks probing is done
<pmpp> check dmesg with grep
<oliv3r> (ignoring the fact that if a device is inserted later, probing will of course be later)
<oliv3r> that would be unsupported :)
<oliv3r> check for what? when do I know it is done
<oliv3r> while grep 'sda'; sleep 1; done; will wait forever
<pmpp> just get the line *after* usb job is done
<oliv3r> anyway, if that's the only way, i'll just sleep for x seconds and wait to see
<pmpp> if device is not there at this time, then continue
<oliv3r> so dmesg is the _only_ way to find out that the kernel is done
<oliv3r> yeah but i already know the probing takes 1 - 2 seconds after init is started
<oliv3r> so i then may as well sleep for 2s and try
<oliv3r> but i want something more reliable :)
<oliv3r> ideally, that the kenrel informs me that it is busy probing and when it is done probing
<oliv3r> or force init to not start until probing has finished
<oliv3r> (i'm happy to wait for probing to finish, if i know when that is)
<oliv3r> now i have to hand-tune the 'sleep' basically
<oliv3r> e.g. 2 second seems to be okay, but there's no way to know if it is okay
<smaeul> oliv3r: the kernel informs you via uevents
<pmpp> that loooks like a problem systemd can solve
<oliv3r> i'm not gonna gonna put systemd in my initramfs :p
<oliv3r> smaeul: that sounds interesting, but i think those uevents are per device right?
<pmpp> then you are doomed to reimplement it in sh :p
<oliv3r> the point of initramfs to prepare the system :p on my /root it allready will start systemd :)
<oliv3r> also, there's not enough space in my initramfs for systemd :p
<oliv3r> smaeul: is there a generic uevent from the kernel to let us know 'im done probing with all that i can discover'?
<oliv3r> would have been so much easier if init would only be started after the kernel was done probing :S
<smaeul> oliv3r: yes, the kernel generates one for each device found, so once you've read them all, you know it's done (I think)
xerpi has quit [Quit: Leaving]
<oliv3r> hmm
<oliv3r> but lets say, usb starts probing, there is no /sys/bus/usb/uevent is there?
<oliv3r> hmm maybe it is :)
<oliv3r> ok then i could detect all this
<oliv3r> i'll dig deeper into this in the future, for now i'll just do a sleep ${rootdelay}
<elros> hm every time I modprobe 8189es it use different mac and create wlan1 device
JohnDoe6 has joined #linux-sunxi
JohnDoe_71Rus has quit [Ping timeout: 260 seconds]
leviathan has joined #linux-sunxi
leviathan has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
fkluknav has quit [Ping timeout: 248 seconds]
<buZz> was i dreaming , or is there seriously talk about making a opensource Mali driver again?
<forkbomb> https://github.com/yuq/mesa-lima for mali400/mali450, and panfrost for T-series
jbrown has joined #linux-sunxi
<buZz> hmm H5 has a mali450
<buZz> nice :D
<forkbomb> it's not done yet, but it's made a lot of progress
lkcl has quit [Ping timeout: 248 seconds]
fkluknav has joined #linux-sunxi
qeed has joined #linux-sunxi
sunshavi has joined #linux-sunxi
TEKrantz has quit [Quit: When the chips are down, the buffalo is empty]
a10_mali has joined #linux-sunxi
<a10_mali> hello, i'm looking for working dts patch for allwinner a10 gpu mali node
<a10_mali> i use this https://pastebin.com/Jqq249x2 but there is no clean load for mali.ko module
hanni76 has quit [Ping timeout: 240 seconds]
TEKrantz has joined #linux-sunxi
clemens3 has joined #linux-sunxi
clemens3_ has quit [Ping timeout: 260 seconds]
<ganbold> jaganteki: is there any update on OrangePI R1 support in u-boot? I seen some patches on u-boot mailing list
jaganteki has quit [Ping timeout: 260 seconds]
hanni76 has joined #linux-sunxi
chomwitt has joined #linux-sunxi
dddddd has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
mavkhimenia has joined #linux-sunxi
mavkhime_ has joined #linux-sunxi
a10_mali has quit [Quit: Page closed]
AneoX has quit [Ping timeout: 240 seconds]
lurchi__ has quit [Remote host closed the connection]
AneoX has joined #linux-sunxi
mavkhimenia has quit [Ping timeout: 256 seconds]
lurchi__ has joined #linux-sunxi
pmpp has quit [Disconnected by services]
pmpp_ has joined #linux-sunxi
paulliu has quit [Quit: Leaving.]
lurchi__ has quit [Ping timeout: 256 seconds]
pmpp_ is now known as pmpp
cnxsoft has quit [Quit: cnxsoft]
nuuuciano_ has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
LargePrime has joined #linux-sunxi
IgorPec has joined #linux-sunxi
xes has quit [Ping timeout: 248 seconds]
xes has joined #linux-sunxi
lurchi__ has quit [Quit: Konversation terminated!]
lurchi__ has joined #linux-sunxi
nixdork has quit [Ping timeout: 276 seconds]
msimpson has quit [Read error: Connection reset by peer]
kaspter has quit [Read error: Connection reset by peer]
fkluknav has quit [Ping timeout: 264 seconds]
mpmc_znc is now known as mpmc
GrimKriegor has quit [Read error: Connection reset by peer]
GrimKriegor has joined #linux-sunxi
elros has quit [Remote host closed the connection]
mpmc_znc has joined #linux-sunxi
mpmc has quit [Ping timeout: 240 seconds]
parazyd has quit [Ping timeout: 276 seconds]
plaes has quit [Ping timeout: 276 seconds]
techn has quit [Ping timeout: 268 seconds]
parazyd has joined #linux-sunxi
parazyd has joined #linux-sunxi
parazyd has quit [Changing host]
d3r3k has quit [Quit: Connection closed for inactivity]
xyntrix has joined #linux-sunxi
mpmc_znc is now known as mpmc
igraltist has quit [Ping timeout: 256 seconds]
leio has quit [Remote host closed the connection]
igraltist has joined #linux-sunxi
jemk has quit [Ping timeout: 256 seconds]
jemk has joined #linux-sunxi
leio has joined #linux-sunxi
plaes has joined #linux-sunxi
plaes has quit [Changing host]
plaes has joined #linux-sunxi
techn has joined #linux-sunxi
nixdork has joined #linux-sunxi
lkcl has joined #linux-sunxi
rexxster has joined #linux-sunxi
xes has quit [Quit: bye..]
<icenowy[m]> wens: should I submit the PRCM and R_PIO patches for H6 now?
clemens3 has quit [Quit: WeeChat 1.0.1]
<wens> icenowy[m]: sure
LargePrime has quit [Ping timeout: 248 seconds]
phil42 has quit [Ping timeout: 240 seconds]
phil42 has joined #linux-sunxi
clemens3 has joined #linux-sunxi
vagrantc has joined #linux-sunxi
<_bielski_> beeble: I couldn't solve the problem of switching to aarch64, perhaps I miss some knowledge. I have described everything there: https://stackoverflow.com/questions/50120446/allwinner-a64-switch-from-aarch32-to-aarch64-by-warm-reset
<_bielski_> beeble: Thanks for any hints
phil42 has quit [Ping timeout: 264 seconds]
d3r3k has joined #linux-sunxi
<maz> _bielski_: you're running in SVC mode. and accessing RMR... not going to work.
vagrantc has quit [Quit: leaving]
<maz> _bielski_: you need to switch to monitor mode first.
<beeble> and if you are using uboot to load your application. why not use mainline? that would start you in 64bit and you wouldn't need to switch
phil42 has joined #linux-sunxi
chomwitt has quit [Ping timeout: 260 seconds]
vagrantc has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
hanni76 has quit [Ping timeout: 276 seconds]
tonispax has joined #linux-sunxi
hanni76 has joined #linux-sunxi
fkluknav has joined #linux-sunxi
giomba has joined #linux-sunxi
scream has joined #linux-sunxi
fkluknav has quit [Ping timeout: 240 seconds]
nots has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 240 seconds]
tllim has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
nixdork has quit [Ping timeout: 255 seconds]
pmpp has quit [Disconnected by services]
pmpp_ has joined #linux-sunxi
chomwitt has joined #linux-sunxi
pmpp has joined #linux-sunxi
pmpp_ has quit [Ping timeout: 248 seconds]
florolf has quit [Remote host closed the connection]
aib has quit [Quit: ZNC - http://znc.in]
Mr__Anderson has joined #linux-sunxi
montjoie has quit [Quit: leaving]
xes has joined #linux-sunxi
d3r3k has quit [Quit: Connection closed for inactivity]
nixdork has joined #linux-sunxi
tonispax has quit [Ping timeout: 255 seconds]
JohnDoe6 has quit [Quit: KVIrc 4.9.3 Aria http://www.kvirc.net/]
fkluknav has joined #linux-sunxi
f0xx has joined #linux-sunxi
<jernej> f11f12_: Not specifically for R40/V40, but since AW engineer said that 40nm SoCs have same HDMI/HDMI PHY combination, it should be exactly the same as H3
tonispax has joined #linux-sunxi
ninolein has joined #linux-sunxi
<jernej> and H3 driver has already working HPD IRQ in mainline kernel since 4.17-rc1
<jernej> so, what do you want to know specifically?
<jernej> icenowy[m]: What needs to be done to speed up SDIO for SD card on H6?
ninolein has quit [Remote host closed the connection]
lkcl has quit [Ping timeout: 240 seconds]
f0xx has quit [Ping timeout: 248 seconds]
aib has joined #linux-sunxi
IgorPec has quit [Ping timeout: 260 seconds]
giomba has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
anarsoul|2 has quit [Remote host closed the connection]
anarsoul|2 has joined #linux-sunxi
anarsoul|2 has quit [Quit: Leaving]
dddddd has quit [Remote host closed the connection]
hanni76 has quit [Ping timeout: 248 seconds]
tonispax has quit [Remote host closed the connection]
xyntrix has quit [Quit: Leaving]
LargePrime has joined #linux-sunxi
xes has quit [Quit: bye..]
xes has joined #linux-sunxi
Putti has quit [Ping timeout: 263 seconds]
rexxster has quit [Remote host closed the connection]
swiftgeek has quit [Read error: Connection reset by peer]
swiftgeek has joined #linux-sunxi
scream has quit [Read error: Connection reset by peer]
fkluknav has quit [Ping timeout: 248 seconds]
AneoX has quit [Ping timeout: 264 seconds]
AneoX has joined #linux-sunxi
elros has joined #linux-sunxi
hitech95_ROG has quit [Ping timeout: 248 seconds]
nuuuciano_ has quit [Ping timeout: 256 seconds]
netlynx has quit [Quit: Ex-Chat]
nuuuciano_ has joined #linux-sunxi
focus_ has quit [Remote host closed the connection]
jstein has quit [Quit: quit]
Mr__Anderson has quit [Remote host closed the connection]
aalm has quit [Ping timeout: 260 seconds]
aalm has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
Harrier_ has quit [Remote host closed the connection]
chomwitt has quit [Ping timeout: 248 seconds]
embed-3d has quit [Ping timeout: 264 seconds]
vagrantc has quit [Quit: leaving]
embed-3d has joined #linux-sunxi
paulliu has joined #linux-sunxi
anarsoul|2 has joined #linux-sunxi
phil42 has quit [Ping timeout: 264 seconds]
megi has quit [Ping timeout: 276 seconds]
<icenowy[m]> jernej: I don't knoe