Hi,
I want to create a firmware upgrade script for R2 cameras only for rootfs (on my camera is mapend on mtd5 ) which basically: 1. download an image, 2. updates the mtd, 3. reboot the camera.
My main concerns are:
1. How i should upgrade the rootfs, is there any script or tool? (in other firmwares i used flashcp),
2. Does the camera has any kind of protection like a signature or magic number? or i just get the mtd5 from one camera and put it on another cam.
3. how should i generate the rootsfs using the current hiktools to unpack/repack the firmware? i assume i can't just get the app.img and put it inside the mtd5.
Thanks!!
I want to create a firmware upgrade script for R2 cameras only for rootfs (on my camera is mapend on mtd5 ) which basically: 1. download an image, 2. updates the mtd, 3. reboot the camera.
My main concerns are:
1. How i should upgrade the rootfs, is there any script or tool? (in other firmwares i used flashcp),
2. Does the camera has any kind of protection like a signature or magic number? or i just get the mtd5 from one camera and put it on another cam.
3. how should i generate the rootsfs using the current hiktools to unpack/repack the firmware? i assume i can't just get the app.img and put it inside the mtd5.
Thanks!!