FWUpdate for SL5011 in Linux


#1

Hi,

while doing Firmware Update for SL5011 in Linux, the control of the terminal is lost, in whatever the way i have logged in ( Minicom, telnet ). The only way to regain the terminal is to restart the board. There is no other process which uses ttyUSB0.

root@dm814x-evm:/tmp/FWU# ./FWUpdaterCDMAarm9
Feature Status Cur Ver New Ver
FW Ready 1.02.00 1.05.03
PRL Ready 60671 60780
EFS Ready n/a n/a
PRI Ready 002.019 022.005
SWoC N/A n/a

Do you wish to continue with FW Update? (y/n) y

FW Updater Start Time: 12.09.2011 18:25:45
Starting FWUpdater Download …
ROOT CWE FW Download Started
.usb 2-1: USB disconnect, address 2
sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
sierra ttyUSB2: Sierra USB modem converter now disconnected from ttyUSB2
sierra ttyUSB3: Sierra USB modem converter now disconnected from ttyUSB3
sierra 2-1:1.0: device disconnected
usb 2-1: new full speed USB device using musb-hdrc and address 3
usb 2-1: New USB device found, idVendor=1199, idProduct=0300
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
usb 2-1: Product: Sierra Wireless Device
usb 2-1: Manufacturer: Sierra Wireless, Incorporated
usb 2-1: SerialNumber: 4Vx«Íïÿÿÿÿ
sierra 2-1:1.0: Sierra USB modem converter detected
usb 2-1: Sierra USB modem converter now attached to ttyUSB0
usb 2-1: Sierra USB modem converter now attached to ttyUSB1
usb 2-1: Sierra USB modem converter now attached to ttyUSB2
usb 2-1: Sierra USB modem converter now attached to ttyUSB3


#2

Can you please share the exact driver and SDK version that you are using at your end. Also, enable the sdk debug logs and share the syslog during the execution of the SwiFWUpdater sample application


#3

Hi,

After the terminal control is lost, am not able to take any logs and since the firmware update is performed /tmp directory, after the system reboot the directory is emptied.

I am using the Linux SDK Version 1.4.0.5.

Please find below the firmware update log.

Feature Status Cur Ver New Ver
FW Ready 1.02.00 1.05.03
PRL Ready 60671 60780
EFS Ready n/a n/a
PRI Ready 002.019 022.005
SWoC N/A n/a

Do you wish to continue with FW Update? (y/n) y

FW Updater Start Time: 12.12.2011 15:26:24
Starting FWUpdater Download …
ROOT CWE FW Download Started
.[ 219.540000] usb 2-1.1: USB disconnect, address 8
[ 219.540000] sierra ttyUSB1: resubmit read urb failed.(-19)
[ 219.550000] sierra ttyUSB1: resubmit read urb failed.(-19)
[ 219.550000] sierra ttyUSB1: resubmit read urb failed.(-19)
[ 219.560000] sierra ttyUSB1: resubmit read urb failed.(-19)
[ 219.570000] sierra ttyUSB0: Sierra USB modem converter now disconnected from ttyUSB0
[ 219.580000] sierra ttyUSB1: Sierra USB modem converter now disconnected from ttyUSB1
[ 219.580000] sierra ttyUSB2: Sierra USB modem converter now disconnected from ttyUSB2
[ 219.590000] sierra ttyUSB3: Sierra USB modem converter now disconnected from ttyUSB3
[ 219.600000] sierra 2-1.1:1.0: device disconnected
[ 220.800000] usb 2-1.1: new full speed USB device using musb-hdrc and address 9
[ 220.910000] usb 2-1.1: New USB device found, idVendor=1199, idProduct=0300
[ 220.910000] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[ 220.920000] usb 2-1.1: Product: Sierra Wireless Device
[ 220.930000] usb 2-1.1: Manufacturer: Sierra Wireless, Incorporated
[ 220.930000] usb 2-1.1: SerialNumber: 4Vx�Ð�«�Í�ï�ÿ�ÿ�ÿ�ÿ
[ 220.950000] sierra 2-1.1:1.0: Sierra USB modem converter detected
[ 220.950000] usb 2-1.1: Sierra USB modem converter now attached to ttyUSB0
[ 220.960000] usb 2-1.1: Sierra USB modem converter now attached to ttyUSB1
[ 220.970000] usb 2-1.1: Sierra USB modem converter now attached to ttyUSB2
[ 220.980000] usb 2-1.1: Sierra USB modem converter now attached to ttyUSB3
[ 360.950000] INFO: task swisdk:1221 blocked for more than 120 seconds.
[ 360.950000] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 360.960000] swisdk D c03b8308 0 1221 1215 0x00000001
[ 360.970000] Backtrace:
[ 360.970000] [] (schedule+0x0/0x330) from [] (schedule_timeout+0x20/0x1b4)
[ 360.980000] [] (schedule_timeout+0x0/0x1b4) from [] (wait_for_common+0xd0/0x164)
[ 360.990000] r7:7fffffff r6:c6d43e3c r5:c6cfb800 r4:c6d43de0
[ 360.990000] [] (wait_for_common+0x0/0x164) from [] (wait_for_completion+0x18/0x1c)
[ 361.000000] [] (wait_for_completion+0x0/0x1c) from [] (flush_work+0x30/0x3c)
[ 361.010000] [] (flush_work+0x0/0x3c) from [] (flush_delayed_work+0x40/0x44)
[ 361.020000] r4:c7ad68d8
[ 361.020000] [] (flush_delayed_work+0x0/0x44) from [] (tty_flush_to_ldisc+0x14/0x18)
[ 361.030000] r5:c6c1df00 r4:c6cfb800
[ 361.040000] [] (tty_flush_to_ldisc+0x0/0x18) from [] (n_tty_read+0x320/0x684)
[ 361.050000] [] (n_tty_read+0x0/0x684) from [] (tty_read+0x8c/0xd4)
[ 361.060000] [] (tty_read+0x0/0xd4) from [] (vfs_read+0xb8/0x144)
[ 361.060000] [] (vfs_read+0x0/0x144) from [] (sys_read+0x44/0x70)
[ 361.070000] r8:000e9da4 r7:00001000 r6:c6c1df00 r5:00000000 r4:00000000
[ 361.080000] [] (sys_read+0x0/0x70) from [] (ret_fast_syscall+0x0/0x30)
[ 361.090000] r8:c0047dfc r7:00000003 r6:00000000 r5:00000007 r4:bddffbe0
[ 481.100000] INFO: task telnetd:1126 blocked for more than 120 seconds.
[ 481.100000] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 481.110000] telnetd D c03b8308 0 1126 1 0x00000000
[ 481.120000] Backtrace:
[ 481.120000] [] (schedule+0x0/0x330) from [] (schedule_timeout+0x20/0x1b4)
[ 481.130000] [<c00] r7:7fffffff r6:c6cd1f34 r5:c6cfa300 r4:c6cd1ed8
[ 481.140000] [] (wait_for_common+0x0/0x164) from [<c03b801150000] [] (wait_for_completion+0x0/0x1c) from [] (do_fork+0x278/0x2c4)
[ 481.160000] [] (do_fork+0x0/0x2c4) from [] (sys_vfork+0x34/0x3c)
[ 481.170000] [] (sys_vfork+0x0/0x3c) from [] (ret_fast_syscall+0x0/0x30)
[ 481.180000] INFO: task swisdk:1214 blocked for more than 120 seconds.
[ 481.190000] “echo 0 > /proc/sys/kernel/hung_task_timeo[ 481.200000] Backtrace:
[ 481.200000] [] (schedule+0x0/0x330) from [] (exit_mm+0xa4/0x144)
[ 481.[] (do_exit+0x1cc/0x60c)
[ 481.220000] r7:00000006 r6:c7b39500 r5:c644dee0 r4:00000006
[ 481.230000] [] (do_exit+0x0/0x60c) from [] (do_group_exit+0x98/0xc8)
[ 481.230000] [] (do_group_exit+0x0/0xc8) from [] (get_signal_to_deliver+0x2f0/0x32c)
[ 481.240000] r7:c7aa7ec4 r6:c644c000 r5:c644dee0 r4:00000009
[ 481.250000] [] (get_signal_to_delivtify_resume+0x0/0x650) from [] (work_pending+0x24/0x28)
[ 481.270000] INFO: task swisdk:1215 blocked for more thc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 481.280000] swisdk D c03b8308 0 1215 1214 0x00000000
[ 481.290000] Backtrace:
[ 481.290000] [] (schedule+0x0/0x330) from [] (exit_mm+0xa4/0x144)
[ 481.300000] [] (exit_mm+0x0/0x144) from [] (do_exit+0x1cc/0x60c)
[ 481.310000] r7:00000006 r6:c7b38900 r5:c6f75ee0 r4:00000006
[ 481] (do_group_exit+0x0/0xc8) from [] (get_signal_to_deliver+0x2f0/0x32c)
[ 481.330000] r7:c7aa7ec4 r6:c0] [] (get_signal_to_deliver+0x0/0x32c) from [] (do_notify_resume+0x64/0x650)
[ 481.350000] [] (do_notify_resume+0x0/0x650) from [] (work_pending+0x24/0x28)
[ 481.360000] INFO: task swisdk:1216 blocked for more than 120 seconds.
[ 481.370000] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 481.370000] swisdk D c03b8308 0 1216 rom [] (exit_mm+0xa4/0x144)
[ 481.390000] [] (exit_mm+0x0/0x144) from [] (do_exit+0x1cc/0x60:c6fc3ee0 r4:00000006
[ 481.410000] [] (do_exit+0x0/0x60c) from [] (do_group_exit+0x98/0xc8)
[ 481.410000] [] (do_group_exit+0x0/0xc8) from [] (get_signal_to_deliver+0x2f0/0x32c)
[ 481.420000] r7:c7aa7ec4 r6:c6fc2000 r5:c6fc3ee0 r4:00000009
[ 481.430000] [] (get_signal_to_deliver+0x0/0x32c) from [] (do_notify_resume+0x64/0x650)
[ 481.44000] INFO: task swisdk:1217 blocked for more than 120 seconds.
[ 481.460000] "echo 0 > /proc/sys/kernel/hung_task_timeout_isdk D c03b8308 0 1217 1215 0x00000000
[ 481.470000] Backtrace:
[ 481.470000] [] (schedule+0x0/0x330) from [] (exit_mm+0xa4/0x144)
[ 481.480000] [] (exit_mm+0x0/0x144) from [] (do_exit+0x1cc/0x60c)
[ 481.490000] r7:00000006 r6:c6cfaf00 r5:c7babee0 r4:00000006
[ 481.500000] [] (do_exit+0x0/0x60c) from [] (do_group_exit+0xx2f0/0x32c)
[ 481.510000] r7:c7aa7ec4 r6:c7baa000 r5:c7babeesume+0x64/0x650)
[ 481.530000] [] (do_notify_resuor more than 120 seconds.
[ 481.550000] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 481.550000] swisdk D c03b8308 0 1218 1215 0x00100000
[ 481.560000] Backtrace:
[ 481.560000] [] (schedule+0x0/0x330) from [] (exit_mm+0xa4/0x144)
[ 481.570000] [] (exit_mm+0x0/0x144) from [] (do_exit+0x1cc/0x60c)
[ 481.58000] (do_group_exit+0x98/0xc8)
[ 481.590000] [] (do_group_exit+0x0/0xc8) from [] (get_signal_toc4 r6:c6caa000 r5:c6cabee0 r4:00000009
[ 481.610000] [] (get_signal_to_deliver+0x0/0x32c) from [] (do_004a1c8>] (do_notify_resume+0x0/0x650) from [] (work_pending+0x24/0x28)
[ 481.630000] INFO: task swisdk:1219 blo0] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 481.640000] swisdk D c03b8308 0 1219 1215 0x00000000
[ 481.650000] Backtrace:
[ 481.650000] [] (schedule+0x0/0x330) from [] (exit_mm+0xa4/0x144)
[ 481.660000] [] (exit_mm+0x0/0x144) from [] (do_exit+0x1cc/0x60c)
[ 481.670000] r7:00000006 r6:c6cfbb00 r5:c6d99ee0 r4:[ 481.680000] [] (do_group_exit+0x0/0xc8) from [] (get_signal_to_deliver+0x2f0/0x32c)
[ 481.690000] 9
[ 481.700000] [] (get_signal_to_deliver+0x0/0x32c) from [] (do_notify_resume+0x64/0x650)
[ 481.710from [] (work_pending+0x24/0x28)
[ 481.720000] INFO: task swisdk:1220 blocked for more than 120 seconds.
[ 481.730000] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 481.740000] swisdk D c03b8308 0 1220 1215 0x00000000
[ 481.740000] Backtrace:
[ 481.740000] [] (schedule+0x0/0x330) from [] (schedule_timeout+0x20/0x1b4)
[ 481.760000] r7:7fffffff r6:c6f57e14 r5:c6cfac00 r4:c6f57d98
[ 481.770000] [] (wait_for_common+0x0/0x164) from81.780000] [] (wait_for_completion+0x0/0x1c) from [] (do_coredump+0x254/0x90c)
[ 481.790000] [<c00cef0] (get_signal_to_deliver+0x2e8/0x32c)
[ 481.800000] [] (get_signal_to_deliver+0x0/0x32c) from [] (do_n004a1c8>] (do_notify_resume+0x0/0x650) from [] (work_pending+0x24/0x28)
[ 481.820000] INFO: task swisdk:1221 blocked for more than 120 seconds.
[ 481.820000] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 481.830000] swisdk D c03b8308 0 1221 1215 0x00000001
[ 481.840000] Backtrace:
[ 481.840000] [] (schedule+0x0/0x330) from []e0>] (wait_for_common+0xd0/0x164)
[ 481.860000] r7:7fffffff r6:c6d43e3c r5:c6cfb800 r4:c6d43de0
[ 481.870000] [] (wait_for_completion+0x18/0x1c)
[ 481.880000] [] (wait_for_completion+0x0/0x1c) from [] (flush_wosh_work+0x0/0x3c) from [] (flush_delayed_work+0x40/0x44)
[ 481.890000] r4:c7ad68d8
[ 481.900000] []] (tty_flush_to_ldisc+0x14/0x18)
[ 481.910000] r5:c6c1df00 r4:c6cfb800
[ 481.910000] [] (tty_flush_to_ldisc+0x0/0x18) from [] (n_tty_read+0x320/0x684)
[ 481.920000] [] (n_tty_read+0x0/0x684) from [] (tty_read+0x8c/0xd4)
[ 481.930000] [] (tty_read+0x0/0xd4) from [] (vfs_read+0xb8/0x144)
[ 481.940000] [] (vfs_read+0x0/0x144) from [<:00000000
[ 481.950000] [] (sys_read+0x0/0x70) from [] (ret_fast_syscall+0x0/0x30)
[ 481.960000] r8007 r4:bddffbe0


#4

Hi,

Can you try with a different directory (other than tmp) to capture the logs?

Regards,
Rex