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:
1 parent
773c8b96c7
commit
c03875880c
81 files changed
+364
-4626
No files matched your search
+9
-16
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018 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.
|
||||
@@ -19,11 +19,7 @@ BOARD_BOOTIMAGE_PARTITION_SIZE := 26738688
|
||||
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 26767360
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 10099646976
|
||||
ifeq ($(WITH_GMS_TV),true)
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
||||
else
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1616904192
|
||||
endif
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 379584512
|
||||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
@@ -32,10 +28,7 @@ TARGET_COPY_OUT_VENDOR := vendor
|
||||
BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
|
||||
|
||||
# Assert
|
||||
TARGET_OTA_ASSERT_DEVICE := foster,darcy,jetson,loki,mdarcy,nx
|
||||
ifneq ($(WITH_GMS_TV),true)
|
||||
TARGET_OTA_ASSERT_DEVICE := $(TARGET_OTA_ASSERT_DEVICE),sif
|
||||
endif
|
||||
TARGET_OTA_ASSERT_DEVICE := nx
|
||||
|
||||
# Boot image
|
||||
BOARD_CUSTOM_BOOTIMG := true
|
||||
@@ -43,15 +36,15 @@ BOARD_CUSTOM_BOOTIMG_MK := device/nvidia/foster/mkbootimg.mk
|
||||
BOARD_MKBOOTIMG_ARGS := --header_version 1
|
||||
|
||||
# Bootloader versions
|
||||
TARGET_BOARD_INFO_FILE := device/nvidia/foster/board-info.txt
|
||||
TARGET_BOARD_INFO_FILE := device/nintendo/nx/board-info.txt
|
||||
|
||||
# Manifest
|
||||
DEVICE_MANIFEST_FILE := device/nvidia/foster/manifest.xml
|
||||
DEVICE_MANIFEST_FILE := device/nintendo/nx/manifest.xml
|
||||
|
||||
# Bluetooth
|
||||
ifeq ($(TARGET_TEGRA_BT),bcm)
|
||||
BOARD_CUSTOM_BT_CONFIG := device/nvidia/foster/comms/vnd_foster.txt
|
||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/nvidia/foster/comms
|
||||
BOARD_CUSTOM_BT_CONFIG := device/nintendo/nx/comms/vnd_nx.txt
|
||||
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/nintendo/nx/comms
|
||||
endif
|
||||
|
||||
# Charger
|
||||
@@ -68,12 +61,12 @@ BOARD_KERNEL_IMAGE_NAME := Image.gz
|
||||
TARGET_KERNEL_ADDITIONAL_FLAGS := "NV_BUILD_KERNEL_OPTIONS=$(TARGET_TEGRA_KERNEL)"
|
||||
|
||||
# Recovery
|
||||
TARGET_RECOVERY_FSTAB := device/nvidia/foster/initfiles/fstab.foster
|
||||
TARGET_RECOVERY_FSTAB := device/nintendo/nx/initfiles/fstab.nx
|
||||
TARGET_RECOVERY_UPDATER_LIBS := librecoveryupdater_tegra
|
||||
TARGET_RECOVERY_PIXEL_FORMAT := BGRA_8888
|
||||
|
||||
# Releasetools
|
||||
TARGET_RELEASETOOLS_EXTENSIONS := device/nvidia/foster/releasetools
|
||||
TARGET_RELEASETOOLS_EXTENSIONS := device/nintendo/nx/releasetools
|
||||
|
||||
# Security Patch Level
|
||||
VENDOR_SECURITY_PATCH := 2022-04-05
|
||||
@@ -85,7 +78,7 @@ PRODUCT_FULL_TREBLE_OVERRIDE := true
|
||||
|
||||
# TWRP Support
|
||||
ifeq ($(WITH_TWRP),true)
|
||||
include device/nvidia/foster/twrp/twrp.mk
|
||||
include device/nintendo/nx/twrp/twrp.mk
|
||||
endif
|
||||
|
||||
include device/nvidia/t210-common/BoardConfigCommon.mk
|
||||
Reference in new issue
Block a user