nx: Intial rebrand from foster

* This is a tree for all Nintendo Switch variants:
  `odin`, `modin`, `vali`, and `frig`.
* `ro.hardware` will be NX on all variants with
   `ro.hardware.sku` being set per variant by u-boot.

Changes are as follows:
* At the moment the packaged DTB is only for `odin`, more to follow.
 * Note: We may make `modin`, `vail`, and `frig` device-tree-overlays
   on the `odin` base DTB to simplify things.
* Use darcy's thermal config as it's the most lenient, and is a same SoC STB.
* Unlike `icosa_sr` previously did, we will use the BCM HAL for BT over
  BTLinux, as A2DP is tested and verified, no need to deviate.

Changes that will require follow-up commits to build out:
* Update init to reflect nx's needs - will need more work to support devices
  other than `odin`.

Removals are as follows:
* Remove all non-nx device support files.

Co-authored-by: Thomas Makin <halorocker89@gmail.com>
Co-authored-by: Billy Laws <blaws05@gmail.com>
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: CTCaer <ctcaer@gmail.com>
Co-authored-by: John Smith <nemui3353@gmail.com>
Co-authored-by: langerhans <langerhans@users.noreply.github.com>
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: I9bab4d94c6e94a9c6e2a7cf04d16c4b76c0b6ac5
This commit is contained in:
committed 2024-01-25 14:56:45 -05:00
1 parent 773c8b96c7
commit c03875880c
81 files changed
+364 -4626

No files matched your search

+17 -416
View File
@@ -1,4 +1,4 @@
# Copyright (C) 2019 The LineageOS Project
# Copyright (C) 2022 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,83 +14,6 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.batuu
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.porg_sd
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.darcy
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.darcy
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.dragon
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.dragon
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.foster
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.foster_e
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.foster_e_hdd
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e_hdd
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.jetson_e
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.jetson_cv
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.loki_e_base
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.loki_e_lte
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.loki_e_wifi
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.nx
LOCAL_MODULE_CLASS := ETC
@@ -98,107 +21,6 @@ LOCAL_SRC_FILES := fstab.nx
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.porg
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.porg_sd
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.porg_sd
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.sif
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := fstab.foster_e
LOCAL_VENDOR_MODULE := true
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.batuu.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.batuu.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.darcy.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.darcy.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.dragon.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.dragon.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.foster_e.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.foster_e.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.foster_e_hdd.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.foster_e_hdd.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.jetson_e.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.jetson_e.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.jetson_cv.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.jetson_cv.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.loki_e_base.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.loki_e_base.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.loki_e_lte.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.loki_e_lte.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.loki_e_wifi.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.loki_e_wifi.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.nx.rc
LOCAL_MODULE_CLASS := ETC
@@ -207,100 +29,6 @@ LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.porg.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.porg.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.porg_sd.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.porg_sd.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.sif.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.sif.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.batuu.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.darcy.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.darcy.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.dragon.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.dragon.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.foster_e.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.foster_e_hdd.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.jetson_cv.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.jetson_e.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.loki_e_base.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.loki.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.loki_e_lte.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.loki.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.loki_e_wifi.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.loki.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.nx.rc
LOCAL_MODULE_CLASS := ETC
@@ -308,128 +36,6 @@ LOCAL_SRC_FILES := init.recovery.nx.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.porg.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.porg_sd.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.sif.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.sif.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.foster_common.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.recovery.foster_common.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.foster_e_common.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.foster_e_common.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.loki_e_common.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.loki_e_common.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.loki_foster_e_common.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.loki_foster_e_common.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.batuu.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.darcy.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.darcy.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.darcy.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.dragon.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.abca.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.foster_e.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.foster_e_common.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.foster_e_hdd.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.foster_e_common.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.jetson_cv.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.foster_e_common.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.jetson_e.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.foster_e_common.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.loki_e_base.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.loki_e_common.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.loki_e_lte.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.loki_e_common.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.loki_e_wifi.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.loki_e_common.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.nx.rc
LOCAL_MODULE_CLASS := ETC
@@ -437,27 +43,6 @@ LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.nx.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.porg.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.darcy.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.porg_sd.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.darcy.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := power.sif.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_ODM_MODULE := true
LOCAL_SRC_FILES := power.darcy.rc
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := lkm_loader
LOCAL_SRC_FILES := lkm_loader.sh
@@ -473,3 +58,19 @@ LOCAL_SRC_FILES := init.eks2.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.loki_e_common.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.loki_e_common.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.loki_foster_e_common.rc
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.loki_foster_e_common.rc
LOCAL_VENDOR_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := init/hw
include $(BUILD_PREBUILT)
-22
View File
@@ -1,22 +0,0 @@
#Copyright (c) 2015-2018 NVIDIA Corporation. All Rights Reserved.
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/sdhci-tegra.3/by-name/APP / ext4 ro,noatime wait
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,barrier=1,nodelalloc wait,formattable
/dev/block/platform/sdhci-tegra.3/by-name/LNX /boot emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/MSC /misc emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,barrier=0,noauto_da_alloc wait,check,formattable,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA,quota,reservedsize=128M
/dev/block/platform/sdhci-tegra.3/by-name/USP /staging emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/MDA /metadata emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/SOS /recovery emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/RP3 /mnt/vendor/wifi_config ext4 rw,noatime,nosuid,nodev,noexec wait,check
/devices/70090000.xusb/usb* auto vfat defaults voldmanaged=usbdrive:auto,encryptable=userdata
/dev/block/platform/70090000.xusb/by-num/p1 /usbdrive vfat defaults recoveryonly
/dev/block/platform/sdhci-tegra.3/by-name/BMP /bmps emmc defaults recoveryonly
/dev/block/zram0 none swap defaults zramsize=536870912
79a35232-07f9-4230-9df3-4256560ddbd2 /mnt/remote auto defaults voldmanaged=remote:auto
28f3f3fa-9c68-45be-bf54-7580ab57fd21 /mnt/remote auto defaults voldmanaged=remote:auto
-16
View File
@@ -1,16 +0,0 @@
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/sdhci-tegra.3/by-name/APP / ext4 ro,noatime wait
/dev/block/platform/sdhci-tegra.3/by-name/VNR /vendor ext4 ro,noatime recoveryonly
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,barrier=1,nodelalloc wait,formattable
/dev/block/platform/sdhci-tegra.3/by-name/KERN-A /boot emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/MSC /misc emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,barrier=0,noauto_da_alloc wait,check,formattable,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MD1,quota,reservedsize=128M
/dev/block/platform/sdhci-tegra.3/by-name/MD1 /metadata emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/recovery /recovery emmc defaults defaults
/devices/70090000.xusb/usb* auto vfat defaults voldmanaged=usbdrive:auto,encryptable=userdata
/dev/block/platform/70090000.xusb/by-num/p1 /usbdrive vfat defaults recoveryonly
/dev/block/zram0 none swap defaults zramsize=536870912
-16
View File
@@ -1,16 +0,0 @@
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
# This fstab is only used for the updater script. Assumes the recovery has made appropriate symlinks
/dev/block/by-name/APP / ext4 ro,noatime wait
/dev/block/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,nodelalloc,errors=panic wait,formattable
/dev/block/by-name/vendor /vendor ext4 ro,noatime wait
/dev/block/by-name/LNX /boot emmc defaults defaults
/dev/block/by-name/MSC /misc emmc defaults defaults
/dev/block/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,noauto_da_alloc,errors=panic wait,check,formattable,encryptable=/dev/block/by-name/MDA
/dev/block/by-name/USP /staging emmc defaults defaults
/dev/block/by-name/SOS /recovery emmc defaults defaults
/dev/block/by-name/BMP /bmps emmc defaults recoveryonly
/devices/sdhci-tegra.0/mmc_host* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
-25
View File
@@ -1,25 +0,0 @@
#Copyright (c) 2015-2018 NVIDIA Corporation. All Rights Reserved.
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/sdhci-tegra.3/by-name/APP / ext4 ro,noatime wait
/dev/block/platform/sdhci-tegra.3/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,barrier=1,nodelalloc wait,formattable
/dev/block/platform/sdhci-tegra.3/by-name/LNX /boot emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/MSC /misc emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,barrier=0,noauto_da_alloc wait,check,formattable,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA,quota
/dev/block/platform/sdhci-tegra.3/by-name/USP /staging emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/MDA /metadata emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/SOS /recovery emmc defaults defaults
/dev/block/platform/sdhci-tegra.3/by-name/RP3 /mnt/vendor/wifi_config ext4 rw,noatime,nosuid,nodev,noexec wait,check,formattable
/devices/sdhci-tegra.0/mmc_host* auto vfat defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/sdhci-tegra.0/mmc_host* auto vfat defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/70090000.xusb/usb* auto vfat defaults voldmanaged=usbdrive:auto,encryptable=userdata
/dev/block/platform/sdhci-tegra.0/by-num/p1 /sdcard vfat defaults recoveryonly
/dev/block/platform/sdhci-tegra.3/by-name/BMP /bmps emmc defaults recoveryonly
/dev/block/platform/70090000.xusb/by-num/p1 /usbdrive vfat defaults recoveryonly
/dev/block/zram0 none swap defaults zramsize=536870912
79a35232-07f9-4230-9df3-4256560ddbd2 /mnt/remote auto defaults voldmanaged=remote:auto
28f3f3fa-9c68-45be-bf54-7580ab57fd21 /mnt/remote auto defaults voldmanaged=remote:auto
-24
View File
@@ -1,24 +0,0 @@
#Copyright (c) 2015-2018 NVIDIA Corporation. All Rights Reserved.
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/tegra-sata.0/by-name/APP / ext4 ro,noatime wait
/dev/block/platform/tegra-sata.0/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,nodelalloc,barrier=1 wait,formattable
/dev/block/platform/tegra-sata.0/by-name/LNX /boot emmc defaults defaults
/dev/block/platform/tegra-sata.0/by-name/MSC /misc emmc defaults defaults
/dev/block/platform/tegra-sata.0/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,noauto_da_alloc,discard,barrier=0,init_itable=100 wait,check,formattable,encryptable=/dev/block/platform/tegra-sata.0/by-name/MDA,quota
/dev/block/platform/tegra-sata.0/by-name/USP /staging emmc defaults defaults
/dev/block/platform/tegra-sata.0/by-name/MDA /metadata emmc defaults defaults
/dev/block/platform/tegra-sata.0/by-name/SOS /recovery emmc defaults defaults
/dev/block/platform/tegra-sata.0/by-name/RP3 /mnt/vendor/wifi_config ext4 rw,noatime,nosuid,nodev,noexec wait,check,formattable
/devices/sdhci-tegra.0/mmc_host* auto vfat defaults voldmanaged=sdcard1:auto,encryptable=userdata
/dev/block/platform/sdhci-tegra.0/by-num/p1 /sdcard vfat defaults recoveryonly
/dev/block/platform/70090000.xusb/by-num/p1 /usbdrive vfat defaults recoveryonly
/dev/block/platform/tegra-sata.0/by-name/BMP /bmps emmc defaults recoveryonly
/devices/70090000.xusb/usb* auto vfat defaults voldmanaged=usbdrive:auto,encryptable=userdata
/dev/block/zram0 none swap defaults zramsize=536870912
79a35232-07f9-4230-9df3-4256560ddbd2 /mnt/remote auto defaults voldmanaged=remote:auto
28f3f3fa-9c68-45be-bf54-7580ab57fd21 /mnt/remote auto defaults voldmanaged=remote:auto
+8 -7
View File
@@ -5,13 +5,14 @@
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/sdhci-tegra.0/by-name/APP / ext4 ro,noatime wait
/dev/block/platform/sdhci-tegra.0/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,barrier=1,nodelalloc wait,formattable
/dev/block/platform/sdhci-tegra.0/by-name/LNX /boot emmc defaults defaults
/dev/block/platform/sdhci-tegra.0/by-name/MSC /misc emmc defaults defaults
/dev/block/platform/sdhci-tegra.0/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,barrier=0,noauto_da_alloc wait,check,formattable,encryptable=/dev/block/platform/sdhci-tegra.0/by-name/MDA,quota,reservedsize=128M
/dev/block/platform/sdhci-tegra.0/by-name/MDA /metadata emmc defaults defaults
/dev/block/platform/sdhci-tegra.0/by-name/SOS /recovery emmc defaults defaults
/dev/block/by-name/APP / ext4 ro,noatime wait
/dev/block/by-name/vendor /vendor ext4 ro,noatime wait,recoveryonly
/dev/block/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,barrier=1,nodelalloc wait,formattable
/dev/block/by-name/LNX /boot emmc defaults defaults
/dev/block/by-name/MSC /misc emmc defaults defaults
/dev/block/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,barrier=0,noauto_da_alloc wait,check,formattable,encryptable=/dev/block/by-name/MDA,quota,reservedsize=128M
/dev/block/by-name/MDA /metadata emmc defaults defaults
/dev/block/by-name/SOS /recovery emmc defaults defaults
/devices/sdhci-tegra.0/mmc_host* auto vfat defaults voldmanaged=sdcard1:1
/devices/70090000.xusb/usb* auto vfat defaults voldmanaged=usbdrive:auto,encryptable=userdata
/dev/block/platform/sdhci-tegra.0/by-num/p1 /sdcard vfat defaults recoveryonly
-21
View File
@@ -1,21 +0,0 @@
#Copyright (c) 2015-2018 NVIDIA Corporation. All Rights Reserved.
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/sdhci-tegra.0/by-name/APP / ext4 ro,noatime wait
/dev/block/platform/sdhci-tegra.0/by-name/CAC /cache ext4 noatime,nosuid,nodev,data=ordered,barrier=1,nodelalloc wait,formattable
/dev/block/platform/sdhci-tegra.0/by-name/LNX /boot emmc defaults defaults
/dev/block/platform/sdhci-tegra.0/by-name/MSC /misc emmc defaults defaults
/dev/block/platform/sdhci-tegra.0/by-name/UDA /data ext4 noatime,nosuid,nodev,data=ordered,barrier=0,noauto_da_alloc wait,check,formattable,encryptable=/dev/block/platform/sdhci-tegra.0/by-name/MDA,quota,reservedsize=128M
/dev/block/platform/sdhci-tegra.0/by-name/USP /staging emmc defaults defaults
/dev/block/platform/sdhci-tegra.0/by-name/MDA /metadata emmc defaults defaults
/dev/block/platform/sdhci-tegra.0/by-name/SOS /recovery emmc defaults defaults
/devices/70090000.xusb/usb* auto vfat defaults voldmanaged=usbdrive:auto,encryptable=userdata
/dev/block/platform/70090000.xusb/by-num/p1 /usbdrive vfat defaults recoveryonly
/dev/block/platform/sdhci-tegra.0/by-name/BMP /bmps emmc defaults recoveryonly
/dev/block/zram0 none swap defaults zramsize=536870912
79a35232-07f9-4230-9df3-4256560ddbd2 /mnt/remote auto defaults voldmanaged=remote:auto
28f3f3fa-9c68-45be-bf54-7580ab57fd21 /mnt/remote auto defaults voldmanaged=remote:auto
-27
View File
@@ -1,27 +0,0 @@
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_sd.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.foster_e_common.rc
on fs
mount_all /vendor/etc/fstab.batuu
swapon_all /vendor/etc/fstab.batuu
# Create symlinks for VTS compatibility (must be after fstab mounting)
symlink /dev/block/platform/sdhci-tegra.0/by-name/DTB /dev/block/platform/sdhci-tegra.0/by-name/dtbo
symlink /dev/block/platform/sdhci-tegra.0/by-name/LNX /dev/block/platform/sdhci-tegra.0/by-name/boot
symlink /dev/block/platform/sdhci-tegra.0/by-name/SOS /dev/block/platform/sdhci-tegra.0/by-name/recovery
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk0/queue/iostats 0
write /sys/block/mmcblk0/queue/nr_requests 256
on post-fs-data
setprop atv.setup.bt_remote_pairing false
-32
View File
@@ -1,32 +0,0 @@
# Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.foster_e_common.rc
on fs
mount_all /vendor/etc/fstab.darcy
swapon_all /vendor/etc/fstab.darcy
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk0/queue/iostats 0
write /sys/block/mmcblk0/queue/nr_requests 256
on post-fs
# Create symlinks for VTS compatibility (must be after fstab mounting)
symlink /dev/block/platform/sdhci-tegra.3/by-name/DTB /dev/block/platform/sdhci-tegra.3/by-name/dtbo
symlink /dev/block/platform/sdhci-tegra.3/by-name/LNX /dev/block/platform/sdhci-tegra.3/by-name/boot
symlink /dev/block/platform/sdhci-tegra.3/by-name/SOS /dev/block/platform/sdhci-tegra.3/by-name/recovery
# override cpuset cpus to 0-3
on init
write /dev/cpuset/foreground/cpus 0-3
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/background/cpus 0-3
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/top-app/cpus 0-3
-21
View File
@@ -1,21 +0,0 @@
# Copyright (C) 2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import /vendor/etc/init/hw/init.tegra.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.loki_e_common.rc
on fs
mount_all /vendor/etc/fstab.dragon
swapon_all /vendor/etc/fstab.dragon
-33
View File
@@ -1,33 +0,0 @@
# Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.foster_e_common.rc
on init
# support old sdcard features (apps on sdcard and migrated apps)
setprop vendor.vold.linktoprimary 1
on fs
mount_all /vendor/etc/fstab.foster_e
swapon_all /vendor/etc/fstab.foster_e
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk0/queue/iostats 0
write /sys/block/mmcblk0/queue/nr_requests 256
on post-fs-data
start cyupdate
service cyupdate /vendor/bin/cyupdate.sh
class main
user system
group system
oneshot
disabled
-60
View File
@@ -1,60 +0,0 @@
# Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.loki_foster_e_common.rc
on init
setprop ro.hardware.gatekeeper tlk.tegra
on boot
write /sys/devices/system/cpu/cpuquiet/runnable_threads/nr_run_thresholds "6 10 18"
write /sys/devices/system/cpu/cpuquiet/tegra_cpuquiet/enable 0
# Lower console loglevel to reduce number of printk messages to console
write /proc/sys/kernel/printk "4 7 1 7 3"
on boot && property:ro.build.type=user
# Disable console logs in user build, print KERN_EMERG messages only
setprop vendor.debug.enable_console_logs false
write /dev/kmsg "Disabling kernel console prints. Prints can be enabled via the developer menu"
on post-fs-data
# Set Foster as console mode
setprop persist.vendor.tegra.composite.range Auto
setprop sys.wal.off external.db,iu.upload.db
setprop sys.wal.normal tz4,PGDatabase,launcher.db,playlog.db,music.db
write /sys/power/wake_lock foster-staywake
# Disable rescue feature. This needs to be in vendor init, so that it
# works on GSI images.
setprop persist.sys.disable_rescue true
on post-fs-data
chown system system /mnt/venodr/wifi_config
chown system system /mnt/vendor/wifi_config/FSS.txt
chown system system /mnt/vendor/wifi_config/country_code.txt
chown system system /mnt/vendor/wifi_config/country_code.sig
chown system system /mnt/vendor/wifi_config/package.txt
restorecon_recursive /mnt/vendor/wifi_config
on post-fs
chown system system /sys/class/leds/led_lightbar/brightness
chown system system /sys/class/leds/led_lightbar/boot_mode
chown system system /sys/class/leds/led_lightbar/version
chown system system /sys/class/leds/led_lightbar/effects
chown system system /sys/class/leds/led_lightbar/params
on property:vendor.debug.enable_console_logs=true && property:ro.build.type=user
write /proc/sys/kernel/printk "4 7 1 7 3"
on property:vendor.debug.enable_console_logs=false && property:ro.build.type=user
write /proc/sys/kernel/printk "1 7 1 7 3"
service mossignerd /vendor/bin/mossignerd
class late_start
user system
-35
View File
@@ -1,35 +0,0 @@
# Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_sata.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.foster_e_common.rc
on init
# support old sdcard features (apps on sdcard and migrated apps)
setprop vendor.vold.linktoprimary 1
on fs
write /sys/block/sda/queue/scheduler deadline
write /sys/block/sda/queue/iosched/read_expire 1000
write /sys/block/sda/queue/iosched/write_expire 40000
write /sys/block/sda/queue/iosched/writes_starved 16
mount_all /vendor/etc/fstab.foster_e_hdd
swapon_all /vendor/etc/fstab.foster_e_hdd
on post-fs-data
start cyupdate
start get-hddstat
service cyupdate /vendor/bin/cyupdate.sh
class main
user system
group system
oneshot
disabled
-63
View File
@@ -1,63 +0,0 @@
#Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.lkm.rc
on init
# override cpuset cpus to 0-3, mems to 0
write /dev/cpuset/foreground/cpus 0-3
write /dev/cpuset/foreground/mems 0
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/foreground/boost/mems 0
write /dev/cpuset/background/cpus 0-3
write /dev/cpuset/background/mems 0
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/system-background/mems 0
write /dev/cpuset/top-app/cpus 0-3
write /dev/cpuset/top-app/mems 0
on fs
setprop ro.wifi.sdmmc 1
setprop audio.custompolicy 1
setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
setprop ro.crypto.umount_sd false
setprop ro.crypto.fuse_sdcard true
mount_all /vendor/etc/fstab.jetson_cv
swapon_all /vendor/etc/fstab.jetson_cv
# start Early Loadable Kernel Module service
exec /vendor/bin/lkm_loader.sh early
on post-fs-data
chown root system /sys/class/gps_wake/gps_device/gps_enable
chmod 0664 /sys/class/gps_wake/gps_device/gps_enable
on post-fs-data
chmod 0444 /sys/devices/platform/tegra-fuse/aid
on boot
# start Loadable Kernel Module service
start vendor.lkm_loader
on property:persist.gps.present=true
symlink /system/etc/android.hardware.location.gps.xml /data/android.hardware.location.gps.xml
on property:persist.gps.present=false
rm /data/android.hardware.location.gps.xml
#start pbc daemon
service pbc2 /system/vendor/bin/pbc2
class main
user system
group system
on property:sys.boot_completed=1
write /sys/devices/virtual/android_usb/android0/uevent_in_suspend N
write /sys/devices/usb_cd/extcon/extcon1/uevent_in_suspend N
-54
View File
@@ -1,54 +0,0 @@
#Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.ray_touch.rc
import /vendor/etc/init/hw/init.cal.rc
import /vendor/etc/init/hw/init.lkm.rc
on init
# override cpuset cpus to 0-3, mems to 0
write /dev/cpuset/foreground/cpus 0-3
write /dev/cpuset/foreground/mems 0
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/foreground/boost/mems 0
write /dev/cpuset/background/cpus 0-3
write /dev/cpuset/background/mems 0
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/system-background/mems 0
write /dev/cpuset/top-app/cpus 0-3
write /dev/cpuset/top-app/mems 0
on fs
setprop ro.wifi.sdmmc 1
setprop audio.custompolicy 1
setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
setprop ro.crypto.umount_sd false
setprop ro.crypto.fuse_sdcard true
mount_all /vendor/etc/fstab.jetson_e
swapon_all /vendor/etc/fstab.jetson_e
# start Early Loadable Kernel Module service
exec /vendor/bin/lkm_loader.sh early
on post-fs-data
chmod 0444 /sys/devices/platform/tegra-fuse/aid
#start pbc daemon
service pbc2 /system/vendor/bin/pbc2
class main
user system
group system
on property:sys.boot_completed=1
write /sys/devices/virtual/android_usb/android0/uevent_in_suspend N
on boot
# start Loadable Kernel Module service
start vendor.lkm_loader
-16
View File
@@ -1,16 +0,0 @@
#Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.loki_e_common.rc
import /vendor/etc/init/hw/init.ray_touch.rc
on fs
mount_all /vendor/etc/fstab.loki_e_base
swapon_all /vendor/etc/fstab.loki_e_base
-16
View File
@@ -1,16 +0,0 @@
#Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.loki_e_common.rc
import /vendor/etc/init/hw/init.ray_touch.rc
on fs
mount_all /vendor/etc/fstab.loki_e_lte
swapon_all /vendor/etc/fstab.loki_e_lte
-16
View File
@@ -1,16 +0,0 @@
#Copyright (c) 2014-2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.loki_e_common.rc
import /vendor/etc/init/hw/init.ray_touch.rc
on fs
mount_all /vendor/etc/fstab.loki_e_wifi
swapon_all /vendor/etc/fstab.loki_e_wifi
-27
View File
@@ -1,27 +0,0 @@
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.foster_e_common.rc
on init
enable btlinux-1.1
on fs
mount_all /vendor/etc/fstab.porg
swapon_all /vendor/etc/fstab.porg
# Create symlinks for VTS compatibility (must be after fstab mounting)
symlink /dev/block/platform/sdhci-tegra.3/by-name/DTB /dev/block/platform/sdhci-tegra.3/by-name/dtbo
symlink /dev/block/platform/sdhci-tegra.3/by-name/LNX /dev/block/platform/sdhci-tegra.3/by-name/boot
symlink /dev/block/platform/sdhci-tegra.3/by-name/SOS /dev/block/platform/sdhci-tegra.3/by-name/recovery
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk0/queue/iostats 0
write /sys/block/mmcblk0/queue/nr_requests 256
-27
View File
@@ -1,27 +0,0 @@
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_sd.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.foster_e_common.rc
on init
enable btlinux-1.1
on fs
mount_all /vendor/etc/fstab.porg_sd
swapon_all /vendor/etc/fstab.porg_sd
# Create symlinks for VTS compatibility (must be after fstab mounting)
symlink /dev/block/platform/sdhci-tegra.0/by-name/DTB /dev/block/platform/sdhci-tegra.0/by-name/dtbo
symlink /dev/block/platform/sdhci-tegra.0/by-name/LNX /dev/block/platform/sdhci-tegra.0/by-name/boot
symlink /dev/block/platform/sdhci-tegra.0/by-name/SOS /dev/block/platform/sdhci-tegra.0/by-name/recovery
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk0/queue/iostats 0
write /sys/block/mmcblk0/queue/nr_requests 256
-18
View File
@@ -1,18 +0,0 @@
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import init.recovery.foster_common.rc
on init
write /sys/class/extcon/extcon3/state 0x1
-21
View File
@@ -1,21 +0,0 @@
# Copyright (C) 2022 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import init.recovery.foster_common.rc
on post-fs
rm /dev/block/by-name/LNX
symlink /dev/block/by-name/KERN-A /dev/block/by-name/LNX
symlink /dev/block/by-name/recovery /dev/block/by-name/SOS
symlink /dev/block/by-name/VNR /dev/block/by-name/vendor
-15
View File
@@ -1,15 +0,0 @@
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import init.recovery.foster_common.rc
-15
View File
@@ -1,15 +0,0 @@
# Copyright (C) 2020 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import init.recovery.usb.rc
-21
View File
@@ -1,21 +0,0 @@
# Copyright (C) 2019 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import init.recovery.ray_touch.rc
import init.recovery.foster_common.rc
on post-fs
# touchscreen
mount ext4 /dev/block/platform/sdhci-tegra.3/by-name/FCT /mnt/vendor/factory ro
restorecon_recursive /mnt/vendor/factory
+1 -1
View File
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import init.recovery.foster_common.rc
import init.recovery.usb.rc
on init
setprop persist.twrp.rotation 270
-15
View File
@@ -1,15 +0,0 @@
# Copyright (C) 2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Do nothing, usb can't be used on consumer sif units
-37
View File
@@ -1,37 +0,0 @@
# Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
#
#NVIDIA Corporation and its licensors retain all intellectual property and
#proprietary rights in and to this software and related documentation. Any
#use, reproduction, disclosure or distribution of this software and related
#documentation without an express license agreement from NVIDIA Corporation
#is strictly prohibited.
import /vendor/etc/init/hw/init.tegra_emmc.rc
import /vendor/etc/init/hw/init.t210.rc
import /vendor/etc/init/hw/init.foster_e_common.rc
on fs
mount_all /vendor/etc/fstab.sif
swapon_all /vendor/etc/fstab.sif
# Create symlinks for VTS compatibility (must be after fstab mounting)
symlink /dev/block/platform/sdhci-tegra.3/by-name/DTB /dev/block/platform/sdhci-tegra.3/by-name/dtbo
symlink /dev/block/platform/sdhci-tegra.3/by-name/LNX /dev/block/platform/sdhci-tegra.3/by-name/boot
symlink /dev/block/platform/sdhci-tegra.3/by-name/SOS /dev/block/platform/sdhci-tegra.3/by-name/recovery
write /sys/block/mmcblk0/queue/iosched/slice_idle 0
write /sys/block/mmcblk0/queue/iostats 0
write /sys/block/mmcblk0/queue/nr_requests 256
setprop config.disable_cameraservice true
# Controls the max total size the egl blob cache will use. (32 MB)
setprop ro.vendor.tegra.blobcachetotalsize 33554432
# override cpuset cpus to 0-3
on init
write /dev/cpuset/foreground/cpus 0-3
write /dev/cpuset/foreground/boost/cpus 0-3
write /dev/cpuset/background/cpus 0-3
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/top-app/cpus 0-3
-108
View File
@@ -1,108 +0,0 @@
# FORMAT:
# panelresolution=[xres]X[yres], such as panelresolution=1280X720
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# panelresolution=[xres]X[yres], such as panelresolution=1920X1080
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# ......
# ......
# panelresolution=[xres]X[yres], such as panelresolution=1920X1200
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
#
# NOTES:
# The panelresolution is the lcd panel resolution.
# No space should exist in panelresolution=[xres]X[yres].
# panelresolution=720X1280 equals with panelresolution=1280X720.
# For panelresolution=-1X-1, it should be the last set of power settings in this file.
# When your panel resolution is found in this file,
# it will use the set of power settings followed by your panel resolution.
# When your panel resolution is not found in this file, it will use the default power settings.
# The power settings followed by panelresolution=-1X-1 is the default power settings.
# powernode is the sysfs or variable we need to write and it is followed by three ints.
# maxperf, optimized, maxbatterylife are the three ints for different power modes.
#
# Default power mode: can be set to 0, 1, or 2
NV_DEFAULT_MODE 1
panelresolution=1900X1200
NV_FPSLIMIT 0 0 0
NV_MAX_CORES 0 0 0
NV_MIN_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 900000 0 0
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_HYPERVOLT_ALPHA 50 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_PRETHROTTLE 0 1 1
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 1 1
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 7 3 2
NV_FAN_STATE_MAP 80/110/150/200/255 80/110/150/200/255 80/110/150/200/255
NV_ECO_MAX_FREQ 1400000 1400000 1400000
NV_ECO_MAX_GPU_FREQ 700000 700000 700000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=2500X1600
NV_FPSLIMIT 0 0 0
NV_MAX_CORES 0 0 0
NV_MIN_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 900000 0 0
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_HYPERVOLT_ALPHA 50 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_PRETHROTTLE 0 1 1
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 1 1
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 7 3 2
NV_FAN_STATE_MAP 80/110/150/200/255 80/110/150/200/255 80/110/150/200/255
NV_ECO_MAX_FREQ 1400000 1400000 1400000
NV_ECO_MAX_GPU_FREQ 700000 700000 700000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=-1X-1
NV_FPSLIMIT 0 0 0
NV_MAX_CORES 0 0 0
NV_MIN_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 900000 0 0
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_HYPERVOLT_ALPHA 50 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_PRETHROTTLE 0 1 1
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 1 1
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 7 3 2
NV_FAN_STATE_MAP 80/110/150/200/255 80/110/150/200/255 80/110/150/200/255
NV_ECO_MAX_FREQ 1400000 1400000 1400000
NV_ECO_MAX_GPU_FREQ 700000 700000 700000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
-112
View File
@@ -1,112 +0,0 @@
# FORMAT:
# panelresolution=[xres]X[yres], such as panelresolution=1280X720
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# panelresolution=[xres]X[yres], such as panelresolution=1920X1080
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# ......
# ......
# panelresolution=[xres]X[yres], such as panelresolution=1920X1200
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
#
# NOTES:
# The panelresolution is the lcd panel resolution.
# No space should exist in panelresolution=[xres]X[yres].
# panelresolution=720X1280 equals with panelresolution=1280X720.
# For panelresolution=-1X-1, it should be the last set of power settings in this file.
# When your panel resolution is found in this file,
# it will use the set of power settings followed by your panel resolution.
# When your panel resolution is not found in this file, it will use the default power settings.
# The power settings followed by panelresolution=-1X-1 is the default power settings.
# powernode is the sysfs or variable we need to write and it is followed by three ints.
# maxperf, optimized, maxbatterylife are the three ints for different power modes.
#
# Default power mode: can be set to 0, 1, or 2
NV_DEFAULT_MODE 0
panelresolution=1280X720
NV_FPSLIMIT 0 0 30
NV_MAX_CORES 4 4 4
NV_MIN_CORES 4 4 2
NV_CPUQUIET_GOV 1 1 1
NV_DISPOFF_CORES 2 2 2
NV_MAX_FREQ 0 0 0
# 1100000 should be below Fmax@Vmin
NV_MIN_FREQ 1100000 1100000 1100000
NV_DISPOFF_FREQ 1100000 358400 358400
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 18000 14000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 4 4 4
NV_FAN_STATE_MAP 16640/28160/40960/51200/65280 16640/28160/40960/51200/65280 16640/28160/40960/51200/65280
NV_ECO_MAX_FREQ 2200000 2200000 2200000
NV_ECO_MAX_GPU_FREQ 800000 800000 800000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=1440X810
NV_FPSLIMIT 0 0 30
NV_MAX_CORES 4 4 4
NV_MIN_CORES 4 4 2
NV_CPUQUIET_GOV 1 1 1
NV_DISPOFF_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 1100000 1100000
NV_DISPOFF_FREQ 1100000 358400 358400
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 18000 14000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 4 4 4
NV_FAN_STATE_MAP 16640/28160/40960/51200/65280 16640/28160/40960/51200/65280 16640/28160/40960/51200/65280
NV_ECO_MAX_FREQ 2200000 2200000 2200000
NV_ECO_MAX_GPU_FREQ 800000 800000 800000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=-1X-1
NV_FPSLIMIT 0 0 30
NV_MAX_CORES 4 4 4
NV_MIN_CORES 4 4 2
NV_CPUQUIET_GOV 1 1 1
NV_DISPOFF_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 1100000 1100000
NV_DISPOFF_FREQ 1100000 358400 358400
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 18000 14000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 4 4 4
NV_FAN_STATE_MAP 16640/28160/40960/51200/65280 16640/28160/40960/51200/65280 16640/28160/40960/51200/65280
NV_ECO_MAX_FREQ 2200000 2200000 2200000
NV_ECO_MAX_GPU_FREQ 800000 800000 800000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
-111
View File
@@ -1,111 +0,0 @@
# FORMAT:
# panelresolution=[xres]X[yres], such as panelresolution=1280X720
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# panelresolution=[xres]X[yres], such as panelresolution=1920X1080
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# ......
# ......
# panelresolution=[xres]X[yres], such as panelresolution=1920X1200
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
#
# NOTES:
# The panelresolution is the lcd panel resolution.
# No space should exist in panelresolution=[xres]X[yres].
# panelresolution=720X1280 equals with panelresolution=1280X720.
# For panelresolution=-1X-1, it should be the last set of power settings in this file.
# When your panel resolution is found in this file,
# it will use the set of power settings followed by your panel resolution.
# When your panel resolution is not found in this file, it will use the default power settings.
# The power settings followed by panelresolution=-1X-1 is the default power settings.
# powernode is the sysfs or variable we need to write and it is followed by three ints.
# maxperf, optimized, maxbatterylife are the three ints for different power modes.
#
# Default power mode: can be set to 0, 1, or 2
NV_DEFAULT_MODE 0
panelresolution=1280X720
NV_FPSLIMIT 0 0 30
NV_MAX_CORES 4 4 4
NV_MIN_CORES 4 4 2
NV_CPUQUIET_GOV 1 1 1
NV_DISPOFF_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 1100000 1100000
NV_DISPOFF_FREQ 1100000 358400 358400
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 537600 537600 537600
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 4 4 4
NV_FAN_STATE_MAP 80/120/150/200/255 80/120/150/200/255 80/120/150/200/255
NV_ECO_MAX_FREQ 2200000 2200000 2200000
NV_ECO_MAX_GPU_FREQ 800000 800000 800000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=1440X810
NV_FPSLIMIT 0 0 30
NV_MAX_CORES 4 4 4
NV_MIN_CORES 4 4 2
NV_CPUQUIET_GOV 1 1 1
NV_DISPOFF_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 1100000 1100000
NV_DISPOFF_FREQ 1100000 358400 358400
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 537600 537600 537600
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 4 4 4
NV_FAN_STATE_MAP 80/120/150/200/255 80/120/150/200/255 80/120/150/200/255
NV_ECO_MAX_FREQ 2200000 2200000 2200000
NV_ECO_MAX_GPU_FREQ 800000 800000 800000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=-1X-1
NV_FPSLIMIT 0 0 30
NV_MAX_CORES 4 4 4
NV_MIN_CORES 4 4 2
NV_CPUQUIET_GOV 1 1 1
NV_DISPOFF_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 1100000 1100000
NV_DISPOFF_FREQ 1100000 358400 358400
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 537600 537600 537600
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_CAP 4 4 4
NV_FAN_STATE_MAP 80/120/150/200/255 80/120/150/200/255 80/120/150/200/255
NV_ECO_MAX_FREQ 2200000 2200000 2200000
NV_ECO_MAX_GPU_FREQ 800000 800000 800000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 10 10 10
NV_ECO_THRESHYST 5 5 5
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
-106
View File
@@ -1,106 +0,0 @@
# FORMAT:
# panelresolution=[xres]X[yres], such as panelresolution=1280X720
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# panelresolution=[xres]X[yres], such as panelresolution=1920X1080
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
# ......
# ......
# panelresolution=[xres]X[yres], such as panelresolution=1920X1200
# powernode1 maxperf optimized maxbatterylife
# powernode2 maxperf optimized maxbatterylife
# ......
# powernoden maxperf optimized maxbatterylife
#
# NOTES:
# The panelresolution is the lcd panel resolution.
# No space should exist in panelresolution=[xres]X[yres].
# panelresolution=720X1280 equals with panelresolution=1280X720.
# For panelresolution=-1X-1, it should be the last set of power settings in this file.
# When your panel resolution is found in this file,
# it will use the set of power settings followed by your panel resolution.
# When your panel resolution is not found in this file, it will use the default power settings.
# The power settings followed by panelresolution=-1X-1 is the default power settings.
# powernode is the sysfs or variable we need to write and it is followed by three ints.
# maxperf, optimized, maxbatterylife are the three ints for different power modes.
#
# Default power mode: can be set to 0, 1, or 2
NV_DEFAULT_MODE 0
panelresolution=1280X720
NV_FPSLIMIT 0 0 0
NV_MAX_CORES 0 0 0
NV_MIN_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 0 0
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_MAP 80/110/150/200/255 80/110/150/200/255 80/110/150/200/255
NV_FAN_STATE_CAP 4 4 4
NV_ECO_MAX_FREQ 1400000 1400000 1400000
NV_ECO_MAX_GPU_FREQ 700000 700000 700000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 5 5 5
NV_ECO_THRESHYST 5 5 5
NV_ECO_CPU_CORE_CAP 2 2 2
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=1440X810
NV_FPSLIMIT 0 0 0
NV_MAX_CORES 0 0 0
NV_MIN_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 0 0
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_MAP 80/110/150/200/255 80/110/150/200/255 80/110/150/200/255
NV_FAN_STATE_CAP 4 4 4
NV_ECO_MAX_FREQ 1400000 1400000 1400000
NV_ECO_MAX_GPU_FREQ 700000 700000 700000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 5 5 5
NV_ECO_THRESHYST 5 5 5
NV_ECO_CPU_CORE_CAP 2 2 2
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29
panelresolution=-1X-1
NV_FPSLIMIT 0 0 0
NV_MAX_CORES 0 0 0
NV_MIN_CORES 2 2 2
NV_MAX_FREQ 0 0 0
NV_MIN_FREQ 1100000 0 0
NV_MAX_GPU_FREQ 0 0 0
NV_MIN_GPU_FREQ 0 0 0
NV_APM_CPU_BOOST 5 0 0
NV_APM_GPU_BOOST 5 0 0
NV_APM_FRT_BOOST 5 0 0
NV_APM_FRT_MIN 20 15 15
NV_APM_LOADAPPFRT 0 0 0
NV_PBC_SYSPOWER_CAP 15000 11000 8500
NV_PBC_BATCURRENT_CAP 5000 5000 4100
NV_FAN_STATE_MAP 80/110/150/200/255 80/110/150/200/255 80/110/150/200/255
NV_FAN_STATE_CAP 4 4 4
NV_FAN_STATE_CAP 4 4 4
NV_ECO_MAX_FREQ 1400000 1400000 1400000
NV_ECO_MAX_GPU_FREQ 700000 700000 700000
NV_ECO_PBC_LIMIT 8500 8500 8500
NV_ECO_THRESHOLD 5 5 5
NV_ECO_THRESHYST 5 5 5
NV_ECO_CPU_CORE_CAP 2 2 2
/sys/devices/platform/host1x/tegradc.0/smartdimmer/aggressiveness 27 27 29