Move patches to its own directory
This commit is contained in:
parent
e2c770208e
commit
3dad4fb3d1
@ -126,7 +126,7 @@
|
||||
"PLATFORM=fpga/openpiton"
|
||||
"FW_PAYLOAD_PATH=${final.uboot}/u-boot-nodtb.bin"
|
||||
];
|
||||
patches = [ ./opensbi-lagarto-hun.patch ];
|
||||
patches = [ ./patches/opensbi-lagarto-hun.patch ];
|
||||
});
|
||||
}) ];
|
||||
}
|
||||
|
@ -357,7 +357,7 @@
|
||||
nixpkgs.overlays = [ (final: prev: {
|
||||
#busybox = prev.busybox.overrideAttrs (old: {
|
||||
# # Print some debug lines on switch_root to see where it hangs.
|
||||
# patches = (old.patches or []) ++ [ ./busybox-debug.patch ];
|
||||
# patches = (old.patches or []) ++ [ ./patches/busybox-debug.patch ];
|
||||
#});
|
||||
|
||||
linuxPackages_latest = prev.linuxPackages_latest;
|
||||
@ -396,9 +396,9 @@
|
||||
# rev = "f80a22a480f0e4157647bacf90e663be457c72c4";
|
||||
#};
|
||||
patches = [
|
||||
#./u-boot-debug.patch
|
||||
./uboot-debug-ext-interrupts.patch
|
||||
./uboot-exception-extras.patch
|
||||
#./patches/u-boot-debug.patch
|
||||
./patches/uboot-debug-ext-interrupts.patch
|
||||
./patches/uboot-exception-extras.patch
|
||||
];
|
||||
# Copy our environment to board/emulation/qemu-riscv/environ.env
|
||||
preConfigure = ''
|
||||
@ -523,13 +523,13 @@
|
||||
"FW_PAYLOAD_FDT_ADDR=0xc0000000"
|
||||
];
|
||||
patches = [
|
||||
#./opensbi-timer-debug.patch # Print calls to machine trap
|
||||
#./opensbi-enable-meip.patch
|
||||
#./opensbi-enable-seip.patch
|
||||
#./opensbi-test-plic.patch # Working delegation test, disabled for now
|
||||
./opensbi-dump-mregs.patch
|
||||
#./opensbi-dont-delegate.patch
|
||||
#./ox-alveo-platform-plic.patch
|
||||
#./patches/opensbi-timer-debug.patch # Print calls to machine trap
|
||||
#./patches/opensbi-enable-meip.patch
|
||||
#./patches/opensbi-enable-seip.patch
|
||||
#./patches/opensbi-test-plic.patch # Working delegation test, disabled for now
|
||||
./patches/opensbi-dump-mregs.patch
|
||||
#./patches/opensbi-dont-delegate.patch
|
||||
#./patches/ox-alveo-platform-plic.patch
|
||||
];
|
||||
});
|
||||
|
||||
@ -545,9 +545,9 @@
|
||||
ref = "master";
|
||||
};
|
||||
patches = [
|
||||
./ethernet-driver-poll.patch
|
||||
./ethernet-driver-build.patch
|
||||
./ethernet-driver-kbuild.patch
|
||||
./patches/ethernet-driver-poll.patch
|
||||
./patches/ethernet-driver-build.patch
|
||||
./patches/ethernet-driver-kbuild.patch
|
||||
];
|
||||
preConfigure = ''
|
||||
export sourceRoot=$PWD/drivers
|
||||
|
@ -42,10 +42,10 @@ final: prev:
|
||||
};
|
||||
dontConfigure = true;
|
||||
patches = [
|
||||
#./sa-fpga-crt.patch
|
||||
#./sa-fpga-text-address.patch
|
||||
./sa-fpga-uart.patch
|
||||
./sa-fpga-plic-registers.patch
|
||||
#./patches/sa-fpga-crt.patch
|
||||
#./patches/sa-fpga-text-address.patch
|
||||
./patches/sa-fpga-uart.patch
|
||||
./patches/sa-fpga-plic-registers.patch
|
||||
];
|
||||
buildPhase = ''
|
||||
cd fpga_core_bridge/simulator/tests/c_tests/
|
||||
|
Loading…
Reference in New Issue
Block a user