Reduce launch time on Real-time_Edge

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

Reduce launch time on Real-time_Edge

2,211 Views
OlivierG
Contributor III

Hi

I'm using "Real-time_Edge" to reduce the launch time of an application.
This application uses Mipi for video capture (/dev/video) and for display (/dev/dri/card0).

 

Is there a way to reduce the launch time of this application as much as possible?
Can it be launched via Uboot?

Greetings

 

Olivier

0 Kudos
Reply
13 Replies

2,149 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @OlivierG 

I hope you are doing very well.

 

Could you please share what processor are you using?

Also, if your processor is i.MX93, i.MX 95, i.MX 8M, i.MX 8ULP or i.MX 8QXP, you can take a look to the application note AN14093, that explains how to active Falcon boot on those processors with excellent results:

Manuel_Salas_0-1748893059859.png

 

Manuel_Salas_1-1748893072542.png

 

About U-boot, No, U-boot can't start applications for Linux user space.

 

Best regards,

Salas.

 

0 Kudos
Reply

2,131 Views
OlivierG
Contributor III

Hi

I use a IMX 93 card

i see in the first panel that the total boot time for this card is 9170 ms

My boot time is about 20000 ms (20 sec) even with a kernel build as "core minimal"

How is built the kernel to obtain a 9170 ms boot time ?

 

Greetings

 

Olivier

0 Kudos
Reply

2,124 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @OlivierG 

 

Could you please clarify your kernel version?

 

Also, if possible, share the steps you followed to build your image and check by my side.

 

Best regards,

Salas.

0 Kudos
Reply

2,034 Views
OlivierG
Contributor III

Hi

I was using Yocto Real Time Edge 3.1

Now I'm using Falcon: Yocto Project BSP 6.6.23_2.0.0 Release

 

At Falcon startup, I get:

Trying to boot from EMMC2

for about 45 seconds

How can I eliminate this delay?

 

Greetings

 

Olivier

0 Kudos
Reply

2,018 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @OlivierG 

 

Please double check if you followed the below step from the application note:

Manuel_Salas_0-1749571782778.png

 

Best regrads,

Salas.

0 Kudos
Reply

2,004 Views
OlivierG
Contributor III

hi

 

This patch was automatically apply by bitbake, i verify this in the C files 

i must precise that the kernel is on a SD card not in eMMC memory

 

Greetings

 

Olivier

0 Kudos
Reply

1,915 Views
OlivierG
Contributor III

I tried flashing Falcon to an MMC drive. With the following command line:

uuu -b emmc_all imx-boot-imx93evk-fastboot-sd.bin-flash_singleboot imx-image-fastboot-imx93evk-fastboot.rootfs.wic.zst

I received the error message LIBUSB_TIME_OUT_ERROR

With the uuu utility both on Linux AND Windows (see screenshot on Windows)

0 Kudos
Reply

1,896 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @OlivierG 

 

Can you please try just load the bootloader?

$ sudo uuu -b sd imx-boot-imx93evk-fastboot-sd.bin-flash_singleboot

 

Let me know if you are still having the issue.

 

Do you have other board to test?

 

Best regards,

Salas.

0 Kudos
Reply

1,879 Views
OlivierG
Contributor III

Hi

i tried this command
After a brief passage at 15% I have again the error message : LIBUSB_ERROR_TIMEOUT

 

Olivier

0 Kudos
Reply

1,856 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @OlivierG 

 

It make me think there is a compilation issue.

Please, try to download the bootloader of our official BSP. If you are able to load in to the board, there is a compilation issue.

In case you have the same issue, maybe there is a hardware issue.

 

Best regards,

Salas.

 

0 Kudos
Reply

1,830 Views
OlivierG
Contributor III

Hi

its works with a pre built BSP : Real-time_Edge_v3.1_IMX93-14X14-LPDDR4X-EVK

is there a pre build Falcon BSP ?

Greetings

Olivier

0 Kudos
Reply

1,777 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @OlivierG 

 

Unfortunately, not, there is not a pre-built Falcon.

You should re-try to compile it.

 

Best regards,

Salas.

0 Kudos
Reply

1,878 Views
OlivierG
Contributor III

i precise a have not another board to tesr

0 Kudos
Reply