AnsweredAssumed Answered

OTA update failed!!

Question asked by Gaurav Kapoor on Dec 8, 2013

Hi, I'm using Freescale OTA update app and it is pointing my local server. It download the data, verify the package but after reboot device is not powered up means you have to manually restart it and its not doing any up-gradation to the system image. Please refer the following error log

 

Log From Serial Port:

 

SysRq : Emergency Remount R/O

EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)

EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)

Emergency Remount complete

cfg80211_rtw_get_station, mac=28:c6:8e:d7:31:82

Restarting system with command 'recovery'.

 

 

 

 

U-Boot 2009.08-dirty (Aug 12 2013 - 10:59:54)

 

 

CPU: Freescale i.MX6 family TO1.1 at 792 MHz

Temperature:   55 C, calibration data 0x58d4fb69

mx6q pll1: 792MHz

mx6q pll2: 528MHz

mx6q pll3: 480MHz

mx6q pll8: 50MHz

ipg clock    0: 66000000Hz

ipg per clock : 66000000Hz

uart clock    : 80000000Hz

cspi clock    : 60000000Hz

ahb clock  0  : 132000000Hz

axi clock  0: 198000000Hz

emi_slow clock: 22000000Hz

ddr clock     : 396000000Hz

usdhc1 clock  : 198000000Hz

usdhc2 clock  : 198000000Hz

usdhc3 clock  : 198000000Hz

usdhc4 clock  : 198000000Hz

nfc clock     : 24000000Hz

Board: i.MX6DL/Solo-SABRESD: unknown-board Board: 0x61011 [WDOG ]

Boot Device: MMC

I2C:   ready

DRAM:   1 GB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3

In:    serial

Out:   serial

Err:  0serial

Net:   got MAC address from IIM: 00:00:00:00:00:00

FEC0 [PRIME]

Hit any key to stop autoboot:  0

kernel   @ 10808000 (4144340)

ramdisk  ` 11800 000(167833)

kernel cmdline:

        use uboot command line:

        console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=400M init=/in

it video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 ldb=sin0

 

 

Starting kernel ...

 

 

Uncompressing Linux... done, booting the kernel.

Initializing cgroup subsys cpuset

Initializing cgroup subsys cpu

Linux version 3.0.35 (root@ubuntu) (gcc version 4.4.3 (GCC) ) #3 SMP PREEMPT0Sun

Dec 8 15:36:34 IST 2013

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board

Ignoring unrecognised tag 0x54410008

Memory policy: ECC disabled, Data cache writealloc

CPU identified as i.MX6DL/SOLO, silicon rev 1.1

PERCPU: Embedded 7 pages/cpu @c1153000 s5760 r8192 d14720 u32768

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 210944

Kernel command line: console=ttymxc0,115200 androidboot.console=ttymxc0 vmalloc=

400M init=/init video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 ldb=sin0

PID hash table entries: 2048 (order: 1, 8192 bytes)

Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

Memory: 576MB 256MB = 832MB0total

Memory: 833636k/833636k available, 214940k reserved, 442368K highmem

Virtual kernel memory layout:

    vector  : 0xffff0000 -00xffff1000   (  040kB)

  00fixmap  : 0xfff00000 - 0xfffe0000 00( 896 kB)

   0DMA     : 0xfbe00000 - 0xffe00000000( 0640MB)

    vmalloc : 0xd9800000 - 0xf2000000   ( 392 MB)

    lowmem  : 0xc0000000 - 0xd9000000   (0400MB)

  00pkmap 00: 0xbfe00000 - 0xc0000000008( 0 20MB)

88 modules : 0xbf000000 -00xbfe00000   (  14MB)

      .init : 0xc00080000- 0xc003f000   ( 220 kB)

0(8 0 .text : 0xc003f000 -00xc07ad830   (7611 kB)

    0 .data : 0xc07ae000 -00xc081a820   (04350kB)

000 0.bss : 0xc081a844 - 0xc09492f0   (1211 kB)

Preemptible hierarchical RCU implementation.

NR_IRQS:496

MXC GPIO hardware

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms

Set periph_clk's parent to pll2_pfd_400M!

MXC_Early serial console at MMIO 0x20200000(options '115200')

bootconsole [ttymxc0] enabled

Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

Initializing cgroup subsys cpuacct

CPU: Testing write buffer coherency: ok

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available

Brought up 1 CPUs

SMP: Total of 1 processors activated (1581.05 BogoMIPS).

print_constraints: dummy:

NET: Registered protocol family 16

print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal

print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal

print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal

print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal

print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal

print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal

hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.

hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.

hw-breakpoint: maximum watchpoint size is 4 bytes.

L310 cache controller enabled

l2x0: 16 ways, CACHE_ID 0x410000c8,0AUX_CTRL 0x02050000, Cache size: 524288 B

IMX usb wakeup probe

bio: create slab <bio-0> at 0

reg-fixed-voltage reg-fixed-voltage.4: using GPIO 0 for regulator enable control

 

 

DDMS log

 

12-08 09:26:03.088: W/RecoverySystem(2640): !!! REBOOTING TO INSTALL /cache/update.zip !!!

12-08 09:26:03.088: D/ShutdownThread(2228): Notifying thread to start shutdown longPressBehavior=2

12-08 09:26:03.128: I/ShutdownThread(2228): Sending shutdown broadcast...

12-08 09:26:03.128: W/SyncManager(2228): Writing sync state before shutdown...

12-08 09:26:03.188: W/ActivityManager(2228): finishReceiver called but no pending broadcasts

12-08 09:26:03.208: I/ShutdownThread(2228): Shutting down activity manager...

12-08 09:26:03.268: D/dalvikvm(2228): GC_CONCURRENT freed 319K, 8% free 8719K/9415K, paused 3ms+4ms

12-08 09:26:03.308: D/dalvikvm(2228): GC_FOR_ALLOC freed 54K, 8% free 8665K/9415K, paused 30ms

12-08 09:26:03.308: I/dalvikvm-heap(2228): Grow heap (frag case) to 8.696MB for 162856-byte allocation

12-08 09:26:03.358: D/dalvikvm(2228): GC_FOR_ALLOC freed <1K, 9% free 8824K/9607K, paused 28ms

12-08 09:26:03.378: D/OTA(2640): OTAAppActivity : onPause

12-08 09:26:03.388: D/OTA(2640): OTAAppActivity : onStop

12-08 09:26:03.398: I/UsageStats(2228): Writing usage stats before shutdown...

12-08 09:26:03.418: W/BatteryStats(2228): Writing battery stats before shutdown...

12-08 09:26:03.438: I/dalvikvm(2228): Jit: resizing JitTable from 4096 to 8192

12-08 09:26:03.458: I/wpa_supplicant(2360): [CTRL_IFACE]SIGNAL_POLL

12-08 09:26:03.468: I/ShutdownThread(2228): Waiting for Bluetooth and Radio...

12-08 09:26:03.468: I/ShutdownThread(2228): Radio and Bluetooth shutdown complete.

12-08 09:26:03.468: I/ShutdownThread(2228): Shutting down MountService

12-08 09:26:03.468: W/ShutdownThread(2228): Result code 0 from MountService.shutdown

12-08 09:26:03.468: W/ShutdownThread(2228): Result code 0 from MountService.shutdown

12-08 09:26:03.468: I/PackageManager(2228): Updating external media status from mounted to unmounted

12-08 09:26:03.468: I/ShutdownThread(2228): Rebooting, reason: recovery

12-08 09:26:03.468: I/PackageManager(2228): No secure containers on sdcard

12-08 09:26:03.468: I/MountService(2228): Shutting down

12-08 09:26:03.468: D/VoldCmdListener(2099): asec list

12-08 09:26:03.558: A/PackageManager(2228): Unable to write package manager settings, current changes will be lost at reboot

12-08 09:26:03.558: A/PackageManager(2228): java.io.FileNotFoundException: /data/system/packages.list.tmp: open failed: EROFS (Read-only file system)

12-08 09:26:03.558: A/PackageManager(2228): at libcore.io.IoBridge.open(IoBridge.java:406)

12-08 09:26:03.558: A/PackageManager(2228): at java.io.FileOutputStream.<init>(FileOutputStream.java:88)

12-08 09:26:03.558: A/PackageManager(2228): at java.io.FileOutputStream.<init>(FileOutputStream.java:73)

12-08 09:26:03.558: A/PackageManager(2228): at com.android.server.pm.Settings.writeLPr(Settings.java:963)

12-08 09:26:03.558: A/PackageManager(2228): at com.android.server.pm.PackageManagerService.unloadMediaPackages(PackageManagerService.java:8387)

12-08 09:26:03.558: A/PackageManager(2228): at com.android.server.pm.PackageManagerService.updateExternalMediaStatusInner(PackageManagerService.java:8212)

12-08 09:26:03.558: A/PackageManager(2228): at com.android.server.pm.PackageManagerService.access$3400(PackageManagerService.java:152)

12-08 09:26:03.558: A/PackageManager(2228): at com.android.server.pm.PackageManagerService$11.run(PackageManagerService.java:8124)

12-08 09:26:03.558: A/PackageManager(2228): at android.os.Handler.handleCallback(Handler.java:605)

12-08 09:26:03.558: A/PackageManager(2228): at android.os.Handler.dispatchMessage(Handler.java:92)

12-08 09:26:03.558: A/PackageManager(2228): at android.os.Looper.loop(Looper.java:137)

12-08 09:26:03.558: A/PackageManager(2228): at android.os.HandlerThread.run(HandlerThread.java:60)

12-08 09:26:03.558: A/PackageManager(2228): Caused by: libcore.io.ErrnoException: open failed: EROFS (Read-only file system)

12-08 09:26:03.558: A/PackageManager(2228): at libcore.io.Posix.open(Native Method)

12-08 09:26:03.558: A/PackageManager(2228): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)

12-08 09:26:03.558: A/PackageManager(2228): at libcore.io.IoBridge.open(IoBridge.java:390)

12-08 09:26:03.558: A/PackageManager(2228): ... 11 more

12-08 09:26:03.578: A/PackageManager(2228): Failed to clean up mangled file: /data/system/packages.xml

12-08 09:26:03.578: E/DropBoxManagerService(2228): Can't write: system_server_wtf

12-08 09:26:03.578: E/DropBoxManagerService(2228): java.io.FileNotFoundException: /data/system/dropbox/drop20.tmp: open failed: EROFS (Read-only file system)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at libcore.io.IoBridge.open(IoBridge.java:406)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at java.io.FileOutputStream.<init>(FileOutputStream.java:88)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at java.io.FileOutputStream.<init>(FileOutputStream.java:73)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:193)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at android.os.DropBoxManager.addText(DropBoxManager.java:272)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.am.ActivityManagerService$11.run(ActivityManagerService.java:7704)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:7709)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.am.ActivityManagerService.handleApplicationWtf(ActivityManagerService.java:7522)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:345)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at android.util.Log$1.onTerribleFailure(Log.java:103)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at android.util.Log.wtf(Log.java:278)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.pm.Settings.writeLPr(Settings.java:1022)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService.unloadMediaPackages(PackageManagerService.java:8387)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService.updateExternalMediaStatusInner(PackageManagerService.java:8212)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService.access$3400(PackageManagerService.java:152)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService$11.run(PackageManagerService.java:8124)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at android.os.Handler.handleCallback(Handler.java:605)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at android.os.Handler.dispatchMessage(Handler.java:92)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at android.os.Looper.loop(Looper.java:137)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at android.os.HandlerThread.run(HandlerThread.java:60)

12-08 09:26:03.578: E/DropBoxManagerService(2228): Caused by: libcore.io.ErrnoException: open failed: EROFS (Read-only file system)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at libcore.io.Posix.open(Native Method)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)

12-08 09:26:03.578: E/DropBoxManagerService(2228): at libcore.io.IoBridge.open(IoBridge.java:390)

12-08 09:26:03.578: E/DropBoxManagerService(2228): ... 19 more

12-08 09:26:03.588: E/DropBoxManagerService(2228): Can't write: system_server_wtf

12-08 09:26:03.588: E/DropBoxManagerService(2228): java.io.FileNotFoundException: /data/system/dropbox/drop20.tmp: open failed: EROFS (Read-only file system)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at libcore.io.IoBridge.open(IoBridge.java:406)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at java.io.FileOutputStream.<init>(FileOutputStream.java:88)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at java.io.FileOutputStream.<init>(FileOutputStream.java:73)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.DropBoxManagerService.add(DropBoxManagerService.java:193)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.os.DropBoxManager.addText(DropBoxManager.java:272)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.am.ActivityManagerService$11.run(ActivityManagerService.java:7704)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.am.ActivityManagerService.addErrorToDropBox(ActivityManagerService.java:7709)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.am.ActivityManagerService.handleApplicationWtf(ActivityManagerService.java:7522)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:345)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.util.Log$1.onTerribleFailure(Log.java:103)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.util.Log.wtf(Log.java:278)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.util.Log.wtf(Log.java:255)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.pm.Settings.writeLPr(Settings.java:1028)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService.unloadMediaPackages(PackageManagerService.java:8387)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService.updateExternalMediaStatusInner(PackageManagerService.java:8212)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService.access$3400(PackageManagerService.java:152)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at com.android.server.pm.PackageManagerService$11.run(PackageManagerService.java:8124)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.os.Handler.handleCallback(Handler.java:605)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.os.Handler.dispatchMessage(Handler.java:92)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.os.Looper.loop(Looper.java:137)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at android.os.HandlerThread.run(HandlerThread.java:60)

12-08 09:26:03.588: E/DropBoxManagerService(2228): Caused by: libcore.io.ErrnoException: open failed: EROFS (Read-only file system)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at libcore.io.Posix.open(Native Method)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)

12-08 09:26:03.588: E/DropBoxManagerService(2228): at libcore.io.IoBridge.open(IoBridge.java:390)

12-08 09:26:03.588: E/DropBoxManagerService(2228): ... 20 more

12-08 09:26:03.588: D/VoldCmdListener(2099): storage users /mnt/sdcard

: E/(): Device disconnected: 1

: E/(): Device disconnected

 

 

Thanks,

GKapoor

Outcomes