Move patches to its own directory

This commit is contained in:
Rodrigo Arias 2024-09-06 08:22:14 +02:00
parent e2c770208e
commit 3dad4fb3d1
24 changed files with 19 additions and 19 deletions

View File

@ -126,7 +126,7 @@
"PLATFORM=fpga/openpiton" "PLATFORM=fpga/openpiton"
"FW_PAYLOAD_PATH=${final.uboot}/u-boot-nodtb.bin" "FW_PAYLOAD_PATH=${final.uboot}/u-boot-nodtb.bin"
]; ];
patches = [ ./opensbi-lagarto-hun.patch ]; patches = [ ./patches/opensbi-lagarto-hun.patch ];
}); });
}) ]; }) ];
} }

View File

@ -357,7 +357,7 @@
nixpkgs.overlays = [ (final: prev: { nixpkgs.overlays = [ (final: prev: {
#busybox = prev.busybox.overrideAttrs (old: { #busybox = prev.busybox.overrideAttrs (old: {
# # Print some debug lines on switch_root to see where it hangs. # # 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; linuxPackages_latest = prev.linuxPackages_latest;
@ -396,9 +396,9 @@
# rev = "f80a22a480f0e4157647bacf90e663be457c72c4"; # rev = "f80a22a480f0e4157647bacf90e663be457c72c4";
#}; #};
patches = [ patches = [
#./u-boot-debug.patch #./patches/u-boot-debug.patch
./uboot-debug-ext-interrupts.patch ./patches/uboot-debug-ext-interrupts.patch
./uboot-exception-extras.patch ./patches/uboot-exception-extras.patch
]; ];
# Copy our environment to board/emulation/qemu-riscv/environ.env # Copy our environment to board/emulation/qemu-riscv/environ.env
preConfigure = '' preConfigure = ''
@ -523,13 +523,13 @@
"FW_PAYLOAD_FDT_ADDR=0xc0000000" "FW_PAYLOAD_FDT_ADDR=0xc0000000"
]; ];
patches = [ patches = [
#./opensbi-timer-debug.patch # Print calls to machine trap #./patches/opensbi-timer-debug.patch # Print calls to machine trap
#./opensbi-enable-meip.patch #./patches/opensbi-enable-meip.patch
#./opensbi-enable-seip.patch #./patches/opensbi-enable-seip.patch
#./opensbi-test-plic.patch # Working delegation test, disabled for now #./patches/opensbi-test-plic.patch # Working delegation test, disabled for now
./opensbi-dump-mregs.patch ./patches/opensbi-dump-mregs.patch
#./opensbi-dont-delegate.patch #./patches/opensbi-dont-delegate.patch
#./ox-alveo-platform-plic.patch #./patches/ox-alveo-platform-plic.patch
]; ];
}); });
@ -545,9 +545,9 @@
ref = "master"; ref = "master";
}; };
patches = [ patches = [
./ethernet-driver-poll.patch ./patches/ethernet-driver-poll.patch
./ethernet-driver-build.patch ./patches/ethernet-driver-build.patch
./ethernet-driver-kbuild.patch ./patches/ethernet-driver-kbuild.patch
]; ];
preConfigure = '' preConfigure = ''
export sourceRoot=$PWD/drivers export sourceRoot=$PWD/drivers

View File

@ -42,10 +42,10 @@ final: prev:
}; };
dontConfigure = true; dontConfigure = true;
patches = [ patches = [
#./sa-fpga-crt.patch #./patches/sa-fpga-crt.patch
#./sa-fpga-text-address.patch #./patches/sa-fpga-text-address.patch
./sa-fpga-uart.patch ./patches/sa-fpga-uart.patch
./sa-fpga-plic-registers.patch ./patches/sa-fpga-plic-registers.patch
]; ];
buildPhase = '' buildPhase = ''
cd fpga_core_bridge/simulator/tests/c_tests/ cd fpga_core_bridge/simulator/tests/c_tests/