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.

TDA4VM: Kernel crash when spi is enabled

Part Number: TDA4VM
Other Parts Discussed in Thread: DRA821U, , DRA821, DRA829, SYSCONFIG

Tool/software:

Dear TI

I'm using TDA4x EVM with DRA821U.

I followed "https://www.ti.com/lit/pdf/sprad26?keyMatch=DRA821" to enable spi, but it generated crash during boot up.

I'm using ti-processor-sdk-linux-j7200-evm-09_02_00_04 and the changes are like below

----------------------------------------------------------------------------------------------------------------------

diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
index fa965cdca..2e2189e59 100644
--- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
+++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
@@ -235,6 +235,18 @@ J721E_IOPAD(0x3c, PIN_INPUT, 0) /* (W16) MCAN3_RX */
J721E_IOPAD(0x38, PIN_OUTPUT, 0) /* (Y21) MCAN3_TX */
>;
};
+
+ spi6_pins_default: spi6_pins_default {
+ pinctrl-single,pins = <
+ J721E_IOPAD(0x9c, PIN_INPUT, 4) /* (AC22) PRG1_PRU1_GPO17.SPI6_CLK */
+ J721E_IOPAD(0x74, PIN_INPUT, 4) /* (AC21) PRG1_PRU1_GPO7.SPI6_CS0 */
+ J721E_IOPAD(0x28, PIN_INPUT, 4) /* (AG20) PRG1_PRU0_GPO9.SPI6_CS1 */
+ J721E_IOPAD(0x2c, PIN_INPUT, 4) /* (AD21) PRG1_PRU0_GPO10.SPI6_CS2 */
+ J721E_IOPAD(0x7c, PIN_INPUT, 4) /* (AF21) PRG1_PRU1_GPO9.SPI6_CS3 */
+ J721E_IOPAD(0xa0, PIN_INPUT, 4) /* (AJ22) PRG1_PRU1_GPO18.SPI6_D0 */
+ J721E_IOPAD(0xa4, PIN_INPUT, 4) /* (AH22) PRG1_PRU1_GPO19.SPI6_D1 */
+ >;
+ };
};

&main_pmx1 {
@@ -482,3 +494,15 @@ K3_TS_OFFSET(25, 17)
>;
};
};
+
+&main_spi6 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi6_pins_default>;
+ status="okay";
+
+ spidev@0 {
+ spi-max-frequency = <24000000>;
+ reg = <0>;
+ compatible = "linux,spidev";
+ };
+};
[In Docker Env] builder@a4b59b0143ee:~/build_place/DRA821U/ti-processor-sdk-linux-j7200-evm-09_02_00_04/board-support/ti-linux-kernel-6.1.80+gitAUTOINC+1c154b1fe4-ti$

----------------------------------------------------------------------------------------------------------------------

[ 5.517057] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
[ 5.523317] Modules linked in: k3_j72xx_bandgap spi_omap2_mcspi(+) ti_am335x_tscadc sa2ul m_can_platform m_can pci_j721e_host(+) pci_j721e pcie_cadence_host pcie_cadence can_dev cdns3_ti rti_wdt optee_rng rng_core cryptodev(O) fuse drm drm_panel_orientation_quirks ipv6
[ 5.547113] CPU: 1 PID: 198 Comm: systemd-udevd Tainted: G O 6.1.80-ti-g1c154b1fe4c4 #1
[ 5.556488] Hardware name: Texas Instruments J7200 EVM (DT)
[ 5.562045] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 5.568993] pc : clk_get_rate+0x20/0x80
[ 5.572825] lr : clk_get_rate+0x20/0x80
[ 5.576655] sp : ffff800009b738c0
[ 5.579957] x29: ffff800009b738c0 x28: 0000000000000000 x27: ffff800009b73c80
[ 5.587076] x26: ffff000800136c00 x25: ffff000800136c10 x24: ffff800000d30218
[ 5.594194] x23: ffff800000d30220 x22: 0000000000000000 x21: ffff0008032ae800
[ 5.601311] x20: 0000000000000030 x19: ffffffffffffffed x18: 0000000000000000
[ 5.608428] x17: 0000000000000000 x16: ffff800008ca0598 x15: 0000ffffaa652fff
[ 5.615545] x14: 000000000000027b x13: 1fffe00100464a81 x12: 0000000000000001
[ 5.622662] x11: 0000000000000000 x10: 00000000000009b0 x9 : ffff800009b73680
[ 5.629779] x8 : ffff00080128a4a0 x7 : 0000000000000000 x6 : ffff000801bb2ac0
[ 5.636896] x5 : ffff000801bb2ac0 x4 : 0000000000000000 x3 : ffff8000091f78e8
[ 5.644013] x2 : ffff000801bb2ac0 x1 : ffff000801bb2ac0 x0 : 0000000000000001
[ 5.651131] Call trace:
[ 5.653565] clk_get_rate+0x20/0x80
[ 5.657044] omap2_mcspi_probe+0x3a4/0x57c [spi_omap2_mcspi]
[ 5.662697] platform_probe+0x68/0xe0
[ 5.666349] really_probe+0xbc/0x2dc
[ 5.669913] __driver_probe_device+0x78/0x114
[ 5.674256] driver_probe_device+0xd8/0x15c
[ 5.678426] __driver_attach+0x94/0x19c
[ 5.682248] bus_for_each_dev+0x74/0xd4
[ 5.686070] driver_attach+0x24/0x30
[ 5.689633] bus_add_driver+0x154/0x20c
[ 5.693454] driver_register+0x78/0x130
[ 5.697277] __platform_driver_register+0x28/0x34
[ 5.701967] omap2_mcspi_driver_init+0x20/0x1000 [spi_omap2_mcspi]
[ 5.708134] do_one_initcall+0x54/0x1d0
[ 5.711957] do_init_module+0x48/0x1d0
[ 5.715695] load_module+0x18f4/0x1c80
[ 5.719432] __do_sys_finit_module+0xac/0x104
[ 5.723776] __arm64_sys_finit_module+0x20/0x30
[ 5.728292] invoke_syscall+0x48/0x114
[ 5.732029] el0_svc_common.constprop.0+0xd4/0xfc
[ 5.736718] do_el0_svc+0x20/0x30
[ 5.740020] el0_svc+0x28/0xa0
[ 5.743064] el0t_64_sync_handler+0xbc/0x140
[ 5.747320] el0t_64_sync+0x18c/0x190
[ 5.750971] Code: d2800013 b40001a0 aa0003f3 97fff669 (f9400273)
[ 5.757047] ---[ end trace 0000000000000000 ]---

BR

Jace

  • Hi,

    spi6_pins_default

    Under which pmx node are you adding the above dts node?

    We need to make sure that the pins are configured correctly.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1322931/faq-sk-tda4vm-how-to-enable-spidev-on-sk-tda4vm

    For 9.x SDK additional changes are needed please check the above FAQ.

    Best regards,

    Keerthy 

  • Hi.

    I added spi6_pins_default to main_pmx0 since main_pmx0 covers from  0x00 to 0x10c.

    Even I applied "0001-adding-linux-spidev-device-tree-compatibility-into-s.patch", it still generates crash.

    BR

    Jace

  • Hi Jace,

    One thing that I see is that it looks like DRA821 expects a different pin muxing than TDA4VM/DRA829. Could you replace the pinmuxing with the following:

    J721E_IOPAD(0x98, PIN_INPUT, 8) /* (V14) UART2_RXD.SPI6_CLK */
    J721E_IOPAD(0x28, PIN_INPUT, 8) /* (W21) MCAN1_TX.SPI6_CS0 */
    J721E_IOPAD(0x2c, PIN_INPUT, 8) /* (V16) MCAN1_RX.SPI6_CS1 */
    J721E_IOPAD(0x90, PIN_INPUT, 8) /* (W17) MCAN15_TX.SPI6_CS2 */
    J721E_IOPAD(0x94, PIN_INPUT, 8) /* (W20) MCAN15_RX.SPI6_CS3 */
    J721E_IOPAD(0x9c, PIN_INPUT, 8) /* (V13) UART2_TXD.SPI6_D0 */
    J721E_IOPAD(0xa0, PIN_INPUT, 8) /* (U12) GPIO0_41.SPI6_D1 */

    As a side note, these pinmuxing can be generated from sysconfig: https://www.ti.com/tool/SYSCONFIG. Or, they can be manually obtained by looking through datasheet: https://www.ti.com/lit/ds/symlink/dra821u.pdf

    Regards,

    Takuma

  • Hi Takuma

    Even I changed pnmux as you suggested, the crash still happens

    The changed part is like below.

    --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
    @@ -235,6 +235,18 @@ J721E_IOPAD(0x3c, PIN_INPUT, 0) /* (W16) MCAN3_RX */
    J721E_IOPAD(0x38, PIN_OUTPUT, 0) /* (Y21) MCAN3_TX */
    >;
    };
    +
    + spi6_pins_default: spi6_pins_default {
    + pinctrl-single,pins = <
    + J721E_IOPAD(0x98, PIN_INPUT, 8) /* (V14) UART2_RXD.SPI6_CLK */
    + J721E_IOPAD(0x28, PIN_INPUT, 8) /* (W21) MCAN1_TX.SPI6_CS0 */
    + J721E_IOPAD(0x2c, PIN_INPUT, 8) /* (V16) MCAN1_RX.SPI6_CS1 */
    + J721E_IOPAD(0x90, PIN_INPUT, 8) /* (W17) MCAN15_TX.SPI6_CS2 */
    + J721E_IOPAD(0x94, PIN_INPUT, 8) /* (W20) MCAN15_RX.SPI6_CS3 */
    + J721E_IOPAD(0x9c, PIN_INPUT, 8) /* (V13) UART2_TXD.SPI6_D0 */
    + J721E_IOPAD(0xa0, PIN_INPUT, 8) /* (U12) GPIO0_41.SPI6_D1 */
    + >;
    + };
    };

    When I checked DTS file, this change was applied correctly.

    - Convert dtb to dts and check spi6_pins_default

    spi6_pins_default {
            pinctrl-single,pins = <0x98 0x50008 0x28 0x50008 0x2c 0x50008 0x90 0x50008 0x94 0x50008 0x9c 0x50008 0xa0 0x50008>;
            phandle = <0x43>;
    };

    In the crash info, the problem is happening in below point.

    [ 5.653565] clk_get_rate+0x20/0x80
    [ 5.657044] omap2_mcspi_probe+0x3a4/0x57c [spi_omap2_mcspi]

    is this issue caused by the pinmux configuration ?

    BR

    Jace

  • Hi Jace,

    I see in the referenced appnote that the spi node needs a clock defined:

    I did not see that in the snippet of device tree sent, but is the clock defined?

    Regards,

    Takuma

  • Hi Takuma

    Basically, clock is defined in k3-j7200-main.dtsi like below.

    main_spi6: spi@2160000 {
    compatible = "ti,am654-mcspi","ti,omap4-mcspi";
    reg = <0x00 0x02160000 0x00 0x400>;
    interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
    #address-cells = <1>;
    #size-cells = <0>;
    power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>;
    clocks = <&k3_clks 272 1>;
    status = "disabled";
    };

    and I added below code based on it.

    +&main_spi6 {
    + pinctrl-names = "default";
    + pinctrl-0 = <&spi6_pins_default>;
    + status="okay";
    +
    + spidev@0 {
    + spi-max-frequency = <24000000>;
    + reg = <0>;
    + compatible = "linux,spidev";
    + };

    BR

    Jace

  • Hi Jace,

    Understood. Could you post the full boot logs before the kernel crash then? 

    Regards,

    Takuma

  • Hi Takuma.

    Please find log below.

    U-Boot SPL 2023.04-ti-gd2612223375a (Mar 13 2024 - 19:15:42 +0000)
    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 optee.readthedocs.io/.../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-ti-gd2612223375a (Mar 13 2024 - 19:15:42 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    Trying to boot from MMC2
    am654_sdhci mmc@4fb0000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
    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-ti-gd2612223375a (Mar 13 2024 - 19:15:42 +0000)

    SoC: J7200 SR2.0 GP
    Model: Texas Instruments K3 J7200 SoC
    Board: J7200X-PM2-SOM rev E8
    DRAM: 2 GiB (effective 4 GiB)
    Core: 85 devices, 32 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: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev A
    Detected: J7X-VSC8514-ETH rev E2
    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'
    574 bytes read in 6 ms (92.8 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    gpio: pin gpio@22_17 (gpio 126) value is 1
    gpio: pin gpio@22_16 (gpio 125) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j7200-mcu-r5f0_1-fw'
    576944 bytes read in 17 ms (32.4 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 576944 bytes: Success!
    Failed to load '/lib/firmware/j7200-main-r5f0_1-fw'
    19243520 bytes read in 229 ms (80.1 MiB/s)
    70066 bytes read in 9 ms (7.4 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    Loading Device Tree to 000000008feeb000, end 000000008fffffff ... OK
    Working FDT set to 8feeb000

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [ 0.000000] Linux version 6.1.80-00001-g256084731189-dirty (builder@a4b59b0143ee) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #8 SMP PREEMPT Thu Sep 12 10:50:29 KST 2024
    [ 0.000000] Machine model: Texas Instruments J7200 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 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] 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-0x00000000a47fffff]
    [ 0.000000] node 0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [ 0.000000] node 0: [mem 0x0000000880000000-0x00000008ffffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [ 0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
    [ 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=04ed89a0-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 0x00000000fa000000-0x00000000fe000000] (64MB)
    [ 0.000000] Memory: 3897404K/4194304K available (11648K kernel code, 1256K rwdata, 3780K rodata, 1984K init, 440K bss, 264132K reserved, 32768K 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.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [ 0.008344] Console: colour dummy device 80x25
    [ 0.012909] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [ 0.023581] pid_max: default: 32768 minimum: 301
    [ 0.028317] LSM: Security Framework initializing
    [ 0.033097] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.040674] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [ 0.049479] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.056881] cblist_init_generic: Setting shift to 1 and lim to 1.
    [ 0.063148] cblist_init_generic: Setting adjustable number of callback queues.
    [ 0.070534] cblist_init_generic: Setting shift to 1 and lim to 1.
    [ 0.076850] rcu: Hierarchical SRCU implementation.
    [ 0.081749] rcu: Max phase no-delay instances is 1000.
    [ 0.087255] Platform MSI: msi-controller@1820000 domain created
    [ 0.093404] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [ 0.102754] EFI services will not be available.
    [ 0.107489] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [ 0.120670] Detected PIPT I-cache on CPU1
    [ 0.120732] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [ 0.120747] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [ 0.120780] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [ 0.120832] smp: Brought up 1 node, 2 CPUs
    [ 0.150179] SMP: Total of 2 processors activated.
    [ 0.154984] CPU features: detected: 32-bit EL0 Support
    [ 0.160238] CPU features: detected: CRC32 instructions
    [ 0.165512] CPU: All CPU(s) started at EL2
    [ 0.169694] alternatives: applying system-wide alternatives
    [ 0.176214] devtmpfs: initialized
    [ 0.184219] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [ 0.194196] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [ 0.201808] pinctrl core: initialized pinctrl subsystem
    [ 0.207462] DMI not present or invalid.
    [ 0.211707] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [ 0.218289] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [ 0.225603] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [ 0.233642] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [ 0.241766] audit: initializing netlink subsys (disabled)
    [ 0.247361] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [ 0.247554] thermal_sys: Registered thermal governor 'step_wise'
    [ 0.255284] thermal_sys: Registered thermal governor 'power_allocator'
    [ 0.261440] cpuidle: using governor menu
    [ 0.272175] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [ 0.279136] ASID allocator initialised with 65536 entries
    [ 0.290748] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [ 0.301642] KASLR disabled due to lack of seed
    [ 0.309082] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [ 0.316043] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [ 0.322451] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [ 0.329395] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [ 0.335825] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [ 0.342761] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [ 0.349163] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [ 0.356096] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [ 0.363265] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [ 0.372487] iommu: Default domain type: Translated
    [ 0.377477] iommu: DMA domain TLB invalidation policy: strict mode
    [ 0.383995] SCSI subsystem initialized
    [ 0.387985] usbcore: registered new interface driver usbfs
    [ 0.393605] usbcore: registered new interface driver hub
    [ 0.399044] usbcore: registered new device driver usb
    [ 0.404375] pps_core: LinuxPPS API ver. 1 registered
    [ 0.409449] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.418794] PTP clock support registered
    [ 0.422861] EDAC MC: Ver: 3.0.0
    [ 0.426514] FPGA manager framework
    [ 0.430026] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.436663] clocksource: Switched to clocksource arch_sys_counter
    [ 0.443028] VFS: Disk quotas dquot_6.6.0
    [ 0.447061] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [ 0.457045] NET: Registered PF_INET protocol family
    [ 0.462434] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [ 0.471574] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [ 0.480327] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [ 0.488247] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [ 0.496478] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [ 0.505265] TCP: Hash tables configured (established 32768 bind 32768)
    [ 0.512111] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.519039] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [ 0.526485] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [ 0.532560] RPC: Registered named UNIX socket transport module.
    [ 0.538621] RPC: Registered udp transport module.
    [ 0.543423] RPC: Registered tcp transport module.
    [ 0.548225] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.554808] NET: Registered PF_XDP protocol family
    [ 0.559708] PCI: CLS 0 bytes, default 64
    [ 0.564078] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [ 0.573145] Initialise system trusted keyrings
    [ 0.577822] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [ 0.586503] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.592779] NFS: Registering the id_resolver key type
    [ 0.597965] Key type id_resolver registered
    [ 0.602237] Key type id_legacy registered
    [ 0.606358] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [ 0.613207] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [ 0.640850] Key type asymmetric registered
    [ 0.645035] Asymmetric key parser 'x509' registered
    [ 0.650043] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.657684] io scheduler mq-deadline registered
    [ 0.662317] io scheduler kyber registered
    [ 0.667790] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [ 0.673796] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [ 0.679595] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [ 0.685804] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [ 0.691754] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [ 0.697769] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [ 0.703826] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [ 0.712868] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [ 0.723833] loop: module loaded
    [ 0.727588] megasas: 07.719.03.00-rc1
    [ 0.732782] tun: Universal TUN/TAP device driver, 1.6
    [ 0.738229] VFIO - User Level meta-driver version: 0.3
    [ 0.743849] usbcore: registered new interface driver usb-storage
    [ 0.750323] i2c_dev: i2c /dev entries driver
    [ 0.755275] sdhci: Secure Digital Host Controller Interface driver
    [ 0.761610] sdhci: Copyright(c) Pierre Ossman
    [ 0.766164] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 0.772206] ledtrig-cpu: registered to indicate activity on CPUs
    [ 0.778430] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [ 0.785143] usbcore: registered new interface driver usbhid
    [ 0.790837] usbhid: USB HID core driver
    [ 0.795229] 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.799795] optee: revision 4.1 (012cdca4)
    [ 0.816231] optee: dynamic shared memory is enabled
    [ 0.825617] optee: initialized driver
    [ 0.830456] Initializing XFRM netlink socket
    [ 0.834844] NET: Registered PF_PACKET protocol family
    [ 0.840041] Key type dns_resolver registered
    [ 0.844606] registered taskstats version 1
    [ 0.848806] Loading compiled-in X.509 certificates
    [ 0.859713] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    [ 0.885970] ti-sci-clk 44083000.system-controller:clock-controller: recalc-rate failed for dev=272, clk=1, ret=-19
    [ 0.898977] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.905376] pca953x 1-0021: supply vcc not found, using dummy regulator
    [ 0.912207] pca953x 1-0021: using no AI
    [ 0.937069] pca953x 1-0020: supply vcc not found, using dummy regulator
    [ 0.943879] pca953x 1-0020: using no AI
    [ 0.948432] pca953x 1-0022: supply vcc not found, using dummy regulator
    [ 0.955243] pca953x 1-0022: using AI
    [ 0.959523] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [ 0.965648] pca953x 2-0020: supply vcc not found, using dummy regulator
    [ 0.972473] pca953x 2-0020: using no AI
    [ 0.997005] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
    [ 1.002763] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [ 1.011294] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [ 1.020621] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [ 1.029211] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [ 1.038864] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [ 1.048754] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [ 1.055514] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [ 1.065241] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [ 1.075398] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [ 1.082157] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [ 1.090119] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 251, base_baud = 6000000) is a 8250
    [ 1.099610] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 252, base_baud = 3000000) is a 8250
    [ 1.108459] printk: console [ttyS2] enabled
    [ 1.108459] printk: console [ttyS2] enabled
    [ 1.116900] printk: bootconsole [ns16550a0] disabled
    [ 1.116900] printk: bootconsole [ns16550a0] disabled
    [ 1.127323] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 253, base_baud = 3000000) is a 8250
    [ 1.137362] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [ 1.148765] gpio-mux mux-controller: 2-way mux-controller registered
    [ 1.148825] mmc0: CQHCI version 5.10
    [ 1.199739] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [ 1.294974] mmc0: Command Queue Engine enabled
    [ 1.299429] mmc0: new HS400 MMC card at address 0001
    [ 1.305106] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [ 1.315018] mmcblk0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 >
    [ 1.325854] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [ 1.332280] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [ 1.338001] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [ 1.463619] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [ 1.469619] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [ 1.507892] vdd_core_0v85: Bringing 800000uV into 850000-850000uV
    [ 1.627615] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [ 1.634438] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [ 1.641548] ######## __devm_of_phy_provider_register is called ##################
    [ 1.651212] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [ 1.662737] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [ 1.677179] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [ 1.682247] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [ 1.689350] Creating 7 MTD partitions on "47040000.spi.0":
    [ 1.694865] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [ 1.701367] 0x000000100000-0x000000300000 : "ospi.tispl"
    [ 1.707560] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [ 1.714308] 0x000000700000-0x000000740000 : "ospi.env"
    [ 1.720438] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [ 1.726956] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [ 1.733163] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [ 1.745742] mmc1: CQHCI version 5.10
    [ 1.745795] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [ 1.758099] ti-sci-clk 44083000.system-controller:clock-controller: is_prepared failed for dev=272, clk=1, ret=-19
    [ 1.771171] ALSA device list:
    [ 1.774157] No soundcards found.
    [ 1.799062] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [ 1.806728] Waiting for root device PARTUUID=04ed89a0-02...
    [ 1.864987] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [ 1.872203] mmcblk1: mmc1:aaaa SB16G 14.8 GiB
    [ 1.881441] mmcblk1: p1 p2
    [ 2.259370] EXT4-fs (mmcblk1p2): recovery complete
    [ 2.267025] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [ 2.275581] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [ 2.285381] devtmpfs: mounted
    [ 2.289696] Freeing unused kernel memory: 1984K
    [ 2.294336] Run /sbin/init as init process
    [ 2.417768] systemd[1]: System time before build time, advancing clock.
    [ 2.456322] NET: Registered PF_INET6 protocol family
    [ 2.461865] Segment Routing with IPv6
    [ 2.465541] In-situ OAM (IOAM) with IPv6
    [ 2.488264] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [ 2.519970] systemd[1]: Detected architecture arm64.

    Welcome to Arago 2023.10!

    [ 2.575337] systemd[1]: Hostname set to <j7200-evm>.
    [ 2.663378] systemd-sysv-generator[142]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [ 2.885039] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [ 2.942876] systemd[1]: Queued start job for default target Multi-User System.
    [ 2.993524] systemd[1]: Created slice Slice /system/getty.
    [ OK ] Created slice Slice /system/getty.
    [ 3.019017] systemd[1]: Created slice Slice /system/modprobe.
    [ OK ] Created slice Slice /system/modprobe.
    [ 3.043511] systemd[1]: Created slice Slice /system/serial-getty.
    [ OK ] Created slice Slice /system/serial-getty.
    [ 3.067070] systemd[1]: Created slice User and Session Slice.
    [ OK ] Created slice User and Session Slice.
    [ 3.089082] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Started Dispatch Password …ts to Console Directory Watch.
    [ 3.112989] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Started Forward Password R…uests to Wall Directory Watch.
    [ 3.137016] systemd[1]: Reached target Path Units.
    [ OK ] Reached target Path Units.
    [ 3.156825] systemd[1]: Reached target Remote File Systems.
    [ OK ] Reached target Remote File Systems.
    [ 3.176797] systemd[1]: Reached target Slice Units.
    [ OK ] Reached target Slice Units.
    [ 3.196826] systemd[1]: Reached target Swaps.
    [ OK ] Reached target Swaps.
    [ 3.252016] systemd[1]: Listening on RPCbind Server Activation Socket.
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ 3.272820] systemd[1]: Reached target RPC Port Mapper.
    [ OK ] Reached target RPC Port Mapper.
    [ 3.300647] systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    [ 3.321096] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [ OK ] Listening on initctl Compatibility Named Pipe.
    [ 3.345450] systemd[1]: Listening on Journal Audit Socket.
    [ OK ] Listening on Journal Audit Socket.
    [ 3.369260] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 3.393278] systemd[1]: Listening on Journal Socket.
    [ OK ] Listening on Journal Socket.
    [ 3.413450] systemd[1]: Listening on Network Service Netlink Socket.
    [ OK ] Listening on Network Service Netlink Socket.
    [ 3.437369] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ 3.457143] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ 3.477217] systemd[1]: Listening on User Database Manager Socket.
    [ OK ] Listening on User Database Manager Socket.
    [ 3.525077] systemd[1]: Mounting Huge Pages File System...
    Mounting Huge Pages File System...
    [ 3.549588] systemd[1]: Mounting POSIX Message Queue File System...
    Mounting POSIX Message Queue File System...
    [ 3.577653] systemd[1]: Mounting Kernel Debug File System...
    Mounting Kernel Debug File System...
    [ 3.601247] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [ 3.641080] systemd[1]: Mounting Temporary Directory /tmp...
    Mounting Temporary Directory /tmp...
    [ 3.662327] systemd[1]: Starting Create List of Static Device Nodes...
    Starting Create List of Static Device Nodes...
    [ 3.701160] systemd[1]: Starting Load Kernel Module configfs...
    Starting Load Kernel Module configfs...
    [ 3.721086] systemd[1]: Starting Load Kernel Module drm...
    Starting Load Kernel Module drm...
    [ 3.767508] systemd[1]: Starting Load Kernel Module fuse...
    Starting Load Kernel Module fuse...
    [ 3.779680] fuse: init (API version 7.37)
    [ 3.801039] systemd[1]: Starting RPC Bind...
    Starting RPC Bind...
    [ 3.824926] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [ 3.853406] systemd[1]: Starting Journal Service...
    Starting Journal Service...
    [ 3.876586] systemd[1]: Starting Load Kernel Modules...
    Starting Load Kernel Modules...
    [ 3.896603] systemd[1]: Starting Generate network units from Kernel command line...
    Starting Generate network …ts from Kernel command line...
    [ 3.917211] systemd[1]: Starting Remount Root and Kernel File Systems...
    Starting Remount Root and Kernel File Systems...
    [ 3.940014] systemd[1]: Starting Coldplug All udev Devices...
    Starting Coldplug All udev Devices...
    [ 3.951696] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [ 3.967919] systemd[1]: Started RPC Bind.
    [ OK ] Started RPC Bind.
    [ 3.993293] systemd[1]: Started Journal Service.
    [ OK ] Started Journal Service.
    [ OK ] Mounted Huge Pages File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Kernel Debug File System.
    [ OK ] Mounted Temporary Directory /tmp.
    [ OK ] Finished Create List of Static Device Nodes.
    [ OK ] Finished Load Kernel Module configfs.
    [ OK ] Finished Load Kernel Module drm.
    [ OK ] Finished Load Kernel Module fuse.
    [ OK ] Finished Load Kernel Modules.
    [ OK ] Finished Generate network units from Kernel command line.
    [ OK ] Finished Remount Root and Kernel File Systems.
    Mounting FUSE Control File System...
    Mounting Kernel Configuration File System...
    Starting Flush Journal to Persistent Storage...
    [ 4.324324] systemd-journald[157]: Received client request to flush runtime journal.
    Starting Apply Kernel Variables...
    Starting Create Static Device Nodes in /dev...
    [ OK ] Mounted FUSE Control File System.
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Finished Flush Journal to Persistent Storage.
    [ OK ] Finished Apply Kernel Variables.
    [ OK ] Finished Create Static Device Nodes in /dev.
    [ OK ] Reached target Preparation for Local File Systems.
    Mounting /media/ram...
    Mounting /var/volatile...
    [ 4.545814] audit: type=1334 audit(1651167747.128:2): prog-id=5 op=LOAD
    [ 4.553131] audit: type=1334 audit(1651167747.132:3): prog-id=6 op=LOAD
    Starting Rule-based Manage…for Device Events and Files...
    [ OK ] Finished Coldplug All udev Devices.
    [ OK ] Mounted /media/ram.
    [ OK ] Mounted /var/volatile.
    Starting Load/Save Random Seed...
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Rule-based Manager for Device Events and Files.
    [ OK ] Finished Create Volatile Files and Directories.
    Starting Network Time Synchronization...
    Starting Record System Boot/Shutdown in UTMP...
    [ OK ] Finished Record System Boot/Shutdown in UTMP.
    [ 4.909719] systemd-journald[157]: Oldest entry in /run/log/journal/ff53853da55942c8a0f9a2f0918200b2/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [ OK ] Started Network Time Synchronization.
    [ OK ] Reached target System Initializatio[ 4.947843] systemd-journald[157]: /run/log/journal/ff53853da55942c8a0f9a2f0918200b2/system.journal: Journal header limits reached or header out-of-date, rotating.
    n.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ OK ] Reached target System Time Set.
    [ OK ] Reached target Timer Units.
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [ OK ] Listening on D-Bus System Message B[ 5.045501] random: crng init done
    us Socket.
    [ 5.053911] CAN device driver interface
    Starting Docker Socket for the API...
    [ 5.078979] ######## __devm_of_phy_provider_register is called ##################
    [ 5.094349] Unable to handle kernel paging request at virtual address ffffffffffffffed
    [ 5.094619] ######## __devm_of_phy_provider_register is called ##################
    [ 5.109913] Mem abort info:
    [ 5.113114] ESR = 0x0000000096000004
    [ 5.117007] EC = 0x25: DABT (current EL), IL = 32 bits
    [ 5.122400] SET = 0, FnV = 0
    [ 5.125493] EA = 0, S1PTW = 0
    [ 5.129088] FSC = 0x04: level 0 translation fault
    [ 5.134036] Data abort info:
    [ 5.136979] ISV = 0, ISS = 0x00000004
    [ 5.140880] CM = 0, WnR = 0
    [ 5.143874] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082f28000
    [ 5.150615] [ffffffffffffffed] pgd=0000000000000000, p4d=0000000000000000
    [ 5.157452] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
    [ 5.163709] Modules linked in: sa2ul(+) pci_j721e(+) m_can_platform pcie_cadence_host m_can phy_gmii_sel(+) ti_am335x_tscadc pcie_cadence spi_omap2_mcspi(+) can_dev rti_wdt(+) optee_rng rng_core cdns3_ti fuse drm drm_panel_orientation_quirks ipv6
    [ 5.185506] CPU: 0 PID: 190 Comm: systemd-udevd Not tainted 6.1.80-00001-g256084731189-dirty #8
    [ 5.194186] Hardware name: Texas Instruments J7200 EVM (DT)
    [ 5.199743] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [ 5.206688] pc : clk_get_rate+0x20/0x80
    [ 5.210520] lr : clk_get_rate+0x20/0x80
    [ 5.214346] sp : ffff800009b5b8c0
    [ 5.217648] x29: ffff800009b5b8c0 x28: 0000000000000000 x27: ffff800009b5bc80
    [ 5.224770] x26: ffff000800136c00 x25: ffff000800136c10 x24: ffff800000cf0218
    [ 5.231891] x23: ffff800000cf0220 x22: 0000000000000000 x21: ffff000802365800
    [ 5.239013] x20: 0000000000000030 x19: ffffffffffffffed x18: ffff800009bf3bf8
    [ 5.246133] x17: 0000000000047000 x16: ffff800008c8c6d8 x15: 000000000000000c
    [ 5.253252] x14: 0000000000000166 x13: 1fffe00100478dc1 x12: 0000000000000001
    [ 5.260372] x11: 0000000000000000 x10: 00000000000009b0 x9 : ffff800009b5b680
    [ 5.267493] x8 : ffff00087f7b4180 x7 : 0000000000000000 x6 : ffff0008035e8e40
    [ 5.274613] x5 : ffff0008035e8e40 x4 : 0000000000000000 x3 : ffff8000091d7818
    [ 5.281734] x2 : ffff0008035e8e40 x1 : ffff0008035e8e40 x0 : 0000000000000001
    [ 5.288854] Call trace:
    [ 5.291291] clk_get_rate+0x20/0x80
    [ 5.294773] omap2_mcspi_probe+0x3a4/0x57c [spi_omap2_mcspi]
    [ 5.300430] platform_probe+0x68/0xe0
    [ 5.304088] really_probe+0xbc/0x2dc
    [ 5.307659] __driver_probe_device+0x78/0x114
    [ 5.312009] driver_probe_device+0xd8/0x15c
    [ 5.316185] __driver_attach+0x94/0x19c
    [ 5.320016] bus_for_each_dev+0x74/0xd4
    [ 5.323845] driver_attach+0x24/0x30
    [ 5.327414] bus_add_driver+0x154/0x20c
    [ 5.331243] driver_register+0x78/0x130
    [ 5.335070] __platform_driver_register+0x28/0x34
    [ 5.339766] omap2_mcspi_driver_init+0x20/0x1000 [spi_omap2_mcspi]
    [ 5.345941] do_one_initcall+0x54/0x1d0
    [ 5.349767] do_init_module+0x48/0x1d0
    [ 5.353508] load_module+0x18f4/0x1c80
    [ 5.357247] __do_sys_finit_module+0xac/0x104
    [ 5.361593] __arm64_sys_finit_module+0x20/0x30
    [ 5.366112] invoke_syscall+0x48/0x114
    [ 5.369850] el0_svc_common.constprop.0+0xd4/0xfc
    [ 5.374538] do_el0_svc+0x20/0x30
    [ 5.377840] el0_svc+0x28/0xa0
    [ 5.380885] el0t_64_sync_handler+0xbc/0x140
    [ 5.385141] el0t_64_sync+0x18c/0x190
    [ 5.388792] Code: d2800013 b40001a0 aa0003f3 97fff669 (f9400273)
    [ 5.394867] ---[ end trace 0000000000000000 ]---
    [ 5.412033] j721e-pcie-host 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [ OK ] Listening on dropbear.socket.
    Starting D-Bus System Message Bus...[ 5.444411] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)

    [ OK ] Finished Load/Save Random Seed.
    [ 5.488209] j721e-pcie-host 2910000.pcie: IO 0x0018001000..0x0018010fff -> 0x0018001000
    [ OK ] Listening on Docker Socket for the API.
    [ OK ] Found device /dev/ttyS2.
    [ 5.534563] j721e-pcie-host 2910000.pcie: MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [ OK ] Reached target Socket Units.[ 5.548887] platform 41000000.r5f: configured R5F for IPC-only mode

    BR

    Jace

  • Hi Jace,

    I reviewed our device tree and it looks like the clock has the wrong clock ID. 

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

    Could you change the ID from 1 to 4 like above patch?

    I think what happened was the clock ID from J721E was used instead of J7200: https://software-dl.ti.com/tisci/esd/latest/5_soc_doc/j7200/clocks.html#clocks-for-mcspi6-device

    Regards,

    Takuma

  • Hi Takuma

    I changed k3-j7200-main.dtsi as you suggested, but the crash still happen at the same point.

    diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
    index 16ff103cf..cdd5803da 100644
    --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
    @@ -1223,7 +1223,7 @@ main_spi6: spi@2160000 {
    #address-cells = <1>;
    #size-cells = <0>;
    power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>;
    - clocks = <&k3_clks 272 1>;
    + clocks = <&k3_clks 272 4>;
    status = "disabled";
    };

    ===================================================

    [ 5.016509] Call trace:
    [ 5.018943] clk_get_rate+0x20/0x80
    [ 5.022417] omap2_mcspi_probe+0x3a4/0x57c [spi_omap2_mcspi]

    BR

    Jace

  • Hi Jace,

    Could you add #define DEBUG to dd.c to enable more verbose logs for probing device driver?

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

    The boot logs should contain something like the following if working correctly:

    root@j7200-evm:~# dmesg | grep spi
    [    1.117572] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    1.121592] platform 47040000.spi: Added to deferred list
    [    1.532463] platform 47040000.spi: Retrying from deferred list
    [    1.536603] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    1.540612] platform 47040000.spi: Added to deferred list
    [    2.121116] platform 47040000.spi: Retrying from deferred list
    [    2.125187] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    2.129102] bus: 'platform': really_probe: probing driver cadence-qspi with device 47040000.spi
    [    2.129593] cadence-qspi 47040000.spi: Driver cadence-qspi requests probe deferral
    [    2.129687] platform 47040000.spi: Added to deferred list
    [    2.485184] platform 47040000.spi: Retrying from deferred list
    [    2.489411] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    2.493351] bus: 'platform': really_probe: probing driver cadence-qspi with device 47040000.spi
    [    2.499867] bus: 'spi': __driver_probe_device: matched device spi0.0 with driver spi-nor
    [    2.503828] bus: 'spi': really_probe: probing driver spi-nor with device spi0.0
    [    2.505210] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    2.510252] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    2.517299] Creating 7 MTD partitions on "47040000.spi.0":
    [    2.522790] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    2.529618] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    2.540663] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    2.551067] 0x000000700000-0x000000740000 : "ospi.env"
    [    2.559016] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    2.569760] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    2.580144] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    2.595117] driver: 'spi-nor': driver_bound: bound to device 'spi0.0'
    [    2.595497] bus: 'spi': really_probe: bound device spi0.0 to driver spi-nor
    [    2.595568] driver: 'cadence-qspi': driver_bound: bound to device '47040000.spi'
    [    2.595625] bus: 'platform': really_probe: bound device 47040000.spi to driver cadence-qspi
    [    6.136859] bus: 'platform': __driver_probe_device: matched device 2160000.spi with driver omap2_mcspi
    [    6.162531] bus: 'platform': really_probe: probing driver omap2_mcspi with device 2160000.spi
    [    6.179098] driver: 'omap2_mcspi': driver_bound: bound to device '2160000.spi'
    [    6.185078] bus: 'platform': really_probe: bound device 2160000.spi to driver omap2_mcspi
    root@j7200-evm:~# ls -l /sys/class/spi*
    /sys/class/spi_master:
    total 0
    lrwxrwxrwx 1 root root 0 Apr 28 17:42 spi0 -> ../../devices/platform/bus@100000/bus@100000:bus@28380000/47000000.syscon/47040000.spi/spi_master/spi0
    lrwxrwxrwx 1 root root 0 Apr 28 21:15 spi1 -> ../../devices/platform/bus@100000/2160000.spi/spi_master/spi1
    
    /sys/class/spi_slave:
    total 0
    
    /sys/class/spidev:
    total 0
    root@j7200-evm:~#
    
    

    If not, I will like to see where it cuts off.

    Regards,

    Takuma

  • Hi Takuma

    please find dmesg log after applying your patch

    [    0.731674] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    0.731692] platform 47040000.spi: Added to deferred list
    [    0.859339] platform 47040000.spi: Retrying from deferred list
    [    0.859381] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    0.859387] platform 47040000.spi: Added to deferred list
    [    1.140625] platform 47040000.spi: Retrying from deferred list
    [    1.140691] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    1.140696] bus: 'platform': really_probe: probing driver cadence-qspi with device 47040000.spi
    [    1.141189] cadence-qspi 47040000.spi: Driver cadence-qspi requests probe deferral
    [    1.141287] platform 47040000.spi: Added to deferred list
    [    1.691065] platform 47040000.spi: Retrying from deferred list
    [    1.691214] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    1.691225] bus: 'platform': really_probe: probing driver cadence-qspi with device 47040000.spi
    [    1.693667] bus: 'spi': __driver_probe_device: matched device spi0.0 with driver spi-nor
    [    1.693682] bus: 'spi': really_probe: probing driver spi-nor with device spi0.0
    [    1.694809] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.699884] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.706984] Creating 7 MTD partitions on "47040000.spi.0":
    [    1.712505] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    1.719035] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    1.725869] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    1.732250] 0x000000700000-0x000000740000 : "ospi.env"
    [    1.738184] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    1.744709] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.750926] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.764536] driver: 'spi-nor': driver_bound: bound to device 'spi0.0'
    [    1.764593] bus: 'spi': really_probe: bound device spi0.0 to driver spi-nor
    [    1.764629] driver: 'cadence-qspi': driver_bound: bound to device '47040000.spi'
    [    1.764668] bus: 'platform': really_probe: bound device 47040000.spi to driver cadence-qspi
    [    4.717115] bus: 'platform': __driver_probe_device: matched device 2160000.spi with driver omap2_mcspi
    [    4.717130] bus: 'platform': really_probe: probing driver omap2_mcspi with device 2160000.spi
    [    4.803615] Modules linked in: phy_gmii_sel rti_wdt(+) spi_omap2_mcspi(+) optee_rng rng_core fuse drm drm_panel_orientation_quirks ipv6
    [    4.924999]  omap2_mcspi_probe+0x3a4/0x57c [spi_omap2_mcspi]
    [    4.970612]  omap2_mcspi_driver_init+0x20/0x1000 [spi_omap2_mcspi]

    And if you are using TDA4x for J7200 EVM could you share your device tree to compare it with mine ?

    FYI, I attached all my changes based on ti-processor-sdk-linux-j7200-evm-09_02_00_04

    diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
    index fa965cdca..b6f56d570 100644
    --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
    @@ -235,6 +235,18 @@ J721E_IOPAD(0x3c, PIN_INPUT, 0) /* (W16) MCAN3_RX */
                            J721E_IOPAD(0x38, PIN_OUTPUT, 0) /* (Y21) MCAN3_TX */
                    >;
            };
    +
    +       spi6_pins_default: spi6_pins_default {
    +               pinctrl-single,pins = <
    +                       J721E_IOPAD(0x98, PIN_INPUT, 8) /* (V14) UART2_RXD.SPI6_CLK */
    +                       J721E_IOPAD(0x28, PIN_INPUT, 8) /* (W21) MCAN1_TX.SPI6_CS0 */
    +                       J721E_IOPAD(0x2c, PIN_INPUT, 8) /* (V16) MCAN1_RX.SPI6_CS1 */
    +                       J721E_IOPAD(0x90, PIN_INPUT, 8) /* (W17) MCAN15_TX.SPI6_CS2 */
    +                       J721E_IOPAD(0x94, PIN_INPUT, 8) /* (W20) MCAN15_RX.SPI6_CS3 */
    +                       J721E_IOPAD(0x9c, PIN_INPUT, 8) /* (V13) UART2_TXD.SPI6_D0 */
    +                       J721E_IOPAD(0xa0, PIN_INPUT, 8) /* (U12) GPIO0_41.SPI6_D1 */
    +               >;
    +       };
     };
    
     &main_pmx1 {
    @@ -482,3 +494,15 @@ K3_TS_OFFSET(25, 17)
                            >;
            };
     };
    +
    +&main_spi6 {
    +       pinctrl-names = "default";
    +       pinctrl-0 = <&spi6_pins_default>;
    +       status="okay";
    +
    +       spidev@0 {
    +               spi-max-frequency = <24000000>;
    +               reg = <0>;
    +               compatible = "linux,spidev";
    +       };
    +};
    diff --git a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
    index 16ff103cf..cdd5803da 100644
    --- a/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
    +++ b/arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
    @@ -1223,7 +1223,7 @@ main_spi6: spi@2160000 {
                    #address-cells = <1>;
                    #size-cells = <0>;
                    power-domains = <&k3_pds 272 TI_SCI_PD_EXCLUSIVE>;
    -               clocks = <&k3_clks 272 1>;
    +               clocks = <&k3_clks 272 4>;
                    status = "disabled";
            };
    
    diff --git a/drivers/base/dd.c b/drivers/base/dd.c
    index dbbe2cebb..c7add6d31 100644
    --- a/drivers/base/dd.c
    +++ b/drivers/base/dd.c
    @@ -1,3 +1,5 @@
    +#define DEBUG
    +
     // SPDX-License-Identifier: GPL-2.0
     /*
      * drivers/base/dd.c - The core device/driver interactions.
    diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c
    index 71c3db60e..a6980f51c 100644
    --- a/drivers/spi/spidev.c
    +++ b/drivers/spi/spidev.c
    @@ -726,6 +726,7 @@ static const struct of_device_id spidev_dt_ids[] = {
            { .compatible = "menlo,m53cpld", .data = &spidev_of_check },
            { .compatible = "cisco,spi-petra", .data = &spidev_of_check },
            { .compatible = "micron,spi-authenta", .data = &spidev_of_check },
    +       { .compatible = "linux,spidev", .data = &spidev_of_check },
            {},
     };
     MODULE_DEVICE_TABLE(of, spidev_dt_ids);
    

    BR

    Jace

  • Hi Jace,

    I reviewed and also applied your patch on top of default 9.2 SDK and was not able to reproduce your error message:

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_Enable_2D00_main_5F00_spi6_2D00_for_2D00_J7200_2D00_9.2_2D00_SDK.patch

    Below are the logs that I see:

    U-Boot SPL 2023.04-dirty (Aug 09 2024 - 13:42:34 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    i2c_write: error waiting for data ACK (status=0x116)
    read error from device: 41c86594 register: x!
    i2c_write: error waiting for data ACK (status=0x116)
    write error to device: 41c864e4 register: x!
    esm_pmic esm: clearing ESM irqs failed: -5
    ESM PMIC init failed: -5
    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-dirty (Aug 09 2024 - 13:42:31 -0500)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Detected: J7X-BASE-CPB rev E3
    debug: ending probe_daughtercards
    Trying to boot from MMC2
    am654_sdhci mmc@4fb0000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19
    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-dirty (Aug 09 2024 - 13:42:31 -0500)
    
    SoC:   J7200 SR2.0 GP
    Model: Texas Instruments K3 J7200 SoC
    Board: J7200X-PM2-SOM rev E8
    DRAM:  2 GiB (effective 4 GiB)
    Core:  85 devices, 32 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: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Detected: J7X-BASE-CPB rev E3
    debug: ending probe_daughtercards
    debug: made it to end of board_late_init
    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'
    574 bytes read in 8 ms (69.3 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    gpio: pin gpio@22_17 (gpio 126) value is 1
    gpio: pin gpio@22_16 (gpio 125) value is 0
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    73912 bytes read in 13 ms (5.4 MiB/s)
    Load Remote Processor 1 with data@addr=0x82000000 73912 bytes: Success!
    576944 bytes read in 21 ms (26.2 MiB/s)
    Load Remote Processor 2 with data@addr=0x82000000 576944 bytes: Success!
    73912 bytes read in 15 ms (4.7 MiB/s)
    Load Remote Processor 3 with data@addr=0x82000000 73912 bytes: Success!
    19374592 bytes read in 210 ms (88 MiB/s)
    70066 bytes read in 10 ms (6.7 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feeb000, end 000000008fffffff ... OK
    Working FDT set to 8feeb000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.80-dirty (a0488417local@udc0488417) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #25 SMP PREEMPT Wed Sep 25 15:37:19 CDT 2024
    [    0.000000] Machine model: Texas Instruments J7200 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 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] 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-0x00000000a47fffff]
    [    0.000000]   node   0: [mem 0x00000000a4800000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000008ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
    [    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=d53dd4dd-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 0x00000000fa000000-0x00000000fe000000] (64MB)
    [    0.000000] Memory: 3897276K/4194304K available (11712K kernel code, 1256K rwdata, 3812K rodata, 1984K init, 440K bss, 264260K reserved, 32768K 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.008343] Console: colour dummy device 80x25
    [    0.012910] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023581] pid_max: default: 32768 minimum: 301
    [    0.028317] LSM: Security Framework initializing
    [    0.033093] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.040670] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.049473] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.056877] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063143] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.070529] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.076849] rcu: Hierarchical SRCU implementation.
    [    0.081748] rcu:     Max phase no-delay instances is 1000.
    [    0.087251] Platform MSI: msi-controller@1820000 domain created
    [    0.093409] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.102782] EFI services will not be available.
    [    0.107517] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.120683] Detected PIPT I-cache on CPU1
    [    0.120748] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.120763] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.120795] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.120845] smp: Brought up 1 node, 2 CPUs
    [    0.150194] SMP: Total of 2 processors activated.
    [    0.154999] CPU features: detected: 32-bit EL0 Support
    [    0.160253] CPU features: detected: CRC32 instructions
    [    0.165527] CPU: All CPU(s) started at EL2
    [    0.169709] alternatives: applying system-wide alternatives
    [    0.176244] devtmpfs: initialized
    [    0.184240] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.194219] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.201827] pinctrl core: initialized pinctrl subsystem
    [    0.207500] DMI not present or invalid.
    [    0.211754] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.218329] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
    [    0.225649] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.233682] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.241808] audit: initializing netlink subsys (disabled)
    [    0.247402] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.247598] thermal_sys: Registered thermal governor 'step_wise'
    [    0.255324] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.261480] cpuidle: using governor menu
    [    0.272215] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.279178] ASID allocator initialised with 65536 entries
    [    0.290982] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@100000/pinctrl@a40000/mcu-cpsw-cpts
    [    0.301877] KASLR disabled due to lack of seed
    [    0.309321] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.316283] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.322692] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.329637] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.336066] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.343001] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.349402] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.356336] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.363521] k3-chipinfo 43000014.chipid: Family:J7200 rev:SR2.0 JTAGID[0x1bb6d02f] Detected
    [    0.372792] iommu: Default domain type: Translated
    [    0.377780] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.384313] SCSI subsystem initialized
    [    0.388297] usbcore: registered new interface driver usbfs
    [    0.393917] usbcore: registered new interface driver hub
    [    0.399353] usbcore: registered new device driver usb
    [    0.404709] pps_core: LinuxPPS API ver. 1 registered
    [    0.409781] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.419125] PTP clock support registered
    [    0.423194] EDAC MC: Ver: 3.0.0
    [    0.426875] FPGA manager framework
    [    0.430387] Advanced Linux Sound Architecture Driver Initialized.
    [    0.437032] clocksource: Switched to clocksource arch_sys_counter
    [    0.443402] VFS: Disk quotas dquot_6.6.0
    [    0.447434] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.457417] NET: Registered PF_INET protocol family
    [    0.462810] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.471949] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
    [    0.480705] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.488632] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.496866] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
    [    0.505628] TCP: Hash tables configured (established 32768 bind 32768)
    [    0.512481] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.519407] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
    [    0.526854] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.532932] RPC: Registered named UNIX socket transport module.
    [    0.538993] RPC: Registered udp transport module.
    [    0.543796] RPC: Registered tcp transport module.
    [    0.548601] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.555183] NET: Registered PF_XDP protocol family
    [    0.560084] PCI: CLS 0 bytes, default 64
    [    0.564465] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.573569] Initialise system trusted keyrings
    [    0.578242] workingset: timestamp_bits=46 max_order=20 bucket_order=0
    [    0.586938] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.593214] NFS: Registering the id_resolver key type
    [    0.598390] Key type id_resolver registered
    [    0.602662] Key type id_legacy registered
    [    0.606782] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.613631] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.640810] Key type asymmetric registered
    [    0.644994] Asymmetric key parser 'x509' registered
    [    0.650002] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.657643] io scheduler mq-deadline registered
    [    0.662276] io scheduler kyber registered
    [    0.668347] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.674343] pinctrl-single 4301c038.pinctrl: 2 pins, size 8
    [    0.680153] pinctrl-single 4301c068.pinctrl: 59 pins, size 236
    [    0.686363] pinctrl-single 4301c174.pinctrl: 8 pins, size 32
    [    0.692331] pinctrl-single 11c000.pinctrl: 67 pins, size 268
    [    0.698370] pinctrl-single 11c11c.pinctrl: 3 pins, size 12
    [    0.704444] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.713697] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.724725] loop: module loaded
    [    0.728504] megasas: 07.719.03.00-rc1
    [    0.733765] tun: Universal TUN/TAP device driver, 1.6
    [    0.739325] VFIO - User Level meta-driver version: 0.3
    [    0.744948] usbcore: registered new interface driver usb-storage
    [    0.751424] i2c_dev: i2c /dev entries driver
    [    0.756401] sdhci: Secure Digital Host Controller Interface driver
    [    0.762733] sdhci: Copyright(c) Pierre Ossman
    [    0.767298] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.773342] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.779572] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.786288] usbcore: registered new interface driver usbhid
    [    0.791982] usbhid: USB HID core driver
    [    0.796403] 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.800966] optee: revision 4.1 (012cdca4)
    [    0.817392] optee: dynamic shared memory is enabled
    [    0.826783] optee: initialized driver
    [    0.831616] Initializing XFRM netlink socket
    [    0.836005] NET: Registered PF_PACKET protocol family
    [    0.841198] Key type dns_resolver registered
    [    0.845746] registered taskstats version 1
    [    0.849945] Loading compiled-in X.509 certificates
    [    0.861259] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    [    0.890470] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.896840] pca953x 1-0021: supply vcc not found, using dummy regulator
    [    0.903663] pca953x 1-0021: using no AI
    [    0.929447] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    0.936252] pca953x 1-0020: using no AI
    [    0.940815] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    0.947624] pca953x 1-0022: using AI
    [    0.951912] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.958061] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    0.964889] pca953x 2-0020: using no AI
    [    0.989353] omap_i2c 2010000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.995155] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 137 domain created
    [    1.003704] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 131 domain created
    [    1.013050] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 213 domain created
    [    1.021657] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 209 created
    [    1.032591] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:235
    [    1.042480] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.049243] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.058928] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[120,200] sci-dev-id:211
    [    1.069090] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.075849] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.083829] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 251, base_baud = 6000000) is a 8250
    [    1.093354] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 252, base_baud = 3000000) is a 8250
    [    1.102199] printk: console [ttyS2] enabled
    [    1.102199] printk: console [ttyS2] enabled
    [    1.110645] printk: bootconsole [ns16550a0] disabled
    [    1.110645] printk: bootconsole [ns16550a0] disabled
    [    1.121095] 2810000.serial: ttyS3 at MMIO 0x2810000 (irq = 253, base_baud = 3000000) is a 8250
    [    1.130936] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.177039] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.185895] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.194176] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.207012] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.214222] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.220405] pps pps0: new PPS source ptp0
    [    1.224550] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.234861] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010b, freq:200000000, add_val:4 pps:0
    [    1.246615] mmc0: CQHCI version 5.10
    [    1.249247] gpio-mux mux-controller: 2-way mux-controller registered
    [    1.285090] tps6594 0-0048: error -EREMOTEIO: Failed to set PMIC state
    [    1.287610] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.291654] tps6594: probe of 0-0048 failed with error -121
    [    1.305007] tps6594 0-004c: error -EREMOTEIO: Failed to set PMIC state
    [    1.311650] tps6594: probe of 0-004c failed with error -121
    [    1.317624] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fc8900
    [    1.324606] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fc8900
    [    1.333689] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.344562] ti-udma 31150000.dma-controller: Channels: 50 (tchan: 25, rchan: 25, gp-rflow: 8)
    [    1.359215] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.364285] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.371354] Creating 7 MTD partitions on "47040000.spi.0":
    [    1.376848] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    1.383572] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    1.389970] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    1.396379] 0x000000700000-0x000000740000 : "ospi.env"
    [    1.402550] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    1.409386] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.415871] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.427982] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.444951] mmc0: Command Queue Engine enabled
    [    1.449422] mmc0: new HS400 MMC card at address 0001
    [    1.455033] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.461372] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    1.467185] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    1.472895] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.473057] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.488047] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.496333] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.509194] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.516410] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.523169] pps pps0: new PPS source ptp1
    [    1.527324] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.538690] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.547103] mmc1: CQHCI version 5.10
    [    1.547119] debugfs: Directory 'pd:240' with parent 'pm_genpd' already present!
    [    1.562151] ALSA device list:
    [    1.565145]   No soundcards found.
    [    1.589622] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.597284] Waiting for root device PARTUUID=d53dd4dd-02...
    [    1.653368] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    1.660693] mmcblk1: mmc1:aaaa SL32G 29.7 GiB
    [    1.669707]  mmcblk1: p1 p2
    [    1.848525] EXT4-fs (mmcblk1p2): recovery complete
    [    1.854268] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.862842] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    1.876236] devtmpfs: mounted
    [    1.880613] Freeing unused kernel memory: 1984K
    [    1.885293] Run /sbin/init as init process
    [    2.049849] systemd[1]: System time before build time, advancing clock.
    [    2.090217] NET: Registered PF_INET6 protocol family
    [    2.096308] Segment Routing with IPv6
    [    2.100001] In-situ OAM (IOAM) with IPv6
    [    2.125710] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid)
    [    2.157386] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.220062] systemd[1]: Hostname set to <j7200-evm>.
    [    2.307441] systemd-sysv-generator[145]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.551439] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.607533] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.663047] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.716840] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    2.739380] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    2.763914] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    2.787492] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    2.809460] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    2.833371] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    2.857445] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    2.873194] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    2.893167] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    2.909201] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    2.961874] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    2.985296] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.013716] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.037476] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.061860] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    3.085688] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.109724] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.125831] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.149792] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.169564] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.189609] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    3.241434] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.261824] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.309476] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.325575] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.346061] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.367058] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    3.393473] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    3.413658] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    3.432147] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.452672] fuse: init (API version 7.37)
    [    3.458268] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.477463] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    3.513790] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.542863] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.564528] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network …ts from Kernel command line...
    [    3.594518] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.624147] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...[    3.631312] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    
    [    3.659417] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    3.681584] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.
    [    3.701503] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    4.002870] systemd-journald[160]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [    4.254252] audit: type=1334 audit(1651167747.204:2): prog-id=5 op=LOAD
    [    4.261443] audit: type=1334 audit(1651167747.208:3): prog-id=6 op=LOAD
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Started Daily rotation of log files.
    [    4.742294] random: crng init done
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message B[    4.780072] CAN device driver interface
    us Socket.
             Starting Docker Socket for the API...
    [  OK  ] Listening on dropbear.socket.
    [    4.860355] j721e-pcie-host 2910000.pcie: host bridge /bus@100000/pcie@2910000 ranges:
    [    4.869641] j721e-pcie-host 2910000.pcie:       IO 0x0018001000..0x0018010fff -> 0x0018001000
    [    4.879300] j721e-pcie-host 2910000.pcie:      MEM 0x0018011000..0x001fffffff -> 0x0018011000
    [    4.888160] j721e-pcie-host 2910000.pcie:   IB MEM 0x0000000000..0xffffffffffff -> 0x0000000000
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
    [    4.927326] ti-udma 285c0000.dma-controller: chan1: is running!
             Starting Weston socket...
             Starting D-Bus System Message Bus...
    [    5.000071] platform 41000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Found device /dev/ttyS2.
    [    5.109102] platform 41000000.r5f: configured R5F for IPC-only mode
    [  OK  ] Started D-Bus System Message Bus.
    [    5.134163] platform 41000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [  OK  ] Reached target Socket Units.[    5.142976] remoteproc remoteproc0: 41000000.r5f is available
    
    [    5.158621] remoteproc remoteproc0: attaching to 41000000.r5f
    [  OK  ] Reached target Basic System.
    [    5.173957] platform 41000000.r5f: R5F core initialized in IPC-only mode
    [    5.187302] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting DEMO...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.[    5.314583] virtio_rpmsg_bus virtio0: rpmsg host is online
    
    [    5.319149] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
             Starting Telephony service...[    5.339454] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    
             Starting Expand the rootfs…ll size of the boot device....
    [  OK  ] Started strongSw[    5.384460] audit: type=1334 audit(1651182992.840:4): prog-id=7 op=LOAD
    an IPsec I…IKEv2 daemon using ipsec.conf.
    [    5.395810] audit: type=1334 audit(1651182992.852:5): prog-id=8 op=LOAD
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
    [    5.410236] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)
    [    5.420720] remoteproc remoteproc0: remote processor 41000000.r5f is now attached
    [    5.429053] platform 41400000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
             Starting Telnet Server...
    [    5.444990] platform 41400000.r5f: configured R5F for IPC-only mode
    [  OK  ] Started DEMO.
    [    5.454999] platform 41400000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Fi[    5.470764] remoteproc remoteproc1: 41400000.r5f is available
    ltering Framework.
    [  OK  ] Reached target     5.482890] remoteproc remoteproc1: attaching to 41400000.r5f
    ;39mPreparation for Network.
             Starting Net[    5.494401] platform 41400000.r5f: R5F core initialized in IPC-only mode
    work Configuration...
    [  OK  ] Finished     5.504357] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@a1000000
    mTelnet Server.
    [    5.519537] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    5.526901] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.536548] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    5.576354] rproc-virtio rproc-virtio.2.auto: registered virtio1 (type 7)
    [    5.584076] remoteproc remoteproc1: remote processor 41400000.r5f is now attached
    [  OK  ] Started Telephony service.
    [    5.594480] platform 5c00000.r5f: configured R5F for IPC-only mode
    [    5.686509] platform 5c00000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [    5.695322] remoteproc remoteproc2: 5c00000.r5f is available
    [    5.701062] remoteproc remoteproc2: attaching to 5c00000.r5f
    [    5.707506] platform 5c00000.r5f: R5F core initialized in IPC-only mode
    [    5.742552] rproc-virtio rproc-virtio.3.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [    5.766614] virtio_rpmsg_bus virtio2: rpmsg host is online
    [    5.789744] Bluetooth: Core ver 2.22
    [    5.789838] m_can_platform 2701000.can: m_can device registered (irq=512, version=32)
    [    5.793380] NET: Registered PF_BLUETOOTH protocol family
    [    5.793382] Bluetooth: HCI device and connection manager initialized
    [    5.793392] Bluetooth: HCI socket layer initialized
    [    5.793397] Bluetooth: L2CAP socket layer initialized
    [    5.793406] Bluetooth: SCO socket layer initialized
    [    5.837320] m_can_platform 40528000.can: m_can device registered (irq=513, version=32)
    [    5.852548] m_can_platform 40568000.can: m_can device registered (irq=514, version=32)
    [    5.868345] m_can_platform 2731000.can: m_can device registered (irq=515, version=32)
    [  OK  ] Started User Login Management.[    5.956280] rproc-virtio rproc-virtio.3.auto: registered virtio2 (type 7)
    
    [  OK  ] Finished Expand the rootfs…full[    5.969249] cfg80211: Loading compiled-in X.509 certificates for regulatory database
     size of the boot device..[    5.979435] remoteproc remoteproc2: remote processor 5c00000.r5f is now attached
    
    [    6.000116] platform 5d00000.r5f: configured R5F for IPC-only mode
    [    6.016506] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    6.024097] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    6.078013] platform 5d00000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [    6.089463] j721e-pcie-host 2910000.pcie: PCI host bridge to bus 0000:00
    [    6.098196] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    6.137894] remoteproc remoteproc3: 5d00000.r5f is available
    [    6.145126] remoteproc remoteproc3: attaching to 5d00000.r5f
    [    6.152162] platform 5d00000.r5f: R5F core initialized in IPC-only mode
    [    6.160865] rproc-virtio rproc-virtio.4.auto: assigned reserved memory node r5f-dma-memory@a3000000
    [  OK  ] Started Network Configuration.[    6.171548] virtio_rpmsg_bus virtio3: rpmsg host is online
    
    [    6.176185] virtio_rpmsg_bus virtio3: creating channel ti.ipc4.ping-pong addr 0xd
    [    6.188830] rproc-virtio rproc-virtio.4.auto: registered virtio3 (type 7)
    [    6.195220] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
    [    6.196746] remoteproc remoteproc3: remote processor 5d00000.r5f is now attached
    [    6.212479] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0x18001000-0x18010fff])
             Starting Network Name Resolution...
    [    6.235219] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    6.244846] pci_bus 0000:00: root bus resource [mem 0x18011000-0x1fffffff]
    [    6.252298] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    6.262632] pci 0000:00:00.0: [104c:b00f] type 01 class 0x060400
    [    6.328809] pci 0000:00:00.0: supports D1
    [    6.333177] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
    [    6.344102] pci 0000:00:00.0: reg 0x224: [mem 0x00000000-0x003fffff 64bit]
    [    6.357559] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x00000000-0x00ffffff 64bit] (contains BAR0 for 4 VFs)
    [    6.369177] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
    [    6.382709] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
    [    6.389813] pci 0000:00:00.0: BAR 7: assigned [mem 0x18400000-0x193fffff 64bit]
    [    6.400446] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    6.412115] pcieport 0000:00:00.0: PME: Signaling with IRQ 517
    [    6.419935] pcieport 0000:00:00.0: AER: enabled with IRQ 517
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland…ositor, as a system service...
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [    6.851517] audit: type=1334 audit(1651182994.308:6): prog-id=9 op=LOAD
    [    6.861178] audit: type=1334 audit(1651182994.316:7): prog-id=10 op=LOAD
             Starting User Database Manager...
    [    7.008308] SPI driver spidev has no spi_device_id for linux,spidev
    [  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
    [  OK  ] Started User Database Manager.
    [    7.112510] m_can_platform 2731000.can main_mcan3: renamed from can3
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [    7.191423] m_can_platform 40528000.can mcu_mcan0: renamed from can1
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [    7.222446] audit: type=1006 audit(1651182994.680:8): pid=532 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    7.243662] audit: type=1300 audit(1651182994.680:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffddc76c28 a2=4 a3=ffff9079c020 items=0 ppid=1 pid=532 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [    7.292257] audit: type=1327 audit(1651182994.680:8): proctitle="(systemd)"
    [    7.298932] m_can_platform 2701000.can main_mcan0: renamed from can0
    [    7.324149] m_can_platform 40568000.can mcu_mcan1: renamed from can2
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Started User Manager for UID 1000.
    [  OK  ] Started Session c1 of User wes[    7.738913] audit: type=1006 audit(1651182995.196:9): pid=474 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    ton.
    [    7.751495] audit: type=1300 audit(1651182995.196:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffddc76c28 a2=4 a3=ffff9079c020 items=0 ppid=1 pid=474 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [    7.778731] audit: type=1327 audit(1651182995.196:9): proctitle="(weston)"
    [FAILED] Failed to start Weston, a …mpositor, as a system service.
    See 'systemctl status weston.service' for details.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/boot-mmcblk1p1...
    [  OK  ] Started containerd container runtime.
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            adwaita-icon-theme-symbolic
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gnu-config
            grub-common
            grub-editenv
            grub-efi
            gzip
            hidapi
            less
            libasm1
            libatomic-dev
            libatomic1
            libbfd
            libdebuginfod1
            libdw1
            libelf1
            libgcc-s-dev
            libgcc1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libopcodes
            libqt5charts-examples
            libqt5charts-plugins
            libqt5charts-qmlplugins
            libqt5charts5
            libqt5sensors-plugins
            libqt5sensors-qmlplugins
            libqt5sensors5
            libqt5serialport-examples
            libqt5serialport-plugins
            libqt5serialport-qmlplugins
            libqt5serialport5
            libqt5svg-examples
            libqt5svg-plugins
            libqt5svg-qmlplugins
            libqt5svg5
            libqt5virtualkeyboard-plugins
            libqt5virtualkeyboard-qmlplugins
            libqt5virtualkeyboard5
            libqt5webchannel-plugins
            libqt5webchannel-qmlplugins
            libqt5webchannel5
            libreadline-dev
            libreadline8
            libstdc++-dev
            libstdc++6
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            piglit
            qt3d-plugins
            qt3d-qmlplugins
            qt3d
            qtbase-examples
            qtbase-plugins
            qtbase-qmlplugins
            qtbase
            qtconnectivity-plugins
            qtconnectivity-qmlplugins
            qtconnectivity
            qtdeclarative-plugins
            qtdeclarative-qmlplugins
            qtdeclarative-tools
            qtdeclarative
            qtgraphicaleffects-qmlplugins
            qtlocation-examples
            qtlocation-plugins
            qtlocation-qmlplugins
            qtlocation
            qtmultimedia-examples
            qtmultimedia-plugins
            qtmultimedia-qmlplugins
            qtmultimedia
            qtquics-qmlplugins.control
            qtquics2-plugins.control
            qtquics2-qmlplugins.control
            qtquics2.control
            qtscript-examples
            qtscript-plugins
            qtscript-qmlplugins
            qtscript
            qtwayland-examples
            qtwayland-plugins
            qtwayland-qmlplugins
            qtwayland
            tar
            which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Finished Print notice about GPLv3 packages.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Record Runlevel Change in UTMP...
    [  OK  ] Finished Record Runlevel Change in UTMP.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project j7200-evm -
    
    Arago 2023.10 j7200-evm -
    
    j7200-evm login: root
    [   16.180784] audit: type=1006 audit(1651183003.636:10): pid=995 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=3 res=1
    [   16.193626] audit: type=1300 audit(1651183003.636:10): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffddc76c28 a2=1 a3=ffff9079c020 items=0 ppid=1 pid=995 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   16.220762] audit: type=1327 audit(1651183003.636:10): proctitle="(systemd)"
    [   16.228254] audit: type=1334 audit(1651183003.656:11): prog-id=11 op=LOAD
    [   16.235456] audit: type=1300 audit(1651183003.656:11): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe4c17430 a2=78 a3=0 items=0 ppid=1 pid=995 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   16.261258] audit: type=1327 audit(1651183003.656:11): proctitle="(systemd)"
    [   16.268489] audit: type=1334 audit(1651183003.676:12): prog-id=11 op=UNLOAD
    [   16.275639] audit: type=1334 audit(1651183003.676:13): prog-id=12 op=LOAD
    [   16.282752] audit: type=1300 audit(1651183003.676:13): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffe4c174d0 a2=78 a3=0 items=0 ppid=1 pid=995 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   16.308341] audit: type=1327 audit(1651183003.676:13): proctitle="(systemd)"
    root@j7200-evm:~# dmesg | grep spi
    [    0.732785] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    0.732802] platform 47040000.spi: Added to deferred list
    [    0.860482] platform 47040000.spi: Retrying from deferred list
    [    0.860527] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    0.860533] platform 47040000.spi: Added to deferred list
    [    1.129836] platform 47040000.spi: Retrying from deferred list
    [    1.129901] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    1.129906] bus: 'platform': really_probe: probing driver cadence-qspi with device 47040000.spi
    [    1.130397] cadence-qspi 47040000.spi: Driver cadence-qspi requests probe deferral
    [    1.130494] platform 47040000.spi: Added to deferred list
    [    1.355512] platform 47040000.spi: Retrying from deferred list
    [    1.355672] bus: 'platform': __driver_probe_device: matched device 47040000.spi with driver cadence-qspi
    [    1.355683] bus: 'platform': really_probe: probing driver cadence-qspi with device 47040000.spi
    [    1.358115] bus: 'spi': __driver_probe_device: matched device spi0.0 with driver spi-nor
    [    1.358129] bus: 'spi': really_probe: probing driver spi-nor with device spi0.0
    [    1.359215] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.364285] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    1.371354] Creating 7 MTD partitions on "47040000.spi.0":
    [    1.376848] 0x000000000000-0x000000100000 : "ospi.tiboot3"
    [    1.383572] 0x000000100000-0x000000300000 : "ospi.tispl"
    [    1.389970] 0x000000300000-0x000000700000 : "ospi.u-boot"
    [    1.396379] 0x000000700000-0x000000740000 : "ospi.env"
    [    1.402550] 0x000000740000-0x000000780000 : "ospi.env.backup"
    [    1.409386] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.415871] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.427394] driver: 'spi-nor': driver_bound: bound to device 'spi0.0'
    [    1.427432] bus: 'spi': really_probe: bound device spi0.0 to driver spi-nor
    [    1.427455] driver: 'cadence-qspi': driver_bound: bound to device '47040000.spi'
    [    1.427478] bus: 'platform': really_probe: bound device 47040000.spi to driver cadence-qspi
    [    4.790377] bus: 'platform': __driver_probe_device: matched device 2160000.spi with driver omap2_mcspi
    [    4.790394] bus: 'platform': really_probe: probing driver omap2_mcspi with device 2160000.spi
    [    4.803475] driver: 'omap2_mcspi': driver_bound: bound to device '2160000.spi'
    [    4.803530] bus: 'platform': really_probe: bound device 2160000.spi to driver omap2_mcspi
    [    7.008308] SPI driver spidev has no spi_device_id for linux,spidev
    [    7.040226] bus: 'spi': __driver_probe_device: matched device spi1.0 with driver spidev
    [    7.040239] bus: 'spi': really_probe: probing driver spidev with device spi1.0
    [    7.040375] driver: 'spidev': driver_bound: bound to device 'spi1.0'
    [    7.040416] bus: 'spi': really_probe: bound device spi1.0 to driver spidev
    root@j7200-evm:~# ls -l /sys/class/spi*
    /sys/class/spi_master:
    total 0
    lrwxrwxrwx 1 root root 0 Apr 28 17:42 spi0 -> ../../devices/platform/bus@100000/bus@100000:bus@28380000/47000000.syscon/47040000.spi/spi_master/spi0
    lrwxrwxrwx 1 root root 0 Apr 28 21:57 spi1 -> ../../devices/platform/bus@100000/2160000.spi/spi_master/spi1
    
    /sys/class/spi_slave:
    total 0
    
    /sys/class/spidev:
    total 0
    lrwxrwxrwx 1 root root 0 Apr 28 21:57 spidev1.0 -> ../../devices/platform/bus@100000/2160000.spi/spi_master/spi1/spi1.0/spidev/spidev1.0
    root@j7200-evm:~#
    
    

    Just to confirm, are there any other modifications to the SDK or the EVM board?

    Regards,

    Takuma

  • Hi Takuma

    After clean build with the last patch, it works correctly.

    Thank you for your supprt !!

    BR

    Jace