导航

    全志在线开发者论坛

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

    t113-SpiNand SWUPDATE升级问题 Cannot get MTD information for /dev/by-name/env

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

      fw_printenv
      
      Cannot get MTD information for /dev/by-name/env
      Cannot get MTD information for /dev/by-name/env-redund
      
      swupdate
      Licensed under GPLv2. See source distribution for detailed copyright notices.
      
      Registered handlers:
              dummy
              awuboot
              awboot0
              uboot
              bootloader
              raw
              rawfile
              rawcopy
              shellscript
              preinstall
              postinstall
              ubivol
              ubipartition
              ubiswap
      software set: stable mode: upgrade_recovery
      Connected to SWUpdate via /tmp/swupdateprog
      [  452.952787] ubi1: attaching mtd0
      [  452.965748] ubi1: scanning is finished
      [  452.969948] ubi1 error: ubi_read_volume_table: the layout volume was not found
      [  452.992729] ubi1 error: ubi_attach_mtd_dev: failed to attach mtd0, error -22
      [ERROR][  453.000834] ubi1: attaching mtd1
       : SWUPDATE failed [0] ERROR : cannot attach mtd0 - maybe not a NAND or raw device
      [  453.031724] ubi1: scanning is finished
      [  453.035954] ubi1 error: ubi_read_volume_table: the layout volume was not found
      [  453.052699] ubi1 error: ubi_attach_mtd_dev: failed to attach mtd1, error -22
      [ERROR][  453.060766] ubi1: attaching mtd2
       : SWUPDATE failed [0] ERROR : cannot attach mtd1 - maybe not a NAND or raw device
      [  453.084966] ubi1: scanning is finished
      [  453.112022] ubi1 error: ubi_eba_init: no enough physical eraseblocks (0, need 1)
      [  453.132713] ubi1 error: ubi_attach_mtd_dev: failed to attach mtd2, error -28
      [ERROR] : SWUPDATE failed [0] ERROR : cannot attach mtd2 - maybe not a NAND or raw device
      Cannot get MTD information for /dev/by-name/env
      Cannot get MTD information for /dev/by-name/env-redund
      [ERROR] : SWUPDATE failed [0] ERROR : Error: environment not initialized, Not a tty
      [INFO ] : SWUPDATE running :  Installing image recovery into volume /dev/ubi0_6(recovery)
      [ =========--------------------------------------------------- ] 2 o[  457.145347] swupdate (636): drop_caches: 1
      [ ============------------------------------------------------ ] 2 of 3 [  457.174235] sunxi-spinand: uboot blk range [8-32)
      [ =============-----------------[  457.182381] sunxi-spinand: download uboot to block 8 (10 blocks) len 1280K
      [  457.703425] sunxi-spinand: download uboot to block 18 (10 blocks) len 1280Kuboot)
      [ ==========================================[  458.208137] swupdate (636): drop_caches: 1
      [  458.243065] sunxi-spinand-phy: Failed to get sample mode
      [  458.248994] sunxi-spinand-phy: Failed to get sample delay
      [  458.262761] sunxi-spinand: download boot0 to block 0 len 48K
      [  458.308482] sunxi-spinand: download boot0 to block 1 len 48K
      [  458.356699] sunxi-spinand: download boot0 to block 2 len 48K
      [  458.392232] sunxi-spinand: download boot0 to block 3 len 48K
      [  458.432084] sunxi-spinand: download boot0 to block 4 len 48K
      [  458.472135] sunxi-spinand: download boot0 to block 5 len 48K
      [  458.518470] sunxi-spinand: download boot0 to block 6 len 48K
      [  458.565733] sunxi-spinand: download boot0 to block 7 len 48K
      Cannot get MTD information for /dev/by-name/env
      Cannot get MTD information for /dev/by-name/env-redund
      Error: environment not initialized
      [ERROR] : SWUPDATE failed [0] ERROR : Bootloader-specific error -1 updating its environment
      Software updated failed
      [ ============================================================ ] 3 of 3 100% (boot0)
      
      FAILURE !
      Cannot get MTD information for /dev/by-name/env
      Cannot get MTD information for /dev/by-name/env-redund
      [ERROR] : SWUPDATE failed [0] ERROR : Error: environment not initialized, Not a tty
      Connection closing..
      Trying to connect to SWUpdate...
      
      1 条回复 最后回复 回复 引用 分享 0
      • 1 / 1
      • First post
        Last post

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

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