Flex-SPI Image Generation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flex-SPI Image Generation

862 Views
kharse_kailas
Contributor I

Hello,

We have NXP`s MCIMX8QXP MEK board. We are using the "i.MX Linux Yocto Project BSP 5.4.24_2.1.0 Release".

We are able to generate and boot from the SD card (flashing using dd commands) and eMMC (using serial download mode and UUU utility).

To boot from the onboard micron 64MB octal flash, a bootloader image with FSPI boot support is required. We have some difficulty in understanding the procedure for the following things:

1) Unable to generate the Flex-SPI u-boot binary image.

We have followed the procedure as follows:

a) added the UBOOT_CONFIG = "fspi" in local.conf as per procedure given in the i.MX Yocto Project User's Guide and then use command and run the following command:
$bitbake -c cleansstate core-image-base
$MACHINE=imx8qxpmek bitbake -c deploy u-boot-imx

Then also, don`t see any flex SPI image generated build/tmp/deploy/images/imx8qxpmek. Here only the sd card image (imx-boot-imx8qxpmek-sd.bin-flash_spl) is getting generated.

2) We have downloaded the Linux prebuild images from the NXP website "L5.4.24-2.1.0_images_MX8QXPC0MEK.zip". In that folder, we found the "imx-boot-imx8qxpc0mek-fspi.bin-flash_flexspi" and "imx-boot-imx8qxpc0mek-fspi.bin-flash_spl_flexspi" images. We tried flashing those images with UUU tool with the following command

$sudo ./uuu -b qspi imx-boot-imx8qxpc0mek-fspi.bin-flash_flexspi

We are getting the following error:

"1:7 1/ 1 [HID(W):LIBUSB_ERROR_IO ] SDPS: boot -f imx-boot-im"

Please guide us on

1) how to generate the flexspi image?

2) How to flash image using uuu into octal flash for the flex interface?

3) Any requirement of "mk-image" here to generate the required images? if yes, How to use to get the required images?

0 Kudos
Reply
1 Reply

779 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

The method you have followed should be correct I'll double check. Also, I see that you are looking for C0 binaries then use this machine instead imx8qxpc0mek.

 

When you tried to flash the pre-built image you had the same result with both binaries?

 

Thank you,

Best regards,

Aldo.

0 Kudos
Reply