public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v7 0/3] Generic firmware loader
@ 2018-01-30 11:16 tien.fong.chee at intel.com
  2018-01-30 11:16 ` [U-Boot] [PATCH v7 1/3] spl: Remove static declaration on spl_mmc_find_device function tien.fong.chee at intel.com
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: tien.fong.chee at intel.com @ 2018-01-30 11:16 UTC (permalink / raw)
  To: u-boot

From: Tien Fong Chee <tien.fong.chee@intel.com>

This patchset contains generic firmware loader which is very close to Linux
firmware loader but for U-Boot framework. Generic firmware loader can be used
load whatever into target location, and then consumer driver would use it to
program whatever, ie. the FPGA. This version mainly resolved comments from
Tom Rini, Marek Vasut and Simon Goldschmidt in [v6].

This series is working on top of u-boot.git -
 http://git.denx.de/u-boot.git .

[v6]: https://www.mail-archive.com/u-boot at lists.denx.de/msg273961.html

v6 -> v7 changes:
-----------------
- Fixed minor issues from checkpatch.pl.
- Ensure <asm/spl.h> is included when running generic firmware loader.
- Created new Kconfig option for generic firmware loader.
- Changed all printf to debug.
- Changed sprintf to snprintf.
- Call ubifs function directly instead of involving whoe command machinery.
- Follow kerneldoc format.
- Declare __weak to init_mmc, so user can override it.
- Some nitpicks fixed.

Patchset history
----------------
[v1]: https://www.mail-archive.com/u-boot at lists.denx.de/msg271905.html
[v2]: https://www.mail-archive.com/u-boot at lists.denx.de/msg271979.html
[v3]: https://www.mail-archive.com/u-boot at lists.denx.de/msg272039.html
[v4]: https://www.mail-archive.com/u-boot at lists.denx.de/msg272432.html
[v5]: https://www.mail-archive.com/u-boot at lists.denx.de/msg272771.html

Tien Fong Chee (3):
  spl: Remove static declaration on spl_mmc_find_device function
  cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount()
  common: Generic firmware loader for file system

 cmd/ubifs.c                |  20 +--
 common/Kconfig             |   9 ++
 common/Makefile            |   1 +
 common/fs_loader.c         | 326 +++++++++++++++++++++++++++++++++++++++++++++
 common/spl/spl_mmc.c       |   2 +-
 doc/README.firmware_loader |  76 +++++++++++
 include/fs_loader.h        |  28 ++++
 include/spl.h              |   2 +
 include/ubi_uboot.h        |   1 +
 9 files changed, 456 insertions(+), 9 deletions(-)
 create mode 100644 common/fs_loader.c
 create mode 100644 doc/README.firmware_loader
 create mode 100644 include/fs_loader.h

-- 
2.2.0

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

end of thread, other threads:[~2018-02-01  9:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-30 11:16 [U-Boot] [PATCH v7 0/3] Generic firmware loader tien.fong.chee at intel.com
2018-01-30 11:16 ` [U-Boot] [PATCH v7 1/3] spl: Remove static declaration on spl_mmc_find_device function tien.fong.chee at intel.com
2018-01-30 11:16 ` [U-Boot] [PATCH v7 2/3] cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount() tien.fong.chee at intel.com
2018-01-30 12:09   ` Marek Vasut
2018-02-01  6:10     ` Chee, Tien Fong
2018-01-30 11:16 ` [U-Boot] [PATCH v7 3/3] common: Generic firmware loader for file system tien.fong.chee at intel.com
2018-01-30 12:12   ` Marek Vasut
2018-02-01  7:06     ` Chee, Tien Fong
2018-02-01  9:16       ` Marek Vasut

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