买了NanoPC-T4的开发板,买回来后烧录了rk3399-eflasher-lubuntu-desktop-xenial-4.4-armhf-20181112.img系统
我们想使用PCIE的固态盘,插上固态盘后 按照使用说明
http://wiki.friendlyarm.com/wiki/index.php/Template:RK3399-Lubuntu-Using-NVME-SSD/zh上的命令查看有无找到固态盘,敲入命令cat /proc/partitions,返回如下
root@FriendlyELEC:~# cat /proc/partitions
major minor #blocks name
1 0 4096 ram0
179 0 15267840 mmcblk1
179 1 4096 mmcblk1p1
179 2 4096 mmcblk1p2
179 3 4096 mmcblk1p3
179 4 12288 mmcblk1p4
179 5 32768 mmcblk1p5
179 6 32768 mmcblk1p6
179 7 15165440 mmcblk1p7
179 96 4096 mmcblk1rpmb
179 64 4096 mmcblk1boot1
179 32 4096 mmcblk1boot0
可以看到系统没有发现固态盘分区
敲入命令,fdisk -l,查看硬盘列表
root@FriendlyELEC:~# fdisk -l
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mmcblk1: 14.6 GiB, 15634268160 bytes, 30535680 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
Disk /dev/mmcblk1boot1: 4 MiB, 4194304 bytes, 8192 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
Disk /dev/mmcblk1boot0: 4 MiB, 4194304 bytes, 8192 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
也没有看到插入的NVME固态硬盘
敲入命令查看/dev下面的设备节点有无NVME的信息
root@FriendlyELEC:~# ls /dev
autofs loop3 ptyp6 tty20 tty52 ttypd
block loop4 ptyp7 tty21 tty53 ttype
btrfs-control loop5 ptyp8 tty22 tty54 ttypf
bus loop6 ptyp9 tty23 tty55 uhid
cachefiles loop7 ptypa tty24 tty56 uinput
char mali0 ptypb tty25 tty57 urandom
console mapper ptypc tty26 tty58 usbmon0
cpu_dma_latency mem ptypd tty27 tty59 usbmon1
disk memory_bandwidth ptype tty28 tty6 usbmon2
dri mmcblk1 ptypf tty29 tty60 usbmon3
fb0 mmcblk1boot0 ram0 tty3 tty61 usbmon4
fd mmcblk1boot1 random tty30 tty62 usbmon5
full mmcblk1p1 rfkill tty31 tty63 usbmon6
fuse mmcblk1p2 rkvdec tty32 tty7 vcs
hdmi_hdcp1x mmcblk1p3 rtc tty33 tty8 vcs1
hidraw0 mmcblk1p4 rtc0 tty34 tty9 vcs2
hidraw1 mmcblk1p5 shm tty35 ttyFIQ0 vcs3
hidraw2 mmcblk1p6 snd tty36 ttyS0 vcs4
hugepages mmcblk1p7 stderr tty37 ttyS1 vcs5
hwrng mmcblk1rpmb stdin tty38 ttyS2 vcs6
i2c-0 mqueue stdout tty39 ttyS3 vcs7
i2c-1 network_latency tty tty4 ttyS4 vcsa
i2c-2 network_throughput tty0 tty40 ttyp0 vcsa1
i2c-4 null tty1 tty41 ttyp1 vcsa2
i2c-7 port tty10 tty42 ttyp2 vcsa3
i2c-9 ppp tty11 tty43 ttyp3 vcsa4
iio:device0 psaux tty12 tty44 ttyp4 vcsa5
initctl ptmx tty13 tty45 ttyp5 vcsa6
input pts tty14 tty46 ttyp6 vcsa7
kmsg ptyp0 tty15 tty47 ttyp7 vendor_storage
log ptyp1 tty16 tty48 ttyp8 vhci
loop-control ptyp2 tty17 tty49 ttyp9 vpu_service
loop0 ptyp3 tty18 tty5 ttypa watchdog
loop1 ptyp4 tty19 tty50 ttypb zero
loop2 ptyp5 tty2 tty51 ttypc zram0
始终没有发现固态盘,但这个固态盘在台式机PC系统上是能被发现的
考虑NVME固态硬盘是运行在PCIE模式下,执行PCI总线查看命令,看看有无发现固态盘
root@FriendlyELEC:~# lspci
root@FriendlyELEC:~#
系统没有任何返回。这是我们用的硬盘
到底NanoPC-T4支持什么类型的固态硬盘呢?有什么型号可以推荐?