Reduce launch time on Real-time_Edge

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Reduce launch time on Real-time_Edge

3,365 次查看
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 项奖励
回复
13 回复数

3,303 次查看
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 项奖励
回复

3,285 次查看
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 项奖励
回复

3,278 次查看
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 项奖励
回复

3,188 次查看
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 项奖励
回复

3,172 次查看
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 项奖励
回复

3,158 次查看
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 项奖励
回复

3,069 次查看
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 项奖励
回复

3,050 次查看
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 项奖励
回复

3,033 次查看
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 项奖励
回复

3,010 次查看
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 项奖励
回复

2,984 次查看
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 项奖励
回复

2,931 次查看
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 项奖励
回复

3,032 次查看
OlivierG
Contributor III

i precise a have not another board to tesr

0 项奖励
回复