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.

SD卡烧写EMMC后,启动串口无输出



敬爱的TI工程师,晚上好:

我在用你们提供的烧写脚本烧写EMMC后启动无输出,EMMC挂载在EMMC1上,下面是打印烧写打印日志:

****************************************************
****************************************************

Sitara Example Flashing Script - 02/11/2014

1+0 records in
1+0 records out
Found mounted partition(s) on /dev/mmcblk1: /media/mmcblk1p1 /media/mmcblk1p2
4k erase on /dev/mmcblk1p1
1+0 records in
1+0 records out
4k erase on /dev/mmcblk1p2
1+0 records in
1+0 records out
Partitioning the eMMC...
Checking that no-one is using this disk right now ...
[ 64.472029] mmcblk1: unknown partition table
OK

Disk /dev/mmcblk1: 470 cylinders, 255 heads, 63 sectors/track

sfdisk: ERROR: sector 0 does not have an msdos signature
sfdisk: /dev/mmcblk1: unrecognized partition table type

Old situation:
sfdisk: No partitions found

New situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/mmcblk1p1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
/dev/mmcblk1p2 10 469 460 3694950 83 Linux
/dev/mmcblk1p3 0 - 0 0 0 Empty
/dev/mmcblk1p4 0 - 0 0 0 Empty
Successfully wrote the new partition table

Re-reading the partition table ...
[ 64.676928] mmcblk1: p1 p2

If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
[ 65.249980] EXT4-fs (mmcblk1p1): VFS: Can't find ext4 filesystem
[ 65.258169] EXT4-fs (mmcblk1p2): VFS: Can't find ext4 filesystem
[ 65.265510] EXT3-fs (mmcblk1p1): error: can't find ext3 filesystem on dev mmcblk1p1.
[ 65.274429] EXT3-fs (mmcblk1p2): error: can't find ext3 filesystem on dev mmcblk1p2.
[ 65.283337] EXT2-fs (mmcblk1p1): error: can't find an ext2 filesystem on dev mmcblk1p1.
[ 65.292466] EXT2-fs (mmcblk1p2): error: can't find an ext2 filesystem on dev mmcblk1p2.
[ 65.301818] FAT-fs (mmcblk1p1): bogus number of reserved sectors
[ 65.308116] FAT-fs (mmcblk1p1): Can't find a valid FAT filesystem
[ 65.315328] FAT-fs (mmcblk1p2): bogus number of reserved sectors
[ 65.321616] FAT-fs (mmcblk1p2): Can't find a valid FAT filesystem
[ 65.352864] cramfs: wrong magic
[ 65.360591] FAT-fs (mmcblk1p1): bogus number of reserved sectors
[ 65.366941] FAT-fs (mmcblk1p1): Can't find a valid FAT filesystem
[ 65.375395] F2FS-fs (mmcblk1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 65.383007] F2FS-fs (mmcblk1p1): Can't find a valid F2FS filesystem
[ 65.389871] cramfs: wrong magic
[ 65.396804] FAT-fs (mmcblk1p2): bogus number of reserved sectors
[ 65.403158] FAT-fs (mmcblk1p2): Can't find a valid FAT filesystem
[ 65.424036] F2FS-fs (mmcblk1p2): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 65.431682] F2FS-fs (mmcblk1p2): Can't find a valid F2FS filesystem
No partition found. Continuing.
1+0 records in
1+0 records out
Formatting the eMMC into 2 partitions...
mkfs.vfat 2.11 (12 Mar 2005)
mke2fs 1.42.1 (17-Feb-2012)
Discarding device blocks: done
Filesystem label=rootfs
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
231072 inodes, 923737 blocks
46186 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=947912704
29 block groups
32768 blocks per group, 32768 fragments per group
7968 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

Formatting done.
[ 78.733319] kjournald starting. Commit interval 5 seconds
[ 78.741038] EXT3-fs (mmcblk1p2): using internal journal
[ 78.746521] EXT3-fs (mmcblk1p2): mounted filesystem with ordered data mode
Copying Files...
real 0m 0.41s
user 0m 0.23s
sys 0m 0.14s
Boot partition done.
real 0m 0.96s
user 0m 0.55s
sys 0m 0.35s
RootFS partition done.
It took 20 seconds to complete this task...

********************************************
Sitara Example Flash Script is complete.