[PATCH v1 00/20] SoCFPGA: Add Boot Support for Agilex 5 in U-Boot

Chee, Tien Fong tien.fong.chee at intel.com
Fri Sep 20 09:30:43 CEST 2024


Hi,

> -----Original Message-----
> From: Simon Glass <sjg at chromium.org>
> Sent: Friday, September 20, 2024 3:26 PM
> To: Chee, Tien Fong <tien.fong.chee at intel.com>
> Cc: u-boot at lists.denx.de; Marek Vasut <marex at denx.de>; Simon
> Goldschmidt <simon.k.r.goldschmidt at gmail.com>; Meng, Tingting
> <tingting.meng at intel.com>; Yuslaimi, Alif Zakuan
> <alif.zakuan.yuslaimi at intel.com>; Hea, Kok Kiang
> <kok.kiang.hea at intel.com>
> Subject: Re: [PATCH v1 00/20] SoCFPGA: Add Boot Support for Agilex 5 in U-
> Boot
> 
> Hi,
> 
> On Fri, 20 Sept 2024 at 09:03, <tien.fong.chee at intel.com> wrote:
> >
> > From: Tien Fong Chee <tien.fong.chee at intel.com>
> >
> > This patch set introduces boot support for the Altera SoCFPGA Agilex 5
> > platform in U-Boot. The changes include:
> >         1. Board-specific configurations and setup required to enable Agilex 5
> >            operation in U-Boot.
> >         2. Integration of cache coherency unit (CCU) initialization routine,
> >            including CCU conguration in DT.
> >         3. Clock, firewall (configured in DT), SMMU, low level initialization
> >            specific to Agilex 5.
> >         4. Integration of memory initialization routine, including DDR setup.
> >
> > This patch set has been tested on Agilex 5 devkit with QSPI boot
> > (UBI/UBIFS) and RAM boot (TFTP & ARM DS debugger).
> >
> > Alif Zakuan Yuslaimi (1):
> >   configs: socfpga: soc64: agilex5: Enable QSPI boot with UBI / UBIFS
> >
> > Tien Fong Chee (18):
> >   arm: socfpga: agilex5: Add new system manager base addresses
> >   arm: socfpga: Add support for agilex5 clock manager
> >   linker: Add SPL linker script for SoC64 devices
> >   arm: socfpga: agilex5: Add low level initialization
> >   arm: socfpga: Add handoff data support for SoCFPGA Agilex5 device
> >   arm: dts: agilex5: Add HPS cache coherency unit configuration settings
> >   arm: dts: agilex5: Add firewall configure settings
> >   arm: dts: agilex5: Enable XGMAC
> >   sysreset:  Add reset support to SoCFPGA Agilex5 device
> >   arm: socfpga: agilex5: Enable cache flush for system memory cache in
> >     CCU
> >   arm: socfpga: agilex5: Add SMMU initialization
> >   arm: socfpga: agilex5: Update CPU info
> >   arm: socfpga: Export board ID as U-Boot environment variable
> >   configs: agilex5: Add configuration for malloc pool
> >   arm: socfpga: smc: Add memory coherency support to mailbox command
> >   arm: socfpga: agilex5: Add SPL for Agilex5 SoCFPGA
> >   configs: socfpga: soc64: agilex5: Enable XGMAC
> >   arm: socfpga: soc64: Add support for board_boot_order()
> >
> > Tingting Meng (1):
> >   ddr: altera: Add DDR driver for Agilex5 series
> >
> >  MAINTAINERS                                   |   2 +
> >  arch/arm/Kconfig                              |   1 +
> >  arch/arm/dts/socfpga_agilex5-u-boot.dtsi      | 660 ++++++++++++++++++
> >  arch/arm/dts/socfpga_agilex5.dtsi             |   7 +
> >  .../arm/dts/socfpga_agilex5_socdk-u-boot.dtsi |  33 +
> >  arch/arm/mach-socfpga/Makefile                |   6 +
> >  arch/arm/mach-socfpga/ccu_ncore3.c            |  64 ++
> >  arch/arm/mach-socfpga/include/mach/firewall.h |  23 +-
> >  .../mach-socfpga/include/mach/handoff_soc64.h |   4 +-
> >  arch/arm/mach-socfpga/include/mach/misc.h     |   1 +
> >  .../include/mach/reset_manager_soc64.h        |  12 +-
> >  .../include/mach/system_manager_soc64.h       | 129 ++--
> >  arch/arm/mach-socfpga/lowlevel_init_agilex5.S |  57 ++
> >  arch/arm/mach-socfpga/misc.c                  |  24 +-
> >  arch/arm/mach-socfpga/misc_soc64.c            |  12 +-
> >  arch/arm/mach-socfpga/smc_api.c               |  13 +-
> >  arch/arm/mach-socfpga/spl_agilex5.c           |  84 +++
> >  arch/arm/mach-socfpga/spl_soc64.c             | 120 +++-
> >  arch/arm/mach-socfpga/u-boot-spl-soc64.lds    |  80 +++
> >  arch/arm/mach-socfpga/wrap_handoff_soc64.c    |  10 +-
> >  configs/socfpga_agilex5_defconfig             |   6 +
> >  drivers/ddr/altera/Makefile                   |   1 +
> >  drivers/ddr/altera/iossm_mailbox.c            | 613 ++++++++++++++++
> >  drivers/ddr/altera/iossm_mailbox.h            | 186 +++++
> >  drivers/ddr/altera/sdram_agilex5.c            | 377 ++++++++++
> >  drivers/ddr/altera/sdram_soc64.c              |  78 ++-
> >  drivers/ddr/altera/sdram_soc64.h              |  32 +-
> 
> Can we please put RAM drivers in drivers/ram ? Also, do make sure they
> actually use UCLASS_RAM

The RAM here means for DDR, and UCLASS_RAM is used in DDR driver.

[...]

Regards,
Tien Fong


More information about the U-Boot mailing list