iMX8QXP VxWorks RTOS Boot and mk-image tool

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

iMX8QXP VxWorks RTOS Boot and mk-image tool

1,814 Views
beratovic
Contributor I

Hi everyone,

Currently, I'm working on iMX8QXP-MEK board. I wanted to create a boot image which consists SCFW, ATF, SECO, U-Boot and VxWorks RTOS. 

Q1: VxWorks should boot from ARM Cortex A53 instead of as being M4 image. (Windriver BSP support can be referenced for this requirement) But I cannot find a proper command for this in soc.mak in mk-image folder. When I re-configure soc.mak and write my own command set, UUU tool cannot load flash.bin image into the boards' flash memory.

Q2: General question; are there anyone have experiences on this?

NOTE: TFTP boot works, but I don't want this way for booting process.

Thanks in advance.

0 Kudos
Reply
3 Replies

1,800 Views
beratovic
Contributor I

Hi @AldoG ,

Thanks for your answer.

VxWorks image can be booted by using TFTP protocol (thanks to U-Boot) on core a35. When I write the following command in soc.mak in the mk-image project folder and create flash.bin and flash it via UUU tool, I have faced with the following scenario:

flash_flexspi: $(MKIMG) $(AHAB_IMG) scfw_tcm.bin u-boot-atf.bin Image $(QSPI_HEADER)
./$(MKIMG) -soc QX -rev B0 -dev flexspi -append $(AHAB_IMG) -c -scfw scfw_tcm.bin -ap u-boot-atf.bin a35 0x20000000 -ap Image a35 0x83100000 -out flash.bin
./$(QSPI_PACKER) $(QSPI_HEADER)

UUU shell screen starts from 0% and goes upto 100% but then nothing happens. 

0 Kudos
Reply

1,781 Views
AldoG
NXP TechSupport
NXP TechSupport

HI,

As I said before I cannot comment of Vxworks if you experiment issues with this recommend to check with Windriver.

Regarding UUU, as I said you may create a flash.bin that will be used only for download and flash, this would be a normal image no Vxworks for this, and flash the flash.bin with Vxworks. This is only a recommendation I believe someone from Windriver may be able to confirm this.

Best regards,
Aldo.

0 Kudos
Reply

1,804 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I'm not really similar with VxWorks and this should be looked at with Windriver, I could suggest to try using an standard flash.bin that could be used by UUU to download and flash the actual flash.bin that have the SCFW, ATF, SECO, U-Boot and VxWorks RTOS.

Best regards,
Aldo.

0 Kudos
Reply