boot: Update the test generation script for serial and rootfs
Update the script to include serial port config, serial console and the
proper root filesystem. This works for amd64 + ufs, but might need a
slight refactor for aarch64 and/or zfs.
Sponsored by: Netflix