53-20210316华为海思Hi3516DV300的linux系统通过网口刷机(eMMC模式)

53-20210316华为海思Hi3516DV300的linux系统通过网口刷机(eMMC模式)
2021/3/23 17:55


https://blog.csdn.net/qq_33475105/article/details/109279517
【HarmonyOS HiSpark AI Camera试用连载 】AI_Camera_Hi3516DV300开发套件非专业开箱


路由器:
https://item.jd.com/811629.html
迅捷(FAST)FWR310 300M家用wifi无线路由器经典三天线
192.168.1.1
192.168.186.1


电脑(ubuntu20.04.2)
https://item.jd.com/100012583174.html
惠普(HP)战66 三代AMD版 14英寸轻薄笔记本电脑(锐龙7nm 六核 R5-4500U 8G 256G 一年上门+意外 2年电池)
192.168.1.2
192.168.186.2


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


https://zhuanlan.zhihu.com/p/71789194
海思芯片系统镜像烧写教程

https://blog.csdn.net/qq_33475105/article/details/109549056
【HarmonyOS HiSpark AI Camera试用连载 】编译及开发环境搭建-来自HarmonyOS的Hello World!

https://blog.csdn.net/cocoron/article/details/105224865
【海思篇】【Hi3516DV300】四、uboot有线网口调试

https://blog.csdn.net/cocoron/article/details/105230180
【海思篇】【Hi3516DV300】五、linux有线网口调试

https://blog.csdn.net/qq_33475105/article/details/109279517
【HarmonyOS HiSpark AI Camera试用连载 】AI_Camera_Hi3516DV300开发套件非专业开箱


1、
HiTool版本:5.2.7

分区表:
文件名                长度
u-boot-hi3516dv300.bin        1M
uImage_hi3516dv300_smp        9M
rootfs_hi3516dv300_96M.ext4    96M


Hi3516DV300以前是鸿蒙系统,通过网口直接刷机!

HiTool的刷机LOG:
Platform Version: 5.2.7
HiBurn Version: 5.2.0
HiSilicon Technologies Co., Ltd. All rights reserved. (C) 2011-2019


Platform Version: 5.2.7
HiBurn Version: 5.2.0
HiSilicon Technologies Co., Ltd. All rights reserved. (C) 2011-2019


Can not connect to the Serial Port! It may be in use.

串口已经连接,请给单板上电,若已经上电,请断电后重新上电。
########################### ---- 10%
########################## ---- 20%
########################## ---- 30%
########################## ---- 40%
########################## ---- 50%
########################## ---- 60%
########################## ---- 70%
########################## ---- 80%
########################## ---- 90%
######################### ---- 100%
Boot download completed!
     

System startup

Uncompress Ok!

U-Boot 2016.11 (Mar 23 2021 - 10:36:12 +0800)hi3516dv300

Relocation Offset is: 0f6ea000
Relocating to 8feea000, new gd at 8fe49ef0, sp at 8fe49ed0
MMC:   
EMMC/MMC/SD controller initialization.
scan edges:2 p2f:6 f2p:1
mix set temp-phase 3
scan elemnts: startp:4 endp:122
Tuning SampleClock. mix set phase:[03/07] ele:[15d/16]
** First descriptor is NOT a primary desc on 0:1 **
MMC/SD Card:
    MID:         0x15
    Read Block:  512 Bytes
    Write Block: 512 Bytes
    Chip Size:   7456M Bytes (High Capacity)
    Name:        "8GTF4"
    Chip Type:   MMC
    Version:     0.0
    Speed:       100000000Hz
    Bus Width:   4bit
himci: 0 (eMMC)
In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - da:2e:fe:e2:ba:51

start download process.

Boot started successfully!

Send command:    mmc write 0x0 0x81000000 0x0 0x1d5

MMC write: dev # 0, block # 0, count 469 ... 469 blocks written: OK
[EOT](OK)
Fastboot burnt successfully!
waiting phy ready, it will take 8s.

Send command:    setenv serverip 192.168.0.149
[EOT](OK)

Send command:    setenv ethaddr 00:11:22:33:44:55
[EOT](OK)

Send command:    setenv ipaddr 192.168.0.10
[EOT](OK)

Send command:    setenv netmask 255.255.255.0
[EOT](OK)

Send command:    setenv gatewayip 192.168.0.1
[EOT](OK)

Send command:    getinfo ddrfree
[EOT](OK)
    Tftp server Download Home switched to <Z:\Hi3516CV500R001C02SPC021\Hi3516CV500_SDK_V2.0.2.1\osdrv\pub\hi3516dv300_emmc_smp_image_glibc>

Send command:    mw.b 0x81000000 0xFF 0x353000
[EOT](OK)

Send command:    tftp 0x81000000 uImage_hi3516dv300_smp
Hisilicon ETH net controler
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using eth0 device
TFTP from server 192.168.0.149; our IP address is 192.168.0.10
Filename 'uImage_hi3516dv300_smp'.
Load address: 0x81000000
Loading: *##################################################################################################################
     #################################################################################################################
     ##############################################################################################################
     ##########################################################################
     1.7 MiB/s
done
Bytes transferred = 3485613 (352fad hex)
[EOT](OK)

Send command:    crc32 81000000 352fad
crc32 for 81000000 ... 81352fac ==> d65c5c9d
[EOT](OK)

Send command:    mmc write 0x0 0x81000000 0x800 0x1a98

MMC write: dev # 0, block # 2048, count 6808 ... 6808 blocks written: OK
[EOT](OK)
Partition uImage_hi3516dv300_smp burned successfully!
    Tftp server Download Home switched to <Z:\Hi3516CV500R001C02SPC021\Hi3516CV500_SDK_V2.0.2.1\osdrv\pub\hi3516dv300_emmc_smp_image_glibc>

Send command:    mw.b 0x81000000 0xFF 0x1076600
[EOT](OK)

Send command:    tftp 0x81000000 rootfs_hi3516dv300_96M.ext4
Hisilicon ETH net controler
eth0 : phy status change : LINK=UP : DUPLEX=FULL : SPEED=100M
Using eth0 device
TFTP from server 192.168.0.149; our IP address is 192.168.0.10
Filename 'rootfs_hi3516dv300_96M.ext4'.
Load address: 0x81000000
Loading: *###########################################################################################################
     ####################################################################################################################
     ################################################################################################################
     ###########################################################################################################
     #####################################################################################################################
     ##########################################################################################################
     ###################################################################################################################
     ###############################################################################################################
     ##################################################################################################################
     ###################################################################################################################
     ############################################################################################################
     ###############################################################################################################
     #################################################################################################################
     #######################################################################################################################
     ############################################################################################################
     #######################################################################################################################
     ##################################################################################################################
     #################################################################################################################
     ########
     1.2 MiB/s
done
Bytes transferred = 17261892 (1076544 hex)
[EOT](OK)

Send command:    crc32 81000000 1076544
crc32 for 81000000 ... 82076543 ==> 9ee25529
[EOT](OK)

Send command:    mmc write.ext4sp 0x0 0x81000000 0x5000 0x30000

MMC write ext4 sparse: dev # 0, block # 20480, count 196608 ... 
Writing at 20496 blk# --   0% complete.
Writing at 26800 blk# --   1% complete.
Writing at 43184 blk# --   5% complete.
Writing at 47072 blk# --   6% complete.
Writing at 48976 blk# --   7% complete.
Writing at 52784 blk# --   8% complete.
Writing at 56400 blk# --   9% complete.
Writing at 64944 blk# --  11% complete.
Writing at 71104 blk# --  12% complete.
Writing at 71840 blk# --  13% complete.
Writing at 75664 blk# --  14% complete.
Writing at 85952 blk# --  16% complete.
Writing at 87488 blk# --  17% complete.
Writing at 413696 blk# -- 100% complete.
sparse: 16 MB / 96 MB.
[EOT](OK)
Partition rootfs_hi3516dv300_96M.ext4 burned successfully!
Partition burnt completed!

Send command:    reset
reset success!


2、Xshell7打开串口6(以实际为准):
上电后的LOG:
[BEGIN] 2021/3/23 15:14:06
                         


System startup

Uncompress Ok!

U-Boot 2016.11 (Mar 23 2021 - 10:36:12 +0800)hi3516dv300

Relocation Offset is: 0f6ea000
Relocating to 8feea000, new gd at 8fe49ef0, sp at 8fe49ed0
MMC:   
EMMC/MMC/SD controller initialization.
scan edges:2 p2f:6 f2p:1
mix set temp-phase 3
scan elemnts: startp:3 endp:121
Tuning SampleClock. mix set phase:[03/07] ele:[14d/16]
** First descriptor is NOT a primary desc on 0:1 **
MMC/SD Card:
    MID:         0x15
    Read Block:  512 Bytes
    Write Block: 512 Bytes
    Chip Size:   7456M Bytes (High Capacity)
    Name:        "8GTF4"
    Chip Type:   MMC
    Version:     0.0
    Speed:       100000000Hz
    Bus Width:   4bit
himci: 0 (eMMC)
In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - 0a:ee:f4:99:54:0b

Hit any key to stop autoboot:  0 

MMC read: dev # 0, block # 2048, count 18432 ... 18432 blocks read: OK
## Starting application at 0x80000000 ...

[END] 2021/3/23 15:18:01

 

 

 

 

 

 

 

 

 

 

 

 

 


3、需要设置uboot的配置参数:
(linux系统中直接使用reboot重启了,reset命令不支持了!)
设置启动参数

对于SMP版本的系统,DDR内存空间分为OS内存和MMZ内存2部分,OS内存大小由bootargs环境变量的mem选项指定大小。MMZ 内存由 osal 内核模块管理(smp/a7_linux/mpp/ko/hi_osal.ko),加载 osal 模块时,通过模块参数指定其起始地址及大小,可在 load 脚本中修改 MMZ 的起始地址 mmz_start 及大小 mmz_size。

setenv bootargs 'mem=128M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p3 rootfstype=ext4 blkdevparts=mmcblk0:1M(uboot.bin),9M(kernel),96M(rootfs.ext4),-(user)'     
setenv bootcmd 'mmc read 0 0x80000000 800 4800; bootm 0x80000000'  
saveenv 


设置uboot的配置参数之后的LOG:
[BEGIN] 2021/3/23 15:18:22
                         


System startup

Uncompress Ok!

U-Boot 2016.11 (Mar 23 2021 - 10:36:12 +0800)hi3516dv300

Relocation Offset is: 0f6ea000
Relocating to 8feea000, new gd at 8fe49ef0, sp at 8fe49ed0
MMC:   
EMMC/MMC/SD controller initialization.
scan edges:2 p2f:6 f2p:1
mix set temp-phase 3
scan elemnts: startp:3 endp:120
Tuning SampleClock. mix set phase:[03/07] ele:[13d/16]
** First descriptor is NOT a primary desc on 0:1 **
MMC/SD Card:
    MID:         0x15
    Read Block:  512 Bytes
    Write Block: 512 Bytes
    Chip Size:   7456M Bytes (High Capacity)
    Name:        "8GTF4"
    Chip Type:   MMC
    Version:     0.0
    Speed:       100000000Hz
    Bus Width:   4bit
himci: 0 (eMMC)
In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - 0a:ee:f4:99:54:0b

Hit any key to stop autoboot:  0 
hisilicon # 
hisilicon # 
hisilicon # 
hisilicon # print
arch=arm
baudrate=115200
board=hi3516dv300
board_name=hi3516dv300
bootargs=console=ttyAMA0,115200n8 root=emmc fstype=vfat rootaddr=10M rootsize=15M rw
bootcmd=mmc read 0x0 0x80000000 0x800 0x4800; go 0x80000000
bootdelay=2
cpu=armv7
ethact=eth0
soc=hi3516dv300
stderr=serial
stdin=serial
stdout=serial
vendor=hisilicon
verify=n

Environment size: 359/262140 bytes
hisilicon # 
hisilicon # 
hisilicon # 
hisilicon # setenv bootargs 'mem=128M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p3 rootfstype=ext4 blkdevparts=mmcblk0:1M(uboot.bin),9M(kernel),96M(rootfs.ext4),-(user)'     
hisilicon # setenv bootcmd 'mmc read 0 0x80000000 800 4800; bootm 0x80000000'  
hisilicon # saveenv
Saving Environment to eMMC Flash...
Writing to MMC(0)... done
hisilicon # 
hisilicon # 
hisilicon # print
arch=arm
baudrate=115200
board=hi3516dv300
board_name=hi3516dv300
bootargs=mem=128M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p3 rootfstype=ext4 blkdevparts=mmcblk0:1M(uboot.bin),9M(kernel),96M(rootfs.ext4),-(user)
bootcmd=mmc read 0 0x80000000 800 4800; bootm 0x80000000
bootdelay=2
cpu=armv7
ethact=eth0
soc=hi3516dv300
stderr=serial
stdin=serial
stdout=serial
vendor=hisilicon
verify=n

Environment size: 448/262140 bytes
hisilicon # 
hisilicon # 
hisilicon # 
hisilicon # 
hisilicon # reset
resetting ...
                         


System startup

Uncompress Ok!

U-Boot 2016.11 (Mar 23 2021 - 10:36:12 +0800)hi3516dv300

Relocation Offset is: 0f6ea000
Relocating to 8feea000, new gd at 8fe49ef0, sp at 8fe49ed0
MMC:   
EMMC/MMC/SD controller initialization.
scan edges:2 p2f:6 f2p:1
mix set temp-phase 3
scan elemnts: startp:3 endp:113
Tuning SampleClock. mix set phase:[03/07] ele:[13d/15]
** First descriptor is NOT a primary desc on 0:1 **
MMC/SD Card:
    MID:         0x15
    Read Block:  512 Bytes
    Write Block: 512 Bytes
    Chip Size:   7456M Bytes (High Capacity)
    Name:        "8GTF4"
    Chip Type:   MMC
    Version:     0.0
    Speed:       100000000Hz
    Bus Width:   4bit
himci: 0 (eMMC)
In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - 9e:b8:e1:00:d4:b8

Hit any key to stop autoboot:  0 

MMC read: dev # 0, block # 2048, count 18432 ... 18432 blocks read: OK
## Booting kernel from Legacy Image at 80000000 ...
   Image Name:   Linux-4.9.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3485549 Bytes = 3.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.9.37 (rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3) (gcc version 6.3.0 (HC&C V1R3C00SPC300B009_20191212) ) #1 SMP Tue Mar 23 10:37:51 CST 2021
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Hisilicon HI3516DV300 DEMO Board
cma zone is not set!
cma: Reserved 16 MiB at 0x87000000
Memory policy: Data cache writealloc
percpu: Embedded 13 pages/cpu @c6eca000 s21772 r8192 d23284 u53248
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: mem=128M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p3 rootfstype=ext4 blkdevparts=mmcblk0:1M(uboot.bin),9M(kernel),96M(rootfs.ext4),-(user)
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 104644K/131072K available (5120K kernel code, 167K rwdata, 1232K rodata, 1024K init, 313K bss, 10044K reserved, 16384K cma-reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0600000   (6112 kB)
      .init : 0xc0800000 - 0xc0900000   (1024 kB)
      .data : 0xc0900000 - 0xc0929d00   ( 168 kB)
       .bss : 0xc092b000 - 0xc09796ec   ( 314 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
    Build-time adjustment of leaf fanout to 32.
NR_IRQS:16 nr_irqs:16 16
Gic dist init...
arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
Switching to timer-based delay loop, resolution 20ns
clocksource: hisp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80100000 - 0x80100058
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (200.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
120a0000.uart: ttyAMA0 at MMIO 0x120a0000 (irq = 21, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
SCSI subsystem initialized
ssp-pl022 120c0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120c0000.spi: mapped registers from 0x120c0000 to c8834000
ssp-pl022 120c1000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120c1000.spi: mapped registers from 0x120c1000 to c8838000
ssp-pl022 120c2000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120c2000.spi: mapped registers from 0x120c2000 to c883a000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
clocksource: Switched to clocksource hisp804
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=30 max_order=15 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pl061_gpio 120d0000.gpio_chip: PL061 GPIO chip @0x120d0000 registered
pl061_gpio 120d1000.gpio_chip: PL061 GPIO chip @0x120d1000 registered
pl061_gpio 120d2000.gpio_chip: PL061 GPIO chip @0x120d2000 registered
pl061_gpio 120d3000.gpio_chip: PL061 GPIO chip @0x120d3000 registered
pl061_gpio 120d4000.gpio_chip: PL061 GPIO chip @0x120d4000 registered
pl061_gpio 120d5000.gpio_chip: PL061 GPIO chip @0x120d5000 registered
pl061_gpio 120d6000.gpio_chip: PL061 GPIO chip @0x120d6000 registered
pl061_gpio 120d7000.gpio_chip: PL061 GPIO chip @0x120d7000 registered
pl061_gpio 120d8000.gpio_chip: PL061 GPIO chip @0x120d8000 registered
pl061_gpio 120d9000.gpio_chip: PL061 GPIO chip @0x120d9000 registered
pl061_gpio 120da000.gpio_chip: PL061 GPIO chip @0x120da000 registered
pl061_gpio 120db000.gpio_chip: PL061 GPIO chip @0x120db000 registered
brd: module loaded
libphy: hisi_femac_mii_bus: probed
libphy: Fixed MDIO Bus: probed
Generic PHY 10011100.mdio:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=10011100.mdio:01, irq=-1)
phy_id=0x001cc816, phy_mode=rmii
hisi-femac 10010000.ethernet: using random MAC address 96:ca:af:e3:75:1b
usbcore: registered new interface driver r8152
xhci-hcd 100e0000.xhci_0: xHCI Host Controller
xhci-hcd 100e0000.xhci_0: new USB bus registered, assigned bus number 1
xhci-hcd 100e0000.xhci_0: hcc params 0x0220fe6c hci version 0x110 quirks 0x20010010
xhci-hcd 100e0000.xhci_0: irq 29, io mem 0x100e0000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 100e0000.xhci_0: xHCI Host Controller
xhci-hcd 100e0000.xhci_0: new USB bus registered, assigned bus number 2
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: hub can't support USB3.0
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver xpad
hibvt_rtc 12080000.rtc: rtc core: registered 12080000.rtc as rtc0
hibvt_rtc 12080000.rtc: RTC driver for hibvt enabled
i2c /dev entries driver
hibvt-i2c 120b0000.i2c: hibvt-i2c0@100000hz registered
hibvt-i2c 120b1000.i2c: hibvt-i2c1@100000hz registered
hibvt-i2c 120b2000.i2c: hibvt-i2c2@100000hz registered
hibvt-i2c 120b3000.i2c: hibvt-i2c3@100000hz registered
hibvt-i2c 120b4000.i2c: hibvt-i2c4@100000hz registered
hibvt-i2c 120b5000.i2c: hibvt-i2c5@100000hz registered
hibvt-i2c 120b6000.i2c: hibvt-i2c6@100000hz registered
hibvt-i2c 120b7000.i2c: hibvt-i2c7@100000hz registered
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
himci: mmc host probe
himci: mmc host probe
mmc0: CMDQ supported: depth: 16
scan edges:2 p2f:6 f2p:1
mix set temp-phase 3
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
hibvt_rtc 12080000.rtc: setting system clock to 1970-01-01 06:38:20 UTC (23900)
scan elemnts: startp:3 endp:120
Tuning SampleClock. mix set phase:[03/07] ele:[13/16] 
clk: Not disabling unused clocks
Waiting for root device /dev/mmcblk0p3...
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.
~ # 
~ # 
~ # 
~ # 
~ # 
~ # help
Built-in commands:
------------------
    . : [ [[ alias bg break cd chdir command continue echo eval exec
    exit export false fg getopts hash help history jobs kill let
    local printf pwd read readonly return set shift source test times
    trap true type ulimit umask unalias unset wait
~ # 
~ # 
~ # 
~ # 
~ # 
~ # reboot
~ # umount: devtmpfs busy - remounted read-only
EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system reboot
reboot: Restarting system
                         


System startup

Uncompress Ok!

U-Boot 2016.11 (Mar 23 2021 - 10:36:12 +0800)hi3516dv300

Relocation Offset is: 0f6ea000
Relocating to 8feea000, new gd at 8fe49ef0, sp at 8fe49ed0
MMC:   
EMMC/MMC/SD controller initialization.
scan edges:2 p2f:6 f2p:1
mix set temp-phase 3
scan elemnts: startp:3 endp:120
Tuning SampleClock. mix set phase:[03/07] ele:[13d/16]
** First descriptor is NOT a primary desc on 0:1 **
MMC/SD Card:
    MID:         0x15
    Read Block:  512 Bytes
    Write Block: 512 Bytes
    Chip Size:   7456M Bytes (High Capacity)
    Name:        "8GTF4"
    Chip Type:   MMC
    Version:     0.0
    Speed:       100000000Hz
    Bus Width:   4bit
himci: 0 (eMMC)
In:    serial
Out:   serial
Err:   serial
Net:   eth0
Warning: eth0 (eth0) using random MAC address - 6a:48:5c:25:06:92

Hit any key to stop autoboot:  0 

MMC read: dev # 0, block # 2048, count 18432 ... 18432 blocks read: OK
## Booting kernel from Legacy Image at 80000000 ...
   Image Name:   Linux-4.9.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3485549 Bytes = 3.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Loading Kernel Image ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.9.37 (rootroot@rootroot-HP-ZHAN-66-Pro-A-14-G3) (gcc version 6.3.0 (HC&C V1R3C00SPC300B009_20191212) ) #1 SMP Tue Mar 23 10:37:51 CST 2021
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
CPU: div instructions available: patching division code
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Hisilicon HI3516DV300 DEMO Board
cma zone is not set!
cma: Reserved 16 MiB at 0x87000000
Memory policy: Data cache writealloc
percpu: Embedded 13 pages/cpu @c6eca000 s21772 r8192 d23284 u53248
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: mem=128M console=ttyAMA0,115200 clk_ignore_unused rw rootwait root=/dev/mmcblk0p3 rootfstype=ext4 blkdevparts=mmcblk0:1M(uboot.bin),9M(kernel),96M(rootfs.ext4),-(user)
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 104644K/131072K available (5120K kernel code, 167K rwdata, 1232K rodata, 1024K init, 313K bss, 10044K reserved, 16384K cma-reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0600000   (6112 kB)
      .init : 0xc0800000 - 0xc0900000   (1024 kB)
      .data : 0xc0900000 - 0xc0929d00   ( 168 kB)
       .bss : 0xc092b000 - 0xc09796ec   ( 314 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
    Build-time adjustment of leaf fanout to 32.
NR_IRQS:16 nr_irqs:16 16
Gic dist init...
arm_arch_timer: Architected cp15 timer(s) running at 50.00MHz (phys).
clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb8812736b, max_idle_ns: 440795202655 ns
sched_clock: 56 bits at 50MHz, resolution 20ns, wraps every 4398046511100ns
Switching to timer-based delay loop, resolution 20ns
clocksource: hisp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 100.00 BogoMIPS (lpj=500000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80100000 - 0x80100058
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (200.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 512 (order: 3, 32768 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
Serial: AMBA PL011 UART driver
120a0000.uart: ttyAMA0 at MMIO 0x120a0000 (irq = 21, base_baud = 0) is a PL011 rev2
console [ttyAMA0] enabled
SCSI subsystem initialized
ssp-pl022 120c0000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120c0000.spi: mapped registers from 0x120c0000 to c8834000
ssp-pl022 120c1000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120c1000.spi: mapped registers from 0x120c1000 to c8838000
ssp-pl022 120c2000.spi: ARM PL022 driver, device ID: 0x00800022
ssp-pl022 120c2000.spi: mapped registers from 0x120c2000 to c883a000
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Linux video capture interface: v2.00
clocksource: Switched to clocksource hisp804
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=30 max_order=15 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
fuse init (API version 7.26)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
pl061_gpio 120d0000.gpio_chip: PL061 GPIO chip @0x120d0000 registered
pl061_gpio 120d1000.gpio_chip: PL061 GPIO chip @0x120d1000 registered
pl061_gpio 120d2000.gpio_chip: PL061 GPIO chip @0x120d2000 registered
pl061_gpio 120d3000.gpio_chip: PL061 GPIO chip @0x120d3000 registered
pl061_gpio 120d4000.gpio_chip: PL061 GPIO chip @0x120d4000 registered
pl061_gpio 120d5000.gpio_chip: PL061 GPIO chip @0x120d5000 registered
pl061_gpio 120d6000.gpio_chip: PL061 GPIO chip @0x120d6000 registered
pl061_gpio 120d7000.gpio_chip: PL061 GPIO chip @0x120d7000 registered
pl061_gpio 120d8000.gpio_chip: PL061 GPIO chip @0x120d8000 registered
pl061_gpio 120d9000.gpio_chip: PL061 GPIO chip @0x120d9000 registered
pl061_gpio 120da000.gpio_chip: PL061 GPIO chip @0x120da000 registered
pl061_gpio 120db000.gpio_chip: PL061 GPIO chip @0x120db000 registered
brd: module loaded
libphy: hisi_femac_mii_bus: probed
libphy: Fixed MDIO Bus: probed
Generic PHY 10011100.mdio:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=10011100.mdio:01, irq=-1)
phy_id=0x001cc816, phy_mode=rmii
hisi-femac 10010000.ethernet: using random MAC address c2:ac:6b:54:15:1c
usbcore: registered new interface driver r8152
xhci-hcd 100e0000.xhci_0: xHCI Host Controller
xhci-hcd 100e0000.xhci_0: new USB bus registered, assigned bus number 1
xhci-hcd 100e0000.xhci_0: hcc params 0x0220fe6c hci version 0x110 quirks 0x20010010
xhci-hcd 100e0000.xhci_0: irq 29, io mem 0x100e0000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd 100e0000.xhci_0: xHCI Host Controller
xhci-hcd 100e0000.xhci_0: new USB bus registered, assigned bus number 2
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: hub can't support USB3.0
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
usbcore: registered new interface driver xpad
hibvt_rtc 12080000.rtc: rtc core: registered 12080000.rtc as rtc0
hibvt_rtc 12080000.rtc: RTC driver for hibvt enabled
i2c /dev entries driver
hibvt-i2c 120b0000.i2c: hibvt-i2c0@100000hz registered
hibvt-i2c 120b1000.i2c: hibvt-i2c1@100000hz registered
hibvt-i2c 120b2000.i2c: hibvt-i2c2@100000hz registered
hibvt-i2c 120b3000.i2c: hibvt-i2c3@100000hz registered
hibvt-i2c 120b4000.i2c: hibvt-i2c4@100000hz registered
hibvt-i2c 120b5000.i2c: hibvt-i2c5@100000hz registered
hibvt-i2c 120b6000.i2c: hibvt-i2c6@100000hz registered
hibvt-i2c 120b7000.i2c: hibvt-i2c7@100000hz registered
usbcore: registered new interface driver uvcvideo
USB Video Class driver (1.1.1)
himci: mmc host probe
himci: mmc host probe
mmc0: CMDQ supported: depth: 16
scan edges:2 p2f:6 f2p:1
mix set temp-phase 3
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered protocol family 10
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
scan elemnts: startp:3 endp:120
Tuning SampleClock. mix set phase:[03/07] ele:[13/16] 
hibvt_rtc 12080000.rtc: setting system clock to 1970-01-01 06:38:43 UTC (23923)
clk: Not disabling unused clocks
Waiting for root device /dev/mmcblk0p3...
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[89]: starting eudev-3.2.7
[RCS]: /etc/init.d/S80network
Auto login as root ...
login[105]: root login on 'ttyS000'
Welcome to HiLinux.
None of nfsroot found in cmdline.
~ # 
~ # 
~ # 

[END] 2021/3/23 15:36:36

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: hi3516dv300是一款高性能的视频处理芯片,主要用于监控、安防、智能家居等领域。它采用了ARM Cortex-A7架构的CPU和高性能的图像处理模块,能够实现高清视频的编解码、图像处理和智能分析等功能。 u-boot是一个开源的引导加载程序,用于启动嵌入式系统。它负责初始化硬件、加载操作系统内核,并提供命令行界面来操作和控制系统。对于hi3516dv300芯片来说,u-boot也是必不可少的,它能够加载和启动操作系统,开发者可以通过u-boot来进行系统调试和修改。 bin文件是一种二进制文件格式,用于存储机器语言的指令和数据。在hi3516dv300中,u-boot bin文件是经过编译后生成的可执行文件,它包含了u-boot的所有代码和数据,可以直接烧写到芯片的闪存中,用于启动系统。 csdn是一个网络社区平台,提供了众多技术和学习资源。在csdn上可以找到和hi3516dv300芯片相关的资料和开发文档,可以与其他开发者进行交流和学习。对于开发者来说,csdn是一个宝贵的资源库,能够帮助他们更好地理解和应用hi3516dv300芯片。 ### 回答2: Hi3516DV300是一款由华为海思公司推出的嵌入式处理器,具有强大的图像处理和视频编解码功能。该处理器内置的U-boot是一种开源的引导加载程序,可用于启动操作系统并加载应用程序。 CSND是中国领先的IT技术社区,提供了广泛的技术交流和资源共享平台。在CSND上,你可以找到Hi3516DV300系列芯片的相关资料和技术文章,了解其技术特性、应用场景和开发方式等。 如果你想使用Hi3516DV300芯片,首先你需要获取它的U-boot二进制文件。这个二进制文件是预先编译好的,可以直接烧录到芯片中。U-boot在启动时会进行硬件初始化、加载操作系统内核,并提供命令行界面供用户进行配置和操作。 在CSND上,你可以找到一些Hi3516DV300 U-boot bin的相关资源下载链接。你可以根据自己的需求选择适合的版本进行下载,并按照相关文档进行烧录和配置。 总之,Hi3516DV300芯片和它的U-boot引导程序在CSND上都有相关资源可供参考和下载。希望这些信息能对你有所帮助。 ### 回答3: hi3516dv300海思半导体推出的一款高性能视频处理芯片,可以广泛应用于监控摄像头、智能家居、工业视觉等领域。它具有低功耗、高性能、丰富的接口等特点,深受市场欢迎。 而U-boot是一种开源的引导加载程序,用于启动操作系统。它具有灵活的配置选项,可以适配多种不同的硬件平台和操作系统。 而.bin文件是二进制文件的一种格式,可以将程序代码编译成计算机可读的二进制形式。 CSDN是中国最大的IT技术社区,提供丰富的技术文章和论坛交流平台,涵盖了计算机科学、软件开发、网络安全等众多领域。 因此,hi3516dv300 u-boot bin csdn可以理解为指的是使用hi3516dv300芯片,编译好的U-boot二进制文件,并在CSDN上进行相关技术discussion和分享。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值