public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v6 3/7] configs: Add config for enabling FSPI boot option for i.MX8m
@ 2022-07-25 16:40 sbabic
  0 siblings, 0 replies; 2+ messages in thread
From: sbabic @ 2022-07-25 16:40 UTC (permalink / raw)
  To: Mamta Shukla, u-boot

> Add imx8mm_evk_fspi_defconfig to build QSPI boot image.
> This config is based on imx8mm_evk_defconfig with addtional config options to
> define FSPI Header parameters required to generate QSPI Header.
> Update SPL offset to include header size  and overwrite IMX_CONFIG to use
> lpddr.cfg for FSPI.
> Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
> Signed-off-by: Thomas Haemmerle <thomas.haemmerle@leica-geosystems.com>
> Tested-by: Adam Ford <aford173@gmail.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
> Reviewed-by: Andrey Zhizhikin  <andrey.zhizhikin@leica-geosystems.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [PATCH v6 0/7] Add support for FlexSPI Boot for i.MX8m
@ 2022-07-12 14:36 Mamta Shukla
  2022-07-12 14:36 ` [PATCH v6 3/7] configs: Add config for enabling FSPI boot option " Mamta Shukla
  0 siblings, 1 reply; 2+ messages in thread
From: Mamta Shukla @ 2022-07-12 14:36 UTC (permalink / raw)
  To: u-boot
  Cc: sbabic, peng.fan, aford173, bsp-development.geo, festevam,
	Mamta Shukla

This series of patch adds support for generating FlexSPI Header file
and booting from QSPI on i.MX8m.

Changes in v2:
-Add check for error in case open() for fspi_fd in imx8mkimage.c fails
-Remove extra line in commit message
-Remove extra line in imx8mm_evk_fspi_defconfig
-New patch in series to add an entry for imx8mm_evk_fspi_defconfig in
board/freescale/imx8mm_evk/MAINTAINERS
-New patch in series to add instructions to build and boot from QSPI Flash

Changes in v3:
-Fix Checkpatch ERROR: code indent should use tabs where possible
-Fix Checkpatch ERROR for trailing spaces   

Changes in v4:
-Add condition for CONFIG_SYS_UBOOT_BASE for mmc/sd card build
-Define QPSI0_AMBA_BASE in imx-regs.h since it is imx8mm specific

Changes in v5:
-Fix GCC warning: braces around scalar initializer
-Remove  __ASSEMBLY__ as it has been dropped in commit 5c86a8f7a191 ("imx: 
Don't define __ASSEMBLY__ in source files")
-Sync config with commit e092e3250270 ("Prepare v2022.07") 

Changes in v6:
-Fix GCC warning: braces around scalar initializer
-Fix unused variable fpsi* warning while building for sd/emmc
-Remove SPL_SEPARATE_BSS since it's removed in commit bfdb30559c76
("configs: Resync with savedefconfig")
-Add more detail to commit message to introduce imx8mm_evk_fspi_defconfig
-Fix commit id used for sync: commit 36b661dc919d ("Merge branch 'next'")

Mamta Shukla (7):
  tools: mkimage: Add support to generate FlexSPI Header for i.MX8m
  dts: imx8mm-uboot: Add support to pack FlexSPI Header using binman
  configs: Add config for enabling FSPI boot option for i.MX8m
  board: freescale: Add QSPI Boot support in spl for i.MX8m
  configs: imx8mm: Define CONFIG_SYS_UBOOT_BASE for i.MX8m
  board: freescale: Add entry for imx8mm_evk_fspi_defconfig
  doc: board: nxp: Add instructions to boot from QSPI

 arch/arm/dts/imx8mm-u-boot.dtsi               |  20 +++
 arch/arm/include/asm/arch-imx8m/imx-regs.h    |   1 +
 board/freescale/imx8mm_evk/MAINTAINERS        |   1 +
 .../imx8mm_evk/imximage-8mm-lpddr4-fspi.cfg   |   7 +
 board/freescale/imx8mm_evk/spl.c              |   2 +
 configs/imx8mm_evk_fspi_defconfig             | 123 ++++++++++++++++++
 doc/board/nxp/imx8mm_evk.rst                  |  37 +++++-
 include/configs/imx8mm_evk.h                  |   9 ++
 include/imximage.h                            |  38 ++++++
 tools/Kconfig                                 |  59 +++++++++
 tools/imx8mimage.c                            |  81 +++++++++++-
 11 files changed, 375 insertions(+), 3 deletions(-)
 create mode 100644 board/freescale/imx8mm_evk/imximage-8mm-lpddr4-fspi.cfg
 create mode 100644 configs/imx8mm_evk_fspi_defconfig

-- 
2.25.1


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

end of thread, other threads:[~2022-07-25 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-25 16:40 [PATCH v6 3/7] configs: Add config for enabling FSPI boot option for i.MX8m sbabic
  -- strict thread matches above, loose matches on Subject: below --
2022-07-12 14:36 [PATCH v6 0/7] Add support for FlexSPI Boot " Mamta Shukla
2022-07-12 14:36 ` [PATCH v6 3/7] configs: Add config for enabling FSPI boot option " Mamta Shukla

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