https://github.com/pissang/dfatool/commit/371c637b1d611ca796ab3ccc950fd1aa42a40d14#commitcomment-3149539