OpenROV / openrov-software

Meta project for all of the OpenROV Software projects
http://openrov.com
Other
423 stars 189 forks source link

31.0.x/dev build: No messages in "Notifications" on first boot #611

Open spiderkeys opened 7 years ago

spiderkeys commented 7 years ago

Steps and observations:

  1. Burned latest dev image
  2. Waited for the first reboot (sysdetect installing dt overlays)
  3. SSH'd in
  4. Immediately ran top and saw that there was a firmware build in progress. This is proper.
  5. Opened cockpit a few minutes later after all of the firmware build/flash steps had been completed.
  6. No notification messages were waiting for me to indicate that a firmware build/flash had taken place
  7. Subsequent builds seemed to behave properly if I started them from the diagnostics window (all log messages came up, as well as notifications)
BrianAdams commented 7 years ago

Is it possible that the system was only checking to see if firmware updates were needed? It won't trigger the update notifications unless the statemachine actually tries to build or push the firmware.

spiderkeys commented 7 years ago

No, currently fresh images always build the firmware the first time they come up, as there is no existing build file (/opt/openrov/system/config/lastBuildHash) with a "last hash" to compare against. Also, I watched the compiler and avrdude running in top at first boot.