00:01
swiftgeek has quit [Quit: WeeChat 1.7]
00:04
Ntemis has quit [Remote host closed the connection]
00:05
dave0x6d has quit [Quit: Connection closed for inactivity]
00:09
lurchi_ is now known as lurchi__
00:11
Mr__Anderson has quit [Remote host closed the connection]
00:17
jski_ has quit [Ping timeout: 240 seconds]
00:18
jski has joined #linux-sunxi
00:25
Wizzup has quit [Quit: leaving]
00:28
Wizzup has joined #linux-sunxi
00:41
wzyy2 has joined #linux-sunxi
00:42
jernej_ is now known as jernej
00:43
<
jernej >
shadeslayer: vi means number of yuv channels and ui means number of rgb channels
00:43
<
shadeslayer >
ah I see, is this documented somewhere?
00:44
<
shadeslayer >
ok, then I looked in the right places :P
00:44
<
jernej >
I wrote U-Boot HDMI driver, which is not mainlined yet
00:44
<
shadeslayer >
ahh :D
00:45
<
shadeslayer >
I am going to now :)
00:45
<
jernej >
it supports A64 HDMI
00:45
<
BenG83_PB >
nice ;)
00:45
<
jernej >
it can be used through simplefb DT nodes
00:45
<
shadeslayer >
jernej: thanks, I had a question about this since I'm trying to get the DRM bits working on the Pine
00:46
<
jernej >
so kernel can use HDMI trough it
00:46
<
shadeslayer >
does uboot need to enable these nodes at boot for the kernel to be able to use it?
00:46
<
jernej >
for simple work it is enough
00:46
<
shadeslayer >
or would it not matter
00:46
<
jernej >
nodes has to be present
00:47
<
jernej >
then they are populated on the fly before boot
00:47
<
shadeslayer >
I see
00:47
<
jernej >
Let me check if Armbian already use simplefb for A64
00:49
<
shadeslayer >
well I can just build uboot from your de2 branch :)
00:49
<
shadeslayer >
that would work right?
00:50
<
jernej >
so if you download Armbian nightly dev version for Pine, you would already have HDMI output on Pine64
00:50
swiftgeek has joined #linux-sunxi
00:51
<
jernej >
well, A64 needs also ATF, which is separate build
00:51
<
shadeslayer >
yeah but I'm more interested in learing about what those patches do rather than in the end result
00:51
<
shadeslayer >
jernej: right, I already have all of that setup
00:52
<
jernej >
shadeslayer: I plan to write mainline HDMI driver and MoeIcenowy DE2
00:53
<
jernej >
actually, HDMI bridge
00:53
<
shadeslayer >
jernej: sure, that doesn't really help /me/ learn how to write one :)
00:54
* shadeslayer
is interested in how all of this works
00:54
<
jernej >
ah, I forgot to delete that branch
00:54
<
shadeslayer >
jernej: oh which branch then?
00:54
<
jernej >
it has support for H3/H5/A64
00:55
<
jernej >
well, you have long way ahead :)
00:58
<
shadeslayer >
definitely :)
00:58
<
shadeslayer >
have to start somewhere though :)
00:58
<
jernej >
shadeslayer: you can also check jf moine's H3 DRM driver, where code part should be the same as A64
00:58
lurchi__ is now known as lurchi_
00:59
<
jernej >
but it won't work as it is, because it doesn't claim SRAM and also doesn't turn on HDMI power supply
01:00
<
jernej >
my patch also doesn't turn on HDMI power supply, so it has to be done either through ATF or additional U-Boot patch
01:01
<
shadeslayer >
which ATF do I need? I'm using apritzel's
01:02
<
jernej >
If you are using latest version, then you should be fine
01:10
chlorine has joined #linux-sunxi
01:14
chlorine has quit [Ping timeout: 246 seconds]
01:16
BenG83 has quit [Quit: Leaving]
01:25
<
apritzel >
shadeslayer: the allwinner branch enables the HDMI power rail now
01:25
florianH has quit [Quit: Connection closed for inactivity]
01:26
<
lurchi_ >
apritzel: whats the difference between the aw and aw-stable branches?
01:32
<
shadeslayer >
apritzel: heh, I still haven't figured out that no-pie issue btw
01:32
<
shadeslayer >
so I built it with export CFLAGS="-fno-PIE"
01:32
<
shadeslayer >
and then uboot and tried to boot
01:32
<
shadeslayer >
no luck so far
01:32
<
shadeslayer >
but I'll take a look tomorrow since it's pretty late now
01:34
<
lurchi_ >
apritzel: just saw your udelay implementation in ATF - you can stop the compiler from optimizing away the loop by inserting '__asm__ volatile ("" ::: memory)', and keep the C code
01:38
<
apritzel >
lurchi_: why shall I keep a broken and misformatted function written by AW?
01:39
<
apritzel >
shadeslayer: aw and aw-stable are the same, I just messed up and push my local branch under its local name instead of the public "allwinner" name
01:40
<
apritzel >
shadeslayer: to avoid confusion I made both branches the same for now
01:40
<
lurchi_ >
apritzel: "for (int j = 0; j < 1000; j++) {
__asm__ volatile("" ::: memory) }" may be easier to read than the inline asm
01:44
<
apritzel >
it's more precise this way, though
01:49
<
lurchi_ >
apritzel: more precise?
01:49
apritzel has quit [Quit: Leaving.]
01:51
terra854 has joined #linux-sunxi
01:52
dave0x6d has joined #linux-sunxi
02:02
cnxsoft has joined #linux-sunxi
02:05
egbert has quit [Disconnected by services]
02:06
egbert has joined #linux-sunxi
02:18
<
wens >
MoeIcenowy: it's not needed currently, maybe i just forgot about this little detail (not having R_PIO reset)
02:20
<
wens >
not supporting an soc or two is fine by me, we're playing catch up anyway
02:21
jailbox has quit [Ping timeout: 264 seconds]
02:29
sgteem has joined #linux-sunxi
02:33
sgteem_ has quit [Ping timeout: 260 seconds]
02:33
ninolein_ has joined #linux-sunxi
02:33
jailbox has joined #linux-sunxi
02:36
ninolein has quit [Ping timeout: 264 seconds]
02:45
<
willmore >
TheLinuxBug, 'shart'?
02:50
freemangordon has joined #linux-sunxi
02:56
<
igraltist >
i load this driver: modprobe -v binfmt_misc
02:56
<
igraltist >
insmod /lib/modules/4.9.13-rsbac-1+/kernel/fs/binfmt_misc.ko
02:57
<
igraltist >
but director in /proc/sys/fs/binfmt_misc
02:57
<
igraltist >
its for the cubietruck maybe i missed a configuration
02:57
<
igraltist >
its has no directory
03:09
<
igraltist >
│ CONFIG_IO_STRICT_DEVMEM: │
03:09
<
igraltist >
maybe this should disabled
03:09
lurchi_ is now known as lurchi__
03:45
reev has joined #linux-sunxi
03:54
wzyy2 has quit [Ping timeout: 268 seconds]
03:55
juri_ has quit [Ping timeout: 264 seconds]
03:55
victhor has quit [Ping timeout: 246 seconds]
04:06
wzyy2 has joined #linux-sunxi
04:12
Andy-D has quit [Ping timeout: 240 seconds]
04:19
leviathan has joined #linux-sunxi
04:26
lkcl has joined #linux-sunxi
04:43
ramshorns has quit [Ping timeout: 256 seconds]
04:43
juri_ has joined #linux-sunxi
04:47
pg12 has quit [Ping timeout: 246 seconds]
04:48
pg12 has joined #linux-sunxi
04:51
ramshorns has joined #linux-sunxi
04:51
vagrantc has joined #linux-sunxi
04:53
lkcl has quit [Ping timeout: 246 seconds]
04:55
Rondom has quit [Remote host closed the connection]
04:55
Rondom has joined #linux-sunxi
05:01
laj has quit [Quit: Page closed]
05:11
chlorine has joined #linux-sunxi
05:16
chlorine has quit [Ping timeout: 240 seconds]
05:16
TheSeven has quit [Disconnected by services]
05:16
[7] has joined #linux-sunxi
05:21
Gerwin_J has joined #linux-sunxi
05:26
IgorPec has joined #linux-sunxi
05:27
wzyy2 has quit [Ping timeout: 260 seconds]
05:34
riaqn has quit [Read error: Connection reset by peer]
05:42
lkcl has joined #linux-sunxi
05:45
lurchi__ has quit [Read error: Connection reset by peer]
05:45
lurchi_ has joined #linux-sunxi
05:45
lurchi_ is now known as lurchi__
05:47
wzyy2 has joined #linux-sunxi
05:55
JohnDoe_71Rus has joined #linux-sunxi
06:04
leviathan has quit [Remote host closed the connection]
06:10
chlorine has joined #linux-sunxi
06:13
reinforce has joined #linux-sunxi
06:14
foxx has joined #linux-sunxi
06:15
chlorine has quit [Ping timeout: 240 seconds]
06:34
muvlon has quit [Ping timeout: 260 seconds]
06:40
<
KotCzarny >
lol @ sharting coffee bins ;)
06:46
muvlon has joined #linux-sunxi
06:53
<
MoeIcenowy >
do you want to make coffee with Allwinner devices? ;-)
06:54
<
KotCzarny >
will it blend? ;)
06:58
DullTube has joined #linux-sunxi
06:58
<
KotCzarny >
NanoPi M1 Plus looks cute
06:59
<
KotCzarny >
but its a bit pricey, ho-hum
07:06
vagrantc has quit [Ping timeout: 240 seconds]
07:09
jernej has quit [Ping timeout: 240 seconds]
07:12
BenG83_PB has quit [Ping timeout: 258 seconds]
07:13
<
mrnuke >
MoeIcenowy: all-winner coffee. wouldn't complain :p
07:14
<
MoeIcenowy >
Allwinner chips are enough to implement a HTCPCP stack ;-)
07:14
<
KotCzarny >
mrnuke, you could have some stomach issues on the rough bits of it
07:25
<
mrnuke >
KotCzarny: I'll just let it sit a bit, get some bit rot in before drinking it
07:27
wzyy2 has quit [Read error: Connection reset by peer]
07:28
terra854 has quit [Quit: Connection closed for inactivity]
07:29
BenG83_PB has joined #linux-sunxi
07:38
<
ssvb >
Loading TOC0 into SRAM A2 allows to boot H3 and A64/H64 from the same SD card
07:39
<
plaes >
oh man, you have some courage :)
07:41
<
libv >
toc0 is for which SoCs?
07:41
<
libv >
the explanation of what it is and when it appeared is missing from the top of the wiki page
07:41
<
MoeIcenowy >
libv: for SoCs with secure boot feature and have the feature enabled in eFUSE
07:41
<
ssvb >
toc0 is the new bootloader header format, used by the secure BROM
07:42
wzyy2 has joined #linux-sunxi
07:43
<
libv >
yeah, i see that you guys are pretty active
07:43
<
libv >
i just had to infer what it was and when it started to be relevant
07:43
<
libv >
which is why i now told you this
07:47
<
KotCzarny >
bricks, bricks everywhere
07:47
<
ssvb >
plaes: jemk and apritzel already did this long before me :-) and I still have another H3 board for experiments
07:47
<
KotCzarny >
want to destroy someone's board? here, put this card in and cycle power ;)
07:48
<
plaes >
so, once it's burned, the only way to move back is to decap, apply some nail polish and UV?
07:48
<
MoeIcenowy >
plaes: maybe UV won't help on eFUSEs
07:48
vagrantc has joined #linux-sunxi
07:48
<
MoeIcenowy >
UV can only help on EPROM
07:48
<
ssvb >
well, when we have better TOC0 format support, there will be not much difference
07:50
<
ssvb >
and jemk is suspecting that there is an anti-bit in the eFUSE, which can be blown to revert the SoC to the non-secure boot state
07:50
<
ssvb >
but once this is done, we can't ever activate the secure boot mode again
07:52
<
ssvb >
also we can probably set all ROTPK_HASH bits to 1 and thus disable it
07:53
<
MoeIcenowy >
I think AW didn't say ROTPK_HASH as all 1
07:53
<
MoeIcenowy >
they only said that all 0 ROTPK_HASH will omit pk verify
07:54
r1mikey has joined #linux-sunxi
07:54
r1mikey has quit [Remote host closed the connection]
07:55
<
plaes >
so boot time for TOC0 will be always slower due to size and extra processing that has to be done?
07:55
r1mikey has joined #linux-sunxi
07:56
<
ssvb >
plaes: yes, boot time is longer
08:09
r1mikey_ has joined #linux-sunxi
08:10
phil42 has quit [Ping timeout: 260 seconds]
08:11
vagrantc has quit [Ping timeout: 258 seconds]
08:13
r1mikey has quit [Ping timeout: 246 seconds]
08:13
florianH has joined #linux-sunxi
08:13
matthias_bgg has joined #linux-sunxi
08:17
aballier has quit [Quit: leaving]
08:18
techping has joined #linux-sunxi
08:23
Gerwin_J_ has joined #linux-sunxi
08:24
Gerwin_J has quit [Ping timeout: 260 seconds]
08:24
Gerwin_J_ is now known as Gerwin_J
08:27
massi has joined #linux-sunxi
08:27
r1mikey_ has quit [Remote host closed the connection]
08:27
techping has quit [Remote host closed the connection]
08:27
massi has joined #linux-sunxi
08:27
r1mikey has joined #linux-sunxi
08:31
aballier has joined #linux-sunxi
08:31
aballier has joined #linux-sunxi
08:37
BenG83_PB has quit [Remote host closed the connection]
08:41
enrico__ has joined #linux-sunxi
08:48
chomwitt has joined #linux-sunxi
08:51
lemonzest has joined #linux-sunxi
08:53
chlorine has joined #linux-sunxi
08:57
avph has joined #linux-sunxi
09:13
leviathancn has joined #linux-sunxi
09:18
cnxsoft has quit [Read error: Connection reset by peer]
09:19
cnxsoft has joined #linux-sunxi
09:24
r1mikey has quit [Ping timeout: 246 seconds]
09:27
wzyy2 has quit [Read error: Connection reset by peer]
09:31
chlorine has quit [Remote host closed the connection]
09:31
matthias_bgg_ has joined #linux-sunxi
09:32
matthias_bgg_ has quit [Read error: Connection reset by peer]
09:34
LargePrime has quit [Ping timeout: 260 seconds]
09:37
rookieone has quit [Quit: brb]
09:38
rookieone has joined #linux-sunxi
09:42
BenG83 has joined #linux-sunxi
09:43
wzyy2 has joined #linux-sunxi
09:47
LargePrime has joined #linux-sunxi
09:50
BenG83 has quit [Quit: Leaving]
09:54
BenG83 has joined #linux-sunxi
09:59
yann has quit [Ping timeout: 264 seconds]
09:59
chlorine has joined #linux-sunxi
10:02
yann has joined #linux-sunxi
10:02
r1mikey has joined #linux-sunxi
10:04
igraltis1 has joined #linux-sunxi
10:06
lerc has quit [Read error: Connection reset by peer]
10:07
igraltis1 is now known as jen
10:07
lerc has joined #linux-sunxi
10:08
igraltist has quit [Ping timeout: 255 seconds]
10:08
jen has quit [Client Quit]
10:10
igraltist has joined #linux-sunxi
10:11
yann has quit [Ping timeout: 240 seconds]
10:12
chlorine has quit [Remote host closed the connection]
10:15
chlorine has joined #linux-sunxi
10:18
enrico__ has quit [Ping timeout: 240 seconds]
10:21
enrico__ has joined #linux-sunxi
10:29
silviop has joined #linux-sunxi
10:34
<
silviop >
(x:640,y:1024,depth:24,pclk_khz:54000,le:10,ri:10,up:10,lo:10,hs:1,vs:1,sync:3,vmode:0) LCD panel timing details
10:34
<
silviop >
does someone have experience in writing such timings ?
10:35
<
silviop >
the panel is dual channel but i create an Y cable to feed two channels from only one supported by uboot
10:36
<
silviop >
my scope is to validate my setup for try to add dual lvds channel support on u-boot A20
10:43
parazyd has quit [Quit: nuked]
10:44
Gerwin_J has quit [Ping timeout: 260 seconds]
10:44
chlorine has quit [Remote host closed the connection]
10:44
parazyd has joined #linux-sunxi
10:44
parazyd has joined #linux-sunxi
10:44
parazyd has quit [Changing host]
10:47
<
oliv3r >
silviop: you probably need the datasheet of the lcd panel?
10:49
<
silviop >
firs link
10:49
<
silviop >
first link page 11
10:51
<
silviop >
i feel that in the table there are not enough informations
10:55
r1mikey has quit [Remote host closed the connection]
10:55
Gerwin_J has joined #linux-sunxi
11:00
r1mikey has joined #linux-sunxi
11:08
fkluknav has joined #linux-sunxi
11:08
terra854 has joined #linux-sunxi
11:14
wzyy2 has quit [Ping timeout: 260 seconds]
11:22
Gerwin_J_ has joined #linux-sunxi
11:24
Gerwin_J has quit [Ping timeout: 260 seconds]
11:24
Gerwin_J_ is now known as Gerwin_J
11:40
JohnDoe71rus has joined #linux-sunxi
11:41
JohnDoe_71Rus has quit [Ping timeout: 240 seconds]
11:43
chlorine_ has joined #linux-sunxi
11:45
KotCzarny has quit [Quit: brb]
11:54
KotCzarny has joined #linux-sunxi
12:03
lurchi__ is now known as lurchi_
12:17
chlorine_ has quit [Remote host closed the connection]
12:18
lurchi_ is now known as lurchi__
12:18
chlorine has joined #linux-sunxi
12:18
chlorine has quit [Remote host closed the connection]
12:19
chlorine has joined #linux-sunxi
12:23
chlorine has quit [Ping timeout: 260 seconds]
12:26
r1mikey has quit [Remote host closed the connection]
12:31
chlorine has joined #linux-sunxi
12:37
phil42 has joined #linux-sunxi
12:40
r1mikey has joined #linux-sunxi
12:40
wzyy2 has joined #linux-sunxi
12:42
yann has joined #linux-sunxi
13:04
Ntemis has joined #linux-sunxi
13:05
my123 has quit [Read error: Connection reset by peer]
13:05
my123 has joined #linux-sunxi
13:05
my123 has joined #linux-sunxi
13:05
my123 has quit [Changing host]
13:05
elvirolo has joined #linux-sunxi
13:09
Andy-D has joined #linux-sunxi
13:10
silviop has quit [Ping timeout: 240 seconds]
13:17
chlorine has quit [Remote host closed the connection]
13:18
chlorine_ has joined #linux-sunxi
13:19
r1mikey has quit [Remote host closed the connection]
13:22
r1mikey has joined #linux-sunxi
13:27
silviop has joined #linux-sunxi
13:31
chlorine_ has quit [Remote host closed the connection]
13:32
chlorine_ has joined #linux-sunxi
13:42
chlorine_ has quit [Remote host closed the connection]
13:44
Ntemis has quit [Remote host closed the connection]
13:46
cptG_ has joined #linux-sunxi
13:47
chlorine has joined #linux-sunxi
13:48
komunista has joined #linux-sunxi
13:49
Pepe has quit [Quit: WeeChat 1.4]
13:49
cptG has quit [Ping timeout: 246 seconds]
14:02
DullTube has quit [Quit: Leaving]
14:02
cnxsoft has quit [Quit: cnxsoft]
14:02
chlorine has quit [Remote host closed the connection]
14:05
chlorine_ has joined #linux-sunxi
14:07
chlorine_ has quit [Remote host closed the connection]
14:08
chlorine has joined #linux-sunxi
14:09
victhor has joined #linux-sunxi
14:13
Pepe has joined #linux-sunxi
14:20
cosm has quit [Ping timeout: 276 seconds]
14:20
chlorine has quit [Remote host closed the connection]
14:23
cosm has joined #linux-sunxi
14:33
IgorPec has quit [Ping timeout: 264 seconds]
14:37
Mr__Anderson has joined #linux-sunxi
14:39
Gerwin_J has quit [Ping timeout: 260 seconds]
14:40
montjoie has quit [Quit: Lost terminal]
14:41
phil42 has quit [Quit: Leaving]
14:43
afaerber has quit [Quit: Leaving]
14:45
JohnDoe_71Rus has joined #linux-sunxi
14:47
wzyy2 has quit [Ping timeout: 264 seconds]
14:51
Mr__Anderson has quit [Ping timeout: 240 seconds]
14:57
wzyy2 has joined #linux-sunxi
15:03
afaerber has joined #linux-sunxi
15:07
msevwork has quit [Quit: Leaving]
15:14
chlorine has joined #linux-sunxi
15:24
phil42 has joined #linux-sunxi
15:25
nove has joined #linux-sunxi
15:32
The_Loko has joined #linux-sunxi
15:33
montjoie has joined #linux-sunxi
15:36
Mr__Anderson has joined #linux-sunxi
15:47
reinforce has quit [Quit: Leaving.]
15:47
leviathancn has quit [Read error: Connection reset by peer]
15:51
elvirolo has left #linux-sunxi [#linux-sunxi]
15:55
r1mikey has quit [Remote host closed the connection]
15:56
r1mikey has joined #linux-sunxi
16:01
r1mikey has quit [Remote host closed the connection]
16:03
r1mikey has joined #linux-sunxi
16:13
fkluknav has quit [Ping timeout: 240 seconds]
16:28
chlorine has quit [Remote host closed the connection]
16:29
fkluknav has joined #linux-sunxi
16:31
arete74 has quit [Quit: Lost terminal]
16:34
arete74 has joined #linux-sunxi
16:41
Mr__Anderson has quit [Read error: Connection reset by peer]
16:41
IgorPec has joined #linux-sunxi
16:43
vagrantc has joined #linux-sunxi
16:47
reinforce has joined #linux-sunxi
16:49
r1mikey has quit [Remote host closed the connection]
16:50
fkluknav has quit [Ping timeout: 246 seconds]
16:52
chomwitt has quit [Ping timeout: 268 seconds]
17:00
r1mikey_ has joined #linux-sunxi
17:01
BenG83 has quit [Quit: Leaving]
17:02
leviathan has joined #linux-sunxi
17:04
fkluknav has joined #linux-sunxi
17:08
terra854 has quit [Quit: Connection closed for inactivity]
17:13
|Jeroen| has joined #linux-sunxi
17:16
chlorine has joined #linux-sunxi
17:24
chlorine has quit [Remote host closed the connection]
17:25
netlynx has joined #linux-sunxi
17:25
netlynx has quit [Changing host]
17:25
netlynx has joined #linux-sunxi
17:28
chlorine has joined #linux-sunxi
17:30
The_Loko has quit [Quit: Leaving]
17:32
r1mikey_ has quit [Remote host closed the connection]
17:32
chlorine has quit [Ping timeout: 258 seconds]
17:34
wzyy2 has quit [Read error: Connection reset by peer]
17:41
mossroy has joined #linux-sunxi
17:51
wzyy2 has joined #linux-sunxi
17:54
wzyy2 has quit [Read error: Connection reset by peer]
17:57
jernej has joined #linux-sunxi
17:57
r1mikey has joined #linux-sunxi
18:03
r1mikey_ has joined #linux-sunxi
18:03
r1mikey has quit [Ping timeout: 246 seconds]
18:05
r1mikey_ has quit [Remote host closed the connection]
18:06
r1mikey has joined #linux-sunxi
18:11
wzyy2 has joined #linux-sunxi
18:20
lkcl has quit [Ping timeout: 240 seconds]
18:20
massi has quit [Quit: Leaving]
18:25
akaizen has joined #linux-sunxi
18:28
enrico__ has quit [Quit: Bye]
18:40
r1mikey_ has joined #linux-sunxi
18:41
r1mikey has quit [Read error: Connection reset by peer]
18:46
|Jeroen| has quit [Quit: dada]
18:48
|Jeroen| has joined #linux-sunxi
18:50
rookieone has quit [Ping timeout: 258 seconds]
18:50
wzyy2 has quit [Read error: Connection reset by peer]
18:50
rookieone has joined #linux-sunxi
18:53
BenG83_PB has joined #linux-sunxi
18:54
r1mikey_ has quit [Quit: Leaving...]
18:55
chomwitt has joined #linux-sunxi
18:59
nove has quit [Quit: nove]
19:07
yann has quit [Ping timeout: 240 seconds]
19:07
wzyy2 has joined #linux-sunxi
19:09
LargePrime has quit [Ping timeout: 240 seconds]
19:14
chlorine has joined #linux-sunxi
19:21
wzyy2 has quit [Ping timeout: 240 seconds]
19:21
lynxis has quit [Remote host closed the connection]
19:22
lynxis has joined #linux-sunxi
19:24
netlynx has quit [Quit: Ex-Chat]
19:36
chlorine has quit [Remote host closed the connection]
19:38
vagrantc has quit [Quit: leaving]
19:38
chlorine has joined #linux-sunxi
19:41
leviathan has quit [Ping timeout: 258 seconds]
19:41
leviathan has joined #linux-sunxi
19:44
fkluknav has quit [Ping timeout: 268 seconds]
19:45
Ntemis has joined #linux-sunxi
19:46
medvid has quit [Ping timeout: 255 seconds]
19:47
lurchi__ is now known as lurchi_
19:57
medvid has joined #linux-sunxi
20:19
phipli has joined #linux-sunxi
20:23
IgorPec has joined #linux-sunxi
20:28
BenG83_PB has quit [Ping timeout: 246 seconds]
20:32
lemonzest has quit [Quit: Leaving]
20:40
BenG83 has joined #linux-sunxi
20:46
foxx has quit [Ping timeout: 246 seconds]
20:49
afaerber has quit [Quit: Leaving]
20:53
reinforce has quit [Quit: Leaving.]
20:56
mossroy has quit [Quit: Leaving]
21:00
leviathan has quit [Ping timeout: 260 seconds]
21:01
chlorine has quit [Remote host closed the connection]
21:04
yann has joined #linux-sunxi
21:07
apritzel has joined #linux-sunxi
21:18
<
shadeslayer >
apritzel: hi, do you have some time later on to help sort out the PIE issue?
21:18
afaerber has joined #linux-sunxi
21:24
matthias_bgg_ has joined #linux-sunxi
21:25
lurchi_ is now known as lurchi__
21:28
lurchi__ is now known as lurchi_
21:31
ramshorns has quit [Read error: Connection reset by peer]
21:32
ramshorns has joined #linux-sunxi
21:35
|Jeroen| has quit [Quit: dada]
21:37
IgorPec has quit [Ping timeout: 260 seconds]
21:37
LargePrime has joined #linux-sunxi
21:44
iamfrankenstein has quit [Quit: iamfrankenstein]
22:05
dave0x6d has quit [Quit: Connection closed for inactivity]
22:17
phipli has quit [Read error: No route to host]
22:31
matthias_bgg_ has quit [Quit: Leaving]
22:33
<
ssvb >
it's suspiciously quiet today...
22:38
<
beeble >
storm is rising?
22:40
lurchi_ is now known as lurchi__
22:41
<
ssvb >
jemk, apritzel: are you here?
22:42
lurchi__ is now known as lurchi_
22:53
paulk-collins has quit [Remote host closed the connection]
23:01
komunista has quit [Quit: Leaving.]
23:03
medvid has quit [Ping timeout: 240 seconds]
23:11
phipli has joined #linux-sunxi
23:15
ramshorns has quit [Ping timeout: 240 seconds]
23:18
medvid has joined #linux-sunxi
23:20
<
apritzel >
ssvb: shadeslayer: hi
23:20
<
shadeslayer >
hey hey :)
23:20
avph has left #linux-sunxi ["WeeChat 1.7"]
23:20
<
apritzel >
shadeslayer: have you somehow managed to convince GCC to not use PIE?
23:22
<
shadeslayer >
apritzel: well, I've exported the required CFLAGS, but it still hasn't worked :C
23:22
<
shadeslayer >
so it might be something else?
23:22
<
apritzel >
does readelf -a report a .got section still?
23:22
<
shadeslayer >
I thought that it might be because the ATF gets built with PIE, so I recompiled that and then uboot with -fno-PIE
23:23
<
shadeslayer >
apritzel: what should I call that on? doesn't work on u-boot-sunxi-with-spl.bin
23:23
<
apritzel >
so I spoke the ATF team, they think that PIE would break the build, but haven't seen this case before (mostly they use Linaro cross compilers)
23:24
<
shadeslayer >
right, I thought so too
23:24
<
shadeslayer >
I don't see a got section
23:25
<
apritzel >
yeah, that looks much better
23:26
<
shadeslayer >
right, so I did cat spl/sunxi-spl.bin u-boot.img > u-boot-sunxi-with-spl.bin
23:26
lurchi_ is now known as lurchi__
23:27
<
shadeslayer >
since jernej's branch doesn't build a itb
23:27
<
apritzel >
shadeslayer: well, then you won't have ATF ...
23:27
<
apritzel >
what do you need from jernej's branch?
23:28
<
shadeslayer >
the de2 video bits
23:28
<
apritzel >
simplefb?
23:28
<
shadeslayer >
I thought those were required to get the device nodes populated
23:28
<
apritzel >
yes, I simply pulled his patches on top of my branch and it worked like a charm
23:29
<
shadeslayer >
basically what I want is that the device nodes for the Mali are activated, and I think I was told that uboot needs to enable them
23:29
<
apritzel >
Mali is a completely separate issue
23:29
<
jernej >
shadeslayer: that's not exactly true
23:29
<
apritzel >
shadeslayer: do you really need Mali?
23:29
<
apritzel >
or just graphics
23:29
<
shadeslayer >
oh? entirely possible I got confused
23:30
<
shadeslayer >
apritzel: I wanted to hack on the drm stuffs
23:30
<
apritzel >
well, then you actually don't even need U-Boot gfx support or simplefb
23:30
<
shadeslayer >
so I want to make the dts modifications and what not, I'm not sure what I need to do before that
23:30
<
jernej >
shadeslayer: then you really need only a few lines, which enable video sram
23:30
<
apritzel >
simplefb is exactly that: a simple way (for Linux) to use graphics
23:31
<
apritzel >
where firmware (U-Boot in our case) enabled the graphics
23:31
<
apritzel >
and tells Linux: if you write into this memory, it will appear on the screen
23:31
<
shadeslayer >
Understood, but drm can function without that ?
23:32
<
jernej >
and it is not even DRM driver, but fbdev, with extremely limited functionality
23:32
<
apritzel >
shadeslayer: yes
23:32
<
shadeslayer >
right, then I clearly misunderstood
23:32
<
jernej >
but useful for boot splash
23:32
<
shadeslayer >
I have UART, so not really a issue :)
23:32
<
apritzel >
jernej: yeah, most important: boot logo and custom fonts!!!!1!!
23:33
<
jernej >
or early video output support when there is no DRM driver
23:33
<
shadeslayer >
as long as UART spits out something along the lines of, omg found drm device, I'm more than happy
23:33
<
jernej >
which is imo most important functionality
23:33
<
apritzel >
jernej: agreed
23:33
<
apritzel >
that's why it's called simplefb
23:34
<
apritzel >
remind me of the '90s: write to 0xA0000 and magic happens
23:34
<
jernej >
btw, my U-Boot DM video driver is almost ready, just one bug to fix
23:35
<
apritzel >
jernej: is that a separate file for DE2?
23:35
<
jernej >
apritzel: what do you mean by "that" ?
23:35
<
jernej >
whole driver?
23:35
<
apritzel >
because I saw MoeIcenowy cramming it into the existing DE(1) driver
23:36
<
jernej >
ah, of course not
23:36
<
apritzel >
how different are DE1 and DE2?
23:36
<
jernej >
tcon is one file, de2 second, hdmi bridge third and hdmi driver fourth (splitted out from rockchip)
23:37
dave0x6d has joined #linux-sunxi
23:37
<
apritzel >
that is probably fine
23:37
<
shadeslayer >
from what I understood, DE1 has backends and frontends whereas DE2 has mixers?
23:37
<
jernej >
so, many files, hopefully reusable
23:37
lurchi__ is now known as lurchi_
23:37
<
jernej >
from register layout, it is completely different
23:37
<
jernej >
I have felling that some parts are just slightly adapted
23:38
<
jernej >
and some completely new
23:38
<
jernej >
but all in all, I think it is more capable
23:38
<
jernej >
at least in handling big layers
23:39
<
jernej >
DE1 is bandwith limited and barely handles 1080p IIRC
23:39
<
apritzel >
does DE2 include scaling and rotation?
23:39
<
jernej >
scaling yes, rotation not
23:39
<
jernej >
some SoCs has support for rotation
23:40
<
apritzel >
but that's this separate G2D, which the newer SoCs don't have anymore, right?
23:40
<
jernej >
I think that A series has support for rotation and H not (by separate IP block), but I'm not completely sure
23:40
<
ssvb >
jernej: DE1 can handle two 1080p60 screens at once, it's more like the DRAM bandwidth that is limited
23:40
<
jernej >
no, rotation is not G2D
23:41
<
jernej >
ssvb: thanks for clarification
23:41
<
ssvb >
the old G2D (Micer processor in A10/A20) can handle rotation
23:42
<
jernej >
I think this is new rotation IP block:
23:42
<
ssvb >
A64 has some sort of its simplified reincarnation, called "transform"
23:43
<
apritzel >
guys, thanks, that clears up a lot
23:44
<
ssvb >
apritzel: I have experimented a bit with eGON <-> TOC0 conversion and it seems to work nicely
23:45
<
ssvb >
now I have both H3 and H64 with secure boot mode bit burned in eFUSE
23:45
<
ssvb >
tested this stuff on both of them
23:45
<
shadeslayer >
ok since those u-boot de2 bits aren't required, I'll recompile u-boot master to figure out the device tree for A64 :)
23:46
<
apritzel >
ssvb: I saw you mentioning this before, but haven't time to look at this
23:46
<
apritzel >
ssvb: but I am sure it's in good hands ;-)
23:47
<
jernej >
uh, it seems that "transform" resides in DE2 memory after all
23:47
<
apritzel >
ssvb: so we are pretty sure now that there is no magic register to enable security - without burning the fuse, that is?
23:48
<
ssvb >
I don't know, probably there still could be some sort of a write-only hardware register which does a global switch between secure and non-secure
23:49
<
ssvb >
either way, we need to support Jide Remix Mini somehow, so we are not getting away without TOC0 format support
23:49
<
apritzel >
yes, totally agree
23:50
<
apritzel >
ssvb: by the way: I made an "efuse" command in U-Boot to burn fuses, do you think this is useful?
23:50
<
apritzel >
or is it too dangerous?
23:50
<
ssvb >
not sure about this
23:50
<
apritzel >
you would need to explicitly compile it in
23:50
<
apritzel >
also it asks and you need to type "yes" before it writes something
23:51
lurchi_ is now known as lurchi__
23:51
<
ssvb >
yeah, too much work for those who want to try it :-)
23:52
<
apritzel >
I guess I just send an RFC (with a warning) and see what people say
23:52
<
ssvb >
maybe this functionality is better to be implemented by the sunxi-fel tool (of course with a lot of warnings and extra confirmations)
23:53
<
shadeslayer >
apritzel: partial success with u-boot master \o/
23:53
<
apritzel >
ssvb: good point, it's more a fit for a "hacker" tool
23:53
<
apritzel >
shadeslayer: oh, that one is easy!
23:53
<
apritzel >
just a sec
23:54
<
apritzel >
shadeslayer: it's the first patch in my latest U-Boot series
23:54
<
ssvb >
the obvious advantage is that we don't need a board specific build of U-Boot to make it work
23:54
<
shadeslayer >
hah :D
23:55
phipli has quit [Ping timeout: 240 seconds]
23:55
<
ssvb >
but first we need to check everything to be sure that we can properly support the secure boot mode by the U-Boot and kernel
23:56
<
ssvb >
I'll start experimenting with H3, because it is obviously much easier
23:56
<
apritzel >
shadeslayer: took me an hour and a dozen of SD card swaps to find out
23:56
<
apritzel >
shadeslayer: I will push this patch for the release
23:56
lurchi__ is now known as lurchi_
23:57
<
shadeslayer >
that https cert is expired
23:57
<
shadeslayer >
well, invalid
23:59
<
apritzel >
shadeslayer: well, it's a public mailing list archive
23:59
<
apritzel >
I just clicked three times ;-)