How to put the dragonboard into "debug" mode

This is a quick HOWTO on how to put a dragonboard UC18 into giving a debug shell. We need to do this right now because we need to debug a segfault on the dragonboard in console-conf.

The following steps are needed:

# mount the fresh sd card writable partition to /mnt/writable
touch /mnt/writable/system-data/var/lib/console-conf/complete
mkdir /mnt/writable/system-data/etc/systemd/system/serial-getty@.service.d/
cat >/mnt/writable/system-data/etc/systemd/system/serial-getty@.service.d/autologin.conf <<EOF
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin root -s %I 115200,38400,9600 vt102
EOF