Tegrasndt186ref

Hello, use “sudo ./flash -k kernel-dtb jetson-tx2 mmcblk0p1” to flash the device tree, enter the TX2 system, cat /proc/asound/cards is missing the tegrasndt186ref sound card, after checking it is found that card1 is missing in /proc/asound and tegrasndt186ref two files. But if tegrasndt186ref is restored after flashing the whole system with “sudo ./flash jetson-tx2 mmcblk0p1”, what is the reason? How to restore the tegrasndt186ref sound card without flashing the whole system?

555555555555

Have you compare the device tree under /proc/device-tree?

Are you sure your device tree is loaded from partition instead of “FDT” in extlinux.conf?

$ cat /proc/device-tree/sound/nvidia,dai-link-1/codec-dai-name
output: wm8962

but in dmesg,output error:

[    4.922088] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    4.928719] tegra-asoc: sound: snd_soc_register_card failed (-517)

How to confirm the load path of the device tree?

Uart log will tell.

DTB file path is:

/kernel/kernel-9/arch/arm64/boot/dts/../../../../../../hardware/nvidia/platform/t18x/quill/kernel-dts/tegra186-quill-p3310-1000-c03-00-base.dts

but the path was not found

I mean uart log. Not dmesg.

[0000.314] I> Boot-device: eMMC
[0000.321] I> sdmmc bdev is already initialized
[0000.326] I> pmic: reset reason (nverc)        : 0x50
[0000.359] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0000.378] I> Found 33 partitions in SDMMC_USER (instance 3)
[0000.384] W> No valid slot number is found in scratch register
[0000.390] W> Return default slot: _a
[0000.394] I> A/B: bin_type (16) slot 0
[0000.397] I> Loading partition bpmp-fw at 0xd7800000
[0000.402] I> Reading two headers - addr:0xd7800000 blocks:1
[0000.408] I> Addr: 0xd7800000, start-block: 58777608, num_blocks: 1
[0000.432] I> Binary(16) of size 534416 is loaded @ 0xd7800000
[0000.438] W> No valid slot number is found in scratch register
[0000.444] W> Return default slot: _a
[0000.447] I> A/B: bin_type (17) slot 0
[0000.451] I> Loading partition bpmp-fw-dtb at 0xd79f0000
[0000.456] I> Reading two headers - addr:0xd79f0000 blocks:1
[0000.461] I> Addr: 0xd79f0000, start-block: 58780024, num_blocks: 1
[0000.487] I> Binary(17) of size 604720 is loaded @ 0xd796c400
[0000.716] I> Loading SCE-FW ...
[0000.719] W> No valid slot number is found in scratch register
[0000.725] W> Return default slot: _a
[0000.728] I> A/B: bin_type (12) slot 0
[0000.732] I> Loading partition sce-fw at 0xd7300000
[0000.737] I> Reading two headers - addr:0xd7300000 blocks:1
[0000.742] I> Addr: 0xd7300000, start-block: 58784120, num_blocks: 1
[0000.761] I> Binary(12) of size 125168 is loaded @ 0xd7300000
[0000.767] I> Init SCE
[0000.769] I> Loading APE-FW ...
[0000.772] W> No valid slot number is found in scratch register
[0000.778] W> Return default slot: _a
[0000.781] I> A/B: bin_type (11) slot 0
[0000.785] I> Loading partition adsp-fw at 0xd7400000
[0000.790] I> Reading two headers - addr:0xd7400000 blocks:1
[0000.795] I> Addr: 0xd7400000, start-block: 58761224, num_blocks: 1
[0000.814] I> Binary(11) of size 77216 is loaded @ 0xd7400000
[0000.820] I> Copy BTCM section
[0000.823] W> No valid slot number is found in scratch register
[0000.829] W> Return default slot: _a
[0000.832] I> A/B: bin_type (13) slot 0
[0000.836] I> Loading partition cpu-bootloader at 0x96000000
[0000.841] I> Reading two headers - addr:0x96000000 blocks:1
[0000.847] I> Addr: 0x96000000, start-block: 58740744, num_blocks: 1
[0000.867] I> Binary(13) of size 302064 is loaded @ 0x96000000
[0000.873] W> No valid slot number is found in scratch register
[0000.879] W> Return default slot: _a
[0000.882] I> A/B: bin_type (20) slot 0
[0000.886] I> Loading partition bootloader-dtb at 0x8520f400
[0000.891] I> Reading two headers - addr:0x8520f400 blocks:1
[0000.897] I> Addr: 0x8520f400, start-block: 58742792, num_blocks: 1
[0000.919] I> Binary(20) of size 374528 is loaded @ 0x8520f400
[0000.924] W> No valid slot number is found in scratch register
[0000.930] W> Return default slot: _a
[0000.933] I> A/B: bin_type (14) slot 0
[0000.937] I> Loading partition secure-os at 0x8530f600
[0000.942] I> Reading two headers - addr:0x8530f600 blocks:1
[0000.948] I> Addr: 0x8530f600, start-block: 58744840, num_blocks: 1
[0000.970] I> Binary(14) of size 394672 is loaded @ 0x8530f600
[0000.977] I> TOS boot-params @ 0x85000000
[0000.981] I> TOS params prepared
[0000.984] I> Loading EKS ...
[0000.987] I> A/B: bin_type (15) slot 0
[0000.990] I> Loading partition eks at 0x8590f800
[0000.995] I> Reading two headers - addr:0x8590f800 blocks:1
[0001.000] I> Addr: 0x8590f800, start-block: 58757128, num_blocks: 1
[0001.019] I> Binary(15) of size 1040 is loaded @ 0x8590f800
[0001.025] I> EKB detected (length: 0x400) @ 0x8590f800
[0001.030] I> Copied encrypted keys
[0001.033] I> boot profiler @ 0x275844000
[0001.037] I> boot profiler for TOS @ 0x275844000
[0001.042] I> Unhalting SCE
[0001.045] I> Primary Memory Start:80000000 Size:70000000
[0001.050] I> Extended Memory Start:f0110000 Size:1856f0000
[0001.057] I> MB2(TBoot-BPMP) done

NOTICE:  BL31: v1.3(release):5b49e7f80
NOTICE:  BL31: Built : 08:38:54, Feb 19 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 197: key_mgnt_processing .......
hwkey-agent: 189: Setting EKB key 0 to slot 14
hwkey-agent: 167: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
[0001.410] I> Welcome to Cboot
[0001.413] I> Cboot Version: t186-28749d1d
[0001.417] I> CPU-BL Params @ 0x275800000
[0001.421] I>  0) Base:0x00000000 Size:0x00000000
[0001.425] I>  1) Base:0x277f00000 Size:0x00100000
[0001.430] I>  2) Base:0x277e00000 Size:0x00100000
[0001.434] I>  3) Base:0x277d00000 Size:0x00100000
[0001.439] I>  4) Base:0x277c00000 Size:0x00100000
[0001.443] I>  5) Base:0x277b00000 Size:0x00100000
[0001.448] I>  6) Base:0x277800000 Size:0x00200000
[0001.452] I>  7) Base:0x277400000 Size:0x00400000
[0001.457] I>  8) Base:0x277a00000 Size:0x00100000
[0001.461] I>  9) Base:0x277300000 Size:0x00100000
[0001.466] I> 10) Base:0x276800000 Size:0x00800000
[0001.470] I> 11) Base:0x30000000 Size:0x00040000
[0001.475] I> 12) Base:0xf0000000 Size:0x00100000
[0001.479] I> 13) Base:0x30040000 Size:0x00001000
[0001.484] I> 14) Base:0x30048000 Size:0x00001000
[0001.488] I> 15) Base:0x30049000 Size:0x00001000
[0001.492] I> 16) Base:0x3004a000 Size:0x00001000
[0001.497] I> 17) Base:0x3004b000 Size:0x00001000
[0001.501] I> 18) Base:0x3004c000 Size:0x00001000
[0001.506] I> 19) Base:0x3004d000 Size:0x00001000
[0001.510] I> 20) Base:0x3004e000 Size:0x00001000
[0001.515] I> 21) Base:0x3004f000 Size:0x00001000
[0001.519] I> 22) Base:0x00000000 Size:0x00000000
[0001.523] I> 23) Base:0xf0100000 Size:0x00010000
[0001.528] I> 24) Base:0x00000000 Size:0x00000000
[0001.532] I> 25) Base:0x00000000 Size:0x00000000
[0001.537] I> 26) Base:0x00000000 Size:0x00000000
[0001.541] I> 27) Base:0x00000000 Size:0x00000000
[0001.546] I> 28) Base:0x84400000 Size:0x00400000
[0001.550] I> 29) Base:0x30000000 Size:0x00010000
[0001.554] I> 30) Base:0x278000000 Size:0x08000000
[0001.559] I> 31) Base:0x00000000 Size:0x00000000
[0001.563] I> 32) Base:0x276000000 Size:0x00600000
[0001.568] I> 33) Base:0x80000000 Size:0x70000000
[0001.572] I> 34) Base:0xf0110000 Size:0x1856f0000
[0001.577] I> 35) Base:0x00000000 Size:0x00000000
[0001.581] I> 36) Base:0x00000000 Size:0x00000000
[0001.586] I> 37) Base:0x2772e0000 Size:0x00020000
[0001.590] I> 38) Base:0x84000000 Size:0x00400000
[0001.595] I> 39) Base:0x96000000 Size:0x02000000
[0001.599] I> 40) Base:0x85000000 Size:0x01200000
[0001.604] I> 41) Base:0x275800000 Size:0x00500000
[0001.608] I> 42) Base:0x00000000 Size:0x00000000
[0001.612] I> 43) Base:0x00000000 Size:0x00000000
[0001.617] GIC-SPI Target CPU: 4
[0001.620] Interrupts Init done
[0001.623] calling constructors
[0001.627] initializing heap
[0001.629] initializing threads
[0001.632] initializing timers
[0001.636] creating bootstrap completion thread
[0001.640] top of bootstrap2()
[0001.643] CPU: ARM Cortex A57
[0001.647] CPU: MIDR: 0x411FD073, MPIDR: 0x80000100
[0001.652] initializing platform
[0001.655] I> Bl_dtb @0x8520f400
[0001.658] I> gpio framework initialized
[0001.664] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio' driver
[0001.674] I> tegrabl_gpio_driver_register: register 'nvidia,tegra186-gpio-aon' driver
[0001.682] I> GPIO framework and drivers are initialized.
[0001.687] I> Boot-device: eMMC
[0001.694] I> sdmmc bdev is already initialized
[0001.725] I> Found 19 partitions in SDMMC_BOOT (instance 3)
[0001.743] I> Found 33 partitions in SDMMC_USER (instance 3)
[0001.748] W> opt-in fuse is not set, skip fuse_burning
[0001.753] I> Reserved memory at 0xfbe00000 for U-Boot relocation
[0001.759] W> No valid slot number is found in scratch register
[0001.764] W> Return default slot: _a
[0001.774] I> A/B: bin_type (21) slot 0
[0001.777] I> Loading kernel-dtb from partition
[0001.782] I> Loading partition kernel-dtb at 0x80000000 from device(0x1)
[0001.800] I> Kernel_dtb @0x80000000
[0001.803] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xee
[0001.811] E> I2C: slave not found in slaves.
[0001.815] E> I2C: Could not write 0 bytes to slave: 0x00ee with repeat start false.
[0001.823] E> I2C_DEV: Failed to send register address 0x00000004.
[0001.829] E> I2C_DEV: Could not write 1 registers of size 1 to slave 0xee at 0x00000004 via instance 0.
[0001.838] E> tca9539_device_init: failed to write polar reg
[0001.843] E> tegrabl_tca9539_init: failed to init device!
[0001.849] I> tegrabl_tca9539_init: i2c bus: 0, slave addr: 0xe8
[0001.855] E> I2C: slave not found in slaves.
[0001.859] E> I2C: Could not write 0 bytes to slave: 0x00e8 with repeat start false.
[0001.867] E> I2C_DEV: Failed to send register address 0x00000004.
[0001.873] E> I2C_DEV: Could not write 1 registers of size 1 to slave 0xe8 at 0x00000004 via instance 0.
[0001.882] E> tca9539_device_init: failed to write polar reg
[0001.888] E> tegrabl_tca9539_init: failed to init device!
[0001.896] I> fixed regulator driver initialized
[0001.929] I> register 'maxim' power off handle
[0001.935] I> virtual i2c enabled
[0001.938] I> registered 'maxim,max77620' pmic
[0001.943] I> tegrabl_gpio_driver_register: register 'max77620-gpio' driver
[0001.956] I> Find /i2c@c250000's alias i2c7
[0001.960] I> Reading eeprom i2c=7 address=0x50
[0001.990] I> Device at /i2c@c250000:0x50
[0001.993] I> Reading eeprom i2c=7 address=0x57
[0001.998] E> I2C: slave not found in slaves.
[0002.002] E> I2C: Could not write 0 bytes to slave: 0x00ae with repeat start true.
[0002.010] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.016] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xae at 0x00000000 via instance 7.
[0002.025] E> eeprom: Failed to read I2C slave device
[0002.030] I> Eeprom read failed 0x3526070d
[0002.034] I> Find /i2c@c240000's alias i2c1
[0002.038] I> Reading eeprom i2c=1 address=0x51
[0002.044] E> I2C: slave not found in slaves.
[0002.048] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0002.055] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.061] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0002.071] E> eeprom: Retry to read I2C slave device.
[0002.076] E> I2C: slave not found in slaves.
[0002.080] E> I2C: Could not write 0 bytes to slave: 0x00a2 with repeat start true.
[0002.088] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.093] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa2 at 0x00000000 via instance 1.
[0002.103] E> eeprom: Failed to read I2C slave device
[0002.108] I> Eeprom read failed 0x3526070d
[0002.112] I> Find /i2c@3160000's alias i2c0
[0002.116] I> Reading eeprom i2c=0 address=0x50
[0002.121] E> I2C: slave not found in slaves.
[0002.125] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0002.132] E> I2C_DEV: Failed to send register address 0x00000000.
[0002.138] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 0.
[0002.148] E> eeprom: Failed to read I2C slave device
[0002.153] I> Eeprom read failed 0x3526070d
[0002.157] I> Find /i2c@3180000's alias i2c2
[0002.161] I> Reading eeprom i2c=2 address=0x54
[0002.166] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.170] C> GPIO driver for chip_id 0x2 could not be found
[0002.176] E> cam_eeprom_read: Can't get gpio driver
[0002.180] I> Eeprom read failed 0x4d4d000d
[0002.184] I> Reading eeprom i2c=2 address=0x57
[0002.189] I> Enabling gpio chip_id = 2, gpio pin = 9
[0002.193] C> GPIO driver for chip_id 0x2 could not be found
[0002.199] E> cam_eeprom_read: Can't get gpio driver
[0002.203] I> Eeprom read failed 0x4d4d000d
[0002.207] I> create_pm_ids: id: 3310-1000-D00-F, len: 15
[0002.212] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0002.249] I> enabling 'vdd-hdmi' regulator
[0002.253] E> tegrabl_display_get_pdata, failed to parse dtb settings
[0002.262] E> cannot find any other nvdisp nodes
[0002.266] E> no valid display unit config found in dtb
[0002.272] W> display init failed
[0002.275] initializing target
[0002.278] calling apps_init()
[0002.281] starting app kernel_boot_app
[0002.305] I> found decompressor handler: lz4-legacy
[0002.310] I> decompressing BMP blob ...
[0002.322] I> Kernel type = Normal
[0002.325] I> Loading kernel-bootctrl from partition
[0002.330] I> Loading partition kernel-bootctrl at 0xa8000000 from device(0x1)
[0002.344] W> tegrabl_get_kernel_bootctrl: magic number(0x00000000) is invalid
[0002.351] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0002.358] I> ########## Fixed storage boot ##########
[0002.363] W> No valid slot number is found in scratch register
[0002.369] W> Return default slot: _a
[0002.372] I> A/B: bin_type (24) slot 0
[0002.388] I> Boot image size read from image header: 97de5
[0002.393] I> Boot image load address: 0x80400000
[0002.397] I> Loading kernel from partition
[0002.401] I> Loading partition kernel at 0x80400000 from device(0x1)
[0003.344] I> Validate kernel ...
[0003.347] I> T18x: Authenticate kernel (bin_type 24), max size 0x4000000
[0003.355] I> Checking boot.img header magic ... [0003.359] I> [OK]
[0003.361] I> kernel-dtb is already loaded
[0003.365] I> Validate kernel-dtb ...
[0003.368] I> T18x: Authenticate kernel-dtb (bin_type 21), max size 0x100000
[0003.376] I> Kernel hdr @0x80400000
[0003.379] I> Kernel dtb @0x80000000
[0003.382] I> decompressor handler not found
[0003.386] I> Copying kernel image (622053 bytes) from 0x80400800 to 0x80600000 ... [0003.394] I> Done
[0003.396] I> Move ramdisk (len: 0) from 0x80498800 to 0x947d0000
[0003.403] I> Updated bpmp info to DTB
[0003.408] I> Ramdisk: Base: 0x947d0000; Size: 0x0
[0003.412] I> Updated initrd info to DTB
[0003.416] W> WARN: Fail to override "console=none" in commandline
[0003.422] I> Active rootfs suffix:
[0003.425] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.432] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.440] E> tegrabl_linuxboot_add_disp_param, du 0 failed to get display params
[0003.447] I> disabled_core_mask: 0xffffff0c
[0003.451] W> No valid slot number is found in scratch register
[0003.456] W> Return default slot: _a
[0003.460] I> Active slot suffix:
[0003.463] I> add_boot_slot_suffix: slot_suffix =
[0003.467] I> Linux Cmdline: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2  video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1
[0003.515] I> Updated bootarg info to DTB
[0003.519] I> eeprom_get_mac_addr: MAC (type: 0): 00:04:4b:de:8f:4f
[0003.525] I> eeprom_get_mac_addr: MAC (type: 1): 00:04:4b:de:8f:50
[0003.531] I> eeprom_get_mac_addr: MAC (type: 2): 00:04:4b:de:8f:51
[0003.537] E> Found no plugin manager ids in source DT
[0003.542] W> Add plugin manager ids from board info
[0003.547] W> "plugin-manager" doesn't exist, creating
[0003.552] W> "ids" doesn't exist, creating
[0003.556] W> "connection" doesn't exist, creating
[0003.561] W> "configs" doesn't exist, creating
[0003.565] I> create_pm_ids: id: 3310-1000-D00-F, len: 15
[0003.570] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0003.581] I> Adding plugin-manager/ids/3310-1000-D00=/i2c@c250000:module@0x50
[0003.588] W> "i2c@c250000" doesn't exist, creating
[0003.593] W> "module@0x50" doesn't exist, creating
[0003.599] I> Adding plugin-manager/ids/3310-1000-D00-F
[0003.605] I> Adding plugin-manager/configs/3310-mem-type 00
[0003.610] I> Adding plugin-manager/configs/3310-power-config 00
[0003.616] I> Adding plugin-manager/configs/3310-misc-config 00
[0003.622] I> Adding plugin-manager/configs/3310-modem-config 00
[0003.628] I> Adding plugin-manager/configs/3310-touch-config 00
[0003.634] I> Adding plugin-manager/configs/3310-display-config 00
[0003.640] I> Adding plugin-manager/cvm
[0003.644] W> "chip-id" doesn't exist, creating
[0003.648] I> Adding plugin-manager/chip-id/A02P
[0003.653] W> "odm-data" doesn't exist, creating
[0003.657] I> Adding /chosen/plugin-manager/odm-data
[0003.666] I> added [base:0x80000000, size:0x70000000] to /memory
[0003.672] I> added [base:0xf0200000, size:0x185600000] to /memory
[0003.678] I> added [base:0x275e00000, size:0x200000] to /memory
[0003.683] I> added [base:0x276600000, size:0x200000] to /memory
[0003.689] I> added [base:0x277000000, size:0x200000] to /memory
[0003.695] I> Updated memory info to DTB
[0003.699] E> add_disp_param: failed to get display params for du=0
[0003.706] W> "reset" doesn't exist, creating
[0003.710] W> "pmc-reset-reason" doesn't exist, creating
[0003.716] W> "pmic-reset-reason" doesn't exist, creating
[0003.722] I> Adding ecid(00000001645ca4420800000019008440) to DT
[0003.728] I> disabled_core_mask: 0xffffff0c
[0003.737] I> Add serial number:1422419079282 as DT property
[0003.745] I> Plugin-manager override starting
[0003.750] I> node /plugin-manager/fragement@0 matches
[0003.758] I> node /plugin-manager/fragement@4 matches
[0003.768] I> node /plugin-manager/fragment-sdwake-p3310-1000-300 matches
[0003.783] I> node /plugin-manager/fragement-pmon-p3310-1000-300 matches
[0003.791] I> node /plugin-manager/fragement-pmon-p3310-1000-800 matches
[0003.800] I> node /plugin-manager/fragment-devslp@0 matches
[0003.811] I> node /plugin-manager/fragment-p3310-c00-comm matches
[0003.822] I> node /plugin-manager/fragment-p3310-c00-pmic matches
[0003.830] I> node /plugin-manager/fragment-p3310-c01 matches
[0003.838] I> node /plugin-manager/fragment-p3310-c03 matches
[0003.858] I> Disable plugin-manager status in FDT
[0003.862] I> Plugin-manager override finished successfully
[0003.867] I> tegrabl_load_kernel_and_dtb: Done
[0003.872] E> tegrabl_display_clear: display is not initialized
[0003.877] W> Boot logo display failed...
[0003.881] I> Kernel EP: 0x80600000, DTB: 0x80000000


U-Boot 2020.04-g6b630d64fd (Feb 19 2021 - 08:38:59 -0800)

SoC: tegra186
Model: NVIDIA P2771-0000-500
Board: NVIDIA P2771-0000
DRAM:  7.8 GiB
MMC:   sdhci@3400000: 1, sdhci@3460000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:
Warning: ethernet@2490000 using MAC address from ROM
eth0: ethernet@2490000
Hit any key to stop autoboot:  0
MMC: no card present
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
1133 bytes read in 22 ms (49.8 KiB/s)
L4T boot options
1:      primary kernel
2:      secondary kernel
Enter choice: 1:        primary kernel
Retrieving file: /boot/initrd
7236840 bytes read in 191 ms (36.1 MiB/s)
Retrieving file: /boot/Image
34338824 bytes read in 824 ms (39.7 MiB/s)
append: console=ttyS0,115200 androidboot.presilicon=true firmware_class.path=/etc/firmware root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=1-2  video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x3100000 nvdumper_reserved=0x2772e0000 gpt rootfs.slot_suffix= usbcore.old_scheme_first=1 tegraid=18.1.2.0.0 maxcpus=6 boot.slot_suffix= boot.ratchetvalues=0.2031647.1 vpr_resize bl_prof_dataptr=0x10000@0x275840000 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 isolcpus=(no "1-2")
## Flattened Device Tree blob at 80000000
   Booting using the fdt blob at 0x80000000
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
ERROR: reserving fdt memory region failed (addr=0 size=0)
   Using Device Tree in place at 0000000080000000, end 0000000080042b88
copying carveout for /host1x@13e00000/display-hub@15200000/display@15200000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15210000...
copying carveout for /host1x@13e00000/display-hub@15200000/display@15220000...

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.9.201-tegra (buildbrain@mobile-u64-5285-d7000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Fri Feb 19 08:42:04 PST 2021
[    0.000000] Boot CPU: AArch64 Processor [411fd073]
[    0.000000] OF: fdt:memory scan node memory@80000000, reg size 80,
[    0.000000] OF: fdt: - 80000000 ,  70000000
[    0.000000] OF: fdt: - f0200000 ,  185600000
[    0.000000] OF: fdt: - 275e00000 ,  200000
[    0.000000] OF: fdt: - 276600000 ,  200000
[    0.000000] OF: fdt: - 277000000 ,  200000
[    0.000000] earlycon: uart8250 at MMIO32 0x0000000003100000 (options '')
[    0.000000] bootconsole [uart8250] enabled
[    0.000000] sched: Error, all isolcpus= values must be between 0 and 6
[    0.000000] sched: Error, all isolcpus= values must be between 0 and 6
[    0.494710] pca953x 0-0074: failed reading register
[    0.495089] pca953x 0-0077: failed reading register
[    1.196582] spi-tegra114 3240000.spi: chipselect 0 already in use
[    1.202789] spi_master spi3: spi_device register error /spi@3240000/spidev@0
[    1.636336] FAN: coudln't get the regulator
[    1.686992] ina3221x 0-0042: ina3221 reset failure status: 0xffffff87
[    1.693894] ina3221x 0-0043: ina3221 reset failure status: 0xffffff87
[    1.777036] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    1.783619] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    1.818623] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    1.825200] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    1.835971] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    1.842470] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    1.854328] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    1.860832] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    1.926765] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    1.937265] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    2.369369] cgroup: cgroup2: unknown option "nsdelegate"
[    2.497142] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    2.503643] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    2.939491] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    2.947874] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    3.038359] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    3.045517] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    3.051843] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    3.058360] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    3.767817] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    3.774311] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    3.786877] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    3.793546] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    3.815179] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    3.821633] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    4.132033] using random self ethernet address
[    4.136847] using random host ethernet address
[    4.149283] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    4.156423] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    4.168557] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    4.176162] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    4.190196] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    4.197227] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    4.291424] random: crng init done
[    4.294831] random: 7 urandom warning(s) missed due to ratelimiting
[    4.442597] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    4.449053] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    4.462925] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    4.469385] tegra-asoc: sound: snd_soc_register_card failed (-517)
[    4.908464] using random self ethernet address
[    4.913109] using random host ethernet address
[   10.524926] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[   10.531558] tegra-asoc: sound: snd_soc_register_card failed (-517)
[   10.551866] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[   10.558692] tegra-asoc: sound: snd_soc_register_card failed (-517)

Ubuntu 18.04.5 LTS nvidia-desktop ttyS0

dtb is loaded from the partition, what else needs to be checked?

Maybe you can directly check the driver. /kernel/kernel-4.9/sound/soc/soc-core.c

Where is the tegrassndt186ref sound card configured and what causes it to disappear?

please refer to generic-no-api_r2

Hello, do these two alarms mean that my device tree does not match the ".name=“wm8962” in the wm8962.c driver file? The device tree file is as follows

[    4.049713] tegra-asoc: sound: ASoC: CODEC DAI wm8962 not registered
[    4.057556] tegra-asoc: sound: snd_soc_register_card failed (-517)
tegra_sound: sound {
	nvidia,dai-link-1 {
			link-name = "rt565x-playback";
			codec-dai = <&codec1>;
			codec-dai-name = "wm8962";
		};
};

To add wm8962 audio on a custom board, do I have to refresh the whole system?
I have now flashed the device tree (sudo ./flash -k kernel-dtb jetson-tx2 mmcblk0p1), kernel (sudo ./flash -k kernel jetson-tx2 mmcblk0p1), but how to refresh“tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg"

Sorry for the late response, have you managed to get issue resolved or still need the support? Thanks

Yes, it has been solved. The command to refresh the kernel (sudo ./flash -k kernel jetson-tx2 mmcblk0p1) shows that the refresh is successful on the host, but the actual TX2 is not updated. I copied the Image on the host to /boot of TX2 , replacing the old Image

Glad to know issue resolved, thanks for the update!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.