00:12
rockosov has quit [Ping timeout: 246 seconds]
00:14
rockosov has joined #u-boot
00:32
qschulz has quit [Read error: Connection reset by peer]
00:34
zibolo has quit [Ping timeout: 260 seconds]
00:34
qschulz has joined #u-boot
00:35
zibolo has joined #u-boot
00:43
Jones42 has joined #u-boot
00:43
mmu_man has quit [Ping timeout: 264 seconds]
00:49
Jones42 has quit [Ping timeout: 264 seconds]
01:01
ikarso has quit [Quit: Connection closed for inactivity]
01:07
naoki has joined #u-boot
01:19
joeskb7 has quit [Ping timeout: 264 seconds]
01:29
jclsn has quit [Ping timeout: 268 seconds]
01:31
jclsn has joined #u-boot
01:31
calebccff has joined #u-boot
02:19
macromorgan has quit [Ping timeout: 268 seconds]
02:19
macromorgan has joined #u-boot
02:36
atka has quit [Quit: WeeChat 4.3.3]
02:36
macromorgan has quit [Read error: Connection reset by peer]
02:41
macromorgan has joined #u-boot
03:43
grs has joined #u-boot
03:53
MrCryo has joined #u-boot
04:20
joeskb7 has joined #u-boot
04:51
ikarso has joined #u-boot
04:55
<
CounterPillow >
cambrian_invader: does it do that for any constant, or just 0/NULL specifically? Amazing footgun either way
05:10
persmule has joined #u-boot
05:28
slow99 has quit [Quit: slow99]
05:30
slow99 has joined #u-boot
06:05
enok has joined #u-boot
06:07
MrCryo has quit [Remote host closed the connection]
06:24
enok has quit [Ping timeout: 246 seconds]
06:31
dhruvag2000 has joined #u-boot
06:51
enok has joined #u-boot
06:52
goliath has joined #u-boot
07:00
<
quinq >
17:31:31 LeSpocky$ ERROR: do not initialise globals to NULL
07:00
<
quinq >
17:32:10 cambrian_invader$ null-initialized constants can get merged by the linker
07:00
<
quinq >
A global isn't a constant, if your linker think they are, fix or ditch it
07:04
warpme has joined #u-boot
07:05
ldevulder has joined #u-boot
07:07
enok has quit [Ping timeout: 268 seconds]
07:11
frieder has joined #u-boot
07:23
prabhakalad has joined #u-boot
07:44
<
LeSpocky >
quinq: was late already for me yesterday, you're right, globals are not constants, and for constants it makes sense to let the linker merge those, right? so there must be a different reason for that checkpatch warning
07:48
<
LeSpocky >
the check is ported from linux checkpatch, so I better investigate there
07:59
<
quinq >
LeSpocky, yeah it does :)
08:04
<
LeSpocky >
(check for external initialisers)
08:06
<
quinq >
I mean it's a code choice, initializing a global is just redundant
08:07
<
quinq >
s/initializing a global/& to 0,NULL/
08:07
<
LeSpocky >
redundant? then who or what initializes that global?
08:08
<
quinq >
It depends on your platform, most likely the CRT :)
08:09
<
quinq >
But by C standard, they are
08:09
<
quinq >
Who actually does it is an implementation details
08:09
<
quinq >
s/details/detail/
08:10
<
LeSpocky >
if it is platform and/or implementation dependend, then why not initializing it explicitly in code?
08:11
<
LeSpocky >
code size?
08:11
<
quinq >
The implementation is platform dependant, but the guarantee is standard
08:12
<
LeSpocky >
okay so then I would have to look in the C standard on globals initialization, maybe if I get bored later ;-=
08:13
<
LeSpocky >
for the actual code, I had a debug print now before first use and the global variable was set to NULL there
08:13
<
LeSpocky >
just for trying
08:16
mmu_man has joined #u-boot
08:23
<
LeSpocky >
here it is, section 6.7.8 Initialization of C99 standard: "If an object that has static storage duration is not initialized explicitly,
08:23
<
LeSpocky >
then … it has pointer type, it is initialized to a null pointer;"
08:24
<
quinq >
Yeah, but also it doesn't have to be static, it can be external, but then it's treated as static in terms of initialization :)
08:24
<
LeSpocky >
quinq: thanks for pointing me :-)
08:24
<
quinq >
You're welcome, glab I could share my little knowledge about it
08:25
sszy has joined #u-boot
08:32
matthias_bgg has joined #u-boot
08:42
<
Kasreyn >
sjg1: does the Odroid XU3 have SPI NOR flash chip? :)
08:42
<
Kasreyn >
maybe this will work then? "cat E5250.nbl1.bin > nv_image-snow.bin && truncate -s 8192 nv_image-snow.bin && cat spl/smdk5250-spl.bin >> nv_image-snow.bin && truncate -s 24576 nv_image-snow.bin && cat u-boot-dtb.bin >> nv_image-snow.bin"
08:46
<
Kasreyn >
my XE303 is not stable (software is randomly segfaulting -> apps closing in X11) so i moved on to XE503 Exynos Octa 5420
08:47
<
Kasreyn >
i think it's faulty hardware (the eMMC is no longer responding)
08:49
<
Kasreyn >
more cores & more RAM but .. different layout when it comes to SPI NOR
08:52
<
Kasreyn >
i might mod the XE503 SPI chip with wires (not going risk bricking it)
08:53
ungeskriptet3 has joined #u-boot
08:55
rvalue has quit [Read error: Connection reset by peer]
08:55
ungeskriptet has quit [Ping timeout: 264 seconds]
08:55
ungeskriptet3 is now known as ungeskriptet
08:55
rvalue has joined #u-boot
09:03
rockosov has quit [Quit: WeeChat 3.4-dev]
09:18
rockosov has joined #u-boot
09:20
Jones42 has joined #u-boot
10:01
dhruvag2000 has quit [Quit: Connection closed for inactivity]
10:11
MrCryo has joined #u-boot
10:52
Jones42_ has joined #u-boot
10:56
Jones42 has quit [Ping timeout: 255 seconds]
11:05
MrCryo has quit [Remote host closed the connection]
11:19
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:22
Jones42__ has joined #u-boot
11:26
Jones42_ has quit [Ping timeout: 255 seconds]
11:32
xroumegue has quit [Ping timeout: 255 seconds]
11:32
Jones42__ is now known as Jones42
11:44
xroumegue has joined #u-boot
12:20
eballetbo has joined #u-boot
12:24
naoki has quit [Quit: naoki]
12:50
warpme has joined #u-boot
13:00
mmu_man has quit [Ping timeout: 268 seconds]
13:02
matthias_bgg has quit [Ping timeout: 256 seconds]
13:04
rvalue has joined #u-boot
13:09
mmu_man has joined #u-boot
13:20
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:28
warpme has joined #u-boot
13:52
flygoat7 is now known as flygoat
14:18
gsz has joined #u-boot
14:30
dsimic has quit [Ping timeout: 268 seconds]
14:31
dsimic has joined #u-boot
14:32
Hypfer6 has joined #u-boot
15:10
Jones42 has quit [Ping timeout: 240 seconds]
15:25
mckoan is now known as mckoan|away
15:27
mmu_man has quit [Ping timeout: 255 seconds]
15:31
stefanro has quit [Quit: Leaving.]
15:32
LordKalma has quit [Quit: Ping timeout (120 seconds)]
15:32
LordKalma has joined #u-boot
15:35
Stat_headcrabed has joined #u-boot
15:39
mmu_man has joined #u-boot
15:48
vagrantc has joined #u-boot
16:02
mmu_man has quit [Ping timeout: 264 seconds]
16:09
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:29
ungeskriptet has joined #u-boot
16:39
frieder has quit [Remote host closed the connection]
16:43
rvalue has quit [Read error: Connection reset by peer]
16:44
rvalue has joined #u-boot
16:47
sauce has joined #u-boot
17:09
Kasreyn has quit [Quit: leaving]
17:10
mrnuke has quit [Remote host closed the connection]
17:29
mrnuke has joined #u-boot
17:39
goliath has quit [Quit: SIGSEGV]
18:27
mrnuke has quit [Ping timeout: 240 seconds]
18:30
goliath has joined #u-boot
18:44
Stat_headcrabed has quit [Quit: Stat_headcrabed]
18:55
mrnuke has joined #u-boot
19:21
alan_o has quit [Remote host closed the connection]
19:22
alan_o has joined #u-boot
19:25
f_[xmpp] has quit [Quit: Gateway shutdown]
19:44
enok has joined #u-boot
20:21
enok has quit [Ping timeout: 260 seconds]
20:24
enok has joined #u-boot
20:33
gsz has quit [Ping timeout: 268 seconds]
21:05
mmu_man has joined #u-boot
21:12
ldevulder has quit [Quit: Leaving]
21:13
shoragan has quit [Quit: quit]
21:19
redbrain has quit [Read error: Connection reset by peer]
21:26
redbrain has joined #u-boot
21:34
enok has quit [Ping timeout: 260 seconds]
21:42
<
Tartarus >
Ah the "joy" of not running some tests, ever, in CI :(
21:43
<
Tartarus >
When test_log_format was added in 2017, the expected output was "NOTICE.arch,file.c:123-func() msg"
21:43
<
Tartarus >
But CMD_LOG isn't enabled today at least, so this test is skipped even on sandbox
21:43
<
Tartarus >
Testing this on real HW right now:
21:43
<
Tartarus >
Testing this on real HW right now:
21:43
<
Tartarus >
"NOTICE.arch,file.c:123- func() msg" is the output
22:05
<
marex >
Tartarus: tsk tsk ... and when you are done with all the discussion and fixing all the feedback, would you extend tests/ (TM) ?
22:05
<
marex >
Tartarus: that said ... I noticed similar thing on Intel Arria10 recently, uncompiled code, not compiled even in CI (sigh) did bitrot
22:06
<
marex >
Tartarus: maybe we need some code compile coverage tool to check if we dont have dead code ?
22:20
<
Tartarus >
Hard to say? I am not a fan of the kernels randconfig
23:47
goliath has quit [Quit: SIGSEGV]
23:58
<
marex >
Tartarus: is there a tool to analyze current compile coverage ?
23:58
<
marex >
Tartarus: sjg1 was going on about something python something for one of the *man tools, which I have in my backlog