No jetson-tx2-4GB DTB

The command

sudo ./flash.sh --no-flash jetson-tx2-4GB mmcblk0p1

returns error,
Error: missing dtbfile (/home/garret/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3489-0080/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-c03-00-base.dtb).

We use SDK manager GUI generate JetPack_4.2.2_Linux_GA_P3489-0080 directory, but when we tried to generate the system.img with the above command, the error came out.

FYR,

garret:~/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3489-0080/Linux_for_Tegra/kernel/dtb$ ls
tegra186-quill-p3310-1000-a00-00-base.dtb         tegra186-quill-p3489-0888-a00-00-base.dtb  tegra194-p2888-0001-p2822-0000-maxn.dtb
tegra186-quill-p3310-1000-as-0888.dtb             tegra186-quill-p3489-1000-a00-00-ucm1.dtb  tegra194-p2888-0006-p2822-0000.dtb
tegra186-quill-p3310-1000-c03-00-base.dtb         tegra186-quill-p3489-1000-a00-00-ucm2.dtb  tegra194-p2888-as-0006-p2822-0000.dtb
tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dtb  tegra194-p2888-0001-p2822-0000.dtb

This is weird. Thanks for reporting this. We will help check.

Could you also try w/o "–no-flash "?

Sorry, I don’t exactly understand the meaning of ‘try w/o "–no-flash "’,

Is it “sudo ./flash.sh w/o --no-flash jetson-tx2-4GB mmcblk0p1”?

Thanks

w/o means “without”

sudo ./flash.sh  jetson-tx2-4GB mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 2.1
###############################################################################
# Target Board Information:
# Name: jetson-tx2-4GB, Board Family: t186ref, SoC: Tegra 186, 
# OpMode: production, Boot Authentication: NS, 
###############################################################################
./tegraflash.py --chip 0x18 --applet "/home/garret/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3489-0080/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin" --skipuid --cmd "dump eeprom boardinfo cvm.bin" 
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0368 ] Generating RCM messages
[   0.0401 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/garret/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3489-0080/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[   0.0430 ] RCM 0 is saved as rcm_0.rcm
[   0.0574 ] RCM 1 is saved as rcm_1.rcm
[   0.0574 ] List of rcm files are saved in rcm_list.xml
[   0.0574 ] 
[   0.0575 ] Signing RCM messages
[   0.0835 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0866 ] Assuming zero filled SBK key
[   0.1092 ] 
[   0.1093 ] Copying signature to RCM mesages
[   0.1137 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[   0.1183 ] 
[   0.1185 ] Boot Rom communication
[   0.1215 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[   0.1246 ] RCM version 0X180001
[   0.1265 ] Boot Rom communication completed
[   1.1332 ] 
[   2.1391 ] tegrarcm_v2 --isapplet
[   2.1418 ] Applet version 01.00.0000
[   2.1440 ] 
[   2.1458 ] Retrieving EEPROM data
[   2.1460 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/garret/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3489-0080/Linux_for_Tegra/bootloader/cvm.bin
[   2.1474 ] Applet version 01.00.0000
[   2.1499 ] Saved platform info in /home/garret/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3489-0080/Linux_for_Tegra/bootloader/cvm.bin
[   2.2249 ] 
Board ID(3310) version(B02) sku(1000) revision(E.0)
Error: missing dtbfile (/home/garret/nvidia/nvidia_sdk/JetPack_4.2.2_Linux_GA_P3489-0080/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3489-0888-c03-00-base.dtb).

Usage: sudo ./flash.sh [options] t186ref mmcblk0p1
    options:
        -b <bctfile> --------- Boot control table config file.
        -c <cfgfile> --------- Flash partition table config file.
        -d <dtbfile> --------- device tree file.
        -e <emmc size> ------- Target device's eMMC size.
        -f <flashapp> -------- Path to flash application (tegraflash.py)
        -h ------------------- print this message.
        -k <partition id> ---- partition name or number specified in flash.cfg.
        -m <mts preboot> ----- MTS preboot such as mts_preboot_si.
        -n <nfs args> -------- Static nfs network assignments
                               <Client IP>:<Server IP>:<Gateway IP>:<Netmask>
        -o <odmdata> --------- ODM data.
        -p <bp size> --------- Total eMMC HW boot partition size.
        -r ------------------- skip building and reuse existing system.img.
        -s <PKC key file>----- PKC key used for signing and building bl_update_payload.
                               (obsolete)
        -t <tegraboot> ------- tegraboot binary such as nvtboot.bin
        -u <PKC key file>----- PKC key used for odm fused board.
        -v <SBK key file>----- Secure Boot Key (SBK) key used for ODM fused board.
        -w <wb0boot> --------- warm boot binary such as nvtbootwb0.bin
        -x <tegraid> --------- Tegra CHIPID. default = 0x18(jetson-tx2)
                               0x21(jetson-tx1).
        -y <fusetype> -------- PKC for secureboot, NS for non-secureboot.
        -z <sn> -------------- Serial Number of target board.
        -B <boardid> --------- BoardId.
        -C <cmdline> --------- Kernel commandline arguments.
                               WARNING:
                               Each option in this kernel commandline gets
                               higher preference over the values set by
                               flash.sh. In case of NFS booting, this script
                               adds NFS booting related arguments, if -i option
                               is omitted.
        -F <flasher> --------- Flash server such as cboot.bin.
        -G <file name> ------- Read partition and save image to file.
        -I <initrd> ---------- initrd file. Null initrd is default.
        -K <kernel> ---------- Kernel image file such as zImage or Image.
        -L <bootloader> ------ Bootloader such as cboot.bin or u-boot-dtb.bin.
        -M <mts boot> -------- MTS boot file such as mts_si.
        -N <nfsroot> --------- i.e. <my IP addr>:/my/exported/nfs/rootfs.
        -P <end of PPT + 1> -- Primary GPT start address + size of PPT + 1.
        -R <rootfs dir> ------ Sample rootfs directory.
        -S <size> ------------ Rootfs size in bytes. Valid only for internal
                               rootdev. KiB, MiB, GiB short hands are allowed,
                               for example, 1GiB means 1024 * 1024 * 1024 bytes.
        --no-flash ----------- perform all steps except physically flashing the board.
                               This will create a system.img.
        --no-systemimg ------- Do not create or re-create system.img.
        --bup ---------------- Generate bootloader update payload(BUP).
        --multi-spec---------- Enable support for building multi-spec BUP.
        --clean-up------------ Clean up BUP buffer when multi-spec is enabled.
        --usb-instance <id> -- Specify the USB instance to connect to; integer
                               ID (e.g. 0, 1), bus/dev (e.g. 003/091), or USB
                               port path (e.g. 3-14). The latter is best.

Got it. We will check this issue.

Hi garretzou,

Are you modify the p2771-0000-0888.conf file?
The default DTB file is using tegra186-quill-p3489-0888-a00-00-base.dtb
And it can flash success on P3489-0080 platform via sdkmanager and flash command.
Please put your device into recovery mode with “–no-flash” command. Thanks!

Dear carolyuu,

I did not modify the p2771-0000-0888.conf file.

My p2771-0000-0888.conf is as below,

# Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#  * Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
#  * Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
#  * Neither the name of NVIDIA CORPORATION nor the names of its
#    contributors may be used to endorse or promote products derived
#    from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
# PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
# OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

# p2771-0000-0888.conf: configuration for T186-A02 te770m P3489 SKU888

BPFDTB_FILE=tegra186-a02-bpmp-lightning-p3489-a00-00-te770m.dtb;
source "${LDK_DIR}/p2771-0000.conf.common";
EMMC_BCT=P3489_Sku888_4GB_Hynix_4GB_lpddr4_204Mhz_P138_A02_l4t.cfg
DTB_FILE=tegra186-quill-p3489-0888-a00-00-base.dtb;
TBCDTB_FILE=tegra186-quill-p3489-0888-a00-00-base.dtb;

PROD_CONFIG="tegra186-mb1-bct-prod-storm-p3489-1000-a00.cfg";
PINMUX_CONFIG="tegra186-mb1-bct-pinmux-quill-p3489-1000-a00.cfg";
PMIC_CONFIG="tegra186-mb1-bct-pmic-lightning-p3489-1000-a00.cfg";
PMC_CONFIG="tegra186-mb1-bct-pad-quill-p3489-1000-a00.cfg";
BOOTROM_CONFIG="tegra186-mb1-bct-bootrom-quill-p3489-1000-a00.cfg";

flash_no.log (58 KB)

Hi,

I just discussed with carolyuu. You could try to use below and it should generate system.img.

sudo BOARDID=3489 FAB=A00 ./flash.sh jetson-tx2-4GB mmcblk0p1

Dear WayneWWW,

It works. But the command seem weird.

Thanks

Hi garretzou,

Which driver package are you download?
R32.2.1 Driver Package: https://developer.nvidia.com/embedded/dlc/r32-2-1_Release_v1.0/TX2-AGX/Tegra186_Linux_R32.2.1_aarch64.tbz2
R32.2.1 Root File System: https://developer.nvidia.com/e[url]mbedded/dlc/r32-2-1_Release_v1.0/TX2-AGX/Tegra_Linux_Sample-Root-Filesystem_R32.2.1_aarch64.tbz2
Please following quick start guide to flash image and try again.

Dear Carolyuu,

Thanks

Yes, I am sure it are the below packages that I downloaded. Take easy, I am just curious about the command, “sudo BOARDID=3489 FAB=A00 ./flash.sh jetson-tx2-4GB mmcblk0p1”.

It works. But the command seem weird.

Don’t get your point here.

Actually “–no-flash” require a device connected too.

Thus, You have to use that “weird” command to bypass the check so that you don’t need the device.