This thread has been locked.

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

SK-AM68: Can falcon mode be enabled on SK-AM68 (J721S2/TDA4VX)

Part Number: SK-AM68


I found two related threads suggesting that falcon mode may not be supported on this processor.

Specifically, one saying k3 processors do not support falcon mode, and another saying that J721e does not have support.

I'm not asking if there is support today, but is it possible to implement on this processor by modifying u-boot-ti-staging.

I'd like to follow the AM62 FAQ that was released earlier this year, which seems to hint having k3 is actually not an issue.


https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1205638/faq-am625-how-to-boot-from-r5-u-boot-spl-directly-into-the-linux-kernel-skipping-a53-spl-and-a53-u-boot-falcon-mode

 

What other documentation is there to improve cold boot time?

I'm not seeing any reason falcon mode couldn't be implemented specifically on the A72 u-boot image.

  • Hi Evan,

    Just so that we are in the same page a couple of questions:

    • You want to directly load the kernel directly from the R5 SPL right?
    • You understand that R5 SPL has no support for remote core loading and you will have to wait all the way till Linux to load the remote core binaries.
    • If you have Linux fast boot as a requirement then this will help but if you need any remote cores to be loaded then this will be the slowest as you need to wait for Linux to load them.

    Please answer the above questions.

    Best Regards,

    Keerthy 

  • Hi Keerthy,

    Cold boot for our use-case is from power on to when the first image appears on the screen (so splash images may count, but prefer the desktop), so we don't actually care about how quickly any of the peripherals are up except for the screen.

    We are targeting 3-5 second cold boot time, so waiting on the other cores to load their firmware isn't very good for us.

    I'm considering doing the R5 SPL like normal and then skipping SPL on the A72 since that appears to be where most of the time is being spent?

    And yes, I see R5 isn't loading the remote cores, it's A72... I suppose this will have other ramifications if the cores don't respond in time for whatever the kernel is expecting.

    Thanks,

    Evan

  • Evan,

    So If I understood correctly:

    R5 SPL --> A72 ATF --> A72 OPTEE --> A72 U-Boot --> A72 kernel?

    Here are my questions:

    • You will use U-Boot to load the Remote core binaries?
    • The only boot stage that is skipped is A72 SPL?
    • You also plan to skip A72 OPTEE or you need it in your boot flow?

    - Keerthy

  • Yes, A72 SPL and A72 OPTEE... skipping OPTEE means we aren't in trusted execution though, right?

    Is it possible to skip A72 SPL but not the A72 OPTEE?

  • Hi Evan,

    I am trying that out. I am trying to skip A72 SPL and jump to U-Boot. I will update on the progress in a couple of days.

    - Keerthy

  • Hi Evan,

    I was debugging an issue with the 9.1 SDK that took more time. I have bypassed both A72 SPL and A72 U-Boot.

    R5 SPL --> ATF --> OPTEE --> Linux.


    From the kernel dts below changes:

    1. Fixes the issue with console address
    2. Adds the mmcblk1p2 i.e SD card as the rootfs.

    diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
    index bd66f848b..ca2f55d79 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
    @@ -19,7 +19,7 @@
     
            chosen {
                    stdout-path = "serial2:115200n8";
    -               bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,2880000";
    +               bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait loglevel=8";
            };
     
            aliases {
            
    diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
    index 3feadc999..0900843c7 100644
    --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
    @@ -18,6 +18,7 @@
            model = "Texas Instruments AM68 SK";
     
            chosen {
    +               bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait";
                    stdout-path = "serial2:115200n8";
            };
     
    

    I have tried on both j721s2-EVM.

    In the U-Boot repo:

    diff --git a/board/ti/j721s2/evm.c b/board/ti/j721s2/evm.c
    index eea2c256b3..ce3ff90c97 100644
    --- a/board/ti/j721s2/evm.c
    +++ b/board/ti/j721s2/evm.c
    @@ -107,6 +107,8 @@ static void __maybe_unused detect_enable_spinand(void *blob)
     #if defined(CONFIG_SPL_BUILD)
     void spl_perform_fixups(struct spl_image_info *spl_image)
     {
    +       return;
    +
    

    The above is needed as we don't have A72 SPL.

    Also for falcon mode I created a custom tispl.its_lin file which creates a new tispl.bin which has linux kernel + dtb instead of ATF/OPTEE.

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

    You can alter the binary paths as per the am68-sk board in your source code repo. All of this is based on 9.1 SDK and the above file is created under:
    $SDK_PATH/board-support/prebuilt-images

    You can create the tispl.bin with kernel/dtb using the below command:

    mkimage -E -f tispl.its_lin tispl.bin

    Copy the above tispl.bin to boot folder and you should see that R5 SPL --> ATF --> OPTEE --> Linux is taken.

    Check if the boot time is faster. You will need to do custom Linux dts optimization based on your requirements & use case.

    Logs:

    U-Boot SPL 2023.04-dirty (Mar 13 2024 - 14:33:29 +0530)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.0--v09.01.00 (Kool Koala)')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC2
    Loading Environment from nowhere... OK
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.9(release):v2.9.0-614-gd7a7135d32-dirty
    NOTICE:  BL31: Built : 09:34:15, Aug 24 2023
    I/TC: 
    I/TC: OP-TEE version: 4.0.0 (gcc version 11.4.0 (GCC)) #1 Fri Oct 20 18:29:31 UTC 2023 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.0--v09.01.00 (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
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.46-g5892b80d6b (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Mon Nov 27 16:11:04 UTC 2023
    [    0.000000] Machine model: Texas Instruments J721S2 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a3000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a3100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a3100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@a5000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a5100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@a5100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node c71-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node c71-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x00000000a9bfffff]
    [    0.000000]   node   0: [mem 0x00000000a9c00000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 19 pages/cpu s38376 r8192 d31256 u77824
    [    0.000000] pcpu-alloc: s38376 r8192 d31256 u77824 alloc=19*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    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: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    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: 4128768
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait loglevel=8
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15268856K/16777216K available (12352K kernel code, 1266K rwdata, 4028K rodata, 2112K init, 432K bss, 590856K reserved, 917504K 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.008403] Console: colour dummy device 80x25
    [    0.012972] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023644] pid_max: default: 32768 minimum: 301
    [    0.028383] LSM: Security Framework initializing
    [    0.033187] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.040965] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050014] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.057425] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063693] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.071080] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.077405] rcu: Hierarchical SRCU implementation.
    [    0.082304] rcu:     Max phase no-delay instances is 1000.
    [    0.087823] Platform MSI: msi-controller@1820000 domain created
    [    0.094041] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.103471] EFI services will not be available.
    [    0.108216] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.123278] Detected PIPT I-cache on CPU1
    [    0.123345] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.123359] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.123394] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.123451] smp: Brought up 1 node, 2 CPUs
    [    0.152801] SMP: Total of 2 processors activated.
    [    0.157606] CPU features: detected: 32-bit EL0 Support
    [    0.162859] CPU features: detected: CRC32 instructions
    [    0.168143] CPU: All CPU(s) started at EL2
    [    0.172325] alternatives: applying system-wide alternatives
    [    0.178962] devtmpfs: initialized
    [    0.189450] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.199437] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.218760] pinctrl core: initialized pinctrl subsystem
    [    0.224441] DMI not present or invalid.
    [    0.228706] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.235547] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.243221] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.251565] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.259788] audit: initializing netlink subsys (disabled)
    [    0.265434] audit: type=2000 audit(0.172:1): state=initialized audit_enabled=0 res=1
    [    0.265673] thermal_sys: Registered thermal governor 'step_wise'
    [    0.273357] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.279589] cpuidle: using governor menu
    [    0.290350] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.297320] ASID allocator initialised with 32768 entries
    [    0.311555] platform a000000.dp-bridge: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.320524] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.328804] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/i2c@2040000/dsi-edp-bridge@2c
    [    0.340743] platform a000000.dp-bridge: Fixed dependency cycle(s) with /dp0-connector
    [    0.348957] KASLR enabled
    [    0.354606] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.361556] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.367959] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.374894] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.381295] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.388230] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.394631] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.401564] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.408775] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.418450] iommu: Default domain type: Translated 
    [    0.423442] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.429980] SCSI subsystem initialized
    [    0.433892] libata version 3.00 loaded.
    [    0.437898] usbcore: registered new interface driver usbfs
    [    0.443523] usbcore: registered new interface driver hub
    [    0.448959] usbcore: registered new device driver usb
    [    0.454383] pps_core: LinuxPPS API ver. 1 registered
    [    0.459460] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.468798] PTP clock support registered
    [    0.472893] EDAC MC: Ver: 3.0.0
    [    0.476678] FPGA manager framework
    [    0.480192] Advanced Linux Sound Architecture Driver Initialized.
    [    0.486870] clocksource: Switched to clocksource arch_sys_counter
    [    0.493229] VFS: Disk quotas dquot_6.6.0
    [    0.497273] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.507336] NET: Registered PF_INET protocol family
    [    0.512707] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.525620] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.534532] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.542476] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.551170] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.559768] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.566668] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.573788] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.581443] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.587565] RPC: Registered named UNIX socket transport module.
    [    0.593634] RPC: Registered udp transport module.
    [    0.598438] RPC: Registered tcp transport module.
    [    0.603241] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.609826] NET: Registered PF_XDP protocol family
    [    0.614741] PCI: CLS 0 bytes, default 64
    [    0.619204] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.628464] Initialise system trusted keyrings
    [    0.633146] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.641705] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.647972] NFS: Registering the id_resolver key type
    [    0.653155] Key type id_resolver registered
    [    0.657426] Key type id_legacy registered
    [    0.661545] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.668394] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.695886] Key type asymmetric registered
    [    0.700072] Asymmetric key parser 'x509' registered
    [    0.705083] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.712736] io scheduler mq-deadline registered
    [    0.717369] io scheduler kyber registered
    [    0.723648] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.729762] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.735752] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.741796] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.747645] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.753869] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.763687] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.774106] loop: module loaded
    [    0.778051] megasas: 07.719.03.00-rc1
    [    0.783487] tun: Universal TUN/TAP device driver, 1.6
    [    0.789082] thunder_xcv, ver 1.0
    [    0.792406] thunder_bgx, ver 1.0
    [    0.795715] nicpf, ver 1.0
    [    0.798579] e1000: Intel(R) PRO/1000 Network Driver
    [    0.803560] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.809445] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.814515] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.820576] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.826090] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.831796] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.838199] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.844324] sky2: driver version 1.30
    [    0.848494] VFIO - User Level meta-driver version: 0.3
    [    0.854206] usbcore: registered new interface driver usb-storage
    [    0.860712] i2c_dev: i2c /dev entries driver
    [    0.865702] sdhci: Secure Digital Host Controller Interface driver
    [    0.872028] sdhci: Copyright(c) Pierre Ossman
    [    0.876611] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.882742] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.888993] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.895763] usbcore: registered new interface driver usbhid
    [    0.901459] usbhid: USB HID core driver
    [    0.905943] 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.910509] optee: revision 4.0 (2a5b1d12)
    [    0.926973] optee: dynamic shared memory is enabled
    [    0.936369] optee: initialized driver
    [    0.941373] Initializing XFRM netlink socket
    [    0.945765] NET: Registered PF_PACKET protocol family
    [    0.950967] Key type dns_resolver registered
    [    0.955550] registered taskstats version 1
    [    0.959753] Loading compiled-in X.509 certificates
    [    0.970511] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.0--v09.01.00 (Kool Koala)')
    [    1.004910] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.011487] pca953x 1-0021: supply vcc not found, using dummy regulator
    [    1.018326] pca953x 1-0021: using no AI
    [    1.043323] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    1.050143] pca953x 1-0020: using no AI
    [    1.054746] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.061557] pca953x 1-0022: using AI
    [    1.065880] omap_i2c 2000000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.072287] pca953x 2-0020: supply vcc not found, using dummy regulator
    [    1.079133] pca953x 2-0020: using no AI
    [    1.107217] omap_i2c 2040000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.113554] pca953x 3-0020: supply vcc not found, using dummy regulator
    [    1.120389] pca953x 3-0020: using no AI
    [    1.147207] omap_i2c 2050000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.153004] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    1.161550] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.170885] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.179545] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.190136] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.196907] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.206192] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.216082] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.222842] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.231744] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.241896] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.248654] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.256650] 40a00000.serial: ttyS1 at MMIO 0x40a00000 (irq = 216, base_baud = 6000000) is a 8250
    [    1.266179] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 217, base_baud = 3000000) is a 8250
    [    1.275038] printk: console [ttyS2] enabled
    [    1.275038] printk: console [ttyS2] enabled
    [    1.283481] printk: bootconsole [ns16550a0] disabled
    [    1.283481] printk: bootconsole [ns16550a0] disabled
    [    1.295256] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.338879] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.347534] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.355818] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.368689] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.375899] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.382117] pps pps0: new PPS source ptp0
    [    1.386285] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    1.396734] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:250000000, add_val:3 pps:0
    [    1.405646] mmc0: CQHCI version 5.10
    [    1.409292] gpio-mux mux-controller0: 2-way mux-controller registered
    [    1.416146] gpio-mux mux-controller1: 2-way mux-controller registered
    [    1.447430] mmc0: SDHCI controller on 4f80000.mmc [4f80000.mmc] using ADMA 64-bit
    [    1.543139] mmc0: Command Queue Engine enabled
    [    1.547616] mmc0: new HS400 MMC card at address 0001
    [    1.553076] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.558725]  mmcblk0: p1 p2
    [    1.561965] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB 
    [    1.567753] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB 
    [    1.573436] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (240:0)
    [    1.749316] tps6594-rtc tps6594-rtc.4.auto: registered as rtc0
    [    1.755280] tps6594-rtc tps6594-rtc.4.auto: hctosys: unable to read the hardware clock
    [    2.158665] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    2.165482] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    2.172271] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    2.179060] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    2.187092] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    2.197120] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    2.209476] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    2.214503] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    2.221549] Creating 7 MTD partitions on "47040000.spi.0":
    [    2.227021] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    2.233154] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    2.238968] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    2.244806] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    2.250407] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    2.256599] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    2.262458] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    2.273784] spi-nor spi1.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [    2.281119] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    2.326880] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.335524] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    2.343804] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    2.356686] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    2.363900] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    2.370076] pps pps0: new PPS source ptp1
    [    2.374242] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:1
    [    2.384156] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    2.392086] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present!
    [    2.399407] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present!
    [    2.399521] mmc1: CQHCI version 5.10
    [    2.407706] debugfs: Directory 'pd:154' with parent 'pm_genpd' already present!
    [    2.423459] ALSA device list:
    [    2.426424]   No soundcards found.
    [    2.451226] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    2.458848] Waiting for root device /dev/mmcblk1p2...
    [    2.516089] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    2.523126] mmcblk1: mmc1:aaaa SC16G 14.8 GiB 
    [    2.531786]  mmcblk1: p1 p2
    [    2.571359] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    2.579913] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.589654] devtmpfs: mounted
    [    2.593426] Freeing unused kernel memory: 2112K
    [    2.598068] Run /sbin/init as init process
    [    2.602158]   with arguments:
    [    2.605115]     /sbin/init
    [    2.607812]   with environment:
    [    2.610942]     HOME=/
    [    2.613289]     TERM=linux
    [    2.765323] systemd[1]: System time before build time, advancing clock.
    [    2.797465] vmap allocation for size 479232 failed: use vmalloc=<size> to increase size
    [    2.805501] systemd: vmalloc error: size 475136, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
    [    2.818192] CPU: 1 PID: 1 Comm: systemd Not tainted 6.1.46-g5892b80d6b #1
    [    2.824963] Hardware name: Texas Instruments J721S2 EVM (DT)
    [    2.830604] Call trace:
    [    2.833038]  dump_backtrace.part.0+0xdc/0xf0
    [    2.837305]  show_stack+0x18/0x30
    [    2.840608]  dump_stack_lvl+0x68/0x84
    [    2.844259]  dump_stack+0x18/0x34
    [    2.847559]  warn_alloc+0x114/0x1b0
    [    2.851037]  __vmalloc_node_range+0x590/0x6e0
    [    2.855379]  module_alloc+0xec/0x100
    [    2.858944]  load_module+0xa1c/0x1c80
    [    2.862595]  __do_sys_finit_module+0xac/0x104
    [    2.866939]  __arm64_sys_finit_module+0x20/0x30
    [    2.871456]  invoke_syscall+0x48/0x114
    [    2.875192]  el0_svc_common.constprop.0+0x44/0xfc
    [    2.879882]  do_el0_svc+0x30/0xd0
    [    2.883184]  el0_svc+0x2c/0x84
    [    2.886226]  el0t_64_sync_handler+0xbc/0x140
    [    2.890481]  el0t_64_sync+0x18c/0x190
    [    2.894145] Mem-Info:
    [    2.896411] active_anon:1 inactive_anon:99 isolated_anon:0
    [    2.896411]  active_file:343 inactive_file:1930 isolated_file:0
    [    2.896411]  unevictable:0 dirty:0 writeback:0
    [    2.896411]  slab_reclaimable:1153 slab_unreclaimable:3616
    [    2.896411]  mapped:1023 shmem:0 pagetables:2
    [    2.896411]  sec_pagetables:0 bounce:0
    [    2.896411]  kernel_misc_reclaimable:0
    [    2.896411]  free:4033045 free_pcp:1194 free_cma:228815
    [    2.934649] Node 0 active_anon:4kB inactive_anon:396kB active_file:1372kB inactive_file:7720kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:4092kB dirty:0kB writeback:0kB shmem:0kB shmo
    [    2.964575] DMA free:1822576kB boost:0kB min:5084kB low:6908kB high:8732kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB B
    [    2.991395] lowmem_reserve[]: 0 0 14022 14022
    [    2.995748] Normal free:14309604kB boost:0kB min:39968kB low:54324kB high:68680kB reserved_highatomic:0KB active_anon:4kB inactive_anon:416kB active_file:1460kB inactive_file:7784kB unevictable:0kB wrB
    [    3.024453] lowmem_reserve[]: 0 0 0 0
    [    3.028109] DMA: 4*4kB (UM) 4*8kB (M) 2*16kB (M) 3*32kB (M) 3*64kB (M) 4*128kB (M) 4*256kB (UM) 6*512kB (UM) 5*1024kB (UM) 5*2048kB (UM) 440*4096kB (M) = 1822576kB
    [    3.042710] Normal: 1*4kB (C) 4*8kB (UMEC) 2*16kB (MC) 1*32kB (C) 0*64kB 1*128kB (U) 2*256kB (MC) 3*512kB (UEC) 2*1024kB (UC) 3*2048kB (UME) 3491*4096kB (MC) = 14309604kB
    [    3.057917] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
    [    3.066595] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=32768kB
    [    3.075100] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
    [    3.083520] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=64kB
    [    3.091763] 2327 total pagecache pages
    [    3.095500] 0 pages in swap cache
    [    3.098799] Free swap  = 0kB
    [    3.101671] Total swap = 0kB
    [    3.104542] 4194304 pages RAM
    [    3.107499] 0 pages HighMem/MovableOnly
    [    3.111321] 147186 pages reserved
    [    3.114621] 229376 pages cma reserved
    [    3.118270] 0 pages hwpoisoned
    [    3.142264] 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 -L)
    [    3.173766] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    3.245516] systemd[1]: Hostname set to <j721s2-evm>.
    [    3.317248] systemd-sysv-generator[147]: 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.
    [    3.342486] systemd-sysv-generator[147]: SysV service '/etc/init.d/sysrepo' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a.
    [    3.369038] systemd-sysv-generator[147]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package t.
    [    3.393956] systemd-sysv-generator[147]: SysV service '/etc/init.d/netopeer2-server' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to .
    [    3.511372] systemd[1]: Configuration file /lib/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    3.553451] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    3.562383] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    3.589040] 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 set.
    [    3.633801] 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 .
    [    3.682586] systemd[1]: Queued start job for default target Graphical Interface.
    [    3.725461] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    3.748443] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    3.772385] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    3.795998] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.819109] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password ��…ts to Console Directory Watch.
    [    3.843038] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R��…uests to Wall Directory Watch.
    [    3.867102] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    3.882946] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.902933] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    3.918938] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    3.966085] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.991026] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    4.016015] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    4.039139] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    4.063326] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    4.083186] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.103231] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.119282] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.143252] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.163131] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.183169] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    4.223234] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    4.241713] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.265827] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    4.291198] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    4.323208] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    4.346517] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    4.373753] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    4.393705] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    4.401257] vmap allocation for size 32768 failed: use vmalloc=<size> to increase size
    [    4.415377] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    4.425419] vmap allocation for size 135168 failed: use vmalloc=<size> to increase size
    [    4.471405] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    4.500864] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    4.515182] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    4.532117] vmap allocation for size 479232 failed: use vmalloc=<size> to increase size
    [    4.544881] vmap allocation for size 479232 failed: use vmalloc=<size> to increase size
    [    4.553686] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.568107] vmap allocation for size 479232 failed: use vmalloc=<size> to increase size
    [    4.599514] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.618221] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network ��…ts from Kernel co[    4.633606] cryptodev: loading out-of-tree module taints kernel.
    mmand line...
    [    4.646348] vmap allocation for size 57344 failed: use vmalloc=<size> to increase size
    [    4.658074] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.672007] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    4.695844] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    4.728326] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.747503] 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.
    [FAILED] Failed to start Start psplash boot splash screen.
    See 'systemctl status psplash-start.service' for details.
    [DEPEND] Dependency failed for Star��…progress communication helper.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...[    5.102372] systemd-journald[162]: Received client request to flush runtime journal.
    
             Starting Create Static Device Nodes in /dev...
    [  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...
    [    5.282029] audit: type=1334 audit(1651167747.512:2): prog-id=5 op=LOAD
    [    5.288973] audit: type=1334 audit(1651167747.520: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.
    [    5.698903] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [    5.759596] systemd-journald[162]: Oldest entry in /run/log/journal/c7a06d691dc94895a5fc861fd3da0a40/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [  OK  ] Started Network Time Synchronizatio[    5.778734] systemd-journald[162]: /run/log/journal/c7a06d691dc94895a5fc861fd3da0a40/system.journal: Journal header limits reached or header out-of-date, ro.
    n.
    [    5.801260] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [  OK  ] Reached target System Initializatio[    5.811686] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    n.
    [    5.825966] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [    5.829004] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [  OK  ] Started Daily Cleanup of Temporary [    5.844186] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    Directories.
    [    5.844953] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [    5.866586] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [    5.874977] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [    5.875077] vmap allocation for size 20480 failed: use vmalloc=<size> to increase size
    [  OK  ] Reached target System Time Set.[    5.895059] vmap allocation for size 24576 failed: use vmalloc=<size> to increase size
    
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API...
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
             Starting Weston socket...
             Starting Console System Startup Logging...
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Finished Console System Startup Logging.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
    [  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.
             Starting Telephony service...
             Starting PulseAudio Sound System...
             Starting Expand the rootfs��…ll size of the boot device....
    [  OK  ] Started startwlanap.
    [  OK  ] Started startwlansta.
    [  OK  ] Started strongSwan IPsec I��…IKEv2 daemon using ipsec.conf.
             Starting User Login Management...
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Started ti-apps-launcher service.
    [  OK  ] Started DEMO.
    [FAILED] Failed to start Print notice about GPLv3 packages.
    See 'systemctl status gplv3-notice.service' for details.
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Finished Expand the rootfs��…full size of the boot device..
    [  OK  ] Started PulseAudio Sound System.
    [  OK  ] Started Telephony service.
    [  OK  ] Reached target Preparation for Network.
             Starting Network Configuration...
    [  OK  ] Started User Login Management.
    [  OK  ] Started Network Configuration.
    [    7.212692] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    7.231224] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
             Starting Network Name Resolution...
    [  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...
    [FAILED] Failed to start Enable and��…figure wl18xx bluetooth stack.
    See 'systemctl status bt-enable.service' for details.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  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...
             Starting User Database Manager...
    [  OK  ] Started Simple Network Man��…ement Protocol (SNMP) Daemon..
    [  OK  ] Started User Database Manager.
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [  OK  ] Finished Synchronize System and HW clocks.
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Started User Manager for UID 1000.
    [  OK  ] Started Session c1 of User weston.
    [FAILED] Failed to start Weston, a ��…mpositor, as a system service.
    See 'systemctl status weston.service' for details.
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting File System Check on /dev/mmcblk0p1...
             Starting Weston, a Wayland��…ositor, as a system service...
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Started Session c2 of User weston.
    [  OK  ] Started containerd container runtime.
    [  OK  ] Finished File System Check on /dev/mmcblk0p1.
             Mounting /run/media/boot-mmcblk0p1...
    [FAILED] Failed to start Weston, a ��…mpositor, as a system service.
    See 'systemctl status weston.service' for details.
             Starting Weston, a Wayland��…ositor, as a system service...
    [  OK  ] Finished File System Check on /dev/mmcblk0p2.
    [  OK  ] Mounted /run/media/boot-mmcblk0p1.
    [  OK  ] Found device /dev/mmcblk1p1.
             Mounting /run/media/rootfs-mmcblk0p2...
             Starting File System Check on /dev/mmcblk1p1...
    [    9.315543] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
    [  OK  ] Started Session c3 of User weston.
    [  OK  ] Mounted /run/media/rootfs-mmcblk0p2.
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
    [FAILED] Failed to start Weston, a ��…mpositor, as a system service.
    See 'systemctl status weston.service' for details.
             Mounting /run/media/BOOT-mmcblk1p1...
             Starting Weston, a Wayland��…ositor, as a system service...
    [  OK  ] Mounted /run/media/BOOT-mmcblk1p1.
    [  OK  ] Started Session c4 of User weston.
    [FAILED] Failed to start Weston, a ��…mpositor, as a system service.
    See 'systemctl status weston.service' for details.
             Starting Weston, a Wayland��…ositor, as a system service...                                                  
    [  OK  ] Started Session c5 of User weston.                                                                           
    [FAILED] Failed to start Weston, a ��…mpositor, as a system service.                                                  
    See 'systemctl status weston.service' for details.                                                                    
    [FAILED] Failed to start Weston, a ��…mpositor, as a system service.                                                  
    See 'systemctl status weston.service' for details.
             Starting EdgeAI OOB demos...
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project j721s2-evm -
    
    Arago 2023.10 j721s2-evm -
    
    

    Best Regards,
    Keerthy

  • Thanks so much Keerthy! I'll try this out!

  • Hi Keerthy,

    I found it improved our boot time by about 2 seconds!

    We still have a way to go, still need to shave off at least 5 seconds.

    The k3-am68-sk-base-board.dts is missing the hdmi output. Which dts should I merge to enable it?

    Thanks,

    Evan

  • Hi Evan,

    HDMI should have some definitions inside k3-am68-sk-base-board.dts. For example: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts?h=ti-linux-6.1.y#n141

    Are these missing? Or are they there, but is there some error logs that are being seen at runtime that is implying HDMI output is missing?

    Regards,

    Takuma

  • Hi Takuma,

    Yes, I see the HDMI settings are there now.

    Perhaps the HDMI output isn't working because u-boot hasn't performed the device tree fixups?
    Or maybe the HDMI enable pin was getting enabled in u-boot?

    gpioinfo shows the powerdown pin is unused when doing falcon mode.

    Here's the normal gpioinfo:

    root@am68a-sk:/opt/edgeai-gst-apps# gpioinfo
    gpiochip0 - 8 lines:
            line   0:   "HDMI_PDn"  "powerdown"  output   active-low [used]
            line   1: "HDMI_LS_OE"       unused   input  active-high
            line   2: "DP0_3V3_EN" "fixedregulator-dp0-pwr" output active-high [used]
            line   3: "eDP_ENABLE"     "enable"  output  active-high [used]
            line   4:      unnamed       unused   input  active-high
            line   5:      unnamed       unused   input  active-high
            line   6:      unnamed       unused   input  active-high
            line   7:      unnamed       unused   input  active-high
    gpiochip1 - 16 lines:
            line   0:          " "       unused   input  active-high
            line   1:          " "       unused   input  active-high
            line   2:          " "       unused   input  active-high
            line   3:          " "       unused   input  active-high
            line   4:          " "       unused   input  active-high
            line   5: "BOARDID_EEPROM_WP" unused input active-high
            line   6:    "CAN_STB"       unused   input  active-high
            line   7:          " "       unused   input  active-high
            line   8: "GPIO_uSD_PWR_EN" "fixedregulator-sd" output active-high [used]
            line   9:          " "       unused   input  active-high
            line  10: "IO_EXP_PCIe1_M.2_RTSz" "reset" output active-high [used]
            line  11: "IO_EXP_MCU_RGMII_RST#" unused input active-high
            line  12:          " "       unused   input  active-high
            line  13:          " "       unused   input  active-high
            line  14:          " "       unused   input  active-high
            line  15:          " "       unused   input  active-high
    


    Here's the gpioinfo without the fixups:

    root@j721s2-evm:/opt/edgeai-gst-apps# gpioinfo
    gpiochip0 - 8 lines:
    	line   0:   "HDMI_PDn"       unused   input  active-high 
    	line   1: "HDMI_LS_OE"       unused   input  active-high 
    	line   2: "DP0_3V3_EN" "fixedregulator-dp0-pwr" output active-high [used]
    	line   3: "eDP_ENABLE"       unused   input  active-high 
    	line   4:      unnamed       unused   input  active-high 
    	line   5:      unnamed       unused   input  active-high 
    	line   6:      unnamed       unused   input  active-high 
    	line   7:      unnamed       unused   input  active-high 
    gpiochip1 - 16 lines:
    	line   0:          " "       unused   input  active-high 
    	line   1:          " "       unused   input  active-high 
    	line   2:          " "       unused   input  active-high 
    	line   3:          " "       unused   input  active-high 
    	line   4:          " "       unused   input  active-high 
    	line   5: "BOARDID_EEPROM_WP" unused input active-high 
    	line   6:    "CAN_STB"       unused   input  active-high 
    	line   7:          " "       unused   input  active-high 
    	line   8: "GPIO_uSD_PWR_EN" "regulator-sd" output active-high [used]
    	line   9:          " "       unused   input  active-high 
    	line  10: "IO_EXP_PCIe1_M.2_RTSz" unused input active-high 
    	line  11: "IO_EXP_MCU_RGMII_RST#" unused input active-high 
    	line  12:          " "       unused   input  active-high 
    	line  13:          " "       unused   input  active-high 
    	line  14:          " "       unused   input  active-high 
    	line  15:          " "       unused   input  active-high 


    Perhaps I need to re-compile u-boot with SPL export enabled, and export the FDT after running load fdt?

  • Hi Evan,

    Perhaps I need to re-compile u-boot with SPL export enabled, and export the FDT after running load fdt?

    Not quite sure on this one... but you could experiment and see if it improves the behavior you are seeing. I assume device tree is at least partially being read correctly since gpioinfo shows the GPIO line names defined here: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts?h=ti-linux-6.1.y#n467

    Could you send the boot logs from "dmesg" command? Would like to see if there is some dependent kernel module that failed to probe causing the gpio pins to not get consumed by the kernel drivers.

    Regards,

    Takuma

  • Hi Takuma,

    I'm attaching the dmesg log.

    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.46-g5892b80d6b (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Mon Nov 27 16:11:04 UTC 2023
    [    0.000000] Machine model: Texas Instruments AM68 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000bc8000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    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-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    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 19 pages/cpu s38376 r8192 d31256 u77824
    [    0.000000] pcpu-alloc: s38376 r8192 d31256 u77824 alloc=19*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 
    [    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: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    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: 4128768
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait quiet
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 15428372K/16777216K available (12352K kernel code, 1266K rwdata, 4028K rodata, 2112K init, 432K bss, 431340K reserved, 917504K 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.000205] Console: colour dummy device 80x25
    [    0.000234] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.000240] pid_max: default: 32768 minimum: 301
    [    0.000264] LSM: Security Framework initializing
    [    0.000348] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.000385] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.001249] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.001256] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.001299] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.001301] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.001388] rcu: Hierarchical SRCU implementation.
    [    0.001391] rcu: 	Max phase no-delay instances is 1000.
    [    0.001565] Platform MSI: msi-controller@1820000 domain created
    [    0.001683] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.001827] EFI services will not be available.
    [    0.001942] smp: Bringing up secondary CPUs ...
    [    0.012382] Detected PIPT I-cache on CPU1
    [    0.012449] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.012464] GICv3: CPU1: using allocated LPI pending table @0x0000000880050000
    [    0.012497] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.012548] smp: Brought up 1 node, 2 CPUs
    [    0.012554] SMP: Total of 2 processors activated.
    [    0.012557] CPU features: detected: 32-bit EL0 Support
    [    0.012560] CPU features: detected: CRC32 instructions
    [    0.012596] CPU: All CPU(s) started at EL2
    [    0.012598] alternatives: applying system-wide alternatives
    [    0.013484] devtmpfs: initialized
    [    0.019838] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.019854] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.030608] pinctrl core: initialized pinctrl subsystem
    [    0.030916] DMI not present or invalid.
    [    0.031256] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.032056] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.032427] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.032791] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.032836] audit: initializing netlink subsys (disabled)
    [    0.032929] audit: type=2000 audit(0.032:1): state=initialized audit_enabled=0 res=1
    [    0.033137] thermal_sys: Registered thermal governor 'step_wise'
    [    0.033141] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.033166] cpuidle: using governor menu
    [    0.033241] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.033277] ASID allocator initialised with 32768 entries
    [    0.042055] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/dss@4a00000
    [    0.042073] platform 4800000.dsi: Fixed dependency cycle(s) with /bus@100000/bus@28380000/i2c@40b10000/dsi-edp-bridge@2c
    [    0.043750] platform hdmi-connector: Fixed dependency cycle(s) with /dvi-bridge
    [    0.043782] platform 4a00000.dss: Fixed dependency cycle(s) with /dvi-bridge
    [    0.043965] KASLR enabled
    [    0.046940] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.046947] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.046951] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.046953] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.046956] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.046957] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.046960] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.046962] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.047713] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.048644] iommu: Default domain type: Translated 
    [    0.048652] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.048782] SCSI subsystem initialized
    [    0.048873] libata version 3.00 loaded.
    [    0.048960] usbcore: registered new interface driver usbfs
    [    0.048980] usbcore: registered new interface driver hub
    [    0.048991] usbcore: registered new device driver usb
    [    0.049248] pps_core: LinuxPPS API ver. 1 registered
    [    0.049250] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.049256] PTP clock support registered
    [    0.049347] EDAC MC: Ver: 3.0.0
    [    0.049980] FPGA manager framework
    [    0.050019] Advanced Linux Sound Architecture Driver Initialized.
    [    0.050460] clocksource: Switched to clocksource arch_sys_counter
    [    0.050570] VFS: Disk quotas dquot_6.6.0
    [    0.050591] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.053502] NET: Registered PF_INET protocol family
    [    0.053941] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.059220] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.059291] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.059308] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.059719] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.060722] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.060831] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.060997] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.061268] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.061573] RPC: Registered named UNIX socket transport module.
    [    0.061580] RPC: Registered udp transport module.
    [    0.061582] RPC: Registered tcp transport module.
    [    0.061584] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.061589] NET: Registered PF_XDP protocol family
    [    0.061600] PCI: CLS 0 bytes, default 64
    [    0.061971] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.062892] Initialise system trusted keyrings
    [    0.063036] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.064997] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.065290] NFS: Registering the id_resolver key type
    [    0.065303] Key type id_resolver registered
    [    0.065305] Key type id_legacy registered
    [    0.065332] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.065336] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.084964] Key type asymmetric registered
    [    0.084969] Asymmetric key parser 'x509' registered
    [    0.085007] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.085100] io scheduler mq-deadline registered
    [    0.085105] io scheduler kyber registered
    [    0.087320] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.087409] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.087517] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.087583] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.087727] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.091582] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.095550] loop: module loaded
    [    0.096253] megasas: 07.719.03.00-rc1
    [    0.097942] tun: Universal TUN/TAP device driver, 1.6
    [    0.098394] thunder_xcv, ver 1.0
    [    0.098413] thunder_bgx, ver 1.0
    [    0.098427] nicpf, ver 1.0
    [    0.098558] e1000: Intel(R) PRO/1000 Network Driver
    [    0.098561] e1000: Copyright (c) 1999-2006 Intel Corporation.
    [    0.098579] e1000e: Intel(R) PRO/1000 Network Driver
    [    0.098581] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
    [    0.098597] igb: Intel(R) Gigabit Ethernet Network Driver
    [    0.098599] igb: Copyright (c) 2007-2014 Intel Corporation.
    [    0.098619] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.098621] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.098700] sky2: driver version 1.30
    [    0.099173] VFIO - User Level meta-driver version: 0.3
    [    0.099652] usbcore: registered new interface driver usb-storage
    [    0.100004] i2c_dev: i2c /dev entries driver
    [    0.100646] sdhci: Secure Digital Host Controller Interface driver
    [    0.100650] sdhci: Copyright(c) Pierre Ossman
    [    0.100788] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.101171] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.101278] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.101456] usbcore: registered new interface driver usbhid
    [    0.101459] usbhid: USB HID core driver
    [    0.102020] optee: probing for conduit method.
    [    0.102039] optee: revision 4.0 (2a5b1d12)
    [    0.118484] optee: dynamic shared memory is enabled
    [    0.118715] optee: initialized driver
    [    0.119868] Initializing XFRM netlink socket
    [    0.119888] NET: Registered PF_PACKET protocol family
    [    0.119928] Key type dns_resolver registered
    [    0.120138] registered taskstats version 1
    [    0.120152] Loading compiled-in X.509 certificates
    [    0.125972] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.2--v09.01.02 (Kool Koala)')
    [    0.146176] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.146779] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    0.146842] pca953x 1-0020: using no AI
    [    0.171541] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.172288] pca953x 2-0021: supply vcc not found, using dummy regulator
    [    0.172343] pca953x 2-0021: using no AI
    [    0.195045] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.195493] omap_i2c 2040000.i2c: bus 3 rev0.12 at 400 kHz
    [    0.195886] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    0.195981] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    0.196073] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    0.196240] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    0.198521] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    0.199130] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    0.200014] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    0.200021] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    0.200024] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.201462] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    0.201471] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    0.201474] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    0.201947] printk: console [ttyS2] disabled
    [    0.201983] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 216, base_baud = 3000000) is a 8250
    [    0.202037] printk: console [ttyS2] enabled
    [    0.202041] printk: bootconsole [ns16550a0] disabled
    [    0.203381] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    0.242468] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    0.243438] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    0.243465] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    0.243583] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    0.243586] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    0.243958] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    0.245291] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:250000000, add_val:3 pps:0
    [    0.250648] omap-mailbox 31f80000.mailbox: no available mbox devices found
    [    0.257673] omap-mailbox 31f81000.mailbox: no available mbox devices found
    [    0.264630] omap-mailbox 31f82000.mailbox: no available mbox devices found
    [    0.271569] omap-mailbox 31f83000.mailbox: no available mbox devices found
    [    0.278515] omap-mailbox 31f84000.mailbox: no available mbox devices found
    [    0.285449] omap-mailbox 31f85000.mailbox: no available mbox devices found
    [    0.292384] omap-mailbox 31f86000.mailbox: no available mbox devices found
    [    0.299318] omap-mailbox 31f87000.mailbox: no available mbox devices found
    [    0.306255] omap-mailbox 31f88000.mailbox: no available mbox devices found
    [    0.313189] omap-mailbox 31f89000.mailbox: no available mbox devices found
    [    0.320122] omap-mailbox 31f8a000.mailbox: no available mbox devices found
    [    0.327053] omap-mailbox 31f8b000.mailbox: no available mbox devices found
    [    0.333984] omap-mailbox 31f90000.mailbox: no available mbox devices found
    [    0.340916] omap-mailbox 31f91000.mailbox: no available mbox devices found
    [    0.347848] omap-mailbox 31f92000.mailbox: no available mbox devices found
    [    0.354781] omap-mailbox 31f93000.mailbox: no available mbox devices found
    [    0.361719] omap-mailbox 31f94000.mailbox: no available mbox devices found
    [    0.368689] omap-mailbox 31f95000.mailbox: no available mbox devices found
    [    0.375627] omap-mailbox 31f96000.mailbox: no available mbox devices found
    [    0.382563] omap-mailbox 31f97000.mailbox: no available mbox devices found
    [    0.389494] omap-mailbox 31f98000.mailbox: no available mbox devices found
    [    0.396427] omap-mailbox 31f99000.mailbox: no available mbox devices found
    [    0.403358] omap-mailbox 31f9a000.mailbox: no available mbox devices found
    [    0.410291] omap-mailbox 31f9b000.mailbox: no available mbox devices found
    [    0.418610] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    0.420095] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    0.423713] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    0.423774] 7 fixed-partitions partitions found on MTD device 47040000.spi.0
    [    0.423781] Creating 7 MTD partitions on "47040000.spi.0":
    [    0.423784] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    0.424410] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    0.424887] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    0.425354] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    0.425809] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    0.426281] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    0.426775] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    0.430943] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    0.470466] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    0.471424] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    0.471449] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    0.471560] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    0.471564] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    0.471912] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    0.472986] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    0.474419] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present!
    [    0.474738] mmc1: CQHCI version 5.10
    [    0.481726] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present!
    [    0.490031] debugfs: Directory 'pd:154' with parent 'pm_genpd' already present!
    [    0.502585] ALSA device list:
    [    0.502594]   No soundcards found.
    [    0.519018] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    0.519137] Waiting for root device /dev/mmcblk1p2...
    [    0.573512] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    0.573941] mmcblk1: mmc1:aaaa SH32G 29.7 GiB 
    [    0.575327]  mmcblk1: p1 p2
    [    0.778898] EXT4-fs (mmcblk1p2): recovery complete
    [    0.780098] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    0.780142] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    0.781033] devtmpfs: mounted
    [    0.781810] Freeing unused kernel memory: 2112K
    [    0.781906] Run /sbin/init as init process
    [    0.781908]   with arguments:
    [    0.781910]     /sbin/init
    [    0.781911]   with environment:
    [    0.781913]     HOME=/
    [    0.781915]     TERM=linux
    [    0.929908] systemd[1]: System time before build time, advancing clock.
    [    0.956660] 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)
    [    0.956934] systemd[1]: Detected architecture arm64.
    [    1.019468] systemd[1]: Hostname set to <j721s2-evm>.
    [    1.083927] systemd-sysv-generator[139]: SysV service '/etc/init.d/edgeai-launcher.sh' 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.
    [    1.085003] systemd-sysv-generator[139]: SysV service '/etc/init.d/sysrepo' 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.
    [    1.085097] systemd-sysv-generator[139]: 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.
    [    1.087587] systemd-sysv-generator[139]: SysV service '/etc/init.d/netopeer2-server' 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.
    [    1.188088] systemd[1]: Configuration file /lib/systemd/system/ti-apps-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    1.217040] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    1.217066] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    1.235852] 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.
    [    1.263232] 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.
    [    1.294559] systemd[1]: Queued start job for default target Graphical Interface.
    [    1.331658] systemd[1]: Created slice Slice /system/getty.
    [    1.333172] systemd[1]: Created slice Slice /system/modprobe.
    [    1.334436] systemd[1]: Created slice Slice /system/serial-getty.
    [    1.335509] systemd[1]: Created slice User and Session Slice.
    [    1.335700] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    1.335833] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    1.336036] systemd[1]: Reached target Path Units.
    [    1.336087] systemd[1]: Reached target Remote File Systems.
    [    1.336130] systemd[1]: Reached target Slice Units.
    [    1.336182] systemd[1]: Reached target Swaps.
    [    1.353044] systemd[1]: Listening on RPCbind Server Activation Socket.
    [    1.353171] systemd[1]: Reached target RPC Port Mapper.
    [    1.356267] systemd[1]: Listening on Process Core Dump Socket.
    [    1.356485] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [    1.356865] systemd[1]: Listening on Journal Audit Socket.
    [    1.357116] systemd[1]: Listening on Journal Socket (/dev/log).
    [    1.357394] systemd[1]: Listening on Journal Socket.
    [    1.357723] systemd[1]: Listening on Network Service Netlink Socket.
    [    1.358044] systemd[1]: Listening on udev Control Socket.
    [    1.358253] systemd[1]: Listening on udev Kernel Socket.
    [    1.358516] systemd[1]: Listening on User Database Manager Socket.
    [    1.361588] systemd[1]: Mounting Huge Pages File System...
    [    1.364918] systemd[1]: Mounting POSIX Message Queue File System...
    [    1.369861] systemd[1]: Mounting Kernel Debug File System...
    [    1.370297] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    1.374360] systemd[1]: Mounting Temporary Directory /tmp...
    [    1.375015] systemd[1]: Create List of Static Device Nodes was skipped because of a failed condition check (ConditionFileNotEmpty=/lib/modules/6.1.46-g5892b80d6b/modules.devname).
    [    1.378064] systemd[1]: Starting Load Kernel Module configfs...
    [    1.381332] systemd[1]: Starting Load Kernel Module drm...
    [    1.384698] systemd[1]: Starting Load Kernel Module fuse...
    [    1.394351] systemd[1]: Starting Start psplash boot splash screen...
    [    1.399307] systemd[1]: Starting RPC Bind...
    [    1.399574] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    1.404765] systemd[1]: Starting Journal Service...
    [    1.417335] systemd[1]: Starting Load Kernel Modules...
    [    1.421167] systemd[1]: Starting Generate network units from Kernel command line...
    [    1.429158] systemd[1]: Starting Remount Root and Kernel File Systems...
    [    1.437883] systemd[1]: Starting Coldplug All udev Devices...
    [    1.446420] systemd[1]: Mounted Huge Pages File System.
    [    1.451048] systemd[1]: Mounted POSIX Message Queue File System.
    [    1.451340] systemd[1]: Mounted Kernel Debug File System.
    [    1.451592] systemd[1]: Mounted Temporary Directory /tmp.
    [    1.452288] systemd[1]: modprobe@configfs.service: Deactivated successfully.
    [    1.452918] systemd[1]: Finished Load Kernel Module configfs.
    [    1.453656] systemd[1]: modprobe@drm.service: Deactivated successfully.
    [    1.454218] systemd[1]: Finished Load Kernel Module drm.
    [    1.454927] systemd[1]: modprobe@fuse.service: Deactivated successfully.
    [    1.455424] systemd[1]: Finished Load Kernel Module fuse.
    [    1.455781] systemd[1]: psplash-start.service: Main process exited, code=exited, status=255/EXCEPTION
    [    1.456051] systemd[1]: psplash-start.service: Failed with result 'exit-code'.
    [    1.456734] systemd[1]: Failed to start Start psplash boot splash screen.
    [    1.484390] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    1.486645] systemd[1]: Dependency failed for Start psplash-systemd progress communication helper.
    [    1.502652] systemd[1]: psplash-systemd.service: Job psplash-systemd.service/start failed with result 'dependency'.
    [    1.504301] systemd[1]: Started RPC Bind.
    [    1.504639] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    [    1.504927] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    [    1.506042] systemd[1]: Failed to start Load Kernel Modules.
    [    1.531004] systemd[1]: Started Journal Service.
    [    1.567877] systemd-journald[151]: Received client request to flush runtime journal.
    [    1.625802] audit: type=1334 audit(1651167745.692:2): prog-id=5 op=LOAD
    [    1.625917] audit: type=1334 audit(1651167745.692:3): prog-id=6 op=LOAD
    [    2.430483] random: crng init done
    [    2.602401] audit: type=1334 audit(1651200054.328:4): prog-id=7 op=LOAD
    [    2.606960] audit: type=1334 audit(1651200054.336:5): prog-id=8 op=LOAD
    [    3.179870] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    3.179893] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    3.857509] audit: type=1334 audit(1651200055.584:6): prog-id=9 op=LOAD
    [    3.857709] audit: type=1334 audit(1651200055.584:7): prog-id=10 op=LOAD
    [    4.212403] audit: type=1006 audit(1651200055.940:8): pid=486 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    4.212419] audit: type=1300 audit(1651200055.940:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe1384fd8 a2=4 a3=ffff8b329020 items=0 ppid=1 pid=486 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)
    [    4.212427] audit: type=1327 audit(1651200055.940:8): proctitle="(systemd)"
    [    5.109498] kauditd_printk_skb: 12 callbacks suppressed
    [    5.109509] audit: type=1006 audit(1651200056.836:13): pid=563 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=6 res=1
    [    5.109523] audit: type=1300 audit(1651200056.836:13): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffe1384fd8 a2=4 a3=ffff8b329020 items=0 ppid=1 pid=563 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=6 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [    5.109530] audit: type=1327 audit(1651200056.836:13): proctitle="(weston)"
    [    5.643917] audit: type=1701 audit(1651200057.372:14): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=645 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    [    5.663705] audit: type=1334 audit(1651200057.392:15): prog-id=11 op=LOAD
    [    5.663871] audit: type=1334 audit(1651200057.392:16): prog-id=12 op=LOAD
    [    5.886722] audit: type=1334 audit(1651200057.616:17): prog-id=12 op=UNLOAD
    [    5.886739] audit: type=1334 audit(1651200057.616:18): prog-id=11 op=UNLOAD
    [    6.422075] audit: type=1701 audit(1651200058.148:19): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=655 comm="edgeai-gui-app" exe="/usr/bin/edgeai-gui-app" sig=6 res=1
    [    6.440341] audit: type=1334 audit(1651200058.168:20): prog-id=13 op=LOAD
    [    7.267659] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [   16.938950] kauditd_printk_skb: 8 callbacks suppressed
    [   16.938960] audit: type=1006 audit(1651200068.664:29): pid=1183 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=7 res=1
    [   16.938973] audit: type=1300 audit(1651200068.664:29): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=ffffe1384fd8 a2=1 a3=0 items=0 ppid=1 pid=1183 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [   16.938995] audit: type=1327 audit(1651200068.664:29): proctitle="(systemd)"
    [   16.952175] audit: type=1334 audit(1651200068.680:30): prog-id=17 op=LOAD
    [   16.952192] audit: type=1300 audit(1651200068.680:30): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc6754860 a2=78 a3=0 items=0 ppid=1 pid=1183 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   16.952198] audit: type=1327 audit(1651200068.680:30): proctitle="(systemd)"
    [   16.952206] audit: type=1334 audit(1651200068.680:31): prog-id=17 op=UNLOAD
    [   16.952760] audit: type=1334 audit(1651200068.680:32): prog-id=18 op=LOAD
    [   16.952771] audit: type=1300 audit(1651200068.680:32): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc6754900 a2=78 a3=0 items=0 ppid=1 pid=1183 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="systemd" exe="/lib/systemd/systemd" key=(null)
    [   16.952776] audit: type=1327 audit(1651200068.680:32): proctitle="(systemd)"
    root@j721s2-evm:/opt/edgeai-gst-apps# 


    Using the device tree compiler, I see gpio warnings when decoding the dtb:
    ~/ti-processor-sdk-linux-adas-j721s2-evm-09_01_00_06/board-support/prebuilt-images$ dtc -I dtb -O dts k3-am68-sk-base-board.dtb > my.dts
    <stdout>: Warning (interrupt_provider): /bus@100000/bus@28380000/interrupt-controller@42200000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/bus@28380000/gpio@42110000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/bus@28380000/gpio@42100000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/interrupt-controller@a00000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/gpio@600000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/gpio@610000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/gpio@620000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/gpio@630000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/bus@30000000/interrupt-controller@310e0000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/bus@30000000/msi-controller@33d00000: Missing #address-cells in interrupt provider
    <stdout>: Warning (interrupt_provider): /bus@100000/pcie@2910000/interrupt-controller: Missing #address-cells in interrupt provider
    

    From journalctl I see:
    Apr 29 03:02:06 j721s2-evm modprobe[430]: modprobe: FATAL: Module overlay not found in directory /lib/modules/6.1.46-g5892b80d6b

    Because it's the rt build, the modules are in /lib/modules/6.1.46-rt13-g833521d9b3/
    Copying the the modules to that directory gets rid of the error, but doesn't allow weston to start.

    Issue for the module service is cryptodev:

    root@j721s2-evm:/opt/edgeai-gst-apps# systemctl status systemd-modules-load.service
    x systemd-modules-load.service - Load Kernel Modules
    Loaded: loaded (/lib/systemd/system/systemd-modules-load.service; static)
    Active: failed (Result: exit-code) since Fri 2022-04-29 03:13:39 UTC; 29s ago
    Docs: man:systemd-modules-load.service(8)
    man:modules-load.d(5)
    Process: 1276 ExecStart=/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
    Main PID: 1276 (code=exited, status=1/FAILURE)

    Apr 29 03:13:39 j721s2-evm systemd[1]: Starting Load Kernel Modules...
    Apr 29 03:13:39 j721s2-evm systemd-modules-load[1276]: Failed to insert module 'cryptodev': Exec format error
    Apr 29 03:13:39 j721s2-evm systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    Apr 29 03:13:39 j721s2-evm systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    Apr 29 03:13:39 j721s2-evm systemd[1]: Failed to start Load Kernel Modules.

    Skipping cryptodev (by moving the /etc/modules-load.d/cryptodev.conf file) lets the service run normally, but the hdmi peripheral is still missing.

  • Hi Evan,

    Took me a bit to understand what you meant for "fixups" in the post from yesterday, my apologies. I now understand this as the patch that Keerthy proposed for spl_perform_fixups. Looking through the fixup, it seems the fix mainly affects OSPI interface, so I still have some doubts on whether this could cause the issue with HDMI.

    The device tree decoding output looks to be fine. And I do not think cryptodev should have an affect on HDMI.

    Otherwise, something that stood out is this line:

    [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!

    I usually do not use the RT build nor falcon mode, so I am not sure if this is normal for RT build, but using non-RT build I have not seen this error log before, so it is a bit concerning to me.

    Maybe Keerthy can comment on this?

    Regards,

    Takuma

  • [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!

    This is okay. No functional impact.

    - Keerthy