rootfs升级失败

[root@mypc:/userdata]# updateEngine –image_url=/userdata/ota-rootfs.img –savepat
h=/userdata/ota-rootfs.img –misc=update –partition=0x2[ 8520.884348] RTW: ============ STA [00:13:ef:40:03:4e] ===================
[ 8520.884392] RTW: mp2p0: STA 00:13:ef:40:03:4e IEEE 802.11: associated
ac_id : 2
[ 8520.884405] RTW: wireless_mode : 0x0b
[ 8520.884417] RTW: mimo_type : 0
[ 8520.884433] RTW: static smps : N
[ 8520.884449] RTW: bw_mode : 20MHz, ra_bw_mode : 20MHz
[ 8520.884464] RTW: rate_id : 3
[ 8520.884477] RTW: rssi : 72 (%), rssi_level : 6
[ 8520.884489] RTW: is_support_sgi : N, is_vht_enable : N
[ 8520.884504] RTW: disable_ra : N, disable_pt : N
[ 8520.884520] RTW: is_noisy : Y
[ 8520.884537] RTW: txrx_state : 2
[ 8520.884555] RTW: curr_tx_rate : MCS7 (L)
[ 8520.884568] RTW: curr_tx_bw : 20MHz
[ 8520.884584] RTW: curr_retry_ratio : 0
[ 8520.884600] RTW: ra_mask : 0x00000000000fffff
[ 8520.884600]
0000 –reboot
LOG_INFO :*** update_engine: Version V1.1.0 ***.

LOG_INFO :start RK_ota_url url [/userdata/ota-rootfs.img] save path [/userdata/ota-rootfs.img].

LOG_INFO :save image to /userdata/ota-rootfs.img.

LOG_INFO :url = /userdata/ota-rootfs.img.

LOG_INFO :Current Mode is recovery.

LOG_INFO :[MiscUpdate:58] save path: /userdata/ota-rootfs.img

LOG_INFO :[RK_ota_set_partition:90] num [16]

LOG_INFO :need update parameter.

LOG_INFO :need update rootfs.

LOG_INFO :start RK_ota_start.

LOG_INFO :rk m_status = 1.

LOG_INFO :where the file is local.

LOG_INFO :[RK_ota_set_partition:90] num [16]

LOG_DEBUG :uiTag = 57464b52.

LOG_DEBUG :usSize = 66.

LOG_DEBUG :dwVersion = 8010000.

LOG_DEBUG :btMajor = 8, btMinor = 1, usSmall = 00.

LOG_DEBUG :dwBootOffset = 66.

LOG_DEBUG :dwBootSize = 3694e.

LOG_DEBUG :dwFWOffset = 369b4.

LOG_DEBUG :dwFWSize = 2558804.

LOG_DEBUG :tag = 1178684242
LOG_DEBUG :size = 39159808
LOG_DEBUG :machine_model = RV1126
LOG_DEBUG :manufacturer = RV1126
LOG_DEBUG :version = 134283264
LOG_DEBUG :item = 4.

LOG_INFO :================================================
LOG_DEBUG :name = package-file
LOG_DEBUG :file = package-file
LOG_DEBUG :offset = 225716
LOG_DEBUG :flash_offset = -1
LOG_DEBUG :usespace = 1
LOG_DEBUG :size = 154
LOG_INFO :================================================
LOG_DEBUG :name = bootloader
LOG_DEBUG :file = Image/MiniLoaderAll.bin
LOG_DEBUG :offset = 102
LOG_DEBUG :flash_offset = -1
LOG_DEBUG :usespace = 110
LOG_DEBUG :size = 223566
LOG_INFO :================================================
LOG_DEBUG :name = parameter
LOG_DEBUG :file = Image/parameter.txt
LOG_DEBUG :offset = 453044
LOG_DEBUG :flash_offset = 0
LOG_DEBUG :usespace = 1
LOG_DEBUG :size = 502
LOG_INFO :================================================
LOG_DEBUG :name = rootfs
LOG_DEBUG :file = Image/rootfs.img
LOG_DEBUG :offset = 455092
LOG_DEBUG :flash_offset = 94208
LOG_DEBUG :usespace = 19008
LOG_DEBUG :size = 38928384

new md5:7e5d8a595e650d7e839f72f599c232d5
LOG_INFO :MD5Check is ok of /userdata/ota-rootfs.img

LOG_INFO :analyticImage ok.

LOG_INFO :found rkimage_hdr.item[2].name = parameter.

LOG_INFO :found rkimage_hdr.item[3].name = rootfs.

LOG_INFO :Now is MTD.

LOG_INFO :now write parameter to /dev/block/by-name/gpt.

LOG_INFO :ingore misc.

LOG_INFO :now write rootfs to /dev/block/by-name/rootfs.

update_cmd.flash_offset = 0.
LOG_INFO :flash_normal:188 start.

LOG_INFO :Now is MTD.

pcmd->flash_offset = 0.
LOG_INFO :mtd_write /dev/block/by-name/rootfs, offset = 0x6f1b4 size = 0x2520000 flash_offset = 0.

Erasing 128 Kibyte @ 31e0000 — 100 % complete
[ 8524.215905] SQUASHFS error: xz decompression failed, data probably corrupt
[ 8524.215937] SQUASsh: nandwrite: Input/output eHrror
FS error: squashfs_read_data failed to read block 0x22fab2c
[ 8524.215948] SQUASHFS error: Unable to read fragment caLOG_INFO :Now is MTD.

LOG_INFO :[checkdata_mtd:31] offset [0] checksize [38928384]

che entry [22fab2c]
[ 8524.215956] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.215980] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.215991] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.216005] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.216014] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.216028] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.216038] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.216054] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.216064] SQUASHFS error: Unable to read page, block 22fash: nanddump: Input/output errorb2c
, size 7d9c
[ 8524.222231] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.222272] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.222306] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.222332] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.222361] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.222387] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.222449] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.222480] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c
[ 8524.222513] SQUASHFS error: Unable to read fragment cache entry [22fab2c]
[ 8524.222539] SQUASHFS error: Unable to read page, block 22fab2c, size 7d9c

read new md5: [d41d8cd98f00b204e9800998ecf8427e]
new md5:d41d8cd98f00b204e9800998ecf8427e
LOG_INFO :MD5Check is ok of /dev/block/by-name/rootfs

new md5:a8c40e0131768f16bb663a6728485416
LOG_INFO :MD5Check is ok of /userdata/ota-rootfs.img

LOG_ERROR : MD5Check is error of /dev/block/by-name/rootfs
LOG_ERROR : check /dev/block/by-name/rootfs failed.

LOG_INFO :rk m_status = 2.

[root@G1:/userdata]# [ 8585.093031] RTW: ============ STA [00:13:ef:40:03:4e] ===================
[ 8585.093067] RTW: mp2p0: STA 00:13:ef:40:03:4e IaEEE 802.11: associated
c_id : 2
[ 8585.093080] RTW: wireless_mode : 0x0b
[ 8585.093091] RTW: mimo_type : 0
[ 8585.093107] RTW: static smps : N
[ 8585.093123] RTW: bw_mode : 20MHz, ra_bw_mode : 20MHz
[ 8585.093138] RTW: rate_id : 3
[ 8585.093154] RTW: rssi : 68 (%), rssi_level : 6
[ 8585.093168] RTW: is_support_sgi : N, is_vht_enable : N
[ 8585.093184] RTW: disable_ra : N, disable_pt : N
[ 8585.093195] RTW: is_noisy : N
[ 8585.093208] RTW: txrx_state : 2
[ 8585.093225] RTW: curr_tx_rate : MCS7 (L)
[ 8585.093239] RTW: curr_tx_bw : 20MHz
[ 8585.093255] RTW: curr_retry_ratio : 0
[ 8585.093272] RTW: ra_mask : 0x00000000000fffff
[ 8585.093272]
[ 8663.434423] RTW: ============ STA [00:13:ef:40:03:4e] ===================
[ 8663.434482] RTW: mac_id : 2
[ 8663.434500] RTW: wp2p0: STA 00:13:ef:40:03:4e IiEEE 802.11: associated
reless_mode : 0x0b
[ 8663.434515] RTW: mimo_type : 0
[ 8663.434530] RTW: static smps : N
[ 8663.434546] RTW: bw_mode : 20MHz, ra_bw_mode : 20MHz
[ 8663.434560] RTW: rate_id : 3
[ 8663.434576] RTW: rssi : 71 (%), rssi_level : 6
[ 8663.434604] RTW: is_support_sgi : N, is_vht_enable : N
[ 8663.434623] RTW: disable_ra : N, disable_pt : N
[ 8663.434639] RTW: is_noisy : Y
[ 8663.434656] RTW: txrx_state : 2
[ 8663.434674] RTW: curr_tx_rate : MCS6 (L)
[ 8663.434688] RTW: curr_tx_bw : 20MHz
[ 8663.434702] RTW: curr_retry_ratio : 100
[ 8663.434714] RTW: ra_mask : 0x00000000000fffff
[ 8663.434714]
[ 8690.274038] RTW: ============ STA [00:13:ef:40:03:4e] ===================
[ 8690.274076] RTW: mac_id : 2
[ 8690.2p2p0: STA 00:13:ef:40:03:4e IE7EE 802.11: associated
4090] RTW: wireless_mode : 0x0b
[ 8690.274100] RTW: mimo_type : 0
[ 8690.274117] RTW: static smps : N
[ 8690.274133] RTW: bw_mode : 20MHz, ra_bw_mode : 20MHz
[ 8690.274178] RTW: rate_id : 3
[ 8690.274192] RTW: rssi : 69 (%), rssi_level : 6
[ 8690.274229] RTW: is_support_sgi : N, is_vht_enable : N
[ 8690.274248] RTW: disable_ra : N, disable_pt : N
[ 8690.274259] RTW: is_noisy : Y
[ 8690.274269] RTW: txrx_state : 2
[ 8690.274283] RTW: curr_tx_rate : MCS7 (L)
[ 8690.274293] RTW: curr_tx_bw : 20MHz
[ 8690.274303] RTW: curr_retry_ratio : 0
[ 8690.274314] RTW: ra_mask : 0x00000000000fffff
[ 8690.274314]

打赏作者