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.

PROCESSOR-SDK-J721E: J721E run v4l2

Part Number: PROCESSOR-SDK-J721E

Hello Support,

I have a problem, my current environment is J721EVM
And sub-board Fusion Application Board, the compilation environment is ti-processor-sdk-rtos-j721e-evm-08_05_00_11, I found that the current default driver is ti-processor-sdk-rtos-j721e-evm-08_05_00_11/imaging/sensor_drv. I want to use ub960 and ub953 drivers in linux in this hardware environment. Using v4l2 architecture, is the current board resource supported, and how should I operate?

  • Hi,

    Using V4l2 framework, you would have to use the csirx driver from the linux too.

    Please follow the below FAQ for the same 

    (+) [FAQ] TDA4VM: Steps for executing linux CSI on SDK - Processors forum - Processors - TI E2E support forums

    Regards,

    Nikhil

  • Hello Support

    I made the following changes according to the process, but I found that v4l2 architecture was not enabled , Still running in fros。

    log and uEnv.txt in the following file .

    Modify the configuration as follows,Follow the steps for other operations,

    2117.uEnv.txt
    psdk_setup_file=.psdk_setup
    check_psdk_setup=load mmc 1:1 ${loadaddr} ${psdk_setup_file}
    
    # Reset to the default environment
    do_psdk_setup=env default -f -a; saveenv
    
    # If not previously configured, then configure the environment and indicate this by writing a file
    uenvcmd=if run check_psdk_setup; then echo "Already setup."; else run do_psdk_setup; mw.b ${loadaddr} 0 1; fatwrite mmc 1:1 ${loadaddr} .psdk_setup 1; reset; fi
    
    dorprocboot=1
    name_overlays=k3-j721e-vision-apps.dtbo k3-j721e-fpdlink-cpb-fusion.dtbo k3-j721e-fpdlink-imx390-rcm-0-0.dtbo
    
    

    /*
     *
     * Copyright (c) 2018 Texas Instruments Incorporated
     *
     * All rights reserved not granted herein.
     *
     * Limited License.
     *
     * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
     * license under copyrights and patents it now or hereafter owns or controls to make,
     * have made, use, import, offer to sell and sell ("Utilize") this software subject to the
     * terms herein.  With respect to the foregoing patent license, such license is granted
     * solely to the extent that any such patent is necessary to Utilize the software alone.
     * The patent license shall not apply to any combinations which include this software,
     * other than combinations with devices manufactured by or for TI ("TI Devices").
     * No hardware patent is licensed hereunder.
     *
     * Redistributions must preserve existing copyright notices and reproduce this license
     * (including the above copyright notice and the disclaimer and (if applicable) source
     * code license limitations below) in the documentation and/or other materials provided
     * with the distribution
     *
     * Redistribution and use in binary form, without modification, are permitted provided
     * that the following conditions are met:
     *
     * *       No reverse engineering, decompilation, or disassembly of this software is
     * permitted with respect to any software provided in binary form.
     *
     * *       any redistribution and use are licensed by TI for use only with TI Devices.
     *
     * *       Nothing shall obligate TI to provide you with source code for the software
     * licensed and provided to you in object code.
     *
     * If software source code is provided to you, modification and redistribution of the
     * source code are permitted provided that the following conditions are met:
     *
     * *       any redistribution and use of the source code, including any resulting derivative
     * works, are licensed by TI for use only with TI Devices.
     *
     * *       any redistribution and use of any object code compiled from the source code
     * and any resulting derivative works, are licensed by TI for use only with TI Devices.
     *
     * Neither the name of Texas Instruments Incorporated nor the names of its suppliers
     *
     * may be used to endorse or promote products derived from this software without
     * specific prior written permission.
     *
     * DISCLAIMER.
     *
     * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
     * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
     * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
     * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
     * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
     * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
     * OF THE POSSIBILITY OF SUCH DAMAGE.
     *
     */
    
    #ifndef APP_CFG_MCU2_0_H_
    #define APP_CFG_MCU2_0_H_
    
    #include <app_cfg.h>
    
    #define L3_MEM_SIZE (MAIN_OCRAM_MCU2_0_SIZE)
    
    #define DDR_HEAP_MEM_SIZE               (DDR_MCU2_0_LOCAL_HEAP_SIZE)
    
    /* There are several external board interfaces to the SoC that can either be controlled by the MCU RTOS core
     * or the MPU HLOS core.  The top level build option BUILD_MCU_BOARD_DEPENDENCIES can be used to optionally enable
     * these interfaces (user can override specific flags in this file), or disable them.
     */
    #ifdef BUILD_MCU_BOARD_DEPENDENCIES
    
        
          #define ENABLE_CSI2RX 0
          #define ENABLE_CSI2TX 0
      
        /* IMPORANT NOTE:
         * - Only one of ENABLE_DSS_SINGLE or ENABLE_DSS_DUAL should be defined
         * - When ENABLE_DSS_SINGLE is defined, only one of ENABLE_DSS_HDMI or ENABLE_DSS_EDP should be defined
         * - When ENABLE_DSS_DUAL is defined, ENABLE_DSS_HDMI and ENABLE_DSS_EDP are not used, both EDP and HDMI are enabled unconditionally
         */
        #define ENABLE_DSS_SINGLE
        #undef  ENABLE_DSS_DUAL
    
        /* define below to enable eDP display,
           make sure to undef ENABLE_DSS_HDMI & ENABLE_DSS_DSI as well */
        #define ENABLE_DSS_EDP
        /* define below to enable HDMI display,
           make sure to undef ENABLE_DSS_EDP & ENABLE_DSS_DSI as well */
        #undef ENABLE_DSS_HDMI
        /* define below to enable DSI display, make sure to undef ENABLE_DSS_HDMI
           & ENABLE_DSS_EDP as well */
        #undef ENABLE_DSS_DSI
    
        #define ENABLE_I2C
        #define ENABLE_BOARD
    
    #else
    
    
        #undef ENABLE_CSI2RX 0
        #undef ENABLE_CSI2TX 0
       
        #undef ENABLE_DSS_SINGLE
        #undef ENABLE_DSS_DUAL
        #undef ENABLE_DSS_EDP
        #undef ENABLE_DSS_HDMI
        #undef ENABLE_DSS_DSI
        #undef ENABLE_I2C
        #undef ENABLE_BOARD
    
    #endif
    
    
    #define ENABLE_FVID2
    #define ENABLE_VHWA_VPAC
    #undef ENABLE_VHWA_DMPAC
    
    #if defined (ENABLE_DSS_DSI) && !defined(ENABLE_I2C)
    #error "DSI output depends on I2C, Include ENABLE_I2C"
    #endif
    #if defined (ENABLE_DSS_HDMI) && !defined(ENABLE_I2C)
    #error "HDMI output depends on I2C, Include ENABLE_I2C"
    #endif
    
    #if defined (ENABLE_DSS_DSI) && defined (ENABLE_CSI2TX)
    #error "CSI2TX and DSI cannot be active at the same time"
    #endif
    
    #endif /* APP_CFG_MCU2_0_H_ */
    

    [com COM8] (2024-03-27_142715) COM8 (USB Serial Port (COM8)).log

  • root@j7-evm:~# media-ctl -p
    Failed to enumerate /dev/media0 (-2)

  • Hi,

    Please remove k3-j721e-vision-apps.dtbo from the name_overlays,

    In this overlay, we disable csirx and dss on linux. So you should not include the same if you are using csirx on linux

    Regards,

    Nikhil

  • Now a normal can run v4l2 architecture, thank you for your timely help

  • Thank you very much for your help. I found that iic devices cannot be recognized in the current environment. Could you please help me check?

  • Thank you very much for your help. I found that the iic device of ub960 could not be recognized in the current environment. Could you please help me have a look?

  • Hi,

    k3-j721e-fpdlink-cpb-fusion.dtbo overlay should have detected the i2c for deserializer. I believe you are using J721e EVM with fusion 1 board and IMX390 RCM cameras right?

    Could you please check if the HW connection is done correctly and there are no loose connections among fusion1 board and EVM?

    Now a normal can run v4l2 architecture

    Also, the above means that the camera is able to stream right? So the Des should be detected.

    Regards,

    Nikhil

  • root@j7-evm:~#  dmesg | grep i2c
    [    0.786662] i2c /dev entries driver
    [    0.963344] omap_i2c 40b00000.i2c: bus 0 rev0.12 at 100 kHz
    [    0.969470] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.975941] omap_i2c 42120000.i2c: bus 2 rev0.12 at 100 kHz
    [    1.045808] omap_i2c 2000000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.052303] omap_i2c 2010000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.062558] omap_i2c 2020000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.103829] omap_i2c 2030000.i2c: bus 6 rev0.12 at 400 kHz
    [    1.109931] omap_i2c 2040000.i2c: bus 7 rev0.12 at 100 kHz
    [    1.115926] omap_i2c 2050000.i2c: bus 8 rev0.12 at 100 kHz
    [    1.155976] omap_i2c 2060000.i2c: bus 9 rev0.12 at 100 kHz
    [    9.634127] Modules linked in: pruss(+) pci_endpoint_test ti_k3_dsp_remoteproc(+) sa2ul pvrsrvkm(O) virtio_rpmsg_bus sha512_generic authenc cdns_dphy j721e_csi2rx vxd_dec vxe_enc videobuf2_dma_sg videobuf2_dma_contig v4l2_mem2mem videobuf2_memops videobuf2_v4l2 videobuf2_common cdns3_ti m_can_platform m_can can_dev ds90ub960 i2c_atr snd_soc_pcm3168a_i2c snd_soc_pcm3168a ina2xx rti_wdt optee_rng rng_core sch_fq_codel rpmsg_kdrv_switch cryptodev(O) ipv6
    root@j7-evm:~#
    root@j7-evm:~#
    root@j7-evm:~#
    root@j7-evm:~# i2cdetect -y 6
    Warning: Can't use SMBus Quick Write command, will skip some addresses
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:
    10:
    20:
    30: -- -- -- -- -- -- -- --
    40:
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60:
    70:
    root@j7-evm:~#
    

    Since the imx390 was replaced with x3c by a sonsor under rtos, and it has been lit in rtos, but the application uses v4l2, so the underlying layer is also adapted. What I am doing now is lighting x3c under linux, I use i2cdetect-y6. However, the device ub960 address is not checked,

    Do you have a more detailed tutorial on this

    log as follows:[com COM8] (2024-03-28_133514) COM8 (USB Serial Port (COM8)).log

  • Hi,

    Can you read i2cdetect -y 9 and check if you are seeing 0x36 and 0x3D. If you are seeing this, then UB960 is probed.

    Also from the logs, I see it is probed successfully.

    [    8.979488] ds90ub960 9-0036: Successfully probed (rev/mask 40)
    [    9.031776] ina2xx 5-0040: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.040052] ina2xx 5-0041: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.050968] ina2xx 5-0042: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.063727] ina2xx 5-0043: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.076302] ina2xx 5-0044: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.088710] ina2xx 5-0045: power monitor ina226 (Rshunt = 5000 uOhm)
    [    9.100460] CAN device driver interface
    [    9.105022] ina2xx 5-0046: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.114587] ina2xx 5-0047: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.125770] ina2xx 5-0048: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.136751] ina2xx 5-0049: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.149474] ina2xx 5-004a: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.158379] ina2xx 5-004b: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.163329] ds90ub960 9-003d: Successfully probed (rev/mask 40)
    [    9.167071] ina2xx 5-004c: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.195685] ina2xx 5-004d: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.209335] ina2xx 5-004e: power monitor ina226 (Rshunt = 10000 uOhm)
    [    9.235435] ina2xx 5-004f: power monitor ina226 (Rshunt = 10000 uOhm)

    Regards,

    Nikhil

  • I just tried it and found it still couldn't be detected. Is it possible?

    Warning: Can't use SMBus Quick Write command, will skip some addresses

    root@j7-evm:~# i2cdetect -y 9
    Warning: Can't use SMBus Quick Write command, will skip some addresses
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00:
    10:
    20:
    30: -- -- -- -- -- -- UU --
    40:
    50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60:
    70:

  • Hi,

    Let me check with the EdgeAI team on this and get back to you

    Regards,

    Nikhil

  • thank you very much

  • I found that in this environment, I tried to modify the driver of ds960, add the printed log, execute the make linux command repeatedly, generate Image, and then replace the generated Image with the Image in boot under the rootfs directory on the board, but it did not take effect. log There is no printed log immediately, what is the reason for this????

  • Hi,

    Could you try running: i2cdetect -r -y 9 ?

    Thank you,

    Fabiana

  • hi:

    i2cdetect-r-y 9 runs as follows, does this mean that the address of the unstring has been recognized, but does it not count as the sixth bus in the iic?

    main_i2c6 {
            #address-cells = <1>;
            #size-cells = <0>;
    
            deser@3d {
                    compatible = "ti,ds90ub960-q1";
    
                    reg-names = "main", "ser0", "ser1", "ser2", "ser3";
                    reg       = <0x3d>, <0x44>, <0x45>, <0x46>, <0x47>;
    
                    clocks = <&clk_fusion_25M_fixed>;
    
                    i2c-alias-pool = /bits/ 16 <0x4a 0x4b 0x4c 0x4d 0x4e 0x4f>;
    
                    data-rate = <1600000000>;
    
                    ds90ub960_0_ports: ports {
                            #address-cells = <1>;
                            #size-cells = <0>;
    
                            /* CSI-2 */
                            port@4 {
                                    reg = <4>;
                                    ds90ub960_0_csi_out: endpoint {
                                            clock-lanes = <0>;
                                            data-lanes = <1 2 3 4>;
                                            remote-endpoint = <&csi2_phy0>;
                                    };
                            };
                    };
    
                    ds90ub960_0_atr: i2c-atr {
    

    root@j7-evm:~# i2cdetect -r -y 9
    0 1 2 3 4 5 6 7 8 9 a b c d e f
    00: -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- UU -- -- -- -- -- -- UU -- --
    40: -- -- -- -- UU -- -- -- -- -- -- -- -- -- -- --
    50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --
    root@j7-evm:~#
    root@j7-evm:~#
    root@j7-evm:~#

  • Hi,

    After looking into this issue internally, it appears that this i2c issue was identified in SDK 8.5 and has been resolved for SDK 9.0. Could you try this on SDK version 9.0 or later?

    Thank you,

    Fabiana

  • I downloaded the ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06 and installed the version, but I found the difference was a bit, there was no device tree for the 3-j721e-fpdlink-cpb-fusion. How do I drive the imx390 camera in this environment

  • hi

    I downloaded the ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06 and installed the version, but I found the difference was a bit, there was no device tree for the 3-j721e-fpdlink-cpb-fusion. How do I drive the imx390 camera in this environment

  • Hi Zhiyong,

    It looks like the name for the dtbo file has changed between 8.x and 9.x SDK. The new name should be k3-j721e-evm-fusion.dtbo. If the new name does not work, please check the root partition of the micro SD card's filesystem under /boot/dtb/ti to see if the fusion board dtbo file has been installed.

    Regards,

    Takuma

  • Hello Support,

    I download the latest version ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06, and execute it in the following sequence: /setup.sh, and then run sudo make u-boot. But an error message is displayed as follows

    fs@fsB:~/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06$ sudo make u-boot
    
    ==================================
    
    Building U-boot for a72
    
    ===================================
    
    make -j 1 -C /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca ARCH=arm j721e_evm_a72_config \
    
    	O=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72
    
    make[1]: Entering directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca'
    
    make[2]: Entering directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72'
    
      GEN     Makefile
    
    #
    
    # configuration written to .config
    
    #
    
    make[2]: Leaving directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72'
    
    make[1]: Leaving directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca'
    
    make -j 1 -C /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca \
    
    	ARCH=arm CROSS_COMPILE=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux- CC="/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-gcc --sysroot=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/linux-devkit/sysroots/aarch64-oe-linux" \
    
    	BINMAN_INDIRS=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/prebuilt-images BL31=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/prebuilt-images/bl31.bin TEE=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/prebuilt-images/bl32.bin \
    
    	O=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72
    
    make[1]: Entering directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca'
    
    make[2]: Entering directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72'
    
      GEN     Makefile
    
    scripts/kconfig/conf  --syncconfig Kconfig
    
      CFG     u-boot.cfg
    
      GEN     include/autoconf.mk
    
      GEN     include/autoconf.mk.dep
    
      CFG     spl/u-boot.cfg
    
      GEN     spl/include/autoconf.mk
    
      Using /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca as source for U-Boot
    
      GEN     Makefile
    
      UPD     include/generated/timestamp_autogenerated.h
    
      ENVC    include/generated/env.txt
    
      ENVP    include/generated/env.in
    
      ENVT    include/generated/environment.h
    
      CC      cmd/version.o
    
      AR      cmd/built-in.o
    
      CC      env/common.o
    
      AR      env/built-in.o
    
      CC      lib/efi_loader/dtbdump.o
    
      LD      lib/efi_loader/dtbdump_efi.so
    
      OBJCOPY lib/efi_loader/dtbdump.efi
    
      CC      lib/efi_loader/initrddump.o
    
      LD      lib/efi_loader/initrddump_efi.so
    
      OBJCOPY lib/efi_loader/initrddump.efi
    
      LD      u-boot
    
      OBJCOPY u-boot.srec
    
      OBJCOPY u-boot-nodtb.bin
    
      RELOC   u-boot-nodtb.bin
    
      CAT     u-boot-fit-dtb.bin
    
      COPY    u-boot.bin
    
      SYM     u-boot.sym
    
      CC      spl/common/spl/spl.o
    
      AR      spl/common/spl/built-in.o
    
      CC      spl/env/common.o
    
      AR      spl/env/built-in.o
    
      LD      spl/u-boot-spl
    
      OBJCOPY spl/u-boot-spl-nodtb.bin
    
      FDTGREP spl/dts/k3-j721e-common-proc-board.dtb
    
      FDTGREP spl/dts/k3-j721e-sk.dtb
    
      MKIMAGE spl/u-boot-spl.multidtb.fit
    
      CAT     spl/u-boot-spl-dtb.bin
    
      COPY    spl/u-boot-spl.bin
    
      SYM     spl/u-boot-spl.sym
    
      MKIMAGE u-boot.img
    
      MKIMAGE u-boot-dtb.img
    
      BINMAN  .binman_stamp
    
    binman: name 'ELFError' is not defined
    
    make[2]: *** [/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/Makefile:1108: .binman_stamp] Error 1
    
    make[2]: Leaving directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72'
    
    make[1]: *** [Makefile:177: sub-make] Error 2
    
    make[1]: Leaving directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca'
    
    

  • Hi Zhiyong,

    Could you run without "sudo"? Running with sudo will lose some user specific environment variables, which could cause compiling to look in the wrong file path.

    But coming back to the topic of camera, are the fusion board and cameras being detected I2C-wise now?

    Regards,

    Takuma

  • Hi   Support

    run without "sudo",There are still some mistakes,I found that this problem also occurs in ti-processor-sdk-linux-adas-j721e-evm-09_00_00_08-Linux-x86-Install.bin

    fs@fsB:~/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06$ make u-boot
    
    ===================================
    
    Building U-boot for a72
    
    ===================================
    
    make -j 1 -C /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca ARCH=arm j721e_evm_a72_config \
    
    	O=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72
    
    make[1]: Entering directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca'
    
    make[2]: Entering directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72'
    
    ln: failed to create symbolic link 'source': Permission denied
    
    make[2]: *** [/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/Makefile:504: outputmakefile] Error 1
    
    make[2]: Leaving directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72'
    
    make[1]: *** [Makefile:177: sub-make] Error 2
    
    make[1]: Leaving directory '/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca'
    
    make: *** [makerules/Makefile_u-boot:14: u-boot-a72] Error 2
    
    fs@fsB:~/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06$ 
    
    

  • Hi   Support

    Since the minimum system of tisdk-tiny-image-j721e-evm.tar.xz is used during deployment, no iic device is detected, so the uboot and kernel need to be burned again. My steps are as follows: 1. Change ROOTFS_PART in Rules.make? =/media/fs/root BOOT_PART? =/media/fs/boot 2. Run the make u-boot command. (The error message shown above is displayed.) Run the make linux command. Run make linux_install .Errors will still be reported without ”sudo“

    ### PLATFORM CONFIG ###
    #platform
    PLATFORM=j721e-evm
    SOC=j721e
    SOC_TYPE?=gp
    
    ARCH=aarch64
    ARMV8=a72
    
    #u-boot machine
    UBOOT_MACHINE=j721e_evm_a72_config
    
    # Add CROSS_COMPILE and UBOOT_MACHINE for the R5
    UBOOT_MACHINE_R5=j721e_evm_r5_config
    
    KERNEL_DEVICETREE_PREFIX=ti/k3-j721e|ti/k3-j7200-evm-mcspi-loopback|ti/k3-fpdlink
    
    # Add configs for ti-img-rogue-driver
    PVR_BUILD_DIR=j721e_linux
    
    MAKE_ALL_TARGETS?= arm-benchmarks cryptodev ti-img-rogue-driver u-boot linux linux-dtbs linux-fitImage
    
    ### COMMON CONFIG ###
    CFLAGS?=
    
    #Strip modules when installing to conserve disk space
    INSTALL_MOD_STRIP?=1
    
    # Set EXEC_DIR to install example binaries.
    # This will be configured with the setup.sh script.
    EXEC_DIR?=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/targetNFS/home/root/j721e-evm
    
    #root of the target file system for installing applications
    #ROOTFS_PART?=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/targetNFS
    ROOTFS_PART?=/media/fs/root
    # Root of the boot partition to install boot binaries
    # BOOT_PART?=__BOOT_PART__
    BOOT_PART?=/media/fs/boot
    
    MAKE_JOBS?=1
    
    ### TI SDK CONFIG ###
    #Points to the root of the TI SDK
    export TI_SDK_PATH?=/home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06
    
    #Set cross compilers
    export CROSS_COMPILE=$(TI_SDK_PATH)/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/aarch64-oe-linux/aarch64-oe-linux-
    export CROSS_COMPILE_ARMV7=$(TI_SDK_PATH)/k3r5-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-oe-eabi/arm-oe-eabi-
    
    export LINUX_DEVKIT_PATH=$(TI_SDK_PATH)/linux-devkit
    SDK_PATH_TARGET=$(LINUX_DEVKIT_PATH)/sysroots/aarch64-oe-linux
    
    #Default CC value to be used when cross compiling.  This is so that the
    #GNU Make default of "cc" is not used to point to the host compiler
    export CC=$(CROSS_COMPILE)gcc --sysroot=$(SDK_PATH_TARGET)
    
    
    # The source directories for each component
    ARM_BENCHMARKS_SRC_DIR=$(shell find $(TI_SDK_PATH)/example-applications -maxdepth 1 -type d -name "arm-benchmarks*")
    CRYPTODEV_SRC_DIR=$(shell find $(TI_SDK_PATH)/board-support/extra-drivers -maxdepth 1 -type d -name "cryptodev*")
    IMG_ROGUE_SRC_DIR=$(shell find $(TI_SDK_PATH)/board-support/extra-drivers -maxdepth 1 -type d -name "ti-img-rogue-driver*")
    UBOOT_SRC_DIR=$(shell find $(TI_SDK_PATH)/board-support -maxdepth 1 -type d -name "ti-u-boot-*")
    LINUXKERNEL_INSTALL_DIR=$(shell find $(TI_SDK_PATH)/board-support -maxdepth 1 -type d -name "ti-linux-kernel-*")
    
    UBOOT_ATF?=$(TI_SDK_PATH)/board-support/prebuilt-images/bl31.bin
    UBOOT_TEE?=$(TI_SDK_PATH)/board-support/prebuilt-images/bl32.bin
    TI_LINUX_FIRMWARE?=$(TI_SDK_PATH)/board-support/prebuilt-images
    fitImage_its?=$(TI_SDK_PATH)/board-support/prebuilt-images/fitImage.its
    
    UBOOT_ARMV8_BUILD?=$(UBOOT_SRC_DIR)/build/$(ARMV8)
    UBOOT_R5_BUILD?=$(UBOOT_SRC_DIR)/build/r5
    STAGING_DIR?=$(TI_SDK_PATH)/board-support/built-images
    
    
    MAKE_JOBS=1

  • root@j721e-evm:~# i2cdetect -r -y 9
    i2cdetect: can't open '/dev/i2c/9': No such file or directory

  • root@j721e-evm:~#  i2cdetect -l
    i2c-3   i2c             OMAP I2C adapter                        I2C adapter
    i2c-1   i2c             OMAP I2C adapter                        I2C adapter
    i2c-6   i2c             a000000.dp-bridge                       I2C adapter
    i2c-4   i2c             OMAP I2C adapter                        I2C adapter
    i2c-2   i2c             OMAP I2C adapter                        I2C adapter
    i2c-0   i2c             OMAP I2C adapter                        I2C adapter
    i2c-5   i2c             OMAP I2C adapter                        I2C adapter
    root@j721e-evm:~# dmesg | grep i2c
    [    0.836211] i2c_dev: i2c /dev entries driver
    [    0.998874] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.066631] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.072767] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.079505] omap_i2c 2020000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.120624] omap_i2c 2030000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.160478] omap_i2c 2060000.i2c: bus 5 rev0.12 at 400 kHz
    root@j721e-evm:~#  i2cdetect -y 1
    i2cdetect: warning: can't use SMBus quick write command, will skip some addresses
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:
    10:
    20:
    30: -- -- -- -- -- -- -- --
    40:
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60:
    70:
    root@j721e-evm:~#  i2cdetect -y 6
         0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
    00:          -- -- -- -- -- -- -- -- -- -- -- -- --
    10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
    70: -- -- -- -- -- -- -- --
    root@j721e-evm:~#
    

  • Hi Zhiyong,

    It is strange that the build is failing at symbolic link creation.

    Symbolic link creation should be running a command that looks like:

    • ln -fsn /media/a0488417local/Storage/Main_Storage/PSDK_LINUX/ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca source

    To troubleshoot, I advise you run the following command to check exact filepath and the command that is failing:

    • make -n u-boot

    It may be that some of the folders within the downloaded U-Boot source has the wrong permissions that were set while installing the SDK. Perhaps the SDK was installed using sudo? I would advise checking permission and owner of the folder "ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72", and/or reinstalling the SDK without sudo just in case.

    Regards,

    Takuma

  • Hi  Support,

    I download ti-processor-sdk-linux-adas-j721e-evm-09_01_00_06 in the linux environment and run make make u-boot_install according to the official process. make linux_install, but encounter the following problem (see log), how do I mask ERROR: 'serverip' not set does not use network services

    [com COM8] (2024-04-11_154140) COM8 (USB Serial Port (COM8)).log
    =~=~=~=~=~=~=~=~=~=~=~= MobaXterm log 2024.04.11 15:41:40 =~=~=~=~=~=~=~=~=~=~=~=
    
    U-Boot SPL 2023.04 (Apr 11 2024 - 13:39:57 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty
    NOTICE:  BL31: Built : 09:34:15, Aug 24 2023
    I/TC: 
    I/TC: OP-TEE version: 4.0.0 (gcc version 11.4.0 (GCC)) #1 Fri Oct 20 18:29:31 UTC 2023 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2023.04 (Apr 11 2024 - 13:35:55 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2023.04 (Apr 11 2024 - 13:35:55 +0800)
    
    SoC:   J721E SR1.0 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    DRAM:  4 GiB
    Core:  126 devices, 35 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    732 bytes read in 27 ms (26.4 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    gpio: pin gpio@22_17 (gpio 281) value is 1
    gpio: pin gpio@22_16 (gpio 280) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw'
    691664 bytes read in 45 ms (14.7 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 691664 bytes: Success!
    Failed to load '/lib/firmware/j7-main-r5f0_1-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
    Failed to load '/lib/firmware/j7-c66_0-fw'
    Failed to load '/lib/firmware/j7-c66_1-fw'
    Failed to load '/lib/firmware/j7-c71_0-fw'
    20367872 bytes read in 449 ms (43.3 MiB/s)
    Failed to load '/boot/dtb/ti/k3-j721e-common-proc-board.dtb'
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    switch to partitions #0, OK
    mmc0(part 0) is current device
    ** No partition table - mmc 0 **
    Couldn't find partition mmc 0:1
    switch to partitions #0, OK
    mmc1 is current device
    Scanning mmc 1:1...
    No EFI system partition
    No EFI system partition
    Failed to persist EFI variables
    BootOrder not defined
    EFI boot manager: Cannot load any image
    starting USB...
    Bus usb@6400000: cdns-usb3-host usb@6400000: Unable to get USB2 phy (ret -61)
    cdns-usb3-host usb@6400000: Unable to get USB3 phy (ret -61)
    cdns-usb3-host usb@6400000: DRD version v1 (ID: 0004024e, rev: 00000200)
    Register 2000840 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus usb@6400000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    
    Device 0: unknown device
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    BOOTP broadcast 1
    BOOTP broadcast 2
    BOOTP broadcast 3
    BOOTP broadcast 4
    BOOTP broadcast 5
    BOOTP broadcast 6
    BOOTP broadcast 7
    BOOTP broadcast 8
    BOOTP broadcast 9
    BOOTP broadcast 10
    BOOTP broadcast 11
    BOOTP broadcast 12
    BOOTP broadcast 13
    BOOTP broadcast 14
    BOOTP broadcast 15
    BOOTP broadcast 16
    BOOTP broadcast 17
    
    Retry time exceeded; starting again
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-50-51-a9-fc-f4-fc
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00000000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0000000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/000000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/000
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/00
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm-k3-j721e
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm-k3
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default-arm
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/default
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Config file not found
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 10.8.4.93 (4 ms)
    *** ERROR: `serverip' not set
    Cannot autoload with TFTPGET
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 10.8.4.93 (4 ms)
    *** ERROR: `serverip' not set
    Cannot autoload with TFTPGET
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 
    => 

  • Hi Zhiyong,

    I assume that since we are able to get to U-Boot logs, you were successfully able to build U-Boot and install it.

    As for the errors in the boot logs, it seems like U-Boot is successfully running, but U-Boot fails to load Linux device tree and kernel from the micro SD card and tries to boot off of a backup bootmode/storage. Could you please do the following:

    My current suspicion is that the Linux compilation failed due to some errors, so the device tree files did not get copied. Or, the compilation succeeded, but some filepath to install the dtb files had some mistakes and were not installed in the correct location.

    Regards,

    Takuma

  • Hi  Support

    I follow the process and log as follows. Could you help me analyze the problem?

    linuxlog.txt

    4846.ubootlog.txt
    mkdir -p /home/fs/091/board-support/built-images
    cp /home/fs/091/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72/tispl.bin /home/fs/091/board-support/built-images/tispl.bin
    cp /home/fs/091/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/a72/u-boot.img /home/fs/091/board-support/built-images/u-boot.img
    mkdir -p /home/fs/091/board-support/built-images
    cp /home/fs/091/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/r5/tiboot3-j721e-gp-evm.bin /home/fs/091/board-support/built-images/tiboot3.bin
    cp /home/fs/091/board-support/ti-u-boot-2023.04+gitAUTOINC+71b8c840ca-g71b8c840ca/build/r5/sysfw-j721e-gp-evm.itb /home/fs/091/board-support/built-images/sysfw.itb
    ===================================
    Installing U-boot
    ===================================
    cp /home/fs/091/board-support/built-images/tispl.bin /media/fs/boot
    cp /home/fs/091/board-support/built-images/u-boot.img /media/fs/boot
    cp /home/fs/091/board-support/built-images/tiboot3.bin /media/fs/boot
    cp /home/fs/091/board-support/built-images/sysfw.itb /media/fs/boot
    

  • Hi  Support

    I found that uEnv.txt was not copied when I executed u-boot_install, so I executed./bin/create-sdcard.sh first, using tisdk-tiny-image-j721e-evm.tar.xz, After the execution force u-boot_install and make linux_install, it is found that the system can enter, but the password is not displayed,Always Login incorrect  Login incorrect
    . log as follows, can you help troubleshoot the problem?I log all terminal commands and serial ports as follows

    [com COM8] (2024-04-13_171909) COM8 (USB Serial Port (COM8)).log
    =~=~=~=~=~=~=~=~=~=~=~= MobaXterm log 2024.04.13 17:19:09 =~=~=~=~=~=~=~=~=~=~=~=
    
    U-Boot SPL 2023.04 (Apr 12 2024 - 15:27:30 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    I/TC: 
    I/TC: OP-TEE version: 4.1.0-51-g012cdca49 (gcc version 11.4.0 (GCC)) #1 Tue Jan 30 10:48:03 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Fixing SA2UL firewall owner for GP device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2023.04 (Apr 12 2024 - 15:27:17 +0800)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2023.04 (Apr 12 2024 - 15:27:17 +0800)
    
    SoC:   J721E SR1.0 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    DRAM:  2 GiB (effective 4 GiB)
    Core:  126 devices, 35 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1440 bytes read in 27 ms (51.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 26 ms (0 Bytes/s)
    Already setup.
    gpio: pin gpio@22_17 (gpio 281) value is 1
    gpio: pin gpio@22_16 (gpio 280) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw'
    691508 bytes read in 45 ms (14.7 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 691508 bytes: Success!
    Failed to load '/lib/firmware/j7-main-r5f0_1-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
    Failed to load '/lib/firmware/j7-c66_0-fw'
    Failed to load '/lib/firmware/j7-c66_1-fw'
    Failed to load '/lib/firmware/j7-c71_0-fw'
    19376640 bytes read in 426 ms (43.4 MiB/s)
    114992 bytes read in 32 ms (3.4 MiB/s)
    Working FDT set to 88000000
    Failed to load '/boot/dtb/ti/ti/k3-j721e-edgeai-apps.dtbo'
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008fee0000, end 000000008fffffff ... OK
    Working FDT set to 8fee0000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.80 (fs@fsB) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #3 SMP PREEMPT Sat Apr 13 17:08:14 CST 2024
    [    0.000000] Machine model: Texas Instruments J721e EVM
    [    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 0x00000008e0000000, size 512 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c66-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c66-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a8100000, compatible id shared-dma-pool
    [    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-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a8ffffff]
    [    0.000000]   node   0: [mem 0x00000000a9000000-0x00000000a9ffffff]
    [    0.000000]   node   0: [mem 0x00000000aa000000-0x00000000abbfffff]
    [    0.000000]   node   0: [mem 0x00000000abc00000-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.4
    [    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=8ef0f19d-02 rw rootfstype=ext4 rootwait
    [    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] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 3303320K/4194304K available (11712K kernel code, 1258K rwdata, 3812K rodata, 1984K init, 438K bss, 366696K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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=2.
    [    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=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 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:0x0000000001900000
    [    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 @0x0000000880030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000880040000
    [    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.008430] Console: colour dummy device 80x25
    [    0.012998] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023668] pid_max: default: 32768 minimum: 301
    [    0.028404] LSM: Security Framework initializing
    [    0.033178] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040749] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049504] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.056903] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063163] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.070549] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.076852] rcu: Hierarchical SRCU implementation.
    [    0.081749] rcu: Max phase no-delay instances is 1000.
    [    0.087257] Platform MSI: msi-controller@1820000 domain created
    [    0.093492] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.102954] EFI services will not be available.
    [    0.107685] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.120898] Detected PIPT I-cache on CPU1
    [    0.120958] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.120970] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.120999] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.121060] smp: Brought up 1 node, 2 CPUs
    [    0.150405] SMP: Total of 2 processors activated.
    [    0.155209] CPU features: detected: 32-bit EL0 Support
    [    0.160463] CPU features: detected: CRC32 instructions
    [    0.165735] CPU: All CPU(s) started at EL2
    [    0.169916] alternatives: applying system-wide alternatives
    [    0.176405] devtmpfs: initialized
    [    0.186401] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.196383] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.211631] pinctrl core: initialized pinctrl subsystem
    [    0.217299] DMI not present or invalid.
    [    0.221546] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.228156] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.235458] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.243456] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.251580] audit: initializing netlink subsys (disabled)
    [    0.257193] audit: type=2000 audit(0.168:1): state=initialized audit_enabled=0 res=1
    [    0.257404] thermal_sys: Registered thermal governor 'step_wise'
    [    0.265113] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.271314] cpuidle: using governor menu
    [    0.282063] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.289024] ASID allocator initialised with 65536 entries
    [    0.304232] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.315932] KASLR disabled due to lack of seed
    [    0.323240] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.330184] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.336585] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.343519] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.349919] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.356852] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.363253] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.370186] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.377271] k3-chipinfo 43000014.chipid: Family:J721E rev:SR1.0 JTAGID[0x0bb6402f] Detected
    [    0.386572] iommu: Default domain type: Translated 
    [    0.391558] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.398070] SCSI subsystem initialized
    [    0.402044] usbcore: registered new interface driver usbfs
    [    0.407663] usbcore: registered new interface driver hub
    [    0.413098] usbcore: registered new device driver usb
    [    0.418483] pps_core: LinuxPPS API ver. 1 registered
    [    0.423554] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.432891] PTP clock support registered
    [    0.436972] EDAC MC: Ver: 3.0.0
    [    0.440665] FPGA manager framework
    [    0.444173] Advanced Linux Sound Architecture Driver Initialized.
    [    0.450764] clocksource: Switched to clocksource arch_sys_counter
    [    0.457106] VFS: Disk quotas dquot_6.6.0
    [    0.461136] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.471003] NET: Registered PF_INET protocol family
    [    0.476156] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.485175] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.493939] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.501861] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.510066] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.518596] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.525370] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.532280] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.539707] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.545762] RPC: Registered named UNIX socket transport module.
    [    0.551820] RPC: Registered udp transport module.
    [    0.556623] RPC: Registered tcp transport module.
    [    0.561426] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.568016] NET: Registered PF_XDP protocol family
    [    0.572917] PCI: CLS 0 bytes, default 64
    [    0.577270] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.586494] Initialise system trusted keyrings
    [    0.591139] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.599640] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.605857] NFS: Registering the id_resolver key type
    [    0.611034] Key type id_resolver registered
    [    0.615305] Key type id_legacy registered
    [    0.619422] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.626271] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.652990] Key type asymmetric registered
    [    0.657174] Asymmetric key parser 'x509' registered
    [    0.662178] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.669805] io scheduler mq-deadline registered
    [    0.674436] io scheduler kyber registered
    [    0.680815] pinctrl-single 4301c000.pinctrl: 94 pins, size 376
    [    0.687253] pinctrl-single 11c000.pinctrl: 173 pins, size 692
    [    0.693871] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.703378] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.711775] arm-smmu-v3 36600000.iommu: ias 48-bit, oas 48-bit (features 0x00001faf)
    [    0.719944] arm-smmu-v3 36600000.iommu: allocated 65536 entries for cmdq
    [    0.727040] arm-smmu-v3 36600000.iommu: allocated 32768 entries for evtq
    [    0.734801] arm-smmu-v3 36600000.iommu: msi_domain absent - falling back to wired irqs
    [    0.745663] loop: module loaded
    [    0.749508] megasas: 07.719.03.00-rc1
    [    0.754811] tun: Universal TUN/TAP device driver, 1.6
    [    0.760378] VFIO - User Level meta-driver version: 0.3
    [    0.766032] usbcore: registered new interface driver usb-storage
    [    0.772484] i2c_dev: i2c /dev entries driver
    [    0.777409] sdhci: Secure Digital Host Controller Interface driver
    [    0.783728] sdhci: Copyright(c) Pierre Ossman
    [    0.788321] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.794445] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.800675] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.807417] usbcore: registered new interface driver usbhid
    [    0.813111] usbhid: USB HID core driver
    [    0.817519] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.822080] optee: revision 4.1 (012cdca4)
    [    0.838496] optee: dynamic shared memory is enabled
    [    0.847874] optee: initialized driver
    [    0.852857] Initializing XFRM netlink socket
    [    0.857243] NET: Registered PF_PACKET protocol family
    [    0.862439] Key type dns_resolver registered
    [    0.866971] registered taskstats version 1
    [    0.871171] Loading compiled-in X.509 certificates
    [    0.881641] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    [    0.951374] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.957683] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    0.964507] pca953x 1-0020: using no AI
    [    0.991457] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    0.998260] pca953x 1-0022: using AI
    [    1.002526] gpio-480 (CTRL_PM_I2C_OE): hogged as output/high
    [    1.008502] gpio-481 (MCASP/TRACE_MUX_S0): hogged as output/low
    [    1.014742] gpio-482 (MCASP/TRACE_MUX_S1): hogged as output/high
    [    1.021242] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.027369] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.034125] omap_i2c 2020000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.040254] pca953x 4-0020: supply vcc not found, using dummy regulator
    [    1.047079] pca953x 4-0020: using no AI
    [    1.075222] omap_i2c 2030000.i2c: bus 4 rev0.12 at 400 kHz
    [    1.081365] pca953x 5-0020: supply vcc not found, using dummy regulator
    [    1.088184] pca953x 5-0020: using no AI
    [    1.115079] omap_i2c 2060000.i2c: bus 5 rev0.12 at 400 kHz
    [    1.120878] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.129424] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.138768] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.147366] ti-sci-inta 33d00000.interrupt-controller: Interrupt Aggregator domain 209 created
    [    1.163306] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:235
    [    1.173191] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.179953] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.189007] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[440,150] sci-dev-id:211
    [    1.199165] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.205923] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66346100, num_proxies:64
    [    1.213854] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 194, base_baud = 6000000) is a 8250
    [    1.223306] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 195, base_baud = 3000000) is a 8250
    [    1.232152] printk: console [ttyS2] enabled
    [    1.232152] printk: console [ttyS2] enabled
    [    1.240597] printk: bootconsole [ns16550a0] disabled
    [    1.240597] printk: bootconsole [ns16550a0] disabled
    [    1.251005] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 196, base_baud = 3000000) is a 8250
    [    1.259963] 2820000.serial: ttyS4 at MMIO 0x2820000 (irq = 197, base_baud = 3000000) is a 8250
    [    1.268923] 2840000.serial: ttyS6 at MMIO 0x2840000 (irq = 198, base_baud = 3000000) is a 8250
    [    1.279209] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.322771] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.331412] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.339681] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    1.352488] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.359694] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.365879] pps pps0: new PPS source ptp0
    [    1.369998] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    1.380366] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010a, freq:200000000, add_val:4 pps:0
    [    1.389268] mmc0: CQHCI version 5.10
    [    1.431311] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.522536] mmc0: Command Queue Engine enabled
    [    1.526987] mmc0: new HS200 MMC card at address 0001
    [    1.532309] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.537849] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB 
    [    1.543451] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB 
    [    1.548939] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.579142] tps6594-esm tps6594-esm.3.auto: error -ENODEV: ESM not supported for revision 1 PMIC
    [    1.592012] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    1.598663] tps6594-rtc tps6594-rtc.4.auto: setting system clock to 2000-01-01T00:00:09 UTC (946684809)
    [    1.762168] tps6594-esm tps6594-esm.8.auto: error -ENODEV: ESM not supported for revision 1 PMIC
    [    1.775126] tps6594-rtc tps6594-rtc.9.auto: registered as rtc1
    [    1.781094] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    1.787755] pca953x 2-0020: using no AI
    [    1.815666] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc7100
    [    1.822468] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc7100
    [    1.829252] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fc7100
    [    1.836036] omap-mailbox 31f83000.mailbox: omap mailbox rev 0x66fc7100
    [    1.842797] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fc7100
    [    1.856410] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.867041] ti-udma 31150000.dma-controller: Channels: 122 (tchan: 61, rchan: 61, gp-rflow: 16)
    [    1.880796] spi-nor spi0.0: mt35xu512aba (65536 Kbytes)
    [    1.886087] 8 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.893124] Creating 8 MTD partitions on "47040000.spi.0":
    [    1.898596] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.904626] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.910395] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.916226] 0x000000680000-0x0000006a0000 : "ospi.env"
    [    1.921776] 0x0000006a0000-0x0000006c0000 : "ospi.env.backup"
    [    1.927937] 0x0000006c0000-0x0000007c0000 : "ospi.sysfw"
    [    1.933662] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.939473] 0x000003fe0000-0x000004000000 : "ospi.phypattern"
    [    1.948476] spi-nor spi1.0: mt25qu512a (65536 Kbytes)
    [    1.953567] 8 fixed-partitions partitions found on MTD device 47050000.spi.0
    [    1.960620] Creating 8 MTD partitions on "47050000.spi.0":
    [    1.966092] 0x000000000000-0x000000080000 : "qspi.tiboot3"
    [    1.972087] 0x000000080000-0x000000280000 : "qspi.tispl"
    [    1.977819] 0x000000280000-0x000000680000 : "qspi.u-boot"
    [    1.983619] 0x000000680000-0x0000006a0000 : "qspi.env"
    [    1.989194] 0x0000006a0000-0x0000006c0000 : "qspi.env.backup"
    [    1.995362] 0x0000006c0000-0x0000007c0000 : "qspi.sysfw"
    [    2.001100] 0x000000800000-0x000003fc0000 : "qspi.rootfs"
    [    2.006964] 0x000003fe0000-0x000004000000 : "qspi.phypattern"
    [    2.013697] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.058778] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.067454] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.075727] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA00101, cpsw version 0x6BA80100 Ports: 2 quirks:00000000
    [    2.088533] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.095742] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.101904] pps pps0: new PPS source ptp1
    [    2.106025] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010a, freq:500000000, add_val:1 pps:1
    [    2.116323] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.124903] mmc1: CQHCI version 5.10
    [    2.132393] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    2.149953] ALSA device list:
    [    2.152928]   No soundcards found.
    [    2.169677] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.177244] Waiting for root device PARTUUID=8ef0f19d-02...
    [    2.236369] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [    2.243257] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    2.252921]  mmcblk1: p1 p2
    [    2.565083] EXT4-fs (mmcblk1p2): warning: mounting fs with errors, running e2fsck is recommended
    [    2.582779] EXT4-fs (mmcblk1p2): recovery complete
    [    2.593299] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    2.601842] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.615353] devtmpfs: mounted
    [    2.619188] Freeing unused kernel memory: 1984K
    [    2.623791] Run /sbin/init as init process
    
    INIT: version 3.01 booting
    
    [    2.809843] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    Fri Mar  9 12:34:56 UTC 2018
    
    [    3.570767] random: crng init done
    Configuring packages on first boot....
    
     (This may take several minutes. Please do not power off the machine.)
    
    Running postinst /etc/ipk-postinsts/000-sysvinit-inittab...
    
    update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
    
     Removing any system startup links for run-postin
    INIT: Entering runlevel: 5
    
    
    Configuring network interfaces... [    3.693673] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    3.703299] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    udhcpc: started, v1.35.0
    
    udhcpc: broadcasting discover
    
    udhcpc: broadcasting discover
    
    [    7.815578] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
    udhcpc: broadcasting discover
    
    udhcpc: broadcasting select for 10.8.4.93, server 172.16.1.23
    
    udhcpc: lease of 10.8.4.93 obtained from 172.16.1.23, lease time 86400
    
    /etc/udhcpc.d/50default: Adding DNS 172.16.1.248
    
    /etc/udhcpc.d/50default: Adding DNS 172.16.1.254
    
    /etc/udhcpc.d/50default: Adding DNS 172.16.1.250
    
    done.
    
    Starting syslogd/klogd: done
    
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: 
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: 
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: 
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: root
    
    
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    Maximum number of tries exceeded (5)
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: re  root
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    Maximum number of tries exceeded (5)
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: 
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: exit    j721e_ -evm
    
    Login incorrect
    
    Login incorrect
    ^C
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: 
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: root[D[D[D      
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    Maximum number of tries exceeded (5)
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: [  316.518763] EXT4-fs (mmcblk1p2): error count since last fsck: 14
    [  316.524767] EXT4-fs (mmcblk1p2): initial error at time 1712996007: ext4_reserve_inode_write:5730
    [  316.533537] EXT4-fs (mmcblk1p2): last error at time 1712999478: ext4_put_super:1305
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: root
    
    Login incorrect
    
    
    
    
    
    Login incorrect
    
    
    
    Login incorrect
    
    
    
    
    Login incorrect
    
    Login incorrect
    Maximum number of tries exceeded (5)
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: root
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    
    Login incorrect
    Maximum number of tries exceeded (5)
    
    
     _____                    _____           _         _   
    
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
    
                  |___|                    |___|            
    
    
    
    Arago Project j721e-evm /dev/ttyS2
    
    
    
    Arago 2023.04 j721e-evm /dev/ttyS2
    
    
    
    j721e-evm login: 
    4807.test.log

  • Hello,

    Thank you for sharing. Allow me some time to look through your logs.

    Thank you,

    Fabiana

  • Thank you, I also tried to analyze it, from the error log, there are missing boot.scr, /lib/firmware/j7-mcu-r5f0_1-fw, /lib/firmware/j7-main-r5f0_0-fw and other files. I did not generate this file from make linux and make u-boot, I hope you can help solve it

    U-Boot 2023.04 (Apr 15 2024 - 12:21:46 +0800)
    
    SoC:   J721E SR1.0 GP
    Model: Texas Instruments K3 J721E SoC
    Board: J721EX-PM2-SOM rev E7
    DRAM:  4 GiB
    Core:  126 devices, 35 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0, mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA00101 cpsw_ver: 0x6BA80100 ale_ve                       r: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev E3
    Detected: J7X-VSC8514-ETH rev E2
    cdns,sierra serdes@5000000: sierra probed
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1440 bytes read in 27 ms (51.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 26 ms (0 Bytes/s)
    Already setup.
    gpio: pin gpio@22_17 (gpio 281) value is 1
    gpio: pin gpio@22_16 (gpio 280) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j7-mcu-r5f0_1-fw'
    Failed to load '/lib/firmware/j7-main-r5f0_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f0_1-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j7-main-r5f1_1-fw'
    Failed to load '/lib/firmware/j7-c66_0-fw'
    Failed to load '/lib/firmware/j7-c66_1-fw'
    Failed to load '/lib/firmware/j7-c71_0-fw'
    Failed to load '/boot/Image'
    Failed to load '/boot/dtb/ti/k3-j721e-common-proc-board.dtb'
    libfdt fdt_check_header(): FDT_ERR_BADMAGIC
    No FDT memory address configured. Please configure
    the FDT address via "fdt addr <address>" command.
    Aborting!
    Failed to load '/boot/dtb/ti/ti/k3-j721e-edgeai-apps.dtbo'
    Bad Linux ARM64 Image magic!
    switch to partitions #0, OK
    mmc0(part 0) is current device
    ** No partition table - mmc 0 **
    Couldn't find partition mmc 0:1
    switch to partitions #0, OK
    mmc1 is current device
    Scanning mmc 1:1...
    No EFI system partition
    No EFI system partition
    Failed to persist EFI variables
    BootOrder not defined
    EFI boot manager: Cannot load any image
    starting USB...
    Bus usb@6400000: cdns-usb3-host usb@6400000: Unable to get USB2 phy (ret -61)
    cdns-usb3-host usb@6400000: Unable to get USB3 phy (ret -61)
    cdns-usb3-host usb@6400000: DRD version v1 (ID: 0004024e, rev: 00000200)
    Register 2000840 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus usb@6400000 for devices... 2 USB Device(s) found
           scanning usb for storage devices... 0 Storage Device(s) found
    
    Device 0: unknown device
    k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,20] sci-d                       ev-id:235
    k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: disabled
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    BOOTP broadcast 1
    DHCP client bound to address 10.8.4.65 (5 ms)
    *** ERROR: `serverip' not set
    Cannot autoload with TFTPGET
    missing environment variable: pxeuuid
    Retrieving file: pxelinux.cfg/01-50-51-a9-fc-f4-fc
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0A080441
    am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
    link up on port 1, speed 1000, full duplex
    *** ERROR: `serverip' not set
    Retrieving file: pxelinux.cfg/0A08044
    
    

  • Thank you for your patience.

    -Fabiana

  • Have you found out what the problem is, whether it is my operation?

  • Hi,

    Apologies for the delay due to bandwidth. I will be analyzing this today. 

    Thank you,

    Fabiana

  • Hi,

    Can I analyze the cause according to the log? Is it my operation or something else?

  • Hi,

    I am reassigning this to the correct expert.

    Thank you,

    Fabiana

  • Hi,

    Can you please summarize the latest issue? Seems like logging in was failing. Is that fixed at your end?

    - Keerthy

  • ubuntu system crashed, set up the environment a little time, later

  • hi

    Due to some problems in the linux scheme, I tried to debug another scheme. The current environment uses 9.2. I modified the default make u-boot_install to generate uEnv.txt file by default. The modified file is as follows, and the execute make u-boot log is attached. The log of make linux_install is shown in the attached device tree as follows: uEnv.txt. Serial port log is also in the attachment. Now you can enter the system, but the driver of 960 is not installed.

    5340.uEnv.txt
    # This uEnv.txt file can contain additional environment settings that you
    # want to set in U-Boot at boot time.  This can be simple variables such
    # as the serverip or custom variables.  The format of this file is:
    #    variable=value
    # NOTE: This file will be evaluated after the bootcmd is run and the
    #       bootcmd must be set to load this file if it exists (this is the
    #       default on all newer U-Boot images.  This also means that some
    #       variables such as bootdelay cannot be changed by this file since
    #       it is not evaluated until the bootcmd is run.
    psdk_setup_file=.psdk_setup
    check_psdk_setup=load mmc 1:1 ${loadaddr} ${psdk_setup_file}
    
    # Reset to the default environment
    do_psdk_setup=env default -f -a; saveenv
    
    # If not done previously, then reset to the default environment and indicate this by writing a file
    # Also update the Linux hostname based on board_name
    uenvcmd=if run check_psdk_setup; then echo "Already setup."; else run do_psdk_setup; mw.b ${loadaddr} 0 1; fatwrite mmc 1:1 ${loadaddr} .psdk_setup 1; reset; fi; if test "$board_name" = "j721e-sk"; then ; setenv args_all $args_all systemd.hostname=tda4vm-sk ; fi; if test ${boot_fit} -eq 1; then  setenv name_overlays $name_overlays_fit; fi;
    
    # Setting the right U-Boot environment variables
    dorprocboot=1
    name_overlays=ti/k3-j721e-common-proc-board.dtb
    
    # Name overlays when booting from fit image
    name_overlays_fit=ti/k3-j721e-evm-virt-mac-client.dtbo ti/k3-j721e-vision-apps.dtbo
    
    [com COM8] (2024-04-29_170058) COM8 (USB Serial Port (COM8)).loglinux_install.txt
    u-boot_install.txt
    mkdir -p /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/ti-u-boot-2023.04+gitAUTOINC+f9b966c674/build/a72/tispl.bin /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/tispl.bin
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/ti-u-boot-2023.04+gitAUTOINC+f9b966c674/build/a72/u-boot.img /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/u-boot.img
    mkdir -p /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/ti-u-boot-2023.04+gitAUTOINC+f9b966c674/build/r5/tiboot3-j721e-gp-evm.bin /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/tiboot3.bin
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/ti-u-boot-2023.04+gitAUTOINC+f9b966c674/build/r5/sysfw-j721e-gp-evm.itb /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/sysfw.itb
    ===================================
    Installing U-boot
    ===================================
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/tispl.bin /media/fs/boot
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/u-boot.img /media/fs/boot
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/tiboot3.bin /media/fs/boot
    cp /home/fs/ti-processor-sdk-linux-adas-j721e-evm-09_02_00_05/board-support/built-images/sysfw.itb /media/fs/boot
    

  • Hi, 

    I see that you are now able to get to Linux prompt. When you 960 i believe you meant UB960? What's the issue you are facing there?

    I will loop in relevant experts accordingly. 

    Best Regards,

    Keerthy

  • hi

    The first problem I faced was that csi2rx failed, and the second problem was that I did not get the iic device address of ub960

    [ 6.863798] cdns-csi2rx: probe of 4504000.csi-bridge failed with error -22
    [ 6.925972] cdns-csi2rx: probe of 4514000.csi-bridge failed with error -22

  • Hi,

    Let us reset the whole thing.

    Currently you have a fresh SDK 9.2 for J721e right?

    Step 1: Create the SD Card using create-sdcard.sh with tisdk-adas-image-j721s2-evm file system

    Step 2: You should have a SD Card with 2 partitions "boot" and "root"

    Step 3: If your setup is IMX390 camera + Fusion 1 board + J721E EVM, then apply the respective overlays in the uEnv.txt file under name_overlay (i.e. k3-j721s2-evm-fusion.dtbo for Fusion 1 board and k3-fpdlink-imx390-rcm-0-0.dtbo for imx390 cam) 

    If you are using different cam, please include the respective overlay instead of imx390.

    Step 4: Insert the SD Card onto the EVM and power ON the board.

    Step 5: Run "media-ctl -p" and check if you are able to detect the sensor and deserializer.

    Step 6: Now you are ready to stream from the sensor.

    Regards,

    Nikhil

  • hi:

    As you said, I am currently running SDK 9.2 

    for step 1 Create the SD Card using create-sdcard.sh with tisdk-adas-image-j721e-evm.tar.xz

    for step 2  I  have a SD Card with 2 partitions "boot" and "root“

    for step 3  I do not have k3-j721s2-evm-fusion.dtbo in my boot/ti directory, so I use k3-j721e-evm-fusion.dtbo and k3-fpdlink-imx390-rcm-0-0.dtbo

    root@j721e-evm:~# media-ctl -p
    Media controller API version 6.1.80
    
    Media device information
    ------------------------
    driver          j721e-csi2rx
    model           TI-CSI2RX
    serial
    bus info        platform:4500000.ticsi2rx
    hw revision     0x1
    driver version  6.1.80
    
    Device topology
    - entity 1: 4500000.ticsi2rx (17 pads, 0 link, 0 route)
                type V4L2 subdev subtype Unknown flags 0
            pad0: Sink
            pad1: Source
            pad2: Source
            pad3: Source
            pad4: Source
            pad5: Source
            pad6: Source
            pad7: Source
            pad8: Source
            pad9: Source
            pad10: Source
            pad11: Source
            pad12: Source
            pad13: Source
            pad14: Source
            pad15: Source
            pad16: Source
    
    [com COM8] (2024-05-11_112139) COM8 (USB Serial Port (COM8)).log

    for step 5 As shown in log

  • Hi,

    As seen in your logs from u-boot 

    Working FDT set to 88000000
    Failed to load '/boot/dtb/ti/ti/k3-j721e-evm-fusion.dtbo'
    Failed to load '/boot/dtb/ti/ti/k3-fpdlink-imx390-rcm-0-0.dtbo'
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000

    Could you please set the correct path to the overlays in uEnv.txt?

    Regards,

    Nikhil

  • hi

    I have set the correct path in uEnv.txt ,  As shown in log[com COM8] (2024-05-13_172542) COM8 (USB Serial Port (COM8)).log

  • Can you check media-ctl now and see if you can see the deseriazer and sensor?

    I don't see media-ctl for the latest logs

    Regards,

    Nikhil

  • root@j721e-evm:~# media-ctl -p
    Media controller API version 6.1.80

    Media device information
    ------------------------
    driver j721e-csi2rx
    model TI-CSI2RX
    serial
    bus info platform:4500000.ticsi2rx
    hw revision 0x1
    driver version 6.1.80

    Device topology
    - entity 1: 4500000.ticsi2rx (17 pads, 0 link, 0 route)
    type V4L2 subdev subtype Unknown flags 0
    pad0: Sink
    pad1: Source
    pad2: Source
    pad3: Source
    pad4: Source
    pad5: Source
    pad6: Source
    pad7: Source
    pad8: Source
    pad9: Source
    pad10: Source
    pad11: Source
    pad12: Source
    pad13: Source
    pad14: Source
    pad15: Source
    pad16: Source