How to disable heartbeat on startup, IMX28EVK yocto build?

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

How to disable heartbeat on startup, IMX28EVK yocto build?

Jump to solution
1,189 Views
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

Labels (3)
0 Kudos
1 Solution
883 Views
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.

View solution in original post

3 Replies
884 Views
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.

883 Views
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 Kudos
883 Views
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 Kudos