Enable kernel and busybox debug
Continues to hang in switch_root and no luck trying to send a magic sysrq via serial port.
This commit is contained in:
parent
046f017b70
commit
109dea5b4e
@ -40,13 +40,25 @@
|
||||
# No vector extensions
|
||||
+ ''
|
||||
RISCV_ISA_V n
|
||||
CONFIG_RISCV_ISA_V_DEFAULT_ENABLE n
|
||||
RISCV_ISA_V_DEFAULT_ENABLE n
|
||||
''
|
||||
# Debugging
|
||||
+ ''
|
||||
DEBUG_KERNEL y
|
||||
DEBUG_MISC y
|
||||
DEBUG_WX y
|
||||
MAGIC_SYSRQ y
|
||||
SYSRQ_SERIAL y
|
||||
DEBUG_VM y
|
||||
SOFTLOCKUP_DETECTOR y
|
||||
SOFTLOCKUP_DETECTOR_INTR_STORM y
|
||||
HARDLOCKUP_DETECTOR y
|
||||
DETECT_HUNG_TASK y
|
||||
WQ_WATCHDOG y
|
||||
WQ_CPU_INTENSIVE_REPORT y
|
||||
LOCK_TORTURE_TEST y
|
||||
''
|
||||
# RISCV_ISA_ZICBOM n
|
||||
;
|
||||
}
|
||||
];
|
||||
@ -95,14 +107,14 @@
|
||||
};
|
||||
|
||||
nixpkgs.overlays = [ (final: prev: {
|
||||
|
||||
# FIXME: Fails on start
|
||||
# busybox = (prev.busybox.override {
|
||||
busybox = (prev.busybox.override {
|
||||
# enableStatic = true;
|
||||
# }).overrideAttrs (old: {
|
||||
}).overrideAttrs (old: {
|
||||
src = /home/Computational/rarias/riscv/busybox-1.36.1;
|
||||
# #env.NIX_CFLAGS_COMPILE = "-mtune=generic";
|
||||
# #env.NIX_DEBUG = 5;
|
||||
# });
|
||||
});
|
||||
|
||||
linuxPackages_latest = prev.linuxPackages_latest;
|
||||
#linuxPackages_latest = prev.linuxPackages_latest.extend (lib.const (ksuper: {
|
||||
|
Loading…
Reference in New Issue
Block a user