mirror of https://github.com/OpenIPC/wiki.git
2.7 KiB
2.7 KiB
OpenIPC Wiki
Selecting hardware to complete OpenIPC FPV kits
Upgrade HI3536 NVR board to OpenIPC FPV firmware
- download actual firmware from OpenIPC site
- unpack firmware archive to your TFTP server
- connect UART adapter to NVR board
- go to u-boot (press Ctrl+C)
- execute a set of commands each line separately, changing the ip address of the nvr board and the ip address of your tftp server
setenv ipaddr 192.168.0.222
setenv serverip 192.168.0.8
setenv netmask 255.255.255.0
setenv bootcmd 'sf probe 0; sf read 0x82000000 0x50000 0x300000; bootm 0x82000000'
setenv uk 'mw.b 0x82000000 ff 1000000; tftp 0x82000000 uImage.${soc}; sf probe 0; sf erase 0x50000 0x300000; sf write 0x82000000 0x50000 ${filesize}'
setenv ur 'mw.b 0x82000000 ff 1000000; tftp 0x82000000 rootfs.squashfs.${soc}; sf probe 0; sf erase 0x350000 0x800000; sf write 0x82000000 0x350000 ${filesize}'
setenv bootargs 'mem=192M console=ttyAMA0,115200 panic=20 root=/dev/mtdblock3 rootfstype=squashfs init=/init mtdparts=hi_sfc:256k(boot),64k(env),3072k(kernel),10240k(rootfs),-(rootfs_data)'
setenv osmem '192M'
setenv totalmem '256M'
setenv soc 'hi3536dv100'
setenv da; setenv du; setenv dr; setenv dw; setenv dl; setenv dc; setenv up; setenv tk; setenv dd; setenv de; setenv jpeg_addr
setenv jpeg_size; setenv vobuf; setenv loadlogo; setenv appVideoStandard; setenv appSystemLanguage; setenv appCloudExAbility
saveenv
run uk
run ur
reset
Alternative variant not ready yet !
Guideline flash Hi3536DV100 NVR board from original to OpenIPC FPV firmware
- Install PUTTY and TFTP server
- Download actual image for NVR from OpenIPC site
- Upload this image to your TFTP server
- Turn off NVR power, connect USB adapter to your NVR UART, specify which COM port on your PC
- Go to U-Boot with quick press Ctrl+C at power on
- Execute a set of commands each line separately
# Сhanging the ip address of the NVR board and the ip address of your TFTP server
setenv ipaddr 192.168.1.10; setenv serverip 192.168.1.254
mw.b 0x82000000 0xff 0x1000000
tftp 0x82000000 openipc-hi3536dv100-fpv-16mb.bin
sf probe 0; sf lock 0;
sf erase 0x0 0x1000000; sf write 0x82000000 0x0 0x1000000
reset