All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] fw_setenv always locks flash whenever it tries to write
@ 2020-07-10 16:54 Ivan Mikhaylov
  2020-07-10 16:54 ` [PATCH 1/1] fw_setenv: lock the flash only if it was locked before Ivan Mikhaylov
  2020-07-23 22:20 ` [PATCH 0/1] fw_setenv always locks flash whenever it tries to write Ivan Mikhaylov
  0 siblings, 2 replies; 6+ messages in thread
From: Ivan Mikhaylov @ 2020-07-10 16:54 UTC (permalink / raw)
  To: u-boot

fw_setenv usage always locks u-boot-env mtd device without questions.
Locking of flash can be disruptive and may affect not only u-boot-env
region due to different problems with chips and lock callbacks on kernel
side. I'm not sure if my fix is right, but also I thought about possible option
in fw_env config about locking/unlocking or even option into
fw_setenv/printenv. Any ideas?

Ivan Mikhaylov (1):
  fw_setenv: lock the flash only if it was locked before

 tools/env/fw_env.c | 24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

-- 
2.21.1

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/1] fw_setenv always locks flash whenever it tries to write
@ 2020-05-06  1:24 Ivan Mikhaylov
  0 siblings, 0 replies; 6+ messages in thread
From: Ivan Mikhaylov @ 2020-05-06  1:24 UTC (permalink / raw)
  To: u-boot

From: Ivan Mikhaylov <i.mikhaylov@yadro.com>

fw_setenv usage always locks u-boot-env mtd device without questions.
Locking of flash can be disruptive and may affect not only u-boot-env
region due to different problems with chips and lock callbacks on kernel
side. I'm not sure if my fix is right, but also I thought about possible option
in fw_env config about locking/unlocking or even option into
fw_setenv/printenv. Any ideas?

Ivan Mikhaylov (1):
  fw_setenv: lock the flash only if it's already locked before

 tools/env/fw_env.c | 24 +++++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)

-- 
2.21.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-31 21:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 16:54 [PATCH 0/1] fw_setenv always locks flash whenever it tries to write Ivan Mikhaylov
2020-07-10 16:54 ` [PATCH 1/1] fw_setenv: lock the flash only if it was locked before Ivan Mikhaylov
2020-07-31 21:40   ` Tom Rini
2020-07-23 22:20 ` [PATCH 0/1] fw_setenv always locks flash whenever it tries to write Ivan Mikhaylov
2020-07-30 14:24   ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2020-05-06  1:24 Ivan Mikhaylov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.