##// END OF EJS Templates
.
Unknown -
r560:c6ad57448345
parent child
Show More
@@ -97,6 +97,13 if [ "$BUILD_KERNEL" = true ] ; then
97
97
98 #Switch to KERNELSRC_DIR so we can use set_kernel_config
98 #Switch to KERNELSRC_DIR so we can use set_kernel_config
99 cd "${KERNEL_DIR}" || exit
99 cd "${KERNEL_DIR}" || exit
100
101 #Fix SD_DRIVER f* up in Raspberry PI upstream kernel
102 # use correct driver MMC_BCM2835_MMC instead of MMC_BCM2835_SDHOST - variable naming is bs
103 set_kernel_config CONFIG_MMC_BCM2835 n
104 set_kernel_config CONFIG_MMC_SDHCI_IPROC n
105 set_kernel_config CONFIG_USB_DWC2 n
106 sed -i "s|depends on MMC_BCM2835_MMC && MMC_BCM2835_DMA|depends on MMC_BCM2835_MMC|" "${KERNEL_DIR}"/drivers/mmc/host/Kconfig
100
107
101 # enable ZSWAP see https://askubuntu.com/a/472227 or https://wiki.archlinux.org/index.php/zswap
108 # enable ZSWAP see https://askubuntu.com/a/472227 or https://wiki.archlinux.org/index.php/zswap
102 if [ "$KERNEL_ZSWAP" = true ] ; then
109 if [ "$KERNEL_ZSWAP" = true ] ; then
@@ -107,9 +114,7 if [ "$BUILD_KERNEL" = true ] ; then
107 set_kernel_config CONFIG_ZSMALLOC y
114 set_kernel_config CONFIG_ZSMALLOC y
108 set_kernel_config CONFIG_PGTABLE_MAPPING y
115 set_kernel_config CONFIG_PGTABLE_MAPPING y
109 set_kernel_config CONFIG_LZO_COMPRESS y
116 set_kernel_config CONFIG_LZO_COMPRESS y
110 set_kernel_config CONFIG_MMC_SDHCI_IPROC n
117
111 set_kernel_config CONFIG_USB_DWC2 n
112 set_kernel_config CONFIG_MMC_BCM2835 n
113 fi
118 fi
114
119
115 # enable basic KVM support; see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=210546&start=25#p1300453
120 # enable basic KVM support; see https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=210546&start=25#p1300453
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant