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*
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
fahadsadah has quit [Ping timeout: 259 seconds]
fahadsadah has joined #linux-sunxi
GuLinux[m] has quit [Ping timeout: 252 seconds]
MartijnBraam has quit [Ping timeout: 252 seconds]
GuLinux[m] has joined #linux-sunxi
MartijnBraam has joined #linux-sunxi
mru has quit [Ping timeout: 252 seconds]
ats_ has quit [Ping timeout: 268 seconds]
atsampson has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Client Quit]
mru has joined #linux-sunxi
dddddd has quit [Remote host closed the connection]
parazyd has quit [Ping timeout: 268 seconds]
megi has quit [Ping timeout: 245 seconds]
Rafael1980 has quit [Quit: Konversation terminated!]
parazyd has joined #linux-sunxi
agraf has quit [Ping timeout: 255 seconds]
agraf has joined #linux-sunxi
pg12 has quit [Ping timeout: 264 seconds]
lurchi_ is now known as lurchi__
vagrantc has quit [Ping timeout: 264 seconds]
vagrantc_ is now known as vagrantc
victhor has quit [Ping timeout: 258 seconds]
vagrantc_ has joined #linux-sunxi
[7] has quit [Disconnected by services]
TheSeven has joined #linux-sunxi
<smaeul> anarsoul: you'll want to use the crust branch I mentioned in my cover letter. (master will probably work, but does not have irq forwarding)
<smaeul> there's code in that branch for lid switch wakeup on the pinebook, which I broke at some point. probably best to remove that for other a64 boards; h5 boards need gpio wakeup (usually a different pin)
<smaeul> also, if you have DVFS patches in your kernel, suspend/resume will most likely not work. powersave/performance governor may fix it -- crust needs to set safe values when turning the cluster on/off
<smaeul> (crust master has DVFS via SCPI, but you'll need to make minor changes to Linux's SCPI client to use it. it also has thermal monitoring, which does not need Linux support)
<smaeul> > "minor changes to Linux's SCPI client" -- those are due to splitting the mailbox channels. I posted a patch for it in a response to the v1 thread, the mailbox irqchip also implements choosing 1 vs 2 channels with mbox-names; shouldn't be too hard to figure out if you're interested
shfil has quit [Quit: Connection closed for inactivity]
pg12 has joined #linux-sunxi
<anarsoul> smaeul: thanks
<anarsoul> smaeul: so basically I need to drop DVFS and thermal patches for linux and apply SCPI client patches?
<anarsoul> sounds promising
RichardG867 has quit [Ping timeout: 255 seconds]
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 255 seconds]
vagrantc has quit [Remote host closed the connection]
vagrantc_ is now known as vagrantc
<anarsoul> smaeul: looks like your linux repo is outdated, did you forget to push your latest changes?
Nyuutwo has quit [Ping timeout: 250 seconds]
Putti has joined #linux-sunxi
freemangordon has joined #linux-sunxi
selfbg has joined #linux-sunxi
Putti has quit [Ping timeout: 250 seconds]
random_yanek has quit [Ping timeout: 268 seconds]
f0xx has joined #linux-sunxi
random_yanek has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 240 seconds]
nuuuciano has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
kaspter has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 268 seconds]
dddddd has joined #linux-sunxi
Andy-D has quit [Ping timeout: 245 seconds]
Andy-D has joined #linux-sunxi
msimpson has joined #linux-sunxi
clemens3_ has joined #linux-sunxi
The_Loko has joined #linux-sunxi
tl_lim has quit [Read error: Connection reset by peer]
reinforce has joined #linux-sunxi
leviathanch has joined #linux-sunxi
reinforce has quit [Ping timeout: 245 seconds]
reinforce has joined #linux-sunxi
longsleep has quit [Ping timeout: 258 seconds]
BenG83 has quit [Ping timeout: 240 seconds]
longsleep has joined #linux-sunxi
return0e_ has joined #linux-sunxi
return0e has quit [Ping timeout: 250 seconds]
vagrantc has quit [Quit: leaving]
Turl_ has quit [Quit: >.<]
Turl has joined #linux-sunxi
Turl has quit [Ping timeout: 258 seconds]
Turl has joined #linux-sunxi
AneoX_ has joined #linux-sunxi
AneoX has quit [Ping timeout: 240 seconds]
reinforce has quit [Ping timeout: 240 seconds]
reinforce has joined #linux-sunxi
tuxillo has quit [Remote host closed the connection]
shfil has joined #linux-sunxi
tuxillo has joined #linux-sunxi
tuxillo has quit [Remote host closed the connection]
tuxillo has joined #linux-sunxi
AneoX has joined #linux-sunxi
AneoX_ has quit [Ping timeout: 244 seconds]
hramrach has quit [Ping timeout: 245 seconds]
victhor has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
hramrach has joined #linux-sunxi
swiftgeek has quit [Ping timeout: 255 seconds]
jaganteki has joined #linux-sunxi
megi has joined #linux-sunxi
jaganteki has quit [Ping timeout: 256 seconds]
swiftgeek has joined #linux-sunxi
<mru> does anyone here know what became of these patches? https://patchwork.kernel.org/cover/10582083/
lurchi_ is now known as lurchi__
<mru> MoeIcenowy: ^^ you're mentioned there, perhaps you know
<mru> it seems like desirable functionality, but apparently the patches had some issues
lurchi__ is now known as lurchi_
book` has quit [Quit: Leaving]
book` has joined #linux-sunxi
kaspter has quit [Ping timeout: 255 seconds]
lurchi_ is now known as lurchi__
Gerwin_J has joined #linux-sunxi
afaerber has quit [Quit: Leaving]
<smaeul> anarsoul: no, https://github.com/smaeul/linux/commits/patch/mailbox-v3 is my latest changes for linux-mailbox-example. that's all the linux patches you need
<smaeul> that firware doesn't do SCPI from Linux, only from ATF
<smaeul> for crust master, the only additional patches you should need are device tree changes, but I haven't rebased them in several months
<smaeul> I can do that this evening
tlwoerner has joined #linux-sunxi
Rafael1980 has joined #linux-sunxi
<montjoie> smaeul: does it exists some way of testing the sunxi malibox ? For adding that in my test suite
afaerber has joined #linux-sunxi
sunshavi has quit [Remote host closed the connection]
sunshavi has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
AneoX has quit [Ping timeout: 250 seconds]
Rafael1980 has quit [Quit: Konversation terminated!]
Rafael1980 has joined #linux-sunxi
<plaes> does anyone know when the Pine64 Cube (the self-contained camera) is available for purchase?
leviathanch has quit [Remote host closed the connection]
Rafael1980 has quit [Client Quit]
Rafael1980 has joined #linux-sunxi
selfbg has quit [Remote host closed the connection]
xes_ is now known as xes
reinforce has joined #linux-sunxi
nuuuciano has joined #linux-sunxi
linkmauve has joined #linux-sunxi
<linkmauve> Hi, I have an A10-based computer, running Linux 5.0, connected through HDMI, but ALSA doesn’t seem to find any module to output sound to it.
<linkmauve> Do I need to do something, or is it just not implemented yet?
<linkmauve> I see sun4i_drm_hdmi in lsmod, but this may be just for rendering an image.
<angelo_ts> hi, porting a custom board fdt (very similar to orangepi-one") from linux 4_10 to 5.0, for H3. Inside the 4.10 fdt there was a "&crypto" node (crypto: crypto-engine) but base crypto node seems not existing anymore. What should i do ?
<megi> crypto engine is not upstreamed yet
<megi> just remove the node
tllim has joined #linux-sunxi
<plaes> linkmauve: there's no hdmi audio driver yet
<linkmauve> Ok, thanks.
<angelo_ts> megi, thanks. What is the crypto module used for, in general ?
<montjoie> angelo_ts: crypto engine wil be sent soon
<montjoie> yeah I said that since months
<megi> it provides AF_ALG api
<angelo_ts> montjoie, ok., i ask what is for becouse maybe we just don't use/need it
<megi> among other things
<megi> angelo_ts: I guess it also accelerates crypto inside the kernel, like if you use dm-crypt
<angelo_ts> megi, ok. So, if i undestand, without it enabled, userspace things may work anyway, just slower ?
<megi> yes
<montjoie> angelo_ts: slower... not, with cyrpto engine you will have crypto a bit slower byt offloaded of cpu
<angelo_ts> montjoie, well ok, thanks
tnovotny has joined #linux-sunxi
Andy-D has quit [Ping timeout: 244 seconds]
BenG83 has joined #linux-sunxi
rexxster has quit [Ping timeout: 244 seconds]
AneoX has joined #linux-sunxi
tnovotny has quit [Quit: Leaving]
rexxster has joined #linux-sunxi
nuuuciano_ has joined #linux-sunxi
nuuuciano has quit [Ping timeout: 245 seconds]
nuuuciano__ has joined #linux-sunxi
nuuuciano_ has quit [Ping timeout: 244 seconds]
afaerber has quit [Quit: Leaving]
afaerber has joined #linux-sunxi
msimpson has quit [Read error: Connection reset by peer]
clemens3_ has quit [Ping timeout: 246 seconds]
dev1990 has quit [Quit: Konversation terminated!]
Andy-D has joined #linux-sunxi
Mr__Anderson has joined #linux-sunxi
scelestic has joined #linux-sunxi
Putti has joined #linux-sunxi
Andy-D has quit [Ping timeout: 250 seconds]
Andy-D has joined #linux-sunxi
Harrier has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Andy-D has quit [Ping timeout: 245 seconds]
Andy-D has joined #linux-sunxi
Harrier has joined #linux-sunxi
vagrantc has joined #linux-sunxi
lkcl has quit [Ping timeout: 255 seconds]
xeniter has left #linux-sunxi ["Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is"]
xeniter has joined #linux-sunxi
lkcl has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
DonkeyHotei has quit [Ping timeout: 246 seconds]
vagrantc has quit [Ping timeout: 252 seconds]
vagrantc has joined #linux-sunxi
nicknick has joined #linux-sunxi
nicknick has quit [Client Quit]
ccnuthead has joined #linux-sunxi
<ccnuthead> Can anyone say for certain whether or not AllWinner SoCs execute user code in EL3? I've searched around and have found conflicting reports on this front. For example, when the BROM loads from the sdcard, is that code executed in EL3?
<ccnuthead> I am looking for a board I can develop an EL3 monitor on, but I've been unable to determine if any of the AllWinner chips allow EL3 user code execution. Recently looking into the PINE64 (R18).
f0xx has quit [Ping timeout: 244 seconds]
DonkeyHotei has joined #linux-sunxi
vagrantc_ has joined #linux-sunxi
nuuuciano__ has quit [Ping timeout: 252 seconds]
DonkeyHotei has quit [Ping timeout: 252 seconds]
nashpa_ has joined #linux-sunxi
nuuuciano__ has joined #linux-sunxi
nashpa has quit [Ping timeout: 244 seconds]
dev1990 has joined #linux-sunxi
vagrantc has quit [Ping timeout: 252 seconds]
vagrantc_ is now known as vagrantc
BenG83_ has joined #linux-sunxi
ccnuthead has quit [Ping timeout: 256 seconds]
Putti has quit [Ping timeout: 240 seconds]
fl_0 has quit [Quit: STRG + Q]
vagrantc_ has joined #linux-sunxi
tllim has quit [Read error: Connection reset by peer]
lurchi__ is now known as lurchi_
afaerber has quit [Quit: Leaving]
parazyd has quit [Quit: leaving]
parazyd has joined #linux-sunxi
BenG83 has quit [Quit: Leaving]
<smaeul> to answer ccnuthead's question in case they return: yes, all 64-bit sunxi SoCs can run user code in EL3. BROM runs in AArch32 secure SVC, but you can do a warm reset into AArch64 EL3. That's what U-Boot SPL does. It normally loads ATF (aka bl31.bin), but you can replace that with your own code
<smaeul> montjoie: you would have to write a server (ARISC firmware) and a client (in Linux), and you could send whatever data you want back and forth to test
<smaeul> montjoie: H6 has a "debug mode", where the ARM CPUs can loop messages back to themselves. That mode isn't documented for earlier SoCs
<smaeul> so as far as I'm aware, there's no way to use the msgbox witout firmware on the other end
<smaeul> (note that the firmware doesn't have to be used for anything other than testing the mailbox -- Crust includes a tool to run arbitrary firmwares on the AR100 from userspace while Linux is booted)
Gerwin_J has quit [Quit: Gerwin_J]
Andy-D has quit [Ping timeout: 240 seconds]
Andy-D has joined #linux-sunxi
The_Loko has quit [Read error: Connection reset by peer]
dddddd has quit [Read error: Connection reset by peer]
Andy-D has quit [Ping timeout: 245 seconds]