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.

beagleboneblack Rev.c 使用pre-built images 制作SD卡 启动 CCC...

公司的机器准备用AM335x 做控制器,所以上周买了个beagleboneblack Rev.c 做参考,但是SD启动都不成功了。

以下是基本情况:

1、使用beagleboard.org提供的debian img是能正常从SD卡启动 的 (我下载烧写的是bone-debian-9.5-iot-armhf-2018-10-07-4gb.img.xz)。

2、我用Ubuntu 16.04 虚拟机安装ti-processor-sdk-linux-am335x-evm-06.01.00.08-Linux-x86-Install.bin 测试(其他更早的版本尝试过也不行)。

下面是SD制作步骤:

1、安装
./ti-processor-sdk-linux-am335x-evm-06.01.00.08-Linux-x86-Install.bin
2、插入sd卡
benson@MAX:~/ti-processor-sdk-linux-am335x-evm-06.01.00.08$ sudo fdisk -l
Disk /dev/sda: 150 GiB, 161061273600 bytes, 314572800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x6a7ca2b8

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 310380543 310378496 148G 83 Linux
/dev/sda2 310382590 314570751 4188162 2G 5 Extended
/dev/sda5 310382592 314570751 4188160 2G 82 Linux swap / Solaris


Disk /dev/sdb: 7.5 GiB, 8053063680 bytes, 15728640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


3、运行脚本

sudo ./create-sdcard.sh
################################################################################

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

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 16 7864320 sdb

Enter Device Number or n to exit: 1

sdb was selected

/dev/sdb is an sdx device
SD Card is not correctly partitioned

################################################################################

Select 2 partitions if only need boot and rootfs (most users).
Select 3 partitions if need SDK & other content on SD card. This is
usually used by device manufacturers with access to partition tarballs.

****WARNING**** continuing will erase all data on sdb

################################################################################

Number of partitions needed [2/3] : 2


Now partitioning sdb with 2 partitions...

################################################################################

Now making 2 partitions

################################################################################

1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.916814 s, 1.1 MB/s
DISK SIZE - 8053063680 bytes

################################################################################

Partitioning Boot

################################################################################
mkfs.fat 3.0.28 (2015-05-16)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows

################################################################################

Partitioning rootfs

################################################################################
mke2fs 1.42.13 (17-May-2015)
/dev/sdb2 contains a ext3 file system labelled 'rootfs'
last mounted on Thu Dec 19 17:35:46 2019
Proceed anyway? (y,n) y
Creating filesystem with 1943808 4k blocks and 486720 inodes
Filesystem UUID: afd0f031-1075-44a8-b446-178cdf576d78
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

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

################################################################################

Partitioning is now done
Continue to install filesystem or select 'n' to safe exit

**Warning** Continuing will erase files any files in the partitions

################################################################################


Would you like to continue? [y/n] : y



Mount the partitions

Emptying partitions

Syncing....

################################################################################

Choose file path to install from

1 ) Install pre-built images from SDK
2 ) Enter in custom boot and rootfs file paths

################################################################################

Choose now [1/2] : 1


Will now install from SDK pre-built images
now installing: ti-processor-sdk-linux-am335x-evm-06.01.00.08

################################################################################

Multiple rootfs Tarballs found

################################################################################

1:tisdk-rootfs-image-am335x-evm.tar.xz
2:tisdk-docker-rootfs-image-am335x-evm.tar.xz

Enter Number of rootfs Tarball: 1

################################################################################

Copying files now... will take minutes

################################################################################

Copying boot partition

MLO copied


u-boot.img copied


Copying rootfs System partition

Syncing...

Un-mount the partitions

Remove created temp directories

Operation Finished

5、按着S2键 上电运行
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

请问这是什么情况?