导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    T113S3 SPINAND启动报错ECC错误

    Linux
    1
    3
    373
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      lztmfx LV 5 最后由 编辑

      kernel报错部分日志:
      [ 0.935032] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
      [ 0.942318] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
      [ 0.950182] sunxi-spinand-phy: not detect any munufacture from id table
      [ 0.957602] sunxi-spinand-phy: get spi-nand Model from fdt fail
      [ 0.964267] sunxi-spinand-phy: get phy info from fdt fail
      [ 0.970328] sunxi-spinand-phy: not detect munufacture from fdt
      [ 0.976936] sunxi-spinand-phy: detect munufacture from id table: Winbond
      [ 0.984472] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff
      [ 0.991551] sunxi-spinand-phy: ========== arch info ==========
      [ 0.998092] sunxi-spinand-phy: Model: W25N01GVZEIG
      [ 1.004843] sunxi-spinand-phy: Munufacture: Winbond
      [ 1.011103] sunxi-spinand-phy: DieCntPerChip: 1
      [ 1.016765] sunxi-spinand-phy: BlkCntPerDie: 1024
      [ 1.022736] sunxi-spinand-phy: PageCntPerBlk: 64
      [ 1.028494] sunxi-spinand-phy: SectCntPerPage: 4
      [ 1.034168] sunxi-spinand-phy: OobSizePerPage: 64
      [ 1.039936] sunxi-spinand-phy: BadBlockFlag: 0x0
      [ 1.045792] sunxi-spinand-phy: OperationOpt: 0x7
      [ 1.051662] sunxi-spinand-phy: MaxEraseTimes: 65000
      [ 1.057713] sunxi-spinand-phy: EccFlag: 0x0
      [ 1.063578] sunxi-spinand-phy: EccType: 2
      [ 1.069250] sunxi-spinand-phy: EccProtectedType: 3
      [ 1.074909] sunxi-spinand-phy: ========================================
      [ 1.082332] sunxi-spinand-phy:
      [ 1.085849] sunxi-spinand-phy: ========== physical info ==========
      [ 1.092789] sunxi-spinand-phy: TotalSize: 128 M
      [ 1.098158] sunxi-spinand-phy: SectorSize: 512 B
      [ 1.103535] sunxi-spinand-phy: PageSize: 2 K
      [ 1.108710] sunxi-spinand-phy: BlockSize: 128 K
      [ 1.114090] sunxi-spinand-phy: OOBSize: 64 B
      [ 1.119377] sunxi-spinand-phy: ========================================
      [ 1.126792] sunxi-spinand-phy:
      [ 1.130326] sunxi-spinand-phy: ========== logical info ==========
      [ 1.137158] sunxi-spinand-phy: TotalSize: 128 M
      [ 1.142539] sunxi-spinand-phy: SectorSize: 512 B
      [ 1.147908] sunxi-spinand-phy: PageSize: 4 K
      [ 1.153094] sunxi-spinand-phy: BlockSize: 256 K
      [ 1.158463] sunxi-spinand-phy: OOBSize: 128 B
      [ 1.163871] sunxi-spinand-phy: ========================================
      [ 1.171347] sunxi-spinand-phy: block lock register: 0x00
      [ 1.177374] sunxi-spinand-phy: feature register: 0x19
      [ 1.183057] sunxi-spinand-phy: sunxi physic nand init end
      [ 1.189546] Creating 4 MTD partitions on "sunxi_mtd_nand":
      [ 1.195706] 0x000000000000-0x000000100000 : "boot0"
      [ 1.209872] 0x000000100000-0x000000500000 : "uboot"
      [ 1.218476] random: fast init done
      [ 1.229412] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.238994] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.248227] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.258017] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.267242] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.276996] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.286190] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.295551] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.304916] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.319872] 0x000000500000-0x000000600000 : "secure_storage"
      [ 1.329829] sunxi-spinand-phy: ecc error 0x2
      [ 1.338202] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.350877] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.359899] 0x000000600000-0x000008000000 : "sys"
      [ 1.368773] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.377929] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.390579] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.399746] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.408886] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.418023] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.427164] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.436299] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.445416] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.454531] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.460110] sunxi-spinand-phy: phy blk 69 is bad
      [ 1.468838] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.477954] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.487099] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.496230] sunxi-spinand-phy: ecc error 0x2
      [ 1.504560] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.513687] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.522787] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.531902] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.540974] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.550098] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.559195] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.568325] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.577428] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.586558] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.595657] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.604773] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.613888] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.622978] sunxi-spinand-phy: ecc error 0x2
      [ 1.631307] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.640370] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.649497] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.658588] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.667728] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.676833] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.687493] random: crng init done
      [ 1.694772] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.703845] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.712931] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.721967] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.727532] sunxi-spinand-phy: phy blk 127 is bad
      [ 1.736333] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.745424] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.754527] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.763622] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.776164] sunxi-spinand-phy: ecc error 0x2
      [ 1.784561] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.793675] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.802753] sunxi-spinand-phy: ecc error 0x2
      [ 1.811072] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.820118] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.829227] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.838308] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.847428] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.856519] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.865615] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.874716] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.880293] sunxi-spinand-phy: phy blk 161 is bad
      [ 1.889092] sunxi-spinand-phy: unknown ecc value 0x3
      [ 1.898180] sunxi-spinand-phy: unknown ecc value 0x3
      。。。
      如果固件下载到NAND,报错结束后内核就报错卡死了,同一个固件用TF卡启动就先报NAND的ECC错,最后能正常启动。这种情况是不是大概率是NAND坏了?

      L 1 条回复 最后回复 回复 引用 分享 0
      • L
        lztmfx LV 5 @lztmfx 最后由 编辑

        @lztmfx 这个看似固件损坏或者NAND有坏块,实际上就是rootfs和kernel的SPIFLASH.UBIFS SQUASHFS配置不对

        1 条回复 最后回复 回复 引用 分享 0
        • L
          lztmfx LV 5 最后由 编辑

          可以启动了,kernel配置有问题,太折磨人了

          1 条回复 最后回复 回复 引用 分享 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策