Migrating to Linux, Day 6
Flashing STM32F4 DiscoveryI almost gave up. Trying to flash my STM32F4 Discovery has been a nightmare. The stlink code I found didn't seem to work reliably for me. At long last I discovered OpenOCD does work. Then realized that it was mass-erasing the chip before flashing. Trying that with stlink works better. But I'd rather erase only what's needed. So, still struggling but at least there's hope of developing on STM32 on Linux.
Time MachineMeanwhile I discovered something that would be painful to do in Windows (I think), emulating a TimeCapsule. Using netatalk 2.2 (apt-get install netatalk) I followed this guide but ignore the bit on Avahi and use the tm option on your volume.
The network backup disk does not support the required AFP features
After attempting to backup on OS X Lion or later, you get the "does not support the required AFP features" error. You may find in your Mac's /var/log/system.log that your Time Machine volume doesn't support TM Lock stealing.
- Make sure you're running netatalk 2.2 or higher which supports the required AFP 3.3
- If it's enabled, disable the afpd service in avahi by removing /etc/avahi/services/afpd.service (whatever it may be called) so that netatalk can advertise the volume; restart avahi-daemon.
- Add tm to the options in AppleVolumes.default and restart netatalk
- Unmount /Volumes/TimeMachine (or whatever the volume is called) on your Mac or it won't see the changes you made on Linux.