56-20210402华为海思Hi3516DV300的linux系统下读取TF卡(eMMC模式)
2021/4/2 15:02
https://xueqiu.com/7970718062/159110439
官井想开挖掘机
来自iPhone发布于2020-09-13 15:18
$润和软件(SZ300339)$
HiSpark AI Camera套件
l 支持鸿蒙OS、LiteOS、Linux系统,方便进行产品的原型验证和快速开发
l 板载海思Hi3516DV300芯片,内置双核Cortex-A7,最高运行评率900MHz,内置图像处理单元(ISP),内置H265/H264硬件编解码器,内置智能视频引擎(IVE),内置硬件安全引擎
l 主控芯片内置神经网络推理引擎(NNIE),8bit算力1Tops,可进行端侧AI计算
l 板载1G DDR3内存,最大传输速度1866Mbps
l 板载8G eMMC,最大传输速度
l 板载Hi3861 WiFi模组,支持IEEE 802.11 b/g/n,支持STA模式、AP模式
l 板载索尼IMX 335图像传感器,最大有效像素5.04M,视屏最高支持2592x1944@60fps
Hi3516DV300的linux系统启动之后,插入TF卡之后,通过mount来挂载TF卡。
mount /dev/mmcblk1p1 /mnt/
clk: Not disabling unused clocks
Waiting for root device /dev/mmcblk0p3...
scan elemnts: startp:2 endp:120
Tuning SampleClock. mix set phase:[03/07] ele:[13/16]
mmc0: new HS200 MMC card at address 0001
mmc0: -524: cmdq: unable to set-up
mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB
mmcblk0: p1(uboot.bin) p2(kernel) p3(rootfs.ext4) p4(user)
EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:3.
devtmpfs: mounted
Freeing unused kernel memory: 1024K (c0800000 - c0900000)
_ _ _ _ _ _ _ _ _ _ _ _
\ _ _ _ _ _ ___
/ /__/ \ |_/
/ __ / - _ ___
/ / / / / /
_ _ _ _/ / / \_/ \_ ______
___________\___\__________________
[RCS]: /etc/init.d/S00devs
mknod: /dev/console: File exists
mknod: /dev/ttyAMA0: File exists
mknod: /dev/null: File exists
[RCS]: /etc/init.d/S01udev
random: udevd: uninitialized urandom read (16 bytes read)
udevd[90]: starting eudev-3.2.7
[RCS]: /etc/init.d/S80network
Auto login as root ...
login[106]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
~ #
~ #
~ #
~ #
~ #
~ #
~ #
~ #
~ #
~ #
~ # himem
-sh: himem: not found
~ #
~ #
~ #
~ # himem
-sh: himem: not found
~ #
~ #
~ #
~ # pwd
/root
~ #
~ #
~ # cd /
/ #
/ #
/ # find . -name himem
/ #
/ #
/ #
/ #
/ #
/ # find . -name hrandom: fast init done
/ #
/ #
/ #
/ #
/ #
/ # find . -name himm
/ #
/ #
/ # cd /mnt/
/mnt # ls -l
total 0
/mnt #
(插入TF卡之后的LOG信息)
/mnt #
/mnt # himci: card connected!
scan edges:3 p2f:4 f2p:7
mix set temp-phase 1
scan elemnts: startp:102 endp:94
Tuning SampleClock. mix set phase:[02/07] ele:[02/16]
mmc1: new ultra high speed SDR104 SDHC card at address 0001
mmcblk1: mmc1:0001 00000 29.8 GiB
mmcblk1: p1
/mnt #
/mnt #
/mnt # ls -l
total 0
/mnt # cd ..
/ # ll
-sh: ll: not found
/ #
/ #
/ # ls -l
total 80
drwxr-x--- 2 root root 4096 Apr 1 2021 bin
drwxr-x--- 2 root root 4096 Apr 19 2006 boot
drwxr-xr-x 9 root root 3040 Jan 1 00:02 dev
drwxr-x--- 4 root root 4096 Mar 29 2018 etc
drwxr-x--- 2 root root 4096 Apr 19 2006 home
lrwxrwxrwx 1 root root 9 Apr 1 2021 init -> sbin/init
drwxr-x--- 2 root root 4096 Jun 20 2018 komod
drwxr-x--- 2 root root 4096 Apr 1 2021 lib
lrwxrwxrwx 1 root root 11 Apr 1 2021 linuxrc -> bin/busybox
drwxr-x--- 2 root root 4096 Apr 19 2006 lost+found
-rwxr-x--- 1 root root 1317 Jul 31 2018 mkimg.rootfs
-rwxr-x--- 1 root root 431 Apr 21 2011 mknod_console
drwxr-x--- 2 root root 4096 Apr 19 2006 mnt
drwxr-x--- 2 root root 4096 May 21 2008 nfsroot
drwxr-x--- 2 root root 4096 Apr 19 2006 opt
dr-xr-xr-x 83 root root 0 Jan 1 00:00 proc
drwxr-x--- 2 root root 4096 Jan 1 00:01 root
drwxr-xr-x 3 root root 4096 Jan 1 00:01 run
dr-xr-x--- 2 root root 4096 Apr 1 2021 sbin
drwxr-x--- 2 root root 4096 Apr 19 2006 share
drwxr-x--- 2 root root 4096 Jun 20 2018 sharefs
dr-xr-xr-x 12 root root 0 Jan 1 00:01 sys
drwxr-x--- 2 root root 4096 Apr 19 2006 tmp
drwxr-x--- 6 root root 4096 Apr 1 2021 usr
drwxr-x--- 3 root root 4096 Apr 19 2006 var
/ #
/ #
/ # cd /mnt/
/mnt #
/mnt # ls -l
total 0
/mnt #
/mnt #
/mnt # cd /dev
/dev # ls -l mmcblk*
brw------- 1 root root 179, 0 Jan 1 00:01 mmcblk0
brw------- 1 root root 179, 8 Jan 1 00:01 mmcblk0boot0
brw------- 1 root root 179, 16 Jan 1 00:01 mmcblk0boot1
brw------- 1 root root 179, 1 Jan 1 00:01 mmcblk0p1
brw------- 1 root root 179, 2 Jan 1 00:01 mmcblk0p2
brw------- 1 root root 179, 3 Jan 1 00:01 mmcblk0p3
brw------- 1 root root 179, 4 Jan 1 00:01 mmcblk0p4
brw------- 1 root root 179, 24 Jan 1 00:01 mmcblk0rpmb
brw------- 1 root root 179, 32 Jan 1 00:02 mmcblk1
brw------- 1 root root 179, 33 Jan 1 00:02 mmcblk1p1
/dev #
/dev #
/dev #
/dev # cd /mnt/
/mnt #
/mnt #
/mnt # ls -l
total 0
/mnt #
/mnt #
/mnt # mount /dev/mmcblk1p1 /mnt/
/mnt #
/mnt #
/mnt # ls -l
total 0
/mnt #
/mnt #
/mnt # cd ..
/ #
/ #
/ # pwd
/
/ #
/ #
/ # cd mnt/
/mnt #
/mnt # ls -l
total 32
drwxr-x--- 2 root root 16384 Mar 9 2021 3881
drwxr-x--- 2 root root 16384 Feb 24 2021 System Volume Information
/mnt #
/mnt #
/mnt # cd 3881/
/mnt/3881 #
/mnt/3881 # ls -l
total 64
-rwxr-x--- 1 root root 0 Jan 1 1980 20210309
-rwxr-x--- 1 root root 15664 Feb 25 2021 hostapd
-rwxr-x--- 1 root root 222 Feb 25 2021 hostapd.conf
-rwxr-x--- 1 root root 15668 Feb 25 2021 wpa_supplicant
-rwxr-x--- 1 root root 81 Feb 25 2021 wpa_supplicant.conf
/mnt/3881 #
/mnt/3881 #