
U boot spl install#
Sudo apt-get install gcc-aarch64-linux-gnu Sudo apt-get install gcc-arm-linux-gnueabi In Ubuntu 14.04, you can use below command to install cross compiler for armv7: If you haven't done so before, get a suitable toolchain installed and add it to your PATH. EVB RK3399 - use evb-rk3399 configuration.EVB RK3328 - use evb-rk3328 configuration.PopMetal RK3288 - use popmetal-rk3288 configuration.Miniarm RK3288 - use miniarm-rk3288 configuration.Hisense Chromebook - use chromebook_jerry configuration.Firefly RK3288 - use firefly-rk3288 configuration.EVB RK3288 - use evb-rk3288 configuration.

EVB RK3036 - use evb-rk3036 configuration.* todo: With that function in ther is no console output in linux, drop for now */ĭiff -git a/board/toradex/colibri-imx8x/spl.c b/board/toradex/colibri-imx8x/spl.You can clone the u-boot repository by running:Īlternatively you can use u-boot-rockchip instead which may with some patches not get in mainline:

a/board/toradex/colibri-imx8x/colibri-imx8x.c * Add U-Boot image with load attribute */ĭiff -git a/board/toradex/colibri-imx8x/colibri-imx8x.c b/board/toradex/colibri-imx8x/colibri-imx8x.c a/board/toradex/colibri-imx8x/colibri-imx8x-imximage.cfg a/board/toradex/colibri-imx8x/Makefileĭiff -git a/board/toradex/colibri-imx8x/colibri-imx8x-imximage.cfg b/board/toradex/colibri-imx8x/colibri-imx8x-imximage.cfg diff -git a/board/toradex/colibri-imx8x/Makefile b/board/toradex/colibri-imx8x/Makefile Thanks – any guidance will be appreciated.
U boot spl Patch#
I don’t know why you weren’t able to access the patch that I provided as an attachment. So it appeared from the console that the boot process just hung. When I integrated my flash_spl based imx-boot, I did not see any console output (no ATF or U-Boot). I’m optimistic that if I get SPL U-Boot working, then I will be able to leverage what NXP has in order to get OPTEE working. If you can provide that guidance, then I expect I will be able to get OP-TEE running based on what NXP supports on their imx8qxpmek board. So anyway, I’m asking for any guidance that can be provided for running OP-TEE on the Colibri iMX8QXP.īeyond that, I’d also appreciate any insight into what I need to do in order to boot the Colibri iMX8QXP using SPL U-Boot. However, I now realize that this flow is different for SPL booting as shown in Figure 2 of the i.MX Porting Guide: I still don’t understand why NXP requires SPL for the TEE on the 8X, but at least it makes sense to me why I no longer see ATF output. I initially did not expect this as I thought ATF would get control directly from the SCFW prior to U-Boot being a factor. When I tried to include optee using the imx-boot flash_spl (and my attached u-boot patch), I could see that tee.bin was being included in the imx-boot file.

This failed because tee.bin is not supported by the imx-boot flash target and so it was not loaded into memory. When I tried to include optee using the imx-boot flash target (the one Toradex uses, not the spl target that I need to use), I confirmed that ATF attempted to set up the secure environment and give control to tee.bin at the proper expected address. When I did this, I was able to see ATF output on SODIMM_36/SODIMM_38 I patched imx-atf in order to enable DEBUG_CONSOLE on Uart0 I created the attached U-Boot patch based on NXP’s support for the imx8qxp_mek: My basic approach has been an attempt to use NXP’s board support for their imx8qxp_mek as an example in order to enable SPL U-Boot.Įnable optee and uboot-spl in nf IMXBOOT_TARGETS = "flash_spl" I was hopeful that Toradex might have started with NXP support for the imx8qxp_mek when implementing the boot flow for the Colibri imx8qxp, and so perhaps could have some knowledge to share in regards to going back to SPL U-Boot… And consistent with this guidance, NXP support for their imx8qxp_mek board uses SPL U-boot. I don’t know why this is a dependency based on my understanding of the boot flow on the i.MXQXP, but it appears that it is. This is consistent with Table 51 from the i.MX Linux User’s Guide: Specifically in imx-mkimage, the soc.mak target for “flash” does not account for optee, but “flash_spl” does: It appears to me that NXP requires SPL U-Boot in order to enable OP-TEE. I was hopeful that perhaps you could point out what I might be misunderstanding or missing.

Can you provide any guidance in configuring U-Boot for SPL on the Colibri iMX8QXP? I am using the OpenEmbedded tdx-reference-multimedia-image 5.x.y reference image.
