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