sd卡挂载 mount /dev/mmcblk0 /nfsroot vfat
usb下载 usbtftp 0x40000000 sample_venc.bin ;go 0x40000000
Y:HISI_KernelHi3518Ev30011Hi3518EV300_SHC_SDK_V1.0.0.2mppsamplevenc
usbtftp 0x42000000 ScopeVue_V20.1.9.bin ; go 0x40000000
Y:HISI_KernelHi3518Ev300Hi3518EV300_SHC_SDK_V1.0.0.2Upgrade
Y:HISI_KernelHi3518Ev30011Hi3518EV300_SHC_SDK_V1.0.0.2drvextdrvwifi_projectsamplesdio_hi1131sv100
usbtftp 0x42000000 sample_mp4_muxer.bin
GPIO寄存器操作方式:
himd 0x120C0014
himd 0X120B6040
himm 0X120B6040 0x00
himm 0X120B6040 0x01
环境变量:setenv bootcmd 'sf probe 0;sf read 0x40000000 0x100000 0x900000; go 0x40000000'
setenv bootargs mem=512M console=ttyAMA0,115200 clk_ignore_unused rwroot=/dev/mtdblock2 rootfstype=jffs2 mtdparts=hi_sfc:1M(u-boot.bin),9M(kernel),6M(rootfs.jffs2)
saveenv
uboot文件下载:
编译:make ARCH=arm CROSS_COMPILE=arm-himix100-linux- hi3518ev300_config
make ARCH=arm CROSS_COMPILE=arm-himix100-linux- -j 20
make ARCH=arm CROSS_COMPILE=arm-himix100-linux- u-boot-z.bin
usbtftp 0x42000000 u-boot-hi3518ev300.bin
sf probe 0; sf erase 0x000000 0x100000; sf write 0x42000000 0x0 0x100000;
liteos 文件下载:
usbtftp 0x42000000 sample_venc.bin
sf probe 0; sf erase 0x100000 0x900000; sf write 0x42000000 0x100000 0x900000;
烧写到Flash,起始地址为0x100000,烧写长度为0x700000,即烧写
的镜像文件大小不能超过7M,跟据实际镜像大小调整数值
烧录bin文件
usbtftp 0x42000000 ScopeVue_V19.12.24.bin
sf probe 0; sf erase 0x0 0x1000000; sf write 0x42000000 0x0 0x1000000;
STA MODE:
wap_start
wpa_connect 0 HUAWEI-HZC wpa2 h12345678 1
AP MODE:
start_hapd 1 hz_deme 0 [HT20] wpa2 aes 12345678
关闭低功耗 set_pm_switch 0
arp -s 192.168.1.45 30-9C-23-66-5D-EF
查看jffs分区
partition jffs命令查看jffs分区信息
nfs挂着命令 mount 192.168.1.180:/work_data/nfs_share/ /nfsroot nfs 1011 1000
SD卡挂载:
/dev/mmcblk0p0
mount /dev/mmcblk0p0 /nfsroot vfat
————————————————
版权声明:本文为CSDN博主「等风来_小库」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u011585795/article/details/104310728/