Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yocto 5 #43

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from
Open

Yocto 5 #43

wants to merge 6 commits into from

Conversation

UtsavAgarwalADI
Copy link
Contributor

@UtsavAgarwalADI UtsavAgarwalADI commented Dec 10, 2024

  • Adds new dedicated qspi driver for spi2 flash using the spimem framework for more efficient memory transfers
  • Adds falcon boot tweaks to support fastest possible speeds using OSPI for sc598-som-ezkit
  • Sets default OSPI flash chip for OSPI commands
  • Removing explicit delays added in the OSPI driver
  • Adjusts expected rfs name to reflect yocto 5 generated image

Adding mem_ops framework to leverage the memory mapped spi mode
mem ops fall back to legacy read writes in case of non-addressed
reads(such as reading JEDEC ID) and writes

Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Signed-off-by: UtsavAgarwalADI <utsav.agarwal@analog.com>
Optimizing falcon for fastest possible boot times with ezkit carrier
board

Setting OSPI DTR as default mode and disabling rfs mounting from falcon boot

Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
SPI flash defaults to qspi for ospi commands unless
sfdev is explicitly set for SC598-SOM-EZKIT

Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
@@ -126,11 +134,18 @@ static int spl_spi_load_image(struct spl_image_info *spl_image,
* In DM mode: defaults speed and mode will be
* taken from DT when available
*/

#if defined(CONFIG_ADI_FALCON) && defined(CONFIG_ADI_CARRIER_SOMCRR_EZKIT)
Copy link

@jdanielllopis jdanielllopis Jan 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

at the commit ae08c53 is simplified when options ADI_FALCON and carrier board are true, because one place to call spi_flash_probe() with default settings.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new branch (yocto_5_rev) from yocto_5 with possible updates

@UtsavAgarwalADI
Copy link
Contributor Author

UtsavAgarwalADI commented Jan 9, 2025

We should probably squash/merge spl_spi: improve support for ADI Falcon and Carrier EZKit configuration with Adding default OSPI device, otherwise the commit history might be slightly confusing/superfluous.

Additionally, this change can perhaps be isolated to ADSP-SC598-SOM

Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
U-boot runs out of space with current memory allocation
and addresses

Signed-off-by: Utsav Agarwal <utsav.agarwal@analog.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants