TX2 Asoc in R32.1

I have successful played back the audio on a custom board with a TX2 and a Maxim MAX98090 codec by using release 28.2.

And I made the dts & driver about audio portable to releasing 32.1.
But after I executed the command as follow:

amixer -c 1 cset name=“I2S1 Mux” ADMAIF3 
aplay -D hw:1,2 audio.wav

The clock signals of I2S were detected, while the audio_mclk signal was always high.

I just modified one place about “set_clk” in machine_driver as follow:

err = snd_soc_dai_set_sysclk(card->rtd[idx].codec_dai,
//	RT5659_SCLK_S_MCLK, clk_out_rate, SND_SOC_CLOCK_IN);
	0, clk_out_rate, SND_SOC_CLOCK_IN);

Is there any aud_clk configuration I missed setting.

Hello!

Most likely it is the pinmux configuration for the aud_mclk in tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg that has changed between releases …

$ diff -u r28.3/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg r28.2.1/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg  | grep "# aud_mclk"
+pinmux.0x02431020 = 0x00000400; # aud_mclk_pj4: aud, tristate-disable, input-disable
-pinmux.0x02431020 = 0x00000059; # aud_mclk_pj4: rsvd1, pull-up, tristate-enable, input-enable, lpdr-disable

With the board booted you can confirm that aud_mclk pinmux setting by …

$ sudo grep aud_mclk /sys/kernel/debug/tegra_pinctrl_reg

If you have the value ‘0x59’ then the aud_mclk pin is configured for the rsvd1 mode and so it will not be driven. You can revert the change in the tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg file and re-flash the board to see if this helps.

Regards,
Jon

Thank you.

I have another problem.

If I just flashed kernel

sudo ./flash.sh -k kernel jetson-tx2 mmcblk0p1

The value of the aud_mclk pin was still ‘0x59’

And if I just flashed boot

sudo ./flash.sh -k kernel jetson-tx2 mmcblk0p1

It failed as follow

[   0.0066 ] Generating RCM messages
[   0.0087 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm /home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin 0 0
[   0.0108 ] RCM 0 is saved as rcm_0.rcm
[   0.0109 ] RCM 1 is saved as rcm_1.rcm
[   0.0109 ] List of rcm files are saved in rcm_list.xml
[   0.0109 ] 
[   0.0110 ] Signing RCM messages
[   0.0157 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0186 ] Assuming zero filled SBK key
[   0.0291 ] 
[   0.0292 ] Copying signature to RCM mesages
[   0.0308 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[   0.0368 ] 
[   0.0369 ] Boot Rom communication
[   0.0402 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml --skipuid
[   0.0417 ] RCM version 0X180001
[   0.0441 ] Boot Rom communication completed
[   1.0503 ] 
[   2.0535 ] tegrarcm_v2 --isapplet
[   2.0551 ] Applet version 01.00.0000
[   2.0579 ] 
[   2.0604 ] Retrieving EEPROM data
[   2.0606 ] tegrarcm_v2 --oem platformdetails eeprom cvm /home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/cvm.bin
[   2.0625 ] Applet version 01.00.0000
[   2.0785 ] Saved platform info in /home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/cvm.bin
[   2.1516 ] 
Board ID(3310) version(B02) sku(1000) revision(E.0)
copying bctfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg)... done.
copying misc_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-misc-si-l4t.cfg)... done.
copying pinmux_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg)... done.
copying pmic_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg)... done.
copying pmc_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg)... done.
copying prod_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg)... done.
copying scr_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/minimal_scr.cfg)... done.
copying scr_cold_boot_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/mobile_scr.cfg)... done.
copying bootrom_config(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg)... done.
copying dev_params(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/BCT/emmc.cfg)... done.
Existing bootloader(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
	populating kernel to rootfs... done.
	populating initrd to rootfs... done.
	populating extlinux.conf.emmc to rootfs... done.
	populating /home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb to rootfs... done.
done.
Making Boot image... done.
Existing sosfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/mb1_recovery_prod.bin) reused.
copying tegraboot(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/nvtboot.bin)... done.
Existing cpu_bootloader(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/nvtboot_cpu.bin) reused.
Existing mb2blfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/nvtboot_recovery.bin) reused.
Existing mtspreboot(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/preboot_d15_prod_cr.bin) reused.
Existing mts(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/mce_mts_d15_prod_cr.bin) reused.
Existing mb1file(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/mb1_prod.bin) reused.
Existing bpffile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/bpmp.bin) reused.
copying bpfdtbfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb)... done.
Existing scefile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/camera-rtcpu-sce.img) reused.
Existing spefile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/spe.bin) reused.
Existing drameccfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/dram-ecc.bin) reused.
Existing badpagefile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/badpage.bin) reused.
copying wb0boot(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/warmboot.bin)... done.
Existing tosfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/tos-mon-only.img) reused.
Existing eksfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/eks.img) reused.
copying dtbfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
Existing tbcfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/cboot.bin) reused.
copying tbcdtbfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/kernel/dtb/tegra186-quill-p3310-1000-c03-00-base.dtb)... done.
copying cfgfile(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/t186ref/cfg/flash_l4t_t186.xml) to flash.xml... done.
Existing flasher(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/nvtboot_recovery_cpu.bin) reused.
Existing flashapp(/home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/tegraflash.py) reused.
*** Updating [LNX] with boot.img ***
./tegraflash.py --bl nvtboot_recovery_cpu.bin  --chip 0x18 --applet mb1_recovery_prod.bin --sdram_config P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc_config tegra186-mb1-bct-misc-si-l4t.cfg --pinmux_config tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmic_config tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --pmc_config tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --prod_config tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg --scr_config minimal_scr.cfg --scr_cold_boot_config mobile_scr.cfg --br_cmd_config tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --dev_params emmc.cfg  --cfg  flash.xml --bins "mb2_bootloader nvtboot_recovery.bin; mts_preboot preboot_d15_prod_cr.bin; mts_bootpack mce_mts_d15_prod_cr.bin; bpmp_fw bpmp.bin; bpmp_fw_dtb tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb; tlk tos-mon-only.img; eks eks.img; bootloader_dtb tegra186-quill-p3310-1000-c03-00-base.dtb"  --cmd "write DTB tegra186-quill-p3310-1000-c03-00-base.dtb; write LNX boot.img; reboot"  
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.0123 ] Generating RCM messages
[   0.0203 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
[   0.0218 ] RCM 0 is saved as rcm_0.rcm
[   0.0224 ] RCM 1 is saved as rcm_1.rcm
[   0.0224 ] List of rcm files are saved in rcm_list.xml
[   0.0224 ] 
[   0.0225 ] Signing RCM messages
[   0.0242 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0258 ] Assuming zero filled SBK key
[   0.0343 ] 
[   0.0344 ] Copying signature to RCM mesages
[   0.0360 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
[   0.0379 ] 
[   0.0380 ] Boot Rom communication
[   0.0397 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[   0.0438 ] BootRom is not running
[   5.2273 ] 
[   6.2304 ] tegrarcm_v2 --isapplet
[   6.2320 ] Applet version 01.00.0000
[   6.2449 ] 
[   6.2497 ] tegrasign_v2 --key None --getmode mode.txt
[   6.2513 ] Assuming zero filled SBK key
[   6.2516 ] 
[   6.2519 ] Parsing partition layout
[   6.2622 ] tegraparser_v2 --pt flash.xml.tmp
[   6.2671 ] 
[   6.2672 ] Creating list of images to be signed
[   6.2778 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
[   6.3468 ] 
[   6.3470 ] Generating signatures
[   6.3517 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
[   6.3609 ] Assuming zero filled SBK key
[   6.8548 ] 
[   6.8550 ] Reading BCT from device for further operations
[   6.8551 ] Generating blob
[   6.8571 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery_cpu.bin
[   6.8646 ] 
[   6.8704 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery_cpu.bin zerosbk
[   6.8730 ] 
[   6.8751 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_cpu_sigheader.bin_list.xml
[   6.8799 ] Assuming zero filled SBK key
[   6.9068 ] 
[   6.9090 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_cpu_sigheader.bin.encrypt blob_nvtboot_recovery_cpu_sigheader.bin.hash zerosbk
[   6.9120 ] 
[   6.9153 ] tegrahost_v2 --chip 0x18 --align blob_nvtboot_recovery.bin
[   6.9172 ] 
[   6.9189 ] tegrahost_v2 --appendsigheader blob_nvtboot_recovery.bin zerosbk
[   6.9210 ] 
[   6.9233 ] tegrasign_v2 --key None --list blob_nvtboot_recovery_sigheader.bin_list.xml
[   6.9250 ] Assuming zero filled SBK key
[   6.9294 ] 
[   6.9329 ] tegrahost_v2 --updatesigheader blob_nvtboot_recovery_sigheader.bin.encrypt blob_nvtboot_recovery_sigheader.bin.hash zerosbk
[   6.9355 ] 
[   6.9374 ] tegrahost_v2 --chip 0x18 --align blob_preboot_d15_prod_cr.bin
[   6.9391 ] 
[   6.9408 ] tegrahost_v2 --appendsigheader blob_preboot_d15_prod_cr.bin zerosbk
[   6.9441 ] 
[   6.9477 ] tegrasign_v2 --key None --list blob_preboot_d15_prod_cr_sigheader.bin_list.xml
[   6.9494 ] Assuming zero filled SBK key
[   6.9526 ] 
[   6.9545 ] tegrahost_v2 --updatesigheader blob_preboot_d15_prod_cr_sigheader.bin.encrypt blob_preboot_d15_prod_cr_sigheader.bin.hash zerosbk
[   6.9565 ] 
[   6.9583 ] tegrahost_v2 --chip 0x18 --align blob_mce_mts_d15_prod_cr.bin
[   6.9601 ] 
[   6.9618 ] tegrahost_v2 --appendsigheader blob_mce_mts_d15_prod_cr.bin zerosbk
[   6.9700 ] 
[   6.9756 ] tegrasign_v2 --key None --list blob_mce_mts_d15_prod_cr_sigheader.bin_list.xml
[   6.9773 ] Assuming zero filled SBK key
[   7.0897 ] 
[   7.0957 ] tegrahost_v2 --updatesigheader blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt blob_mce_mts_d15_prod_cr_sigheader.bin.hash zerosbk
[   7.1166 ] 
[   7.1197 ] tegrahost_v2 --chip 0x18 --align blob_bpmp.bin
[   7.1236 ] 
[   7.1259 ] tegrahost_v2 --appendsigheader blob_bpmp.bin zerosbk
[   7.1313 ] 
[   7.1347 ] tegrasign_v2 --key None --list blob_bpmp_sigheader.bin_list.xml
[   7.1429 ] Assuming zero filled SBK key
[   7.1668 ] 
[   7.1691 ] tegrahost_v2 --updatesigheader blob_bpmp_sigheader.bin.encrypt blob_bpmp_sigheader.bin.hash zerosbk
[   7.1750 ] 
[   7.1771 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb
[   7.1949 ] 
[   7.1994 ] tegrahost_v2 --appendsigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2.dtb zerosbk
[   7.2024 ] 
[   7.2047 ] tegrasign_v2 --key None --list blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb_list.xml
[   7.2064 ] Assuming zero filled SBK key
[   7.2398 ] 
[   7.2433 ] tegrahost_v2 --updatesigheader blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.hash zerosbk
[   7.2463 ] 
[   7.2486 ] tegrahost_v2 --chip 0x18 --align blob_tos-mon-only.img
[   7.2521 ] 
[   7.2573 ] tegrahost_v2 --appendsigheader blob_tos-mon-only.img zerosbk
[   7.2594 ] 
[   7.2650 ] tegrasign_v2 --key None --list blob_tos-mon-only_sigheader.img_list.xml
[   7.2676 ] Assuming zero filled SBK key
[   7.2721 ] 
[   7.2746 ] tegrahost_v2 --updatesigheader blob_tos-mon-only_sigheader.img.encrypt blob_tos-mon-only_sigheader.img.hash zerosbk
[   7.2766 ] 
[   7.2789 ] tegrahost_v2 --chip 0x18 --align blob_eks.img
[   7.2840 ] 
[   7.2910 ] tegrahost_v2 --appendsigheader blob_eks.img zerosbk
[   7.3004 ] 
[   7.3040 ] tegrasign_v2 --key None --list blob_eks_sigheader.img_list.xml
[   7.3055 ] Assuming zero filled SBK key
[   7.3059 ] 
[   7.3078 ] tegrahost_v2 --updatesigheader blob_eks_sigheader.img.encrypt blob_eks_sigheader.img.hash zerosbk
[   7.3100 ] 
[   7.3121 ] tegrahost_v2 --chip 0x18 --align blob_tegra186-quill-p3310-1000-c03-00-base.dtb
[   7.3149 ] 
[   7.3175 ] tegrahost_v2 --appendsigheader blob_tegra186-quill-p3310-1000-c03-00-base.dtb zerosbk
[   7.3198 ] 
[   7.3219 ] tegrasign_v2 --key None --list blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb_list.xml
[   7.3235 ] Assuming zero filled SBK key
[   7.3352 ] 
[   7.3396 ] tegrahost_v2 --updatesigheader blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.hash zerosbk
[   7.3420 ] 
[   7.3441 ] tegrahost_v2 --chip 0x18 --generateblob blob.xml blob.bin
[   7.3457 ] number of images in blob are 9
[   7.3460 ] blobsize is 3764776
[   7.3462 ] Added binary blob_nvtboot_recovery_cpu_sigheader.bin.encrypt of size 202832
[   7.3493 ] Added binary blob_nvtboot_recovery_sigheader.bin.encrypt of size 89184
[   7.3499 ] Added binary blob_preboot_d15_prod_cr_sigheader.bin.encrypt of size 63104
[   7.3507 ] Added binary blob_mce_mts_d15_prod_cr_sigheader.bin.encrypt of size 2082144
[   7.3545 ] Added binary blob_bpmp_sigheader.bin.encrypt of size 533056
[   7.3562 ] Added binary blob_tegra186-a02-bpmp-quill-p3310-1000-c04-00-te770d-ucm2_sigheader.dtb.encrypt of size 466240
[   7.3563 ] Added binary blob_tos-mon-only_sigheader.img.encrypt of size 83760
[   7.3564 ] Added binary blob_eks_sigheader.img.encrypt of size 1440
[   7.3564 ] Added binary blob_tegra186-quill-p3310-1000-c03-00-base_sigheader.dtb.encrypt of size 242864
[   7.3565 ] 
[   7.3567 ] Sending bootloader and pre-requisite binaries
[   7.3607 ] tegrarcm_v2 --download blob blob.bin
[   7.3647 ] Applet version 01.00.0000
[   7.3662 ] Sending blob
[   7.3679 ] [................................................] 100%
[   7.8271 ] 
[   7.8296 ] tegrarcm_v2 --boot recovery
[   7.8325 ] Applet version 01.00.0000
[   7.8364 ] 
[   8.8394 ] tegrarcm_v2 --isapplet
[   8.8420 ] 
[   8.8438 ] tegradevflash_v2 --iscpubl
[   8.8455 ] CPU Bootloader is not running on device.
[   8.8671 ] 
[   9.8704 ] tegrarcm_v2 --isapplet
[   9.8905 ] 
[   9.8926 ] tegradevflash_v2 --iscpubl
[   9.8942 ] Bootloader version 01.00.0000
[   9.9086 ] Bootloader version 01.00.0000
[   9.9102 ] 
[   9.9102 ] Writing partition
[   9.9121 ] tegradevflash_v2 --write DTB /home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/tegra186-quill-p3310-1000-c03-00-base.dtb
[   9.9139 ] Bootloader version 01.00.0000
[   9.9286 ] Writing partition DTB with /home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/tegra186-quill-p3310-1000-c03-00-base.dtb
[   9.9297 ] 000000000d0d000d: o open partition %s.
[   9.9427 ] 
[   9.9427 ] 
Error: Return value 13
Command tegradevflash_v2 --write DTB /home/xiaochuan/work/c18l262/tx2_32_1/flash_tools/Linux_for_Tegra/bootloader/tegra186-quill-p3310-1000-c03-00-base.dtb
Failed to flash/read t186ref.

Was my way of flashing correct?

Hello!

The above flash commands, appear to be the same. Is that correct? It sounded like the first command worked. Please can you clarify.

Thanks
Jon

Sorry for the mistake.

It failed when I flashed boot:

sudo ./flash.sh -k LNX jetson-tx2 mmcblk0p1

And if I used SDK, the value of the aud_mclk pin was ‘0x59’ too.

Hello!

So to flash the kernel for TX2 you need to use …

sudo ./flash.sh -k kernel jetson-tx2 mmcblk0p1

The LNX partition does not exist for TX2 and hence it fails.

With regard to the pinmux setting, flashing the kernel will not update the pinmux settings on the target. Can you try …

sudo ./flash.sh -k MB1_BCT jetson-tx2 mmcblk0p1

Regards,
Jon

It works!

Thank you for ur help!