搜索

4

主题

11

帖子

55

积分

注册会员

Rank: 2

积分
55
发表于 2020-11-8 19:25:12 13002 浏览 4 回复

TF卡烧写QT时,TF卡只少了0.9G

在测试TF卡烧写QT时,虽然提示-“-iTOP-4412.bin image has been fused successfully”,但是TF卡只少了0.9G,下面的操作就失败!我换了不同的TF和读卡器,基本上都只少了0.9G!我做好了好多遍了,感觉是哪个地方遗漏了,请问,这个问题需要怎么排查?
回复

使用道具 举报

151

主题

508

帖子

3567

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3567
发表于 2020-11-9 09:30:35
只少?还是只烧? 看看能不能运行呢,具体是怎么操作的
回复 点赞

使用道具 举报

4

主题

11

帖子

55

积分

注册会员

Rank: 2

积分
55
 楼主| 发表于 2020-11-10 19:57:25
我做“视频10_03TF卡烧写Qt”和“视频10_04开发板出厂前首次烧写”这两个,在制作TF卡的时候,ubuntu的终端会提示“u-boot-iTOP-4412.bin image has been fused successfully”,但是查看TF卡容量的变化,我的TF卡容量只少了0.9G,没有像资料中提示的少2G左右的空间!然后设置开发板从TF卡启动,进入Uboot后执行“sdfuse flashall”,这时就报错了!
OK
  
U-Boot 2010.03 (May 17 2017 - 11:13:23) for iTOP-4412 Android
                                                            
        APLL = 1000MHz, MPLL = 800MHz
        ARM_CLOCK = 1000MHz         
PMIC:   S5M8767(VER5.0)   
Board:  iTOP-4412      
DRAM:    1 GB   
MMC:   max_emmc_clock:40 MHZ
Set CLK to 400 KHz         
EMMC CLOCK OUTPUT:: 400KHz -[div:50]
response timeout error : 00000104 cmd 8
response timeout error : 00000104 cmd 55
unrecognised EXT_CSD structure version 8
[ERROR]Card init fail,so Change mode and try again..!
[ERROR]go to inital  again..!                        
FAIL: waiting for status update.
[ERROR]Card init fail again..So give up mmc initial!
MMC0:   1024 MB                                    
SD sclk_mmc is 400K HZ
SD sclk_mmc is 50000K HZ
SD sclk_mmc is 50000K HZ
MMC1:   29580 MB        
*** Warning - using default environment
                                       
In:    serial
Out:   serial
Err:   serial
            

Checking Boot Mode ... SDMMC
SYSTEM ENTER NORMAL BOOT MODE
Hit any key to stop autoboot:  0
reading kernel.. 1120, 12288     
MMC read: dev # 1, block # 1120, count 12288 ...12288 blocks read: OK
completed                                                            
Wrong Image Format for bootm command
ERROR: can't get kernel image!      
iTOP-4412 # sdfuse flashall   
SD sclk_mmc is 400K HZ
SD sclk_mmc is 50000K HZ
SD sclk_mmc is 50000K HZ
[Fusing Image from SD Card.]
.FAIL: waiting for status update.
mmc write failed                 
there are pending interrupts 0x10,11
FAIL: waiting for status update.   
mmc read failed                 
>>>part_type  : 0
there are pending interrupts 0x830,11
FAIL: waiting for status update.     
mmc read failed                 
** Can't read from device 0 **
fatformat failed for part_no:1
** sd_format_mmcs failed **   
*****************************
Booting Device Initial Fail!
*****************************
iTOP-4412 #                  
回复 点赞

使用道具 举报

4

主题

11

帖子

55

积分

注册会员

Rank: 2

积分
55
 楼主| 发表于 2020-11-11 08:52:51
admin 发表于 2020-11-9 09:30
只少?还是只烧? 看看能不能运行呢,具体是怎么操作的

我做“视频10_03TF卡烧写Qt”和“视频10_04开发板出厂前首次烧写”这两个,在制作TF卡的时候,ubuntu的终端会提示“u-boot-iTOP-4412.bin image has been fused successfully”,但是查看TF卡容量的变化,我的TF卡容量只少了0.9G,没有像资料中提示的少2G左右的空间!然后设置开发板从TF卡启动,进入Uboot后执行“sdfuse flashall”,这时就报错了!
OK
  
U-Boot 2010.03 (May 17 2017 - 11:13:23) for iTOP-4412 Android
                                                            
        APLL = 1000MHz, MPLL = 800MHz
        ARM_CLOCK = 1000MHz         
PMIC:   S5M8767(VER5.0)   
Board:  iTOP-4412      
DRAM:    1 GB   
MMC:   max_emmc_clock:40 MHZ
Set CLK to 400 KHz         
EMMC CLOCK OUTPUT:: 400KHz -[div:50]
response timeout error : 00000104 cmd 8
response timeout error : 00000104 cmd 55
unrecognised EXT_CSD structure version 8
[ERROR]Card init fail,so Change mode and try again..!
[ERROR]go to inital  again..!                        
FAIL: waiting for status update.
[ERROR]Card init fail again..So give up mmc initial!
MMC0:   1024 MB                                    
SD sclk_mmc is 400K HZ
SD sclk_mmc is 50000K HZ
SD sclk_mmc is 50000K HZ
MMC1:   29580 MB        
*** Warning - using default environment
                                       
In:    serial
Out:   serial
Err:   serial
            

Checking Boot Mode ... SDMMC
SYSTEM ENTER NORMAL BOOT MODE
Hit any key to stop autoboot:  0
reading kernel.. 1120, 12288     
MMC read: dev # 1, block # 1120, count 12288 ...12288 blocks read: OK
completed                                                            
Wrong Image Format for bootm command
ERROR: can't get kernel image!      
iTOP-4412 # sdfuse flashall   
SD sclk_mmc is 400K HZ
SD sclk_mmc is 50000K HZ
SD sclk_mmc is 50000K HZ
[Fusing Image from SD Card.]
.FAIL: waiting for status update.
mmc write failed                 
there are pending interrupts 0x10,11
FAIL: waiting for status update.   
mmc read failed                 
>>>part_type  : 0
there are pending interrupts 0x830,11
FAIL: waiting for status update.     
mmc read failed                 
** Can't read from device 0 **
fatformat failed for part_no:1
** sd_format_mmcs failed **   
*****************************
Booting Device Initial Fail!
*****************************
iTOP-4412 #                  
回复 点赞

使用道具 举报

151

主题

508

帖子

3567

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
3567
发表于 2020-11-12 19:03:56
这个报错可以看出来是uboot用错了,需要用最新的uboot按照手册恢复出厂设置的章节来恢复一下

也可以参考这个视频来:

https://www.bilibili.com/video/B ... 1405228209082053697
回复 点赞

使用道具 举报

返回列表
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

登录或注册

官方客服

QQ:2551456065

官方QQ群

195631883

扫一扫关注迅为公众号

群号652692981

 
快速回复 返回顶部 返回列表