2020-01-06 21:21:02 +01:00
|
|
|
final: super:
|
|
|
|
|
|
|
|
let
|
2020-01-06 21:21:57 +01:00
|
|
|
inherit (final) callPackage kernelPatches linuxPackagesFor;
|
2020-01-06 21:21:02 +01:00
|
|
|
in
|
|
|
|
{
|
|
|
|
# Alternative BSP u-boot, with nvme support if desired
|
|
|
|
# * https://gitlab.manjaro.org/manjaro-arm/packages/core/uboot-pinebookpro
|
|
|
|
u-boot-pinebookpro = callPackage ./u-boot {};
|
2020-01-06 21:21:57 +01:00
|
|
|
linux-pinebookpro = callPackage ./kernel {
|
|
|
|
kernelPatches = [
|
|
|
|
kernelPatches.bridge_stp_helper
|
|
|
|
#kernelPatches.export_kernel_fpu_functions
|
|
|
|
{
|
|
|
|
name = "pinebookpro-config-fixes";
|
|
|
|
patch = null;
|
|
|
|
extraConfig = ''
|
|
|
|
PCIE_ROCKCHIP y
|
|
|
|
PCIE_ROCKCHIP_HOST y
|
|
|
|
PCIE_DW_PLAT y
|
|
|
|
PCIE_DW_PLAT_HOST y
|
|
|
|
PHY_ROCKCHIP_PCIE y
|
|
|
|
PHY_ROCKCHIP_INNO_HDMI y
|
|
|
|
PHY_ROCKCHIP_DP y
|
|
|
|
ROCKCHIP_MBOX y
|
|
|
|
STAGING_MEDIA y
|
|
|
|
VIDEO_HANTRO y
|
|
|
|
VIDEO_HANTRO_ROCKCHIP y
|
|
|
|
USB_DWC2_PCI y
|
|
|
|
ROCKCHIP_LVDS y
|
|
|
|
ROCKCHIP_RGB y
|
|
|
|
'';
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
linuxPackages-pinebookpro = linuxPackagesFor final.linux-pinebookpro;
|
2020-01-06 21:21:02 +01:00
|
|
|
}
|