NVIDIA Tegra
NVIDIA DRIVE OS 5.1 Linux

Developer Guide
5.1.0.2 Release


 
Example Native OS Partition Configuration
This example shows a configuration file that uses Quickboot for NOR boot medium. The example is taken from:
<top>/drive-t186ref-foundation/tools/host/flashtools/bootburn/quickboot_qspi_linux.cfg
 
Note:
The following CFG file is for illustrative purposes only. For the latest actual configurations, see the CFG files in your release.
 
#
# Copyright (c) 2015-2016, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA Corporation and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA Corporation is strictly prohibited.
#
[device]
type=spi
instance=0
linux_name=/dev/mtd/mtd0
size=0x4000000
#PageSize=512
#BlockSize=256K
 
[partition]
name=bct
allocation_policy=sequential
filesystem_type=basic
size=0x80000
partition_attribute=0
 
[partition]
name=mb1-bootloader
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
entry_point=0x40020000
load_address=0x40020000
version=0x11082015
filename=mb1.bin
rcm_filename=mb1_recovery.bin
 
[partition]
name=mb1-bootloader-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
entry_point=0x40020000
load_address=0x40020000
version=0x11082015
filename=mb1.bin
rcm_filename=mb1_recovery.bin
 
[partition]
name=mb1-bct
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
 
[partition]
name=mb1-bct-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
 
# No recovery partition for fuse-bypass as it for dev-only setup
[partition]
name=fuse-bypass
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=fusebypass.bin
 
[partition]
name=spe-fw
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmwares/bin/t186/spe/spe.bin
 
[partition]
name=spe-fw-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmwares/bin/t186/spe/spe.bin
 
[partition]
name=sc7-fw
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=warmboot.bin
 
[partition]
name=sc7-fw-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=warmboot.bin
 
[partition]
name=mb2-bootloader
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmwares/bin/t186/nvtboot.bin
rcm_filename=<top>/drive-t186ref-foundation/firmwares/bin/t186/nvtboot_recovery.bin
 
[partition]
name=mb2-bootloader-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmwares/bin/t186/nvtboot.bin
rcm_filename=<top>/drive-t186ref-foundation/ firmwares/bin/t186/nvtboot_recovery.bin
 
[partition]
name=mts-preboot
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=preboot_d15_cr.bin
 
[partition]
name=mts-preboot-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=preboot_d15_cr.bin
 
[partition]
name=mts-bootpack
allocation_policy=sequential
filesystem_type=basic
size=0x280000
partition_attribute=0
filename=mts-bootpack.bin
 
[partition]
name=mts-bootpack-r
allocation_policy=sequential
filesystem_type=basic
size=0x280000
partition_attribute=0
filename=mts-bootpack.bin
 
[partition]
name=pt
allocation_policy=sequential
filesystem_type=basic
size=0x80000
partition_attribute=0
 
[partition]
name=bpmp-fw
allocation_policy=sequential
filesystem_type=basic
size=0xC0000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmware/t186/bpmp/bpmp.bin
 
[partition]
name=bpmp-fw-r
allocation_policy=sequential
filesystem_type=basic
size=0xC0000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmware/t186/bpmp/bpmp.bin
 
[partition]
name=bpmp-fw-dtb
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=bpmp.dtb
 
[partition]
name=bpmp-fw-dtb-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=bpmp.dtb
 
[partition]
name=sce-fw
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=sce-fw.bin
 
[partition]
name=sce-fw-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=sce-fw.bin
 
[partition]
name=adsp-fw
allocation_policy=sequential
filesystem_type=basic
size=0x200000
partition_attribute=0
filename=adsp-fw.bin
 
[partition]
name=adsp-fw-r
allocation_policy=sequential
filesystem_type=basic
size=0x200000
partition_attribute=0
filename=adsp-fw.bin
 
[partition]
name=cpu-bootloader
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
#Bootburn adds dtb to qb image, so it explict required
filename=qb_cpu.bin
 
[partition]
name=cpu-bootloader-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
#Bootburn adds dtb to qb image, so it explict required
filename=qb_cpu.bin
 
[partition]
name=secure-os
allocation_policy=sequential
filesystem_type=basic
size=0x200000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmwars/bin/t186/tos.img
 
[partition]
name=secure-os-r
allocation_policy=sequential
filesystem_type=basic
size=0x200000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/firmwars/bin/t186/tos.img
 
[partition]
name=eks
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/tools/host/flashtools/bootburn/eks_nokey.dat
 
[partition]
name=eks-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/tools/host/flashtools/bootburn/eks_nokey.dat
 
[partition]
name=kernel-dtb
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=linux.dtb
os_args="PRIMARY_CHAIN=<root=/dev/mmcblk0p1> RECOVERY_CHAIN=<root=/dev/mmcblk0p2> earlycon=uart8250,mmio32,0x03110000 console=ttyS0,115200n8 no_console_suspend=1 tegra_keep_boot_clocks "
 
[partition]
name=kernel-dtb-r
allocation_policy=sequential
filesystem_type=basic
size=0x40000
partition_attribute=0
filename=linux.dtb
os_args="PRIMARY_CHAIN=<root=/dev/mmcblk0p1> RECOVERY_CHAIN=<root=/dev/mmcblk0p2> earlycon=uart8250,mmio32,0x03110000 console=ttyS0,115200n8 no_console_suspend=1 tegra_keep_boot_clocks "
 
[partition]
name=kernel
allocation_policy=sequential
filesystem_type=basic
size=0xD00000
partition_attribute=0
imagepath=<top>/drive-t186ref-linux/kernel/Image
decompression_algorithm=lzf
stream_validation=yes
image_type=linux
load_address=0x80000
 
[partition]
name=kernel-r
allocation_policy=sequential
filesystem_type=basic
size=0xD00000
partition_attribute=0
imagepath=<top>/drive-t186ref-linux/kernel/Image
decompression_algorithm=lzf
stream_validation=yes
image_type=linux
load_address=0x80000
 
[partition]
name=ramdisk
allocation_policy=sequential
filesystem_type=basic
size=0x400000
partition_attribute=0
ramdisk_path=<top>/drive-t186ref-linux/kernel/yocto-tegra-initramfs-rootfs.img
decompression_algorithm=lzf
stream_validation=yes
image_type=ramdisk
load_address=0x3420000
 
[partition]
name=ramdisk-r
allocation_policy=sequential
filesystem_type=basic
size=0x400000
partition_attribute=0
ramdisk_path=<top>/drive-t186ref-linux/kernel/yocto-tegra-initramfs-rootfs.img
decompression_algorithm=lzf
stream_validation=yes
image_type=ramdisk
load_address=0x3420000
 
[device]
type=sdmmc
instance=3
linux_name=/dev/block/3460000.sdhci
size=0xECE000000
 
[partition]
name=fs-gp1
type=GP1
allocation_policy=sequential
filesystem_type=basic
size=0x40000
 
[partition]
name=usr-fs
allocation_policy=sequential
filesystem_type=ext4
size=0xC80000000
partition_attribute=0
dirname=<top>/drive-t186ref-linux/targetfs
 
[partition]
name=usr-fs-r
allocation_policy=sequential
filesystem_type=ext4
size=0x140000000
partition_attribute=0
filename=<top>/drive-t186ref-foundation/tools/driveota/rbirootfs/usr-fs-r_40_ext4.img
 
[partition]
name=devota-fs
allocation_policy=sequential
filesystem_type=ext4
size=0x100000000
partition_attribute=0
dirname=<top>/drive-t186ref-foundation/tools/driveota/devotafs
 
[partition]
name=fs-gpt
type=GPT
allocation_policy=sequential
filesystem_type=basic
size=0x40000
drivedrivedrive