This assumes you have:
- a development machine, here called "dev"
- a device under test, here called "dut"
- a serial console to dut
- network access from dut to dev
- the same arch dev and dut
You may need to change:
- GENERIC (in dev:.ssh/authorized_keys) to something else, e.g. maybe GENERIC.MP
The dut will boot your development kernel in single-user mode.
You can break to ddb with ddb
.
You can run kernel-update
to:
- (re)mount the appropriate file systems
- ssh to the dev machine and fetch the new kernel (which is forced server-side)
- reboot into it