Re: [PATCH] env: fat: Avoid writing to read-only location

2025-02-10 Thread Tom Rini
On Thu, 30 Jan 2025 13:36:46 +, Andre Przywara wrote: > The env_fat_get_dev_part() function mostly returns a fixed string, set > via some Kconfig variable. However when the first character is a colon, > that means that the boot device number is determined at runtime, and > patched in. This req

Re: [PATCH] env: fat: Avoid writing to read-only location

2025-02-03 Thread Ilias Apalodimas
Thanks Andre, On Thu, 30 Jan 2025 at 15:37, Andre Przywara wrote: > > The env_fat_get_dev_part() function mostly returns a fixed string, set > via some Kconfig variable. However when the first character is a colon, > that means that the boot device number is determined at runtime, and > patched

[PATCH] env: fat: Avoid writing to read-only location

2025-01-30 Thread Andre Przywara
The env_fat_get_dev_part() function mostly returns a fixed string, set via some Kconfig variable. However when the first character is a colon, that means that the boot device number is determined at runtime, and patched in. This requires altering the string. So far this was done via some ugly and