<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic two halt modes in Linux systems in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/two-halt-modes-in-Linux-systems/m-p/1247092#M170976</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I need two specific way to halt my embedded Linux system based on i.MX6 quad.&lt;BR /&gt;The first halt mode is used to halt the system while maintaining watchdog trigger.&lt;BR /&gt;The second halt mode is used to halt the system without maintaining watchdog trigger.&lt;/P&gt;&lt;P&gt;These two behavior are working fine, but actually, I test them only with poweroff (runlevel 0) and by modifing halt script.&lt;BR /&gt;I would have an other specific runlevel or parameter to switch these two differents halt modes. Is this possible?&lt;/P&gt;&lt;P&gt;So the system uses sysvinit and runlevel 0 is halt. Runlevel 6 is reboot and runlevel 5 is default (multi user).&lt;/P&gt;&lt;P&gt;The default runlevel 0 is called with poweroff and halt is executed.&lt;/P&gt;&lt;P&gt;But as I need 2 kind of halt scripts, I suppose I have to use an existent unused runlevel like runlevel 4 or&lt;BR /&gt;create a new one (even if it seems to be impossible).&lt;/P&gt;&lt;P&gt;At first, I would give a parameter to poweroff to tell it:&lt;/P&gt;&lt;P&gt;enter to runlevel0 but execute halt1 or halt2: like this&lt;/P&gt;&lt;P&gt;poweroff 1&lt;BR /&gt;poweroff 2&lt;/P&gt;&lt;P&gt;But it seems it's not at all possible so I think best idea is to use an other runlevel.&lt;/P&gt;&lt;P&gt;Does someone already heard about this kind of specific needs?&lt;BR /&gt;Maybe a better solution exists so I post it here.&lt;/P&gt;&lt;P&gt;Thanks for all, by advance, best reguards: Anthony.&lt;/P&gt;</description>
    <pubDate>Wed, 17 Mar 2021 09:42:15 GMT</pubDate>
    <dc:creator>_Anthony</dc:creator>
    <dc:date>2021-03-17T09:42:15Z</dc:date>
    <item>
      <title>two halt modes in Linux systems</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/two-halt-modes-in-Linux-systems/m-p/1247092#M170976</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I need two specific way to halt my embedded Linux system based on i.MX6 quad.&lt;BR /&gt;The first halt mode is used to halt the system while maintaining watchdog trigger.&lt;BR /&gt;The second halt mode is used to halt the system without maintaining watchdog trigger.&lt;/P&gt;&lt;P&gt;These two behavior are working fine, but actually, I test them only with poweroff (runlevel 0) and by modifing halt script.&lt;BR /&gt;I would have an other specific runlevel or parameter to switch these two differents halt modes. Is this possible?&lt;/P&gt;&lt;P&gt;So the system uses sysvinit and runlevel 0 is halt. Runlevel 6 is reboot and runlevel 5 is default (multi user).&lt;/P&gt;&lt;P&gt;The default runlevel 0 is called with poweroff and halt is executed.&lt;/P&gt;&lt;P&gt;But as I need 2 kind of halt scripts, I suppose I have to use an existent unused runlevel like runlevel 4 or&lt;BR /&gt;create a new one (even if it seems to be impossible).&lt;/P&gt;&lt;P&gt;At first, I would give a parameter to poweroff to tell it:&lt;/P&gt;&lt;P&gt;enter to runlevel0 but execute halt1 or halt2: like this&lt;/P&gt;&lt;P&gt;poweroff 1&lt;BR /&gt;poweroff 2&lt;/P&gt;&lt;P&gt;But it seems it's not at all possible so I think best idea is to use an other runlevel.&lt;/P&gt;&lt;P&gt;Does someone already heard about this kind of specific needs?&lt;BR /&gt;Maybe a better solution exists so I post it here.&lt;/P&gt;&lt;P&gt;Thanks for all, by advance, best reguards: Anthony.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 09:42:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/two-halt-modes-in-Linux-systems/m-p/1247092#M170976</guid>
      <dc:creator>_Anthony</dc:creator>
      <dc:date>2021-03-17T09:42:15Z</dc:date>
    </item>
  </channel>
</rss>

