diff --git a/lagarto-ox.nix b/lagarto-ox.nix index 78220fe..9350cd1 100644 --- a/lagarto-ox.nix +++ b/lagarto-ox.nix @@ -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: {