All of lore.kernel.org
 help / color / mirror / Atom feed
* Locking down U-Boot env with ENV_WRITEABLE_LIST
@ 2021-03-26 18:15 Tim Harvey
  2021-03-26 18:34 ` Marek Vasut
  0 siblings, 1 reply; 14+ messages in thread
From: Tim Harvey @ 2021-03-26 18:15 UTC (permalink / raw)
  To: u-boot

Greetings,

I'm trying to understand best how to lock down a U-Boot environment
using ENV_WRITEABLE_LIST=y.

My understanding is that I should define all vars that I wish to be
able to be loaded from a FLASH env in CONFIG_ENV_FLAGS_LIST_DEFAULT. I
would think this would be something in Kconfig but it's not so I
wonder if I'm misunderstanding something or if I truly need to patch a
config.h when using this feature.

What is the best way to actively see your static U-Boot env that gets
linked into U-Boot? I can see it with a hexdump but there must be a
better way by looking at an include file?

What is the best way to set the list of vars that you wish to be
allowed to be imported from a FLASH env?

Best regards,

Tim

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

end of thread, other threads:[~2021-04-06 23:23 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 18:15 Locking down U-Boot env with ENV_WRITEABLE_LIST Tim Harvey
2021-03-26 18:34 ` Marek Vasut
2021-03-26 20:41   ` Stefano Babic
2021-04-03  2:21   ` Tim Harvey
2021-04-03 10:24     ` Marek Vasut
2021-04-03 16:43       ` Tim Harvey
2021-04-03 19:09         ` Marek Vasut
2021-04-05 16:27           ` Tim Harvey
2021-04-05 17:36             ` Marek Vasut
2021-04-06 19:52               ` Tim Harvey
2021-04-06 20:10                 ` Marek Vasut
2021-04-06 21:54                   ` Sean Anderson
2021-04-06 22:39                     ` Joel Peshkin
2021-04-06 23:23                     ` Tim Harvey

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.