Binaries for i.MX8QuadXPlus

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

Binaries for i.MX8QuadXPlus

2,203 Views
magnus_lovdahl
Contributor I

Hello,

I have "i.MX 8QuadXPlus Multisensory Enablement Kit (MEK)" which I would like to run QNX on.

QNX have provide a BSP for this board, but I need to get some binaries from NXP to be able to use it.

From “BSP User's Guide NXP i.MX 8QuadXPlus CPU Board”

*****

You must contact NXP Support to get the necessary firmware and binaries. After you get the necessary files, follow these steps to build the images for this BSP.

CAUTION: If you don't complete the following steps before you build this BSP, the IPL and QNX IFS images won't build nor function on your board.

Files to get:

imx-fspi-header.bin   Required to build the QNX IPL boot file for Flash

imx-fspi-header.src   Required to build the QNX IPL boot file for Flash

mkimage_imx8   Required to generate the QNX IPL on Linux and macOS hosts

mkimage_imx8.exe   Required to generate the QNX IPL on Windows hosts

mx8qxb0-ahab-container.img   Required to build the B0 IPL file

mx8qxc0-ahab-container.img   Required to build the C0 IPL file

scfw_tcm_b0.bin   Required to build both the B0 and C0 IPL files bl31.bin Required to build the QNX IPL (Optional)

mx-scfw-porting-kit.bin.gz

*****

Where can I get these files?

Regards

Magnus

PS.

I am not familiar with "Code Aurora" and how to get files from it.

4 Replies

1,973 Views
magnus_lovdahl
Contributor I

Hello,

After answer some linux learning, new to that world, I have all the files that I need. Thanks for the help.

I am now up and running.

Regards

Magnus

1,973 Views
jordonwu
Contributor III

Hello,

Where and how you get imx-fspi-header.bin/imx-fspi-header.src and mkimage_imx8.exe finally, thanks. 

0 Kudos

1,882 Views
WPirkl
Contributor I
On Windows:
Install cygwin with the following packages:
  • make
  • gcc (gcc-core)
  • zlib-devel
  • openssl
  • make
Open a cygwin shell
cd /cygdrive/path/where/you/cloned/imx-mkimage
make -C iMX8M -f soc.mak mkimage_imx8
 
Now the program mkimage_imx8.exe can be found in the iMX8M folder.
 
To run it:
C:\cygwin64\bin\run.exe mkimage_imx8.exe
0 Kudos

1,973 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Magnus,


Most of these files can be found on the Linux BSP for the i.MX 8QuadXPlus MEK. The BSP Releases available are listed on the link below:

https://www.nxp.com/design/software/embedded-software/linux-software-and-development-tools/embedded-...

From the files required by the QNX team I would recommend using the BSP Release L4.14.98_2.0.0. You may find the documentation for this BSP on the link below:

https://www.nxp.com/webapp/Download?colCode=imx-yocto-L4.14.98_2.0.0_ga

I couldn’t locate the spi headers files as described (imx-fspi-header.bin and source) but I would assume they are referring to the fspi_header as part of the bootloader script of the Yocto imx-boot package. (As this is not part of uboot-imx strictly speaking you cannot take it from the uboot git directly)


The mkimage files are also available in Yocto under the imx-boot recipes under tools.

The bl31 binaries are included as part of the imx-atf package.


One of the few files that can be retrieved without installing the BSP is the firware-imx file. Each of the release notes for the BSP enlist the firmare-imx revision, so for this BSP it would be firmware-imx-8.1.bin and this file is available on the following link:

http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.1.bin

Once downloaded you would need to excecute the binary on a Linux host using the command:

$ chmod a+x firmware-imx-8.1.bin
$ ./firmware-imx-8.1.bin

It will create a new directory with some directories within. Please look for the seco directory where you will find the mx8qx-ahab-container.img. The file included is for the B0 version. If you would need the C0 version I would need to open an internal escalation asking for it as it has not been publicly released.

As for the SCFW Porting Kit, it can be downloaded from the i.MX Software and Resources page.

https://www.nxp.com/design/i-mx-developer-resources/i-mx-software-and-development-tools:IMX-SW

Under each of the BSP Releases you may find the SCFW Porting Kit link. For BSP Release L4.14.98_2.0.0 the direct link may be found below:

https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L4.14.98_2.0.0_SCFWKIT-1.2

The scfw_tcm binary may be build as part of the SCFW Porting Kit.

I hope that this helps!

Regards,

0 Kudos