00:12
WoC has quit [Remote host closed the connection]
00:16
mthall has quit [Ping timeout: 252 seconds]
00:19
mthall has joined #u-boot
00:24
mthall has quit [Ping timeout: 268 seconds]
00:26
mthall has joined #u-boot
01:22
minimal has quit [Quit: Leaving]
01:23
thopiekar has quit [Ping timeout: 264 seconds]
01:23
thopiekar has joined #u-boot
01:24
Gravis has quit [Ping timeout: 252 seconds]
01:29
Gravis has joined #u-boot
01:47
mmu_man has quit [Ping timeout: 268 seconds]
01:49
matthias_bgg has quit [Ping timeout: 246 seconds]
01:50
alan_o has quit [Remote host closed the connection]
02:00
vagrantc has joined #u-boot
02:01
matthias_bgg has joined #u-boot
02:18
LeSpocky has quit [Ping timeout: 264 seconds]
02:20
LeSpocky has joined #u-boot
02:34
vagrantc has quit [Quit: leaving]
05:32
rabbi[11] has quit [Ping timeout: 252 seconds]
05:57
matthias_bgg has quit [Ping timeout: 252 seconds]
05:57
redbrain has quit [Read error: Connection reset by peer]
06:03
redbrain has joined #u-boot
06:11
matthias_bgg has joined #u-boot
06:19
gsz has joined #u-boot
06:25
guillaume_g has joined #u-boot
06:30
rvalue has quit [Read error: Connection reset by peer]
06:30
rvalue has joined #u-boot
06:46
mncheck has joined #u-boot
06:51
mckoan|away is now known as mckoan
07:02
rvalue has quit [Ping timeout: 246 seconds]
07:10
hanetzer has quit [Quit: WeeChat 3.6]
07:28
m5zs7k has quit [Ping timeout: 268 seconds]
07:33
m5zs7k has joined #u-boot
07:36
sszy has joined #u-boot
07:41
ldevulder has joined #u-boot
07:57
matthias_bgg has quit [Ping timeout: 268 seconds]
08:15
apritzel_ has joined #u-boot
08:40
monstr has joined #u-boot
08:55
jagan has quit [Ping timeout: 268 seconds]
09:00
rvalue has joined #u-boot
09:07
matthias_bgg has joined #u-boot
10:27
sbach has quit [Read error: Connection reset by peer]
10:30
sbach has joined #u-boot
10:35
mmu_man has joined #u-boot
10:35
mckoan is now known as mckoan|away
10:47
tnovotny has joined #u-boot
10:53
jagan has joined #u-boot
12:07
torez has joined #u-boot
12:31
thopiekar has quit [Quit: Likely restarting quassel...]
12:48
mmu_man has quit [Ping timeout: 252 seconds]
12:49
thopiekar has joined #u-boot
13:14
gsz has quit [Quit: leaving]
13:21
xroumegue has quit [Ping timeout: 246 seconds]
13:33
xroumegue has joined #u-boot
13:34
WoC has joined #u-boot
14:09
tnovotny has quit [Quit: Leaving]
14:39
<
sjg1 >
Tartarus: It is a dm series but I see it is assigned to you in patchwork
14:47
mmu_man has joined #u-boot
14:52
hanetzer has joined #u-boot
14:56
<
Tartarus >
sjg1: Yeah, OK, lemme re-check it real quick
14:58
<
Tartarus >
I'll pick it up for next later today
14:58
<
Tartarus >
It's a big enough thing I want to put it in a branch, pull, and then put most of the cover letter in the merge commit message
14:59
mmu_man has quit [Ping timeout: 250 seconds]
15:19
<
MWelchUK >
sjg1: Was v3 of the MSC SM2S iMX8MP support series more acceptable (switched to DM)?
15:23
vitali64 has joined #u-boot
15:23
<
LeSpocky >
fyi: building sandbox_defconfig on i386 host fails with CONFIG_CLK_K210
15:23
guillaume_g has quit [Quit: Konversation terminated!]
15:28
<
cambrian_invader >
LeSpocky: what's the error
15:29
<
cambrian_invader >
and maybe that should be gated behind a 64-bit config
15:32
vagrantc has joined #u-boot
15:43
<
LeSpocky >
cambrian_invader: the console log is 200k because of over and over repeated errors in some macros, I have to find some place to put it, give me a minute
15:59
<
cambrian_invader >
yeah, that definitely should be gated behind PHYS_64BIT
16:13
rburkholder has quit [Remote host closed the connection]
16:41
<
vitali64 >
clever: o/
16:42
<
clever >
gd: 07fff9e0, gd->bd: ffb65fb0
16:42
<
vitali64 >
^ This explains why we're here.
16:42
<
clever >
gd is just below 128mb, gd->bd is just past 4091mb into ram
16:42
<
vitali64 >
But we only have 64MB of ram available.
16:43
<
clever >
but gd->ram_size declares that there is only 64mb starting at 0
16:43
<
vitali64 >
Hence, write fails and u-boot thinks we have 0 bytes.
16:43
<
clever >
yep, when dram_init_banksize() tries to write the memory banks, its writing to an unmapped physical address
16:43
<
clever >
so when it reads it back later, garbage!
16:44
<
clever >
anybody have a clue as to why gd->bd isnt initialized, and why gd is so high up in ram?
16:44
<
vitali64 >
We're using a Pi2 w/ a custom firmware, if that helps.
16:45
<
cambrian_invader >
gd is placed above the stack, so it depends on whatever your default stack placement is
16:45
<
clever >
cambrian_invader: what about gd->bd ?
16:46
<
clever >
and i gotta run, groceries and stuff
16:46
<
cambrian_invader >
idk
16:46
vitali64[m] has joined #u-boot
16:46
<
vitali64 >
vitali64[m] is here for chat logs.
16:46
<
clever >
cambrian_invader: i see a spl_set_bd and dram_init_banksize, within board_init_r
16:47
<
clever >
but dram_init_banksize is also within init_sequence_f
16:47
<
clever >
f is before r?
16:47
<
clever >
so gd->bd hasnt been set yet?
16:47
<
clever >
i cant see how this ever worked
16:48
<
vitali64 >
If so, why is dram_init_banksize trying to write to those?
16:48
<
vitali64 >
Something is really really wrong.
16:48
<
sjg1 >
Tartarus: sounds good. Yes it fixes a long-standing with ofnode - I expect some comments once people see it
16:49
<
vitali64 >
Because u-boot also continuously prints strings with no meaning.
16:49
<
vitali64 >
Like those:
16:49
<
vitali64 >
splled. **
16:50
<
sjg1 >
MWelchUK: I don't remember the problem. Was I asking for the address to be in the device tree?
16:51
<
cambrian_invader >
yes, f is before r
17:10
mmu_man has joined #u-boot
17:15
jagan has quit [Ping timeout: 268 seconds]
17:21
apritzel_ has quit [Ping timeout: 265 seconds]
17:22
<
ric342[m] >
does c201 veyron-speedy work on any bsd yet?
17:25
<
sjg1 >
MWelchUK: Oh I see. Yes that is fine. Sometime we need to add a deadline and warning about PMIC migration. It should be a one-line change - see Makefile around line 1167 if you are able to do a patch
17:29
thopiekar has quit [Ping timeout: 268 seconds]
17:30
thopiekar has joined #u-boot
17:48
monstr has quit [Remote host closed the connection]
17:48
thopiekar has quit [Ping timeout: 264 seconds]
17:53
mmu_man has quit [Ping timeout: 252 seconds]
17:54
thopiekar has joined #u-boot
18:18
<
clever >
common/board_f.c: gd->bd = (struct bd_info *)map_sysmem(gd->start_addr_sp,
18:18
<
clever >
common/spl/spl.c: gd->bd = &bdata;
18:19
<
clever >
cambrian_invader: aha, bd is setup in 2 places
18:19
<
clever >
reserve_board() creates it, if it hasnt been set yet
18:27
WoC has quit [Remote host closed the connection]
18:27
WoC has joined #u-boot
18:51
<
clever >
cambrian_invader: is gd zero'd before use? where exactly is the code to allocate it?
18:55
rabbi[11] has joined #u-boot
19:06
ladis has joined #u-boot
19:06
vitali64 has quit [Quit: Lost terminal]
19:18
macromorgan has quit [Remote host closed the connection]
19:18
macromorgan has joined #u-boot
19:20
macromorgan has quit [Remote host closed the connection]
19:20
macromorgan has joined #u-boot
19:27
<
cambrian_invader >
clever: should be in start.S for your arch
19:28
* clever
reads arch/arm/cpu/armv7/start.S
19:29
<
clever >
that grabs either CONFIG_SPL_STACK or SYS_INIT_SP_ADDR for the sp, but i dont see a clear gd answer
19:30
<
clever >
and then runs _main from crt0.S
19:30
rburkholder has joined #u-boot
19:31
mmu_man has joined #u-boot
19:31
<
clever >
crt0.S does say it has to allocate gd
19:31
<
cambrian_invader >
board_init_f_init_reserve
19:32
<
clever >
yep, that zeros it out
19:32
<
clever >
so i would assume gd->bd was null
19:33
<
clever >
reserve_board() then allocates gd->bd with map_sysmem(), only if it was null
19:33
<
clever >
and a later printf, said that bd was ffb65fb0
19:33
<
clever >
and with only a 30bit addr space, thats definitely invalid
19:34
<
clever >
i'm surprised it isnt faulting out, we are able to write to gd->bd->bi_dram[0].size and then read it back
19:34
<
clever >
but reads dont return the data written
19:36
alan_o has joined #u-boot
20:04
matthias_bgg has quit [Ping timeout: 268 seconds]
20:07
mncheck has quit [Ping timeout: 264 seconds]
20:14
macromorgan has quit [Remote host closed the connection]
20:14
macromorgan has joined #u-boot
20:17
matthias_bgg has joined #u-boot
20:46
<
LeSpocky >
so running sandbox u-boot on i386 (built on the same host) segfaults
*grml*
20:50
<
LeSpocky >
(currently working on an old Samsung NC10 laptop with Intel Atom N270 CPU)
21:07
<
LeSpocky >
running with gdb gives this:
21:07
<
LeSpocky >
0x0053b2e8 in strcmp (cs=0x65a395 "test_drv", ct=0x1 <error: Cannot access memory at address 0x1>) at /home/alex/src/u-boot/lib/string.c:214
21:07
<
LeSpocky >
but I won't investigate this today anymore
21:07
<
LeSpocky >
good night everyone
21:23
macromorgan has quit [Read error: Connection reset by peer]
21:45
Net147_ has quit [Quit: Quit]
21:45
Net147 has joined #u-boot
21:45
Net147 has joined #u-boot
21:45
Net147 has quit [Changing host]
21:45
macromorgan has joined #u-boot
21:49
matthias_bgg has quit [Quit: Leaving]
22:56
ladis has quit [Quit: Leaving]
23:07
torez has quit [Quit: torez]
23:39
vagrantc has quit [Quit: leaving]
23:43
tlwoerner has quit [Read error: Connection reset by peer]
23:43
tlwoerner has joined #u-boot
23:47
<
sjg1 >
LeSpocky: perhaps get a stack trace?