How to disable heartbeat on startup, IMX28EVK yocto build?

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

How to disable heartbeat on startup, IMX28EVK yocto build?

跳至解决方案
1,489 次查看
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 解答
1,183 次查看
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 回复数
1,184 次查看
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.

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