本帖最后由 一只耳朵怪 于 2018-5-29 10:29 编辑
首先是使用相应的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: 600MHzDDR clk: 400MHzDRAM: 2 GiBMMC: OMAP SD/MMC: 0Using default environmentThe 2nd stage U-Boot will now be auto-loadedPlease do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashedHit any key to stop autoboot: 0 reading u-boot.bin186836 bytes read## Starting application at 0x80800000 ...U-Boot 2010.06 (Jun 02 2015 - 05:51:17)TI8148-GP rev 3.0ARM clk: 600MHzDDR clk: 400MHzI2C: readyDRAM: 2 GiBNAND: HW ECC BCH8 SelectedNAND device: Manufacturer ID: 0x2c, Chip ID: 0xc3 (Micron NAND 1GiB 3,3V 16-bit)NAND bus width 8 instead 16 bitNo NAND device found!!!0 MiBMMC: 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@@@###::rrsrU-Boot 2010.06 (Jun 02 2015 - 04:54:06)TI8148-GP rev 3.0ARM clk: 600MHzDDR clk: 400MHzDRAM: 2 GiBMMC: OMAP SD/MMC: 0Using default environmentThe 2nd stage U-Boot will now be auto-loadedPlease do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashedHit any key to stop autoboot: 0 reading u-boot.bin186836 bytes read## Starting application at 0x80800000 ...U-Boot 2010.06 (Jun 02 2015 - 05:51:17)TI8148-GP rev 3.0ARM clk: 600MHzDDR clk: 400MHzI2C: readyDRAM: 2 GiBNAND: HW ECC BCH8 SelectedNAND device: Manufacturer ID: 0x2c, Chip ID: 0xc3 (Micron NAND 1GiB 3,3V 16-bit)NAND bus width 8 instead 16 bitNo NAND device found!!!0 MiBMMC: 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.0ARM clk: 600MHzDDR clk: 400MHzDRAM: 2 GiBMMC: OMAP SD/MMC: 0Using default environmentThe 2nd stage U-Boot will now be auto-loadedPlease do not interrupt the countdown till TI8148_EVM prompt if 2nd stage is already flashedHit any key to stop autoboot: 0 reading u-boot.bin186836 bytes read## Starting application at 0x80800000 ...U-Boot 2010.06 (Jun 02 2015 - 05:51:17)TI8148-GP rev 3.0ARM clk: 600MHzDDR clk: 400MHzI2C: readyDRAM: 2 GiBNAND: HW ECC BCH8 SelectedNAND device: Manufacturer ID: 0x2c, Chip ID: 0xc3 (Micron NAND 1GiB 3,3V 16-bit)NAND bus width 8 instead 16 bitNo NAND device found!!!0 MiBMMC: 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()
not set. Reading from E-fuseDetected MACID:84:7e:40:d2:df:dcmiiphy_register: added 'cpsw', read=0x80721c10, write=0x80721c7ccpswHit any key to stop autoboot: 0 reading boot.scr308 bytes readRunning bootscript from MMC/SD to set the ENV...## Executing script at 80900000reading uImage3105852 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 ... OKOKStarting kernel ...