Message ID | 1532591656-20142-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=fail (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 41bkrl0SJRz9ryl for <incoming@patchwork.ozlabs.org>; Thu, 26 Jul 2018 17:54:31 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id B17A6C21DB6; Thu, 26 Jul 2018 07:54:28 +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 BA310C21C2C; Thu, 26 Jul 2018 07:54:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id DDC5EC21C27; Thu, 26 Jul 2018 07:54:24 +0000 (UTC) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lists.denx.de (Postfix) with ESMTPS id 1FF1AC21BE5 for <u-boot@lists.denx.de>; Thu, 26 Jul 2018 07:54:23 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2018 00:54:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,404,1526367600"; d="scan'208";a="59939752" Received: from pg-iccf0271.altera.com ([10.104.1.75]) by orsmga008.jf.intel.com with ESMTP; 26 Jul 2018 00:54:19 -0700 From: tien.fong.chee@intel.com To: u-boot@lists.denx.de Date: Thu, 26 Jul 2018 15:54:13 +0800 Message-Id: <1532591656-20142-1-git-send-email-tien.fong.chee@intel.com> X-Mailer: git-send-email 1.7.7.4 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>, Michal Simek <michal.simek@xilinx.com>, Westergteen Dalon <dalon.westergreen@intel.com> Subject: [U-Boot] [PATCH 0/3] Example of using generic FS loader with FPGA manager 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> MIME-Version: 1.0 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 |
Example of using generic FS loader with FPGA manager
|
expand
|
From: Tien Fong Chee <tien.fong.chee@intel.com> The purpose of this patchset provides example of using the generic FS loader which is currently under review at /data/tfchee/a10_upstreaming/mainstream/17_1_18/patches/firmware_loader_usage . Basically, the whole machanism is working in two ways: 1. SPL -> spl_board_init -> fpga_fsload -> socfpga_loadfs -> fs_flash_preinit( process rbf mkimage header with loader) -> init FPGA -> chunk by chunk to program FPGA using loader The patchset include this : 2. U-Boot console -> fpga loadfs command -> fpga_fsload -> socfpga_loadfs -> fs_flash_preinit(process rbf mkimage header with loader) -> init FPGA -> chunk by chunk to program FPGA using loader Tien Fong Chee (3): ARM: socfpga: Add FPGA drivers for Arria 10 FPGA loadfs enable fpga loadfs arm: socfpga: Add Arria 10 SoCFPGA programming interface arch/arm/dts/socfpga_arria10.dtsi | 12 + arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts | 6 + .../include/mach/fpga_manager_arria10.h | 22 + cmd/fpga.c | 2 +- configs/socfpga_arria10_defconfig | 12 + drivers/fpga/altera.c | 41 ++- drivers/fpga/fpga.c | 8 + drivers/fpga/socfpga_arria10.c | 402 ++++++++++++++++++++ include/altera.h | 6 + include/fpga.h | 2 + 10 files changed, 504 insertions(+), 9 deletions(-)