mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/7] U-Boot environment data as a filesystem
@ 2019-05-27 20:18 Andrey Smirnov
  2019-05-27 20:18 ` [PATCH 1/7] filetype: Add "U-Boot environmemnt variable data" filetype Andrey Smirnov
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Andrey Smirnov @ 2019-05-27 20:18 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

Everyone:

This series adds code needed to expose U-Boot environemnt variable
data partition as a regular filesystem in Barebox. It currently only
supports the use-case where environment is stored on SD/MMC device,
since that is the only use-case I have access to for testing, however
adding support for other cases should be relatively
straightforward. The series is currently lacking documentation for
Barebox specific DT bindings it introduces, however an example of
usage can be seen in

ARM: rdu2: Add U-Boot environment partitions
ARM: rdu1: Add U-Boot environment partition

I'll add the appropriate documentation in v2 once all of the details
are hashed out.

Feedback is welcome!

Thanks,
Andrey Smirnov

Andrey Smirnov (6):
  filetype: Add "U-Boot environmemnt variable data" filetype
  filetype: Allow specifying cdev's filetype explicitly
  drivers: Introduce late_platform_driver()
  misc: Add a driver to expose U-Boot environment variable data
  fs: Add a driver to access U-Boot environment variables
  ARM: rdu2: Add U-Boot environment partitions

Cory Tusar (1):
  ARM: rdu1: Add U-Boot environment partition

 arch/arm/dts/imx51-zii-rdu1.dts    |  21 ++
 arch/arm/dts/imx6qdl-zii-rdu2.dtsi |  27 ++
 common/filetype.c                  |   8 +
 drivers/misc/Kconfig               |  12 +
 drivers/misc/Makefile              |   1 +
 drivers/misc/ubootvar.c            | 322 +++++++++++++++++++
 fs/Kconfig                         |   8 +
 fs/Makefile                        |   1 +
 fs/ubootvarfs.c                    | 499 +++++++++++++++++++++++++++++
 include/driver.h                   |   4 +
 include/filetype.h                 |   1 +
 11 files changed, 904 insertions(+)
 create mode 100644 drivers/misc/ubootvar.c
 create mode 100644 fs/ubootvarfs.c

-- 
2.21.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2019-05-29  6:08 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-27 20:18 [PATCH 0/7] U-Boot environment data as a filesystem Andrey Smirnov
2019-05-27 20:18 ` [PATCH 1/7] filetype: Add "U-Boot environmemnt variable data" filetype Andrey Smirnov
2019-05-27 20:18 ` [PATCH 2/7] filetype: Allow specifying cdev's filetype explicitly Andrey Smirnov
2019-05-27 20:18 ` [PATCH 3/7] drivers: Introduce late_platform_driver() Andrey Smirnov
2019-05-27 20:18 ` [PATCH 4/7] misc: Add a driver to expose U-Boot environment variable data Andrey Smirnov
2019-05-28  9:34   ` Sascha Hauer
2019-05-29  1:19     ` Andrey Smirnov
2019-05-29  5:25       ` Sascha Hauer
2019-05-27 20:18 ` [PATCH 5/7] fs: Add a driver to access U-Boot environment variables Andrey Smirnov
2019-05-28  9:56   ` Sascha Hauer
2019-05-29  2:05     ` Andrey Smirnov
2019-05-29  6:08       ` Sascha Hauer
2019-05-27 20:18 ` [PATCH 6/7] ARM: rdu2: Add U-Boot environment partitions Andrey Smirnov
2019-05-28  9:57   ` Sascha Hauer
2019-05-29  0:56     ` Andrey Smirnov
2019-05-27 20:18 ` [PATCH 7/7] ARM: rdu1: Add U-Boot environment partition Andrey Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox