00:10
<
sjg1 >
Tartarus: I am having trouble building with docker:
00:23
<
marex >
sjg1: so if I run ./test/py/test.py -B sandbox64 --build-dir /tmp/b/sandbox -k ut_bootstd_bootflow_cmd_menu
00:23
<
marex >
sjg1: I get INTERNALERROR> Traceback (most recent call last):
00:23
<
marex >
INTERNALERROR> Exception: include/autoconf.mk does not exist; try passing --build option?
00:23
<
marex >
I was under the impression it was supposed to do the build ?
00:24
<
sjg1 >
marex: Yes, but add the --build flag to do that
00:24
<
marex >
sjg1: if I try to get help, I get another traceback
00:24
<
marex >
i.e. test.py --help
00:24
<
marex >
Exception: .config does not exist; try passing --build option?
00:26
<
marex >
sjg1: from a clean worktree I guess ?
00:26
<
marex >
(else I get traceback too)
00:26
<
marex >
mmc2: 2 (SD)Can't map file 'mmc1.img': Invalid argument
00:26
<
sjg1 >
marex: Yes you must use 'make mrproper' if you have done an in-tree build, since the symlinks get created, etc.
00:26
<
marex >
hum ... I thought this thing was supposed to prepare that mmc1.img file
00:30
<
marex >
$ ./test/py/test.py -B sandbox --build-dir /tmp/b/sandbox -k ut_bootstd_bootflow_cmd_menu --build
00:30
<
marex >
even this fails, hum
00:30
<
marex >
and the mmc1.img is 0 bytes long
00:32
qschulz has quit [Remote host closed the connection]
00:35
qschulz has joined #u-boot
00:36
<
sjg1 >
marex: You are running a test...you need to run the setup first. Or just leave off the -k and run everything.
00:36
<
sjg1 >
marex: Re the invalid argument, I wonder if somehow your losetup has left an open file?
00:41
<
sjg1 >
marex: Anyway I suggest you start with a full run. Once everything is working (and the files are present) you can cut it back to what you need
00:46
<
marex >
sjg1: what kind of losetup ?
00:46
<
marex >
sjg1: the user shouldn't even have permissions to run losetup in the first place
01:09
mmu_man has quit [Ping timeout: 244 seconds]
01:11
mckoan_ has joined #u-boot
01:12
mckoan|away has quit [Ping timeout: 246 seconds]
01:21
<
sjg1 >
marex: There are sudos in the tests!
01:46
rvalue has quit [Read error: Connection reset by peer]
01:49
rvalue has joined #u-boot
01:52
<
marex >
sjg1: so yeah, those are not happening
02:04
vagrantc has quit [Quit: leaving]
02:08
hanetzer has joined #u-boot
02:15
prabhakarlad has quit [Quit: Client closed]
02:25
hanetzer has quit [Ping timeout: 260 seconds]
02:27
hanetzer has joined #u-boot
03:03
persmule has quit [Remote host closed the connection]
03:13
goliath has quit [Quit: SIGSEGV]
04:21
mwalle has quit [Quit: WeeChat 3.0]
04:48
camus has joined #u-boot
04:51
<
marex >
NishanthMenon: hey, is Faiz Abbas still with TI ? Or who is now responsible for the TI UFS stuff ?
05:27
Wouter0100670440 has joined #u-boot
05:30
mmu_man has joined #u-boot
06:03
sakman has quit [Remote host closed the connection]
06:05
sakman has joined #u-boot
06:10
<
vigneshr >
marex: Faiz is no longer at TI. If there is something to be looked at, do send me and NishanthMenon a note and we will fwd internally to get help.
06:10
redbrain has quit [Read error: Connection reset by peer]
06:16
redbrain has joined #u-boot
06:22
<
marex >
vigneshr: $ grep -A 3 UFS MAINTAINERS
06:22
<
marex >
vigneshr: Faiz is the only maintainer of drivers/ufs/ , so, who is taking over then ?
06:25
<
vigneshr >
marex: Sorry, didn't release that. Let me check internally on who is looking at UFS and ask maintainers list to be updated
08:04
rockosov has quit [Ping timeout: 246 seconds]
08:05
rockosov has joined #u-boot
08:34
sng has joined #u-boot
08:37
gsz has joined #u-boot
08:41
sng has quit [Ping timeout: 256 seconds]
08:41
sng_ has joined #u-boot
08:44
pivi has quit [Quit: BRB]
08:47
pivi has joined #u-boot
08:50
sng_ has quit [Remote host closed the connection]
09:10
teejay has joined #u-boot
09:11
teejay_ has quit [Ping timeout: 260 seconds]
10:08
sng has joined #u-boot
10:09
sng has quit [Remote host closed the connection]
10:09
sng has joined #u-boot
10:32
Wouter0100670440 has joined #u-boot
10:50
gsz has quit [Ping timeout: 256 seconds]
11:51
camus1 has joined #u-boot
11:51
camus has quit [Ping timeout: 256 seconds]
11:51
camus1 is now known as camus
11:59
goliath has joined #u-boot
12:02
sng has quit [Remote host closed the connection]
12:02
sng has joined #u-boot
12:10
stefanro has joined #u-boot
12:13
sng has quit [Ping timeout: 250 seconds]
12:27
Wouter0100670440 has joined #u-boot
12:33
sng has joined #u-boot
12:53
persmule has joined #u-boot
13:06
sng_ has joined #u-boot
13:06
sng has quit [Read error: Connection reset by peer]
13:06
sng_ has quit [Remote host closed the connection]
13:11
___nick___ has joined #u-boot
13:24
stefanro has quit [Quit: Leaving.]
13:33
<
sjg1 >
marex: OK great, thanks!
13:55
___nick___ has joined #u-boot
14:02
___nick___ has joined #u-boot
14:08
sng has joined #u-boot
14:31
sng has quit [Read error: Connection reset by peer]
15:01
sng has joined #u-boot
15:01
<
sjg1 >
Tartarus: I don't seem to get warnings about uninited vars in sandbox anymore. Have you noticed that?
15:01
sng has quit [Remote host closed the connection]
15:01
sng has joined #u-boot
15:12
<
Tartarus >
I haven't intentionally checked in a while, but I have other tests such that I'd see if anything got in to master itself
15:25
<
sjg1 >
Tartarus: I have some pretty clear cases of uninited vars that gcc does not find
15:25
<
sjg1 >
Tartarus: Also the 'KBUILD_CFLAGS += $(warning)' is weird (in Makefile.extrawarn) since $(warning xxx) is a Makefile command
15:27
<
Tartarus >
oh, non-default stuff?
15:36
sng has quit [Ping timeout: 246 seconds]
15:37
GNUtoo has quit [Remote host closed the connection]
15:37
GNUtoo has joined #u-boot
16:21
sng has joined #u-boot
16:37
stefanro has joined #u-boot
16:38
stefanro has quit [Client Quit]
17:15
camus has quit [Quit: camus]
17:17
gsz has joined #u-boot
17:24
gsz has quit [Ping timeout: 245 seconds]
17:39
prabhakarlad has joined #u-boot
17:44
sng has quit [Read error: Connection reset by peer]
17:48
Clamor has joined #u-boot
17:56
<
Clamor >
Why can I get a driver probe 2 times in the same stage? (The first probe did not fail)
18:18
<
sjg1 >
Tartarus: Yes that is non-default, but still, it seems strange to use $(warning) to mean two things
18:18
<
Tartarus >
I do lament that getting further kbuild re-syncs is so difficult
18:27
Clamor has quit [Ping timeout: 256 seconds]
18:28
Clamor has joined #u-boot
18:48
sng has joined #u-boot
19:08
sng has quit [Remote host closed the connection]
19:11
sng has joined #u-boot
19:32
sng has quit [Remote host closed the connection]
19:32
sng has joined #u-boot
19:40
<
marex >
Clamor: maybe two instances of the driver ?
19:48
rvalue has quit [Read error: Connection reset by peer]
19:49
rvalue has joined #u-boot
19:50
Clamor has quit [Ping timeout: 256 seconds]
19:53
Clamor has joined #u-boot
19:57
Clamor has quit [Read error: Connection reset by peer]
20:04
___nick___ has quit [Ping timeout: 246 seconds]
20:12
Wouter0100670440 has joined #u-boot
20:36
<
marex >
sjg1: can we make readq() available on sandbox32 ?
20:42
<
sjg1 >
Clamor: That sounds like a bug, or something is horribly wrong
20:42
<
sjg1 >
Tartarus: Are you trying a sync?
20:42
<
sjg1 >
marex: I don't see why not
20:42
<
sjg1 >
marex: (yet)
20:43
<
marex >
I think it isnt necessary, hold on
20:50
<
Tartarus >
I've failed to sync to v5.0 twice now
21:02
<
sjg1 >
Tartarus: You mean you synced but it doesn't work?
21:02
<
Tartarus >
Yes, I've failed to get it to work a few times
21:02
<
Tartarus >
I think I was closer the second time, and just didn't update some of our rules right, or something
21:07
<
sjg1 >
Tartarus: I had a fiddle with it at one point and gave up
21:08
<
sjg1 >
Tartarus: I wonder if applying the patches one-by-one would be too onerous? i.e. get closer, but not all the way?
21:08
<
Tartarus >
That was my first pass, and failed much worse
21:12
<
sjg1 >
Tartarus: Well if it is close, perhaps send the patches and others can help? It is better than what we have
21:14
<
Tartarus >
Well frankly, if someone is feeling comfortable with make stuff, it'd be better probably to just port 6.5's logic over instead
21:15
<
Tartarus >
moving to "just" 4 years out of date doesn't seem super helpful, it's just how it had been being updated
21:22
<
marex >
sjg1: yeah, I can avoid the readq for now
21:24
___nick___ has joined #u-boot
21:25
<
marex >
217 ut_asserteq_str((i++, "mmc2.blk"), dev->name);
21:25
<
marex >
what is this horribleness
21:26
<
marex >
226 blk_foreach_probe(BLKF_BOTH, dev)
21:26
<
marex >
227 ut_asserteq_str((++i == 1 ? "mmc2.blk" : i == 2 ?
21:26
<
marex >
228 "mmc1.blk" : "mmc0.blk"), dev->name);
21:33
<
sjg1 >
Tartarus: Likely you've done the bulk of the work...it's just finding the needle in the haystack that is left
21:34
<
sjg1 >
marex: Trying to avoid writing a separate function, with attendant state. The ++ is safe with ut_assert
21:40
sng has quit [Read error: Connection reset by peer]
21:58
<
marex >
sjg1: it's still ew
21:59
<
marex >
sjg1: do you recall off the top of your head what's the right formatting string for phys_addr_t ?
22:01
<
marex >
seems %pa is not it
22:12
<
sjg1 >
marex: I vaguely recall it coming up recently, but it seems there isn't one
22:13
<
marex >
doc/develop/printf.rst:phys_addr_t %pa, see pointers
22:13
<
sjg1 >
You can add something to the various types.h I suppose
22:13
<
marex >
except it does not work
22:13
<
sjg1 >
They are addresses, not pointers
22:13
<
sjg1 >
EFI people get horribly confused by this
22:13
<
marex >
so docs are also wrong now ?
22:14
<
sjg1 >
for phys_addr_t I suggest copying something from inttypes.h
22:14
<
sjg1 >
For other attempts: git grep "\"ll"
22:18
<
marex >
I guess I can also do just
22:18
<
marex >
- log_debug("[%s]: XIP device base addr: 0x%llx , lba_shift: %d , lbas: %lu\n",
22:18
<
marex >
- dev->name, plat->phys_base, plat->lba_shift, plat->lba);
22:18
<
marex >
+ log_debug("[%s]: XIP device base addr: 0x%lx , lba_shift: %d , lbas: %lu\n",
22:18
<
marex >
+ dev->name, (uintptr_t)plat->phys_base, plat->lba_shift, plat->lba);
22:18
<
marex >
it is ew, but oh well
22:40
<
marex >
sigh, that nvmxip stuff enabled only for sandbox64 eluded tests and it is utter crap
22:40
<
marex >
it just falls apart all over the place, grumb
23:10
goliath has quit [Quit: SIGSEGV]