瑞芯微Rockchip开发者社区
直播中

泡芙奶昔

11年用户 716经验值
私信 关注
[问答]

TF卡单板上电串口一点打印也没有是怎么回事

按照说明去写的tf卡1. sudo ./mksdcard.sh
2.拷贝文件
3.拨码开关123 on
单板上电串口一点打印也没有

回帖(3)

刘桂英

2021-12-31 11:44:52
有制卡的截图吗?您的TF卡里面放的那些内容啊?您发一下我看看那;
一般在虚拟机里面做卡时,先在wondows系统下将卡格式化成FAT32格式,再去做卡;
感觉大概率是TF卡没做好。
举报

刘文明

2021-12-31 11:45:13
jiang@jiang-XPS-15-9570:~/autocore/work$ sudo ./mksdcard.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.

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


Availible Drives to write images to:

#  major   minor    size   name
1:   8       16   15558144 sdb

Enter Device Number: 1


sdb was selected

Checking the device is unmounted
unmounted /dev/sdb1

Would you like to re-partition the drive anyways [y/n] : y


Now partitioning sdb ...


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

                Now ** 1 partitions

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

记录了1024+0 的读入
记录了1024+0 的写出
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00143346 s, 731 MB/s
DISK SIZE - 个扇区 bytes
(standard_in) 1: illegal character: 344
(standard_in) 1: illegal character: 270
(standard_in) 1: illegal character: 252
(standard_in) 1: illegal character: 346
(standard_in) 1: illegal character: 211
(standard_in) 1: illegal character: 207
(standard_in) 1: illegal character: 345
(standard_in) 1: illegal character: 214
(standard_in) 1: illegal character: 272
(standard_in) 1: syntax error

欢迎使用 fdisk (util-linux 2.31.1)。
更改将停留在内存中,直到您决定将更改写入磁盘。
使用写入命令前请三思。

设备不包含可识别的分区表。
创建了一个磁盘标识符为 0xe339e3fc 的新 DOS 磁盘标签。

命令(输入 m 获取帮助): 分区类型
   p   主分区 (0个主分区,0个扩展分区,4空闲)
   e   扩展分区 (逻辑分区容器)
选择 (默认 p): 分区号 (1-4, 默认  1): 第一个扇区 (1-2047, 默认 1): 值超出范围。
第一个扇区 (1-2047, 默认 1): 上个扇区,+sectors 或 +size{K,M,G,T,P} (1-2047, 默认 2047): 上个扇区,+sectors 或 +size{K,M,G,T,P} (1-2047, 默认 2047): 上个扇区,+sectors 或 +size{K,M,G,T,P} (1-2047, 默认 2047): 上个扇区,+sectors 或 +size{K,M,G,T,P} (1-2047, 默认 2047):
命令(输入 m 获取帮助):

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

                Partitioning Boot

################################################################################
mkfs.fat 4.1 (2017-01-24)
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows

Mount the partitions

Emptying partitions

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

        Copying files now... will take minutes

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

Copying boot partition
dd firmware_ls1028ardb_uboot_sdboot.img to sdcard
记录了20001+1 的读入
记录了20001+1 的写出
10240583 bytes (10 MB, 9.8 MiB) copied, 0.446766 s, 22.9 MB/s

Syncing....


Un-mount the partitions

Remove created temp directories

Operation Finished
举报

王利祥

2021-12-31 11:45:40
看您的TF卡存在非法字符,建议您重新格式化一下,在制卡。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分