improve emulate.sh
- extract kernel and initrd from
/bootpartition of the system image - pass system image in as command line argument
- execute with
taskset --cpu-list 2,3,4,5on the a311d to support kvm - replace shell process with qemu to support running under
timeoutand other wrappers that want to send a signal to their direct children - extend
sparsedd.pyso that it's able to copy with an input offset and optional input byte count