Hi ! EduardoSalazar96 and Wayne .
It’s okay, very simple.
I copied the configuration file from the following SD card and renamed it to emmc2.
1.p3509-0000+p3668-0000-qspi-sd.conf -- > p3509-0000+p3668-0000-qspi-emmc2.conf
2.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668.xml
3.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668_enc_rfs.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rfs.xml
4.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668_enc_rootfs_ab.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rootfs_ab.xml
5.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668_rootfs_ab.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_rootfs_ab.xml
6.bootloader/t186ref/BCT/tegra194-mb1-bct-misc-sd-l4t.cfg -- > bootloader/t186ref/BCT/tegra194-mb1-bct-misc-emmc2-l4t.cfg
Then create a symbolic link:“ln p3509-0000+p3668-0000-qspi-emmc2.conf jetson-xavier-nx-devkit-emmc2.conf”.
Then use the command ‘vim jetson-xavier-nx-devkit-emmc2.conf’ to edit the ‘jetson-xavier-nx-devkit-emmc2.conf’ file.
1.EMMC_CFG=flash_l4t_t194_spi_sd_p3668.xml; -- > EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668.xml;
2.DTB_FILE=tegra194-p3668-0000-p3509-0000.dtb; -- > DTB_FILE=tegra194-p3668-0001-p3509-0000.dtb;
3.MISC_COLD_BOOT_CONFIG="tegra194-mb1-bct-misc-sd-l4t.cfg"; -- >MISC_COLD_BOOT_CONFIG="tegra194-mb1-bct-misc-emmc2-l4t.cfg";
4.#Rootfs A/B : EMMC_CFG=flash_l4t_t194_spi_sd_p3668_rootfs_ab.xml; -- >
#Rootfs A/B : EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668_rootfs_ab.xml;
5.# Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_sd_p3668_enc_rfs.xml; -- > # Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668_enc_rfs.xml;
6.# Rootfs A/B + Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_sd_p3668_enc_rootfs_ab.xml; -- > # Rootfs A/B + Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668_enc_rootfs_ab.xml;
Edit the information in the following file.
file: bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668.xml、bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rfs.xml、bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rootfs_ab.xml、bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_rootfs_ab.xml.
Information : <device type="sdcard" instance="0" sector_size="512" num_sectors="123731968"> -- > <device type="sdmmc_user" instance="3" sector_size="512" num_sectors="123731968">
Finally, execute the command ‘sudo ./flash.sh jetson-xavier-nx-devkit-emmc2 internal’ to flash the NX.
It will automatically adapt to the storage size of the eMMC.
zmy@zmy-desktop:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 16M 1 loop
mmcblk0 179:0 0 116.5G 0 disk
├─mmcblk0p1 179:1 0 115.8G 0 part /
├─mmcblk0p2 179:2 0 64M 0 part
├─mmcblk0p3 179:3 0 448K 0 part
├─mmcblk0p4 179:4 0 32.6M 0 part
├─mmcblk0p5 179:5 0 2.5M 0 part
├─mmcblk0p6 179:6 0 64K 0 part
├─mmcblk0p7 179:7 0 1M 0 part
├─mmcblk0p8 179:8 0 1M 0 part
├─mmcblk0p9 179:9 0 1M 0 part
├─mmcblk0p10 179:10 0 1.5M 0 part
├─mmcblk0p11 179:11 0 1M 0 part
├─mmcblk0p12 179:12 0 64M 0 part
├─mmcblk0p13 179:13 0 448K 0 part
├─mmcblk0p14 179:14 0 32.5M 0 part
├─mmcblk0p15 179:15 0 80M 0 part
├─mmcblk0p16 179:16 0 512K 0 part
├─mmcblk0p17 179:17 0 100M 0 part
├─mmcblk0p18 179:18 0 64M 0 part
├─mmcblk0p19 179:19 0 80M 0 part
├─mmcblk0p20 179:20 0 512K 0 part
├─mmcblk0p21 179:21 0 64M 0 part
└─mmcblk0p22 179:22 0 128M 0 part
zram0 251:0 0 856.8M 0 disk [SWAP]
zram1 251:1 0 856.8M 0 disk [SWAP]
zram2 251:2 0 856.8M 0 disk [SWAP]
zram3 251:3 0 856.8M 0 disk [SWAP]
The following is Chinese
这里是中文:
首先我们要将SD卡的配置文件复制并重命名为emmc2:
1.p3509-0000+p3668-0000-qspi-sd.conf -- > p3509-0000+p3668-0000-qspi-emmc2.conf
2.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668.xml
3.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668_enc_rfs.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rfs.xml
4.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668_enc_rootfs_ab.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rootfs_ab.xml
5.bootloader/t186ref/cfg/flash_l4t_t194_spi_sd_p3668_rootfs_ab.xml -- > bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_rootfs_ab.xml
6.bootloader/t186ref/BCT/tegra194-mb1-bct-misc-sd-l4t.cfg -- > bootloader/t186ref/BCT/tegra194-mb1-bct-misc-emmc2-l4t.cfg
再执行命令创建软链接:“ ln p3509-0000+p3668-0000-qspi-emmc2.conf jetson-xavier-nx-devkit-emmc2.conf ”。
再执行命令“vim jetson-xavier-nx-devkit-emmc2.conf”修改源“ p3509-0000+p3668-0000-qspi-emmc2.conf ”文件的以下信息:
1.EMMC_CFG=flash_l4t_t194_spi_sd_p3668.xml; -- > EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668.xml;
2.DTB_FILE=tegra194-p3668-0000-p3509-0000.dtb; -- > DTB_FILE=tegra194-p3668-0001-p3509-0000.dtb;
3.MISC_COLD_BOOT_CONFIG="tegra194-mb1-bct-misc-sd-l4t.cfg"; -- >MISC_COLD_BOOT_CONFIG="tegra194-mb1-bct-misc-emmc2-l4t.cfg";
4.#Rootfs A/B : EMMC_CFG=flash_l4t_t194_spi_sd_p3668_rootfs_ab.xml; -- >
#Rootfs A/B : EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668_rootfs_ab.xml;
5.# Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_sd_p3668_enc_rfs.xml; -- > # Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668_enc_rfs.xml;
6.# Rootfs A/B + Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_sd_p3668_enc_rootfs_ab.xml; -- > # Rootfs A/B + Disk encryption support : EMMC_CFG=flash_l4t_t194_spi_emmc2_p3668_enc_rootfs_ab.xml;
编辑以下文件的信息:
文件: bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668.xml、bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rfs.xml、bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_enc_rootfs_ab.xml、bootloader/t186ref/cfg/flash_l4t_t194_spi_emmc2_p3668_rootfs_ab.xml.
信息 : <device type="sdcard" instance="0" sector_size="512" num_sectors="123731968"> -- > <device type="sdmmc_user" instance="3" sector_size="512" num_sectors="123731968">
最后执行命令“ sudo ./flash.sh jetson-xavier-nx-devkit-emmc2 internal ” 以重新烧录NX。
这将会自动适配emmc的大小,例如:
zmy@zmy-desktop:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 16M 1 loop
mmcblk0 179:0 0 116.5G 0 disk
├─mmcblk0p1 179:1 0 115.8G 0 part /
├─mmcblk0p2 179:2 0 64M 0 part
├─mmcblk0p3 179:3 0 448K 0 part
├─mmcblk0p4 179:4 0 32.6M 0 part
├─mmcblk0p5 179:5 0 2.5M 0 part
├─mmcblk0p6 179:6 0 64K 0 part
├─mmcblk0p7 179:7 0 1M 0 part
├─mmcblk0p8 179:8 0 1M 0 part
├─mmcblk0p9 179:9 0 1M 0 part
├─mmcblk0p10 179:10 0 1.5M 0 part
├─mmcblk0p11 179:11 0 1M 0 part
├─mmcblk0p12 179:12 0 64M 0 part
├─mmcblk0p13 179:13 0 448K 0 part
├─mmcblk0p14 179:14 0 32.5M 0 part
├─mmcblk0p15 179:15 0 80M 0 part
├─mmcblk0p16 179:16 0 512K 0 part
├─mmcblk0p17 179:17 0 100M 0 part
├─mmcblk0p18 179:18 0 64M 0 part
├─mmcblk0p19 179:19 0 80M 0 part
├─mmcblk0p20 179:20 0 512K 0 part
├─mmcblk0p21 179:21 0 64M 0 part
└─mmcblk0p22 179:22 0 128M 0 part
zram0 251:0 0 856.8M 0 disk [SWAP]
zram1 251:1 0 856.8M 0 disk [SWAP]
zram2 251:2 0 856.8M 0 disk [SWAP]
zram3 251:3 0 856.8M 0 disk [SWAP]