firmware: add extraction script and source