00:53
cakes has joined #u-boot
00:53
cakes has joined #u-boot
00:53
cakes has quit [Changing host]
01:00
cakes has quit [Ping timeout: 250 seconds]
01:01
apritzel has quit [Ping timeout: 245 seconds]
01:15
WoC has quit [Ping timeout: 240 seconds]
01:32
mmu_man has quit [Ping timeout: 245 seconds]
01:47
Wouter0100670440 has joined #u-boot
02:08
jclsn has quit [Ping timeout: 264 seconds]
02:10
jclsn has joined #u-boot
02:21
vagrantc has quit [Quit: leaving]
03:23
teejay_ has quit [Quit: leaving]
04:30
sng has joined #u-boot
04:34
sng has quit [Remote host closed the connection]
06:17
apritzel has joined #u-boot
06:33
apritzel has quit [Ping timeout: 245 seconds]
06:55
mmu_man has joined #u-boot
06:56
m5zs7k has quit [Ping timeout: 252 seconds]
07:02
m5zs7k has joined #u-boot
07:56
mmu_man has quit [Ping timeout: 246 seconds]
08:26
mmu_man has joined #u-boot
08:26
pgreco_ has joined #u-boot
08:28
pgreco has quit [Ping timeout: 240 seconds]
09:10
redbrain has quit [Read error: Connection reset by peer]
09:15
redbrain has joined #u-boot
09:23
sng_ has joined #u-boot
09:24
sng_ has quit [Remote host closed the connection]
09:24
sng_ has joined #u-boot
09:26
mckoan|away has quit [Ping timeout: 240 seconds]
09:28
mckoan|away has joined #u-boot
09:50
Net147_ has quit [Quit: Quit]
09:52
Net147 has joined #u-boot
09:52
Net147 has joined #u-boot
09:52
Net147 has quit [Changing host]
11:03
slobodan has joined #u-boot
11:09
apritzel has joined #u-boot
11:27
Wouter0100670440 has joined #u-boot
11:46
urja has quit [Ping timeout: 240 seconds]
12:01
<
marex >
xypron: I get data abort on MX6Q (arm32) with c7c0ca37673 ("efi_loader: fix efi_dp_from_file()")
12:01
<
marex >
xypron: if I revert it, no data abort
12:02
<
marex >
it blows up in efi_dp_from_file -> path_to_uefi -> utf16_put , I suspect some alignment issue as *uefi is at 0x...d, I am investigating
12:02
urja has joined #u-boot
12:15
sng_ has quit [Remote host closed the connection]
12:16
sng has joined #u-boot
12:24
sng has quit [Ping timeout: 240 seconds]
12:25
sng has joined #u-boot
12:33
<
marex >
xypron: somehow, the allow_unaligned is not being used from armv7/sctlr.S for whatever reason
12:34
apritzel has quit [Ping timeout: 250 seconds]
12:48
sng has quit [Ping timeout: 250 seconds]
12:49
sng has joined #u-boot
12:52
sng_ has joined #u-boot
12:52
sng has quit [Read error: Connection reset by peer]
12:52
sng_ has quit [Remote host closed the connection]
13:58
apritzel has joined #u-boot
14:19
WoC has joined #u-boot
14:35
WoC has quit [Ping timeout: 240 seconds]
14:44
WoC has joined #u-boot
14:48
sng has joined #u-boot
15:00
WoC has quit [Remote host closed the connection]
15:04
WoC has joined #u-boot
15:12
camus has joined #u-boot
15:18
<
marex >
xypron: that would be my alternative approach, except that patch is buggy too, it fails to consider that you have to save r0 and restore it
15:19
<
xypron >
Isn't r0 used for return values and 1st parameter passing and does not need to be restored?
15:19
<
marex >
xypron: what if the function gets inlined using LTO ?
15:20
<
marex >
then you just corrupt random register ?
15:21
<
xypron >
I don't know how LTO handles registers in inlining.
15:22
<
marex >
so yeah, the patch is buggy too
15:22
<
xypron >
But as r0 is marked as scratch registers in the calling convention it should not rely on it not being used.
15:23
<
marex >
xypron: the right approach is to use a temporary
15:24
<
xypron >
Ilias is on vacation. Could you supply a solution covering armv7 and arm11 and then lets put that into the release.
15:24
<
marex >
xypron: I can update the Fixes tag and send V2 of the patches I sent
15:24
<
marex >
xypron: that is less intrusive
15:25
<
xypron >
I mean can you do the same for arm11 too in v2?
15:25
<
marex >
xypron: have you had a look at patch 2/2 in the series I posted yet ?
15:26
sng has quit [Remote host closed the connection]
15:26
<
xypron >
So I will take you series through Gitlab (with the Fixes removed)
15:27
<
marex >
xypron: I just sent v2 with updated Fixes tag
15:30
sng has joined #u-boot
15:30
<
marex >
xypron: I pushed it to usb/test2 too
15:31
<
xypron >
marex: I wanted to send a push request for v2023.07 concerning docs anyway. Let's add this here.
15:31
<
marex >
xypron: please make sure you include v2
15:32
<
xypron >
marex: That is what is in the Gitlab pipeline.
15:34
<
marex >
xypron: I think we're ripe for rc6 instead of a release on Monday
15:43
<
xypron >
marex: spl_board_boot_device() use enum boot_device as parameter for implementations but u32 in include/spl.h. This leads to build warnings with current gcc. Do we really need board specific definitions of constants for this enum?
15:44
sng has quit [Remote host closed the connection]
15:46
pgreco_ has quit [Ping timeout: 245 seconds]
15:47
pgreco has joined #u-boot
15:48
<
marex >
xypron: include/spl.h should be updated, yeah
15:49
<
xypron >
marex: but we have two contradicting defintions of the enum.
15:49
<
marex >
xypron: I think the enum is a good idea, since it constraints the parameter
15:54
<
xypron >
marex: arch/arm/mach-stm32mp/include/mach/stm32.h vs arch/arm/include/asm/mach-imx/boot_mode.h
15:54
<
xypron >
both declare the enum
15:54
* marex
face -> palm
15:54
<
xypron >
I wonder why we can't use one set of values.
15:55
<
marex >
didnt we one had one set ?
15:55
<
marex >
or was that boot media ?
15:55
<
marex >
arch/arm/include/asm/arch-ls102xa/spl.h:#define BOOT_DEVICE_MMC2_2 7
15:55
<
xypron >
struct spl_image_info() also has a u32 boot_device
15:55
<
marex >
so ... yeah, we have something already
15:57
<
xypron >
marex: Enjoy this: git grep -n 'BOOT_DEVICE_MMC1' | grep '\.h:'
16:04
<
marex >
xypron: yeah, it is a mess
16:08
<
xypron >
marex: was the failure you experiened involving LTO?
16:16
<
marex >
xypron: yes
16:22
goliath has joined #u-boot
16:41
camus has quit [Ping timeout: 250 seconds]
16:56
apritzel has quit [Ping timeout: 246 seconds]
16:57
Wouter0100670440 has joined #u-boot
17:21
Leopold has joined #u-boot
17:31
goliath has quit [Quit: SIGSEGV]
17:31
mmu_man has quit [Ping timeout: 260 seconds]
17:32
rvalue has quit [Read error: Connection reset by peer]
17:32
rvalue has joined #u-boot
17:50
sng has joined #u-boot
17:51
sng has quit [Remote host closed the connection]
17:51
sng has joined #u-boot
18:05
mmu_man has joined #u-boot
18:17
Wouter0100670440 has joined #u-boot
18:55
chris_99 has joined #u-boot
18:55
sng has quit [Read error: Connection reset by peer]
18:55
sng_ has joined #u-boot
18:59
<
chris_99 >
Hi, i'm wondering if anyone might have any suggestions if there's no serial output from u-boot, and it doesn't boot a kernel, are there any tricks to working out what's going wrong? I assume maybe if i had jtag, i could get more of an insight?
19:06
sng_ has quit [Remote host closed the connection]
19:15
zkrx has quit [Ping timeout: 240 seconds]
19:27
zkrx has joined #u-boot
19:34
<
marex >
chris_99: version ? platform ? soc ?
19:38
<
marex >
(thats jtag, openocd + gdb, how to debug uboot)
19:42
<
chris_99 >
cheers just looking through the links now, looks very helpful, thanks
19:47
<
marex >
chris_99: it wouldnt hurt if you also provided some details, else expect only generic help
19:49
goliath has joined #u-boot
20:33
chris_99 has quit []
21:08
mmu_man has quit [Ping timeout: 245 seconds]
21:16
mmu_man has joined #u-boot
21:18
vagrantc has joined #u-boot
21:29
slobodan has quit [Ping timeout: 250 seconds]
22:02
Gravis has quit [Ping timeout: 264 seconds]
22:03
Gravis has joined #u-boot
22:07
apritzel has joined #u-boot
22:08
Gravis has quit [Ping timeout: 260 seconds]
22:08
Gravis_ has joined #u-boot
22:10
WoC has quit [Remote host closed the connection]
22:34
Peng_Fan has quit [Quit: Connection closed for inactivity]
23:59
apritzel has quit [Ping timeout: 240 seconds]