How to disable heartbeat on startup, IMX28EVK yocto build?

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

How to disable heartbeat on startup, IMX28EVK yocto build?

ソリューションへジャンプ
1,272件の閲覧回数
peteewg
Contributor III

So I can build an image for the IMX28EVK using Yocto (currently 150GB of disk space for 1GB image)

Where would I find the source files that control the setup of LED2 (GPIO_3_5) as a heartbeat as well as setting it running on startup?

Lest say I wanted to configure it to run on LED 3 (GPIO_3_4) instead how would I go about that?

Pete

ラベル(3)
0 件の賞賛
1 解決策
966件の閲覧回数
lategoodbye
Senior Contributor I

Hello Peter,

you need to edit arch/arm/boot/dts/imx28-evk.dts from the kernel sources:

-linux,default-trigger = "heartbeat";

+linux,default-trigger = "default-on";

and recompile the kernel.

元の投稿で解決策を見る

3 返答(返信)
967件の閲覧回数
lategoodbye
Senior Contributor I

Hello Peter,

you need to edit arch/arm/boot/dts/imx28-evk.dts from the kernel sources:

-linux,default-trigger = "heartbeat";

+linux,default-trigger = "default-on";

and recompile the kernel.

966件の閲覧回数
peteewg
Contributor III

Thanks Stefan,

I eventually figured it out, but at this confirms it.

I didn't realise so much hardware functionality was supplied as part of the kernel, I tight it would all have been vendor specific, but this makes it much more consistent.

0 件の賞賛
966件の閲覧回数
OtavioSalvador
Senior Contributor II

Yes; the BSP (mainly Kernel and Bootloader) is responsible for all hardware support. The Yocto part does the integration of it and proper setup.

0 件の賞賛