update
This commit is contained in:
parent
7036f5db2a
commit
0c7ec417a5
3 changed files with 30 additions and 2 deletions
|
@ -69,6 +69,10 @@
|
|||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/mmcblk0p1";
|
||||
fsType = "vfat";
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
|
|
18
wiiu-disable-mem0.patch
Normal file
18
wiiu-disable-mem0.patch
Normal file
|
@ -0,0 +1,18 @@
|
|||
diff --git a/arch/powerpc/boot/dts/wiiu.dts b/arch/powerpc/boot/dts/wiiu.dts
|
||||
index 08bc64c89f..b3dd31c227 100644
|
||||
--- a/arch/powerpc/boot/dts/wiiu.dts
|
||||
+++ b/arch/powerpc/boot/dts/wiiu.dts
|
||||
@@ -21,10 +21,12 @@ memory@0 {
|
||||
device_type = "memory";
|
||||
reg = <0x00000000 0x02000000>; /* MEM1 - 32MiB */
|
||||
};
|
||||
+/*
|
||||
memory@8000000 {
|
||||
device_type = "memory";
|
||||
- reg = <0x08000000 0x00300000>; /* MEM0 - 3MiB */
|
||||
+// reg = <0x08000000 0x00300000>; // MEM0 - 3MiB
|
||||
};
|
||||
+*/
|
||||
memory@10000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x10000000 0x80000000>; /* MEM2 - 2GiB */
|
|
@ -28,12 +28,18 @@ lib.overrideDerivation
|
|||
needsCifsUtils = false;
|
||||
};
|
||||
|
||||
enableCommonConfig = false;
|
||||
kernelPatches = [
|
||||
{
|
||||
name = "fix-mem0";
|
||||
patch = ./wiiu-disable-mem0.patch;
|
||||
}
|
||||
];
|
||||
|
||||
#enableCommonConfig = false;
|
||||
#structuredExtraConfig = import ./stripped-config.nix {
|
||||
# version = "6.6.75-wiiu";
|
||||
# inherit lib stdenv ;
|
||||
# rustAvailable = true;
|
||||
|
||||
# features = {}; # Ensure we know of all extra patches, etc.
|
||||
#};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue