|
2010-04-27
, 01:31
|
|
Posts: 549 |
Thanked: 502 times |
Joined on Feb 2008
@ Bowling Green Ohio (united states)
|
#12
|
On n800 or n900
I would like to try getting this working on my n900 also
The Following User Says Thank You to b-man For This Useful Post: | ||
|
2010-04-27
, 02:16
|
Posts: 79 |
Thanked: 11 times |
Joined on Oct 2009
@ Norway
|
#13
|
|
2010-04-27
, 05:30
|
Posts: 255 |
Thanked: 61 times |
Joined on Feb 2010
|
#14
|
|
2010-04-28
, 01:39
|
|
Posts: 204 |
Thanked: 75 times |
Joined on Jan 2010
@ Norway
|
#15
|
Btw, here is my highly modified /etc/init.d/n900_wd script that is supposed to launch the watchdog daemon; do any of you that are good at init scripts/runlevels see a fault in this?
heres my runlevle setup:Code:#!/bin/sh #/etc/init.d/n900_wd: start rx51 hw watchdog service. ### BEGIN INIT INFO # Provides: n900_wd # Short-Description: Start rx51 hw watchdog service. # Required-Start: $remote_fs # Required-Stop: $remote_fs # X-Start-Before: $all # Default-Start: 2 3 4 5 # Default-Stop: ### END INIT INFO [ -x /usr/sbin/wd_keepalive ] || exit 0 RETVAL=0 PROG=wd_keepalive PIDFILE=/var/run/wd_keepalive.pid LOCKFILE=/var/lock/subsys/n900_wd return_failure(){ echo -n "Starting ${0} failed" } return_sucsess(){ echo -n "Starting ${0} sucseeded" } start(){ echo -n "Starting ${PROG}..." /usr/sbin/${PROG} -c /etc/watchdog-omap.conf RETVAL=$? [ ${RETVAL} -ne 0 ] && (return_failure; echo; exit ${RETVAL}) /usr/sbin/${PROG} -c /etc/watchdog-twl4030.conf RETVAL=$? [ ${RETVAL} -eq 0 ] && touch ${LOCKFILE} [ ${RETVAL} -eq 0 ] && return_sucsess [ ${RETVAL} -ne 0 ] && return_failure echo exit ${RETVAL} } stop(){ rm -rf ${LOCKFILE} ${PIDFILE} } restart(){ stop start } case ${1} in start) start ;; stop) stop ;; restart) restart ;; *) echo "Usage: ${0} {start|stop|restart}" exit 1 ;; esac
/etc/watchdog-twl4030.conf:Code:update-rc.d n900_wd start 09 2 3 4 5 .
/etc/watchdog-omap.conf:Code:watchdog-device = /dev/twl4030_wdt interval = 10 realtime = yes priority = 1
Code:watchdog-device = /dev/watchdog interval = 10 realtime = yes priority = 1
The Following User Says Thank You to Siggen For This Useful Post: | ||
|
2010-05-08
, 14:37
|
Posts: 4 |
Thanked: 2 times |
Joined on Oct 2009
|
#16
|
|
2010-05-08
, 19:33
|
|
Posts: 549 |
Thanked: 502 times |
Joined on Feb 2008
@ Bowling Green Ohio (united states)
|
#17
|
The Following User Says Thank You to b-man For This Useful Post: | ||
|
2010-05-08
, 21:52
|
Posts: 71 |
Thanked: 19 times |
Joined on Dec 2009
|
#18
|
i permanently bricked my N800 while experimenting with these components - accidentally wiped both the x-loader and nolo (1st and 2nd bootloader) turning it into a paperweight
|
2010-05-09
, 01:05
|
Posts: 71 |
Thanked: 19 times |
Joined on Dec 2009
|
#19
|
Depending on user button OMAP3 on BeagleBoard uses different boot order. Normal order if user button isn't pressed at power up is boot from
NAND -> USB -> UART -> MMC
press user button at power up to switch boot order to
USB -> UART -> MMC -> NAND
|
2010-05-21
, 07:11
|
Posts: 255 |
Thanked: 61 times |
Joined on Feb 2010
|
#20
|
I would like to try getting this working on my n900 also