[PATCH] log: fixup log_head after relocating global data

2024-02-13 Thread Thomas Weißschuh
`log_dispatch` would never finish. Signed-off-by: Thomas Weißschuh --- This patch is a simpler alternative to https://lore.kernel.org/u-boot/20240212-spl-logging-v1-1-051cde837...@linutronix.de/ This patch should also remove the special handling introduced in commit e7595aa350ae ("x86: Allow loggi

[PATCH] bootdev: drop unnecessary assert on bootflow->bdev

2024-02-12 Thread Thomas Weißschuh
Not all flows have a device and the function already contains logic to handle this case. Fixes: eccb25cd5922 ("bootstd: Allow the bootdev to be optional in bootflows") Signed-off-by: Thomas Weißschuh --- boot/bootdev-uclass.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bo

[PATCH] log: make global data relocatable

2024-02-12 Thread Thomas Weißschuh
`log_dispatch` would never finish. Migrate the list to a singly-linked non-circular one which is easily relocatable. This should also remove the special handling introduced in commit e7595aa350ae ("x86: Allow logging to be used in SPL reliably"). Signed-off-by: Thomas Weißschuh --- co

[PATCH] doc: fix mistyped "env flags" command

2024-02-11 Thread Thomas Weißschuh
Signed-off-by: Thomas Weißschuh --- doc/usage/cmd/env.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usage/cmd/env.rst b/doc/usage/cmd/env.rst index a859e32798cb..a7e21693a672 100644 --- a/doc/usage/cmd/env.rst +++ b/doc/usage/cmd/env.rst @@ -350,7 +350,7 @@ edit

[PATCH] configs: am64x_evm_r5_defconfig: enlarge simple malloc pool

2024-02-09 Thread Thomas Weißschuh
With the default size the stack grows into the malloc, pool leading to stack corruption and boot failure. Signed-off-by: Thomas Weißschuh --- Note: Maybe this should be increased for a broader set of devices. --- configs/am64x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git