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

NXP imx rt1064 evk: Application does not boot when flash/flexSPI driver is enabled #33633

Closed
hendriklehmkuhl opened this issue Mar 23, 2021 · 4 comments
Assignees
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug
Milestone

Comments

@hendriklehmkuhl
Copy link

Describe the bug
I am currently trying to build and flash the MCUBoot bootloader to a nxp mimxrt1064 evaluation board. Building and flashing using west works fine without any warnings or error messages but unfortunately the application does not boot. There is nothing on the console and also GDB debugging using a Segger J-Link does not work.

After searching for the reason for a while I noticed that the same behaviour occurs when I try to include the flash driver in other sample applications as well. So I am able to provide a minimal example to reproduce this issue:

To Reproduce
Steps to reproduce the behavior:

  1. Add CONFIG_FLASH=y to samples/hello_world/prj.conf
  2. Build the hello world application (no warnings or errors should show up)
  3. Flash the application to the mimxrt1064_evk
  4. See that the application does not boot and nothing is shown on the console

Expected behavior
Show the zephyr boot banner and boot as usual when including the flash driver.

Impact
I am not able to integrate MCUBoot with Zephyr on my RT1064 evaluation board.

Environment :

  • OS: Windows
  • Toolchain: gnu arm embedded
  • Commit: Current master (2.5.0-rc1)
@hendriklehmkuhl hendriklehmkuhl added the bug The issue is a bug, or the PR is fixing a bug label Mar 23, 2021
@galak galak added platform: NXP NXP priority: low Low impact/importance bug labels Mar 23, 2021
@pdgendt
Copy link
Collaborator

pdgendt commented Mar 26, 2021

Zephyr currently doesn't support mcuboot for the i.MX RT1064 internal QSPI flash.

I've submitted this PR that should help you get started.

@hendriklehmkuhl
Copy link
Author

@pdgendt thanks a lot, this seems to be very helpful!

@pdgendt
Copy link
Collaborator

pdgendt commented May 5, 2021

Hey @hendriklehmkuhl, can you verify again, now that this PR has been merged?

As mentioned, check that you build the bootloader with CONFIG_BOOT_MAX_IMG_SECTORS=512.

@galak galak added this to the v2.6.0 milestone May 11, 2021
@MaureenHelm
Copy link
Member

Fixed by #33701 and #34845. Please reopen if you still the issue after pulling in these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants