This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: SK-AM62

Part Number: SK-AM62
Other Parts Discussed in Thread: AM625,
Hi,
This is regarding issue with the Audio While trying to play a video through HDMI Cable.
If earphones are connected with the Headphone jack, in that case I am able to here the audio, but in case of HDMI Interface video is displayed properly with no audio.
Below I have mentioned the commands used in detail:
1.
Below command was used to play the audio, but only through Headphone it is audible, even though i am  also able to increase the volume using Up-arrow Key(Only While playing the .wav file but not in case of .mp4 ). Without Using Earphones unable to here any audio. Logs are mentioned below:
gst-play-1.0 mixkit-rain-and-thunder-storm-2390.wav
root@am62xx-evm:/run/media/mmcblk1p1# gst-play-1.0 mixkit-rain-and-thunder-storm-2390.wav
Press 'k' to see a list of keyboard shortcuts.
Now playing /run/media/mmcblk1p1/mixkit-rain-and-thunder-storm-2390.wav
Redistribute latency...
Volume: 105%                  
Volume: 110%                  
Volume: 115%                  
Volume: 120%                  
Volume: 125%                  
Volume: 130%                  
Volume: 135%                  
Volume: 140%                  
Volume: 145%                  
Volume: 150%                  
Volume: 155%                  
Volume: 160%                  
Volume: 165%                  
Volume: 170%                  
Volume: 175%                  
Volume: 180%                  
Volume: 185%                  
Volume: 190%                  
Volume: 195%                  
Volume: 200%                  
Volume: 205%                  
Volume: 210%                  
Volume: 215%                  
0:00:04.8 / 0:00:29.0       
(gst-play-1.0:949): GLib-GObject-WARNING **: 16:37:05.854: value "10.648000" of type 'gdouble' is invalid or out of range for proper'
Volume: 220%                  
0:00:04.9 / 0:00:29.0       
(gst-play-1.0:949): GLib-GObject-WARNING **: 16:37:14.844: value "10.648000" of type 'gdouble' is invalid or out of range for proper'
Volume: 220%                  
0:00:13.9 / 0:00:29.0       
(gst-play-1.0:949): GLib-GObject-WARNING **: 16:37:14.875: value "10.648000" of type 'gdouble' is invalid or out of range for proper'
Volume: 220%                            
0:00:14.1 / 0:00:29.0       
(gst-play-1.0:949): GLib-GObject-WARNING **: 16:37:15.097: value "10.648000" of type 'gdouble' is invalid or out of range for proper'
Volume: 220%                  
0:00:29.0 / 0:00:29.0       
Reached end of play list.
 
 
2.
gst-launch-1.0 filesrc location=//run/media/mmcblk1p1/SampleVideo_1280x720_5mb.mp4 ! decodebin ! videoconvert ! fbdevsink
 
root@am62xx-evm:/run/media/mmcblk1p1#  
! videoconvert ! fbdevsink/mmcblk1p1# gst-launch-1.0 filesrc location=//run/media/mmcblk1p1/SampleVideo_1280x720_5mb.mp4 ! decodebin!
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Redistribute latency...
Redistribute latency...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:29.559572795
Setting pipeline to NULL ...
Freeing pipeline ...

While executing the above command video is displayed without audio.
3.
Below link I have followed:

gst-launch alsasrc num-buffers=-1 ! 'audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2' ! alsasink device="plughw:0,1"

root@am62xx-evm:/run/media/mmcblk1p1#
e, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2' ! alsasink device="plughw:0,1"nness=(int)1234, signed=(boolean)tre
-sh: gst-launch: command not found              -1.0 alsasrc num-buffers=-1 ! 'audio/x-raw-int, endianness=(int)1234, signed=(botrue"
e, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2' ! alsasink device="plughw:0,1"nness=(int)1234, signed=(boolean)tre
(gst-launch-1.0:940): GStreamer-WARNING **: 16:24:19.810: 0.10-style raw audio caps are being created. Should be audio/x-raw,format=.
WARNING: erroneous pipeline: could not link alsasrc0 to alsasink0, neither element can handle caps audio/x-raw-int, endianness=(int)2
root@am62xx-evm:/run/media/mmcblk1p1#
After running above command it is giving some warning, but still after executing the 1st command we are unable to hear the audio.
Command to control the audio through HDMI would be appreciated.
  • Hi Lakshmi,

    There have been some developments on HDMI Audio routing and I am currently verifying those changes with the developer. I will get back to you latest by tomorrow on how you could verify HDMI audio with AM62 SK. 

    Thanks,

    Suren

  • Hi Lakshmi,

    Here are the steps for you to enable HDMI Audio on AM62x.

    On you SDK linux kernel, please apply these two patches that have been committed:

    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-rt-linux-5.10.y&id=838245d864b5362cc2ef08b5fb393a5a8b42034f

    https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-rt-linux-5.10.y&id=42c4cf6e5e48c611fc637f0937dc158453406172

    Since, HDMI audio plays with overlay, u-boot Environment has to point to the dtbo file. I am attaching these files, please have them copied to the boot directory of the root file system on your SD card. Also modify the uEnv.txt in the boot partition of the SD card to add this line: setenv name_overlays=k3-am625-sk-hdmi-audio.dtbo.https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/k3_2D00_am625_2D00_sk.dtbhttps://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/k3_2D00_am625_2D00_sk_2D00_hdmi_2D00_audio.dtbo

    Here are the commands and logs for your reference:

    root@am62xx-evm:~# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: AM62xSil9022HDM [AM62x-Sil9022-HDMI], device 0: davinci-mcasp.0-i2s-hifi i2s-hifi-0 [davinci-mcasp.0-i2s-hifi i2s-hifi-0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0

    root@am62xx-evm:~# aplay -Dplughw:0,0 16_48k_PerfectTest.wav
    Playing WAVE '16_48k_PerfectTest.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
    [ 64.443645] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
    [ 78.550686] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!
    root@am62xx-evm:~# aplay -Dplughw:0,0 16_44k_PerfectTest.wav
    Playing WAVE '16_44k_PerfectTest.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
    [ 111.900554] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
    [ 127.510670] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!

    root@am62xx-evm:~# gst-launch-1.0 filesrc location=piano2.wav ! wavparse ! audioconvert ! alsasink
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    [ 348.898743] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
    Redistribute latency...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstAudioSinkClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:06.964075550
    Setting pipeline to NULL ...
    [ 356.886668] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!
    Freeing pipeline ...

    Let me know if it worked on your end. 

    Thanks

    Suren

  • Hi Suren,

    I have followed all the steps suggested by you:

    By taking the reference of below mentioned steps, I have added the Patch File into my Kernel source code path:

    Since, HDMI audio plays with overlay, u-boot Environment has to point to the dtbo file. I am attaching these files, please have them copied to the boot directory of the root file system on your SD card. Also modify the uEnv.txt in the boot partition of the SD card to add this line: setenv name_overlays=k3-am625-sk-hdmi-audio.dtbo.k3-am625-sk.dtbk3-am625-sk-hdmi-audio.dtbo

    1.

    work-shared/am62xx-evm/kernel-source/arch/arm64/boot/dts/ti

    And the File which I have Updated is : k3-am625-sk.dts

    2.

    work-shared/am62xx-evm/kernel-source/arch/arm64/boot/dts/ti

    The file which have been created is : k3-am625-sk-hdmi-audio.dts

    3.

    Along with the above two steps I have also modified the Makefile and uEnv.txt in the boot partition of the SD card.

    Below I have attached the commands along with the logs captured:

    root@am62xx-evm:/run/media/mmcblk1p1# aplay -Dplughw:0,0 mixkit-rain-and-thunder-storm-2390.wav
    Playing WAVE 'mixkit-rain-and-thunder-storm-2390.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo


    ! audioconvert ! alsasinka/mmcblk1p1# gst-launch-1.0 filesrc location=//run/media/mmcblk1p1/mixkit-rain-and-thunder-storm-2390.wav ! wavparse!
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    Redistribute latency...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstAudioSinkClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:29.001537195
    Setting pipeline to NULL ...
    Freeing pipeline ...

    After executing the above commands still I am unable to here the audio.

    Before adding these patch files at least display was coming through HDMI, but now it is not giving anything on another display.

    Previously to play a video file I was following the below command and it was playing the video without audio but now with the same command I am unable to do the same:

    Case 1:

    gst-launch-1.0 filesrc location=//run/media/mmcblk1p1/big_buck_bunny_720p_1mb.mp4 ! decodebin ! videoconvert ! fbdevsink

    Setting pipeline to PAUSED ...

    Pipeline is PREROLLING ...

    Redistribute latency...

    Redistribute latency...

    Pipeline is PREROLLED ...

    Setting pipeline to PLAYING ...

    New clock: GstSystemClock

    Got EOS from element "pipeline0".

    Execution ended after 0:00:05.279601445

    Setting pipeline to NULL ...

    Freeing pipeline ...

    Case 2:

    vert ! fbdevsink/run/media/mmcblk1p1# gst-launch-1.0 filesrc location=//run/media/mmcblk1p1/SampleVideo_720x480_1mb.mp4 ! decodebin ! videocov
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    ERROR: from element /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0: GStreamer error: state change failed and some element failed to post a pr.
    Additional debug info:
    ../gstreamer-1.16.3/libs/gst/base/gstbasesink.c(5367): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstFBDEVSink:fbdevsink0:
    Failed to start
    Setting pipeline to NULL ...
    Freeing pipeline ...

  • Hi Lakshmi,

    Good to hear that you made some progress in getting the patches applied.

    In order to have audio routed to HDMI, you will have to short J24 PINs on the board. Please short J24 and see if you are able to playback.

    Thanks,

    Suren

  • Hi Suren,

    As per your suggestion, In order to route the audio through HDMI we made J24 Pins Short, but still we are unable to get the audio through HDMI.

    Thanks,

    Lakshmi Jha

  • Hi Lakshmi,

    Sorry for the delay due to Thanksgiving break. 

    Please refer this other E2E thread: PROCESSOR-SDK-AM62X: About the SII9022 HDMI AUDIO problem (seems to be working fine)

    Follow the same exact steps and let me know if it solves the problem. HDMI Audio seems to be functional with the steps I provided earlier and shorting of J24 PINS. 

    Regards,

    Suren

  • Hi,

      HDMI video/audio was not working after applied the given patches in the specific directory of SD card & downloaded your files of k3-am625-sk.dtbo &  k3-am625-sk-hdmi-audio.dtbo.

      Previously the HDMI video was working without applying patches & flashed your given dtbo files.

      Can you please tell us why the HDMI video was not working, if we flashed your dtbo file & jumpered the J24 pins on the unit.

       Steps to play the HDMI audio on the unit.

       1. Copied your images (two dtb files) on our unit.

       2. Added the line "name_overlays=k3-am625-sk-hdmi-audio.dtbo" in the uEnv.txt.

          Attached the  u-boot print environment log:

          

    => printenv 
    arch=arm
    args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 ${mtdparts}
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    args_usb=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    avb_verify=avb init ${mmcdev}; avb verify $slot_suffix;
    baudrate=115200
    board=am62x
    board_name=am62x_skevm
    board_rev=E3
    board_serial=0174
    board_software_revision=01
    boot=mmc
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; theni
    boot_efi_bootmgr=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr;fi
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
    boot_fdt=try
    boot_net_usb_start=usb start
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_syslinux_conf=extlinux/extlinux.conf
    boot_targets=linux fastboot recovery system panic 
    bootargs=console=ttyS3,115200n8 3arlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=8b588acc-1cf0-445f-a824-5baae60aa089 rw
    bootcmd=run distro_bootcmd
    bootcmd_fastboot=if test "${android_boot}" -eq 1; then;setenv run_fastboot 0;if gpt verify mmc ${mmcdev} ${partitions}; then; else ei
    bootcmd_linux=if test "${android_boot}" -eq 0; then;run findfdt; run envboot;run init_${boot}; run get_kern_${boot}; run get_fdt_${bi
    bootcmd_panic=if test "${android_boot}" -eq 1; then;fastboot 0; reset;fi
    bootcmd_recovery=if test "${android_boot}" -eq 1; then;setenv run_recovery 0;if bcb load 0 misc; then if bcb test command = boot-reci
    bootcmd_system=if test "${android_boot}" -eq 1; then;echo Loading Android boot partition...;mmc dev ${mmcdev};setenv bootargs ${booti
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootm_size=0x10000000
    bootpart=1:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS2,115200n8
    cpu=armv8
    default_device_tree=k3-am625-sk.dtb
    dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1;rootfs part 0 1 mmcpart 0;tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;tispl.bin.raw r1
    dfu_alt_info_mmc=boot part 1 1;rootfs part 1 2;tiboot3.bin fat 1 1;tispl.bin fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1;sysfw.itb f1
    dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000;tispl.bin raw 0x080000 0x200000;u-boot.img raw 0x280000 0x400000;u-boot-env raw 0x6800
    dfu_alt_info_ram=tispl.bin ram 0x80080000 0x200000;u-boot.img ram 0x81000000 0x400000
    distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
    dtboaddr=0x89000000
    efi_dtb_prefixes=/ /dtb/ /dtb/current/
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else;
    eth1addr=70:ff:76:1e:a4:a5
    ethaddr=f4:84:4c:fc:21:a5
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=f7eeafe0
    fdtfile=k3-am625-sk.dtb
    findfdt=setenv name_fdt ${default_device_tree};setenv fdtfile ${name_fdt}
    finduuid=part uuid ${boot} ${bootpart} uuid
    get_current_slot=if part number mmc ${mmcdev} misc control_part_number; then echo misc partition number:${control_part_number};ab_se;
    get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
    get_fdt_usb=load usb ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_fit_usb=load usb ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_kern_usb=load usb ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load mmc ${bootpart} ${dtboaddr} ${bootd;
    get_overlay_usb=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load usb ${bootpart} ${dtboaddr} ${bootd;
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    init_mmc=run args_all args_mmc
    init_usb=run args_all args_usb
    kernel_addr_r=0x82000000
    load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmc=dev 0
    mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage;
    mmcdev=0
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if tes;
    mmcrootfstype=ext4 rootwait
    name_fdt=k3-am625-sk.dtb
    name_kern=Image
    optargs=earlycon=ns16550a,mmio32,0x02800000
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
    partitions_android=uuid_disk=${uuid_gpt_disk};name=bootloader,start=5M,size=8M,uuid=${uuid_gpt_bootloader};name=tiboot3,start=4M,siz}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rd_spec=-
    rdaddr=0x88080000
    run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extl;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpt
    scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpe
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${i
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then ee
    scriptaddr=0x80000000
    serial#=0000000000000174
    set_android_boot=setenv android_boot 1;setenv partitions $partitions_android;setenv mmcdev 0;setenv force_avb 0;saveenv;
    soc=k3
    stderr=serial@2800000
    stdin=serial@2800000
    stdout=serial@2800000
    usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
    usbboot=setenv boot usb;setenv bootpart 0:2;usb start;run findfdt;run init_usb;run get_kern_usb;run get_fdt_usb;run run_kern
    uuid=8b588acc-1cf0-445f-a824-5baae60aa089
    uuid_gpt_disk=...d9f6c1c0-398f-4cd3-a015-2621027e5be5
    uuid_gpt_rootfs=...8cf46520-8994-49cc-b8a1-49ad8ab7d36d
    vendor=ti
    
    Environment size: 12168/131068 bytes
    => 
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | ttyUSB0                                                    
    
    

         Please share the file uEnv.txt & printenv log

       3. List the audio playback devices (Note: card was not selected the HDMI)

       root@am62xx-evm:~# aplay -l
       **** List of PLAYBACK Hardware Devices ****
       card 0: AM62xSKEVM [AM62x-SKEVM], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 [davinci-mcasp.0-tlv320aic3x-hifi tl]
       Subdevices: 1/1
       Subdevice #0: subdevice #0
       root@am62xx-evm:~#

       4. Below command to play the audio: (HDMI AUDIO/VIDEO IS NOT WORKING)

       root@am62xx-evm:/# aplay -Dplughw:0,0 piano2.wav
       Playing WAVE 'piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
       aplay: pcm_write:2059: write error: Input/output error
       [  172.364314] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!
       root@am62xx-evm:/#

       Please help us to resolve the HDMI audio/Video on the SK-AM62 unit.

    Regards,
    Lakshmi

  • Hi Lakshmi,

    Can you verify with the latest code base and images, you are still seeing the issue? 

    https://software-dl.ti.com/linux-cicd-report/index.html?section=snapshot&platform=am62xx&snapshot=cicd.2022.12.07.19:06:00.prod

    Please short the J24 and with the latest code bas, create the dtbo files and change the uEnv.txt to boot with overlay changes.

    Let me know if you still have issues. 

    Regards,

    Suren

  • Hi,

    We followed your link to download the SD card images & flashed into our unit.

    Observed the below log, but the HDMI audio was not working.

    root@am62xx-evm:~#
    root@am62xx-evm:~# uname -r
    5.10.153-g3eee621d16
    root@am62xx-evm:~#
    root@am62xx-evm:~#
    root@am62xx-evm:~# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: AM62xSKEVM [AM62x-SKEVM], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 [davinci-mcasp.0-tlv320aic3x-hifi tl]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    root@am62xx-evm:~#

    HDMI audio playback command (Jumpered the J24 pins)

    root@am62xx-evm:~# aplay -Dplughw:0,0 16_48k_PerfectTest.wav
    16_48k_PerfectTest.wav: No such file or directory
    root@am62xx-evm:~# aplay -Dplughw:0,0 /piano2.wav            
    Playing WAVE '/piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
    aplay: pcm_write:2059: write error: Input/output error
    [  603.701785] ti-udma 485c0100.dma-controller: chan1 teardown timeout!

    Please share the dts file & uEnv.txt or wic SD card image.

  • Hi,

      Now we made some progress on our work to display the soundcard as HDMI.

    root@am62xx-evm:/# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: AM62xSil9022HDM [AM62x-Sil9022-HDMI], device 0: davinci-mcasp.0-i2s-hifi i2s-hifi-0 [davinci-mcasp.0-i2s-hifi i2s-hifi-0]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    root@am62xx-evm:/#

      After running the command to play the audio.

      root@am62xx-evm:/# gst-play-1.0 piano2.wav
    Press 'k' to see a list of keyboard shortcuts.
    Now playing /piano2.wav
    [  662.417963] ------------[ cut here ]------------
    [  662.422588] hdmi-mstrclk already disabled
    [  662.426649] WARNING: CPU: 0 PID: 939 at drivers/clk/clk.c:952 clk_core_disable+0xb0/0xb8
    [  662.434719] Modules linked in: snd_usb_audio snd_hwdep snd_usbmidi_lib uvcvideo snd_rawmidi videobuf2_vmalloc wl18xx wlcore xhci_6
    [  662.486638] CPU: 0 PID: 939 Comm: wavparse0:sink Tainted: G        W  O      5.10.109-g9e58028f94 #1
    [  662.495748] Hardware name: Texas Instruments AM625 SK (DT)
    [  662.501222] pstate: 40000085 (nZcv daIf -PAN -UAO -TCO BTYPE=--)
    [  662.507215] pc : clk_core_disable+0xb0/0xb8
    [  662.511386] lr : clk_core_disable+0xb0/0xb8
    [  662.515555] sp : ffff800011debc10
    [  662.518857] x29: ffff800011debc10 x28: ffff000006ddb800
    [  662.524159] x27: 0000000000000000 x26: 0000000000000000
    [  662.529459] x25: 0000000000000000 x24: 0000000000000000
    [  662.534759] x23: 0000000000000000 x22: ffff00000392f000
    [  662.540061] x21: ffff000004971800 x20: ffff00000001c300
    [  662.545363] x19: ffff00000001c300 x18: 0000000000000010
    [  662.550664] x17: 0000000000000000 x16: 0000000000000000
    [  662.555966] x15: ffff000006ddbd30 x14: 0000000000000200
    [  662.561267] x13: ffff000006ddbd30 x12: 00000000ffffffea
    [  662.566568] x11: ffff8000111103e0 x10: ffff8000110f83a0
    [  662.571870] x9 : ffff8000110f83f8 x8 : 0000000000017fe8
    [  662.577172] x7 : c0000000ffffefff x6 : 0000000000000001
    [  662.582472] x5 : ffff00007fb8aab8 x4 : 0000000000000000
    [  662.587775] x3 : 0000000000000027 x2 : 0000000000000023
    [  662.593078] x1 : d7be6cec4c714f00 x0 : 0000000000000000
    [  662.598382] Call trace:
    [  662.600826]  clk_core_disable+0xb0/0xb8
    [  662.604650]  clk_core_disable_lock+0x24/0x40
    [  662.608908]  clk_disable+0x20/0x30
    [  662.612303]  sii902x_audio_shutdown+0x44/0x60
    [  662.616650]  hdmi_codec_shutdown+0x40/0x68
    [  662.620739]  snd_soc_dai_shutdown+0x54/0x68
    [  662.624911]  soc_pcm_clean+0x50/0x188
    [  662.628562]  soc_pcm_close+0x14/0x20
    [  662.632131]  snd_pcm_release_substream.part.0+0x40/0x88
    [  662.637342]  snd_pcm_release+0x54/0xc8
    [  662.641082]  __fput+0x78/0x230
    [  662.644128]  ____fput+0x10/0x20
    [  662.647261]  task_work_run+0x80/0x140
    [  662.650917]  do_notify_resume+0x234/0x6f8
    [  662.654915]  work_pending+0xc/0x618
    [  662.658394] ---[ end trace 170e2c4c6c1b79bb ]---
    [  662.663056] ------------[ cut here ]------------
    [  662.667696] hdmi-mstrclk already unprepared
    [  662.671959] WARNING: CPU: 0 PID: 939 at drivers/clk/clk.c:810 clk_core_unprepare+0xf0/0x110
    [  662.680292] Modules linked in: snd_usb_audio snd_hwdep snd_usbmidi_lib uvcvideo snd_rawmidi videobuf2_vmalloc wl18xx wlcore xhci_6
    [  662.732190] CPU: 0 PID: 939 Comm: wavparse0:sink Tainted: G        W  O      5.10.109-g9e58028f94 #1
    [  662.741302] Hardware name: Texas Instruments AM625 SK (DT)
    [  662.746775] pstate: 40000005 (nZcv daif -PAN -UAO -TCO BTYPE=--)
    [  662.752771] pc : clk_core_unprepare+0xf0/0x110
    [  662.757202] lr : clk_core_unprepare+0xf0/0x110
    [  662.761632] sp : ffff800011debc20
    [  662.764935] x29: ffff800011debc20 x28: ffff000006ddb800
    [  662.770236] x27: 0000000000000000 x26: 0000000000000000
    [  662.775536] x25: 0000000000000000 x24: 0000000000000000
    [  662.780838] x23: 0000000000000000 x22: ffff00000392f000
    [  662.786139] x21: ffff000004971800 x20: ffff000000c14660
    [  662.791440] x19: ffff00000001c300 x18: 0000000000000010
    [  662.796740] x17: 0000000000000000 x16: 0000000000000000
    [  662.802042] x15: ffff000006ddbd30 x14: 000000000000022a
    [  662.807343] x13: ffff000006ddbd30 x12: 00000000ffffffea
    [  662.812643] x11: ffff8000111103e0 x10: ffff8000110f83a0
    [  662.817943] x9 : ffff8000110f83f8 x8 : 0000000000017fe8
    [  662.823245] x7 : c0000000ffffefff x6 : 0000000000000001
    [  662.828544] x5 : 0000000000000000 x4 : ffff00007fb8aab8
    [  662.833845] x3 : ffff00007fb919b8 x2 : ffff00007fb8aab8
    [  662.839145] x1 : d7be6cec4c714f00 x0 : 0000000000000000
    [  662.844448] Call trace:
    [  662.846887]  clk_core_unprepare+0xf0/0x110
    [  662.850974]  clk_unprepare+0x2c/0x48
    [  662.854540]  sii902x_audio_shutdown+0x4c/0x60
    [  662.858888]  hdmi_codec_shutdown+0x40/0x68
    [  662.862977]  snd_soc_dai_shutdown+0x54/0x68
    [  662.867150]  soc_pcm_clean+0x50/0x188
    [  662.870804]  soc_pcm_close+0x14/0x20
    [  662.874369]  snd_pcm_release_substream.part.0+0x40/0x88
    [  662.879580]  snd_pcm_release+0x54/0xc8
    [  662.883319]  __fput+0x78/0x230
    [  662.886365]  ____fput+0x10/0x20
    [  662.889498]  task_work_run+0x80/0x140
    [  662.893152]  do_notify_resume+0x234/0x6f8
    [  662.897150]  work_pending+0xc/0x618
    [  662.900629] ---[ end trace 170e2c4c6c1b79bc ]---
    [  662.980045] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
    Redistribute latency...
    0:00:06.3 / 0:00:06.3       
    Reached end of play list.
    [  670.701837] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout!

    Regards,

    Lakshmi

  • Hi Lakshmi,

    Can you provide the boot logs with the latest built image from CI/CD snapshot. Wanted to see if the DT Overlay with hdmi was being picked from uEnv.txt Also, please follow the build instructions to create a default image as the download page just provides a thin image (Minimal filesystem). 

    Regards,

    Suren

  • Hi,

    We are using the SK-AM62 E3 revision. Can you please confirm which revision are you testing the HDMI audio?

    Shorted the j24 pins. Still HDMI audio is not coming.

    Attached the boot logs for you.

    reset
    resetting ...
    
    U-Boot SPL 2021.01-g3983bffabc (Dec 02 2022 - 23:06:59 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.7(release):v2.7.0-359-g1309c6c805-dirty
    NOTICE:  BL31: Built : 01:23:22, Nov 26 2022
    I/TC: 
    I/TC: OP-TEE version: 3.19.0-15-gd6c5d0037 (gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))) #1 Tue Nov 29 15:22:25 UTC 2022 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2021.01-g3983bffabc (Dec 08 2022 - 03:37:03 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g3983bffabc (Dec 08 2022 - 03:37:03 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Board: AM62-SKEVM rev E3
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  2  0 
    => 
    => printenv 
    arch=arm
    args_all=setenv optargs earlycon=ns16550a,mmio32,0x02800000 ${mtdparts}
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    args_usb=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    avb_verify=avb init ${mmcdev}; avb verify $slot_suffix;
    baudrate=115200
    board=am62x
    board_name=am62x_skevm
    board_rev=E3
    board_serial=0174
    board_software_revision=01
    boot=mmc
    boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
    boot_efi_binary=load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
    boot_efi_bootmgr=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr;fi
    boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
    boot_fdt=try
    boot_net_usb_start=usb start
    boot_prefixes=/ /boot/
    boot_script_dhcp=boot.scr.uimg
    boot_scripts=boot.scr.uimg boot.scr
    boot_syslinux_conf=extlinux/extlinux.conf
    boot_targets=linux fastboot recovery system panic 
    bootargs=console=ttyS3,115200n8 3arlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=8b588acc-1cf0-445f-a824-5baae60aa089 rw
    bootcmd=run distro_bootcmd
    bootcmd_fastboot=if test "${android_boot}" -eq 1; then;setenv run_fastboot 0;if gpt verify mmc ${mmcdev} ${partitions}; then; else echo Broken MMC partition scheme;setenv run_fastboot 1;fi; if test "${run_fastboot}" -eq 0; then if bcb load 0 misc; then if bcb test command = bootonce-bootloader; then echo BCB: Bootloader boot...; bcb clear command; bcb store; setenv run_fastboot 1;elif bcb test command = boot-fastboot; then echo BCB: fastboot userspace boot...; setenv force_recovery 1;fi; else echo Warning: BCB is corrupted or does not exist; fi;fi;if test "${run_fastboot}" -eq 1; then echo Running Fastboot...;fastboot 0; fi;fi
    bootcmd_linux=if test "${android_boot}" -eq 0; then;run findfdt; run envboot;run init_${boot}; run get_kern_${boot}; run get_fdt_${boot}; run get_overlay_${boot}; run run_kern;fi
    bootcmd_panic=if test "${android_boot}" -eq 1; then;fastboot 0; reset;fi
    bootcmd_recovery=if test "${android_boot}" -eq 1; then;setenv run_recovery 0;if bcb load 0 misc; then if bcb test command = boot-recovery; then; echo BCB: Recovery boot...; setenv run_recovery 1;fi;else echo Warning: BCB is corrupted or does not exist; fi;if test "${skip_recovery}" -eq 1; then echo Recovery skipped by environment;setenv run_recovery 0;fi;if test "${force_recovery}" -eq 1; then echo Recovery forced by environment;setenv run_recovery 1;fi;if test "${run_recovery}" -eq 1; then echo Running Recovery...;mmc dev ${mmcdev};setenv bootargs "${bootargs} androidboot.serialno=${serial#}";run get_current_slot; if test -e "${current_slot}"; then setenv slot_suffix _${current_slot}; else echo current_slot not found;exit;fi;setenv bootargs_ab androidboot.slot_suffix=${slot_suffix}; echo A/B cmdline addition: ${bootargs_ab};setenv bootargs ${bootargs} ${bootargs_ab};if test "${force_avb}" -eq 1; then if run avb_verify; then echo AVB verification OK.;setenv bootargs "$bootargs $avb_bootargs";else echo AVB verification failed.;exit; fi;else setenv bootargs "$bootargs androidboot.verifiedbootstate=orange";echo Running without AVB...; fi;part start mmc ${mmcdev} boot${slot_suffix} boot_start;part size mmc ${mmcdev} boot${slot_suffix} boot_size;if mmc read ${loadaddr} ${boot_start} ${boot_size}; then echo Preparing FDT...; if test $board_name = am62x_skevm; then echo "  Reading DTB for am62x_skevm..."; setenv dtb_index 0;else echo Error: Android boot is not supported for $board_name; exit; fi; abootimg get dtb --index=$dtb_index dtb_start dtb_size; cp.b $dtb_start $fdt_addr_r $dtb_size; fdt addr $fdt_addr_r  0x80000; echo Running Android Recovery...;bootm ${loadaddr} ${loadaddr} ${fdt_addr_r};fi;echo Failed to boot Android...;reset;fi;fi
    bootcmd_system=if test "${android_boot}" -eq 1; then;echo Loading Android boot partition...;mmc dev ${mmcdev};setenv bootargs ${bootargs} androidboot.serialno=${serial#};run get_current_slot; if test -e "${current_slot}"; then setenv slot_suffix _${current_slot}; else echo current_slot not found;exit;fi;setenv bootargs_ab androidboot.slot_suffix=${slot_suffix}; echo A/B cmdline addition: ${bootargs_ab};setenv bootargs ${bootargs} ${bootargs_ab};if test "${force_avb}" -eq 1; then if run avb_verify; then echo AVB verification OK.;setenv bootargs "$bootargs $avb_bootargs";else echo AVB verification failed.;exit; fi;else setenv bootargs "$bootargs androidboot.verifiedbootstate=orange";echo Running without AVB...; fi;part start mmc ${mmcdev} boot${slot_suffix} boot_start;part size mmc ${mmcdev} boot${slot_suffix} boot_size;if mmc read ${loadaddr} ${boot_start} ${boot_size}; then echo Preparing FDT...; if test $board_name = am62x_skevm; then echo "  Reading DTB for am62x_skevm..."; setenv dtb_index 0;else echo Error: Android boot is not supported for $board_name; exit; fi; abootimg get dtb --index=$dtb_index dtb_start dtb_size; cp.b $dtb_start $fdt_addr_r $dtb_size; fdt addr $fdt_addr_r  0x80000; setenv bootargs "${bootargs}  androidboot.force_normal_boot=1"  ; echo Running Android...;bootm ${loadaddr} ${loadaddr} ${fdt_addr_r};fi;echo Failed to boot Android...;fi
    bootdelay=2
    bootdir=/boot
    bootenvfile=uEnv.txt
    bootm_size=0x10000000
    bootpart=1:2
    bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
    console=ttyS2,115200n8
    cpu=armv8
    default_device_tree=k3-am625-sk.dtb
    dfu_alt_info_emmc=rawemmc raw 0 0x800000 mmcpart 1;rootfs part 0 1 mmcpart 0;tiboot3.bin.raw raw 0x0 0x400 mmcpart 1;tispl.bin.raw raw 0x400 0x1000 mmcpart 1;u-boot.img.raw raw 0x1400 0x2000 mmcpart 1;u-env.raw raw 0x3400 0x100 mmcpart 1;sysfw.itb.raw raw 0x3600 0x800 mmcpart 1
    dfu_alt_info_mmc=boot part 1 1;rootfs part 1 2;tiboot3.bin fat 1 1;tispl.bin fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1;sysfw.itb fat 1 1
    dfu_alt_info_ospi=tiboot3.bin raw 0x0 0x080000;tispl.bin raw 0x080000 0x200000;u-boot.img raw 0x280000 0x400000;u-boot-env raw 0x680000 0x020000;sysfw.itb raw 0x6c0000 0x100000;rootfs raw 0x800000 0x3800000
    dfu_alt_info_ram=tispl.bin ram 0x80080000 0x200000;u-boot.img ram 0x81000000 0x400000
    distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
    dtboaddr=0x89000000
    efi_dtb_prefixes=/ /dtb/ /dtb/current/
    envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
    eth1addr=70:ff:76:1e:a4:a5
    ethaddr=f4:84:4c:fc:21:a5
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=f7eeaa00
    fdtfile=k3-am625-sk.dtb
    findfdt=setenv name_fdt ${default_device_tree};setenv fdtfile ${name_fdt}
    finduuid=part uuid ${boot} ${bootpart} uuid
    get_current_slot=if part number mmc ${mmcdev} misc control_part_number; then echo misc partition number:${control_part_number};ab_select current_slot mmc ${mmcdev}:${control_part_number};else echo misc partition not found;fi;
    get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}
    get_fdt_usb=load usb ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    get_fit_mmc=load mmc ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_fit_usb=load usb ${bootpart} ${addr_fit} ${bootdir}/${name_fit}
    get_kern_mmc=load mmc ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_kern_usb=load usb ${bootpart} ${loadaddr} ${bootdir}/${name_kern}
    get_overlay_mmc=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load mmc ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && fdt apply ${dtboaddr};done;
    get_overlay_usb=fdt address ${fdtaddr};fdt resize 0x100000;for overlay in $name_overlays;do;load usb ${bootpart} ${dtboaddr} ${bootdir}/${overlay} && fdt apply ${dtboaddr};done;
    importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
    init_mmc=run args_all args_mmc
    init_usb=run args_all args_usb
    kernel_addr_r=0x82000000
    load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
    loadaddr=0x82000000
    loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
    loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
    loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
    loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
    mmc=dev 0
    mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
    mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; devtype=mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then run args_mmc; if test ${boot_fit} -eq 1; then run run_fit; else run mmcloados;fi;fi;fi;
    mmcdev=0
    mmcloados=if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;
    mmcrootfstype=ext4 rootwait
    name_fdt=k3-am625-sk.dtb
    name_kern=Image
    name_overlays=k3-am625-sk-hdmi-audio.dtbo
    optargs=earlycon=ns16550a,mmio32,0x02800000
    partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=0,size=-,uuid=${uuid_gpt_rootfs}
    partitions_android=uuid_disk=${uuid_gpt_disk};name=bootloader,start=5M,size=8M,uuid=${uuid_gpt_bootloader};name=tiboot3,start=4M,size=1M,uuid=${uuid_gpt_tiboot3};name=uboot-env,start=13M,size=512K,uuid=${uuid_gpt_env};name=misc,start=13824K,size=512K,uuid=${uuid_gpt_misc};name=boot_a,size=40M,uuid=${uuid_gpt_boot_a};name=boot_b,size=40M,uuid=${uuid_gpt_boot_b};name=dtbo_a,size=8M,uuid=${uuid_gpt_dtbo_a};name=dtbo_b,size=8M,uuid=${uuid_gpt_dtbo_b};name=vbmeta_a,size=64K,uuid=${uuid_gpt_vbmeta_a};name=vbmeta_b,size=64K,uuid=${uuid_gpt_vbmeta_b};name=super,size=4608M,uuid=${uuid_gpt_super};name=metadata,size=16M,uuid=${uuid_gpt_metadata};name=userdata,size=-,uuid=${uuid_gpt_userdata}
    pxefile_addr_r=0x80100000
    ramdisk_addr_r=0x88080000
    rd_spec=-
    rdaddr=0x88080000
    run_kern=booti ${loadaddr} ${rd_spec} ${fdtaddr}
    scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
    scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist
    scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;run boot_efi_bootmgr;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
    scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
    scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
    scriptaddr=0x80000000
    serial#=0000000000000174
    set_android_boot=setenv android_boot 1;setenv partitions $partitions_android;setenv mmcdev 0;setenv force_avb 0;saveenv;
    soc=k3
    stderr=serial@2800000
    stdin=serial@2800000
    stdout=serial@2800000
    usb_boot=usb start; if usb dev ${devnum}; then devtype=usb; run scan_dev_for_boot_part; fi
    usbboot=setenv boot usb;setenv bootpart 0:2;usb start;run findfdt;run init_usb;run get_kern_usb;run get_fdt_usb;run run_kern
    uuid=8b588acc-1cf0-445f-a824-5baae60aa089
    uuid_gpt_disk=...d9f6c1c0-398f-4cd3-a015-2621027e5be5
    uuid_gpt_rootfs=...8cf46520-8994-49cc-b8a1-49ad8ab7d36d
    vendor=ti
    
    Environment size: 12210/131068 bytes
    => boot
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    18608640 bytes read in 199 ms (89.2 MiB/s)
    55468 bytes read in 4 ms (13.2 MiB/s)
    1330 bytes read in 3 ms (432.6 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.153-g3eee621d16 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Thu Dec 8 03:37:41 UTC 2022
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000dd000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=0f9557b4-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1456348K/2097152K available (10880K kernel code, 1148K rwdata, 4212K rodata, 1792K init, 432K bss, 116516K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008532] Console: colour dummy device 80x25
    [    0.013122] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023804] pid_max: default: 32768 minimum: 301
    [    0.028612] LSM: Security Framework initializing
    [    0.033399] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.040980] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.050742] rcu: Hierarchical SRCU implementation.
    [    0.055925] Platform MSI: msi-controller@1820000 domain created
    [    0.062236] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.071491] EFI services will not be available.
    [    0.076409] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    I/TC: Secondary CPU 2 initializing
    I/TC: Secondary CPU 2 switching to normal world boot
    I/TC: Secondary CPU 3 initializing
    I/TC: Secondary CPU 3 switching to normal world boot
    [    0.089685] Detected VIPT I-cache on CPU1
    [    0.089723] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.089737] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.089800] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.098461] Detected VIPT I-cache on CPU2
    [    0.098486] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.098497] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000
    [    0.098535] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.107160] Detected VIPT I-cache on CPU3
    [    0.107183] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.107193] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000
    [    0.107226] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.107312] smp: Brought up 1 node, 4 CPUs
    [    0.187025] SMP: Total of 4 processors activated.
    [    0.191837] CPU features: detected: 32-bit EL0 Support
    [    0.197104] CPU features: detected: CRC32 instructions
    [    0.209767] CPU: All CPU(s) started at EL2
    [    0.213976] alternatives: patching kernel code
    [    0.219689] devtmpfs: initialized
    [    0.230042] KASLR disabled due to lack of seed
    [    0.234803] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.244783] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.266181] pinctrl core: initialized pinctrl subsystem
    [    0.272203] DMI not present or invalid.
    [    0.276810] NET: Registered protocol family 16
    [    0.283017] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.290364] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.298431] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.307161] thermal_sys: Registered thermal governor 'step_wise'
    [    0.307166] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.313893] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.327614] ASID allocator initialised with 65536 entries
    [    0.358231] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.365111] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.371974] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.378826] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.386725] cryptd: max_cpu_qlen set to 1000
    [    0.393994] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.403106] vcc_5v0: supplied by vmain_pd
    [    0.407603] vcc_3v3_sys: supplied by vmain_pd
    [    0.412499] vcc_1v8: supplied by vcc_3v3_sys
    [    0.417879] iommu: Default domain type: Translated 
    [    0.423223] SCSI subsystem initialized
    [    0.427485] mc: Linux media interface: v0.10
    [    0.431876] videodev: Linux video capture interface: v2.00
    [    0.437551] pps_core: LinuxPPS API ver. 1 registered
    [    0.442627] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.451976] PTP clock support registered
    [    0.456013] EDAC MC: Ver: 3.0.0
    [    0.459908] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.467069] FPGA manager framework
    [    0.470640] Advanced Linux Sound Architecture Driver Initialized.
    [    0.477797] clocksource: Switched to clocksource arch_sys_counter
    [    0.484261] VFS: Disk quotas dquot_6.6.0
    [    0.488326] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.500740] NET: Registered protocol family 2
    [    0.505478] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.514220] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.523003] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.531207] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    0.538931] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.545840] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.552731] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.560216] NET: Registered protocol family 1
    [    0.565135] RPC: Registered named UNIX socket transport module.
    [    0.571211] RPC: Registered udp transport module.
    [    0.576048] RPC: Registered tcp transport module.
    [    0.580861] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.587456] PCI: CLS 0 bytes, default 64
    [    0.592349] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.604468] Initialise system trusted keyrings
    [    0.609246] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.619664] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.626205] NFS: Registering the id_resolver key type
    [    0.631437] Key type id_resolver registered
    [    0.635715] Key type id_legacy registered
    [    0.639874] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.646728] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.654491] 9p: Installing v9fs 9p2000 file system support
    [    0.695720] Key type asymmetric registered
    [    0.699917] Asymmetric key parser 'x509' registered
    [    0.704940] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.712506] io scheduler mq-deadline registered
    [    0.717136] io scheduler kyber registered
    [    0.723381] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.729735] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.743164] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.763319] brd: module loaded
    [    0.773589] loop: module loaded
    [    0.777811] megasas: 07.714.04.00-rc1
    [    0.785252] tun: Universal TUN/TAP device driver, 1.6
    [    0.791004] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.797429] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.803539] sky2: driver version 1.30
    [    0.808261] VFIO - User Level meta-driver version: 0.3
    [    0.814596] i2c /dev entries driver
    [    0.819848] sdhci: Secure Digital Host Controller Interface driver
    [    0.826193] sdhci: Copyright(c) Pierre Ossman
    [    0.830964] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.837858] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.844368] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.852515] optee: probing for conduit method.
    [    0.857104] optee: revision 3.19 (d6c5d003)
    [    0.857389] optee: dynamic shared memory is enabled
    [    0.867052] optee: initialized driver
    [    0.872812] NET: Registered protocol family 17
    [    0.877539] 9pnet: Installing 9P2000 support
    [    0.881982] Key type dns_resolver registered
    [    0.886562] Loading compiled-in X.509 certificates
    [    0.902104] ti-sci 44043000.system-controller: ti,ctx-memory-region is required for suspend but not provided.
    [    0.912273] ti-sci 44043000.system-controller: ti_sci_init_suspend failed, mem suspend will be non-functional.
    [    0.922507] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.5.3--v08.05.03 (Chill Capybar')
    [    0.988894] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    0.997197] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
    [    1.003648] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.012796] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.020448] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.026752] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.035111] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.044361] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.053886] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.061994] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.073044] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.083007] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.093193] printk: console [ttyS2] disabled
    [    1.097646] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250
    [    1.106421] printk: console [ttyS2] enabled
    [    1.106421] printk: console [ttyS2] enabled
    [    1.114864] printk: bootconsole [ns16550a0] disabled
    [    1.114864] printk: bootconsole [ns16550a0] disabled
    [    1.129757] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.134784] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.141745] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.147140] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.153903] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.160301] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.166778] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.172957] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.179719] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.186190] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.199038] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.245808] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.255459] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.263558] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.271736] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000002
    [    1.284580] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.291708] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.298385] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    1.310830] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    1.316027] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:16 UTC (16)
    [    1.428825] mmc0: CQHCI version 5.10
    [    1.434414] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    1.452627] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.459385] pca953x 1-0022: using AI
    [    1.472508] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.489215] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    1.496188] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    1.506046] i2c i2c-1: Added multiplexed i2c bus 2
    [    1.512905] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    1.562136] mmc0: Command Queue Engine enabled
    [    1.566599] mmc0: new HS200 MMC card at address 0001
    [    1.572207] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.576933] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    1.583019] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    1.589096] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    1.599476]  mmcblk0: p1
    [    4.565809] omap_i2c 20010000.i2c: controller timed out
    [    7.637806] omap_i2c 20010000.i2c: controller timed out
    [   10.709795] omap_i2c 20010000.i2c: controller timed out
    [   13.781792] omap_i2c 20010000.i2c: controller timed out
    [   16.853793] omap_i2c 20010000.i2c: controller timed out
    [   16.915767] Console: switching to colour frame buffer device 128x48
    [   16.938156] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [   16.947505] vdd_mmc1: supplied by vcc_3v3_sys
    [   16.953837] wlan_lten: supplied by vcc_3v3_sys
    [   16.960154] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
    [   16.967500] wlan_en: supplied by wlan_lten
    [   16.967570] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
    [   16.967859] mmc1: CQHCI version 5.10
    [   16.971819] mmc2: CQHCI version 5.10
    [   16.978910] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
    [   16.993647] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [   17.009186] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [   17.012867] ALSA device list:
    [   17.019771]   No soundcards found.
    [   17.020485] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [   17.031380] Waiting for root device PARTUUID=0f9557b4-02...
    [   17.036059] sdhci-am654 fa20000.mmc: card claims to support voltages below defined range
    [   17.057109] mmc2: new high speed SDIO card at address 0001
    [   17.078226] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [   17.085565] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [   17.095556]  mmcblk1: p1 p2
    [   17.122303] EXT4-fs (mmcblk1p2): warning: mounting fs with errors, running e2fsck is recommended
    [   17.135661] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [   17.143834] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [   17.153359] devtmpfs: mounted
    [   17.157640] Freeing unused kernel memory: 1792K
    [   17.162269] Run /sbin/init as init process
    [   17.292378] systemd[1]: System time before build time, advancing clock.
    [   17.336519] NET: Registered protocol family 10
    [   17.342088] Segment Routing with IPv6
    [   17.365169] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [   17.387293] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [   17.433390] systemd[1]: Set hostname to <am62xx-evm>.
    [   17.688118] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
    [   17.792465] random: systemd: uninitialized urandom read (16 bytes read)
    [   17.799443] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [   17.811788] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [   17.823841] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [   17.846002] random: systemd: uninitialized urandom read (16 bytes read)
    [   17.854419] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [   17.878009] random: systemd: uninitialized urandom read (16 bytes read)
    [   17.886139] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [   17.906347] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [   17.930146] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [   17.954153] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [   17.969962] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [   17.989920] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [   18.005940] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [   18.027580] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [   18.050088] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [   18.077362] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [   18.098356] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [   18.133311] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [   18.142217] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [   18.166634] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [   18.182692] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [   18.206508] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [   18.226316] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [   18.251102] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [   18.270950] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [   18.298729] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [   18.322181] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [   18.342983] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [   18.370590] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [   18.399877] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [   18.426218] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [   18.440922] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [   18.469405] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [   18.489664] cryptodev: loading out-of-tree module taints kernel.
    [   18.491063] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems  18.503624] cryptodev: driver 1.10 loaded.
    [0m...
    [   18.510562] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [   18.525790] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [   18.556509] systemd[1]: Started Start psplash boot splash screen.
    [  OK  ] Started Start psplash boot splash screen.
    [   18.578799] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [   18.598786] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
    [  OK  ] Started Start psplash-syst…progress communication helper.
    [   18.796549] random: systemd: uninitialized urandom read (16 bytes read)
             Starting Flush Journal to Persistent Storage   18.809583] random: systemd-journal: uninitialized urandom read (16 bytes read)
    0m...
    [   18.825452] systemd-journald[197]: Received client request to flush runtime journal.
    [   18.833627] random: systemd: uninitialized urandom read (16 bytes read)
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Started udev Kernel Device Manager.
    [   19.351623] random: crng init done
    [   19.355179] random: 57 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [   19.687293] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [   19.699186] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [   19.707692] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [   19.721383] remoteproc remoteproc0: 5000000.m4fss is available
    [   19.732875] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [   19.742876] remoteproc remoteproc0: powering up 5000000.m4fss
    [   19.750548] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2
    [   19.759872] remoteproc remoteproc0: request_firmware failed: -2
    [   19.894126] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [   19.984637] platform 78000000.r5f: configured R5F for IPC-only mode
    [   20.010652] PVR_K:  229: Read BVNC 33.15.11.3 from HW device registers
    [   20.026120] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [   20.065969] PVR_K:  229: RGX Device registered with BVNC 33.15.11.3
    [   20.071184] remoteproc remoteproc1: 78000000.r5f is available
    [   20.088183] remoteproc remoteproc1: attaching to 78000000.r5f
    [   20.094693] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [   20.103110]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000
    [   20.112921] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   20.118593] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   20.126364] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [   20.133785]  remoteproc1#vdev0buffer: registered virtio0 (type 7)
    [   20.141682] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [   20.175529] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1
    [   21.324132] remoteproc remoteproc2: 30074000.pru is available
    [   21.330382] remoteproc remoteproc3: 30078000.pru is available
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [   21.362712] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
    [   21.397955] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [   21.457887] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   21.485737] usbcore: registered new interface driver usbfs
    [  OK  ] Reached target Hardware activated U[   21.492707] usbcore: registered new interface driver hub
    SB gadget.
    [   21.493609] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   21.502781] usbcore: registered new device driver usb
    [   21.515026] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [  OK  ] Listening on Load/Save RF …itch S[   21.526266] cfg80211: failed to load regulatory.db
    tatus /dev/rfkill Watch.
    [   21.546468] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   21.552085] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [   21.560489] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000002000010010
    [   21.570069] xhci-hcd xhci-hcd.3.auto: irq 481, io mem 0x31100000
    [   21.576653] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [   21.585089] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.592554] usb usb1: Product: xHCI Host Controller
    [   21.597514] usb usb1: Manufacturer: Linux 5.10.153-g3eee621d16 xhci-hcd
    [   21.604211] usb usb1: SerialNumber: xhci-hcd.3.auto
    [   21.610403] hub 1-0:1.0: USB hub found
    [   21.614420] hub 1-0:1.0: 1 port detected
    [   21.621115] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   21.626688] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
    [   21.634450] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
    [  OK  ] Found device /dev/mmcblk0p1.
    [   21.641144] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   21.654944] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [   21.663328] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   21.663336] usb usb2: Product: xHCI Host Controller
    [   21.663340] usb usb2: Manufacturer: Linux 5.10.153-g3eee621d16 xhci-hcd
    [   21.663344] usb usb2: SerialNumber: xhci-hcd.3.auto
    [   21.664289] hub 2-0:1.0: USB hub found
             Starting File System Check on /dev/mmcblk0p1   21.664357] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
    0m...
    [   21.678947] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [   21.723319] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-conf.bin failed with error -2
    [   21.734125] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
    [   21.743034] wlcore: WARNING falling back to default config
    [  OK  ] Found device /dev/disk/by-uuid/AE8E-7782.
             Mounting /boot...
    [  OK  ] Started File System Check on /dev/m[   21.791426] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    mcblk0p1.
    [  OK  ] Mounted /boot.
             Mounting /run/media/mmcblk0p1...
    [   21.882306] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [   22.098397] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
             Starting Load/Save RF Kill Switch Status..[   22.115161] wlcore: loaded
    .
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Load/Save RF Kill Switch Status.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Save/Restore Sound Card State...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
             Starting rc.pvr.service...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Network (Pre).
    [  OK  ] Reached target Sound Card.
             Starting Network Service...
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
             Starting weston.service...
    [  OK  ] Started Login Service.
    [   23.022246] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-fw-4.bin failed with error -2
    [   23.033064] wlcore: ERROR could not get firmware ti-connectivity/wl18xx-fw-4.bin: -2
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
    	bash
    	cifs-utils
    	dosfstools
    	glmark2
    	less
    	libdw1
    	libelf1
    	libreadline8
    	parted
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to [   23.386211] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-fw-4.bin failed with error -2
    distribution.  This can be done using
    the opkg remove command. [   23.399781] wlcore: ERROR could not get firmware ti-connectivity/wl18xx-fw-4.bin: -2
     i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [   23.762174] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl18xx-fw-4.bin failed with error -2
    [   23.772899] wlcore: ERROR could not get firmware ti-connectivity/wl18xx-fw-4.bin: -2
    [   23.780758] wlcore: ERROR firmware boot failed despite 3 retries
    [   23.790806] am65-cpsw-nuss 8000000.ethernet: down msc_sl e0000000 tmo 0
    [  OK  ] Started Network Name Resolution[   23.801672] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    .
    [   23.817249] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [   23.826585] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [  OK  ] Reached target Network.
    [   23.842903] am65-cpsw-nuss 8000000.ethernet: down msc_sl e0000000 tmo 0
    [  OK  ] Reached target Host and Network Nam[   23.856312] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    e Lookups.
    [   23.866182] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Permit User Sessions...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
    [   26.096366] PVR_K:  903: RGX Firmware image 'rgx.fw.33.15.11.3' loaded
    [   26.112537] PVR_K:  903: Shader binary image 'rgx.sh.33.15.11.3' loaded
    [   29.237840] omap_i2c 20010000.i2c: controller timed out
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62xx-evm ttyS2
    
    Arago 2021.09 am62xx-evm ttyS2
    
    am62xx-evm login: root[   32.309832] omap_i2c 20010000.i2c: controller timed out
    
    root@am62xx-evm:~# 
    root@am62xx-evm:~# 
    root@am62xx-evm:~# 
    root@am62xx-evm:~# [   35.381839] omap_i2c 20010000.i2c: controller timed out
    [   38.453838] omap_i2c 20010000.i2c: controller timed out
    
    root@am62xx-evm:~# [   41.525833] omap_i2c 20010000.i2c: controller timed out
    aplay -Dplughw:0,0 piano2.wav /^C
    root@am62xx-evm:~# rebootaplay -Dplughw:0,0 SineWaveMinus16.wav                     pia /piano2.wav 
    Playing WAVE '/piano2.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
    [   56.324692] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
    [   63.829846] ti-udma 485c0100.dma-controller: chan1 teardown timeout!
    root@am62xx-evm:~# 

    Wanted to see if the DT Overlay with hdmi was being picked from uEnv.txt

    Attached the thin image . (rename file .txt to wic.xz)

    tisdk-thinlinux-image-am62xx-evm.txt

      

  • Is there any update on the HDMI audio?

  • Hi Lakshmi,

    I will respond back to you with clear steps and related files as attachment today.

    Regards,

    Suren

  • Hi Lakshmi,

    I was able to play audio with the thin image you had attached previously with J24 pins shorted on my E2 AM62-SK board.

    All I had to do flashing that image was: 

    1. change the uEnv.txt in boot partition to add line: name_overlays=k3-am625-sk-hdmi-audio.dtbo

    Once the board boots up:

    2. stop weston : /etc/init.d/weston stop

    3. Run kmstest to view the multi-colored square pattern on HDMI display.

    4. speaker-test -D plughw:0,0 -r 48000 -c 2 -t sine -f 1000 to see if audio works fiine on HDMI.

    You would not be able to play with GStreamer with the thin-image. 

    You can build the default image following the Build instructions on CI/CD snapshot page  from the link below: and in Step 5 (Run Bitbake) use

    MACHINE=am62xx-evm bitbake -k tisdk-default-image  

    Ref Link: software-dl.ti.com/.../index.html

    With the default image I was able to play video and audio both on HDMI with the same procedure and using 

    gst-launch-1.0 audiotestsrc ! autoaudiosink videotestsrc ! kmssink driver-name=tidss

    Let me know if this solves the issue. 

    Regards,

    Suren

  • Hi,

        We followed the same steps as well as same image to be flashed in the SK-AM62 E3 unit., but still the HDMI audio was not working. I thought the revision difference (E2 & E3) was causing the issue. Please check it and tell us the way for HDMI audio working in the SK-AM62 E3 unit.

       1. change the uEnv.txt in boot partition to add line: name_overlays=k3-am625-sk-hdmi-audio.dtbo"

          This lines was added in the uEnv.txt as well as this command "setenv name_overlays k3-am625-sk-hdmi-audio.dtbo" was set up in the u-boot environment variable.

       2. Attached the Testlog, but the hdmi audio was not coming.

    root@am62xx-evm:~# /etc/init.d/weston stop
    Stopping Weston
    root@am62xx-evm:~# kmstest
    [ 3998.805646] omap_i2c 20010000.i2c: controller timed out
    [ 4001.877648] omap_i2c 20010000.i2c: controller timed out
    [ 4004.949654] omap_i2c 20010000.i2c: controller timed out
    [ 4008.021656] omap_i2c 20010000.i2c: controller timed out
    [ 4011.093652] omap_i2c 20010000.i2c: controller timed out
    Connector 0/@39: HDMI-A-1
      Crtc 0/@37: 1024x768 65.000 1024/24/136/160/- 768/3/6/29/- 60 (60.00) 0xa 0x40
      Plane 0/@31: 0,0-1024x768
        Fb 47 1024x768-XR24
    press enter to exit
    
    root@am62xx-evm:~# speaker-test -D plughw:0,0 -r 48000 -c 2 -t sine -f 1000
    
    speaker-test 1.2.1
    
    Playback device is plughw:0,0
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Sine wave rate is 1000.0[ 4027.799658] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
    000Hz
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size range from 128 to 131072
    Period size range from 64 to 16384
    Using max buffer size 131072
    Periods = 4
    was set period_size = 16384
    was set buffer_size = 131072
     0 - Front Left
     1 - Front Right
    Time per period = 3.034299
     0 - Front Left
     1 - Front Right
    Time per period = 6.029200
     0 - Front Left
     1 - Front Right
    Time per period = 6.029163
     0 - Front Left
    
    
                    3. Observed the log only thing we noted the I2C timeout, please check it & tell us.
                        [ 3998.805646] omap_i2c 20010000.i2c: controller timed out
    Regards,
    Lakshmi
  • Hi Lakshmi, 

    On your previous run, Was kmstest working because of the omap_i2c_20010000.i2c:controller timed out error? Or was it just the audio not working

    The latest SDK release(8.5.00.21) just happened. Could you try with the default image with this SDK release and see if you are still observing the issue.

    dr-download.ti.com/.../tisdk-default-image-am62xx-evm.wic.xz

    Best Regards,

    Suren

  • Could you also try connecting another hdmi display(1080p preferably) and see if its working. 

  • Hi Suren,

    We have downloaded the default image from the Latest SDK release and also tried it with the different HDMI display but still we are unable to get the audio.

    For the reference I have added the Logs here:

    U-Boot SPL 2021.01-g1c0d06c606 (Nov 07 2022 - 06:22:13 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.7(release):v2.7.0-359-g1309c6c805-dirty
    NOTICE:  BL31: Built : 06:15:32, Nov  7 2022
    
    U-Boot SPL 2021.01-g1c0d06c606 (Nov 07 2022 - 06:20:36 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi')
    Trying to boot from MMC2
    
    
    U-Boot 2021.01-g1c0d06c606 (Nov 07 2022 - 06:20:36 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Board: AM62-SKEVM rev E3
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    switch to partitions #0, OK
    mmc0(part 0) is current device
    SD/MMC found on device 0
    Failed to load 'boot.scr'
    ** Unrecognized filesystem type **
    18543104 bytes read in 741 ms (23.9 MiB/s)
    50106 bytes read in 6 ms (8 MiB/s)
    1330 bytes read in 3 ms (432.6 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008fef0000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.145-g8b51d20b6e (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.2
    [    0.000000] Machine model: Texas Instruments AM625 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 13 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009d900000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9d900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 13 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000dd000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 22 pages/cpu s50008 r8192 d31912 u90112
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=595b7e39-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1456440K/2097152K available (10880K kernel code, 1148K rwdata, 4200K rodata, 1792K init, 432K bss, 116424K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008519] Console: colour dummy device 80x25
    [    0.013109] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023791] pid_max: default: 32768 minimum: 301
    [    0.028595] LSM: Security Framework initializing
    [    0.033381] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.040962] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.050724] rcu: Hierarchical SRCU implementation.
    [    0.055910] Platform MSI: msi-controller@1820000 domain created
    [    0.062199] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.071446] EFI services will not be available.
    [    0.076356] smp: Bringing up secondary CPUs ...
    [    0.081637] Detected VIPT I-cache on CPU1
    [    0.081672] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.081688] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000
    [    0.081750] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.082424] Detected VIPT I-cache on CPU2
    [    0.082447] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.082460] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000
    [    0.082499] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.083124] Detected VIPT I-cache on CPU3
    [    0.083146] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.083156] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000
    [    0.083189] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.083259] smp: Brought up 1 node, 4 CPUs
    [    0.162991] SMP: Total of 4 processors activated.
    [    0.167804] CPU features: detected: 32-bit EL0 Support
    [    0.173076] CPU features: detected: CRC32 instructions
    [    0.185826] CPU: All CPU(s) started at EL2
    [    0.190036] alternatives: patching kernel code
    [    0.195757] devtmpfs: initialized
    [    0.205616] KASLR disabled due to lack of seed
    [    0.210371] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.220349] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.241681] pinctrl core: initialized pinctrl subsystem
    [    0.247718] DMI not present or invalid.
    [    0.252337] NET: Registered protocol family 16
    [    0.258559] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.265899] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.273966] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.282681] thermal_sys: Registered thermal governor 'step_wise'
    [    0.282687] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.289388] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.303109] ASID allocator initialised with 65536 entries
    [    0.331235] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.338121] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.344973] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.351824] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.359731] cryptd: max_cpu_qlen set to 1000
    [    0.366932] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.375961] vcc_5v0: supplied by vmain_pd
    [    0.380479] vcc_3v3_sys: supplied by vmain_pd
    [    0.385438] vcc_1v8: supplied by vcc_3v3_sys
    [    0.390716] iommu: Default domain type: Translated 
    [    0.396041] SCSI subsystem initialized
    [    0.400252] mc: Linux media interface: v0.10
    [    0.404641] videodev: Linux video capture interface: v2.00
    [    0.410310] pps_core: LinuxPPS API ver. 1 registered
    [    0.415385] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.424737] PTP clock support registered
    [    0.428774] EDAC MC: Ver: 3.0.0
    [    0.432608] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.439738] FPGA manager framework
    [    0.443307] Advanced Linux Sound Architecture Driver Initialized.
    [    0.450458] clocksource: Switched to clocksource arch_sys_counter
    [    0.456907] VFS: Disk quotas dquot_6.6.0
    [    0.460973] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.473350] NET: Registered protocol family 2
    [    0.478106] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.486823] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.495603] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.503813] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    0.511541] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.518429] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.525326] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.532802] NET: Registered protocol family 1
    [    0.537725] RPC: Registered named UNIX socket transport module.
    [    0.543801] RPC: Registered udp transport module.
    [    0.548639] RPC: Registered tcp transport module.
    [    0.553453] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.560049] PCI: CLS 0 bytes, default 64
    [    0.564918] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.577006] Initialise system trusted keyrings
    [    0.581770] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.591991] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.598547] NFS: Registering the id_resolver key type
    [    0.603753] Key type id_resolver registered
    [    0.608030] Key type id_legacy registered
    [    0.612191] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.619045] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.626799] 9p: Installing v9fs 9p2000 file system support
    [    0.667903] Key type asymmetric registered
    [    0.672101] Asymmetric key parser 'x509' registered
    [    0.677127] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.684692] io scheduler mq-deadline registered
    [    0.689324] io scheduler kyber registered
    [    0.695376] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.701743] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.714562] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.734124] brd: module loaded
    [    0.744312] loop: module loaded
    [    0.748413] megasas: 07.714.04.00-rc1
    [    0.755664] tun: Universal TUN/TAP device driver, 1.6
    [    0.761383] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.767806] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.773924] sky2: driver version 1.30
    [    0.778574] VFIO - User Level meta-driver version: 0.3
    [    0.784801] i2c /dev entries driver
    [    0.789933] sdhci: Secure Digital Host Controller Interface driver
    [    0.796276] sdhci: Copyright(c) Pierre Ossman
    [    0.801035] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.807864] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.814360] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.822013] optee: probing for conduit method.
    [    0.826608] optee: revision 3.18 (6bf4a81a)
    [    0.826884] optee: dynamic shared memory is enabled
    [    0.836392] optee: initialized driver
    [    0.842009] NET: Registered protocol family 17
    [    0.846731] 9pnet: Installing 9P2000 support
    [    0.851173] Key type dns_resolver registered
    [    0.855749] Loading compiled-in X.509 certificates
    [    0.870508] ti-sci 44043000.system-controller: ti,ctx-memory-region is required for suspend but not provided.
    [    0.880682] ti-sci 44043000.system-controller: ti_sci_init_suspend failed, mem suspend will be non-functional.
    [    0.890925] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.4.7--v08.04.07 (Jolly Jellyfi')
    [    0.932800] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    0.942841] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.950581] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.956833] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    0.965256] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    0.974555] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    0.983606] ti-bcdma 485c0100.dma-controller: Number of rings: 82
    [    0.991838] ti-bcdma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.002969] ti-pktdma 485c0000.dma-controller: Number of rings: 150
    [    1.013018] ti-pktdma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.023369] printk: console [ttyS2] disabled
    [    1.027816] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 19, base_baud = 3000000) is a 8250
    [    1.036584] printk: console [ttyS2] enabled
    [    1.036584] printk: console [ttyS2] enabled
    [    1.045028] printk: bootconsole [ns16550a0] disabled
    [    1.045028] printk: bootconsole [ns16550a0] disabled
    [    1.059477] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.064497] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.071450] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.076843] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.083554] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.089950] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.096374] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.102546] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.109286] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.115707] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.128578] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.174463] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.184107] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.192208] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.200383] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000002
    [    1.213221] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.220356] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.227057] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    1.239455] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    1.244656] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:07 UTC (7)
    [    1.357224] mmc0: CQHCI version 5.10
    [    1.357431] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    1.378293] reg-fixed-voltage regulator-6: Failed to register regulator: -517
    [    1.386268] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.393002] pca953x 1-0022: using AI
    [    1.411188] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.421858] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    1.428833] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    1.438596] i2c i2c-1: Added multiplexed i2c bus 2
    [    1.445511] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    1.500087] mmc0: Command Queue Engine enabled
    [    1.504846] mmc0: new HS200 MMC card at address 0001
    [    1.510590] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.510783] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    1.510966] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    1.511140] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    1.514198]  mmcblk0: p1
    [    1.542844] Console: switching to colour frame buffer device 170x48
    [    1.590983] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    1.600884] vdd_mmc1: supplied by vcc_3v3_sys
    [    1.607207] wlan_lten: supplied by vcc_3v3_sys
    [    1.612359] wlan_en: supplied by wlan_lten
    [    1.618325] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.618527] mmc2: CQHCI version 5.10
    [    1.625908] mmc1: CQHCI version 5.10
    [    1.632175] ALSA device list:
    [    1.635805]   No soundcards found.
    [    1.670699] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [    1.670722] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.683668] sdhci-am654 fa20000.mmc: card claims to support voltages below defined range
    [    1.686366] Waiting for root device PARTUUID=595b7e39-02...
    [    1.705972] mmc2: new high speed SDIO card at address 0001
    [    1.729030] mmc1: new high speed SDHC card at address aaaa
    [    1.735232] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    1.745263]  mmcblk1: p1 p2
    [    1.889018] EXT4-fs (mmcblk1p2): recovery complete
    [    1.894586] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.902755] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    1.912235] devtmpfs: mounted
    [    1.916509] Freeing unused kernel memory: 1792K
    [    1.921139] Run /sbin/init as init process
    [    2.253630] systemd[1]: System time before build time, advancing clock.
    [    2.336713] NET: Registered protocol family 10
    [    2.342306] Segment Routing with IPv6
    [    2.380364] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4)
    [    2.402496] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    2.446207] systemd[1]: Set hostname to <am62xx-evm>.
    [    2.760568] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    2.775770] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    2.820363] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/do .
    [    2.932234] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.939232] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    2.951579] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    2.963690] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    2.986667] random: systemd: uninitialized urandom read (16 bytes read)
    [    2.995121] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    3.018657] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.026785] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.047006] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    3.070799] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    3.094787] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    3.110611] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.130576] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    3.146673] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.176104] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.198733] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.226159] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.247014] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.288117] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    3.297004] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.319339] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.335415] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.359189] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.379010] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.403773] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.423728] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.455567] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.487001] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    3.507884] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    3.535477] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    3.564501] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.578932] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    3.585538] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.633840] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.655966] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    3.658930] cryptodev: loading out-of-tree module taints kernel.
             Starting Remount Root and Kernel File Systems   3.671207] cryptodev: driver 1.10 loaded.
    [0m...
    [    3.677147] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    3.690660] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    3.713183] systemd[1]: Started Start psplash boot splash screen.
    [  OK  ] Started Start psplash boot splash screen.
    [    3.735395] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    3.759450] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
    [    3.942803] random: systemd: uninitialized urandom read (16 bytes read)
    [  OK  ] Started Start psplash-syst…progre[    3.956627] random: systemd-journal: uninitialized urandom read (16 bytes read)
    ss communication helper.
    [    3.984106] random: systemd: uninitialized urandom read (16 bytes read)
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    4.017419] systemd-journald[188]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting udev Wait for Complete Device Initialization...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [    5.019472] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    5.043755] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    5.068091] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    5.103943] remoteproc remoteproc0: 5000000.m4fss is available
    [    5.133026] remoteproc remoteproc0: powering up 5000000.m4fss
    [    5.139158] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 78960
    [    5.148794]  remoteproc0#vdev0buffer: assigned reserved memory node m4f-dma-memory@9cb00000
    [    5.163170] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.163938] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.168845]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    5.176569] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.182517] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [    5.205082] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.216792] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.223042] platform 78000000.r5f: configured R5F for IPC-only mode
    [    5.238446] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9d900000
    [    5.257444] remoteproc remoteproc1: 78000000.r5f is available
    [    5.264944] remoteproc remoteproc1: attaching to 78000000.r5f
    [    5.326825] Unable to handle kernel paging request at virtual address ffff800014ffffff
    [    5.340884] Mem abort info:
    [    5.348119]   ESR = 0x96000006
    [    5.351332]   EC = 0x25: DABT (current EL), IL = 32 bits
    [    5.356769]   SET = 0, FnV = 0
    [    5.398703]   EA = 0, S1PTW = 0
    [    5.417740] Data abort info:
    [    5.434713]   ISV = 0, ISS = 0x00000006
    [    5.467088]   CM = 0, WnR = 0
    [    5.469476] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.470102] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082ecf000
    [    5.479526] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.486586] [ffff800014ffffff] pgd=00000000fffff003, p4d=00000000fffff003, pud=00000000ffffe003, pmd=0000000000000000
    [    5.494399] PVR_K:  214: Read BVNC 33.15.11.3 from HW device registers
    [    5.501053] Internal error: Oops: 96000006 [#1] PREEMPT SMP
    [    5.513007] Modules linked in: pvrsrvkm(O+) dwc3_am62 ti_k3_r5_remoteproc(+) virtio_rpmsg_bus ti_k3_m4_remoteproc tps6598x typec snd_soc_tlv320aic3x roles rti_wdt j7216
    [    5.541380] CPU: 2 PID: 220 Comm: systemd-udevd Tainted: G           O      5.10.145-g8b51d20b6e #1
    [    5.550417] Hardware name: Texas Instruments AM625 SK (DT)
    [    5.555903] pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
    [    5.561919] pc : rproc_handle_resources.constprop.0+0x94/0x168
    [    5.567762] lr : rproc_boot+0x334/0x670
    [    5.571597] sp : ffff800011733790
    [    5.574920] x29: ffff800011733790 x28: ffff0000051df4e8 
    [    5.575926] PVR_K:  214: RGX Device registered with BVNC 33.15.11.3
    [    5.580248] x27: ffff0000051df000 x26: ffffffffffffffff 
    [    5.587404] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1
    [    5.591793] x25: ffff800015000000 x24: ffff800010e06f58 
    [    5.591800] x23: ffff0000051df038 x22: 0000000000000000 
    [    5.591806] x21: ffff80001118acc8 x20: ffff0000051df000 
    [    5.615266] x19: 0000000000000000 x18: 0000000000000002 
    [    5.620584] x17: 0000000000000000 x16: 0000000000000000 
    [    5.625899] x15: 0000381dbd7b53c3 x14: ffffffffffffffff 
    [    5.631213] x13: ffffffffffffffff x12: ffffffffffffffff 
    [    5.636531] x11: ffffffffffffffff x10: ffff0fffffff0fff 
    [    5.641842] x9 : ffff0fffffff0fff x8 : ffffffffffffffff 
    [    5.647157] x7 : ffffffffffffffff x6 : ffff0000060c3500 
    [    5.652477] x5 : 0000000000000000 x4 : 0000000000000000 
    [    5.657793] x3 : 00000000000000fd x2 : 00000000ffffffff 
    [    5.663107] x1 : ffff800015000003 x0 : ffff800015000000 
    [    5.668423] Call trace:
    [    5.670883]  rproc_handle_resources.constprop.0+0x94/0x168
    [    5.676375]  rproc_boot+0x334/0x670
    [    5.679876]  rproc_add+0x88/0x158
    [    5.683232]  k3_r5_probe+0x680/0xd48 [ti_k3_r5_remoteproc]
    [    5.688725]  platform_drv_probe+0x54/0xa8
    [    5.692735]  really_probe+0xec/0x3e0
    [    5.696308]  driver_probe_device+0x58/0xb8
    [    5.700404]  device_driver_attach+0x74/0x80
    [    5.704587]  __driver_attach+0x64/0xf8
    [    5.708335]  bus_for_each_dev+0x70/0xc0
    [    5.712167]  driver_attach+0x24/0x30
    [    5.715742]  bus_add_driver+0x150/0x200
    [    5.719578]  driver_register+0x64/0x120
    [    5.723413]  __platform_driver_register+0x48/0x58
    [    5.728123]  k3_r5_rproc_driver_init+0x20/0x1000 [ti_k3_r5_remoteproc]
    [    5.734659]  do_one_initcall+0x54/0x1b8
    [    5.738509]  do_init_module+0x44/0x1f0
    [    5.742262]  load_module+0x1f08/0x24a8
    [    5.746015]  __do_sys_finit_module+0xb8/0xf8
    [    5.750288]  __arm64_sys_finit_module+0x20/0x30
    [    5.754830]  el0_svc_common.constprop.0+0x78/0x1c8
    [    5.759623]  do_el0_svc+0x24/0x90
    [    5.762949]  el0_svc+0x14/0x20
    [    5.766008]  el0_sync_handler+0xb0/0xb8
    [    5.769847]  el0_sync+0x180/0x1c0
    [    5.773173] Code: 128002b3 913c8021 97ffeb8a 1400002e (b87a6b20) 
    [    5.779276] ---[ end trace 900d50aec36ecc97 ]---
    [    6.054537] random: crng init done
    [    6.057996] random: 85 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [    7.011472] remoteproc remoteproc2: 30074000.pru is available
    [    7.067851] remoteproc remoteproc3: 30078000.pru is available
    [    7.068392] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [    7.215176] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [    7.228900] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [    7.252893] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [  OK  ] Reached target Hardware activated USB gadget.
    [  OK  ] Found device /dev/mmcblk0p1.
    [    7.331254] usbcore: registered new interface driver usbfs
    [    7.336978] usbcore: registered new interface driver hub
             Starting File System Check on /dev/mmcblk0p1    7.342589] usbcore: registered new device driver usb
    0m...
    [    7.424944] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    7.430637] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [    7.438723] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000002000010010
    [    7.448271] xhci-hcd xhci-hcd.3.auto: irq 471, io mem 0x31100000
    [    7.454732] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    7.463050] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    7.470336] usb usb1: Product: xHCI Host Controller
    [    7.475278] usb usb1: Manufacturer: Linux 5.10.145-g8b51d20b6e xhci-hcd
    [    7.479901] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [    7.481992] usb usb1: SerialNumber: xhci-hcd.3.auto
    [    7.498120] hub 1-0:1.0: USB hub found
    [    7.502077] hub 1-0:1.0: 1 port detected
    [    7.508787] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [    7.514429] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
    [    7.522242] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
    [    7.528976] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    7.537363] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    7.545828] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    7.553162] usb usb2: Product: xHCI Host Controller
    [  OK  ] Started File System Check on /dev/m[    7.558137] usb usb2: Manufacturer: Linux 5.10.145-g8b51d20b6e xhci-hcd
    mcblk0p1.
    [    7.570357] usb usb2: SerialNumber: xhci-hcd.3.auto
    [    7.577347] hub 2-0:1.0: USB hub found
    [    7.581327] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
             Mounting /run/media/mmcblk0p1...
    [    7.639095] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Found device /dev/mmcblk1p1.
    [  OK  ] Mounted /run/media/mmcblk0p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API.
    [  OK  ] Listening on dropbear.socket.
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Save/Restore Sound Card State...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
    [    7.859202] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
             Starting rc.pvr.service...
    [    7.879894] wlcore: loaded
             Starting startwlanap...
             Starting startwlansta...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Started startwlanap.
    [  OK  ] Started startwlansta.
    [  OK  ] Reached target Network (Pre).
    [  OK  ] Reached target Sound Card.
             Mounting /run/media/mmcblk1p1...
             Starting Network Service...
             Starting Load/Save RF Kill Switch Status...
    [  OK  ] Started Load/Save RF Kill Switch Status.
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Login Service.
    [    8.821770] wlcore: using inverted interrupt logic: 2
    [    8.895335] wlcore: PHY firmware version: Rev 8.2.0.0.245
    [    9.001270] wlcore: firmware booted (Rev 8.9.0.0.86)
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack   9.062548] am65-cpsw-nuss 8000000.ethernet: down msc_sl e0000000 tmo 0
    [0m...
             Starting Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [    9.226189] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    9.263982] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [  OK  ] Started Avahi mDNS/DNS-SD Stack[    9.278589] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    .
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started rc.pvr.service.
    [    9.326576] am65-cpsw-nuss 8000000.ethernet: down msc_sl e0000000 tmo 0
             Starting weston.service...
    [    9.362562] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    9.378567] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    9.412342] startwlanap.sh[905]: adding wlan1 interface
    [    9.578796] startwlanap.sh[910]: Configuration file: /usr/share/wl18xx/hostapd.conf
    [    9.680664] wlcore: down
    [    9.604499] startwlanap.sh[910]: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
    [    9.679091] startwlanap.sh[910]: Using interface wlan1 with hwaddr 20:d7:78:b8:48:7d and ssid "AM62xSK-AP_78b848"
    [    9.792618] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
    [    9.732249] startwlanap.sh[910]: wlan1: interface state COUNTRY_UPDATE->ENABLED
    [    9.732781] startwlanap.sh[910]: wlan1: AP-ENABLED
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            hidapi
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            tar
            which
    
    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting hmi_demo.service...
    [   12.722508] detected fb_set_par error, error code: -16
    [   12.999018] PVR_K:  1087: RGX Firmware image 'rgx.fw.33.15.11.3' loaded
    [   13.033339] PVR_K:  1087: Shader binary image 'rgx.sh.33.15.11.3' loaded
    [  OK  ] Started hmi_demo.service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62xx-evm ttyS2
    
    Arago 2021.09 am62xx-evm ttyS2
    
    am62xx-evm login: [  130.515956] Initializing XFRM netlink socket
    [  133.252952] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
    [  133.273673] Bridge firewalling registered
    [  134.305199] process 'docker/tmp/qemu-check398361296/check' started with executable stack
    
    am62xx-evm login: root
    root@am62xx-evm:~# 
    root@am62xx-evm:~# /etc/init.d/weston stop
    Stopping Weston
    root@am62xx-evm:~# [  437.578803] detected fb_set_par error, error code: -16
    
    root@am62xx-evm:~# 
    root@am62xx-evm:~# kmstest
    Connector 0/@39: HDMI-A-1
      Crtc 0/@37: 1360x768 85.500 1360/64/112/256/+ 768/3/6/18/+ 60 (60.02) 0x5 0x48
      Plane 0/@31: 0,0-1360x768
        Fb 49 1360x768-XR24
    press enter to exit
    
    root@am62xx-evm:~# aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: AM62xSil9022HDM [AM62x-Sil9022-HDMI], device 0: davinci-mcasp.0-i2s-hifi i2s-hifi-0 [davinci-mcasp.0-i2s-hifi i2s-hifi-0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    root@am62xx-evm:~# speaker-test -D plughw:0,0 -r 48000 -c 2 -t sine -f 1000
    
    speaker-test 1.2.1
    
    Playback device is plughw:0,0
    Stream parameters are 48000Hz, S16_LE, 2 channels
    Sine wave rate is 1000.0000Hz
    Rate set to 48000Hz (requested 48000Hz)
    Buffer size rang[  619.925413] davinci-mcasp 2b10000.mcasp: Sample-rate is off by -11776 PPM
    e from 139 to 142663
    Period size range from 69 to 17833
    Using max buffer size 142660
    Periods = 4
    was set period_size = 2691
    was set buffer_size = 142660
     0 - Front Left
     1 - Front Right
    [  623.018751] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 3.091440
     0 - Front Left
    [  623.070098] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.120008] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101193
     0 - Front Left
    [  623.171259] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.221446] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101351
     0 - Front Left
    [  623.272778] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.322773] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101212
     0 - Front Left
    [  623.374061] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.424057] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101225
     0 - Front Left
    [  623.475373] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.525263] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101097
     0 - Front Left
    [  623.576520] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.626403] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101039
     0 - Front Left
    [  623.677658] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.727647] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101146
     0 - Front Left
    [  623.778889] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.829897] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.102112
     0 - Front Left
    [  623.881255] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  623.931126] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101142
     0 - Front Left
    [  623.982393] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.032273] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101059
     0 - Front Left
    [  624.083497] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.133667] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101303
     0 - Front Left
    [  624.184902] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.234851] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101074
     0 - Front Left
    [  624.286056] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.335899] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.100965
     0 - Front Left
    [  624.387230] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.437154] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101148
     0 - Front Left
    [  624.488401] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.538413] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101184
     0 - Front Left
    [  624.589679] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.639784] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101251
     0 - Front Left
    [  624.690983] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.741903] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.102031
     0 - Front Left
    [  624.793130] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.842946] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.100945
     0 - Front Left
    [  624.894294] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  624.944197] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101190
     0 - Front Left
    [  624.995441] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  625.045281] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.100978
     0 - Front Left
    [  625.096515] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  625.146675] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101286
     0 - Front Left
    [  625.197865] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  625.247792] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101043
     0 - Front Left
    [  625.299009] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    [  625.348858] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
    Time per period = 0.101024
     0 - Front Left
    [  625.400202] davinci-mcasp 2b10000.mcasp: Transmit buffer underflow
     1 - Front Right
    ^Z
    [1]+  Stopped(SIGTSTP)        speaker-test -D plughw:0,0 -r 48000 -c 2 -t sine -f 1000
    root@am62xx-evm:~# 
    root@am62xx-evm:/boot# ls
    Image                       fitImage                       k3-am625-sk-csi2-ov5640.dtbo  k3-am625-sk-lpmdemo.dtb  k3-am625-skeleton.dtb  vmlinux.gz-5.10.145-g8b51d20b6e
    Image-5.10.145-g8b51d20b6e  fitImage-5.10.145-g8b51d20b6e  k3-am625-sk-hdmi-audio.dtbo   k3-am625-sk.dtb          vmlinux.gz
    
    root@am62xx-evm:~# gst-launch-1.0 filesrc location=//run/media/mmcblk1p1/SampleVideo_1280x720_5mb.mp4 ! decodebin ! videoconvert ! fbdevsink
    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    Redistribute latency...
    Redistribute latency...
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Got EOS from element "pipeline0".
    Execution ended after 0:00:29.559585070
    Setting pipeline to NULL ...
    Freeing pipeline ...
    root@am62xx-evm:~# 
    
    
    
    root@am62xx-evm:/run/media/mmcblk1p1# ls
    SampleVideo_1280x720_5mb.mp4  SampleVideo_320x240_2mb.mp4                      mixkit-melodical-flute-music-notification-2310.wav  tiboot3.bin  u-boot.img  wificfg
    SampleVideo_320x240_1mb.mp4   mixkit-little-birds-singing-in-the-trees-17.wav  mixkit-rain-and-thunder-storm-2390.wav              tispl.bin    uEnv.txt
    root@am62xx-evm:/run/media/mmcblk1p1# gst-play-1.0 mixkit-little-birds-singing-in-the-trees-17.wav
    Press 'k' to see a list of keyboard shortcuts.
    Now playing /run/media/mmcblk1p1/mixkit-little-birds-singing-in-the-trees-17.wav
    Volume: 105%                  
    Volume: 110%                  
    Volume: 115%                  
    Volume: 120%                  
    Volume: 125%                  
    Volume: 130%                  
    Volume: 135%                  
    Volume: 140%                  
    Volume: 145%                  
    Volume: 150%                  
    Volume: 155%                  
    Volume: 160%                  
    Volume: 165%                  
    Volume: 170%                  
    Volume: 175%                  
    Volume: 180%                  
    Volume: 185%                  
    Volume: 190%                  
    Volume: 195%                  
    Volume: 200%                  
    Volume: 205%                  
    Volume: 210%                  
    Volume: 215%                  
    0:00:04.1 / 0:00:08.3       
    (gst-play-1.0:1440): GLib-GObject-WARNING **: 07:12:13.273: value "10.648000" of type 'gdouble' is invalid or out of range for property 'volume' of type 'gdouble'
    Volume: 220%                  
    0:00:05.6 / 0:00:08.3       
    (gst-play-1.0:1440): GLib-GObject-WARNING **: 07:12:14.809: value "10.648000" of type 'gdouble' is invalid or out of range for property 'volume' of type 'gdouble'
    Volume: 220%                  
    0:00:05.8 / 0:00:08.3       
    (gst-play-1.0:1440): GLib-GObject-WARNING **: 07:12:14.993: value "10.648000" of type 'gdouble' is invalid or out of range for property 'volume' of type 'gdouble'
    Volume: 220%                  
    0:00:08.3 / 0:00:08.3       
    Reached end of play list.
    
    
    

    This time we haven't observed the any error related to the I2C timeout but after giving the weston stop command below error has been occured:
    /etc/init.d/weston stop
    Stopping Weston
    root@am62xx-evm:~# [  437.578803] detected fb_set_par error, error code: -1
    Kindly check it once.
    Regards

    Lakshmi Jha

  • Hi Lakshmi,

    Did you try to test with 1920x1080p HDMI display and see if the behavior changes? 

    I have asked experts on the error reported(which likely is device/resource busy), waiting for a response. Expect delay as most of our experts are out for holidays.

    Best Regards,

    Suren

  • Hi Suren,

    We are not having any device with 1920x1080 HDMI display resolution. 

    Could you please suggest the alternate way to check the same.

    Regards

    Lakshmi Jha