How long to Power Down Linux on LS1012A?

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

How long to Power Down Linux on LS1012A?

跳至解决方案
1,576 次查看
joe1652
Contributor IV

Hello, I'm designing a small board using the LS1012A to store Ethernet data to CFast 2.0 memory card. I plan to run Linux on the LS1012A to make the software development easy. I will need to design a backup power supply to power down the board if the main input power is cut. How long does it take to power down a Linux kernal? This will determine how much of reserve power I will need to design for. I image it will take a little time to stop writing to the file and then initiate a power down on the Linux OS.

Thanks,

Joe

1 解答
1,506 次查看
bpe
NXP Employee
NXP Employee


The time to shut down Linux is not deterministic and depends on the
number of processes running on the system and the way they react to
TERM or HUP signal. For a typical NXP LSDK configuration  shutdown
happens within a few seconds. If you wish a more precise estimation,
our recommendation is to obtain a reference board and measure it
with the set of processes/daemons required for your application.

Regards,

Platon

在原帖中查看解决方案

1 回复
1,507 次查看
bpe
NXP Employee
NXP Employee


The time to shut down Linux is not deterministic and depends on the
number of processes running on the system and the way they react to
TERM or HUP signal. For a typical NXP LSDK configuration  shutdown
happens within a few seconds. If you wish a more precise estimation,
our recommendation is to obtain a reference board and measure it
with the set of processes/daemons required for your application.

Regards,

Platon