Difference between revisions of "AXIOM Beta/AXIOM Beta Software/Firmware"

From apertus wiki
Jump to: navigation, search
m (Replaced content with "Moved to AXIOM Beta/Firmware")
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The entire AXIOM Beta firmware is stored on a Micro SD card. This means the cameras operating system can be swapped out easily and that external recovery of the camera entire software in case anything went wrong eg. during flashing is always possible. It also means that experimental features can easily be tried and tested by just popping in a different card into the camera.
Moved to [[AXIOM Beta/Firmware]]
 
==Firmware Development Todos==
 
* Automate the firmware image creation in a single script: https://lab.apertus.org/T697
 
* ship with webserver installed and configured: https://wiki.apertus.org/index.php/Installing_a_webserver_on_AXIOM_Beta and Beta webapps reloaded: https://github.com/apertus-open-source-cinema/beta-software/tree/master/http
 
* update beta apps from github to latest: cmv_hist3, cmv_perf3, cmv_snap3, mimg, lut_conf3, cmv_train3 and/or push any pending code changes of these apps to github
 
* place all beta scripts https://github.com/apertus-open-source-cinema/beta-software/tree/master/beta-scripts in /root/
 
* give firmware image version number that can also be read from within the firmware (/etc/os-release, echo with /etc/issue at login)
 
* compile raw2dng in camera and ship firmware with preinstalled binary (in /usr/bin?) (https://github.com/apertus-open-source-cinema/misc-tools-utilities/tree/master/raw2dng)
 
=Firmware Backup=
 
The entire camera firmware is stored on a Micro SD card plugged into the Microzed. To back up the entire firmware we plug in the Micro SD card into a Linux PC and do the following:
 
1. Find out which device the micro SD card is:
cat /proc/partitions
mount
should give you a list of all connected devices. Lets assume in our case that the card is /dev/sdc
 
2. Make sure the card is unmounted (all 3 partitions):
umount /dev/sdc1
umount /dev/sdc2
umount /dev/sdc3
 
3. clone the entire card to a file:
dd if=/dev/sdc of=sdimage.img bs=4M
 
 
Here is a guide that covers doing the same on Mac and Windows: http://raspberrypi.stackexchange.com/questions/311/how-do-i-backup-my-raspberry-pi
 
=Firmware Restore=
Again you need to know the device path of your sd card, then (assuming in our case its /dev/sdb) run:
 
sudo dd if=sdimage.img of=/dev/sdb bs=4M

Latest revision as of 10:38, 15 November 2017