From 5ed8736ff05e83842c5a8f77a754d32ae7d40a91 Mon Sep 17 00:00:00 2001 From: Petru Soroaga Date: Fri, 19 Jan 2024 18:33:30 +0200 Subject: [PATCH] Update building.md Add info on how to flash/install the build image. --- en/building.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/en/building.md b/en/building.md index 5a4b7f8..0112d0e 100644 --- a/en/building.md +++ b/en/building.md @@ -92,6 +92,24 @@ total 35628 -rw-r--r-- 1 paul paul 1597586 Nov 22 06:02 uImage.t10 ``` +### Installing the firmware. + +After you build your custom firmware, you need to install it on the camera. +You can do it in two ways: +1. Use Advanced Install instructions as you did first time you flashed the camera: copy the build files to your TFTP server and then do the flashing procedure as explained in specific Advanced Instructions for your camera; +2. Manual install: boot up your camera, connect it to your local network and then using scp copy the two files (rootfs and uImage) to your camera /tmp folder (/tmp folder is a temporary storage, as big as your camera free RAM). +Then, run this commands: + +```sysupgrade --kernel=/tmp/uImage.... --rootfs=/tmp/rootfs.... -z +``` +Replace uImage... and rootfs... with your actual filenames resulted from the build process. +You can add -n key if you need to clean overlay after update (reset all settings to default). +After the instalation is complete, the camera will reboot automatically. +Connect again to the camera and run this command: + +```firstboot +``` + Anatomy of the project ----------------------