eglinitialize depends on /dev/galcore and not available for sometime causing delay in weston boot

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eglinitialize depends on /dev/galcore and not available for sometime causing delay in weston boot

ソリューションへジャンプ
2,392件の閲覧回数
arunkumar_rajag
Contributor III
NXP BSP Version: is4.14.98_2.0.0_ga

U-Boot and kernel completes @ 3.7sec.

systemd started galcore module.

and in parallel weston started.

Weston takes 1.2sec to complete initialization.

But if we delay weston startup around 1sec in systemd then weston comepleted init in ~250ms.

find below strace.....

1344  18:22:33.206979 openat(AT_FDCWD, "/dev/galcore", O_RDWR) = -1 ENOENT (No such file or directory)
1344  18:22:33.207208 openat(AT_FDCWD, "/dev/graphics/galcore", O_RDWR) = -1 ENOENT (No such file or directory)
1344  18:22:33.207409 nanosleep({tv_sec=1, tv_nsec=0}, NULL) = 0
1344  18:22:34.212621 write(2, "[     1] Failed to open device: "..., 72) = 72
1344  18:22:34.212954 openat(AT_FDCWD, "/dev/galcore", O_RDWR) = 13
1344  18:22:34.214095 ioctl(13, _IOC(0, 0x75, 0x30, 0), 0xffffffca22e0) = 0

1344  18:22:34.215424 ioctl(13, _IOC(0, 0x75, 0x30, 0), 0xffffffca22e0) = 0

So why dev/galcore taking more time to be available?

Can we move this galcore module insertion to kernel? what is the NXP recommandation?

Why nanosleep configured to 1sec sleep? can we reduce it?

danweiluo

Thanks,

Arunkumar R

1 解決策
2,288件の閲覧回数
danwei_luo
NXP Employee
NXP Employee

Hi Arunkumar Rajagopal

.

Sure, you can build the galcore.ko into kernel as build-in. In the latest Linux BSP, it's set as build-in by default.

Best regards,

Danwei

元の投稿で解決策を見る

3 返答(返信)
2,288件の閲覧回数
IvanRuiz
NXP Employee
NXP Employee

Hello,

May I ask which part number you are working with? -Because it was tagged many variants of the i.MX8 in the thread. Also, please confirm if it is an evaluation board or a custom one?

One more question, may I ask if you already have an FAE assigned or if you are already in touch with an internal NXP expert?

Thank you.

BR,

Ivan.

0 件の賞賛
返信
2,288件の閲覧回数
arunkumar_rajag
Contributor III

Hi Ivan,

We are working with imx8qx.

It is a custom board.

danweiluo and rao.mr@nxp.com 

Use to support us.

Thanks,

Arunkumar R

2,289件の閲覧回数
danwei_luo
NXP Employee
NXP Employee

Hi Arunkumar Rajagopal

.

Sure, you can build the galcore.ko into kernel as build-in. In the latest Linux BSP, it's set as build-in by default.

Best regards,

Danwei