qcom擦除flash

rawprogram_unsparse.xml 添加
  <!--NOTE: Sector size is 512bytes-->
+ <erase storagedrive="0"/> 
  <program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="NON-HLOS.bin"
    如果失败可以换成 
+ <erase physical_partition_number="0"/> 
具体参考 
boot_images\core\storage\tools\deviceprogrammer_ddr\src\firehose\deviceprogrammer_firehose.c
firehose_error_t handleErase() {
        if (xmlIsAttribute(&fh.xml_reader, "physical_partition_number")) {  // 看具体使用 physical_partition_number  还是  storagedrive 
[ 2381.982469] ---[ end trace 02c1afb287a75029 ]--- [ 2383.512185] qcom-nandc 79b0000.nand: failed to copy last codeword [ 2385.592188] qcom-nandc 79b0000.nand: failure submitting descs for command 96 [ 2385.592229] [TPIPF] [User-Debug] ====================== write length: 7673 ======================== [ 2385.598318] [TPIPF] [User-Debug] flashPos 7776, flashPageCntPos 0 [ 2385.607141] [TPIPF] [flashPos 7776] [BEGIN]--------- 81.278044] x25: ffffff8031942e00 x24: ffffff802a193b28 [ 2385.607141] [ 2381.283600] x23: ffffff801f257800 x22: ffffffc010a02000 [ 2385.607141] [ 2381.288895] x21: ffffff803186f000 x20: 0000000000000000 [ 2385.607141] [ 2381.294450] x19: ffffffc0095e6000 x18: 0000000000000000 [ 2385.607141] [ 2381.299744] x17: 0000000000000000 x16: 0000000000000000 [ 2385.607141] [ 2381.305041] x15: 0000000000000000 x14: ffffff8024b57000 [ 2385.607141] [ 2381.310335] x13: 0000000000001000 x12: ffffff8033073000 [ 2385.607141] [ 2381.315630] x11: 0000000000001000 x10: ffffff80301ad000 [ 2385.607141] [ 2381.320925] x9 : 0000000000000000 x8 : ffffff801f258000 [ 2385.607141] [ 2381.326220] x7 : 0000000000000000 x6 : 00000000034c0000 [ 2385.607141] [ 2381.331516] x5 : 0000000000000000 x4 : ffffff801f257800 [ 2385.607141] [ 2381.336812] x3 : ffffff802a193920 x2 : 0000000000000800 [ 2385.607141] [ 2381.342105] x1 : 0000000003440000 x0 : ffffff803d058800 [ 2385.607148] Unable to handle kernel execution of user memory at virtual address 0000000000000000 [ 2385.702673] Mem abort info: [ 2385.711171] ESR = 0x86000005 [ 2385.713669] EC = 0x21: IABT (current EL), IL = 32 bits [ 2385.716800] SET = 0, FnV = 0 [ 2385.722275] EA = 0, S1PTW = 0 [ 2385.725133] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000640f3000 [ 2385.728174] [0000000000000000] pgd=00000000651b7003, pud=00000000651b7003, pmd=0000000000000000 以上是系统panic后的信息,如何查看该系统panic时写入flash的内容
最新发布
06-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值