Difference between revisions of "AXIOM Beta Firmware Version 2.0"

From apertus wiki
Jump to: navigation, search
Line 18: Line 18:
* all camera related programs and scripts are now prefixed with <code>axiom-</code> (for example to run <code>set_gain.sh</code> use run <code>axiom-set_gain.sh</code>)
* all camera related programs and scripts are now prefixed with <code>axiom-</code> (for example to run <code>set_gain.sh</code> use run <code>axiom-set_gain.sh</code>)
* <code>kick_manual.sh</code> was renamed to <code>start.sh</code>
* <code>kick_manual.sh</code> was renamed to <code>start.sh</code>
* <code>halt_manual.sh</code> was renamed to <code>stop.sh</code>
* Image build log is located in each image under: <code>/var/build.log</code>  
* Image build log is located in each image under: <code>/var/build.log</code>  
* devicetree source can be found at <code>/boot/devicetree.dts</code>. To recompile it after any changes use <code>dtc -O dtb -o /boot/devicetree.dtb /boot/devicetree.dts</code>
* devicetree source can be found at <code>/boot/devicetree.dts</code>. To recompile it after any changes use <code>dtc -O dtb -o /boot/devicetree.dtb /boot/devicetree.dts</code>
Line 26: Line 27:
* <code>/opt/axiom-firmware</code> contains scripts and binaries
* <code>/opt/axiom-firmware</code> contains scripts and binaries
* every beta currently has the same MAC address - a random one should be generated on the first boot, but this is not implemented yet.
* every beta currently has the same MAC address - a random one should be generated on the first boot, but this is not implemented yet.
Further documentation:
* https://github.com/apertus-open-source-cinema/axiom-beta-firmware/blob/master/README.md
* https://github.com/apertus-open-source-cinema/axiom-beta-firmware/blob/master/software/scripts/README.md

Revision as of 17:16, 31 March 2019

1 Prepare Micro SD Card

  1. Get a new Micro SD card (4GB is enough, bigger is fine as well, but the partitions are not yet automatically resized when a bigger SD card is detected)
  2. Acquire the latest automatically built firmware image from: https://github.com/apertus-open-source-cinema/axiom-beta-firmware/releases
  3. download, install and start Etcher: https://www.balena.io/etcher/
  4. Flash the acquired image to a new Micro SD card with Etcher (we highly recommend not overwriting the Micro SD card you currently use in your AXIOM Beta)
  5. After flashing put the Micro SD card into the AXIOM Beta Microzed SD card slot and power up the Beta

2 Notes

This new firmware is still in development so expect issues and bugs.

This is the list of current issues/bugs: https://github.com/apertus-open-source-cinema/axiom-beta-firmware/issues

If you find a new bug or have ideas for improvement please add it as github issue (please first check it has not been reported yet).

  • default user is now “operator” with pw: “axiom”
  • sudo is required to change system/camera settings (like running the various scripts)
  • all camera related programs and scripts are now prefixed with axiom- (for example to run set_gain.sh use run axiom-set_gain.sh)
  • kick_manual.sh was renamed to start.sh
  • halt_manual.sh was renamed to stop.sh
  • Image build log is located in each image under: /var/build.log
  • devicetree source can be found at /boot/devicetree.dts. To recompile it after any changes use dtc -O dtb -o /boot/devicetree.dtb /boot/devicetree.dts
  • to interrupt the autoboot from u-boot send Ctrl-C over serial quickly after a boot / reboot (try holding it down)
  • axiom-file-check.sh does an integrity check of /usr, /etc and /opt
  • binaries are linked in: /usr/axiom/bin
  • scripts are linked in: /usr/axiom/script
  • /opt/axiom-firmware contains scripts and binaries
  • every beta currently has the same MAC address - a random one should be generated on the first boot, but this is not implemented yet.

Further documentation: