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
hardfalcon has quit [Ping timeout: 240 seconds]
Putti has quit [Quit: Leaving]
hardfalcon has joined #linux-sunxi
anarsoul|2 has quit [Ping timeout: 268 seconds]
ninolein has quit [Ping timeout: 258 seconds]
ninolein_ has joined #linux-sunxi
jstein has quit [Remote host closed the connection]
Gerwin_J has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
skiboy has joined #linux-sunxi
popolon has quit [Quit: WeeChat 2.0]
parazyd has quit [Ping timeout: 240 seconds]
victhor has quit [Remote host closed the connection]
skiboy has quit [Quit: Leaving]
chomwitt has quit [Ping timeout: 250 seconds]
vagrantc has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
liushuyu has joined #linux-sunxi
tgaz has quit [Ping timeout: 255 seconds]
liushuyu has quit [Quit: liushuyu]
cnxsoft has quit [Read error: Connection reset by peer]
cnxsoft1 has joined #linux-sunxi
cnxsoft1 is now known as cnxsoft
anarsoul has quit [*.net *.split]
pmpp has quit [*.net *.split]
Net147 has quit [*.net *.split]
Mylene has quit [*.net *.split]
marble_visions has quit [*.net *.split]
ElBarto has quit [*.net *.split]
GrimKriegor has quit [*.net *.split]
zumbi has quit [*.net *.split]
dlan has quit [*.net *.split]
brtlin has quit [*.net *.split]
indy has quit [*.net *.split]
sunxi_fan has quit [*.net *.split]
plaes has quit [*.net *.split]
forkbomb has quit [*.net *.split]
clonak has quit [*.net *.split]
KotCzarny has quit [*.net *.split]
Keziolio has quit [*.net *.split]
HeavyMetal has quit [*.net *.split]
d_ed has quit [*.net *.split]
fl_0 has quit [*.net *.split]
agraf has quit [*.net *.split]
buZz has quit [*.net *.split]
ChanServ has quit [*.net *.split]
vagrantc has quit [*.net *.split]
ninolein_ has quit [*.net *.split]
zzeroo has quit [*.net *.split]
loblik has quit [*.net *.split]
aib has quit [*.net *.split]
antony has quit [*.net *.split]
kloczek has quit [*.net *.split]
steev has quit [*.net *.split]
fdcx has quit [*.net *.split]
nobe has quit [*.net *.split]
voxadam has quit [*.net *.split]
souther has quit [*.net *.split]
pg12 has quit [*.net *.split]
mirko has quit [*.net *.split]
fossxplorer has quit [*.net *.split]
alexxy has quit [*.net *.split]
lynxis has quit [*.net *.split]
a|3xxx has quit [*.net *.split]
Nyuutwo has quit [*.net *.split]
libv has quit [*.net *.split]
rej has quit [*.net *.split]
Wizzup has quit [*.net *.split]
Langoor has quit [*.net *.split]
itdnhr has quit [*.net *.split]
paulk-gagarine has quit [*.net *.split]
vpeter has quit [*.net *.split]
zoobab_ has quit [*.net *.split]
mpmc has quit [Ping timeout: 240 seconds]
TheSeven has quit [Ping timeout: 257 seconds]
rodrigoaguilera has quit [Ping timeout: 257 seconds]
ch40s[m] has quit [Ping timeout: 255 seconds]
icenowy[m] has quit [Ping timeout: 264 seconds]
mic-e[m] has quit [Ping timeout: 276 seconds]
a|3xxx has joined #linux-sunxi
mirko has joined #linux-sunxi
fdcx has joined #linux-sunxi
nobe has joined #linux-sunxi
libv has joined #linux-sunxi
antony has joined #linux-sunxi
alexxy has joined #linux-sunxi
steev has joined #linux-sunxi
lynxis has joined #linux-sunxi
azend|vps has joined #linux-sunxi
pg12 has joined #linux-sunxi
Nyuutwo has joined #linux-sunxi
souther has joined #linux-sunxi
bfree has joined #linux-sunxi
fossxplorer has joined #linux-sunxi
kloczek has joined #linux-sunxi
vbmithr has joined #linux-sunxi
voxadam has joined #linux-sunxi
mfa298 has joined #linux-sunxi
tuxillo has joined #linux-sunxi
nemunaire has joined #linux-sunxi
ChanServ has joined #linux-sunxi
forkbomb has joined #linux-sunxi
clonak has joined #linux-sunxi
paulk-gagarine has joined #linux-sunxi
phil42 has joined #linux-sunxi
mripard has joined #linux-sunxi
specing has joined #linux-sunxi
oliv3r has joined #linux-sunxi
datagutt has joined #linux-sunxi
montjoie has joined #linux-sunxi
naobsd has joined #linux-sunxi
NiteHawk has joined #linux-sunxi
jailbox has joined #linux-sunxi
vpeter has joined #linux-sunxi
zoobab_ has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
ninolein_ has joined #linux-sunxi
zzeroo has joined #linux-sunxi
aib has joined #linux-sunxi
vagrantc has joined #linux-sunxi
loblik has joined #linux-sunxi
JohnDoe_71Rus has quit [Changing host]
JohnDoe_71Rus has joined #linux-sunxi
anarsoul has joined #linux-sunxi
marble_visions has joined #linux-sunxi
zumbi has joined #linux-sunxi
ElBarto has joined #linux-sunxi
Net147 has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
pmpp has joined #linux-sunxi
sunxi_fan has joined #linux-sunxi
brtlin has joined #linux-sunxi
Mylene has joined #linux-sunxi
dlan has joined #linux-sunxi
plaes has joined #linux-sunxi
indy has joined #linux-sunxi
mpmc has joined #linux-sunxi
ornitorrincos has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
lurchi__ has joined #linux-sunxi
jelly has joined #linux-sunxi
rej has joined #linux-sunxi
codekipp1r has joined #linux-sunxi
Wizzup has joined #linux-sunxi
itdnhr has joined #linux-sunxi
cyrozap has joined #linux-sunxi
Langoor has joined #linux-sunxi
bbrezillon has joined #linux-sunxi
jelly has quit [Max SendQ exceeded]
kozy has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
jelly-home has joined #linux-sunxi
TheSeven has joined #linux-sunxi
kaspter has joined #linux-sunxi
TheSeven has quit [Ping timeout: 255 seconds]
HeavyMetal has joined #linux-sunxi
Keziolio has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
d_ed has joined #linux-sunxi
agraf has joined #linux-sunxi
fl_0 has joined #linux-sunxi
buZz has joined #linux-sunxi
skiboy has joined #linux-sunxi
tgaz has joined #linux-sunxi
nuuuciano has quit [Remote host closed the connection]
nuuuciano has joined #linux-sunxi
TheSeven has joined #linux-sunxi
IgorPec has joined #linux-sunxi
IgorPec has quit [Ping timeout: 240 seconds]
IgorPec has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 276 seconds]
IgorPec has quit [Quit: Nettalk6 - www.ntalk.de]
kaspter has quit [Remote host closed the connection]
kaspter1 has joined #linux-sunxi
kaspter1 is now known as kaspter
chlorine has joined #linux-sunxi
skiboy has quit [Quit: Leaving]
Mr__Anderson has joined #linux-sunxi
chlorine has quit [Ping timeout: 255 seconds]
book` has quit [Quit: Leaving]
book` has joined #linux-sunxi
rodrigoaguilera has joined #linux-sunxi
parazyd has joined #linux-sunxi
parazyd has quit [Changing host]
parazyd has joined #linux-sunxi
fkluknav has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
ch40s[m] has joined #linux-sunxi
scream has joined #linux-sunxi
nobe has quit [Remote host closed the connection]
nobe has joined #linux-sunxi
scream has quit [Remote host closed the connection]
scream has joined #linux-sunxi
scream has quit [Ping timeout: 250 seconds]
ernestask has joined #linux-sunxi
rodrigoaguilera has quit [Read error: Connection reset by peer]
ch40s[m] has quit [Remote host closed the connection]
mic-e[m] has quit [Remote host closed the connection]
longsleep has quit [Ping timeout: 240 seconds]
longsleep has joined #linux-sunxi
ch40s[m] has joined #linux-sunxi
longsleep has quit [Ping timeout: 240 seconds]
longsleep has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
ch40s[m] has quit [Read error: Connection reset by peer]
ch40s[m] has joined #linux-sunxi
arete74 has quit [Ping timeout: 240 seconds]
rodrigoaguilera has joined #linux-sunxi
mic-e[m] has joined #linux-sunxi
icenowy[m] has joined #linux-sunxi
hardfalcon1 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 268 seconds]
arete74 has joined #linux-sunxi
scream has joined #linux-sunxi
Putti has joined #linux-sunxi
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
IgorPec has joined #linux-sunxi
SP7RT has joined #linux-sunxi
scream has quit [Remote host closed the connection]
antony1 has joined #linux-sunxi
scream has joined #linux-sunxi
antony has quit [Ping timeout: 255 seconds]
victhor has joined #linux-sunxi
clemens3 has joined #linux-sunxi
jelly-home is now known as jelly
IgorPec has quit [Ping timeout: 240 seconds]
antony has joined #linux-sunxi
antony1 has quit [Read error: Connection reset by peer]
antony1 has joined #linux-sunxi
antony has quit [Read error: No route to host]
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
antony1 has quit [Ping timeout: 248 seconds]
antony has joined #linux-sunxi
antony has quit [Read error: Connection reset by peer]
antony has joined #linux-sunxi
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
kaspter has joined #linux-sunxi
victhor has quit [Read error: Connection reset by peer]
victhor has joined #linux-sunxi
yann has joined #linux-sunxi
kaspter has quit [Ping timeout: 248 seconds]
aalm has quit [Quit: xyz 1.9.1]
kaspter has joined #linux-sunxi
kaspter has quit [Remote host closed the connection]
victhor has quit [Read error: Connection reset by peer]
victhor has joined #linux-sunxi
kaspter has joined #linux-sunxi
victhor has quit [Ping timeout: 255 seconds]
victhor has joined #linux-sunxi
<KotCzarny> new items in xunlong store
<KotCzarny> wonder what it does
DonkeyHotei has joined #linux-sunxi
<KotCzarny> there is also uart dongle and 128x64 oled display
kaspter has quit [Quit: kaspter]
JohnDoe9 has joined #linux-sunxi
<miasma> do you think the wiki should have a page describing the use of device tree overlays with sunxi boards?
<KotCzarny> might be just a paragraph on mainline kernel page
JohnDoe_71Rus has quit [Ping timeout: 276 seconds]
<miasma> i mean a howto style page showing how to enable stuff like dallas temp sensor
<KotCzarny> it's a wiki, make it and see what happens
<miasma> it's not really sunxi related, but people often complain that nano/opi boards lack this kind of 'support'
<KotCzarny> otoh while you are at it, you can make DT page
<miasma> also, it's a great way to study how it works. i've mostly used userspace drivers, not the industrial sensor drivers builtin kernel
<KotCzarny> and dt overlays being a subpage
<miasma> right
<miasma> i just realized the wiki doesn't describe this at all when searching for info about the overlays
<miasma> first I thought these overlays can only be applied at boot time, but apparently the overlay system is dynamic and also can be configured after booting?
mpmc is now known as {mpmc}
cnxsoft has quit [Quit: cnxsoft]
dave0x6d has joined #linux-sunxi
reinforce has joined #linux-sunxi
Langoor has quit [Ping timeout: 248 seconds]
Langoor has joined #linux-sunxi
<icenowy[m]> and I think sunxi github should have a repo for overlays
Ntemis has joined #linux-sunxi
<KotCzarny> ho hum, since they are dynamic and can be loaded runtime, why not make everything an overlay?
embed-3d__ has quit [Ping timeout: 276 seconds]
hardfalcon has joined #linux-sunxi
hardfalcon1 has quit [Ping timeout: 260 seconds]
embed-3d has joined #linux-sunxi
longsleep has quit [Ping timeout: 240 seconds]
longsleep has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
nuuuciano has joined #linux-sunxi
freemangordon has joined #linux-sunxi
longsleep has quit [Ping timeout: 255 seconds]
longsleep has joined #linux-sunxi
vagrantc has joined #linux-sunxi
vagrantc has quit [Client Quit]
codekipper has joined #linux-sunxi
codekipper has quit [Client Quit]
<willmore> miasma, sounds more distro related, a la armbian. Is there any armbian page on the wiki?
<KotCzarny> willmore: not necessarily, say you wanted to create your own image that would accomodate your boards
<KotCzarny> but you would like to have one image instead of 1-per-board
<willmore> That's still a distro level question.
<willmore> In this case you're the distro maker. :)
<KotCzarny> hehe
<willmore> And you are.
<KotCzarny> distro is something unknown people use
<KotCzarny> baking something for yourself you still could benefit from knowing how to
<miasma> willmore: how exactly is it distro related? the tech is common to all linux distros. it's a kernel structure
<miasma> the same howto works for all distros
chlorine has joined #linux-sunxi
Langoor has quit [Ping timeout: 248 seconds]
chlorine has quit [Ping timeout: 240 seconds]
Langoor has joined #linux-sunxi
hardfalcon1 has joined #linux-sunxi
hardfalcon has quit [Ping timeout: 268 seconds]
<willmore> miasma, I don't mean to say it's specific to 'a distro', just that it's something that gets though of on the distro level.
<willmore> For example armbian has pages on how to use overlays. Maybe just link to their wiki?
<miasma> willmore: the armbian instructions are armbian specific
DonkeyHotei has quit [Ping timeout: 268 seconds]
loblik has quit [Ping timeout: 246 seconds]
<willmore> Can you use them as an inspiration or template for something more generic? That seems like it would make sense on the linux-sunxi wiki, IMHO.
foxx_ has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
obbardc has joined #linux-sunxi
<obbardc> hey guys, is there an H5 I2S/SoC WIP branch around?
<obbardc> or any info on H5 I2S etc
<Wizzup> How would one get earlyprintk on sunxi platforms? In my case the LIME2 A20 boards. I'm trying to debug a kernel issue that shows up with specific options enabled, and doesn't show in QEMU's virt target.
<Wizzup> I'm hoping to get early Linux output, since I basically don't get anything after 'Loading kernel ...' in u-boot, but only with specific options enabled.
<Wizzup> The wiki didn't get help me get any further
<icenowy[m]> WIzzup;
<icenowy[m]> maybe you can try earlycon when using uart
<Wizzup> SERIAL_EARLYCON=y - so how do I use it?
* Wizzup googles again
<icenowy[m]> earlycon=uart,mmio32,uart_base_address
<Wizzup> hm, how would I know the address of uart?
<icenowy[m]> for A20 uart0 the base addr is 0x01c28000
<Wizzup> Aha, thank you. Where did you find that if I may ask?
<icenowy[m]> so add earlycon=uart,mmio32,0x01c28000 to the cmdline
<icenowy[m]> in fact... I found it when apritzel debug A64 ;-)
<Wizzup> so I can remove anything related to earlyprintk, and just use that earlycon line, right?
<icenowy[m]> yes
<Wizzup> thank you. I will try it once this kernel finishes compiling.
<afaerber> Hi, 4.15-rc2 dtb fails to boot on my Cubietruck, but same kernel works with 4.14 dtb - is there some known issue with the new clk drivers maybe?
* Wizzup now hopes that the lime2 uart0 is indeed the uart that is exposed
jstein_ has joined #linux-sunxi
jstein_ is now known as jstein
<afaerber> icenowy[m], I have some Pine64 overlays on https://github.com/afaerber/dt-overlays
<Wizzup> Another questions that some of you might know - I'm trying to emulate a cubieboard since it's a supported board in qemu, but I fail to get any output (say on serial) with it. This works with -M virt: qemu-system-arm -M virt -kernel /usr/src/linux-4.14.4/arch/arm/boot/zImage -append 'console=ttyAMA0,115200 verbose debug' -nographic -serial stdio -monitor none
<Wizzup> Any clue if something special is required for the cubieboard board - the board file seems pretty empty in the qemu git
<afaerber> Wizzup, what's your command line for cubieboard? you need a different uart
<Wizzup> I tried ttyS0,115200 to no avail
<icenowy[m]> I think the A10 emulation of qemu is just not mature at all
<lurchi__> afaerber: shouldn't overlays be named *.dtso?
<afaerber> lurchi__, it doesn't matter, important is .dtbo
<Wizzup> afaerber: but it doesn't seem to be ttyS0 either - that's why I figured I'd dig into the qemu machine file
<Wizzup> Seems like it also uses the uart0 base addr - https://github.com/qemu/qemu/blob/master/include/hw/arm/allwinner-a10.h
<Wizzup> icenowy[m]: do you happen to know if a specific driver is required for the uart,mmio32,0x01c28000 specification?
<afaerber> Wizzup, the 8250 driver (and possibly IRQ sharing)
vagrantc has joined #linux-sunxi
<Wizzup> afaerber: Oh -- do I need to pass a device tree when using -M cubieboard. That might explain it.
<Wizzup> with -M virt I know qemu just creates a dtb, but perhaps not so with the others!
<Wizzup> That would totally explain it
<afaerber> don't remember that, never used cubieboard emulation myself
<Wizzup> this seems to indicate that I perhaps should - https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg01401.html
<vagrantc> Wizzup: i'll have to give that another try sometime.
<Wizzup> ok, I got it to work
<Wizzup> passing the dtb helped, and being patient helps too.
<Wizzup> For the record, this works for me: qemu-system-arm -M cubieboard -kernel /usr/src/linux-4.12.13/arch/arm/boot/zImage -no-reboot -append "earlyprintk debug verbose console=ttyS0" -nographic -monitor none -serial stdio -dtb /usr/src/linux-4.12.13/arch/arm/boot/dts/sun4i-a10-cubieboard.dtb
<KotCzarny> make it a wiki?
<Wizzup> hm, I should, also still need to make that teres-i page...
<KotCzarny> i guess it might be just linux-sunxi.org/qemu
<Wizzup> and one for the lime2 4.3" screen
* Wizzup queues wiki pages to write
<KotCzarny> just paste that command line for starters
<Wizzup> a bit more than that would be nice ;)
<Wizzup> I'm sure there's also people interested in how they can get kvm to work, but that's from the devices itself, so ...
<KotCzarny> well, every page starts with a stub
<Wizzup> :) let me make dinner first
<vagrantc> kvm requires running from an (at least partially) compatible architecture, no?
<Wizzup> armv7 to armv7? :)
<vagrantc> right ... there are some armv8 boards than can run qemu -kvm armv7 ...
ninolein_ has quit [Ping timeout: 246 seconds]
<Wizzup> that too
ninolein has joined #linux-sunxi
<icenowy[m]> I remember on ARMv8 I cannot run qemu-system-arm
<icenowy[m]> I need to run qemu-system-aarch64 with some parameters to disable AArch64 mode
<Wizzup> yes, same here
<Wizzup> like specify the right cpu and then it works
<Wizzup> I am also pleasantly surprised because now qemu-system-arm actually accepts -enable-kvm as a flag, before it didn't and I had to test with kvmtool
<icenowy[m]> oh it has been there for along time!
<Wizzup> interesting :)
nuuuciano has quit [Quit: Leaving]
nuuuciano has joined #linux-sunxi
<obbardc> Anyone know anything on H5 I2S audio support?
ernestask has quit [Quit: ernestask]
<afaerber> Cubietruck earlycon output on 4.15-rc2: http://paste.opensuse.org/48aa83b2
Chris_ has joined #linux-sunxi
obbardc has quit [Ping timeout: 276 seconds]
<afaerber> lurchi__, I think this may be caused by lack of CONFIG_SUN4I_A10_CCU
<lurchi__> afaerber: is the module in the initrd?
Keziolio has quit [Ping timeout: 255 seconds]
<lurchi__> or completely missing in the CONFIG ?
Keziolio has joined #linux-sunxi
Keziolio has quit [Changing host]
Keziolio has joined #linux-sunxi
<afaerber> lurchi__, the latter - working on it
Chris__ has joined #linux-sunxi
Chris_ has quit [Ping timeout: 276 seconds]
<Wizzup> icenowy[m]: earlycon works in qemu! nice. Will test it on real hw too, but I'm confident it'll work there too. Thank you so much.
<anarsoul> wens: hey, are you around?
JohnDoe9 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
chlorine has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
chlorine has quit [Ping timeout: 248 seconds]
benettig has joined #linux-sunxi
aalm has joined #linux-sunxi
jbrown has joined #linux-sunxi
chomwitt has joined #linux-sunxi
ariendj has joined #linux-sunxi
foxx_ has quit [Ping timeout: 248 seconds]
jstein has quit [Remote host closed the connection]
mzki has joined #linux-sunxi
antony1 has joined #linux-sunxi
antony has quit [Read error: Connection reset by peer]
antony has joined #linux-sunxi
antony1 has quit [Ping timeout: 248 seconds]
aalm has quit [Ping timeout: 248 seconds]
aalm has joined #linux-sunxi
chlorine has joined #linux-sunxi
chlorine has quit [Ping timeout: 248 seconds]
benettig has quit [Read error: Connection reset by peer]
GrimKriegor has quit [Read error: Connection reset by peer]
ninolein has quit [Ping timeout: 258 seconds]
ninolein has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
obbardc has joined #linux-sunxi
Chris__ has quit [Ping timeout: 240 seconds]
SP7RT has quit [Read error: Connection reset by peer]
popolon has joined #linux-sunxi
SP7RT has joined #linux-sunxi
Mr__Anderson has quit [Remote host closed the connection]
scream has quit [Remote host closed the connection]
Chris_ has joined #linux-sunxi
obbardc has quit [Ping timeout: 255 seconds]
obbardc has joined #linux-sunxi
Chris_ has quit [Ping timeout: 240 seconds]
fkluknav has quit [Ping timeout: 240 seconds]
obbardc has quit [Quit: Bye!]