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.

AM62A7-Q1: can not start the application while using myinit.sh instead of using systemd

Part Number: AM62A7-Q1
Other Parts Discussed in Thread: AM62A7

Tool/software:

Hi:
      I have disable the init script and systemd and using myinit.sh to implement the fast start of kernel. 

     Here is the trace when i running the application:

+ ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edgeai-gst-apps/configs/imx219_cam_example.yaml
libtidl_onnxrt_EP loaded 0x18d62680
Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes - 283
APP: Init ... !!!
    15.116162 s: MEM: Init ... !!!
    15.116262 s: MEM: Initialized DMA HEAP (fd=5) !!!
    15.116492 s: MEM: Init ... Done !!!
    15.116516 s: IPC: Init ... !!!
    15.133931 s: IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
    15.140032 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
    15.144836 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    15.144883 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    15.144894 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    15.146106 s:  VX_ZONE_ERROR: [ownPlatformInit:131] POSIX semaphore create failed
    15.146650 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0
    15.146769 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1
    15.146892 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2
    15.146987 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3
    15.147002 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
    15.147020 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
/sbin/init: line 61:   677 Segmentation fault      (core dumped)[   10.233621] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
 ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edg[   10.246432] CPU: 1 PID: 1 Comm: init Not tainted 6.6.44-ti-01478-g541c20281af7-dirty #1
eai-gst-apps/configs/imx219_cam_example.yaml
+ echo 'System ini[   10.259955] Hardware name: Texas Instruments AM62A7 SK (DT)
tialized: Hello world!!!!!!'
System initialized: Hello world!!![   10.271055] Call trace:
!!!
[   10.279033]  dump_backtrace+0x90/0xe8

here is setting in myinit.sh.


#!/bin/sh

set -x
export PATH=/usr/bin:/sbin:/bin
export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
mount -t proc proc /proc
mount -n -t sysfs none /sys
mount -t debugfs none /sys/kernel/debug
mount -n -t tmpfs none /run

export SOC=am62a
export DEVICE_NAME=AM62A


# Load essential kernel modules
insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/rpmsg/rpmsg_char.ko
insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko
insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko


echo am62a-mcu-r5f0_0-fw > /sys/kernel/debug/remoteproc/remoteproc0/firmware
echo start > /sys/kernel/debug/remoteproc/remoteproc0/state

/sbin/udevd --daemon
/sbin/udevadm trigger --action=add
/sbin/udevadm settle


sysctl -w kernel.sem="500 32000 100 512"
echo 500 > /proc/sys/kernel/sem


ulimit -c unlimited
echo "/tmp/core.%e.%p" > /proc/sys/kernel/core_pattern
export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
export EDGEAI_DATA_PATH=/opt/edgeai-test-data
export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
export MODEL_ZOO_PATH=/opt/model_zoo
export EDGEAI_VERSION=10.1
export EDGEAI_SDK_VERSION=10_01_00


bash /opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh


media-ctl -V '"imx219 6-0010":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
media-ctl -V '"30102000.ticsi2rx":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'


echo 1 > /sys/kernel/debug/remoteproc/remoteproc0/firmware
echo start > /sys/kernel/debug/remoteproc/remoteproc0/state


./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai  ./opt/edgeai-gst-apps/configs/imx219_cam_example.yaml


echo "System initialized: Hello world!!!!!!"

It seems that remoteproc and other problem.


+ insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko
[    2.560352] k3_r5_rproc bus@f0000:bus@4000000:r5fss@79000000: k3_r5_cluster_rproc_init failed, ret = -517
[    2.571554] remoteproc remoteproc0: releasing 79000000.r5f
[    2.578010] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_rproc_init failed, ret = -517
[    2.587789] remoteproc remoteproc0: releasing 78000000.r5f
+ insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko

  • Hi I will send this to one of my colleagues. But, let me share 5-cents comments

    Have you tried to check init scripts logs? I believe they are under "var/log"

    Thank you,

    Paula

  • Hello carrillo:

         Scripts log under var/log is empty.  and i have attach the trace in the console. thanks very much

    [    2.668911] Run /sbin/init as init process
    + /usr/lib/systemd/systemd-logind
    + export PATH=/usr/bin:/sbin:/bin
    + PATH=/usr/bin:/sbin:/bin
    + export LD_LIBRARY_PATH=/lib:/usr/lib:
    + LD_LIBRARY_PATH=/lib:/usr/lib:
    + /usr/lib/systemd/systemd-journald
    + mount -t proc proc /proc
    + mount -n -t sysfs none /sys
    + mount -t debugfs none /sys/kernel/debug
    + mount -n -t tmpfs none /run
    + export SOC=am62a
    + SOC=am62a
    + export DEVICE_NAME=AM62A
    + DEVICE_NAME=AM62A
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/rpmsg_char.ko
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko
    [    2.924836] k3_r5_rproc bus@f0000:bus@4000000:r5fss@79000000: k3_r5_cluster_rproc_init failed, ret = -517
    Collecting audit messages is enabled.
    [    2.934755] remoteproc remoteproc0: releasing 79000000.r5f
    Failed to acquire cgroup root path: No medium found
    [    2.945021] audit: type=1335 audit(2.512:2): pid=92 uid=0 auid=4294967295 tty=(none) ses=4294967295 subj=kernel comm="systemd-journal" exe="/usr/lib/systemd/systemd-journal1
    [    2.945434] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_rproc_init failed, ret = -517
    Failed to connect to system bus: No such file or direct[    2.976178] remoteproc remoteproc0: releasing 78000000.r5f
    ory
    Failed to fully start up daemon: No such file or directory
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko
    + echo am62a-mcu-r5f0_0-fw
    /sbin/init: line 26: /sys/kernel/debug/remoteproc/remoteproc0/firmware: No such file or directory
    + echo start
    /sbin/init: line 27: /sys/kernel/debug/remoteproc/remoteproc0/state: No such file or directory
    + /sbin/udevd --daemon
    Starting systemd-udevd version 255.13^
    + /sbin/udevadm trigger --action=add
    + /sbin/udevadm settle
    [    3.469507] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    3.484207] k3_r5_rproc bus@f0000:bus@4000000:r5fss@79000000: k3_r5_cluster_rproc_init failed, ret = -517
    [    3.497441] remoteproc remoteproc0: releasing 79000000.r5f
    [    3.515909] mc: Linux media interface: v0.10
    [    3.515909] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    3.516198] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    3.531526] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    3.534091] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    3.545898] platform 78000000.r5f: configured R5F for IPC-only mode
    [    3.559644] videodev: Linux video capture interface: v2.00
    [    3.559964] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [    3.578002] remoteproc remoteproc0: 78000000.r5f is available
    [    3.585496] remoteproc remoteproc0: attaching to 78000000.r5f
    [    3.591742] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [    3.602278] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    3.602979] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    3.607966] rproc-virtio rproc-virtio.7.auto: registered virtio0 (type 7)
    [    3.621861] remoteproc remoteproc0: remote processor 78000000.r5f is now attached
    [    3.635187] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [    3.646882] k3-dsp-rproc 7e000000.dsp: configured DSP for IPC-only mode
    [    3.653869] remoteproc remoteproc1: 7e000000.dsp is available
    [    3.659716] remoteproc remoteproc1: attaching to 7e000000.dsp
    [    3.670265] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node c7x-dma-memory@99800000
    [    3.670444] ds90ub960 4-0030: supply vddio not found, using dummy regulator
    [    3.679893] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    3.680384] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xd
    [    3.680657] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    3.681076] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0x15
    [    3.684113] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xe
    [    3.689771] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    3.692344] rproc-virtio rproc-virtio.8.auto: registered virtio1 (type 7)
    [    3.699255] virtio_rpmsg_bus virtio0: msg received with no recipient
    [    3.706116] remoteproc remoteproc1: remote processor 7e000000.dsp is now attached
    [    3.713328] virtio_rpmsg_bus virtio1: msg received with no recipient
    [    3.763051] platform 79000000.r5f: configured R5F for IPC-only mode
    [    3.769525] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [    3.781448] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [    3.788488] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [    3.798110] vdec 30210000.video-codec: OPP table not found in device tree
    [    3.798810] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [    3.798945] remoteproc remoteproc2: 79000000.r5f is available
    [    3.799005] remoteproc remoteproc2: attaching to 79000000.r5f
    [    3.799367] rproc-virtio rproc-virtio.9.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [    3.812012] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    3.813185] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xd
    [    3.818945] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    3.822494] rproc-virtio rproc-virtio.9.auto: registered virtio2 (type 7)
    [    3.822510] remoteproc remoteproc2: remote processor 79000000.r5f is now attached
    [    3.823955] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [    3.833040] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:12 UTC (12)
    [    3.862838] vdec 30210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    3.888676] vdec 30210000.video-codec: Product Code:      0x521c
    [    3.894801] vdec 30210000.video-codec: Firmware Revision: 334314
    [    3.910579] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30/links/link@0/serializer
    [    3.938133] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30/links/link@0/serializer: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30
    [    3.957688] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30/links/link@0/serializer: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30
    [    3.981286] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [    3.985530] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [    3.988316] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30/links/link@0/serializer/i2c/sensor@10: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71r
    [    4.021965] e5010 fd20000.jpeg-encoder: Device registered as /dev/video2
    [    4.029089] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    4.033848] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    4.038229] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [    4.045681] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    4.050730] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    4.081485] i2c i2c-1: Added multiplexed i2c bus 5
    [    4.094577] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    4.101642] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [    4.112134] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    4.157916] Console: switching to colour frame buffer device 240x80
    [    4.205805] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    4.599732] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    4.646744] ds90ub953 4-0044: Found ub953 rev/mask 0x20
    [    4.678645] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30/links/link@0/serializer/i2c/sensor@10: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71r
    [    4.688817] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    4.703143] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30/links/link@0/serializer: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30
    [    4.726858] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/deser@30/links/link@0/serializer/i2c/sensor@10: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71r
    [    4.751290] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 4/4 lanes, 4 streams, external D-PHY
    [    4.779221] imx219 6-0010: supply VANA not found, using dummy regulator
    [    4.786174] imx219 6-0010: supply VDIG not found, using dummy regulator
    [    4.792966] imx219 6-0010: supply VDDL not found, using dummy regulator
    [    4.804951] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    + sysctl -w 'kernel.sem=500 32000 100 512'
    kernel.sem = 500 32000 100 512
    + echo 500
    + ulimit -c unlimited
    + echo /tmp/core.%e.%p
    + export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + export EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + export MODEL_ZOO_PATH=/opt/model_zoo
    + MODEL_ZOO_PATH=/opt/model_zoo
    + export EDGEAI_VERSION=10.1
    + EDGEAI_VERSION=10.1
    + export EDGEAI_SDK_VERSION=10_01_00
    + EDGEAI_SDK_VERSION=10_01_00
    + bash /opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh
    IMX219 Camera 0 detected
        device = /dev/video-imx219-cam0
        name = imx219
        format = [fmt:SRGGB8_1X8/1920x1080 field: none]
        subdev_id = /dev/v4l-imx219-subdev0
        isp_required = yes
        ldc_required = yes
    + media-ctl -V '"imx219 6-0010":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    + media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    + media-ctl -V '"30102000.ticsi2rx":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    + echo 1
    /sbin/init: line 56: /sys/kernel/debug/remoteproc/remoteproc0/firmware: Permission denied
    + echo start
    /sbin/init: line 57: /sys/kernel/debug/remoteproc/remoteproc0/state: Permission denied
    + echo 'System initialized: Hello world!!!!!!'
    System initialized: Hello world!!!!!!
    + exec /bin/sh
    sh: cannot set terminal process group (-1): Inappropriate ioctl for device
    sh: no job control in this shell
    sh-5.2# vi run/log
    sh-5.2#

  • Hi 

    It seems that the r5 core does not start up normally. Please first run /opt/vision_apps/vision_apps_init.sh and upload the log.

    And am62a should not have this cluster related info. I suppose you are applying kernel/configs/ti_early_display.config to do fast boot and this config maybe the source of the cluster related info. Please try again without kernel/configs/ti_early_display.config.

    : k3_r5_cluster_rproc_init failed

    Regards,

    Adam

  • Hello adam:

    here is the log with running for /opt/vision_apps/vision_apps_init.sh:
     sh-5.2#
    sh-5.2# ./vision_apps_init.sh                                                                                                                                                                               
    sh-5.2# [MCU1_0]      0.033502 s: CIO: Init ... Done !!!
    [MCU1_0]      0.033540 s: APP: Init ... !!!
    [MCU1_0]      0.033573 s: MEM: Init ... !!!
    [MCU1_0]      0.033590 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ af000000 of size 16777216 bytes !!!
    [MCU1_0]      0.033629 s: MEM: Init ... Done !!!
    [MCU1_0]      0.033655 s: IPC: Init ... !!!
    [MCU1_0]      0.033671 s: IPC: 3 CPUs participating in IPC !!!
    [MCU1_0]      0.033962 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU1_0]      0.038316 s: #Sciserver Version: v2023.11.0.0REL.MCUSDK.MM.NN.PP.bb
    [MCU1_0]      0.041089 s: ##RM_PM_HAL Version: vMM.NN.PP
    [MCU1_0]      0.044036 s: ##Starting Sciserver..... PASSED
    [MCU1_0]     11.459379 s: IPC: HLOS is ready !!!
    [MCU1_0]     11.459462 s: IPC: Init ... Done !!!
    [MCU1_0]     11.459487 s: APP: Syncing with 2 CPUs ... !!!
    [MCU1_0]     11.459511 s: APP: Syncing with 2 CPUs ... Done !!!
    [MCU1_0]     11.459530 s: REMOTE_SERVICE: Init ... !!!
    [MCU1_0]     11.459602 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU1_0]     11.459627 s: FVID2: Init ... !!!
    [MCU1_0]     11.459653 s: FVID2: Init ... Done !!!
    [MCU1_0]     11.459670 s: VHWA: VPAC Init ... !!!
    [MCU1_0]     11.459685 s: SCICLIENT: Sciclient_pmSetModuleState module=219 state=2
    [MCU1_0]     11.459771 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU1_0]     11.459897 s: VHWA: LDC Init ... !!!
    [MCU1_0]     11.460042 s: VHWA: LDC Init ... Done !!!
    [MCU1_0]     11.460063 s: VHWA: MSC Init ... !!!
    [MCU1_0]     11.460617 s: VHWA: MSC Init ... Done !!!
    [MCU1_0]     11.460638 s: VHWA: VISS Init ... !!!
    [MCU1_0]     11.461292 s: VHWA: VISS Init ... Done !!!
    [MCU1_0]     11.461318 s: VHWA: VPAC Init ... Done !!!
    [MCU1_0]     11.461345 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    [MCU1_0]     11.461368 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    [MCU1_0]     11.461390 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    [MCU1_0]     11.462134 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_sink on target MCU1-0
    [MCU1_0]     11.462242 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_source on target MCU1-0
    [MCU1_0]     11.462330 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_sink2 on target MCU1-0
    [MCU1_0]     11.462380 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_source2 on target MCU1-0
    [MCU1_0]     11.462433 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_intermediate on target MCU1-0
    [MCU1_0]     11.462487 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_intermediate_2 on target MCU1-0
    [MCU1_0]     11.462541 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_source_error on target MCU1-0
    [MCU1_0]     11.462595 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_source_obj_array on target MCU1-0
    [MCU1_0]     11.462667 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_sink_obj_array on target MCU1-0
    [MCU1_0]     11.462756 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.pyramid_intermediate on target MCU1-0
    [MCU1_0]     11.462815 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.pyramid_source on target MCU1-0
    [MCU1_0]     11.462871 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.pyramid_sink on target MCU1-0
    [MCU1_0]     11.462925 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.test_target on target MCU1-0
    [MCU1_0]     11.462978 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.image_intermediate on target MCU1-0
    [MCU1_0]     11.463033 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.cmd_timeout_test on target MCU1-0
    [MCU1_0]     11.463087 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.tiovx_overhead on target MCU1-0
    [MCU1_0]     11.463202 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MCU1-0
    [MCU1_0]     11.463289 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target VPAC_LDC1
    [MCU1_0]     11.463364 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target VPAC_MSC1
    [MCU1_0]     11.463444 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target VPAC_MSC2
    [MCU1_0]     11.463515 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target VPAC_VISS1
    [MCU1_0]     11.463547 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
    [MCU1_0]     11.463572 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    [MCU1_0]     11.463591 s: APP: OpenVX Target kernel init ... !!!
    [MCU1_0]     11.468035 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU1_0]     11.468062 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU1_0]     11.468106 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU1_0]     11.468125 s: APP: Init ... Done !!!
    [MCU1_0]     11.468141 s: APP: Run ... !!!
    [MCU1_0]     11.468154 s: IPC: Starting echo test ...
    [MCU1_0]     11.468279 s: APP: Run ... Done !!!
    [MCU1_0]     11.469067 s: IPC: Echo status: a530-0[.] r5f0-0[s] c75ss0[P]
    [C7x_1 ]      6.258178 s: CIO: Init ... Done !!!
    [C7x_1 ]      6.258196 s: APP: Init ... !!!
    [C7x_1 ]      6.258208 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      6.258269 s: SCICLIENT: DMSC FW version [10.1.8--v10.01.08 (Fiery Fox)]
    [C7x_1 ]      6.258288 s: SCICLIENT: DMSC FW revision 0xa  
    [C7x_1 ]      6.258302 s: SCICLIENT: DMSC FW ABI revision 4.0
    [C7x_1 ]      6.258317 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      6.258330 s: UDMA: Init ... !!!
    [C7x_1 ]      6.258376 s: UDMA: Init ... Done !!!
    [C7x_1 ]      6.258390 s: MEM: Init ... !!!
    [C7x_1 ]      6.258404 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ b2000000 of size 117440512 bytes !!!
    [C7x_1 ]      6.258432 s: MEM: Init ... Done !!!
    [C7x_1 ]      6.258444 s: IPC: Init ... !!!
    [C7x_1 ]      6.258457 s: IPC: 3 CPUs participating in IPC !!!
    [C7x_1 ]      6.258659 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_1 ]     11.201970 s: IPC: HLOS is ready !!!
    [C7x_1 ]     11.202047 s: IPC: Init ... Done !!!
    [C7x_1 ]     11.202062 s: APP: Syncing with 2 CPUs ... !!!
    [C7x_1 ]     11.459512 s: APP: Syncing with 2 CPUs ... Done !!!
    [C7x_1 ]     11.459529 s: REMOTE_SERVICE: Init ... !!!
    [C7x_1 ]     11.459981 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_1 ]     11.460007 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    [C7x_1 ]     11.460027 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    [C7x_1 ]     11.460048 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    [C7x_1 ]     11.460728 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel vx_tutorial_graph.phase_rgb on target DSP_C7-1
    [C7x_1 ]     11.460783 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_sink on target DSP_C7-1
    [C7x_1 ]     11.460834 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_source on target DSP_C7-1
    [C7x_1 ]     11.460883 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_sink2 on target DSP_C7-1
    [C7x_1 ]     11.460941 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_source2 on target DSP_C7-1
    [C7x_1 ]     11.460989 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.scalar_intermediate on target DSP_C7-1
    [C7x_1 ]     11.461037 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_intermediate_2 on target DSP_C7-1
    [C7x_1 ]     11.461084 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_source_error on target DSP_C7-1
    [C7x_1 ]     11.461132 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_source_obj_array on target DSP_C7-1
    [C7x_1 ]     11.461180 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.scalar_sink_obj_array on target DSP_C7-1
    [C7x_1 ]     11.461229 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.pyramid_intermediate on target DSP_C7-1
    [C7x_1 ]     11.461278 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.pyramid_source on target DSP_C7-1
    [C7x_1 ]     11.461324 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.pyramid_sink on target DSP_C7-1
    [C7x_1 ]     11.461370 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.test_target on target DSP_C7-1
    [C7x_1 ]     11.461418 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.capture.image_intermediate on target DSP_C7-1
    [C7x_1 ]     11.461466 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.test_target on target DSP_C7-1
    [C7x_1 ]     11.461514 s:  VX_ZONE_INFO: [ownAddTargetKernelInternal:162] registered kernel com.ti.test_kernels.tiovx_overhead on target DSP_C7-1
    [C7x_1 ]     11.461638 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1
    [C7x_1 ]     11.461731 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1_PRI_2
    [C7x_1 ]     11.461825 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1_PRI_3
    [C7x_1 ]     11.461925 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1_PRI_4
    [C7x_1 ]     11.462019 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1_PRI_5
    [C7x_1 ]     11.462113 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1_PRI_6
    [C7x_1 ]     11.462206 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1_PRI_7
    [C7x_1 ]     11.462300 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target DSP_C7-1_PRI_8
    [C7x_1 ]     11.462328 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
    [C7x_1 ]     11.462349 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    [C7x_1 ]     11.462364 s: APP: OpenVX Target kernel init ... !!!
    [C7x_1 ]     11.462583 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_1 ]     11.462599 s: APP: Init ... Done !!!
    [C7x_1 ]     11.462612 s: APP: Run ... !!!
    [C7x_1 ]     11.462623 s: IPC: Starting echo test ...
    [C7x_1 ]     11.462720 s: APP: Run ... Done !!!
    [C7x_1 ]     11.469149 s: IPC: Echo status: a530-0[.] r5f0-0[P] c75ss0[s]

  • By the way: here is the trace when i using the gsteramer command

    gst-launch-1.0 v4l2src device=/dev/video-imx219-cam0 io-mode=dmabuf-import ! \
    video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb ! \
    tiovxisp sink_0::device=/dev/v4l-imx219-subdev0 \
    sensor-name="SENSOR_SONY_IMX219_RPI" \
    dcc-isp-file=/opt/imaging/imx219/linear/dcc_viss.bin ee-mode=EE_MODE_Y8 \
    sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a.bin format-msb=7 ! \
    video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
    kmssink driver-name=tidss sync=false




    APP: Init ... !!!
        53.852393 s: MEM: Init ... !!!
        53.852451 s: MEM: Initialized DMA HEAP (fd=8) !!!
        53.852626 s: MEM: Init ... Done !!!
        53.852640 s: IPC: Init ... !!!
        53.869952 s: IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
        53.878550 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
        53.882331 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
        53.882383 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
        53.882394 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
        53.883563 s:  VX_ZONE_ERROR: [ownPlatformInit:131] POSIX semaphore create failed
        53.884002 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0
        53.884098 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1
        53.884226 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2
        53.884315 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3
        53.884329 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
        53.884340 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO

    Setting pipeline to PAUSED ...
    Caught SIGSEGV
    #0  0x0000ffffa2270e30 in wait4 () from /lib/libc.so.6
    #1  0x0000ffffa2405e6c in g_on_error_stack_trace () from /lib/libglib-2.0.so.0
    #2  0x0000000000405220 in ?? ()
    #3  <signal handler called>
    #4  0x0000ffffa2229588 in sem_wait () from /lib/libc.so.6
    #5  0x0000ffffa051bfac in ownPlatformSystemLock () from /lib/libtivision_apps.so.10.1.0
    #6  0x0000ffffa0505af4 in ownObjDescAlloc () from /lib/libtivision_apps.so.10.1.0
    #7  0x0000ffffa04da8cc in vxCreateContext () from /lib/libtivision_apps.so.10.1.0
    #8  0x0000ffffa1acb260 in ?? () from /lib/libgsttiovx-1.0.so.1
    #9  0x0000ffffa1f09ce4 in ?? () from /lib/libgstbase-1.0.so.0
    #10 0x0000ffffa25c0ad0 in gst_element_change_state () from /lib/libgstreamer-1.0.so.0
    #11 0x0000ffffa25c1254 in ?? () from /lib/libgstreamer-1.0.so.0
    #12 0x0000ffffa259a1e0 in ?? () from /lib/libgstreamer-1.0.so.0
    #13 0x0000ffffa25ef58c in ?? () from /lib/libgstreamer-1.0.so.0
    #14 0x0000ffffa25c0ad0 in gst_element_change_state () from /lib/libgstreamer-1.0.so.0
    #15 0x0000ffffa25c0b0c in gst_element_change_state () from /lib/libgstreamer-1.0.so.0
    #16 0x0000ffffa25c1254 in ?? () from /lib/libgstreamer-1.0.so.0
    #17 0x0000000000404d6c in ?? ()
    #18 0x0000ffffa21c84f4 in ?? () from /lib/libc.so.6
    #19 0x0000ffffa21c85cc in __libc_start_main () from /lib/libc.so.6
    #20 0x0000000000403c30 in ?? ()
    Spinning.  Please run 'gdb gst-launch-1.0 700' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

  • Hi, I am out of office for the next two weeks. Please expect delayed response.

  • ere is the log with running for /opt/vision_apps/vision_apps_init.sh:

    Hi 

    remote cores (R5 for isp, c7 for tidl) all up from this log. 

    Please try again without kernel/configs/ti_early_display.config.

    Can you try disable using that config and going back to systemd to see if this pipeline start normally?

    Regards,

    Adam

  • Hello adam:

             Right now i do not use the kernel/configs/ti_early_display.config as my SDK config.

             I have used the original 10.01 SDK and do not change source code.

             download the image into evm board and in the board disable the systemd and link the init to myinit.sh

             then power on and check the imx219 camera can be work or not


             by the way. if i change the mode to  falcon mode. even i start up from systemd. the camera can not work. can you help to analysis the problem. thanks very much
          








  • Hi Ke

    sh-5.2# dmesg 
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.58-ti-01497-ga7758da17c28-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.4
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM62A7 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 CMA memory pool at 0x00000000c0000000, size 576 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000c0000000..0x00000000e3ffffff (589824 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) nomap non-reusable tfa@80000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000099800000..0x00000000998fffff (1024 KiB) nomap non-reusable c7x-dma-memory@99800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000099900000..0x000000009b7fffff (31744 KiB) nomap non-reusable c7x-memory@99900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b800000..0x000000009b8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9b800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b900000..0x000000009c7fffff (15360 KiB) nomap non-reusable r5f-dma-memory@9b900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c800000..0x000000009c8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9c800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c900000..0x000000009e6fffff (30720 KiB) nomap non-reusable r5f-dma-memory@9c900000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a0ffffff (16384 KiB) nomap non-reusable edgeai-rtos-ipc-memory-region
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a2ffffff (32768 KiB) nomap non-reusable edgeai-dma-memory@a1000000
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000adffffff (180224 KiB) map non-reusable edgeai_shared-memories
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ae000000..0x00000000bfffffff (294912 KiB) nomap non-reusable edgeai-core-heap-memory@ae000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000008007ffff]
    [    0.000000]   node   0: [mem 0x0000000080080000-0x00000000997fffff]
    [    0.000000]   node   0: [mem 0x0000000099800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a2ffffff]
    [    0.000000]   node   0: [mem 0x00000000a3000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    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.5
    [    0.000000] percpu: Embedded 20 pages/cpu s43176 r8192 d30552 u81920
    [    0.000000] pcpu-alloc: s43176 r8192 d30552 u81920 alloc=20*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_t
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 2807096K/4194304K available (12480K kernel code, 1272K rwdata, 4184K rodata, 2496K init, 528K bss, 797384K reserved, 589824)
    [    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]  Tracing 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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    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 @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008537] Console: colour dummy device 80x25
    [    0.013131] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023813] pid_max: default: 32768 minimum: 301
    [    0.028614] LSM: initializing lsm=capability,selinux,integrity
    [    0.034604] SELinux:  Initializing.
    [    0.038283] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.045862] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.055529] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.062832] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.070747] rcu: Hierarchical SRCU implementation.
    [    0.075653] rcu:     Max phase no-delay instances is 1000.
    [    0.081238] Platform MSI: msi-controller@1820000 domain created
    [    0.087488] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.096920] EFI services will not be available.
    [    0.101794] smp: Bringing up secondary CPUs ...
    [    0.107020] Detected VIPT I-cache on CPU1
    [    0.107089] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.107104] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.107146] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.107805] Detected VIPT I-cache on CPU2
    [    0.107859] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.107871] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.107900] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.108479] Detected VIPT I-cache on CPU3
    [    0.108528] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.108540] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.108567] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.108639] smp: Brought up 1 node, 4 CPUs
    [    0.188361] SMP: Total of 4 processors activated.
    [    0.193173] CPU features: detected: 32-bit EL0 Support
    [    0.198445] CPU features: detected: CRC32 instructions
    [    0.203756] CPU: All CPU(s) started at EL2
    [    0.207954] alternatives: applying system-wide alternatives
    [    0.215210] devtmpfs: initialized
    [    0.227994] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.237992] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.258612] pinctrl core: initialized pinctrl subsystem
    [    0.264462] DMI not present or invalid.
    [    0.268981] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.275817] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.283156] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.291227] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.299377] audit: initializing netlink subsys (disabled)
    [    0.305065] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
    [    0.305503] thermal_sys: Registered thermal governor 'step_wise'
    [    0.312994] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.319175] cpuidle: using governor menu
    [    0.330028] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.337050] ASID allocator initialised with 65536 entries
    [    0.347794] /bus@f0000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@f0000/interrupt-controller@1800000
    [    0.359283] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    0.372399] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.382296] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    0.395771] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    0.408925] /bus@f0000/ticsi2rx@30102000/csi-bridge@30101000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera0
    [    0.422377] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.437128] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    0.450418] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.460415] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    0.474616] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    0.488287] /bus@f0000/pinctrl@a40000: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.499196] /bus@f0000/ticsi2rx@30102000/csi-bridge@30101000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera0
    [    0.512980] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.522922] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.534622] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /connector-hdmi
    [    0.543870] /connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.553558] Modules: 27488 pages in range for non-PLT usage
    [    0.553564] Modules: 519008 pages in range for PLT usage
    [    0.559945] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.572341] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.578751] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.585690] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.592104] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.599044] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.605452] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.612391] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.620127] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.629441] iommu: Default domain type: Translated
    [    0.634359] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.640955] SCSI subsystem initialized
    [    0.644928] libata version 3.00 loaded.
    [    0.645098] usbcore: registered new interface driver usbfs
    [    0.650741] usbcore: registered new interface driver hub
    [    0.656200] usbcore: registered new device driver usb
    [    0.661815] pps_core: LinuxPPS API ver. 1 registered
    [    0.666895] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.676246] PTP clock support registered
    [    0.680447] EDAC MC: Ver: 3.0.0
    [    0.684117] scmi_core: SCMI protocol bus registered
    [    0.689387] FPGA manager framework
    [    0.692944] Advanced Linux Sound Architecture Driver Initialized.
    [    0.700087] vgaarb: loaded
    [    0.703168] clocksource: Switched to clocksource arch_sys_counter
    [    0.709717] VFS: Disk quotas dquot_6.6.0
    [    0.713757] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.727643] Carveout Heap: Exported 176 MiB at 0x00000000a3000000
    [    0.733982] NET: Registered PF_INET protocol family
    [    0.739151] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.749590] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.758398] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.766336] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.774642] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.783013] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.789858] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.796814] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.804340] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.810551] RPC: Registered named UNIX socket transport module.
    [    0.816626] RPC: Registered udp transport module.
    [    0.821436] RPC: Registered tcp transport module.
    [    0.826253] RPC: Registered tcp-with-tls transport module.
    [    0.831863] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.838454] NET: Registered PF_XDP protocol family
    [    0.843367] PCI: CLS 0 bytes, default 64
    [    0.848693] Initialise system trusted keyrings
    [    0.853471] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.860388] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.866606] NFS: Registering the id_resolver key type
    [    0.871812] Key type id_resolver registered
    [    0.876091] Key type id_legacy registered
    [    0.880209] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.887072] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.928636] Key type asymmetric registered
    [    0.932834] Asymmetric key parser 'x509' registered
    [    0.937868] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.945573] io scheduler mq-deadline registered
    [    0.950213] io scheduler kyber registered
    [    0.954341] io scheduler bfq registered
    [    0.961237] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.967794] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.975079] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.987560] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    1.005102] loop: module loaded
    [    1.009340] megasas: 07.725.01.00-rc1
    [    1.016784] tun: Universal TUN/TAP device driver, 1.6
    [    1.022934] VFIO - User Level meta-driver version: 0.3
    [    1.029326] usbcore: registered new interface driver usb-storage
    [    1.036062] i2c_dev: i2c /dev entries driver
    [    1.041979] sdhci: Secure Digital Host Controller Interface driver
    [    1.048322] sdhci: Copyright(c) Pierre Ossman
    [    1.053005] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.059553] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.065996] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.073266] usbcore: registered new interface driver usbhid
    [    1.078969] usbhid: USB HID core driver
    [    1.084166] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    1.093156] optee: probing for conduit method.
    [    1.097727] optee: revision 4.4 (8f645256efc0dc66)
    [    1.098026] optee: dynamic shared memory is enabled
    [    1.108602] random: crng init done
    [    1.112183] optee: initialized driver
    [    1.117418] Initializing XFRM netlink socket
    [    1.121837] NET: Registered PF_PACKET protocol family
    [    1.127081] Key type dns_resolver registered
    [    1.139803] registered taskstats version 1
    [    1.144134] Loading compiled-in X.509 certificates
    [    1.161987] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    [    1.207873] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    1.221238] /bus@f0000/i2c@20000000/pmic@48: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [    1.232904] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.240236] pca953x 1-0023: supply vcc not found, using dummy regulator
    [    1.247141] pca953x 1-0023: using AI
    [    1.273274] /connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    1.282517] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    1.292450] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /connector-hdmi
    [    1.301669] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    1.311750] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.318575] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    1.332251] pca954x 2-0071: supply vdd not found, using dummy regulator
    [    1.363489] i2c i2c-2: Added multiplexed i2c bus 3
    [    1.368658] /bus@f0000/ticsi2rx@30102000/csi-bridge@30101000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera0
    [    1.382163] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    1.395771] i2c i2c-2: Added multiplexed i2c bus 4
    [    1.400678] pca954x 2-0071: registered 2 multiplexed busses for I2C switch pca9543
    [    1.408512] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.414523] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.422848] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.432051] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.441039] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.450554] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.459337] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.470431] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.481530] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.491094] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    1.497720] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    1.507211] printk: console [ttyS2] disabled
    [    1.511900] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 249, base_baud = 3000000) is a 8250
    [    1.520810] printk: console [ttyS2] enabled
    [    1.529279] printk: bootconsole [ns16550a0] disabled
    [    1.545431] spi-nand spi0.0: Winbond SPI NAND was found.
    [    1.550810] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    1.559142] 7 fixed-partitions partitions found on MTD device spi0.0
    [    1.565501] Creating 7 MTD partitions on "spi0.0":
    [    1.570295] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    1.577710] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [    1.585448] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [    1.594097] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [    1.600887] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [    1.608303] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    1.654335] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    1.871178] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.882408] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.890542] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.903328] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.910456] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.916853] pps pps0: new PPS source ptp0
    [    1.921144] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.935066] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.944575] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    1.957471] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    1.972439] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.978000] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.985777] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    1.991799] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    2.001231] xhci-hcd xhci-hcd.0.auto: irq 264, io mem 0x31100000
    [    2.008042] hub 1-0:1.0: USB hub found
    [    2.011820] hub 1-0:1.0: 1 port detected
    [    2.017267] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    2.029581] mmc0: CQHCI version 5.10
    [    2.074408] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.130285] vddshv5_sdio: Bringing 1800000uV into 3300000-3300000uV
    [    2.158734] mmc0: Command Queue Engine enabled
    [    2.163201] mmc0: new HS200 MMC card at address 0001
    [    2.168693] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    2.174449]  mmcblk0: p1 p2
    [    2.177786] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    2.183627] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    2.189428] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (239:0)
    [    2.321668] tps6594-rtc tps6594-rtc.5.auto: registered as rtc1
    [    2.327876] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    2.334627] pca953x 1-0022: using AI
    [    2.345516] mmc1: CQHCI version 5.10
    [    2.346451] clk: Disabling unused clocks
    [    2.356894] ALSA device list:
    [    2.359924]   No soundcards found.
    [    2.389758] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    2.397534] Waiting for root device PARTUUID=53753b10-02...
    [    2.451200] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    2.458376] mmcblk1: mmc1:aaaa SE32G 29.7 GiB
    [    2.466241]  mmcblk1: p1 p2
    [    2.485540] EXT4-fs (mmcblk1p2): mounted filesystem 86f5f662-1a82-4277-a3db-b3db0b44732c r/w with ordered data mode. Quota mode: none.
    [    2.497694] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.506557] devtmpfs: mounted
    [    2.510172] Freeing unused kernel memory: 2496K
    [    2.514779] Run /sbin/init as init process
    [    2.518871]   with arguments:
    [    2.518874]     /sbin/init
    [    2.518877]   with environment:
    [    2.518880]     HOME=/
    [    2.518882]     TERM=linux
    [    2.529134] Starting init: /sbin/init exists but couldn't execute it (error -13)
    [    2.536555] Run /etc/init as init process
    [    2.540559]   with arguments:
    [    2.540562]     /etc/init
    [    2.540565]   with environment:
    [    2.540568]     HOME=/
    [    2.540571]     TERM=linux
    [    2.545225] Run /bin/init as init process
    [    2.549249]   with arguments:
    [    2.549252]     /bin/init
    [    2.549255]   with environment:
    [    2.549257]     HOME=/
    [    2.549260]     TERM=linux
    [    2.550113] Run /bin/sh as init process
    [    2.553953]   with arguments:
    [    2.553956]     /bin/sh
    [    2.553959]   with environment:
    [    2.553961]     HOME=/
    [    2.553964]     TERM=linux
    [   12.579788] platform 2b300050.target-module: deferred probe pending
    sh-5.2# 
    

    This is my log with your init script. There is a line says:

    [ 2.529134] Starting init: /sbin/init exists but couldn't execute it (error -13)

    Are you sure you are using this script ?


    #!/bin/sh

    set -x
    export PATH=/usr/bin:/sbin:/bin
    export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
    mount -t proc proc /proc
    mount -n -t sysfs none /sys
    mount -t debugfs none /sys/kernel/debug
    mount -n -t tmpfs none /run

    export SOC=am62a
    export DEVICE_NAME=AM62A


    # Load essential kernel modules
    insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/rpmsg/rpmsg_char.ko
    insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko
    insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko


    echo am62a-mcu-r5f0_0-fw > /sys/kernel/debug/remoteproc/remoteproc0/firmware
    echo start > /sys/kernel/debug/remoteproc/remoteproc0/state

    /sbin/udevd --daemon
    /sbin/udevadm trigger --action=add
    /sbin/udevadm settle


    sysctl -w kernel.sem="500 32000 100 512"
    echo 500 > /proc/sys/kernel/sem


    ulimit -c unlimited
    echo "/tmp/core.%e.%p" > /proc/sys/kernel/core_pattern
    export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    export EDGEAI_DATA_PATH=/opt/edgeai-test-data
    export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    export MODEL_ZOO_PATH=/opt/model_zoo
    export EDGEAI_VERSION=10.1
    export EDGEAI_SDK_VERSION=10_01_00


    bash /opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh


    media-ctl -V '"imx219 6-0010":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    media-ctl -V '"30102000.ticsi2rx":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'


    echo 1 > /sys/kernel/debug/remoteproc/remoteproc0/firmware
    echo start > /sys/kernel/debug/remoteproc/remoteproc0/state


    ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai  ./opt/edgeai-gst-apps/configs/imx219_cam_example.yaml


    echo "System initialized: Hello world!!!!!!"

  • Hi Adam,
    Here is my init script file

    Best Regards,

    Meng

     myinit.zip

  • Hi ke,

    I am able to reproduce your issue. But my log has kernel panic, need more time for investigation

    U-Boot 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  2 GiB (effective 4 GiB)
    Core:  87 devices, 30 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... 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
    mmc1 is current device
    SD/MMC found on device 1
    684 bytes read in 35 ms (18.6 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    53172 bytes read in 41 ms (1.2 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) des
    Load Remote Processor 0 with data@addr=0x82000000 53172 bytes: Success!
    10719312 bytes read in 152 ms (67.3 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) des
    Load Remote Processor 2 with data@addr=0x82000000 10719312 bytes: Success!
    21029376 bytes read in 256 ms (78.3 MiB/s)
    61175 bytes read in 37 ms (1.6 MiB/s)
    Working FDT set to 88000000
    2361 bytes read in 37 ms (61.5 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feee000, end 000000008fffffff ... OK
    Working FDT set to 8feee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.58-ti-01497-ga7758da17c28-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.4
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM62A7 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 CMA memory pool at 0x00000000c0000000, size 576 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000c0000000..0x00000000e3ffffff (589824 KiB) map reusable linux,cma
    [    0.000000] OF: reserved mem: 0x0000000080000000..0x000000008007ffff (512 KiB) nomap non-reusable tfa@80000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-dma-memory@99800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000099800000..0x00000000998fffff (1024 KiB) nomap non-reusable c7x-dma-memory@99800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000099900000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node c7x-memory@99900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x0000000099900000..0x000000009b7fffff (31744 KiB) nomap non-reusable c7x-memory@99900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b800000..0x000000009b8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9b800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009b900000..0x000000009c7fffff (15360 KiB) nomap non-reusable r5f-dma-memory@9b900000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c800000..0x000000009c8fffff (1024 KiB) nomap non-reusable r5f-dma-memory@9c800000
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x000000009c900000..0x000000009e6fffff (30720 KiB) nomap non-reusable r5f-dma-memory@9c900000
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    0.000000] OF: reserved mem: 0x00000000a0000000..0x00000000a0ffffff (16384 KiB) nomap non-reusable edgeai-rtos-ipc-memory-region
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a1000000..0x00000000a2ffffff (32768 KiB) nomap non-reusable edgeai-dma-memory@a1000000
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: 0x00000000a3000000..0x00000000adffffff (180224 KiB) map non-reusable edgeai_shared-memories
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 288 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000ae000000..0x00000000bfffffff (294912 KiB) nomap non-reusable edgeai-core-heap-memory@ae000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000008ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000008007ffff]
    [    0.000000]   node   0: [mem 0x0000000080080000-0x00000000997fffff]
    [    0.000000]   node   0: [mem 0x0000000099800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a2ffffff]
    [    0.000000]   node   0: [mem 0x00000000a3000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000bfffffff]
    [    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    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.5
    [    0.000000] percpu: Embedded 20 pages/cpu s43176 r8192 d30552 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_t
    [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 4.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 2807096K/4194304K available (12480K kernel code, 1272K rwdata, 4184K rodata, 2496K init, 528K bss, 797384K reserved, 589824)
    [    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]  Tracing 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] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    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 @880800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000880040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008538] Console: colour dummy device 80x25
    [    0.013132] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023814] pid_max: default: 32768 minimum: 301
    [    0.028611] LSM: initializing lsm=capability,selinux,integrity
    [    0.034600] SELinux:  Initializing.
    [    0.038280] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.045859] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.055524] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.062830] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
    [    0.070744] rcu: Hierarchical SRCU implementation.
    [    0.075649] rcu:     Max phase no-delay instances is 1000.
    [    0.081232] Platform MSI: msi-controller@1820000 domain created
    [    0.087481] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.096914] EFI services will not be available.
    [    0.101786] smp: Bringing up secondary CPUs ...
    [    0.107007] Detected VIPT I-cache on CPU1
    [    0.107076] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.107092] GICv3: CPU1: using allocated LPI pending table @0x0000000880060000
    [    0.107136] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.107792] Detected VIPT I-cache on CPU2
    [    0.107844] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.107858] GICv3: CPU2: using allocated LPI pending table @0x0000000880070000
    [    0.107889] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.108466] Detected VIPT I-cache on CPU3
    [    0.108513] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.108526] GICv3: CPU3: using allocated LPI pending table @0x0000000880080000
    [    0.108554] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.108628] smp: Brought up 1 node, 4 CPUs
    [    0.188351] SMP: Total of 4 processors activated.
    [    0.193164] CPU features: detected: 32-bit EL0 Support
    [    0.198434] CPU features: detected: CRC32 instructions
    [    0.203746] CPU: All CPU(s) started at EL2
    [    0.207943] alternatives: applying system-wide alternatives
    [    0.215210] devtmpfs: initialized
    [    0.227964] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.237964] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.258605] pinctrl core: initialized pinctrl subsystem
    [    0.264453] DMI not present or invalid.
    [    0.268974] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.275812] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.283151] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.291223] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.299374] audit: initializing netlink subsys (disabled)
    [    0.305065] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1
    [    0.305505] thermal_sys: Registered thermal governor 'step_wise'
    [    0.312995] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.319178] cpuidle: using governor menu
    [    0.330027] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.337052] ASID allocator initialised with 65536 entries
    [    0.347807] /bus@f0000/interrupt-controller@1800000: Fixed dependency cycle(s) with /bus@f0000/interrupt-controller@1800000
    [    0.359290] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    0.372408] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.382304] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    0.395778] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    0.408934] /bus@f0000/ticsi2rx@30102000/csi-bridge@30101000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera0
    [    0.422386] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.437146] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    0.450435] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.460431] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    0.474638] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    0.488312] /bus@f0000/pinctrl@a40000: Fixed dependency cycle(s) with /bus@f0000/pinctrl@a40000/cpsw-cpts
    [    0.499222] /bus@f0000/ticsi2rx@30102000/csi-bridge@30101000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera0
    [    0.513006] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    0.522949] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.534648] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /connector-hdmi
    [    0.543892] /connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    0.553589] Modules: 27488 pages in range for non-PLT usage
    [    0.553595] Modules: 519008 pages in range for PLT usage
    [    0.559972] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.572368] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.578778] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.585718] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.592132] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.599071] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.605479] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.612418] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.620162] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.629469] iommu: Default domain type: Translated
    [    0.634389] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.640979] SCSI subsystem initialized
    [    0.645120] usbcore: registered new interface driver usbfs
    [    0.650764] usbcore: registered new interface driver hub
    [    0.656223] usbcore: registered new device driver usb
    [    0.661838] pps_core: LinuxPPS API ver. 1 registered
    [    0.666917] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.676268] PTP clock support registered
    [    0.680472] EDAC MC: Ver: 3.0.0
    [    0.684147] scmi_core: SCMI protocol bus registered
    [    0.689422] FPGA manager framework
    [    0.692979] Advanced Linux Sound Architecture Driver Initialized.
    [    0.700122] vgaarb: loaded
    [    0.703206] clocksource: Switched to clocksource arch_sys_counter
    [    0.709744] VFS: Disk quotas dquot_6.6.0
    [    0.713782] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.727642] Carveout Heap: Exported 176 MiB at 0x00000000a3000000
    [    0.733982] NET: Registered PF_INET protocol family
    [    0.739151] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.749580] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.758386] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.766323] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.774629] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.782996] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.789840] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.796796] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.804321] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.810524] RPC: Registered named UNIX socket transport module.
    [    0.816600] RPC: Registered udp transport module.
    [    0.821410] RPC: Registered tcp transport module.
    [    0.826225] RPC: Registered tcp-with-tls transport module.
    [    0.831835] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.838425] NET: Registered PF_XDP protocol family
    [    0.843340] PCI: CLS 0 bytes, default 64
    [    0.848671] Initialise system trusted keyrings
    [    0.853441] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.860356] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.866579] NFS: Registering the id_resolver key type
    [    0.871775] Key type id_resolver registered
    [    0.876054] Key type id_legacy registered
    [    0.880174] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.887036] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.928614] Key type asymmetric registered
    [    0.932813] Asymmetric key parser 'x509' registered
    [    0.937849] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.945558] io scheduler mq-deadline registered
    [    0.950197] io scheduler kyber registered
    [    0.954323] io scheduler bfq registered
    [    0.961213] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.967769] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.975036] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.987482] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    1.005118] loop: module loaded
    [    1.009357] megasas: 07.725.01.00-rc1
    [    1.016769] tun: Universal TUN/TAP device driver, 1.6
    [    1.022945] VFIO - User Level meta-driver version: 0.3
    [    1.029351] usbcore: registered new interface driver usb-storage
    [    1.036150] i2c_dev: i2c /dev entries driver
    [    1.042107] sdhci: Secure Digital Host Controller Interface driver
    [    1.048449] sdhci: Copyright(c) Pierre Ossman
    [    1.053138] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.059693] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.066146] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.073428] usbcore: registered new interface driver usbhid
    [    1.079134] usbhid: USB HID core driver
    [    1.084344] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    1.093355] optee: probing for conduit method.
    [    1.097927] optee: revision 4.4 (8f645256efc0dc66)
    [    1.098220] optee: dynamic shared memory is enabled
    [    1.108780] random: crng init done
    [    1.112362] optee: initialized driver
    [    1.117608] Initializing XFRM netlink socket
    [    1.122026] NET: Registered PF_PACKET protocol family
    [    1.127265] Key type dns_resolver registered
    [    1.139985] registered taskstats version 1
    [    1.144318] Loading compiled-in X.509 certificates
    [    1.162766] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    [    1.208909] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    1.222265] /bus@f0000/i2c@20000000/pmic@48: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [    1.233943] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.241354] pca953x 1-0023: supply vcc not found, using dummy regulator
    [    1.248247] pca953x 1-0023: using AI
    [    1.277321] /connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    1.286560] /bus@f0000/dss@30200000: Fixed dependency cycle(s) with /bus@f0000/i2c@20010000/bridge-hdmi@3b
    [    1.296493] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /connector-hdmi
    [    1.305717] /bus@f0000/i2c@20010000/bridge-hdmi@3b: Fixed dependency cycle(s) with /bus@f0000/dss@30200000
    [    1.315787] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.322738] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    1.336411] pca954x 2-0071: supply vdd not found, using dummy regulator
    [    1.367520] i2c i2c-2: Added multiplexed i2c bus 3
    [    1.372703] /bus@f0000/ticsi2rx@30102000/csi-bridge@30101000: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera0
    [    1.386204] /bus@f0000/i2c@20020000/i2c-switch@71/i2c@1/camera@10: Fixed dependency cycle(s) with /bus@f0000/ticsi2rx@30102000/csi-bridge@301010
    [    1.399815] i2c i2c-2: Added multiplexed i2c bus 4
    [    1.404726] pca954x 2-0071: registered 2 multiplexed busses for I2C switch pca9543
    [    1.412602] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.418565] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.426886] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.436093] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.445084] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.454612] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.463371] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.474503] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.485568] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.495151] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    1.501763] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    1.511175] printk: console [ttyS2] disabled
    [    1.515877] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 249, base_baud = 3000000) is a 8250
    [    1.524795] printk: console [ttyS2] enabled
    [    1.524795] printk: console [ttyS2] enabled
    [    1.533279] printk: bootconsole [ns16550a0] disabled
    [    1.533279] printk: bootconsole [ns16550a0] disabled
    [    1.549440] spi-nand spi0.0: Winbond SPI NAND was found.
    [    1.554794] spi-nand spi0.0: 128 MiB, block size: 256 KiB, page size: 4096, OOB size: 128
    [    1.563111] 7 fixed-partitions partitions found on MTD device spi0.0
    [    1.569470] Creating 7 MTD partitions on "spi0.0":
    [    1.574257] 0x000000000000-0x000000080000 : "ospi_nand.tiboot3"
    [    1.581619] 0x000000080000-0x000000280000 : "ospi_nand.tispl"
    [    1.589394] 0x000000280000-0x000000680000 : "ospi_nand.u-boot"
    [    1.598007] 0x000000680000-0x0000006c0000 : "ospi_nand.env"
    [    1.604814] 0x0000006c0000-0x000000700000 : "ospi_nand.env.backup"
    [    1.612234] 0x000002000000-0x000007fc0000 : "ospi_nand.rootfs"
    [    1.658292] 0x000007fc0000-0x000008000000 : "ospi_nand.phypattern"
    [    1.875216] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.886442] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.894578] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.907368] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.914498] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.920880] pps pps0: new PPS source ptp0
    [    1.925170] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.939087] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.948608] /bus@f0000/i2c@20000000/usb-power-controller@3f/connector: Fixed dependency cycle(s) with /bus@f0000/dwc3-usb@f900000/usb@31000000
    [    1.961515] /bus@f0000/dwc3-usb@f900000/usb@31000000: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/usb-power-controller@3f/connector
    [    1.976462] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    1.981996] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    1.989758] xhci-hcd xhci-hcd.0.auto: USB3 root hub has no ports
    [    1.995763] xhci-hcd xhci-hcd.0.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008020000010
    [    2.005193] xhci-hcd xhci-hcd.0.auto: irq 264, io mem 0x31100000
    [    2.011959] hub 1-0:1.0: USB hub found
    [    2.015770] hub 1-0:1.0: 1 port detected
    [    2.021258] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1200000 KHz, changing to: 1250000 KHz
    [    2.033579] mmc0: CQHCI version 5.10
    [    2.078420] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.130296] vddshv5_sdio: Bringing 1800000uV into 3300000-3300000uV
    [    2.166075] mmc0: Command Queue Engine enabled
    [    2.170540] mmc0: new HS200 MMC card at address 0001
    [    2.175984] mmcblk0: mmc0:0001 G1M15L 29.6 GiB
    [    2.181720]  mmcblk0: p1 p2
    [    2.185030] mmcblk0boot0: mmc0:0001 G1M15L 31.5 MiB
    [    2.190870] mmcblk0boot1: mmc0:0001 G1M15L 31.5 MiB
    [    2.196716] mmcblk0rpmb: mmc0:0001 G1M15L 4.00 MiB, chardev (239:0)
    [    2.321726] tps6594-rtc tps6594-rtc.5.auto: registered as rtc1
    [    2.327937] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    2.334673] pca953x 1-0022: using AI
    [    2.345443] mmc1: CQHCI version 5.10
    [    2.346513] clk: Disabling unused clocks
    [    2.356745] ALSA device list:
    [    2.359779]   No soundcards found.
    [    2.389799] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    2.397478] Waiting for root device PARTUUID=53753b10-02...
    [    2.457392] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    2.464602] mmcblk1: mmc1:aaaa SE32G 29.7 GiB
    [    2.472336]  mmcblk1: p1 p2
    [    2.509329] EXT4-fs (mmcblk1p2): recovery complete
    [    2.514842] EXT4-fs (mmcblk1p2): mounted filesystem 86f5f662-1a82-4277-a3db-b3db0b44732c r/w with ordered data mode. Quota mode: none.
    [    2.526993] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.536002] devtmpfs: mounted
    [    2.539616] Freeing unused kernel memory: 2496K
    [    2.544218] Run /sbin/init as init process
    + export PATH=/usr/bin:/sbin:/bin
    + PATH=/usr/bin:/sbin:/bin
    + export LD_LIBRARY_PATH=/lib:/usr/lib:
    + LD_LIBRARY_PATH=/lib:/usr/lib:
    + mount -t proc proc /proc
    + mount -n -t sysfs none /sys
    + mount -t debugfs none /sys/kernel/debug
    + mount -n -t tmpfs none /run
    + export SOC=am62a
    + SOC=am62a
    + export DEVICE_NAME=AM62A
    + DEVICE_NAME=AM62A
    + insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/rpmsg/rpmsg_char.ko
    insmod: ERROR: could not load module /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/rpmsg/rpmsg_char.ko: No such file or directory
    + insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko
    insmod: ERROR: could not load module /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko: No such fiy
    + insmod /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko
    insmod: ERROR: could not load module /lib/modules/6.6.44-ti-01478-g541c20281af7-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko: No such fy
    + sudo echo am62a-mcu-r5f0_0-fw
    /sbin/init: line 24: /sys/kernel/debug/remoteproc/remoteproc0/firmware: No such file or directory
    + sudo echo start
    /sbin/init: line 25: /sys/kernel/debug/remoteproc/remoteproc0/state: No such file or directory
    + /sbin/udevd --daemon
    Starting systemd-udevd version 255.13^
    + /sbin/udevadm trigger --action=add
    + /sbin/udevadm settle
    [    3.278623] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    3.288155] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    3.303615] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    3.307896] mc: Linux media interface: v0.10
    [    3.318477] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    3.330304] k3-dsp-rproc 7e000000.dsp: assigned reserved memory node c7x-dma-memory@99800000
    [    3.343256] k3-dsp-rproc 7e000000.dsp: configured DSP for IPC-only mode
    [    3.355967] remoteproc remoteproc0: 7e000000.dsp is available
    [    3.365883] remoteproc remoteproc0: attaching to 7e000000.dsp
    [    3.366382] videodev: Linux video capture interface: v2.00
    [    3.376673] rproc-virtio rproc-virtio.7.auto: assigned reserved memory node c7x-dma-memory@99800000
    [    3.399267] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    3.399469] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xd
    [    3.404930] rproc-virtio rproc-virtio.7.auto: registered virtio0 (type 7)
    [    3.418783] remoteproc remoteproc0: remote processor 7e000000.dsp is now attached
    [    3.429470] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [    3.455092] platform 79000000.r5f: configured R5F for IPC-only mode
    [    3.461571] platform 79000000.r5f: assigned reserved memory node r5f-dma-memory@9b800000
    [    3.471599] remoteproc remoteproc1: 79000000.r5f is available
    [    3.481096] remoteproc remoteproc1: attaching to 79000000.r5f
    [    3.496547] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    3.501654] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@9b800000
    [    3.501819] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:11 UTC (11)
    [    3.519364] imx219 4-0010: supply VANA not found, using dummy regulator
    [    3.526282] imx219 4-0010: supply VDIG not found, using dummy regulator
    [    3.534977] imx219 4-0010: supply VDDL not found, using dummy regulator
    [    3.544416] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    3.545718] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    3.550313] rproc-virtio rproc-virtio.8.auto: registered virtio1 (type 7)
    [    3.561932] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    3.564513] remoteproc remoteproc1: remote processor 79000000.r5f is now attached
    [    3.580334] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [    3.587718] vdec 30210000.video-codec: failed to get irq resource, falling back to polling
    [    3.596710] vdec 30210000.video-codec: OPP table not found in device tree
    [    3.625976] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    3.639444] platform 78000000.r5f: configured R5F for IPC-only mode
    [    3.646025] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9c800000
    [    3.655101] remoteproc remoteproc2: 78000000.r5f is available
    [    3.661231] remoteproc remoteproc2: attaching to 78000000.r5f
    [    3.665086] vdec 30210000.video-codec: Added wave5 driver with caps: 'ENCODE' 'DECODE'
    [    3.667563] rproc-virtio rproc-virtio.9.auto: assigned reserved memory node r5f-dma-memory@9c800000
    [    3.678138] vdec 30210000.video-codec: Product Code:      0x521c
    [    3.690860] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    3.691603] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    3.692260] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xd
    [    3.692490] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0x15
    [    3.692647] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x15
    [    3.695332] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xe
    [    3.698589] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    3.701879] virtio_rpmsg_bus virtio2: creating channel ti.ipc4.ping-pong addr 0xe
    [    3.702044] virtio_rpmsg_bus virtio2: msg received with no recipient
    [    3.702384] virtio_rpmsg_bus virtio0: msg received with no recipient
    [    3.708490] vdec 30210000.video-codec: Firmware Revision: 334314
    [    3.717810] rproc-virtio rproc-virtio.9.auto: registered virtio2 (type 7)
    [    3.750485] mtdblock: MTD device 'ospi_nand.env' is NAND, please consider using UBI block devices instead.
    [    3.753344] i2c i2c-1: Added multiplexed i2c bus 5
    [    3.755530] remoteproc remoteproc2: remote processor 78000000.r5f is now attached
    [    3.783175] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    3.805027] e5010 fd20000.jpeg-encoder: Device registered as /dev/video2
    [    3.814095] mtdblock: MTD device 'ospi_nand.tiboot3' is NAND, please consider using UBI block devices instead.
    [    3.815863] mtdblock: MTD device 'ospi_nand.rootfs' is NAND, please consider using UBI block devices instead.
    [    3.817136] mtdblock: MTD device 'ospi_nand.tispl' is NAND, please consider using UBI block devices instead.
    [    3.846215] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    3.871441] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    3.881853] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    3.906158] Console: switching to colour frame buffer device 240x67
    [    3.941247] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device
    [    4.323978] mtdblock: MTD device 'ospi_nand.phypattern' is NAND, please consider using UBI block devices instead.
    [    4.384887] mtdblock: MTD device 'ospi_nand.env.backup' is NAND, please consider using UBI block devices instead.
    [    4.474792] cdns-csi2rx 30101000.csi-bridge: Probed CSI2RX with 2/4 lanes, 4 streams, external D-PHY
    [    4.505326] mtdblock: MTD device 'ospi_nand.u-boot' is NAND, please consider using UBI block devices instead.
    [    4.972729] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [    4.987845] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    + sysctl -w 'kernel.sem=500 32000 100 512'
    kernel.sem = 500 32000 100 512
    + echo 500
    + ulimit -c unlimited
    + echo /tmp/core.%e.%p
    + export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + export EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + export MODEL_ZOO_PATH=/opt/model_zoo
    + MODEL_ZOO_PATH=/opt/model_zoo
    + export EDGEAI_VERSION=10.1
    + EDGEAI_VERSION=10.1
    + export EDGEAI_SDK_VERSION=10_01_00
    + EDGEAI_SDK_VERSION=10_01_00
    + bash /opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh
    Unable to setup formats: Invalid argument (22)
    IMX219 Camera 0 detected
        device = /dev/video-imx219-cam0
        name = imx219
        format = [fmt:SRGGB8_1X8/1920x1080 field: none]
        subdev_id = /dev/v4l-imx219-subdev0
        isp_required = yes
        ldc_required = yes
    Unable to setup routes: Invalid argument (22)
    Unable to setup formats: Invalid argument (22)
    Unable to setup routes: Invalid argument (22)
    Unable to setup formats: Invalid argument (22)
    Unable to setup routes: Invalid argument (22)
    Unable to setup formats: Invalid argument (22)
    + media-ctl -V '"imx219 6-0010":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    Unable to setup formats: Invalid argument (22)
    + media-ctl -V '"cdns_csi2rx.30101000.csi-bridge":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    + media-ctl -V '"30102000.ticsi2rx":0 [fmt:SRGGB10_1X10/1920x1080 field:none]'
    + sudo echo 1
    /sbin/init: line 55: /sys/kernel/debug/remoteproc/remoteproc0/firmware: Permission denied
    + sudo echo start
    /sbin/init: line 56: /sys/kernel/debug/remoteproc/remoteproc0/state: Permission denied
    + ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edgeai-gst-apps/configs/imx219_cam_example.yaml
    libtidl_onnxrt_EP loaded 0x278bd4b0 
    Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes - 283 
    APP: Init ... !!!
        17.268186 s: MEM: Init ... !!!
        17.268272 s: MEM: Initialized DMA HEAP (fd=5) !!!
        17.268524 s: MEM: Init ... Done !!!
        17.268547 s: IPC: Init ... !!!
        17.285765 s: IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
        17.293745 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
        17.296511 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
        17.296568 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
        17.296580 s:  VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
        17.297958 s:  VX_ZONE_ERROR: [ownPlatformInit:131] POSIX semaphore create failed
        17.298577 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-0 
        17.298826 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-1 
        17.299014 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-2 
        17.299151 s:  VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target MPU-3 
        17.299174 s:  VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
        17.299199 s:  VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    /sbin/init: line 59:   689 Segmentation fault      (core dumped)[   11.370831] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000
     ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edg[   11.383688] CPU: 2 PID: 1 Comm: init Not tainted 6.6.58-ti-01497-ga7758da17c28-1
    eai-gst-apps/configs/imx219_cam_example.yaml
    + echo 'System ini[   11.397211] Hardware name: Texas Instruments AM62A7 SK (DT)
    tialized: Hello world!!!!!!'
    System initialized: Hello world!!![   11.408311] Call trace:
    !!!
    [   11.416291]  dump_backtrace+0x90/0xe8
    [   11.420369]  show_stack+0x18/0x24
    [   11.423676]  dump_stack_lvl+0x48/0x60
    [   11.427330]  dump_stack+0x18/0x24
    [   11.430635]  panic+0x324/0x380
    [   11.433685]  do_exit+0x7e0/0x8c4
    [   11.436902]  do_group_exit+0x34/0x90
    [   11.440466]  __wake_up_parent+0x0/0x30
    [   11.444204]  invoke_syscall+0x48/0x114
    [   11.447946]  el0_svc_common.constprop.0+0x40/0xe0
    [   11.452638]  do_el0_svc+0x1c/0x28
    [   11.455944]  el0_svc+0x2c/0x84
    [   11.458989]  el0t_64_sync_handler+0x120/0x12c
    [   11.463335]  el0t_64_sync+0x190/0x194
    [   11.466988] SMP: stopping secondary CPUs
    [   11.470905] Kernel Offset: disabled
    [   11.474380] CPU features: 0x0,00000008,00020000,1000420b
    [   11.479678] Memory Limit: none
    [   11.482723] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000 ]---
    
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.8 | VT102 | Offline | ttyUSB0                                                                    
    
    

    Regards,

    Adam

  • Hi ke,

    You need to add a /bin/sh to prevent kernel panic.

    There are few issues with the init script. 

    Firstly, I test with this gst command:

    GST_DEBUG=2 gst-launch-1.0 -v v4l2src device=/dev/video-imx219-cam0 io-mode=dmabuf ! \
    video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb ! fakesink

    And it fails with

    Setting pipeline to PAUSED ... fakesink> video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb ! fakesink 
    0:00:00.104544740   706     0x3b9af2d0 WARN                 default v4l2-utils.c:189:gst_v4l2_error:<v4l2src0> error: Cannot identify device '/dev.
    0:00:00.104607855   706     0x3b9af2d0 WARN                 default v4l2-utils.c:192:gst_v4l2_error:<v4l2src0> error: system error: No such file oy
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Cannot identify device '/dev/video-imx219-cam0'.
    

    This is because the pipleline of camera is not build up. So I run this:

    /opt/edgeai-gst-apps/scripts/setup_cameras.sh

    And I got this log:

    IMX219 Camera 0 detected
        device = /dev/video-imx219-cam0
        name = imx219
        format = [fmt:SRGGB8_1X8/1920x1080]
        subdev_id = /dev/v4l-imx219-subdev0
        isp_required = yes
    

    This implies that camera device is correctly mapped. Then this line can run:

    GST_DEBUG=2 gst-launch-1.0 -v v4l2src device=/dev/video-imx219-cam0 io-mode=dmabuf ! \
    video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb ! fakesink

    This is just one issue found with your init script. I need more time to investigate. 

    Regards,

    Adam

  • Hello Adam:

    Thanks for you investigate. I have add the script below. and test the camera with the fusion board.

  • Hi Ke,

    I am able to get camera to screen with this myinit.sh

    #!/bin/sh
    
    set -x
    export PATH=/usr/bin:/sbin:/bin
    export LD_LIBRARY_PATH=/lib:/usr/lib:$LD_LIBRARY_PATH
    mount -t proc proc /proc
    mount -n -t sysfs none /sys
    mount -t debugfs none /sys/kernel/debug
    mount -n -t tmpfs none /run
    mount -t tmpfs shm /dev/shm
    
    echo "tmpfs                /dev/shm             tmpfs      defaults      sdf s   0 0" >> /etc/fstab
    
    mkdir -p /dev/shm
    chmod 1777 /dev/shm
    mount -t tmpfs /dev/shm
    
    
    export SOC=am62a
    export DEVICE_NAME=AM62A
    
    
    # Load essential kernel modules
    insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/rpmsg_char.ko
    insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/rpmsg_ctrl.ko
    #insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/remoteproc/ti_k3_r5_remoteproc.ko
    #insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/remoteproc/ti_k3_dsp_remoteproc.ko
    
    
    # modprobe ti_k3_r5_remoteproc
    # modprobe ti_k3_dsp_remoteproc
    
    #sudo echo am62a-mcu-r5f0_0-fw > /sys/kernel/debug/remoteproc/remoteproc0/firmware
    #sudo echo start > /sys/kernel/debug/remoteproc/remoteproc0/state
    
    /sbin/udevd --daemon
    /sbin/udevadm trigger --action=add
    /sbin/udevadm settle
    
    
    
    #sysctl -w kernel.sem="500 32000 100 512"
    #echo 500 > /proc/sys/kernel/sem
    
    
    ulimit -c unlimited
    echo "/tmp/core.%e.%p" > /proc/sys/kernel/core_pattern
    export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    export EDGEAI_DATA_PATH=/opt/edgeai-test-data
    export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    export MODEL_ZOO_PATH=/opt/model_zoo
    export EDGEAI_VERSION=10.1
    export EDGEAI_SDK_VERSION=10_01_00
    
    
    bash /opt/edgeai-gst-apps/scripts/setup_cameras.sh
    
    
    #sudo echo 1 > /sys/kernel/debug/remoteproc/remoteproc0/firmware
    #sudo echo start > /sys/kernel/debug/remoteproc/remoteproc0/state
    
    
    ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai  ./opt/edgeai-gst-apps/configs/imx219_cam_example.yaml 
    
    
    echo "System initialized: Hello world!!!!!!"
    /bin/sh
    

    Regards,

    Adam

  • Hi Ke,

    Also update additional patch to use init script with falcon boot mode:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/falcon_5F00_boot_5F00_with_5F00_app_5F00_run.patch

    You should also run the steps for falcon boot mode in this link as this patch changes the dtb files.

    am62a7-soc-system-startup-time-is-more-than-20s/

    Regards,

    Adam

  • Hi Adam,

    After my test ,

    I can successfully start the camera program by using the myinit.sh script you provided,

    but if I use the tispl-falcon.bin file, the startup fails with the following error:

    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    SPL initial stack usage: 13568 bytes
    Trying to boot from MMC2
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Starting ATF on ARM64 core...

    NOTICE: BL31: v2.11.0(release):v2.11.0-906-g58b25570c9-dirty
    NOTICE: BL31: Built : 04:20:32, Nov 1 2024
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 6.6.58-ti-01497-ga7758da17c28-dirty (oe-user@oe-ho4
    [ 0.000000] KASLR disabled due to lack of seed
    [ 0.000000] Machine model: Texas Instruments AM62A7 SK
    [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [ 0.000000] printk: bootconsole [ns16550a0] enabled
    + export PATH=/usr/bin:/sbin:/bin
    + PATH=/usr/bin:/sbin:/bin
    + export LD_LIBRARY_PATH=/lib:/usr/lib:
    + LD_LIBRARY_PATH=/lib:/usr/lib:
    + mount -t proc proc /proc
    + mount -n -t sysfs none /sys
    + mount -t debugfs none /sys/kernel/debug
    + mount -n -t tmpfs none /run
    + mount -t tmpfs shm /dev/shm
    mount: /dev/shm: mount point does not exist.
    dmesg(1) may have more information after failed mount system call.
    + echo 'tmpfs /dev/shm tmpfs defaults sdf '
    + mkdir -p /dev/shm
    + chmod 1777 /dev/shm
    + mount -t tmpfs /dev/shm
    mount: /etc/fstab: parse error at line 12 -- ignored
    mount: /etc/fstab: parse error at line 13 -- ignored
    mount: /etc/fstab: parse error at line 14 -- ignored
    mount: /etc/fstab: parse error at line 15 -- ignored
    mount: /etc/fstab: parse error at line 16 -- ignored
    mount: /etc/fstab: parse error at line 17 -- ignored
    mount: /etc/fstab: parse error at line 18 -- ignored
    mount: /etc/fstab: parse error at line 19 -- ignored
    mount: /etc/fstab: parse error at line 20 -- ignored
    mount: /etc/fstab: parse error at line 21 -- ignored
    mount: /etc/fstab: parse error at line 22 -- ignored
    mount: /dev/shm: can't find in /etc/fstab.
    + export SOC=am62a
    + SOC=am62a
    + export DEVICE_NAME=AM62A
    + DEVICE_NAME=AM62A
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/o
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/o
    + /sbin/udevd --daemon
    Starting systemd-udevd version 255.13^
    + /sbin/udevadm trigger --action=add
    + /sbin/udevadm settle
    [ 1.684214] omap-mailbox 29030000.mailbox: no available mbox devices found
    [ 1.938044] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [ 1.942739] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x0
    [ 1.945553] vdec 30210000.video-codec: failed to get irq resource, falling bg
    [ 1.961711] vdec 30210000.video-codec: OPP table not found in device tree
    + ulimit -c unlimited
    + echo /tmp/core.%e.%p
    + export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + export EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + export MODEL_ZOO_PATH=/opt/model_zoo
    + MODEL_ZOO_PATH=/opt/model_zoo
    + export EDGEAI_VERSION=10.1
    + EDGEAI_VERSION=10.1
    + export EDGEAI_SDK_VERSION=10_01_00
    + EDGEAI_SDK_VERSION=10_01_00
    + bash /opt/edgeai-gst-apps/scripts/setup_cameras.sh
    + ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edgeai-gst-apps/cl
    libtidl_onnxrt_EP loaded 0x2bfab4c0
    Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes
    APP: Init ... !!!
    5.365766 s: MEM: Init ... !!!
    5.365856 s: MEM: Initialized DMA HEAP (fd=5) !!!
    5.366103 s: MEM: Init ... Done !!!
    5.366130 s: IPC: Init ... !!!
    5.382948 s: IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
    5.389118 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
    5.394264 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    5.394312 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    5.394323 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    5.396181 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.396390 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.396547 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.396633 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.396647 s: VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
    5.396665 s: VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    [00:00:07.000.000000]:ERROR:[addGstPipeline:0256] Invalid source.
    [00:00:07.000.000106]:ERROR:[initialize:2246] addGstPipeline() failed.
    /sbin/init: line 63: 505 Segmentation fault (core dumped) ./opt/edgeai-gl
    + echo 'System initialized: Hello world!!!!!!'
    System initialized: Hello world!!!!!!
    + /bin/sh
    sh: cannot set terminal process group (-1): Inappropriate ioctl for device
    sh: no job control in this shell

    Regards,

    Meng

  • + bash /opt/edgeai-gst-apps/scripts/setup_cameras.sh
    + ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edgeai-gst-apps/cl

    Hi 

    It looks like camera is not set up.

    try dmesg | grep imx219 to see if camera is included in the boot process. 

    Please make sure you have updated dtb files to include imx219 into the dtb files.

    Also update additional patch to use init script with falcon boot mode:

    falcon_boot_with_app_run.patch

    Regards,

    Adam

  • Hi Adam,

    "dmesg | grep imx219"  is not work in falcon boot mode

    And about how to apply falcon_boot_with_app_run.patch 

    What I do is to check the content displayed and add/modify the configuration of the corresponding files ,it's right?

  • Hi ke

    "dmesg | grep imx219"  is not work in falcon boot mode

    I am able to use dmesg. What is your result of running this?

    What I do is to check the content displayed and add/modify the configuration of the corresponding files ,it's right?

    You can just check the content and modify the files related

    Regards,

    Adam

  • Hi Adam,

    Here is full log print

    As you see ,nothing print after command "dmesg | grep imx219"

    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    SPL initial stack usage: 13568 bytes
    Trying to boot from MMC2
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Starting ATF on ARM64 core...

    NOTICE: BL31: v2.11.0(release):v2.11.0-906-g58b25570c9-dirty
    NOTICE: BL31: Built : 04:20:32, Nov 1 2024
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 6.6.58-ti-01497-ga7758da17c28-dirty (oe-user@oe-ho4
    [ 0.000000] KASLR disabled due to lack of seed
    [ 0.000000] Machine model: Texas Instruments AM62A7 SK
    [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [ 0.000000] printk: bootconsole [ns16550a0] enabled
    + export PATH=/usr/bin:/sbin:/bin
    + PATH=/usr/bin:/sbin:/bin
    + export LD_LIBRARY_PATH=/lib:/usr/lib:
    + LD_LIBRARY_PATH=/lib:/usr/lib:
    + mount -t proc proc /proc
    + mount -n -t sysfs none /sys
    + mount -t debugfs none /sys/kernel/debug
    + mount -n -t tmpfs none /run
    + mount -t tmpfs shm /dev/shm
    mount: /dev/shm: mount point does not exist.
    dmesg(1) may have more information after failed mount system call.
    + echo 'tmpfs /dev/shm tmpfs defaults sdf '
    + mkdir -p /dev/shm
    + chmod 1777 /dev/shm
    + mount -t tmpfs /dev/shm
    mount: /etc/fstab: parse error at line 12 -- ignored
    mount: /etc/fstab: parse error at line 13 -- ignored
    mount: /etc/fstab: parse error at line 14 -- ignored
    mount: /etc/fstab: parse error at line 15 -- ignored
    mount: /etc/fstab: parse error at line 16 -- ignored
    mount: /etc/fstab: parse error at line 17 -- ignored
    mount: /etc/fstab: parse error at line 18 -- ignored
    mount: /etc/fstab: parse error at line 19 -- ignored
    mount: /etc/fstab: parse error at line 20 -- ignored
    mount: /etc/fstab: parse error at line 21 -- ignored
    mount: /etc/fstab: parse error at line 22 -- ignored
    mount: /etc/fstab: parse error at line 23 -- ignored
    mount: /etc/fstab: parse error at line 24 -- ignored
    mount: /dev/shm: can't find in /etc/fstab.
    + export SOC=am62a
    + SOC=am62a
    + export DEVICE_NAME=AM62A
    + DEVICE_NAME=AM62A
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/o
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/o
    + /sbin/udevd --daemon
    Starting systemd-udevd version 255.13^
    + /sbin/udevadm trigger --action=add
    + /sbin/udevadm settle
    [ 1.702973] omap-mailbox 29030000.mailbox: no available mbox devices found
    [ 1.950905] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [ 1.958277] vdec 30210000.video-codec: failed to get irq resource, falling bg
    [ 1.967902] vdec 30210000.video-codec: OPP table not found in device tree
    [ 1.975548] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x0
    + ulimit -c unlimited
    + echo /tmp/core.%e.%p
    + export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + export EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + export MODEL_ZOO_PATH=/opt/model_zoo
    + MODEL_ZOO_PATH=/opt/model_zoo
    + export EDGEAI_VERSION=10.1
    + EDGEAI_VERSION=10.1
    + export EDGEAI_SDK_VERSION=10_01_00
    + EDGEAI_SDK_VERSION=10_01_00
    + bash /opt/edgeai-gst-apps/scripts/setup_cameras.sh
    + ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edgeai-gst-apps/cl
    libtidl_onnxrt_EP loaded 0x31cce4c0
    Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes
    APP: Init ... !!!
    5.378039 s: MEM: Init ... !!!
    5.378126 s: MEM: Initialized DMA HEAP (fd=5) !!!
    5.378366 s: MEM: Init ... Done !!!
    5.378390 s: IPC: Init ... !!!
    5.395367 s: IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
    5.401463 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
    5.406401 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    5.406450 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    5.406460 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    5.408531 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.408657 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.408796 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.408886 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.408900 s: VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
    5.408918 s: VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    [00:00:07.000.000000]:ERROR:[addGstPipeline:0256] Invalid source.
    [00:00:07.000.000149]:ERROR:[initialize:2246] addGstPipeline() failed.
    /sbin/init: line 63: 501 Segmentation fault (core dumped) ./opt/edgeai-gl
    + echo 'System initialized: Hello world!!!!!!'
    System initialized: Hello world!!!!!!
    + /bin/sh
    sh: cannot set terminal process group (-1): Inappropriate ioctl for device
    sh: no job control in this shell
    sh-5.2# dmesg | grep imx219
    sh-5.2#

    Regrads,

    Meng

  • Hi Ke

    sh-5.2# dmesg | grep imx219
    sh-5.2#

    This means imx219 is tried to probed. This is because device tree is not updated with imx219 information, which should be done by the patch

    falcon_boot_with_app_run.patch

    Please confirm you have added the patch.

    Regards,

    Adam

  • Hi Adam,

    As your patch file

    I modified my file:

    /home/user/ti-sdk/ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05/board-support/ti-linux-kernel-6.6.58+git-ti/arch/arm64/configs/defconfig

    /home/user/ti-sdk/ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05/board-support/ti-linux-kernel-6.6.58+git-ti/arch/arm64/boot/dts/ti/k3-am62a7-sk.dts

    here is my file .Am I doing this correctly?

    modifiedFile.zip

    Regards,

    Meng

  • Hi ke,

    Please just try that and test if it works on evm.

    Regards,

    Adam

  • Hi Adam,

    The output is the same as before

    U-Boot SPL 2024.04-ti-g29d0c23d67ee (Nov 29 2024 - 11:41:54 +0000)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    SPL initial stack usage: 13568 bytes
    Trying to boot from MMC2
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Warning: Did not detect image signing certificate. Skipping authentication to ps
    Starting ATF on ARM64 core...

    NOTICE: BL31: v2.11.0(release):v2.11.0-906-g58b25570c9-dirty
    NOTICE: BL31: Built : 04:20:32, Nov 1 2024
    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [ 0.000000] Linux version 6.6.58-ti-01497-ga7758da17c28-dirty (oe-user@oe-ho4
    [ 0.000000] KASLR disabled due to lack of seed
    [ 0.000000] Machine model: Texas Instruments AM62A7 SK
    [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [ 0.000000] printk: bootconsole [ns16550a0] enabled
    + export PATH=/usr/bin:/sbin:/bin
    + PATH=/usr/bin:/sbin:/bin
    + export LD_LIBRARY_PATH=/lib:/usr/lib:
    + LD_LIBRARY_PATH=/lib:/usr/lib:
    + mount -t proc proc /proc
    + mount -n -t sysfs none /sys
    + mount -t debugfs none /sys/kernel/debug
    + mount -n -t tmpfs none /run
    + mount -t tmpfs shm /dev/shm
    mount: /dev/shm: mount point does not exist.
    dmesg(1) may have more information after failed mount system call.
    + echo 'tmpfs /dev/shm tmpfs defaults sdf '
    + mkdir -p /dev/shm
    + chmod 1777 /dev/shm
    + mount -t tmpfs /dev/shm
    mount: /etc/fstab: parse error at line 12 -- ignored
    mount: /etc/fstab: parse error at line 13 -- ignored
    mount: /etc/fstab: parse error at line 14 -- ignored
    mount: /etc/fstab: parse error at line 15 -- ignored
    mount: /etc/fstab: parse error at line 16 -- ignored
    mount: /etc/fstab: parse error at line 17 -- ignored
    mount: /etc/fstab: parse error at line 18 -- ignored
    mount: /etc/fstab: parse error at line 19 -- ignored
    mount: /etc/fstab: parse error at line 20 -- ignored
    mount: /etc/fstab: parse error at line 21 -- ignored
    mount: /etc/fstab: parse error at line 22 -- ignored
    mount: /etc/fstab: parse error at line 23 -- ignored
    mount: /etc/fstab: parse error at line 24 -- ignored
    mount: /etc/fstab: parse error at line 25 -- ignored
    mount: /dev/shm: can't find in /etc/fstab.
    + export SOC=am62a
    + SOC=am62a
    + export DEVICE_NAME=AM62A
    + DEVICE_NAME=AM62A
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/o
    + insmod /lib/modules/6.6.58-ti-01497-ga7758da17c28-dirty/kernel/drivers/rpmsg/o
    + /sbin/udevd --daemon
    Starting systemd-udevd version 255.13^
    + /sbin/udevadm trigger --action=add
    + /sbin/udevadm settle
    [ 1.701500] omap-mailbox 29030000.mailbox: no available mbox devices found
    [ 1.908243] k3-dsp-rproc 7e000000.dsp: booting DSP core using boot addr = 0x0
    [ 1.972886] vdec 30210000.video-codec: error -ENXIO: IRQ index 0 not found
    [ 1.980479] vdec 30210000.video-codec: failed to get irq resource, falling bg
    [ 1.989240] vdec 30210000.video-codec: OPP table not found in device tree
    + ulimit -c unlimited
    + echo /tmp/core.%e.%p
    + export EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + EDGEAI_GST_APPS_PATH=/opt/edgeai-gst-apps
    + export EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + EDGEAI_DATA_PATH=/opt/edgeai-test-data
    + export OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + OOB_DEMO_ASSETS_PATH=/opt/oob-demo-assets
    + export MODEL_ZOO_PATH=/opt/model_zoo
    + MODEL_ZOO_PATH=/opt/model_zoo
    + export EDGEAI_VERSION=10.1
    + EDGEAI_VERSION=10.1
    + export EDGEAI_SDK_VERSION=10_01_00
    + EDGEAI_SDK_VERSION=10_01_00
    + bash /opt/edgeai-gst-apps/scripts/setup_cameras.sh
    + ./opt/edgeai-gst-apps/apps_cpp/bin/Release/app_edgeai ./opt/edgeai-gst-apps/cl
    libtidl_onnxrt_EP loaded 0x1fe1c4c0
    Final number of subgraphs created are : 1, - Offloaded Nodes - 283, Total Nodes
    APP: Init ... !!!
    5.345414 s: MEM: Init ... !!!
    5.345499 s: MEM: Initialized DMA HEAP (fd=5) !!!
    5.345740 s: MEM: Init ... Done !!!
    5.345766 s: IPC: Init ... !!!
    5.362655 s: IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
    5.368832 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
    5.374242 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_ERROR
    5.374290 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_WARNING
    5.374300 s: VX_ZONE_INFO: Globally Enabled VX_ZONE_INFO
    5.376467 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.376643 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.376734 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.376817 s: VX_ZONE_INFO: [tivxPlatformCreateTargetId:134] Added target M
    5.376830 s: VX_ZONE_INFO: [tivxInitLocal:126] Initialization Done !!!
    5.376849 s: VX_ZONE_INFO: Globally Disabled VX_ZONE_INFO
    [00:00:07.000.000000]:ERROR:[addGstPipeline:0256] Invalid source.
    [00:00:07.000.000135]:ERROR:[initialize:2246] addGstPipeline() failed.
    /sbin/init: line 63: 505 Segmentation fault (core dumped) ./opt/edgeai-gl
    + echo 'System initialized: Hello world!!!!!!'
    System initialized: Hello world!!!!!!
    + /bin/sh
    sh: cannot set terminal process group (-1): Inappropriate ioctl for device
    sh: no job control in this shell
    sh-5.2#

    Regards,

    Meng

  • Hi ke

    After modifying the dtb file and deconf,  you need to rebuild linux and linux dtbs then regenerate the tispl.bin file.

    Regards,

    Adam