Rename to tart codename
- Rename product makefile: lineage_tart.mk (PRODUCT_NAME=lineage_tart) - Update AndroidProducts.mk for lineage_tart lunch target - Change androidboot.hardware and TARGET_BOOTLOADER_BOARD_NAME to tart - Rename ramdisk files: fstab.tart, init.tart.rc, ueventd.tart.rc - Update device.mk ramdisk copy targets for tart names - Update vendor makefile reference to tart-vendor.mk - Update extlinux.conf kernel cmdline with tart hardware ID - Fix bluetooth device name in vendor.prop Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
This commit is contained in:
parent
baa8cbfd95
commit
cb68fb7b21
10 changed files with 17 additions and 17 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PRODUCT_MAKEFILES := \
|
PRODUCT_MAKEFILES := \
|
||||||
$(LOCAL_DIR)/lineage_orangepi5ultra.mk
|
$(LOCAL_DIR)/lineage_tart.mk
|
||||||
|
|
||||||
COMMON_LUNCH_CHOICES := \
|
COMMON_LUNCH_CHOICES := \
|
||||||
lineage_orangepi5ultra-userdebug
|
lineage_tart-userdebug
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ TARGET_SCREEN_DENSITY := 240
|
||||||
BOARD_CUSTOM_BOOTIMG := true
|
BOARD_CUSTOM_BOOTIMG := true
|
||||||
BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/mkbootimg.mk
|
BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/mkbootimg.mk
|
||||||
BOARD_KERNEL_IMAGE_NAME := Image
|
BOARD_KERNEL_IMAGE_NAME := Image
|
||||||
BOARD_KERNEL_CMDLINE := console=ttyS2,1500000 no_console_suspend root=/dev/ram0 rootwait androidboot.hardware=opi5ultra
|
BOARD_KERNEL_CMDLINE := console=ttyS2,1500000 no_console_suspend root=/dev/ram0 rootwait androidboot.hardware=tart
|
||||||
|
|
||||||
# Manifest
|
# Manifest
|
||||||
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := $(DEVICE_PATH)/framework_compatibility_matrix.xml
|
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := $(DEVICE_PATH)/framework_compatibility_matrix.xml
|
||||||
|
|
@ -59,7 +59,7 @@ TARGET_USERIMAGES_USE_EXT4 := true
|
||||||
# Platform
|
# Platform
|
||||||
TARGET_BOARD_PLATFORM := rk3588
|
TARGET_BOARD_PLATFORM := rk3588
|
||||||
|
|
||||||
TARGET_BOOTLOADER_BOARD_NAME := orangepi5ultra
|
TARGET_BOOTLOADER_BOARD_NAME := tart
|
||||||
|
|
||||||
# Properties
|
# Properties
|
||||||
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
|
||||||
|
|
|
||||||
12
device.mk
12
device.mk
|
|
@ -9,7 +9,7 @@ PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)
|
||||||
|
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
|
||||||
$(call inherit-product, frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk)
|
$(call inherit-product, frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk)
|
||||||
$(call inherit-product, vendor/lineage-rockchip/opi5ultra-vendor.mk)
|
$(call inherit-product, vendor/lineage-rockchip/tart-vendor.mk)
|
||||||
|
|
||||||
# APEX
|
# APEX
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
||||||
|
|
@ -199,11 +199,11 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Ramdisk
|
# Ramdisk
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(DEVICE_PATH)/ramdisk/fstab.opi5ultra:$(TARGET_COPY_OUT_RAMDISK)/fstab.opi5ultra \
|
$(DEVICE_PATH)/ramdisk/fstab.tart:$(TARGET_COPY_OUT_RAMDISK)/fstab.tart \
|
||||||
$(DEVICE_PATH)/ramdisk/fstab.opi5ultra:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.opi5ultra \
|
$(DEVICE_PATH)/ramdisk/fstab.tart:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.tart \
|
||||||
$(DEVICE_PATH)/ramdisk/init.opi5ultra.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.opi5ultra.rc \
|
$(DEVICE_PATH)/ramdisk/init.tart.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.tart.rc \
|
||||||
$(DEVICE_PATH)/ramdisk/init.opi5ultra.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.opi5ultra.usb.rc \
|
$(DEVICE_PATH)/ramdisk/init.tart.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.tart.usb.rc \
|
||||||
$(DEVICE_PATH)/ramdisk/ueventd.opi5ultra.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc
|
$(DEVICE_PATH)/ramdisk/ueventd.tart.rc:$(TARGET_COPY_OUT_VENDOR)/etc/ueventd.rc
|
||||||
|
|
||||||
# Seccomp
|
# Seccomp
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@ PRODUCT_PACKAGES += \
|
||||||
WifiOpiOverlay
|
WifiOpiOverlay
|
||||||
|
|
||||||
# Device identifier. This must come after all inclusions.
|
# Device identifier. This must come after all inclusions.
|
||||||
PRODUCT_DEVICE := orangepi5ultra
|
PRODUCT_DEVICE := tart
|
||||||
PRODUCT_NAME := lineage_orangepi5ultra
|
PRODUCT_NAME := lineage_tart
|
||||||
PRODUCT_BRAND := Orange
|
PRODUCT_BRAND := Orange
|
||||||
PRODUCT_MODEL := Pi 5 Ultra
|
PRODUCT_MODEL := Pi 5 Ultra
|
||||||
PRODUCT_MANUFACTURER := Orange
|
PRODUCT_MANUFACTURER := Orange
|
||||||
|
|
@ -135,7 +135,7 @@ label LineageOS Android TV
|
||||||
kernel /Image
|
kernel /Image
|
||||||
fdt /rk3588-orangepi-5-ultra.dtb
|
fdt /rk3588-orangepi-5-ultra.dtb
|
||||||
initrd /ramdisk.img
|
initrd /ramdisk.img
|
||||||
append console=ttyS2,1500000 no_console_suspend root=/dev/ram0 rootwait androidboot.hardware=opi5ultra androidboot.selinux=permissive androidboot.boot_devices=fe2c0000.mmc
|
append console=ttyS2,1500000 no_console_suspend root=/dev/ram0 rootwait androidboot.hardware=tart androidboot.selinux=permissive androidboot.boot_devices=fe2c0000.mmc
|
||||||
EXTLINUX_EOF
|
EXTLINUX_EOF
|
||||||
sudo cp ${KERNEL_PATH}/boot.scr "${BOOT_MOUNT}/"
|
sudo cp ${KERNEL_PATH}/boot.scr "${BOOT_MOUNT}/"
|
||||||
sudo cp ${KERNEL_PATH}/android-sdcard.dtbo "${BOOT_MOUNT}/"
|
sudo cp ${KERNEL_PATH}/android-sdcard.dtbo "${BOOT_MOUNT}/"
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
import /vendor/etc/init/hw/init.opi5ultra.usb.rc
|
import /vendor/etc/init/hw/init.tart.usb.rc
|
||||||
|
|
||||||
on init
|
on init
|
||||||
symlink /sdcard /storage/sdcard0
|
symlink /sdcard /storage/sdcard0
|
||||||
|
|
||||||
|
|
||||||
on fs
|
on fs
|
||||||
mount_all /vendor/etc/fstab.opi5ultra --early
|
mount_all /vendor/etc/fstab.tart --early
|
||||||
|
|
||||||
on late-fs
|
on late-fs
|
||||||
mount_all /vendor/etc/fstab.opi5ultra --late
|
mount_all /vendor/etc/fstab.tart --late
|
||||||
|
|
||||||
on boot
|
on boot
|
||||||
chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
chmod 0666 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
|
||||||
|
|
@ -15,7 +15,7 @@ ro.hardware.audio.primary=opi
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
bluetooth.device.class_of_device?=90,2,12
|
bluetooth.device.class_of_device?=90,2,12
|
||||||
bluetooth.device.default_name=OrangePi 5 Pro
|
bluetooth.device.default_name=Orange Pi 5 Ultra
|
||||||
bluetooth.profile.a2dp.sink.enabled?=true
|
bluetooth.profile.a2dp.sink.enabled?=true
|
||||||
bluetooth.profile.a2dp.source.enabled?=true
|
bluetooth.profile.a2dp.source.enabled?=true
|
||||||
bluetooth.profile.asha.central.enabled?=true
|
bluetooth.profile.asha.central.enabled?=true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue