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*
jstein has joined #linux-sunxi
jstein has quit [Quit: quit]
warpme_ has quit [Quit: Connection closed for inactivity]
popolon has quit [Quit: WeeChat 3.0]
dev1990_ has quit [Quit: Konversation terminated!]
Mangy_Dog has quit [Ping timeout: 268 seconds]
ldevulder has quit [Read error: Connection reset by peer]
apritzel has quit [Ping timeout: 260 seconds]
ldevulder has joined #linux-sunxi
lucascastro has joined #linux-sunxi
kaspter has joined #linux-sunxi
gaston1980 has quit [Ping timeout: 240 seconds]
lkcl has quit [Ping timeout: 272 seconds]
lucascastro has quit [Remote host closed the connection]
lkcl has joined #linux-sunxi
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #linux-sunxi
cnxsoft1 has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
ChriChri_ has joined #linux-sunxi
ChriChri has quit [Ping timeout: 240 seconds]
ChriChri_ is now known as ChriChri
night199uk has quit [Ping timeout: 256 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
camus has joined #linux-sunxi
night199uk has joined #linux-sunxi
kaspter has quit [Ping timeout: 256 seconds]
camus is now known as kaspter
JohnDoe_71Rus has joined #linux-sunxi
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 260 seconds]
reinforce has joined #linux-sunxi
<anarsoul> smaeul: so timer workaround has been broken since 5.2?
ldevulder has quit [Read error: Connection reset by peer]
ldevulder has joined #linux-sunxi
asdf28 has joined #linux-sunxi
asdf28 has quit [Remote host closed the connection]
<smaeul> anarsoul: partially. it could use the bogus counter value when setting a timeout
cmeerw has joined #linux-sunxi
apritzel has joined #linux-sunxi
cmeerw has quit [Ping timeout: 264 seconds]
kaspter has quit [Ping timeout: 260 seconds]
kaspter has joined #linux-sunxi
<plaes> libv: I was stupid :)
<plaes> `make bl31 PLAT=sun50i_a64` is not same as `PLAT=sun50i_a64 make bl31`
<plaes> messed up when recompiled ATF
jbrown has quit [Ping timeout: 264 seconds]
asdf28 has joined #linux-sunxi
apritzel has quit [Ping timeout: 256 seconds]
diego71 has quit [Quit: Lost terminal]
AneoX has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 246 seconds]
camus is now known as kaspter
t3st3r has joined #linux-sunxi
camus has joined #linux-sunxi
kaspter has quit [Ping timeout: 268 seconds]
camus is now known as kaspter
netlynx has joined #linux-sunxi
netlynx has quit [Changing host]
netlynx has joined #linux-sunxi
Naaka has joined #linux-sunxi
Naka has quit [Read error: Connection reset by peer]
damex has quit [Quit: No Ping reply in 180 seconds.]
damex has joined #linux-sunxi
<karlp> urh, yeah, that's caught me up a few times over the years
iamfrankenstein has joined #linux-sunxi
apritzel has joined #linux-sunxi
yann has joined #linux-sunxi
yann has quit [Ping timeout: 246 seconds]
cnxsoft1 has quit [Ping timeout: 272 seconds]
dev1990 has joined #linux-sunxi
gnarface has quit [Quit: Leaving]
diego71 has joined #linux-sunxi
lucascastro has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
daregap has quit [Quit: daregap]
cnxsoft has joined #linux-sunxi
iamfrankenstein has quit [Ping timeout: 256 seconds]
random_yanek has quit [Read error: No route to host]
gnarface has joined #linux-sunxi
random_yanek has joined #linux-sunxi
jbrown has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
shailangsa has quit [Ping timeout: 260 seconds]
bauen1 has quit [Ping timeout: 246 seconds]
bauen1 has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
jernej has quit [Client Quit]
jernej has joined #linux-sunxi
jernej has quit [Client Quit]
jernej has joined #linux-sunxi
jernej has quit [Client Quit]
diego71 has quit [Ping timeout: 260 seconds]
shailangsa has joined #linux-sunxi
lucascastro has quit [Ping timeout: 246 seconds]
jernej has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
lucascastro has joined #linux-sunxi
jernej has quit [Client Quit]
apritzel has quit [Ping timeout: 246 seconds]
jernej has joined #linux-sunxi
AneoX has quit [Quit: Textual IRC Client: www.textualapp.com]
apritzel has joined #linux-sunxi
gediz0x539 has quit [Quit: Leaving]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 264 seconds]
gaston1980 has joined #linux-sunxi
victhor has joined #linux-sunxi
t3st3r has quit [Ping timeout: 240 seconds]
yann has joined #linux-sunxi
diego71 has joined #linux-sunxi
kaspter has quit [Quit: kaspter]
yann has quit [Ping timeout: 256 seconds]
cmeerw has joined #linux-sunxi
reinforce has quit [Quit: Leaving.]
cnxsoft1 has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 264 seconds]
tuxillo has quit [Remote host closed the connection]
KotCzarny has quit [Ping timeout: 240 seconds]
cnxsoft1 has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
KotCzarny has joined #linux-sunxi
gaston1980 has quit [Quit: Konversation terminated!]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
jstein has joined #linux-sunxi
<bauen1> turns out the poc i made for exploiting secure boot didn't actually work, so i've updated it to make it work
<bauen1> always great to come back and start second guessing if things even worked in the first place
gaston1980 has joined #linux-sunxi
yann has joined #linux-sunxi
damex has quit [Read error: Connection reset by peer]
damex has joined #linux-sunxi
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #linux-sunxi
damex has quit [Read error: Connection reset by peer]
damex has joined #linux-sunxi
yann has quit [Ping timeout: 265 seconds]
apritzel has left #linux-sunxi ["Leaving"]
apritzel has joined #linux-sunxi
vagrantc has joined #linux-sunxi
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
apritzel has quit [Ping timeout: 256 seconds]
lucascastro has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
lucascastro has joined #linux-sunxi
lucascastro has quit [Ping timeout: 240 seconds]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
ldevulder_ has quit [Read error: Connection reset by peer]
ldevulder_ has joined #linux-sunxi
<bauen1> smaeul: does 49d98cd549c3e2cb5fa4316e1ed365af4d95d9ba in trusted-firmware-a mean that you've figured out what kind of SPC the H6 has and which peripheral corresponds to which or just what each register does ?
lucascastro has joined #linux-sunxi
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
lkcl has quit [Ping timeout: 260 seconds]
apritzel has quit [Ping timeout: 272 seconds]
lkcl has joined #linux-sunxi
ldevulder__ has joined #linux-sunxi
ldevulder_ has quit [Ping timeout: 256 seconds]
lurchi_ is now known as lurchi__
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 256 seconds]
victhor has quit [Remote host closed the connection]
lurchi__ is now known as lurchi_
apritzel has joined #linux-sunxi
<bauen1> so taking another look at what the rtc actually offers, it looks like i can sacrifice the alarm0 and the "crypto" part and have a total of 84 bytes (minus 1 bit) that are preserved, take ~52 bytes to make the sbrom actually secure and i have just about 32 bytes for a decryption key and a replay counter
<bauen1> and it limits the BL2 / spl size to a hard 32kb (minus a few hunders bytes for toc0), and the default u-boot spl takes up most of that leaving just about 472bytes, but doesn't actually have the ability to do signature checking
gameblabla has joined #linux-sunxi
<gameblabla> Hello! Back with another issue. How would i force 640x480 32bpp via uboot ? I tried setenv video-mode sunxi:640x480-32@60,monitor=hdmi,hpd=0,edid=0 in boot.cmd but no luck. The only output i was able to get was video=HDMI-A-1:d disp.screen0_output_mode=720x480p60 but even that forces the display to 720p, which i don't want in my case.
apritzel has quit [Ping timeout: 256 seconds]
lucascastro has quit [Ping timeout: 256 seconds]
<bauen1> oh nevermind again, spl does support signed images, it's just hidden and it's massive (seems to add ~36kb :D)
<jernej> gameblabla: for which SoC and you mean for Linux?
<gameblabla> A20 and yeah linux
<jernej> disp.screen0_output_mode is for BSP kernel
<jernej> anyway, with mainline kernel you can only force video resolution via kernel arguments
<jernej> so, you should set bootarg accordingly
<gameblabla> Yeah i'm using the mainline kernel. Guess that explains why it didn't work
<gameblabla> Does this look wrong ?
<jernej> setenv video-mode won't do anything
<jernej> but I'm not sure about kernel arguments
<gameblabla> Well yeah i also have an RGB panel
<karlp> unlesssome other uboot thing uses "video-mode" to construct boot args...
<karlp> people script uboot far beyond sanity IMO
asdf28 has quit [Ping timeout: 260 seconds]
<gameblabla> Hmm so i tried video-mode=sunxi:640x480-32@60d,monitor=hdmi,hpd=500,edid=0 in bootargs but it seems to try to display 720p (?) display on the RGB LCD. If the RGB LCD is disabled later after it booted, it still defaults to 720p
<gameblabla> Even though i had video=Unknown-1:640x480-32@60 set
<jernej> gameblabla: my knowledge of A20 and RGB interface is weak, but I think there is no mainline driver for it
<gameblabla> Well it certainly works for me
<jernej> in this case it's probably used through simplefb, which is set up by U-Boot and used as-is in Linux
<jernej> wait, RGB is LCD?
<gameblabla> yes
<jernej> I mixed up with VGA
<gameblabla> yeah it's not vga
<libv> jernej: there is no working vga in mainline on a20
apritzel has joined #linux-sunxi
<jernej> exactly, but simplefb should work
<libv> i am running an rgb lcd on both the fosdem test hw and a bpi on 5.9
<libv> and hdmi
<gameblabla> Alright so video=Unknown-1:640x480-32@60 video=HDMI-A-1:d video-mode=sunxi:640x480-32@60,monitor=hdmi,hpd=500,edid=0 makes the RGB LCD not misbehave (it displays 640x480) but HDMI still outputs 720p xox
<libv> gameblabla: what issue are you actually trying to solve, what is your endgoal?
<gameblabla> I want to output 640x480p over HDMI, not 720p
<libv> why?
<libv> (as that does not smell like it is the real goal of what you are trying to achieve)
<gameblabla> Why not ? Besides i'm using SDL 1.2 with the kmsdrm backend from OpenDingux and software rendering is slow at 720p with Gmenu2x
<gameblabla> And i like when things are consistent
<libv> where does the rgb lcd come in in all this?
<gameblabla> Well it needs to work still :>... Basically i have a small buildroot distro that boots to RGB LCD at boot but later the user can switch between LCD or HDMI through a small app
<gameblabla> It basically just does echo off > /sys/class/drm/card1-Unknown-1/status;echo on > /sys/class/drm/card1-HDMI-A-1/status and vice-versa
<gameblabla> So i need both to work ok
<libv> the user being... you?
<gameblabla> And a few other people as well :>
<apritzel> bauen1: where does this "hard 32KB" limit come from?
<libv> gameblabla: what hw is this?
<gameblabla> It's the Retrostone 2 to be precise. It has an Allwinner A20 with an LCD and an HDMI port
<gameblabla> But yeah so far it's working, except for HDMI that outputs 720p instead of 480p
<libv> gameblabla: why not use the full resolution of the lcd, and use the display engines scaler?
<libv> err, lcd being hdmi connected device
<gameblabla> it is a 640x480 screen
<libv> that only costs memory bandwidth
<libv> and you can display in parallel
<libv> and upscaling 640x480 is not that memory intensive
<gameblabla> is that possible on the A20 ? Because i noticed that SDL 1.2 KMSDRM was much slower over HDMI 720p, even when upscaling with the Display Engine from a lower resolution like 320x240
<libv> not like the downscaling from 1280x720 to 320x240 that i was doing for the fosdem video hw in february
<libv> what did you witness though, actual usage of the display engine, or sw/mali based scaling?
<gameblabla> Most likely the display engine : i'm forcing 320x240 32bpp and i'm not using software scaling and much less the Mali
<gameblabla> The display engine works fine for the LCD
<gameblabla> While it does work fine over HDMI as well, it stretches 320x240 to the full 720p (resulting in a messed up aspect ratio) and seems slower.
<libv> how can you tell?
<gameblabla> It's not as responsive as it should be
<gameblabla> But i'm gonna try with a benchmark
<libv> then something is wrong
<libv> if the application, or whatever SDL is doing does the overlay dance correctly, you should have less than one frame difference between both displays
<libv> simply because they are not going to be in sync
<gameblabla> i'm only displaying one at a time
<libv> should not cost you any more in memory bandwidth, when done correctly
<gameblabla> Oh nevermind, you're right
<gameblabla> I misconfigured my capture card
<gameblabla> although the aspect ratio is wrong, unless there's a way of telling the kernel/display engine to keep the aspect ratio ?
<libv> of course there is
<gameblabla> how ?
<libv> kms?
<gameblabla> that's not very specific :>
<libv> have the application that listens to the hotkey or menu or whatever, do the kms dance properly
fl__0 has joined #linux-sunxi
fl_0 has quit [Ping timeout: 260 seconds]
<libv> check out the fosdem video hw video, i am capturing planar RGB, captured from the speakers laptop (mine in this case, but it did that the whole weekend), with a hacked edid fake device, displaying the planar rgb buffer on hdmi at the native resolution of the projector, at the correct aspect ratio, and then also displaying it on the 320x240 lcd at the same time
<libv> i now have working planar rgb to nv12
<gameblabla> Ah, i see that you also used the A20 so i'm going to take a look
<apritzel> bauen1: smaeul: do those CPU hotplug registers (magic + start addr) survive a watchdog reset? Or only a core reset?
fl__0 is now known as fl_0
cmeerw has quit [Ping timeout: 264 seconds]
tuxd3v has joined #linux-sunxi
dev1990 has quit [Quit: Konversation terminated!]