Wind River Support Network

HomeDefectsLIN5-18614
Fixed

LIN5-18614 : /etc/init.d/galileo-reset.sh need to be updated

Created: Apr 27, 2014    Updated: Dec 19, 2017
Resolved Date: May 21, 2014
Found In Version: 5.0.1.3
Fix Version: 5.0.1.15
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: BSP - Async
Host OS: Linux Ubuntu
Architecture: IA32

Description

try to execute the script /etc/init.d/galileo-reset.sh and failed.
the two lines need to be update:

1) /opt/cln/galileo/galileo_sketch_reset_script -v
    could not find /opt/cln/galileo/galileo_sketch_reset_script 
2) usleep 200000
    command not found

root@localhost:~# cat /etc/init.d/galileo-reset.sh
#!/bin/sh
tty=/dev/ttyS1
pdat=/sys/class/dmi/id/board_name
fabdid=Galileo

main()
{
    [ -f "$pdat" ] || die "$pdat doesn't exist"
    [[ $fabdid == `cat $pdat` ]] || die "not fabd"

    while true; do
     /opt/cln/galileo/galileo_sketch_reset_script -v

        usleep 200000
    done & exit 0
}

die()
{
    [ -c "$tty" ] && echo "exiting: $@" > $tty
    exit 1
}

main "$@"

Steps to Reproduce

1) build an KTS project 
/idp-dvds/lx05a.12sp-50113_id03.14sp-201-xt/wrlinux-5/wrlinux/configure    --enable-jobs=12 --enable-parallel-pkgbuilds=12    --enable-kernel=standard --enable-rootfs=glibc-std --enable-board=intel-quark --with-template=feature/intel-wilkinpeak2 --with-layer=wr-intel-support,/wr-test_layer/wr-testing/kts

2) deploy the image to USB and select "USB+Rootfs" boot way

3) sh /etc/init.d/galileo-reset.sh

Other Downloads


Live chat
Online