导航

    全志在线开发者论坛

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

    V3S烧录失败,第2次usb检测不到,哪位大神帮分析一下,多谢!

    编译和烧写问题专区
    1
    1
    858
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • C
      caven LV 3 最后由 q1215200171 编辑

      预置条件:
      1) img 在开发板上可以烧录成功,linux可以正常启动

      现象:
      1)自己的板子空板上电,烧录工具提示是否要烧,点击确定;
      2)日志:

      fes commit : 8 
      beign to init dram
      DRAM DRIVE INFO: V0.7
      DRAM Type = 2 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
      DRAM CLK = 360 MHz
      DRAM zq value: 000039bb
      DRAM size = 64 MB
      init dram ok
      [      2.804]
      
      U-Boot 2011.09-rc1 (Jun 21 2021 - 01:26:18) Allwinner Technology 
      
      [      2.812]version: 1.1.0
      [      2.814]uboot commit : 8 
      [      2.821]pmbus:   ready
      ..................................
      
      --------fastboot partitions--------
      mbr not exist
      Net:   eth0Warning: failed to set MAC address
      
      [      7.292]Hit any key to stop autoboot:  0 
      work mode=0x10
      run usb efex
      buf queue page size = 2048
      delay time 2500
      usb init ok
      到这里就没有继续打印了。按ctl-c ,可以进入命令行。可以执行efex-test命令。
      3)执行到的相关代码
      void sunxi_usb_main_loop(int delaytime)
      {
       int ret;
       if(sunxi_usb_init(delaytime))
       {
       	printf("usb init fail\n");
       	sunxi_usb_exit();
       	return ;
       }
       printf("usb init ok\n");
       while(1)//循环退不出来
       {
       	ret = sunxi_udev_active->state_loop(&sunxi_ubuf);
       	if(ret)
       	{
       		break;
       	}
      
       	if(ctrlc())
       	{
       		break;
       	}
       }
      
       printf("exit usb\n");
       sunxi_usb_exit();
       sunxi_update_subsequent_processing(ret);
       return ;
      }
      

      4)查看usb状态为 一直空状态
      void sunxi_usb_irq(void *data)
      misc_irq 5次 挂起, 重启,重启,重启,挂起
      5)抓usb包,有第一次bootrom 与烧录工具交互的包。
      没有 SPL 与 烧录工具交互的包。
      综述:
      SPL 与PC之间的usb探测没有成功;

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

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

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