pmbootstrap/pmOS should offer a 'debug mode'
This debug mode would produce a pmOS install that
- disables splash screens on boot
- prints kernel and openrc messages to screen (pass
PMOS_NO_OUTPUT_REDIRECT
kernel cmdline) - disables fde
- adds the usb hook to initramfs.
- pmbootstrap presents a big fat warning that pmos is running in 'debug mode' and should not be used for production
- modify /etc/os-release to indicate that it's pmOS-debug or something
- This would be a (non-default) parameter to
pmbootstrap install
, like--debug-mode
or-d
for short (assumingd
isn't already taken.. I didn't look) - do not install any UI
- add some kernel cmdline to have a more verbose kernel log
- install all possible -dbg subpackages?
- Install some extra tools to help with debugging:
- evtest
- fftest
- gdb-server (not sure it works for armhf)
- strace
- sysstat (performance monitoring tools)
- procps
- nmap
Anything else that would be useful? Any additional tools that could be installed automatically when this is enabled to assist folks with porting/debugging their device?