> > Author: ian > > Date: Tue Jan 24 02:09:30 2017 > > New Revision: 312679 > > URL: https://svnweb.freebsd.org/changeset/base/312679 [...] On Wed, 2017-02-15 at 10:31 +0000, Yoshiro MIHIRA wrote: > Hi. > Ian > > Thank you for your strong effort to support imx6 board. > > I have SolidRun HummingBoard-i2(imx6dl-hummingboard). > > I have reboot issue(never reset after reboot) and if I use Linux, I > reproduce this issue So I reported this issue to SolidRun Forum. > http://forum.solid-run.com/linux-on-cubox-i-and-hummingboard-f8/need- > to-push-reset-button-to-reboot-linux-system-t3122.html > But I could not get any information. > > I tested latest kernel(r313280) unfortunately it was not solved. > > Do you know other information about reset issue, please let me know. > > Currently I need to push reset button when I restart system... > > Yours > Yoshiro MIHIRA >
[adding arm@ list] Are you set up to build and test a custom kernel? If so, try applying the patch I'm attaching to this mail and let me know if it helps. This turns on a bit in the control register that is described in the manual as "use a new more robust method to generate a software reset" (if it's better, I wonder why they didn't make it the hardware default?). -- Ian
Index: imx_machdep.c =================================================================== --- imx_machdep.c (revision 313569) +++ imx_machdep.c (working copy) @@ -78,6 +78,7 @@ imx_wdog_cpu_reset(vm_offset_t wdcr_physaddr) if ((pcr = devmap_ptov(wdcr_physaddr, sizeof(*pcr))) == NULL) { printf("cpu_reset() can't find its control register... locking up now."); } else { + *pcr |= 1 << 6; *pcr &= ~WDOG_CR_SRS; *pcr &= ~WDOG_CR_SRS; *pcr &= ~WDOG_CR_SRS;
_______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"