public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] spl, rk3399: fix FIT image loadingg out-of-range
@ 2022-06-09 15:23 Jerome Forissier
  2022-06-09 15:23 ` [PATCH 1/2] spl: fit: add config option for temporary buffer when loading image Jerome Forissier
  2022-06-09 15:23 ` [PATCH 2/2] rockchip: rk3399: enable spl-fifo-mode for sdmmc only when needed Jerome Forissier
  0 siblings, 2 replies; 7+ messages in thread
From: Jerome Forissier @ 2022-06-09 15:23 UTC (permalink / raw)
  To: u-boot
  Cc: Jerome Forissier, Jagan Teki, Simon Glass, Philipp Tomsich,
	Kever Yang, Alexandru Gagniuc, Jaehoon Chung, Heiko Schocher,
	Xavier Drudis Ferran, Michal Simek, Aswath Govindraju,
	Nishanth Menon, Lokesh Vutla

The patches in this series address an issue I met when trying to enable
FIT signature verification by SPL on a RockPi4B board.

- The first patch avoids a buffer overflow when writing to INTMEM1 SRAM
- The second one addresses reliability issues I had with back-to-back
MMC reads from the microSD card. By allowing DMA operation, the issue is
gone and generally speaking DMA is preferred over FIFO mode anyways.

Jerome Forissier (2):
  spl: fit: add config option for temporary buffer when loading image
  rockchip: rk3399: enable spl-fifo-mode for sdmmc only when needed

 arch/arm/dts/rk3399-u-boot.dtsi |  2 +
 common/spl/Kconfig              | 45 +++++++++++++++++++
 common/spl/spl_fit.c            | 79 ++++++++++++++++++++++++++++++---
 3 files changed, 120 insertions(+), 6 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-06-29  7:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09 15:23 [PATCH 0/2] spl, rk3399: fix FIT image loadingg out-of-range Jerome Forissier
2022-06-09 15:23 ` [PATCH 1/2] spl: fit: add config option for temporary buffer when loading image Jerome Forissier
2022-06-09 15:23 ` [PATCH 2/2] rockchip: rk3399: enable spl-fifo-mode for sdmmc only when needed Jerome Forissier
2022-06-14 18:16   ` Jerome Forissier
2022-06-15 17:05     ` Xavier Drudis Ferran
2022-06-29  3:01   ` Kever Yang
2022-06-29  7:59     ` Jerome Forissier

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