[U-Boot] [PATCH v9 0/4] Generic firmware loader

tien.fong.chee at intel.com tien.fong.chee at intel.com
Tue Feb 27 05:21:53 UTC 2018


From: Tien Fong Chee <tien.fong.chee at 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
Marek Vasut in [v8].

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

[v8]: https://www.mail-archive.com/u-boot@lists.denx.de/msg278735.html

v8 -> v9 changes:
-----------------
- Swap these two -- mount first and umount seconds.
- Removed #ifdef CONFIG_SPL.
- Adding depends on SPL to config GENERIC_FIRMWARE_LOADER at Kconfig.
- Set mode=0 to usb_stor_scan.
- Sata device number be pulled from devpart in default_locations table.
- Removed debug for CONFIG_SPL.
- Adding UBI to default_location table.

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

Tien Fong Chee (4):
  spl: Remove static declaration on spl_mmc_find_device function
  cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount()
  cmd: ubifs: Factor out some checking codes into cmd_ubifs_mount()
  common: Generic firmware loader for file system

 cmd/ubifs.c                |  40 ++---
 common/Kconfig             |  10 ++
 common/Makefile            |   1 +
 common/fs_loader.c         | 365 +++++++++++++++++++++++++++++++++++++++++++++
 common/spl/spl_mmc.c       |   2 +-
 doc/README.firmware_loader |  83 +++++++++++
 include/fs_loader.h        |  28 ++++
 include/spl.h              |   2 +
 include/ubi_uboot.h        |   2 +
 9 files changed, 515 insertions(+), 18 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



More information about the U-Boot mailing list