我安装的SDK是PROCESSOR-SDK-RTOS-AM335X 02_00_00_00版本。 开发环境是在ubuntu14.04 64位系统上的。
同时为了验证对比,我也安装了个linux的SDK,版本是:PROCESSOR-SDK-LINUX-AM335X 02_00_00_00。
然后同样的一张SD卡,我用SDK-LINUX安装目录下的 bin/create-sdcard.sh脚本,可以制作出SD卡,并且放到开发板上能够开机。
但当我用SDK-RTOS 安装目录下的/processor_sdk_rtos_am335x_2_00_00/bin/create-sdcard.sh脚本做卡时,提示我选择要做的SD卡后,两三秒内就运行结束,卡也没做好。log如下:麻烦帮我看看是什么原因。
michael@michael-HP-EliteBook-8560w:/opt/ti/processor_sdk_rtos_am335x_2_00_00_00/bin$ sudo ./create-sdcard.sh /opt/ti/processor_sdk_rtos_am335x_2_00_00_00/prebuilt-sdcards/evmAM335x/sd_card_files
################################################################################
This script will create a bootable SD card from custom or pre-built binaries.
The script must be run with root permissions and from the bin directory of
the SDK
Example:
$ sudo ./create-sdcard.sh path/to/sdcard/files
Formatting can be skipped if the SD card is already formatted and
partitioned properly.
################################################################################
Available Drives to write images to:
# major minor size name
1: 8 0 125034840 sda
2: 179 0 3872256 mmcblk0
Enter Device Number or n to exit: 2
mmcblk0 was selected
/dev/mmcblk0 is an mmcblkx device
unmounted /dev/mmcblk0p
umount2: No such file or directory
umount: /dev/mmcblk0p: not found
Current size of mmcblk0p1 72261 bytes
Current size of mmcblk0p2 3791340 bytes
################################################################################
Now erasing partition table
################################################################################
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.321247 s, 3.3 MB/s
################################################################################
Partitioning Boot
################################################################################
mkfs.fat 3.0.26 (2014-03-07)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
/dev/mmcblk0p: No such file or directory
Mount the partitions
mount: special device /dev/mmcblk0p does not exist
Emptying partitions
Syncing....
################################################################################
Copying files now... will take minutes
################################################################################
Copying boot partition
Syncing...
Un-mount the partitions
umount2: Invalid argument
umount: boot: not mounted
Remove created temp directories
Operation Finished
