nfs-dev-deploy
Use this skill for fast development deployment to a Thingino camera without full firmware flashing.
When to use
- You changed a package binary (for example
pryntu) and want to test quickly. - Full image repack/OTA is not needed.
- Camera has
/mnt/nfsmounted from the development host.
Workflow
- Rebuild the package (not full image):
CAMERA=<camera_defconfig> make rebuild-pryntu
- Copy rebuilt artifacts from Buildroot package target to host NFS drop directory:
output/.../per-package/pryntu/target/usr/bin/pryntudoutput/.../per-package/pryntu/target/usr/bin/pryntuctl(if enabled)output/.../per-package/pryntu/target/etc/pryntu.json
- Ensure the same files exist on camera under
/mnt/nfs/<drop>/. - On camera, stop service, bind files, restart service:
/etc/init.d/S31pryntu stopmount --bind /mnt/nfs/<drop>/pryntud /usr/bin/pryntudmount --bind /mnt/nfs/<drop>/pryntuctl /usr/bin/pryntuctl(if present)mount --bind /mnt/nfs/<drop>/pryntu.json /etc/pryntu.json/etc/init.d/S31pryntu start
- Verify:
pidof pryntudmount | grep pryntunetstat -lntp | grep -E ':8090|:554|:8554|:80'
Notes
br-pryntubuilds the package but does not produce a final flash image by itself.- If a bound binary is busy, stop service and unmount bind targets before replacing files.
- Use this for iteration; use OTA only when testing integrated firmware image behavior.