This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

dm8148 u-boot突然不能正常启动了,详细内容如下。



首先是使用相应的SD卡制作的系统启动程序u-boot.bin和ML0以及Linux操作系统的内核uImage文件,放在SD卡的p1分区,同样的讲Linux的根文件系统放在了SD卡的p2分区当中,制作完成的SD卡是完全可以使用的,但是今天拿出来就突然不能用了,在另一块相同的办卡上SD卡时可以正常运行的,串口打印的相关信息如下:

U-Boot 2010.06 (Jun 02 2015 - 04:54:06)

TI8148-GP rev 3.0

ARM clk: 600MHz
DDR clk: 400MHz

DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0
Using default environment

The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot:  0 
reading u-boot.bin

186836 bytes read
## Starting application at 0x80800000 ...


U-Boot 2010.06 (Jun 02 2015 - 05:51:17)

TI8148-GP rev 3.0

ARM clk: 600MHz
DDR clk: 400MHz

I2C:   ready
DRAM:  2 GiB
NAND:  HW ECC BCH8 Selected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xc3 (Micron NAND 1GiB 3,3V 16-bit)
NAND bus width 8 instead 16 bit
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC or MMC, using default environment

                          .:;rrr;;.                   
                    ,5#@@@@#####@@@@@@#2,             
                 ,A@@@hi;;;r5;;;;r;rrSG@@@A,          
               r@@#i;:;s222hG;rrsrrrrrr;ri#@@r        
             :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:      
            B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B     
           @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@    
          @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@   
         @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@  
        G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G 
        @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@ 
       X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
       @#;rsrsrsrsrr;r2ir@@@###::rrsr

U-Boot 2010.06 (Jun 02 2015 - 04:54:06)

TI8148-GP rev 3.0

ARM clk: 600MHz
DDR clk: 400MHz

DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0
Using default environment

The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot:  0 
reading u-boot.bin

186836 bytes read
## Starting application at 0x80800000 ...


U-Boot 2010.06 (Jun 02 2015 - 05:51:17)

TI8148-GP rev 3.0

ARM clk: 600MHz
DDR clk: 400MHz

I2C:   ready
DRAM:  2 GiB
NAND:  HW ECC BCH8 Selected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xc3 (Micron NAND 1GiB 3,3V 16-bit)
NAND bus width 8 instead 16 bit
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC or MMC, using default environment

                          .:;rrr;;.                   
                    ,5#@@@@#####@@@@@@#2,             
                 ,A@@@hi;;;r5;;;;r;rrSG@@@A,          
               r@@#i;:;s222hG;rrsrrrrrr;ri#@@r        
             :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:      
            B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B     
           @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@    
          @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@   
         @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@  
        G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G 
        @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@ 
       X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
       @#;rsrsrsrsrr;r2i

这里会一直反复打印上面的信息,能看到在打印字符串的过程中系统突然中断了,并重新看是运行,这是为什么呢?这里也看到成功读取了SD卡上的uboot.bin的文件!!这该如何解释呀,下面的时正常启动的相关信息:

U-Boot 2010.06 (Jun 02 2015 - 04:54:06)

TI8148-GP rev 3.0

ARM clk: 600MHz
DDR clk: 400MHz

DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0
Using default environment

The 2nd stage U-Boot will now be auto-loaded
Please do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashed
Hit any key to stop autoboot:  0 
reading u-boot.bin

186836 bytes read
## Starting application at 0x80800000 ...


U-Boot 2010.06 (Jun 02 2015 - 05:51:17)

TI8148-GP rev 3.0

ARM clk: 600MHz
DDR clk: 400MHz

I2C:   ready
DRAM:  2 GiB
NAND:  HW ECC BCH8 Selected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xc3 (Micron NAND 1GiB 3,3V 16-bit)
NAND bus width 8 instead 16 bit
No NAND device found!!!
0 MiB
MMC:   OMAP SD/MMC: 0
*** Warning - bad CRC or MMC, using default environment

                          .:;rrr;;.                   
                    ,5#@@@@#####@@@@@@#2,             
                 ,A@@@hi;;;r5;;;;r;rrSG@@@A,          
               r@@#i;:;s222hG;rrsrrrrrr;ri#@@r        
             :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:      
            B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B     
           @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@    
          @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@   
         @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@  
        G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G 
        @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@ 
       X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
       @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@
       @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@
       @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@
       @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@
       M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#
       :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,
        @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@ 
         @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@  
         ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@;  
          r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r   
           ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,    
             B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H      
              .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.       
                .A@@#5r;;;r;;;rrr;r:r#AsM@@H.         
                   ;&@@@@MhXS5i5SX9B@@@@G;            
                       :ihM#@@@@@##hs,                

Net:   ->cpsw_pad_config()
<ethaddr> not set. Reading from E-fuse
Detected MACID:84:7e:40:d2:df:dc
miiphy_register: added 'cpsw', read=0x80721c10, write=0x80721c7c
cpsw
Hit any key to stop autoboot:  0 
reading boot.scr

308 bytes read
Running bootscript from MMC/SD to set the ENV...
## Executing script at 80900000
reading uImage

3105852 bytes read
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3105788 Bytes = 3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...
  • mamiao ma 说:
    首先是使用相应的SD卡制作的系统启动程序u-boot.bin和ML0以及Linux操作系统的内核uImage文件,放在SD卡的p1分区,同样的讲Linux的根文件系统放在了SD卡的p2分区当中,制作完成的SD卡是完全可以使用的,但是今天拿出来就突然不能用了,在另一块相同的办卡上SD卡时可以正常运行的

    你意思是SD卡 不一个板子上面可以工作,一个板子上面不可以工作是这样吗?

    如果SD卡可以工作,说明SD卡数据是没有问题的,可以查查另外一个板卡是否接触有问题?可以用仪器测一下。

  • 是的,在一块板子上能正常工作,在另一块板子上工作就出现了问题,SD卡的数据是没有问题的。

    您说检查板卡的接触问题,是电源接触的问题吗?SD卡槽应该没有接触的问题吧,能麻烦您教一下如何排查具体的问题呢,用什么仪器测试呢,我还是个小白,不是很懂硬件检查的步骤和详细方法,我也更换过板卡的电源,还是一样的结果,能否从uboot打印出来的信息状况来判断板卡的相关问题,每次输出打印到这里就会中断可能的原因是什么,而且每次打印的内容长度也有所不同,这个能说明点什么吗?

  • 今天重新拿出板子测试了一下,板子居然又正常运行了,具体的原因也不太清楚,固化在SD卡中的uboot程序没有更新过,板子的其他跳线帽以及微动开关也没有动过,就是简单的擦了擦灰尘,放了几天,电源开关是一直开着的,让电容充分的放电了,也就是上面的操作了,使用的这张SD卡在另外一块板卡上一直使用着,不知道是不是这个原因,目前板子终于正常运行了!Cheers~

    1、怀疑是有静电导致的,没事可以拔掉电源打开电源开关放放电啥)

    2、将板卡上面的灰尘等污渍清理一下,细心点可能那个元件的位置残留物导致短路了

  • 你好,我用8148做了一块PCB,在uboot中发现网络ping不通,PHY读写寄存器是正常的,麻烦指点指点,感谢。