attempt to get pi4 display working again
This commit is contained in:
parent
31d382852a
commit
f7f42c3006
@ -17,7 +17,7 @@ in {
|
||||
boot = {
|
||||
initrd.availableKernelModules =
|
||||
[ "usbhid" "usb_storage" "vc4" "rtc-ds3232" "rtc-ds1307" ];
|
||||
kernelPackages = pkgs.linuxPackages_rpi4;
|
||||
kernelPackages = pkgs.linuxPackages;
|
||||
kernelModules = [ "raspberrypi_ts" "rtc-ds3232" "rtc-ds1307" ];
|
||||
#kernelPatches = [{
|
||||
# name = "touchscreen";
|
||||
|
@ -16,9 +16,26 @@
|
||||
|
||||
hardware.deviceTree = {
|
||||
overlays = [
|
||||
"${pkgs.raspberrypifw}/share/raspberrypi/boot/overlays/rpi-ft5406.dtbo"
|
||||
#"${pkgs.raspberrypifw}/share/raspberrypi/boot/overlays/rpi-ft5406.dtbo"
|
||||
{
|
||||
name = "rpi4-cma-overlay";
|
||||
dtsText = ''
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
/ {
|
||||
compatible = "brcm,bcm2711";
|
||||
fragment@0 {
|
||||
target = <&cma>;
|
||||
__overlay__ {
|
||||
size = <(512 * 1024 * 1024)>;
|
||||
};
|
||||
};
|
||||
};
|
||||
'';
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||
#hardware.raspberry-pi."4".fkms-3d.enable = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user