Add batuu support
This is the Jetson Nano 2GB Change-Id: I71a04f0e2dfaebdfa5265e1a02a4ef5d39d41b28
This commit is contained in:
1 parent
de0477e200
commit
885be42b20
4 files changed
+58
No files matched your search
@@ -56,6 +56,7 @@ DEVICE_PACKAGE_OVERLAYS += \
|
||||
|
||||
# Init related
|
||||
PRODUCT_PACKAGES += \
|
||||
fstab.batuu \
|
||||
fstab.darcy \
|
||||
fstab.dragon \
|
||||
fstab.foster \
|
||||
@@ -71,6 +72,7 @@ PRODUCT_PACKAGES += \
|
||||
fstab.porg \
|
||||
fstab.porg_sd \
|
||||
fstab.sif \
|
||||
init.batuu.rc \
|
||||
init.darcy.rc \
|
||||
init.dragon.rc \
|
||||
init.foster_e.rc \
|
||||
@@ -89,6 +91,7 @@ PRODUCT_PACKAGES += \
|
||||
init.porg.rc \
|
||||
init.porg_sd.rc \
|
||||
init.sif.rc \
|
||||
init.recovery.batuu.rc \
|
||||
init.recovery.darcy.rc \
|
||||
init.recovery.dragon.rc \
|
||||
init.recovery.foster_e.rc \
|
||||
@@ -105,6 +108,7 @@ PRODUCT_PACKAGES += \
|
||||
init.recovery.porg.rc \
|
||||
init.recovery.porg_sd.rc \
|
||||
init.recovery.sif.rc \
|
||||
power.batuu.rc \
|
||||
power.darcy.rc \
|
||||
power.dragon.rc \
|
||||
power.foster_e.rc \
|
||||
|
||||
@@ -131,6 +131,7 @@ void vendor_load_properties()
|
||||
{ "loki", "loki_e_wifi", "SHIELD Portable", 2530, 30, tegra_init::boot_dev_type::EMMC, 21, 240 },
|
||||
{ "jetson", "jetson_cv", "Jetson TX1", 2597, 2180, tegra_init::boot_dev_type::EMMC, 21, 320 },
|
||||
{ "jetson", "jetson_e", "Jetson TX1", 2595, 0, tegra_init::boot_dev_type::EMMC, 21, 320 },
|
||||
{ "porg", "batuu", "Jetson Nano 2GB", 3448, 3, tegra_init::boot_dev_type::SD, 28, 320 },
|
||||
{ "porg", "porg_sd", "Jetson Nano", 3448, 0, tegra_init::boot_dev_type::SD, 28, 320 },
|
||||
{ "porg", "porg", "Jetson Nano", 3448, 2, tegra_init::boot_dev_type::EMMC, 28, 320 },
|
||||
{ "icosa", "icosa_emmc", "Switch", 20, 1, tegra_init::boot_dev_type::EMMC, 27, 192 },
|
||||
|
||||
@@ -14,6 +14,13 @@
|
||||
|
||||
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
|
||||
@@ -119,6 +126,14 @@ 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
|
||||
@@ -239,6 +254,13 @@ 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
|
||||
@@ -375,6 +397,13 @@ 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
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# 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
|
||||
Reference in new issue
Block a user