| Message ID | 1520243018-105509-1-git-send-email-tien.fong.chee@intel.com |
|---|---|
| Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=intel.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3zvw325hLjz9sZY for <incoming@patchwork.ozlabs.org>; Mon, 5 Mar 2018 20:43:57 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 261EDC21E44; Mon, 5 Mar 2018 09:43:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 34F87C21EBD; Mon, 5 Mar 2018 09:43:50 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 141D4C21EBD; Mon, 5 Mar 2018 09:43:48 +0000 (UTC) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lists.denx.de (Postfix) with ESMTPS id 6F61AC21E44 for <u-boot@lists.denx.de>; Mon, 5 Mar 2018 09:43:46 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2018 01:43:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,426,1515484800"; d="scan'208";a="34676146" Received: from pg-iccf0335.altera.com ([10.104.4.39]) by fmsmga004.fm.intel.com with ESMTP; 05 Mar 2018 01:43:42 -0800 From: tien.fong.chee@intel.com To: u-boot@lists.denx.de Date: Mon, 5 Mar 2018 17:43:34 +0800 Message-Id: <1520243018-105509-1-git-send-email-tien.fong.chee@intel.com> X-Mailer: git-send-email 1.7.7.4 MIME-Version: 1.0 Cc: Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>, Tien Fong Chee <tien.fong.chee@intel.com>, Ching Liang See <chin.liang.see@intel.com>, Tien Fong <skywindctf@gmail.com>, Westergteen Dalon <dalon.westergreen@intel.com> Subject: [U-Boot] =?utf-8?q?=5BPATCH_v10_0/4=5D_Generic_firmware_loader?= X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
| Series |
Generic firmware loader
|
expand
|
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 Lothar Waßmann in [v9]. This series is working on top of u-boot.git - http://git.denx.de/u-boot.git . [v9]: https://www.mail-archive.com/u-boot@lists.denx.de/msg279152.html v9 -> v10 changes: ----------------- - Resolved memory leaking and cleaning up messy codes. 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 [v8]: https://www.mail-archive.com/u-boot@lists.denx.de/msg278735.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 | 353 +++++++++++++++++++++++++++++++++++++++++++++ common/spl/spl_mmc.c | 2 +- doc/README.firmware_loader | 86 +++++++++++ include/fs_loader.h | 28 ++++ include/spl.h | 2 + include/ubi_uboot.h | 2 + 9 files changed, 506 insertions(+), 18 deletions(-) create mode 100644 common/fs_loader.c create mode 100644 doc/README.firmware_loader create mode 100644 include/fs_loader.h