moby: remove pmos kernel config (and replace some m
options with y
to keep functionality)
graphics: works rear camera: works (in megapixels-next) speakers: work headphones: work battery: incapable of charging; battery current capped to below 0. - i *think* this happened when i switched to "all" config, earlier.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
linux-postmarketos-allwinner,
|
||||
newScope,
|
||||
sane-kernel-tools,
|
||||
usePmosConfig ? true,
|
||||
usePmosConfig ? false,
|
||||
withNixpkgsConfig ? true,
|
||||
withFullConfig ? true,
|
||||
withModemPower ? false, #< TODO: fix so it applies
|
||||
@@ -686,12 +686,126 @@ linux.override {
|
||||
# VIDEOBUF2_DMA_CONTIG = yes;
|
||||
|
||||
VIDEO_SUNXI = yes;
|
||||
VIDEO_SUNXI_CEDRUS = yes;
|
||||
# VIDEO_SUNXI_CEDRUS = yes;
|
||||
# # VIDEO_SUNXI_CEDRUS = module; #< implied by VIDEO_SUNXI
|
||||
# #^^^ this isn't enough to get camera working
|
||||
|
||||
MFD_SUN6I_PRCM = yes;
|
||||
|
||||
# allow kernel modules to read the device tree at runtime
|
||||
OF_RESOLVE = yes;
|
||||
OF_OVERLAY = yes;
|
||||
|
||||
THERMAL_STATISTICS = yes;
|
||||
THERMAL_GOV_FAIR_SHARE = yes;
|
||||
THERMAL_GOV_BANG_BANG = yes;
|
||||
USB_ANNOUNCE_NEW_DEVICES = yes;
|
||||
LEDS_BRIGHTNESS_HW_CHANGED = yes;
|
||||
SERIAL_8250_NR_UARTS = freeform "4";
|
||||
RCU_CPU_STALL_TIMEOUT = freeform "60";
|
||||
INPUT_JOYSTICK = yes;
|
||||
RT2800USB_RT3573 = yes;
|
||||
NETFILTER_XTABLES_COMPAT = yes;
|
||||
ARM64_ERRATUM_2441007 = yes;
|
||||
ARM64_ERRATUM_1286807 = yes;
|
||||
ARM64_ERRATUM_1542419 = yes;
|
||||
ARM64_ERRATUM_2441009 = yes;
|
||||
PGTABLE_LEVELS = freeform "4";
|
||||
BT_BNEP_MC_FILTER = yes;
|
||||
BT_BNEP_PROTO_FILTER = yes;
|
||||
BT_LE = yes;
|
||||
BT_LE_L2CAP_ECRED = yes;
|
||||
BT_6LOWPAN = module;
|
||||
BT_HCIUART_3WIRE = yes;
|
||||
BT_HCIUART_RTL = yes;
|
||||
|
||||
CONTEXT_TRACKING_USER = no;
|
||||
TICK_CPU_ACCOUNTING = yes;
|
||||
VIRT_CPU_ACCOUNTING = no;
|
||||
VIRT_CPU_ACCOUNTING_GEN = no;
|
||||
RCU_EXPERT = yes;
|
||||
RCU_FANOUT = freeform "64";
|
||||
RCU_FANOUT_LEAF = freeform "16";
|
||||
|
||||
ARCH_MMAP_RND_BITS_MAX = freeform "33";
|
||||
ARM64_LPA2 = yes;
|
||||
ARM64_VA_BITS_48 = yes;
|
||||
ARM64_VA_BITS = freeform "48";
|
||||
ARM64_PA_BITS_48 = yes;
|
||||
ARM64_PA_BITS = freeform "48";
|
||||
PM_AUTOSLEEP = yes;
|
||||
CPU_IDLE_GOV_LADDER = no;
|
||||
ZSMALLOC_STAT = yes;
|
||||
ZRAM_TRACK_ENTRY_ACTIME = yes;
|
||||
ZRAM_MEMORY_TRACKING = yes;
|
||||
HW_RANDOM_TPM = no;
|
||||
USB_CONFIGFS_F_TCM = yes;
|
||||
VALIDATE_FS_PARSER = yes;
|
||||
|
||||
CMDLINE_FROM_BOOTLOADER = yes;
|
||||
|
||||
# pmOS specifies these as 'y', while nixpkgs/autoModules would only make them 'm': change them back to 'y'
|
||||
SUN4I_EMAC = yes;
|
||||
STMMAC_ETH = yes;
|
||||
STMMAC_PLATFORM = yes;
|
||||
DWMAC_GENERIC = yes;
|
||||
DWMAC_SUNXI = yes;
|
||||
DWMAC_SUN8I = yes;
|
||||
MDIO_SUN4I = yes;
|
||||
PCS_XPCS = yes;
|
||||
TOUCHSCREEN_GOODIX = yes;
|
||||
INPUT_AXP20X_PEK = yes;
|
||||
IP5XXX_POWER = yes;
|
||||
CHARGER_AXP20X = yes;
|
||||
BATTERY_AXP20X = yes;
|
||||
AXP20X_POWER = yes;
|
||||
REGULATOR_VCTRL = yes;
|
||||
RC_MAP = yes;
|
||||
IR_SUNXI = yes;
|
||||
CEC_CORE = yes;
|
||||
MEDIA_SUPPORT = yes;
|
||||
VIDEO_DEV = yes;
|
||||
DVB_CORE = yes;
|
||||
V4L2_MEM2MEM_DEV = yes;
|
||||
# # V4L2_FLASH_LED_CLASS = yes;
|
||||
V4L2_FWNODE = yes;
|
||||
V4L2_ASYNC = yes;
|
||||
VIDEO_MEM2MEM_DEINTERLACE = yes;
|
||||
VIDEO_SUN6I_CSI = yes;
|
||||
VIDEO_SUN8I_DEINTERLACE = yes;
|
||||
VIDEO_SUN8I_ROTATE = yes;
|
||||
VIDEOBUF2_CORE = yes;
|
||||
VIDEOBUF2_V4L2 = yes;
|
||||
VIDEOBUF2_MEMOPS = yes;
|
||||
VIDEOBUF2_DMA_CONTIG = yes;
|
||||
DRM_DISPLAY_HELPER = yes;
|
||||
DRM_GEM_DMA_HELPER = yes;
|
||||
DRM_GEM_SHMEM_HELPER = yes;
|
||||
DRM_SCHED = yes;
|
||||
DRM_SUN4I = yes;
|
||||
DRM_SUN6I_DSI = yes;
|
||||
DRM_SUN8I_DW_HDMI = yes;
|
||||
DRM_SUN8I_MIXER = yes;
|
||||
DRM_SUN8I_TCON_TOP = yes;
|
||||
DRM_DW_HDMI = yes;
|
||||
DRM_LIMA = yes;
|
||||
DRM_PANFROST = yes;
|
||||
LCD_CLASS_DEVICE = yes;
|
||||
BACKLIGHT_CLASS_DEVICE = yes;
|
||||
BACKLIGHT_PWM = yes;
|
||||
DMA_SUN6I = yes;
|
||||
VIDEO_SUNXI_CEDRUS = yes;
|
||||
AXP20X_ADC = yes;
|
||||
# USB stuff ellided...
|
||||
PWM_SUN4I = yes;
|
||||
PHY_SUN6I_MIPI_DPHY = yes;
|
||||
PHY_SUN50I_USB3 = yes;
|
||||
PHY_QCOM_USB_HS = yes;
|
||||
|
||||
LEDS_CLASS_FLASH = yes;
|
||||
# # LEDS_SGM3140 = yes;
|
||||
LEDS_TRIGGER_PATTERN = yes;
|
||||
|
||||
# # DRM = lib.mkForce yes; #< upgrade from module to builtin
|
||||
# DEFAULT_MMAP_MIN_ADDR = lib.mkForce (freeform "4096");
|
||||
# STANDALONE = lib.mkForce no;
|
||||
|
Reference in New Issue
Block a user