Latest Post
Mango-i.MX6q Watchdog 검증 방법

 

"arch/arm/boot/dts/imx6qdl-sabresd.dtsi"

추가 했습니다.

&gpc {

        fsl,cpu_pupscr_sw2iso = <0xf>;

        fsl,cpu_pupscr_sw = <0xf>;

        fsl,cpu_pdnscr_iso2sw = <0x1>;

        fsl,cpu_pdnscr_iso = <0x1>;

        fsl,ldo-bypass = <1>; /* use ldo-bypass, u-boot will check it and configure */

        fsl,wdog-reset = <1>; /* crazyboys 20160225 watchdog select of reset source */

        pu-supply = <&reg_pu>; /* ldo-bypass:use pu_dummy if VDDSOC share with VDDPU */

};

 

&wdog1 {

        status = "okay";

};

 

 

 

커널 configuration

 

CONFIG_WATCHDOG=y

CONFIG_WATCHDOG_CORE=y

CONFIG_WATCHDOG_NOWAYOUT=y

CONFIG_IMX2_WDT=y

 

부팅 후

 

[root@localhost~]# ls /dev/watchdog

/dev/watchdog

 

 


* watchdog 동작 확인 방법입니다.

1. cat > /dev/watchdog

2. Hit return once

3. Wait 60 seconds

4. Wachdog reset.

 

 

다시 부팅 시 u-boot로그에 watchdog로 리셋 된다고 메시지 출력됨

 

U-Boot2014.04-08648-g9d7bf9b-dirty (Jan 20 2016 - 17:47:14)

 

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz

CPU:   Temperature 38 C, calibration data:0x56f4db69

Resetcause: WDOG

Board:MX6-SabreSD

I2C:   ready

DRAM:  2 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

Display:Mango-AT070 (800x480)

In:    serial

Out:   serial

Err:   serial

mmc2 iscurrent device

unsupportedboot devices

check_and_clean:reg 0, flag_set 0

Fastboot:Normal

flashtarget is MMC:2

Badpartition index:5 for partition:system

Net:   FEC [PRIME]

NormalBoot

Hit anykey to stop autoboot:  0

Comments 0
:    :    :
이름 / 2014-11-20 / ★★★☆☆ [수정 / 삭제]

내용

Recent Comments
일방통행  |  ★★★★★
ISE 14.7 virtualbox를 설치했는데, ,iMPACT가 인식을 못하는데, 어케해야하나요?
min  |  ★★★★☆
These are the only Drives available to write images to: # major minor size name 1: 8 0 512805384 sda 2: 8 16 15558144 sdb Enter Device Number or n to exit: 2 Invalid selection! 왜 이런 오류가 나는 걸까요?
dino  |  ★★☆☆☆
NAND Scrub실행 후 에러가 나타납니다/ 조치방법을 알려주세요 에러내용 crz nand_erase_opts erase.addr=0x0, opt->offset=0x0, erase_ieng minfo_erases=0x20000 .....진행후 s3c-nand:ecc uncorrectable error detected---4개발생합니다 빠른 회신부탁드립니다 연락처:010-3752-6251 강희진
bluewind  |  ★★★★★
안녕하세요..구입했는데..회로도 부탁드립니다. percephy@naver.com 입니다.
조형철  |  ★★★★★
상기 Backlight 관련 회로를 구할 수 있을까요?
hwang  |  ★★★★★
구입한지 조금 됬는데 회로도 부탁합니다. rubens7777@paran.com 입니다.