[PATCH] env: Invert gd->env_valid for env_mmc_save

2024-05-10 Thread jasper
From: Jasper Orschulko The A/B update strategy of the env's has a gap in the first 2 calls of saveenv. The env's are stored twice on the first memory area if: gd->env_valid == ENV_INVALID. u-boot=> saveenv Saving Environment to MMC... Writing to MMC(1)... OK u-boot=> saveenv

Re: [PATCH] env: Invert gd->env_valid for env_mmc_save

2024-05-20 Thread Jasper Orschulko
I'll let him do explaining here ;) Best, Jasper On 17 May 2024 20:51:44 CEST, Tom Rini wrote: >On Fri, May 10, 2024 at 01:38:34PM +0200, jas...@fancydomain.eu wrote: > >> From: Jasper Orschulko >> >> The A/B update strategy of the env's has a gap in the first 2

[U-Boot] [PATCH] amlogic: board p212: Fix Ethernet PHY init

2018-08-28 Thread Jasper Kcoding
Without this patch the Ethernet PHY on the p212 board does not get fully configured. When this happens Ethernet does not function. The similar libretech-cc and khadas-vim boards have this code already. That's why the Ethernet on these boards do work. --- board/amlogic/p212/p212.c | 2 +- 1 file

[U-Boot] [PATCH] amlogic: board p212: Fix Ethernet PHY init

2018-09-03 Thread Jasper kcoding
Without this patch the Ethernet PHY on the p212 board does not get fully configured. When this happens Ethernet does not function. The similar libretech-cc and khadas-vim boards have this code already. That's why the Ethernet on these boards do work. Signed-off-by: Jasper Kcoding Acked-by:

command documentation

2020-09-09 Thread Jasper van Santen
scriptaddr} /boot/extlinux/extlinux.conf; \ fi bootcmd= \ for devnum in ${devnums}; do \ if mmc dev ${devnum}; then \ run scan_dev_for_boot_part; \ fi; \ done -- *Kind regards,Jasper van Santen*

Re: command documentation

2020-09-10 Thread Jasper van Santen
is a big meager, but I ended up grepping the man pages from source: pcregrep -M -r --buffer-size 900 "U_BOOT_CMD\([^;]+.*" . > U_BOOT_CMD_HELP.txt Cheers, Jasper On Wed, 9 Sep 2020 at 20:53, Ralph Siemsen wrote: > Hi Jasper, > > On Wed, Sep 09, 2020 at 07:03:58PM +0200,