orgua / shepherd

Synchronized Energy Harvesting Emulator and Recorder
MIT License
2 stars 2 forks source link

Ansible Shepherd-Install softbricks the Beaglebone #22

Closed orgua closed 1 year ago

orgua commented 1 year ago

there seems to be a bug where the update_kernel.sh does not activate the downgrade to kernel 4.19 (from time to time). -> current dev-branch has guards implemented in the ansible playbooks before deleting the active kernel-image.

Quick Fix: switch out entry for active kernel in /boot/uEnv.txt during install

Better Fix: double-check in ansible (determine installed kernel, adapt uEnv.txt), TODO

Workaround: there is a ready-to-use image (last update 2022-12-14)

orgua commented 1 year ago

found culprit -> dist-upgrade changed kernel from 4.19 back to 5.10 and a later step removed 5.10....

fixed with - ecd1a60f but the ready-to-use image stays!