Reboot is not working in imx6dl-sabresd board with 3.14 kernel

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

Reboot is not working in imx6dl-sabresd board with 3.14 kernel

Jump to solution
2,092 Views
bandarulavanya
Contributor V

Hi All,

i want my board should reboot when i will give reboot command  but no i am getting like this.

$reboot

INIT: Switching to runlevel: 6

INIT: Sending processes the TERM signal

The system is going down for reboot NOW!d (ttymxc2) (Mon May 30 11:04:15 2016

root@imx6dlsabresd:~# Stopping XServer

* Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon

   ...done.

** (oprofile-server:577): WARNING **: Avahi error: Daemon connection failed

Stopping advanced power management daemon: no /usr/sbin/apmd found; none killed

apmd.

Stopping system message bus: dbus.

Stopping OProfileUI server

Stopping syslogd/klogd: stopped syslogd (pid 559)

stopped klogd (pid 562)

done

Stopping Telephony daemon

ALSA: Storing mixer settings...

/usr/sbin/alsactl: save_state:1590: No soundcards found...

Stopping rpcbind daemon...

done.

Stopping Linux NFC daemon

Deconfiguring network interfaces... ifdown: interface eth0 not configured

done.

Sending all processes the TERM signal...

logout

Sending all processes the KILL signal...

Unmounting remote filesystems...

Deactivating swap...

Unmounting local filesystems...

Rebooting... reboot: Restarting system

mxc_restart: Watchdog reset failed to assert reset

Hanged here

But device is not rebooting .

what i need to do to restart my board with reboot command, if any one knows kindly help me.

and whenever i will use watchdog timer it is giving like

root@imx6dlsabresd:/unit_tests# ./wdt_driver_test.out 5 3 1

Starting wdt_driver (timeout: 5, sleep: 3, test: write)

Trying to set timeout value=5 seconds

The actual timeout was set to 5 seconds

Now reading back -- The timeout is 5 seconds

^C

imx2-wdt 20c0000.wdog: Unexpected close: Expect reboot!

snvs-secvio 20cc000.caam-snvs: Unhandled Security Violation Interrupt 2 = Watchdog

Thanks & Regards,

Lavanya

Labels (3)
0 Kudos
1 Solution
1,003 Views
bandarulavanya
Contributor V

HI igorpadykov​ ,

Thank you  i changed following things in dts file (imx6qdl-sabresd.dtsi).

Default:

&gpc {

        /* use ldo-bypass, u-boot will check it and configure */

        fsl,ldo-bypass = <0>;

        fsl,wdog-reset = <2>;

};

&wdog1 {

        status = "disabled";

};

&wdog2 {

        status = "okay";

};

In this case i am getting above error " snvs-secvio 20cc000.caam-snvs: Unhandled Security Violation Interrupt 2 = Watchdog"

Changes:

&gpc {

        /* use ldo-bypass, u-boot will check it and configure */

        fsl,ldo-bypass = <0>;

        fsl,wdog-reset = <1>;

};

&wdog1 {

        status = "okay";

};

&wdog2 {

        status = "disabled";

};

Now my board is rebooting without any problem and watchdog timer also working fine in kernel.

View solution in original post

3 Replies
1,003 Views
bandarulavanya
Contributor V

Hi all,

If i disabled caam in kernel menuconfig that debug message is not coming but still my board is not rebooting.

Thanks

Lavanya

0 Kudos
1,003 Views
igorpadykov
NXP Employee
NXP Employee

Hi Lavanya

please check that board implemented wdog reboot circuit as sabre schematic

U507 in spf-27392 p.21, so wdog provided pwron signal to pmic.

During testing please check this with oscilloscope. Use Demo Images

from

i.MX 6 Series Software and Development Tool|NXP

1.jpg

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
1,004 Views
bandarulavanya
Contributor V

HI igorpadykov​ ,

Thank you  i changed following things in dts file (imx6qdl-sabresd.dtsi).

Default:

&gpc {

        /* use ldo-bypass, u-boot will check it and configure */

        fsl,ldo-bypass = <0>;

        fsl,wdog-reset = <2>;

};

&wdog1 {

        status = "disabled";

};

&wdog2 {

        status = "okay";

};

In this case i am getting above error " snvs-secvio 20cc000.caam-snvs: Unhandled Security Violation Interrupt 2 = Watchdog"

Changes:

&gpc {

        /* use ldo-bypass, u-boot will check it and configure */

        fsl,ldo-bypass = <0>;

        fsl,wdog-reset = <1>;

};

&wdog1 {

        status = "okay";

};

&wdog2 {

        status = "disabled";

};

Now my board is rebooting without any problem and watchdog timer also working fine in kernel.