AM6442: LED23 on TMDS64EVM EvalKit

Part Number: AM6442
Other Parts Discussed in Thread: TMDS64EVM, SYSCONFIG

Tool/software:

Hello,

On TMDS64EVM, there is a red LED (LED23) that blink just after the boot of Linux. What is the function of this LED ? Is there a firmware or an application connected with this LED ?    

Why this question ? 

because when i launch my firmware on the core R5F0_0 (blinking GREEN LED 29 on evm kit ) from u-boot with the following commands :

init; load mmc 1:2 0x90000000 /lib/firmware/am64-main-r5f0_0-fw; rproc load 1 0x90000000 0x${filesize}; rproc start 1 ==> ,

my firmware works correctly and LED29 blink as expected. But as soon as i launch "boot" command from uboot, linux start and as soon as the RED LD 23 LED starts blinking, my firmware crashes and the green LED LD 29

stops blinking.

Do you have an idea why does the firmware crash please ? 

thank you very much  

  • Hi,

    Please share the logs of Linux crash.

    Is the crash happening only when you load R5 firmware using rpoc commands?

    Regards,
    Aparna

  • Hi,

    No, no Aparna. Linux starts/works correctly. There is no crash on linux Side. I just took a firmware example that blinking a LED on a R5f_0_0 core (with the MCU SDK 10.00).I put it on /lib/firmware. 

    After a reboot, I stop u-boot and type manually following commands to start this firmware from u-boot : 

    rproc init; load mmc 1:2 0x90000000 /lib/firmware/am64-main-r5f0_0-fw; rproc load 1 0x90000000 0x${filesize}; rproc start 1

    (3.1.1.9. RemoteProc — Processor SDK AM62x Documentation)

    The firmware works because the LED blink.

    After that I boot linux manually with a simple command :"boot" and after about 2 seconds the R5 firmware crash (Led stop to blinking) but Linux continues normally to boot up. The linux don't crash it's just only the R5 Firmware. 

    Do you have an idea ? 

    Regards 

    Sébastien   
        

  • Hi,

    Could you share your R5 application code?

    Regards,
    Aparna

  • #include <stdlib.h>
    #include "ti_drivers_config.h"
    #include "ti_board_config.h"
    
    void gpio_led_blink_main(void *args);
    
    int main(void)
    {
        System_init();
        Board_init();
    
        gpio_led_blink_main(NULL);
    
        Board_deinit();
        System_deinit();
    
        return 0;
    }
    

    #include <drivers/gpio.h>
    #include <kernel/dpl/AddrTranslateP.h>
    #include <kernel/dpl/DebugP.h>
    #include <kernel/dpl/ClockP.h>
    #include "ti_drivers_config.h"
    #include "ti_drivers_open_close.h"
    #include "ti_board_open_close.h"
    
    /*
     * This example configures a GPIO pin connected to an LED on the EVM in
     * output mode.
     * The application toggles the LED on/off for 10 seconds and exits.
     */
    
    void gpio_led_blink_main(void *args)
    {
        uint32_t    loopcnt = 35000, delaySec = 1;
        uint32_t    gpioBaseAddr, pinNum;
        DebugP_log("Entre dans gpio_led_blink_main\r\n");
    
        /* Open drivers to open the UART driver for console */
        Drivers_open();
        Board_driversOpen();
    
        DebugP_log("GPIO LED Blink Test Started ...\r\n");
        DebugP_log("LED will Blink for %d seconds ...\r\n", (loopcnt * delaySec * 2));
    
        /* Get address after translation translate */
        gpioBaseAddr = (uint32_t) AddrTranslateP_getLocalAddr(GPIO_LED_BASE_ADDR);
        pinNum       = GPIO_LED_PIN;
        GPIO_setDirMode(gpioBaseAddr, pinNum, GPIO_LED_DIR);
        DebugP_log("GPIO configure : BaseAddr=0x%x, PinNum=%d\r\n", gpioBaseAddr, pinNum);
        while(loopcnt > 0)
        {
            DebugP_log("Nbre de fois dans la boucle...\r\n");
            DebugP_log("Avant GPIO_pinWriteHigh\r\n");
            GPIO_pinWriteHigh(gpioBaseAddr, pinNum);
            DebugP_log("Apres GPIO_pinWriteHigh\r\n");
            ClockP_sleep(delaySec);
            DebugP_log("Avant GPIO_pinWriteLow\r\n");
            GPIO_pinWriteLow(gpioBaseAddr, pinNum);
            DebugP_log("Apres GPIO_pinWriteLow\r\n");
            DebugP_log("Avant ClockP_sleep\r\n");
            ClockP_sleep(delaySec);
            DebugP_log("Apres ClockP_sleep\r\n");
    
            loopcnt--;
        }
    
        DebugP_log("GPIO LED Blink Test Passed!!\r\n");
        DebugP_log("All tests have passed!!\r\n");
    
        Board_driversClose();
        Drivers_close();
        DebugP_log("Sortie de gpio_led_blink_main\r\n");
    }

  • Hi,

    Thanks for sharing. I will check at my end.

    Regards,
    Aparna

  • Hi Aparna

    In SysConfig I removed IPC just to see and memory section accordingly. No effect. When i boot Linux from u-boot, after 2 seconds during booting linux, my R5F application stop and log messages are stopped too in uart1 console. 

    have you looked at your side ? I had tested a lot things without success   

  • Hi,

    Apologies for delayed response. I am assigning your thread to rpoc expert for faster resolution.

    Regards,
    Aparna

  • Hello Sebastien,

    I will be working with you on debugging R5F & Linux A53 interaction.

    Please provide additional debug information

    First off, are you seeing any interesting terminal output when Linux boots? Feel free to attach your entire Linux boot log for me to review.

    Please attach your sysconfig file for the project and your Linux devicetree as well so that I can double-check your memory allocation. But don't do that until AFTER you read through the documentation I am about to link.

    Have you verified that there are no memory or peripheral conflicts between Linux and R5F? 

    For example, if your DDR memory allocations in the R5F project are not aligned with the reserved memory regions in the Linux devicetree file, then Linux might overwrite the R5F's memory. That could cause the R5F to crash.

    Please refer to our training in the AM64x academy's multicore module. There is a bunch of useful information there, but I would start with these sections:

    Memory allocation: https://dev.ti.com/tirex/explore/node?node=A__AfqqKhh3tdI5s3wpsXrWWw__AM64-ACADEMY__WI1KRXP__LATEST
    Peripheral allocation: https://dev.ti.com/tirex/explore/node?node=A__AaRdsK4zRjlChfPY2v0AhQ__AM64-ACADEMY__WI1KRXP__LATEST

    Since you are NOT currently using RPMsg or booting the R5F with the Linux Remoteproc driver, some of the information in the "Application development" section does not apply to this specific example. It is still worth a read if you might be doing either of those things in the future. However, section "Debug the remote core alongside Linux" is very useful. I suggest connecting CCS to the R5F during runtime to better understand exactly what your R5F core is doing:

    https://dev.ti.com/tirex/explore/node?node=A__AZVLTFgnCWyMV5cDwLf4gg__AM64-ACADEMY__WI1KRXP__LATEST

    Finally, you can find more information about different ways to initialize cores here:
    https://dev.ti.com/tirex/explore/node?node=A__AbGt66xlJYuq-VIL-2YzSA__AM64-ACADEMY__WI1KRXP__LATEST 

    Regards,

    Nick

  • edit: we just pushed the latest version of the AM64x academy yesterday, and it looks like something got messed up with the settings. The "LATEST" URLs that I linked above are redirecting to the previous release version (SDK 9.2), and getting filtered out.

    You can also reach the AM64x academy from here:
    https://dev.ti.com/tirex/explore/node?node=AAz9Dxht0WlNjAge02XsaQ

    and for each of the links above, you would go
    Multicore > memory
    Multicore > peripherals
    Multicore > Application Development > Debug the remote core
    Multicore > Booting and disabling processor cores

    I will look into the URL behavior more, hopefully we can fix it soon.

  • OK thank you Nick for your help. I'm going to reread all the training courses you mentioned as soon as I've missed something and I'll keep you informed. I'm just starting out with this AM64 micro and your training courses are very much appreciated.

  • Hi Nick,

    Just to begin : 

    Memory configuration on R5F0_0

    MEMORY CONFIGURATION
    
             name            origin    length      used     unused   attr    fill
    ----------------------  --------  ---------  --------  --------  ----  --------
      R5F_VECS              00000000   00000040  00000040  00000000  RWIX
      R5F_TCMA              00000040   00007fc0  00000000  00007fc0  RWIX
      R5F_TCMB0             41010000   00008000  00000000  00008000  RWIX
      FLASH                 60100000   00080000  00000000  00080000  RWIX
      RTOS_NORTOS_IPC_SHM_M 70000000   0000c000  00000000  0000c000  RWIX
      NON_CACHE_MEM         70060000   00008000  00000000  00008000  RWIX
      MSRAM                 70080000   00040000  00028148  00017eb8  RWIX
      USER_SHM_MEM          701d0000   00000080  00000000  00000080  RWIX
      LOG_SHM_MEM           701d0080   00003f80  00000000  00003f80  RWIX
      DDR_0                 a0100000   00001000  00001000  00000000  RWIX
      DDR_1                 a0101000   00eff000  00000000  00eff000  RWIX
    
    
    SEGMENT ALLOCATION MAP
    
    run origin  load origin   length   init length attrs members
    ----------  ----------- ---------- ----------- ----- -------
    00000000    00000000    00000040   00000040    r-x
      00000000    00000000    00000040   00000040    r-x .vectors
    70080000    70080000    00016078   00016078    r-x
      70080000    70080000    00014da0   00014da0    r-x .text
      70094da0    70094da0    000012d8   000012d8    r-- .rodata
    70096080    70096080    0000f280   00000000    rw-
      70096080    70096080    00003280   00000000    rw- .bss
      70099300    70099300    00008000   00000000    rw- .sysmem
      700a1300    700a1300    00004000   00000000    rw- .stack
    700a5300    700a5300    00001418   00001418    r-x
      700a5300    700a5300    00000ae0   00000ae0    r-x .text.hwi
      700a5de0    700a5de0    000004a0   000004a0    r-x .text.cache
      700a6280    700a6280    000002d0   000002d0    r-x .text.mpu
      700a6550    700a6550    000001c0   000001c0    r-x .text.boot
      700a6710    700a6710    00000008   00000008    r-x .text:abort
    700a6718    700a6718    00000638   00000638    rw-
      700a6718    700a6718    00000638   00000638    rw- .data
    700a6d50    700a6d50    00001400   00000000    r--
      700a6d50    700a6d50    00000100   00000000    r-- .irqstack
      700a6e50    700a6e50    00000100   00000000    r-- .fiqstack
      700a6f50    700a6f50    00001000   00000000    r-- .svcstack
      700a7f50    700a7f50    00000100   00000000    r-- .abortstack
      700a8050    700a8050    00000100   00000000    r-- .undefinedstack
    a0100000    a0100000    00001000   00001000    r--
      a0100000    a0100000    00001000   00001000    r-- .resource_table
    

    My DTS On Linux side and u-boot side for memory on MCU

    I began to debug with CCS XDS 110. That I saw is when Linux run the application on R5F by remoteproc  ==> everything seem correct. I can breakpoint on function gpio_led_blink_main  normally

    If I reboot and stop u-boot ==> during this period R5F is In-Reset. I run this command setenv dorprocboot 1 following boot command and the R5F exit Reset mode and running. everything seem correct. but when Linux boot reached about 2 second, R5F is always running but my hearbeat LED of R5F freezes. If I breakpoint the simple function gpio_led_blink_main, no further passage through this breakpoint is observed but the R5F running and  seems to pass regularly on Sleep Function but never again on gpio_led_blink_main function. 

    Strange no ?  

        

     

  • Hello,

    Ok, your memory allocation looks fine to me. Glad to hear that things are loading and working as expected when Linux remoteproc initializes the R5F.

    Could something be overwriting the SRAM memory during boot? 

    The SRAM is used during the R5 SPL bootloader stage, as described here:
    https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/10_00_07_04/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html#sram-memory-layout-during-r5-spl-bootloader-stage

    However, based on the boot flow, I would expect that the R5 SPL has finished running BEFORE the u-boot prompt shows up. So I do not expect that the R5F SPL is overwriting your data: https://software-dl.ti.com/processor-sdk-linux/esd/AM64X/10_00_07_04/exports/docs/linux/Foundational_Components/U-Boot/UG-General-Info.html#boot-flow

    It is still possible that something in memory is getting overwritten during boot time. I am not sure whether SRAM is used for anything between uboot and the kernel prompt. My assumption is that as long as the SRAM memory region is allocated in the Linux devicetree file, it should be left alone.

    Please attach a full boot log 

    I would like to go through your boot log to see how Linux is interacting with the remote core(s).

    Regards,

    Nick

  • Hello Nick,

    first, I let Linux start the remote processors. It's seem correct and the LED in R5F blinking normally. 

    U-Boot SPL 2024.04-dirty (Nov 13 2024 - 12:37:25 +0100)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    I/TC:
    I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Apr 12 09:51:21 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2024.04-dirty (Nov 13 2024 - 12:36:58 +0100)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04-dirty (Nov 13 2024 - 12:36:58 +0100)
    
    SoC:   AM64X SR2.0 HS-FS
    Model: Texas Instruments AM642 EVM
    Board: AM64-EVM rev C
    DRAM:  2 GiB
    Core:  98 devices, 31 uclasses, devicetree: separate
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1, eth2: icssg1-eth-port@0
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    574 bytes read in 40 ms (13.7 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    20285952 bytes read in 837 ms (23.1 MiB/s)
    64546 bytes read in 45 ms (1.4 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.32-ti-g6de6e418c80e-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Fri Jul 26 14:32:20 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM642 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    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] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    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] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    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] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    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] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable m4f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable m4f-memory@a4100000
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a57fffff (8192 KiB) nomap non-reusable ipc-memories@a5000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a57fffff]
    [    0.000000]   node   0: [mem 0x00000000a5800000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s42920 r8192 d30808 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=076c4a2a-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000f7800000-0x00000000fb800000] (64MB)
    [    0.000000] Memory: 1822792K/2097152K available (11968K kernel code, 1250K rwdata, 4036K rodata, 2432K init, 502K bss, 241592K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008651] Console: colour dummy device 80x25
    [    0.013261] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023941] pid_max: default: 32768 minimum: 301
    [    0.028773] LSM: initializing lsm=capability,integrity
    [    0.034163] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.041746] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.051877] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.059230] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.067224] rcu: Hierarchical SRCU implementation.
    [    0.072134] rcu:     Max phase no-delay instances is 1000.
    [    0.077786] Platform MSI: msi-controller@1820000 domain created
    [    0.084186] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.093744] EFI services will not be available.
    [    0.098753] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.112435] Detected VIPT I-cache on CPU1
    [    0.112543] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
    [    0.112564] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.112626] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.112774] smp: Brought up 1 node, 2 CPUs
    [    0.142159] SMP: Total of 2 processors activated.
    [    0.146971] CPU features: detected: 32-bit EL0 Support
    [    0.152240] CPU features: detected: CRC32 instructions
    [    0.157562] CPU: All CPU(s) started at EL2
    [    0.161748] alternatives: applying system-wide alternatives
    [    0.169486] devtmpfs: initialized
    [    0.183620] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.193627] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.202121] pinctrl core: initialized pinctrl subsystem
    [    0.208072] DMI not present or invalid.
    [    0.212828] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.220240] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.227698] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.235821] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.244030] audit: initializing netlink subsys (disabled)
    [    0.249908] audit: type=2000 audit(0.172:1): state=initialized audit_enabled=0 res=1
    [    0.250509] thermal_sys: Registered thermal governor 'step_wise'
    [    0.257866] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.264077] cpuidle: using governor menu
    [    0.274982] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.281988] ASID allocator initialised with 65536 entries
    [    0.300532] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f4000/pinctrl@a40000/cpsw-cpts-pps
    [    0.315292] Modules: 27680 pages in range for non-PLT usage
    [    0.315314] Modules: 519200 pages in range for PLT usage
    [    0.322132] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.334527] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.340934] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.347870] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.354276] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.361212] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.367616] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.374551] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.382925] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR2.0 JTAGID[0x1bb3802f] Detected
    [    0.392605] iommu: Default domain type: Translated
    [    0.397547] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.404269] SCSI subsystem initialized
    [    0.408655] usbcore: registered new interface driver usbfs
    [    0.414313] usbcore: registered new interface driver hub
    [    0.419786] usbcore: registered new device driver usb
    [    0.425603] pps_core: LinuxPPS API ver. 1 registered
    [    0.430689] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.440035] PTP clock support registered
    [    0.444252] EDAC MC: Ver: 3.0.0
    [    0.448381] scmi_core: SCMI protocol bus registered
    [    0.453906] FPGA manager framework
    [    0.457541] Advanced Linux Sound Architecture Driver Initialized.
    [    0.464956] vgaarb: loaded
    [    0.468274] clocksource: Switched to clocksource arch_sys_counter
    [    0.474848] VFS: Disk quotas dquot_6.6.0
    [    0.478906] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.493853] NET: Registered PF_INET protocol family
    [    0.499188] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.508720] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.517556] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.525497] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.533730] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.541765] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.548709] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.555656] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.563190] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.569622] RPC: Registered named UNIX socket transport module.
    [    0.575734] RPC: Registered udp transport module.
    [    0.580545] RPC: Registered tcp transport module.
    [    0.585353] RPC: Registered tcp-with-tls transport module.
    [    0.590961] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.597553] NET: Registered PF_XDP protocol family
    [    0.602471] PCI: CLS 0 bytes, default 64
    [    0.608035] Initialise system trusted keyrings
    [    0.612959] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.620009] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.626437] NFS: Registering the id_resolver key type
    [    0.631676] Key type id_resolver registered
    [    0.635953] Key type id_legacy registered
    [    0.640076] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.646928] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.695094] Key type asymmetric registered
    [    0.699302] Asymmetric key parser 'x509' registered
    [    0.704360] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.711925] io scheduler mq-deadline registered
    [    0.716558] io scheduler kyber registered
    [    0.720705] io scheduler bfq registered
    [    0.728081] pinctrl-single 4084000.pinctrl: 33 pins, size 132
    [    0.734677] pinctrl-single f4000.pinctrl: 180 pins, size 720
    [    0.742473] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.756111] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.775864] loop: module loaded
    [    0.780547] megasas: 07.725.01.00-rc1
    [    0.789079] tun: Universal TUN/TAP device driver, 1.6
    [    0.795718] VFIO - User Level meta-driver version: 0.3
    [    0.802392] usbcore: registered new interface driver usb-storage
    [    0.809270] i2c_dev: i2c /dev entries driver
    [    0.815043] sdhci: Secure Digital Host Controller Interface driver
    [    0.821410] sdhci: Copyright(c) Pierre Ossman
    [    0.826156] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.832710] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.839274] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.846751] usbcore: registered new interface driver usbhid
    [    0.852500] usbhid: USB HID core driver
    [    0.856840] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100
    [    0.863833] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100
    [    0.870716] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100
    [    0.879310] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.888520] 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.893101] optee: revision 4.2 (12d7c4ee)
    [    0.909835] optee: dynamic shared memory is enabled
    [    0.920042] random: crng init done
    [    0.923710] optee: initialized driver
    [    0.930267] NET: Registered PF_PACKET protocol family
    [    0.935605] Key type dns_resolver registered
    [    0.949606] registered taskstats version 1
    [    0.954197] Loading compiled-in X.509 certificates
    [    0.974748] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    1.125597] pca953x 0-0038: supply vcc not found, using dummy regulator
    [    1.132572] pca953x 0-0038: using no AI
    [    1.161094] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.168797] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.175789] pca953x 1-0022: using AI
    [    1.201636] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.207797] ti-sci-intr bus@f4000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.217233] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.229538] ti-udma 485c0100.dma-controller: Number of rings: 68
    [    1.237545] ti-udma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6)
    [    1.247851] ti-udma 485c0000.dma-controller: Number of rings: 288
    [    1.265699] ti-udma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15)
    [    1.277080] printk: console [ttyS2] disabled
    [    1.281979] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 317, base_baud = 3000000) is a 8250
    [    1.290888] printk: console [ttyS2] enabled
    [    1.290888] printk: console [ttyS2] enabled
    [    1.299444] printk: bootconsole [ns16550a0] disabled
    [    1.299444] printk: bootconsole [ns16550a0] disabled
    [    1.311895] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.356288] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.366587] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.374767] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000006
    [    1.387679] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
    [    1.394828] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.401567] pps pps0: new PPS source ptp0
    [    1.406036] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.423939] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
    [    1.437078] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    1.447702] mmc0: CQHCI version 5.10
    [    1.464955] mmc1: CQHCI version 5.10
    [    1.467516] clk: Disabling unused clocks
    [    1.491907] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.506929] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.508805] ALSA device list:
    [    1.517558]   No soundcards found.
    [    1.521418] Waiting for root device PARTUUID=076c4a2a-02...
    [    1.575316] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    1.582836] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [    1.588830] mmc0: Command Queue Engine enabled
    [    1.593467]  mmcblk1: p1 p2
    [    1.593465] mmc0: new HS200 MMC card at address 0001
    [    1.594282] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.608201]  mmcblk0:
    [    1.610949] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    1.617247] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    1.623404] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (239:0)
    [    1.828941] EXT4-fs (mmcblk1p2): mounted filesystem 27d406a0-8181-44e9-8e68-07b1dee77e6c r/w with ordered data mode. Quota mode: none.
    [    1.841193] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.849870] devtmpfs: mounted
    [    1.854478] Freeing unused kernel memory: 2432K
    [    1.859124] Run /sbin/init as init process
    [    2.077846] systemd[1]: System time before build time, advancing clock.
    [    2.131017] NET: Registered PF_INET6 protocol family
    [    2.137598] Segment Routing with IPv6
    [    2.141361] In-situ OAM (IOAM) with IPv6
    [    2.185987] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.217893] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.245254] systemd[1]: Hostname set to <am64xx-evm>.
    [    2.712446] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.879205] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.989088] systemd[1]: Queued start job for default target Graphical Interface.
    [    3.032459] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    3.055670] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    3.079646] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    3.102797] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.125047] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.148970] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.172707] systemd[1]: Expecting device /dev/ttyS2...
             Expecting device /dev/ttyS2...
    [    3.192706] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    3.212612] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.232598] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    3.252634] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    3.318736] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.344717] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.376027] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.397189] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.422323] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    3.445534] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.469609] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.485890] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.515279] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.537394] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.561513] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    3.608924] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.620987] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.677255] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.693299] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.733204] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.761774] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    3.805349] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    3.829792] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    3.881605] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.909027] fuse: init (API version 7.39)
    [    3.937313] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.953030] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.983528] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.036143] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.089712] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network units from Kernel command line...
    [    4.119132] cryptodev: loading out-of-tree module taints kernel.
    [    4.129166] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.143153] cryptodev: driver 1.13 loaded.
    [    4.175217] systemd-journald[104]: Collecting audit messages is enabled.
    [    4.189354] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    4.257399] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.286086] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.[    4.301117] EXT4-fs (mmcblk1p2): re-mounted 27d406a0-8181-44e9-8e68-07b1dee77e6c r/w. Quota mode: none.
    
    [    4.319739] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
    [    4.777275] systemd-journald[104]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev gracefully...
    [  OK  ] Mounted FUSE Control File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev gracefully.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /var/volatile...
    [    5.184682] audit: type=1334 audit(1709054767.100:2): prog-id=6 op=LOAD
    [    5.197006] audit: type=1334 audit(1709054767.108:3): prog-id=7 op=LOAD
             Starting Rule-based Manager for Device Events and Files...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Finished Coldplug All udev Devices.
             Starting Load/Save OS Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Load/Save OS Random Seed.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Create Volatile Files and Directories.
    [    5.567059] audit: type=1334 audit(1709054767.484:4): prog-id=8 op=LOAD
             Starting Network Name Resolution...
    [    5.648537] audit: type=1334 audit(1709054767.564:5): prog-id=9 op=LOAD
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [    5.772431] audit: type=1334 audit(1709054767.688:6): prog-id=10 op=LOAD
    [    5.784496] audit: type=1334 audit(1709054767.688:7): prog-id=11 op=LOAD
    [    5.796485] audit: type=1334 audit(1709054767.688:8): prog-id=12 op=LOAD
             Starting User Database Manager...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started User Database Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Timer service to update the IP on OLED each 10s.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  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.
    [    7.111519] audit: type=1334 audit(1732006456.242:9): prog-id=13 op=LOAD
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
    [    7.628430] dbus-broker-lau[266]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [  OK  ] Started Job spooling tools.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting Expand the rootfs partiti…to full size of the boot device....
    [    8.030950] audit: type=1334 audit(1732006457.162:10): prog-id=14 op=LOAD
    [    8.052076] audit: type=1334 audit(1732006457.170:11): prog-id=15 op=LOAD
             Starting User Login Management...
    [    8.069768] audit: type=1334 audit(1732006457.170:12): prog-id=16 op=LOAD
             Starting Telnet Server...
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Preparation for Network.
    [    8.230355] audit: type=1334 audit(1732006457.362:13): prog-id=17 op=LOAD
             Starting Network Configuration...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Telephony service.
    [  OK  ] Finished Telnet Server.
    [    8.404748] Bluetooth: Core ver 2.22
    [    8.412586] NET: Registered PF_BLUETOOTH protocol family
    [    8.422014] Bluetooth: HCI device and connection manager initialized
    [    8.435414] Bluetooth: HCI socket layer initialized
    [    8.447340] Bluetooth: L2CAP socket layer initialized
    [    8.454817] Bluetooth: SCO socket layer initialized
    [  OK  ] Finished Expand the rootfs partition to full size of the boot device..
    [  OK  ] Started User Login Management.
    [    9.191892] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    9.229395] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    9.236801] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    9.394945] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    9.404670] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Started Network Configuration.
    [  OK  ] Reached target Network.
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Wait for Network to be Configured...
             Starting Permit User Sessions...
    [    9.855438] CAN device driver interface
    
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [   10.020974] at24 0-0050: supply vcc not found, using dummy regulator
    [   10.247292] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [   10.478466] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@a4000000
    [   10.497440] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [   10.505010] platform 78000000.r5f: configured R5F for remoteproc mode
    [   10.515898] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [   10.527591] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [   10.609740] remoteproc remoteproc1: 78000000.r5f is available
    [   10.641338] remoteproc remoteproc1: powering up 78000000.r5f
    [   10.646723] davinci_mdio 300b2400.mdio: Configuring MDIO in manual mode
    [   10.651939] remoteproc remoteproc1: Booting fw image am64-main-r5f0_0-fw, size 812432
    [   10.683563] remoteproc remoteproc0: 5000000.m4fss is available
    [   10.696182] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [   10.707205] platform 78200000.r5f: configured R5F for remoteproc mode
    [   10.717416] platform 78200000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [   10.726121] remoteproc remoteproc0: powering up 5000000.m4fss
    [   10.726918] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   10.733183] remoteproc remoteproc0: Booting fw image am64-mcu-m4f0_0-fw, size 88248
    [   10.737627] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
    [   10.748964] davinci_mdio 300b2400.mdio: davinci mdio revision 1.7, bus freq 1000000
    [   10.753500] remoteproc remoteproc1: remote processor 78000000.r5f is now up
    [   10.802131] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node m4f-dma-memory@a4000000
    [   10.860728] davinci_mdio 300b2400.mdio: phy[15]: device 300b2400.mdio:0f, driver TI DP83869
    [   10.863373] remoteproc remoteproc2: 78200000.r5f is available
    [   10.886008] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   10.886589] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [   10.893442] rproc-virtio rproc-virtio.1.auto: registered virtio1 (type 7)
    [   10.899269] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [   10.910301] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [   10.939700] remoteproc remoteproc2: powering up 78200000.r5f
    [   10.945610] remoteproc remoteproc2: Booting fw image am64-main-r5f0_1-fw, size 141772
    [   10.963032] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@a1000000
    [   10.979694] virtio_rpmsg_bus virtio2: creating channel rpmsg_chrdev addr 0xe
    [   10.987338] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   10.994762] rproc-virtio rproc-virtio.2.auto: registered virtio2 (type 7)
    [   11.001760] remoteproc remoteproc2: remote processor 78200000.r5f is now up
    [   11.065632] platform 78400000.r5f: configured R5F for remoteproc mode
    [   11.105405] m_can_platform 20701000.can: m_can device registered (irq=524, version=32)
    [   11.112997] remoteproc remoteproc4: 3000a000.txpru is available
    [   11.128560] m_can_platform 20711000.can: m_can device registered (irq=525, version=32)
    [  OK  ] Started Simple Network Management P[   11.167678] remoteproc remoteproc5: 3000c000.txpru is available
    rotocol (SNMP) Daemon..
    [   11.176744] platform 78400000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [   11.186876] remoteproc remoteproc6: 3008a000.txpru is available
    [   11.198912] remoteproc remoteproc7: 3008c000.txpru is available
    [   11.207245] gpio-mux mux-controller: 2-way mux-controller registered
    [   11.241004] remoteproc remoteproc3: 78400000.r5f is available
    [   11.251179] remoteproc remoteproc3: powering up 78400000.r5f
    [   11.257855] remoteproc remoteproc3: Booting fw image am64-main-r5f1_0-fw, size 93260
    [   11.276693] rproc-virtio rproc-virtio.3.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [   11.287843] platform 78600000.r5f: configured R5F for remoteproc mode
    [   11.301341] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   11.307034] virtio_rpmsg_bus virtio3: creating channel rpmsg_chrdev addr 0xe
    [   11.318873] rproc-virtio rproc-virtio.3.auto: registered virtio3 (type 7)
    [   11.329420] remoteproc remoteproc3: remote processor 78400000.r5f is now up
    [   11.350244] platform 78600000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [   11.369072] remoteproc remoteproc8: 78600000.r5f is available
    [   11.382652] remoteproc remoteproc8: powering up 78600000.r5f
    [   11.388597] remoteproc remoteproc8: Booting fw image am64-main-r5f1_1-fw, size 91520
    [   11.402310] rproc-virtio rproc-virtio.4.auto: assigned reserved memory node r5f-dma-memory@a3000000
    [   11.414350] virtio_rpmsg_bus virtio4: rpmsg host is online
    [   11.420049] virtio_rpmsg_bus virtio4: creating channel rpmsg_chrdev addr 0xe
    [   11.427725] rproc-virtio rproc-virtio.4.auto: registered virtio4 (type 7)
    [   11.434652] remoteproc remoteproc8: remote processor 78600000.r5f is now up
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  OK  ] Created slice Slice /system/systemd-fsck.
             Expecting device /dev/mmcblk1p1...
             Starting Virtual Console Setup...
    [   12.502178] remoteproc remoteproc9: 30004000.rtu is available
    [   12.509560] remoteproc remoteproc10: 30038000.pru is available
    [   12.518120] remoteproc remoteproc11: 30006000.rtu is available
    [   12.524428] remoteproc remoteproc12: 30034000.pru is available
    [  OK  ] Finished Virtual Console Setup.
    [   12.645988] remoteproc remoteproc13: 300b8000.pru is available
    [   12.660246] remoteproc remoteproc14: 30086000.rtu is available
    [   12.671636] remoteproc remoteproc15: 300b4000.pru is available
    [   12.683201] remoteproc remoteproc16: 30084000.rtu is available
    [   12.706266] TI DP83869 300b2400.mdio:0f: attached PHY driver (mii_bus:phy_addr=300b2400.mdio:0f, irq=POLL)
    [   12.719317] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: single EMAC mode
    [  OK  ] Found device /dev/mmcblk1p1.
    [   12.970599] m_can_platform 20701000.can main_mcan0: renamed from can0
             Starting File System Check on /dev/mmcblk1p1...
    [   13.199639] m_can_platform 20711000.can main_mcan1: renamed from can1
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/boot-mmcblk1p1...
    [   13.521679] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    [   13.728421] audit: type=1334 audit(1732006462.858:14): prog-id=18 op=LOAD
    [   13.748449] audit: type=1334 audit(1732006462.858:15): prog-id=19 op=LOAD
    [   13.761964] audit: type=1334 audit(1732006462.858:16): prog-id=20 op=LOAD
    [   13.778659] remoteproc remoteproc15: powering up 300b4000.pru
             Starting Hostname Service...
    [   13.802832] remoteproc remoteproc15: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 39464
    [   13.819780] remoteproc remoteproc15: unsupported resource 5
    [   13.831301] remoteproc remoteproc15: remote processor 300b4000.pru is now up
    [   13.853070] remoteproc remoteproc16: powering up 30084000.rtu
    [   13.867127] remoteproc remoteproc16: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 31140
    [   13.884695] remoteproc remoteproc16: remote processor 30084000.rtu is now up
    [   13.908847] remoteproc remoteproc6: powering up 3008a000.txpru
    [   13.940646] remoteproc remoteproc6: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 39068
    [   13.974661] remoteproc remoteproc6: remote processor 3008a000.txpru is now up
    [   14.010079] pps pps1: new PPS source ptp2
    [  OK  ] Started containerd container runtime.
    [  OK  ] Started Hostname Service.
    [  OK  ] Finished Wait for Network to be Configured.
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started benchmark_server.service.
             Starting Prints IP address to OLED display in EVM...
    [  OK  ] Started rpmsg_json.service.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [  OK  ] Finished Prints IP address to OLED display in EVM.
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am64xx-evm ttyS2
    
    Arago 2023.10 am64xx-evm ttyS2
    
    am64xx-evm login: ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            adwaita-icon-theme-symbolic
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gnu-config
            grub-common
            grub-editenv
            grub-efi
            gzip
            hidapi
            kbd-dev
            kbd-keymaps-pine
            less
            libasm1
            libatomic-dev
            libatomic1
            libbfd
            libdebuginfod1
            libdw1
            libelf1
            libgcc-s-dev
            libgcc1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libopcodes
            libqt5charts-examples
            libqt5charts-plugins
            libqt5charts-qmlplugins
            libqt5charts5
            libqt5serialport-examples
            libqt5serialport-plugins
            libqt5serialport-qmlplugins
            libqt5serialport5
            libqt5svg-examples
            libqt5svg-plugins
            libqt5svg-qmlplugins
            libqt5svg5
            libqt5virtualkeyboard-plugins
            libqt5virtualkeyboard-qmlplugins
            libqt5virtualkeyboard5
            libreadline-dev
            libreadline8
            libstdc++-dev
            libstdc++6
            libunistring5
            m4
            make
            nettle
            parted
            piglit
            qt3d-plugins
            qt3d-qmlplugins
            qt3d
            qtbase-examples
            qtbase-plugins
            qtbase-qmlplugins
            qtbase
            qtconnectivity-plugins
            qtconnectivity-qmlplugins
            qtconnectivity
            qtdeclarative-plugins
            qtdeclarative-qmlplugins
            qtdeclarative-tools
            qtdeclarative
            qtgraphicaleffects-qmlplugins
            qtlocation-examples
            qtlocation-plugins
            qtlocation-qmlplugins
            qtlocation
            qtmultimedia-examples
            qtmultimedia-plugins
            qtmultimedia-qmlplugins
            qtmultimedia
            qtquics-qmlplugins.control
            qtquics2-plugins.control
            qtquics2-qmlplugins.control
            qtquics2.control
            qtscript-examples
            qtscript-plugins
            qtscript-qmlplugins
            qtscript
            qtwayland-examples
            qtwayland-plugins
            qtwayland-qmlplugins
            qtwayland
            tar
            which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
    am64xx-evm login: root
    [   22.194412] audit: type=1006 audit(1732006488.095:17): pid=872 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [   22.206974] audit: type=1300 audit(1732006488.095:17): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffff6a1ef58 a2=1 a3=1 items=0 ppid=1 pid=872 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   22.234679] audit: type=1327 audit(1732006488.095:17): proctitle="(systemd)"
    [   22.277863] audit: type=1334 audit(1732006488.179:18): prog-id=21 op=LOAD
    [   22.285864] audit: type=1300 audit(1732006488.179:18): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc73f8a18 a2=90 a3=0 items=0 ppid=1 pid=872 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   22.312733] audit: type=1327 audit(1732006488.179:18): proctitle="(systemd)"
    [   22.320879] audit: type=1334 audit(1732006488.179:19): prog-id=21 op=UNLOAD
    [   22.328964] audit: type=1300 audit(1732006488.179:19): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffffa7d27c60 items=0 ppid=1 pid=872 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   22.355440] audit: type=1327 audit(1732006488.179:19): proctitle="(systemd)"
    [   22.363412] audit: type=1334 audit(1732006488.179:20): prog-id=22 op=LOAD
    root@am64xx-evm:~# [   44.277079] kauditd_printk_skb: 5 callbacks suppressed
    [   44.277097] audit: type=1334 audit(1732006510.179:22): prog-id=20 op=UNLOAD
    [   44.289483] audit: type=1334 audit(1732006510.179:23): prog-id=19 op=UNLOAD
    [   44.296608] audit: type=1334 audit(1732006510.179:24): prog-id=18 op=UNLOAD
    

    secondly, I reboot and start manually remote processors from u-boot prompt with "setenv dorprocboot 1" command and following boot command. 

    Also, I noticed that the LED in the R5F stops flashing when the Linux heartbeat LED starts ( ~2 seconds after boot command). Could there be a GPIO conflict between the R5F LED heartbeat and the Linux LED heartbeat in device tree ? I have already try to put the status to "none" of hearbeat LED in device tree but is it sufficient ? I remember that in another Soc, that it's important to affect a group of GPIO to microcontroller and an another group to MPU.   

    In this configuration, linux say that remote proc is only attached and only in IPC mode. ==> for me it's ok because R5F is started before (from -u-boot). 

     

    U-Boot SPL 2024.04-dirty (Nov 13 2024 - 12:37:25 +0100)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    SPL initial stack usage: 13392 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    I/TC:
    I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Fri Apr 12 09:51:21 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2024.04-dirty (Nov 13 2024 - 12:36:58 +0100)
    SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2024.04-dirty (Nov 13 2024 - 12:36:58 +0100)
    
    SoC:   AM64X SR2.0 HS-FS
    Model: Texas Instruments AM642 EVM
    Board: AM64-EVM rev C
    DRAM:  2 GiB
    Core:  98 devices, 31 uclasses, devicetree: separate
    NAND:  0 MiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from nowhere... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1, eth2: icssg1-eth-port@0
    Hit any key to stop autoboot:  0
    => setenv dorprocboot 1
    => boot
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    574 bytes read in 41 ms (13.7 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    88248 bytes read in 169 ms (509.8 KiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 0 with data@addr=0x82000000 88248 bytes: Success!
    812432 bytes read in 196 ms (4 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 1 with data@addr=0x82000000 812432 bytes: Success!
    141772 bytes read in 169 ms (818.4 KiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 2 with data@addr=0x82000000 141772 bytes: Success!
    93260 bytes read in 168 ms (542 KiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 3 with data@addr=0x82000000 93260 bytes: Success!
    91520 bytes read in 168 ms (531.3 KiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 4 with data@addr=0x82000000 91520 bytes: Success!
    20285952 bytes read in 838 ms (23.1 MiB/s)
    64546 bytes read in 46 ms (1.3 MiB/s)
    Working FDT set to 88000000
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK
    Working FDT set to 8feed000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.6.32-ti-g6de6e418c80e-dirty (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Fri Jul 26 14:32:20 UTC 2024
    [    0.000000] KASLR disabled due to lack of seed
    [    0.000000] Machine model: Texas Instruments AM642 EVM
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] OF: reserved mem: 0x000000009e800000..0x000000009fffffff (24576 KiB) nomap non-reusable optee@9e800000
    [    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] OF: reserved mem: 0x00000000a0000000..0x00000000a00fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a0000000
    [    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] OF: reserved mem: 0x00000000a0100000..0x00000000a0ffffff (15360 KiB) nomap non-reusable r5f-memory@a0100000
    [    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] OF: reserved mem: 0x00000000a1000000..0x00000000a10fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a1000000
    [    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] OF: reserved mem: 0x00000000a1100000..0x00000000a1ffffff (15360 KiB) nomap non-reusable r5f-memory@a1100000
    [    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] OF: reserved mem: 0x00000000a2000000..0x00000000a20fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a2000000
    [    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] OF: reserved mem: 0x00000000a2100000..0x00000000a2ffffff (15360 KiB) nomap non-reusable r5f-memory@a2100000
    [    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] OF: reserved mem: 0x00000000a3000000..0x00000000a30fffff (1024 KiB) nomap non-reusable r5f-dma-memory@a3000000
    [    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] OF: reserved mem: 0x00000000a3100000..0x00000000a3ffffff (15360 KiB) nomap non-reusable r5f-memory@a3100000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4000000..0x00000000a40fffff (1024 KiB) nomap non-reusable m4f-dma-memory@a4000000
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: 0x00000000a4100000..0x00000000a4ffffff (15360 KiB) nomap non-reusable m4f-memory@a4100000
    [    0.000000] OF: reserved mem: 0x00000000a5000000..0x00000000a57fffff (8192 KiB) nomap non-reusable ipc-memories@a5000000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000a57fffff]
    [    0.000000]   node   0: [mem 0x00000000a5800000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 32 MiB at 0x00000000fba00000 on node -1
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s42920 r8192 d30808 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 omap2-nand.0:2m(NAND.tiboot3),2m(NAND.tispl),2m(NAND.tiboot3.backup),4m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup),-(NAND.file-system) root=PARTUUID=076c4a2a-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000f7800000-0x00000000fb800000] (64MB)
    [    0.000000] Memory: 1822792K/2097152K available (11968K kernel code, 1250K rwdata, 4036K rodata, 2432K init, 502K bss, 241592K reserved, 32768K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001840000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000001] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008660] Console: colour dummy device 80x25
    [    0.013273] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023968] pid_max: default: 32768 minimum: 301
    [    0.028803] LSM: initializing lsm=capability,integrity
    [    0.034198] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.041788] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.051922] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.059285] RCU Tasks Trace: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
    [    0.067288] rcu: Hierarchical SRCU implementation.
    [    0.072204] rcu:     Max phase no-delay instances is 1000.
    [    0.077868] Platform MSI: msi-controller@1820000 domain created
    [    0.084262] PCI/MSI: /bus@f4000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.093823] EFI services will not be available.
    [    0.098836] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.112533] Detected VIPT I-cache on CPU1
    [    0.112643] GICv3: CPU1: found redistributor 1 region 0:0x0000000001860000
    [    0.112663] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.112724] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.112873] smp: Brought up 1 node, 2 CPUs
    [    0.142295] SMP: Total of 2 processors activated.
    [    0.147114] CPU features: detected: 32-bit EL0 Support
    [    0.152391] CPU features: detected: CRC32 instructions
    [    0.157721] CPU: All CPU(s) started at EL2
    [    0.161912] alternatives: applying system-wide alternatives
    [    0.169597] devtmpfs: initialized
    [    0.183752] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.193765] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.202191] pinctrl core: initialized pinctrl subsystem
    [    0.208229] DMI not present or invalid.
    [    0.213014] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.220232] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.227689] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.235807] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.244046] audit: initializing netlink subsys (disabled)
    [    0.249894] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
    [    0.250485] thermal_sys: Registered thermal governor 'step_wise'
    [    0.257854] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.264278] cpuidle: using governor menu
    [    0.275240] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.282261] ASID allocator initialised with 65536 entries
    [    0.300937] platform a40000.pinctrl: Fixed dependency cycle(s) with /bus@f4000/pinctrl@a40000/cpsw-cpts-pps
    [    0.315774] Modules: 27680 pages in range for non-PLT usage
    [    0.315796] Modules: 519200 pages in range for PLT usage
    [    0.322545] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.334943] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.341354] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.348294] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.354702] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.361641] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.368050] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.374989] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.383342] k3-chipinfo 43000014.chipid: Family:AM64X rev:SR2.0 JTAGID[0x1bb3802f] Detected
    [    0.393057] iommu: Default domain type: Translated
    [    0.398013] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.404737] SCSI subsystem initialized
    [    0.409126] usbcore: registered new interface driver usbfs
    [    0.414792] usbcore: registered new interface driver hub
    [    0.420272] usbcore: registered new device driver usb
    [    0.426095] pps_core: LinuxPPS API ver. 1 registered
    [    0.431189] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.440547] PTP clock support registered
    [    0.444765] EDAC MC: Ver: 3.0.0
    [    0.448864] scmi_core: SCMI protocol bus registered
    [    0.454392] FPGA manager framework
    [    0.458043] Advanced Linux Sound Architecture Driver Initialized.
    [    0.465544] vgaarb: loaded
    [    0.468864] clocksource: Switched to clocksource arch_sys_counter
    [    0.475437] VFS: Disk quotas dquot_6.6.0
    [    0.479497] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.494407] NET: Registered PF_INET protocol family
    [    0.499740] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.509511] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.518299] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.526239] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.534466] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
    [    0.542507] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.549462] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.556401] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.563965] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.570413] RPC: Registered named UNIX socket transport module.
    [    0.576528] RPC: Registered udp transport module.
    [    0.581340] RPC: Registered tcp transport module.
    [    0.586149] RPC: Registered tcp-with-tls transport module.
    [    0.591757] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.598353] NET: Registered PF_XDP protocol family
    [    0.603275] PCI: CLS 0 bytes, default 64
    [    0.608793] Initialise system trusted keyrings
    [    0.613699] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.620765] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.627195] NFS: Registering the id_resolver key type
    [    0.632434] Key type id_resolver registered
    [    0.636715] Key type id_legacy registered
    [    0.640840] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.647703] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.695885] Key type asymmetric registered
    [    0.700090] Asymmetric key parser 'x509' registered
    [    0.705166] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
    [    0.712735] io scheduler mq-deadline registered
    [    0.717392] io scheduler kyber registered
    [    0.721545] io scheduler bfq registered
    [    0.729047] pinctrl-single 4084000.pinctrl: 33 pins, size 132
    [    0.735515] pinctrl-single f4000.pinctrl: 180 pins, size 720
    [    0.743311] pinctrl-single a40000.pinctrl: 512 pins, size 2048
    [    0.757085] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.776702] loop: module loaded
    [    0.781429] megasas: 07.725.01.00-rc1
    [    0.789970] tun: Universal TUN/TAP device driver, 1.6
    [    0.796631] VFIO - User Level meta-driver version: 0.3
    [    0.803305] usbcore: registered new interface driver usb-storage
    [    0.810209] i2c_dev: i2c /dev entries driver
    [    0.815966] sdhci: Secure Digital Host Controller Interface driver
    [    0.822342] sdhci: Copyright(c) Pierre Ossman
    [    0.827087] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.833609] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.840183] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.847695] usbcore: registered new interface driver usbhid
    [    0.853422] usbhid: USB HID core driver
    [    0.857775] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fc9100
    [    0.864740] omap-mailbox 29040000.mailbox: omap mailbox rev 0x66fc9100
    [    0.871605] omap-mailbox 29060000.mailbox: omap mailbox rev 0x66fc9100
    [    0.880231] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.889465] 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.894052] optee: revision 4.2 (12d7c4ee)
    [    0.910776] optee: dynamic shared memory is enabled
    [    0.921042] random: crng init done
    [    0.924690] optee: initialized driver
    [    0.931235] NET: Registered PF_PACKET protocol family
    [    0.936573] Key type dns_resolver registered
    [    0.950452] registered taskstats version 1
    [    0.954872] Loading compiled-in X.509 certificates
    [    0.975833] ti-sci 44043000.system-controller: ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
    [    1.124427] pca953x 0-0038: supply vcc not found, using dummy regulator
    [    1.131425] pca953x 0-0038: using no AI
    [    1.157692] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.165381] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.172372] pca953x 1-0022: using AI
    [    1.198193] omap_i2c 20010000.i2c: bus 1 rev0.12 at 400 kHz
    [    1.204443] ti-sci-intr bus@f4000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.213842] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.226116] ti-udma 485c0100.dma-controller: Number of rings: 68
    [    1.234127] ti-udma 485c0100.dma-controller: Channels: 24 (bchan: 12, tchan: 6, rchan: 6)
    [    1.244446] ti-udma 485c0000.dma-controller: Number of rings: 288
    [    1.262374] ti-udma 485c0000.dma-controller: Channels: 44 (tchan: 29, rchan: 15)
    [    1.273771] printk: console [ttyS2] disabled
    [    1.278663] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 317, base_baud = 3000000) is a 8250
    [    1.287577] printk: console [ttyS2] enabled
    [    1.287577] printk: console [ttyS2] enabled
    [    1.296128] printk: bootconsole [ns16550a0] disabled
    [    1.296128] printk: bootconsole [ns16550a0] disabled
    [    1.308581] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.352873] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.363153] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.371331] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA00903, cpsw version 0x6BA80903 Ports: 3 quirks:00000006
    [    1.384261] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.4
    [    1.391411] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.398171] pps pps0: new PPS source ptp0
    [    1.402637] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1
    [    1.420474] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 16
    [    1.433632] am65-cpts 39000000.cpts: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    1.444751] mmc0: CQHCI version 5.10
    [    1.462087] mmc1: CQHCI version 5.10
    [    1.464041] clk: Disabling unused clocks
    [    1.490910] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.503438] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.505575] ALSA device list:
    [    1.514127]   No soundcards found.
    [    1.518210] Waiting for root device PARTUUID=076c4a2a-02...
    [    1.574992] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    1.582550] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [    1.592330]  mmcblk1: p1 p2
    [    1.598369] mmc0: Command Queue Engine enabled
    [    1.602923] mmc0: new HS200 MMC card at address 0001
    [    1.608988] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.616008]  mmcblk0:
    [    1.618898] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    1.625688] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    1.631913] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (239:0)
    [    1.815427] EXT4-fs (mmcblk1p2): mounted filesystem 27d406a0-8181-44e9-8e68-07b1dee77e6c r/w with ordered data mode. Quota mode: none.
    [    1.827684] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.836438] devtmpfs: mounted
    [    1.841065] Freeing unused kernel memory: 2432K
    [    1.845707] Run /sbin/init as init process
    [    2.063263] systemd[1]: System time before build time, advancing clock.
    [    2.114297] NET: Registered PF_INET6 protocol family
    [    2.120682] Segment Routing with IPv6
    [    2.124499] In-situ OAM (IOAM) with IPv6
    [    2.168787] systemd[1]: systemd 255.4^ 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 -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.200821] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.229775] systemd[1]: Hostname set to <am64xx-evm>.
    [    2.693755] systemd[1]: /usr/lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.862224] systemd[1]: /etc/systemd/system/sync-clocks.service:11: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.973595] systemd[1]: Queued start job for default target Graphical Interface.
    [    3.017238] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    3.044125] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    3.068243] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    3.091422] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.113662] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.137569] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.161266] systemd[1]: Expecting device /dev/ttyS2...
             Expecting device /dev/ttyS2...
    [    3.181297] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    3.201205] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.221203] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    3.241236] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    3.303258] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.325345] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.356717] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.377771] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.402901] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    3.426076] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.450213] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.466432] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.495858] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.517998] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.542146] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    3.589515] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.601556] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.657837] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.673894] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.713760] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.753988] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    3.783894] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    3.814327] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    3.858226] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.887483] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.902324] fuse: init (API version 7.39)
    [    3.913728] systemd[1]: File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
    [    3.963823] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    4.022276] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.054345] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network units from Kernel command line...
    [    4.099461] cryptodev: loading out-of-tree module taints kernel.
    [    4.116820] cryptodev: driver 1.13 loaded.
    [    4.122234] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.166067] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    4.183950] systemd-journald[102]: Collecting audit messages is enabled.
    [    4.201774] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.230994] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.[    4.241346] EXT4-fs (mmcblk1p2): re-mounted 27d406a0-8181-44e9-8e68-07b1dee77e6c r/w. Quota mode: none.
    
    [    4.268690] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    4.298056] systemd[1]: Mounted Kernel Debug File System.
    [  OK  ] Mounted Kernel Debug File System.
    [    4.321975] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module drm.
    [  OK  ] Finished Load Kernel Module fuse.
    [  OK  ] Finished Load Kernel Modules.
    [  OK  ] Finished Generate network units from Kernel command line.
    [  OK  ] Finished Remount Root and Kernel File Systems.
             Mounting FUSE Control File System...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev gracefully...
    [  OK  ] Mounted FUSE Control File System.
    [    4.762620] systemd-journald[102]: Received client request to flush runtime journal.
    [  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 gracefully.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /var/volatile...
    [    5.145593] audit: type=1334 audit(1709054767.076:2): prog-id=6 op=LOAD
    [    5.157401] audit: type=1334 audit(1709054767.088:3): prog-id=7 op=LOAD
             Starting Rule-based Manager for Device Events and Files...
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save OS Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Finished Load/Save OS Random Seed.
    [  OK  ] Finished Create Volatile Files and Directories.
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [    5.531635] audit: type=1334 audit(1709054767.464:4): prog-id=8 op=LOAD
             Starting Network Name Resolution...
    [    5.574237] audit: type=1334 audit(1709054767.508:5): prog-id=9 op=LOAD
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [    5.687553] audit: type=1334 audit(1709054767.620:6): prog-id=10 op=LOAD
    [    5.699754] audit: type=1334 audit(1709054767.628:7): prog-id=11 op=LOAD
    [    5.711714] audit: type=1334 audit(1709054767.628:8): prog-id=12 op=LOAD
             Starting User Database Manager...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started User Database Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Timer service to update the IP on OLED each 10s.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  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.
    [    7.143589] audit: type=1334 audit(1732006631.290:9): prog-id=13 op=LOAD
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
    [    7.637398] dbus-broker-lau[258]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
    [  OK  ] Started Job spooling tools.
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Periodic Command Scheduler.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting Expand the rootfs partiti…to full size of the boot device....
    [    7.981005] audit: type=1334 audit(1732006632.126:10): prog-id=14 op=LOAD
             Starting User Login Management...
    [    8.001032] audit: type=1334 audit(1732006632.126:11): prog-id=15 op=LOAD
             Starting Telnet Server...
    [    8.025104] audit: type=1334 audit(1732006632.126:12): prog-id=16 op=LOAD
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Reached target Preparation for Network.
    [    8.154447] audit: type=1334 audit(1732006632.302:13): prog-id=17 op=LOAD
             Starting Network Configuration...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Started Telephony service.
    [    8.841479] Bluetooth: Core ver 2.22
    [    8.841649] NET: Registered PF_BLUETOOTH protocol family
    [    8.841655] Bluetooth: HCI device and connection manager initialized
    [    8.841679] Bluetooth: HCI socket layer initialized
    [    8.841689] Bluetooth: L2CAP socket layer initialized
    [    8.841713] Bluetooth: SCO socket layer initialized
    [  OK  ] Finished Expand the rootfs partition to full size of the boot device..
    [  OK  ] Started User Login Management.
    [    9.467580] CAN device driver interface
    [    9.474571] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    9.517503] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    9.530166] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
    [    9.580803] at24 0-0050: supply vcc not found, using dummy regulator
    [    9.599358] at24 0-0050: 131072 byte 24c1024 EEPROM, writable, 1 bytes/write
    [    9.748769] davinci_mdio 300b2400.mdio: Configuring MDIO in manual mode
    [  OK  ] Started Network Configuration.
    [  OK  ] Reached target Network.
             Starting Enable and configure wl18xx bluetooth stack...
    [    9.818593] davinci_mdio 300b2400.mdio: davinci mdio revision 1.7, bus freq 1000000
             Starting containerd container runtime...
    [    9.844443] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [  OK  ] Started Netperf Benchmark Server    9.857489] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    m.
             Starting Simple Network Management Protocol (SNMP) Daemon....
             Starting Wait for Network to be Configured...
             Starting Permit User Sessions...
    [   10.146115] davinci_mdio 300b2400.mdio: phy[15]: device 300b2400.mdio:0f, driver TI DP83869
    [  OK  ] Finished Enable and configure wl18x[   10.197095] platform 78000000.r5f: configured R5F for IPC-only mode
    x bluetooth stack.
    [  OK  ] Finished Permit User Sessions.
    [   10.309564] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@a4000000
    [   10.320458] k3-m4-rproc 5000000.m4fss: configured M4 for IPC-only mode
    [   10.330872] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@a0000000
    [   10.340121] remoteproc remoteproc0: 78000000.r5f is available
    [   10.346141] remoteproc remoteproc0: attaching to 78000000.r5f
    [   10.378835] remoteproc remoteproc1: 5000000.m4fss is available
    [  OK  ] Started Getty on tty1.
    [   10.388972] remoteproc remoteproc1: attaching to 5000000.m4fss
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [   10.489970] k3-m4-rproc 5000000.m4fss: M4 initialized in IPC-only mode
    [   10.505019] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [   10.532633] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node m4f-dma-memory@a4000000
    [   10.553383] virtio_rpmsg_bus virtio0: rpmsg host is online
    [   10.559143] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [   10.567187] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [   10.575749] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node r5f-dma-memory@a0000000
    [   10.605257] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)
    [   10.617227] remoteproc remoteproc1: remote processor 5000000.m4fss is now attached
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [   10.717662] virtio_rpmsg_bus virtio1: rpmsg host is online
    [   10.735550] rproc-virtio rproc-virtio.0.auto: registered virtio1 (type 7)
    [   10.742643] remoteproc remoteproc0: remote processor 78000000.r5f is now attached
    [   10.752786] platform 78200000.r5f: configured R5F for IPC-only mode
    [   10.760182] platform 78200000.r5f: assigned reserved memory node r5f-dma-memory@a1000000
    [   10.786698] remoteproc remoteproc2: 78200000.r5f is available
    [   10.794186] remoteproc remoteproc2: attaching to 78200000.r5f
    [   10.821880] platform 78200000.r5f: R5F core initialized in IPC-only mode
    [   10.832054] m_can_platform 20701000.can: m_can device registered (irq=524, version=32)
    [   10.883127] m_can_platform 20711000.can: m_can device registered (irq=525, version=32)
    [   10.886380] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@a1000000
    [   10.905470] virtio_rpmsg_bus virtio2: rpmsg host is online
    [   10.911515] rproc-virtio rproc-virtio.2.auto: registered virtio2 (type 7)
    [   10.922521] remoteproc remoteproc2: remote processor 78200000.r5f is now attached
    [   10.992356] platform 78400000.r5f: configured R5F for IPC-only mode
    [   11.009254] platform 78400000.r5f: assigned reserved memory node r5f-dma-memory@a2000000
    [   11.023128] gpio-mux mux-controller: 2-way mux-controller registered
    [   11.032013] remoteproc remoteproc3: 78400000.r5f is available
    [   11.062019] remoteproc remoteproc4: 3000a000.txpru is available
    [   11.063061] remoteproc remoteproc3: attaching to 78400000.r5f
    [   11.075271] platform 78400000.r5f: R5F core initialized in IPC-only mode
    [   11.084777] remoteproc remoteproc5: 3000c000.txpru is available
    [   11.098753] rproc-virtio rproc-virtio.3.auto: assigned reserved memory node r5f-dma-memory@a2000000
    [   11.100943] remoteproc remoteproc6: 3008a000.txpru is available
    [   11.126044] virtio_rpmsg_bus virtio3: rpmsg host is online
    [   11.127156] remoteproc remoteproc7: 3008c000.txpru is available
    [   11.136640] rproc-virtio rproc-virtio.3.auto: registered virtio3 (type 7)
    [   11.145313] remoteproc remoteproc3: remote processor 78400000.r5f is now attached
    [   11.160761] platform 78600000.r5f: configured R5F for IPC-only mode
    [   11.168137] platform 78600000.r5f: assigned reserved memory node r5f-dma-memory@a3000000
    [   11.181535] remoteproc remoteproc8: 78600000.r5f is available
    [   11.197547] remoteproc remoteproc8: attaching to 78600000.r5f
    [   11.264331] platform 78600000.r5f: R5F core initialized in IPC-only mode
    [   11.277675] rproc-virtio rproc-virtio.4.auto: assigned reserved memory node r5f-dma-memory@a3000000
    [   11.296735] virtio_rpmsg_bus virtio4: rpmsg host is online
    [   11.307750] rproc-virtio rproc-virtio.4.auto: registered virtio4 (type 7)
    [   11.376135] remoteproc remoteproc8: remote processor 78600000.r5f is now attached
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [   11.726874] remoteproc remoteproc9: 30034000.pru is available
    [   11.734466] remoteproc remoteproc10: 30004000.rtu is available
    [   11.767880] remoteproc remoteproc11: 30038000.pru is available
    [   11.812814] remoteproc remoteproc12: 30006000.rtu is available
             Starting Virtual Console Setup...
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [   12.228443] remoteproc remoteproc13: 300b8000.pru is available
    [   12.281456] remoteproc remoteproc14: 30086000.rtu is available
    [  OK  ] Finished Virtual Console Setup.
    [   12.450198] remoteproc remoteproc15: 300b4000.pru is available
    [   12.474760] remoteproc remoteproc16: 30084000.rtu is available
    [   12.512320] m_can_platform 20711000.can main_mcan1: renamed from can1
    [  OK  ] Created slice Slice /system/systemd-fsck.
             Expecting device /dev/mmcblk1p1...
    [   12.702406] m_can_platform 20701000.can main_mcan0: renamed from can0
    [   12.708264] TI DP83869 300b2400.mdio:0f: attached PHY driver (mii_bus:phy_addr=300b2400.mdio:0f, irq=POLL)
    [   12.821400] icssg-prueth icssg1-eth: TI PRU ethernet driver initialized: single EMAC mode
    [   13.461082] remoteproc remoteproc15: powering up 300b4000.pru
    [   13.490427] remoteproc remoteproc15: Booting fw image ti-pruss/am65x-sr2-pru0-prueth-fw.elf, size 39464
    [   13.499972] remoteproc remoteproc15: unsupported resource 5
    [   13.506421] remoteproc remoteproc15: remote processor 300b4000.pru is now up
    [   13.513799] remoteproc remoteproc16: powering up 30084000.rtu
    [  OK  ] Found device /dev/mmcblk1p1.
    [   13.525823] remoteproc remoteproc16: Booting fw image ti-pruss/am65x-sr2-rtu0-prueth-fw.elf, size 31140
    [   13.536489] remoteproc remoteproc16: remote processor 30084000.rtu is now up
    [   13.544041] remoteproc remoteproc6: powering up 3008a000.txpru
    [   13.555516] remoteproc remoteproc6: Booting fw image ti-pruss/am65x-sr2-txpru0-prueth-fw.elf, size 39068
             Starting File System Check on /dev/mmcblk1p1   13.571899] remoteproc remoteproc6: remote processor 3008a000.txpru is now up
    0m...
    [   13.584187] pps pps1: new PPS source ptp2
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/boot-mmcblk1p1...
    [   13.965327] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [  OK  ] Mounted /run/media/boot-mmcblk1p1.
    [   14.115986] audit: type=1334 audit(1732006638.262:14): prog-id=18 op=LOAD
    [   14.124242] audit: type=1334 audit(1732006638.270:15): prog-id=19 op=LOAD
    [   14.131584] audit: type=1334 audit(1732006638.270:16): prog-id=20 op=LOAD
             Starting Hostname Service...
    [  OK  ] Started containerd container runtime.
    [  OK  ] Started Hostname Service.
    [  OK  ] Finished Wait for Network to be Configured.
    [  OK  ] Reached target Network is Online.
    [  OK  ] Started benchmark_server.service.
             Starting Prints IP address to OLED display in EVM...
    [  OK  ] Started rpmsg_json.service.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
            adwaita-icon-theme-symbolic
            autoconf
            bash-dev
            bash
            bc
            binutils
            cifs-utils
            coreutils-stdbuf
            coreutils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gnu-config
            grub-common
            grub-editenv
            grub-efi
            gzip
            hidapi
            kbd-dev
            kbd-keymaps-pine
            less
            libasm1
            libatomic-dev
            libatomic1
            libbfd
            libdebuginfod1
            libdw1
            libelf1
            libgcc-s-dev
            libgcc1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libopcodes
            libqt5charts-examples
            libqt5charts-plugins
            libqt5charts-qmlplugins
            libqt5charts5
            libqt5serialport-examples
            libqt5serialport-plugins
            libqt5serialport-qmlplugins
            libqt5serialport5
            libqt5svg-examples
            libqt5svg-plugins
            libqt5svg-qmlplugins
            libqt5svg5
            libqt5virtualkeyboard-plugins
            libqt5virtualkeyboard-qmlplugins
            libqt5virtualkeyboard5
            libreadline-dev
            libreadline8
            libstdc++-dev
            libstdc++6
            libunistring5
            m4
            make
            nettle
            parted
            piglit
            qt3d-plugins
            qt3d-qmlplugins
            qt3d
            qtbase-examples
            qtbase-plugins
            qtbase-qmlplugins
            qtbase
            qtconnectivity-plugins
            qtconnectivity-qmlplugins
            qtconnectivity
            qtdeclarative-plugins
            qtdeclarative-qmlplugins
            qtdeclarative-tools
            qtdeclarative
            qtgraphicaleffects-qmlplugins
            qtlocation-examples
            qtlocation-plugins
            qtlocation-qmlplugins
            qtlocation
            qtmultimedia-examples
            qtmultimedia-plugins
            qtmultimedia-qmlplugins
            qtmultimedia
            qtquics-qmlplugins.control
            qtquics2-plugins.control
            qtquics2-qmlplugins.control
            qtquics2.control
            qtscript-examples
            qtscript-plugins
            qtscript-qmlplugins
            qtscript
            qtwayland-examples
            qtwayland-plugins
            qtwayland-qmlplugins
            qtwayland
            tar
            which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am64xx-evm ttyS2
    
    Arago 2023.10 am64xx-evm ttyS2
    
    am64xx-evm login: root
    [   20.284298] audit: type=1006 audit(1732006674.449:17): pid=870 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
    [   20.297129] audit: type=1300 audit(1732006674.449:17): arch=c00000b7 syscall=64 success=yes exit=1 a0=8 a1=fffffc4f5d48 a2=1 a3=1 items=0 ppid=1 pid=870 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/usr/lib/systemd/systemd-executor" key=(null)
    [   20.323794] audit: type=1327 audit(1732006674.449:17): proctitle="(systemd)"
    [   20.362059] audit: type=1334 audit(1732006674.529:18): prog-id=21 op=LOAD
    [   20.370023] audit: type=1300 audit(1732006674.529:18): arch=c00000b7 syscall=280 success=yes exit=8 a0=5 a1=ffffc947a578 a2=90 a3=0 items=0 ppid=1 pid=870 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   20.396839] audit: type=1327 audit(1732006674.529:18): proctitle="(systemd)"
    [   20.405082] audit: type=1334 audit(1732006674.529:19): prog-id=21 op=UNLOAD
    [   20.412806] audit: type=1300 audit(1732006674.529:19): arch=c00000b7 syscall=57 success=yes exit=0 a0=8 a1=1 a2=0 a3=ffff9718dc60 items=0 ppid=1 pid=870 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="systemd" exe="/usr/lib/systemd/systemd" key=(null)
    [   20.439137] audit: type=1327 audit(1732006674.529:19): proctitle="(systemd)"
    [   20.446882] audit: type=1334 audit(1732006674.529:20): prog-id=22 op=LOAD
    root@am64xx-evm:~# [   44.599782] kauditd_printk_skb: 5 callbacks suppressed
    [   44.599804] audit: type=1334 audit(1732006698.765:22): prog-id=20 op=UNLOAD
    [   44.613720] audit: type=1334 audit(1732006698.765:23): prog-id=19 op=UNLOAD
    [   44.621684] audit: type=1334 audit(1732006698.765:24): prog-id=18 op=UNLOAD
    
      

  • Hello Sebastien,

    First, let's eliminate what the problem is NOT 

    I was curious if some issues could come up if one R5F core of an R5F subsystem was initialized in Uboot, while the other R5F core in the same subsystem was initialized by Linux remoteproc. That might be a currently untested usecase. However, you are initializing all R5F cores in uboot, so that would not be related.

    I am glad that we do not see any remoteproc errors when the Linux driver attaches to the remote core.

    The fact that the applications run just fine when Linux boots the R5F cores tells me that this is not a Linux devicetree pinmuxing issue or a typical resource conflict issue.

    So... what is going on? 

    Can you identify exactly where in the R5F code it stalls out?

    It looks like you already have print statements in your code. If the R5F is stalling out AFTER the Linux remoteproc driver attaches, then we can simply inspect the prints from the Linux trace log:
    https://dev.ti.com/tirex/explore/node?node=A__AbUQ5KHRh.Fi4sFvN-aleA__AM64-ACADEMY__WI1KRXP__LATEST

    I am not as familiar with CCS debugging methods (outside of the basic tools I document in the academy), but perhaps you could connect to the R5F cores while your processor is still sitting in uboot, after the R5F has been initialized by uboot? Then you could try using breakpoints to figure out exactly where the code is stalling out once Linux boot begins.

    Regards,

    Nick

  • Hello Nick,

    Yesterday, I have tried to blink a led or just print "hello world" from R5F application to eliminate Linux devicetree pinmuxing issue.

    Blink a led or print "Hello world" from R5F,  the behaviour is the same. R5F application freeze ~2 seconds after the start of Linux. "Hello world display" stops after linux boot.

    So I have tried to debug with CCS and breakpoints, I saw that R5F application was looping  in two functions ClockP_isActive and SemaphoreP_pend. 

    It's as if the loop becomes infinite. But how Linux can interact on this part ? Timer ? 

    uint32_t ClockP_isActive(ClockP_Object *handle)
    {
        ClockP_Struct *obj = (ClockP_Struct *)handle;
    	uint32_t result=0;
        if(obj->timeout > 0U)
        {
        	result = 1;
        }
    
        return result;
    }
    
    
    int32_t SemaphoreP_pend(SemaphoreP_Object *obj, uint32_t timeout)
    {
        SemaphoreP_Struct *pSemaphore = (SemaphoreP_Struct *)obj;
        ClockP_Params      clockParams;
        ClockP_Object      clockObj;
        uintptr_t          key;
        int32_t            status = SystemP_SUCCESS;
    
        /*
         * Always add Clock (but don't start) so that ClockP_isActive() below
         * is valid.  It's OK to add a Clock even when timeout is 0 or forever
         * (but it is not OK to start it).
         */
        ClockP_Params_init(&clockParams);
        clockParams.timeout = timeout;
        (void)ClockP_construct(&clockObj, &clockParams);
    
        if ((timeout != 0U) && (timeout !=(uint32_t)SystemP_WAIT_FOREVER)) {
            ClockP_start(&clockObj);
        }
    
        key = HwiP_disable();
    
        while ((pSemaphore->count == 0U) && (pSemaphore->nestCount == 0U) &&
               ((timeout == SystemP_WAIT_FOREVER) ||
                (ClockP_isActive(&clockObj)!=0U))) {
    
            HwiP_restore(key);
    
            key = HwiP_disable();
        }
    
        if (pSemaphore->count > 0U) {
            (pSemaphore->count)=(pSemaphore->count) - 1U;
            if(pSemaphore->type==(uint32_t)SemaphoreP_TYPE_MUTEX)
            {
                pSemaphore->nestCount = pSemaphore->nestCount + 1U;
            }
            status = SystemP_SUCCESS;
        }
        else {
            if(pSemaphore->type==(uint32_t)SemaphoreP_TYPE_MUTEX)
            {
                pSemaphore->nestCount = pSemaphore->nestCount + 1U;
                status = SystemP_SUCCESS;
            }
            else
            {
                status = SystemP_TIMEOUT;
            }
        }
    
        HwiP_restore(key);
    
        ClockP_destruct(&clockObj);
    
        return (status);
    }

    So... what is going on?

    I don't think that it's remote proc driver of linux that "crashes" R5F application because the problem comes long before during startup of Linux  

      1.521901] Waiting for root device PARTUUID=076c4a2a-02...
    [    1.571796] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
    [    1.579389] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
    [    1.589098]  mmcblk1: p1 p2
    [    1.595373] mmc0: Command Queue Engine enabled
    [    1.599931] mmc0: new HS200 MMC card at address 0001
    [    1.605813] mmcblk0: mmc0:0001 S0J56X 14.8 GiB
    [    1.612351]  mmcblk0:
    [    1.615147] mmcblk0boot0: mmc0:0001 S0J56X 31.5 MiB
    [    1.621715] mmcblk0boot1: mmc0:0001 S0J56X 31.5 MiB
    [    1.628122] mmcblk0rpmb: mmc0:0001 S0J56X 4.00 MiB, chardev (239:0)
    [    1.930110] EXT4-fs (mmcblk1p2): recovery complete
    [    1.936234] EXT4-fs (mmcblk1p2): mounted filesystem 27d406a0-8181-44e9-8e68-0                                                                                                                                                                                                                                                                                                                            7b1dee77e6c r/w with ordered data mode. Quota mode: none.
    [    1.948453] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.957123] devtmpfs: mounted
    [    1.961791] Freeing unused kernel memory: 2432K
    [    1.966446] Run /sbin/init as init process
    [    2.183179] systemd[1]: System time before build time, advancing clock.
    [    2.234105] NET: Registered PF_INET6 protocol family
    [    2.240563] Segment Routing with IPv6
    [    2.244336] In-situ OAM (IOAM) with IPv6
    [    2.288979] systemd[1]: systemd 255.4^ running in system mode (+PAM -AUDIT -S                                                                                                                                                                                                                                                                                                                            ELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL                                                                                                                                                                                                                                                                                                                             -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUAL                                                                                                                                                                                                                                                                                                                            ITY -P11KIT -QRENCODE -TPM2 -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMO                                                                                                                                                                                                                                                                                                                            N +UTMP +SYSVINIT default-hierarchy=unified)
    [    2.320899] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.349713] systemd[1]: Hostname set to <am64xx-evm>.
    

     

         

  • Nick,

    I add that the application is looping continually here in semaphore function

       while ((pSemaphore->count == 0U) && (pSemaphore->nestCount == 0U) &&
               ((timeout == SystemP_WAIT_FOREVER) ||
                (ClockP_isActive(&clockObj)!=0U))) {
    
            HwiP_restore(key);
    
            key = HwiP_disable();
        }

  • Hello Sebastien,

    I am sending your thread over to a team member who is more familiar with RTOS programming to comment on how the R5F program would get to the semaphore function - hopefully that will help us understand what might be happening in the system during Linux boot.

    Can I get you to confirm exactly what code is running at this point in time? e.g., an unmodified project, if so, which one? If you made modifications, could I get you to attach those to the thread for my team member to look at?

    Regards,

    Nick

  • Hello Nick,

    Just a precision : It's not an RTOS function but BareMetal function. I took MCU_SDK 10 code example and the modifications only concern the sysconfig memory zones and I take UART 1 rather than UART 0  . The u-boot and Linux device tree have been modified accordingly to reserve SRAM zone. 

    u-boot image is the latest version to get rproc command from u-boot prompt. 

    see attached my sysconfig

    /**
     * These arguments were used when this file was generated. They will be automatically applied on subsequent loads
     * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments.
     * @cliArgs --device "AM64x" --package "ALV" --part "Default" --context "r5fss0-0" --product "MCU_PLUS_SDK_AM64x@10.00.00"
     * @versions {"tool":"1.20.0+3587"}
     */
    
    /**
     * Import the modules used in this configuration.
     */
    const gpio            = scripting.addModule("/drivers/gpio/gpio", {}, false);
    const gpio1           = gpio.addInstance();
    const ipc             = scripting.addModule("/drivers/ipc/ipc");
    const debug_log       = scripting.addModule("/kernel/dpl/debug_log");
    const dpl_cfg         = scripting.addModule("/kernel/dpl/dpl_cfg");
    const mpu_armv7       = scripting.addModule("/kernel/dpl/mpu_armv7", {}, false);
    const mpu_armv71      = mpu_armv7.addInstance();
    const mpu_armv72      = mpu_armv7.addInstance();
    const mpu_armv73      = mpu_armv7.addInstance();
    const mpu_armv74      = mpu_armv7.addInstance();
    const mpu_armv75      = mpu_armv7.addInstance();
    const mpu_armv76      = mpu_armv7.addInstance();
    const mpu_armv77      = mpu_armv7.addInstance();
    const mpu_armv78      = mpu_armv7.addInstance();
    const default_linker  = scripting.addModule("/memory_configurator/default_linker", {}, false);
    const default_linker1 = default_linker.addInstance();
    const general         = scripting.addModule("/memory_configurator/general", {}, false);
    const general1        = general.addInstance();
    const region          = scripting.addModule("/memory_configurator/region", {}, false);
    const region1         = region.addInstance();
    const section         = scripting.addModule("/memory_configurator/section", {}, false);
    const section1        = section.addInstance();
    const section2        = section.addInstance();
    const section3        = section.addInstance();
    const section4        = section.addInstance();
    const section5        = section.addInstance();
    const section6        = section.addInstance();
    const section7        = section.addInstance();
    const section8        = section.addInstance();
    const section9        = section.addInstance();
    const section10       = section.addInstance();
    const section11       = section.addInstance();
    const section12       = section.addInstance();
    
    /**
     * Write custom configuration values to the imported modules.
     */
    gpio1.pinDir                   = "OUTPUT";
    gpio1.$name                    = "GPIO_LED";
    gpio1.useMcuDomainPeripherals  = true;
    gpio1.MCU_GPIO.$assign         = "MCU_GPIO0";
    gpio1.MCU_GPIO.gpioPin.$assign = "MCU_SPI1_CS0";
    
    ipc.enableLinuxIpc = true;
    ipc.r5fss0_1       = "NONE";
    ipc.r5fss1_0       = "NONE";
    ipc.r5fss1_1       = "NONE";
    ipc.m4fss0_0       = "NONE";
    
    debug_log.enableMemLog         = true;
    debug_log.enableLogZoneInfo    = true;
    debug_log.enableUartLog        = true;
    debug_log.uartLog.$name        = "CONFIG_UART1";
    debug_log.uartLog.UART.$assign = "USART1";
    
    const uart_v0_template  = scripting.addModule("/drivers/uart/v0/uart_v0_template", {}, false);
    const uart_v0_template1 = uart_v0_template.addInstance({}, false);
    uart_v0_template1.$name = "drivers_uart_v0_uart_v0_template0";
    debug_log.uartLog.child = uart_v0_template1;
    
    mpu_armv71.$name             = "CONFIG_MPU_REGION0";
    mpu_armv71.size              = 31;
    mpu_armv71.attributes        = "Device";
    mpu_armv71.accessPermissions = "Supervisor RD+WR, User RD";
    mpu_armv71.allowExecute      = false;
    
    mpu_armv72.$name             = "CONFIG_MPU_REGION1";
    mpu_armv72.size              = 15;
    mpu_armv72.accessPermissions = "Supervisor RD+WR, User RD";
    
    mpu_armv73.$name             = "CONFIG_MPU_REGION2";
    mpu_armv73.baseAddr          = 0x41010000;
    mpu_armv73.size              = 15;
    mpu_armv73.accessPermissions = "Supervisor RD+WR, User RD";
    
    mpu_armv74.$name    = "CONFIG_MPU_REGION3";
    mpu_armv74.baseAddr = 0x70000000;
    mpu_armv74.size     = 21;
    
    mpu_armv75.$name             = "CONFIG_MPU_REGION4";
    mpu_armv75.baseAddr          = 0x60000000;
    mpu_armv75.size              = 28;
    mpu_armv75.accessPermissions = "Supervisor RD, User RD";
    
    mpu_armv76.$name    = "CONFIG_MPU_REGION5";
    mpu_armv76.baseAddr = 0x80000000;
    mpu_armv76.size     = 31;
    
    mpu_armv77.$name        = "CONFIG_MPU_REGION6";
    mpu_armv77.baseAddr     = 0xA0000000;
    mpu_armv77.attributes   = "NonCached";
    mpu_armv77.allowExecute = false;
    mpu_armv77.size         = 20;
    
    mpu_armv78.$name        = "CONFIG_MPU_REGION7";
    mpu_armv78.allowExecute = false;
    mpu_armv78.baseAddr     = 0xA5000000;
    mpu_armv78.size         = 16;
    mpu_armv78.attributes   = "NonCached";
    
    default_linker1.$name = "memory_configurator_default_linker0";
    
    general1.$name        = "CONFIG_GENERAL0";
    general1.stack_size   = 32768;
    general1.linker.$name = "TIARMCLANG0";
    
    region1.$name                                = "MEMORY_REGION_CONFIGURATION0";
    region1.memory_region.create(11);
    region1.memory_region[0].type                = "TCMA_R5F";
    region1.memory_region[0].$name               = "R5F_VECS";
    region1.memory_region[0].size                = 0x40;
    region1.memory_region[0].auto                = false;
    region1.memory_region[1].type                = "TCMA_R5F";
    region1.memory_region[1].$name               = "R5F_TCMA";
    region1.memory_region[1].size                = 0x7FC0;
    region1.memory_region[2].type                = "TCMB_R5F";
    region1.memory_region[2].$name               = "R5F_TCMB0";
    region1.memory_region[2].size                = 0x8000;
    region1.memory_region[3].type                = "FLASH";
    region1.memory_region[3].$name               = "FLASH";
    region1.memory_region[3].auto                = false;
    region1.memory_region[3].manualStartAddress  = 0x60100000;
    region1.memory_region[3].size                = 0x80000;
    region1.memory_region[4].auto                = false;
    region1.memory_region[4].size                = 0xC000;
    region1.memory_region[4].$name               = "RTOS_NORTOS_IPC_SHM_MEM";
    region1.memory_region[5].size                = 0x3F80;
    region1.memory_region[5].auto                = false;
    region1.memory_region[5].$name               = "LOG_SHM_MEM";
    region1.memory_region[5].manualStartAddress  = 0x701D0080;
    region1.memory_region[6].auto                = false;
    region1.memory_region[6].size                = 0x80;
    region1.memory_region[6].$name               = "USER_SHM_MEM";
    region1.memory_region[6].manualStartAddress  = 0x701D0000;
    region1.memory_region[7].$name               = "MSRAM";
    region1.memory_region[7].size                = 0x40000;
    region1.memory_region[7].auto                = false;
    region1.memory_region[7].manualStartAddress  = 0x70080000;
    region1.memory_region[8].$name               = "NON_CACHE_MEM";
    region1.memory_region[8].auto                = false;
    region1.memory_region[8].manualStartAddress  = 0x70060000;
    region1.memory_region[8].size                = 0x8000;
    region1.memory_region[9].type                = "DDR_ALL";
    region1.memory_region[9].$name               = "DDR_0";
    region1.memory_region[9].manualStartAddress  = 0xA0100000;
    region1.memory_region[9].size                = 0x1000;
    region1.memory_region[9].auto                = false;
    region1.memory_region[10].type               = "DDR_ALL";
    region1.memory_region[10].$name              = "DDR_1";
    region1.memory_region[10].auto               = false;
    region1.memory_region[10].manualStartAddress = 0xA0101000;
    region1.memory_region[10].size               = 0xEFF000;
    
    section1.$name                        = "Vector Table";
    section1.load_memory                  = "R5F_VECS";
    section1.group                        = false;
    section1.output_section.create(1);
    section1.output_section[0].$name      = ".vectors";
    section1.output_section[0].palignment = true;
    
    section2.$name                        = "Text Segments";
    section2.load_memory                  = "MSRAM";
    section2.output_section.create(5);
    section2.output_section[0].$name      = ".text.hwi";
    section2.output_section[0].palignment = true;
    section2.output_section[1].$name      = ".text.cache";
    section2.output_section[1].palignment = true;
    section2.output_section[2].$name      = ".text.mpu";
    section2.output_section[2].palignment = true;
    section2.output_section[3].$name      = ".text.boot";
    section2.output_section[3].palignment = true;
    section2.output_section[4].$name      = ".text:abort";
    section2.output_section[4].palignment = true;
    
    section3.$name                        = "Code and Read-Only Data";
    section3.load_memory                  = "MSRAM";
    section3.output_section.create(2);
    section3.output_section[0].$name      = ".text";
    section3.output_section[0].palignment = true;
    section3.output_section[1].$name      = ".rodata";
    section3.output_section[1].palignment = true;
    
    section4.$name                        = "Data Segment";
    section4.load_memory                  = "MSRAM";
    section4.output_section.create(1);
    section4.output_section[0].$name      = ".data";
    section4.output_section[0].palignment = true;
    
    section5.$name                                   = "Memory Segments";
    section5.load_memory                             = "MSRAM";
    section5.output_section.create(3);
    section5.output_section[0].$name                 = ".bss";
    section5.output_section[0].palignment            = true;
    section5.output_section[0].output_sections_start = "__BSS_START";
    section5.output_section[0].output_sections_end   = "__BSS_END";
    section5.output_section[1].$name                 = ".sysmem";
    section5.output_section[1].palignment            = true;
    section5.output_section[2].$name                 = ".stack";
    section5.output_section[2].palignment            = true;
    
    section6.$name                                    = "Stack Segments";
    section6.load_memory                              = "MSRAM";
    section6.output_section.create(5);
    section6.output_section[0].$name                  = ".irqstack";
    section6.output_section[0].output_sections_start  = "__IRQ_STACK_START";
    section6.output_section[0].output_sections_end    = "__IRQ_STACK_END";
    section6.output_section[0].input_section.create(1);
    section6.output_section[0].input_section[0].$name = ". = . + __IRQ_STACK_SIZE;";
    section6.output_section[1].$name                  = ".fiqstack";
    section6.output_section[1].output_sections_start  = "__FIQ_STACK_START";
    section6.output_section[1].output_sections_end    = "__FIQ_STACK_END";
    section6.output_section[1].input_section.create(1);
    section6.output_section[1].input_section[0].$name = ". = . + __FIQ_STACK_SIZE;";
    section6.output_section[2].$name                  = ".svcstack";
    section6.output_section[2].output_sections_start  = "__SVC_STACK_START";
    section6.output_section[2].output_sections_end    = "__SVC_STACK_END";
    section6.output_section[2].input_section.create(1);
    section6.output_section[2].input_section[0].$name = ". = . + __SVC_STACK_SIZE;";
    section6.output_section[3].$name                  = ".abortstack";
    section6.output_section[3].output_sections_start  = "__ABORT_STACK_START";
    section6.output_section[3].output_sections_end    = "__ABORT_STACK_END";
    section6.output_section[3].input_section.create(1);
    section6.output_section[3].input_section[0].$name = ". = . + __ABORT_STACK_SIZE;";
    section6.output_section[4].$name                  = ".undefinedstack";
    section6.output_section[4].output_sections_start  = "__UNDEFINED_STACK_START";
    section6.output_section[4].output_sections_end    = "__UNDEFINED_STACK_END";
    section6.output_section[4].input_section.create(1);
    section6.output_section[4].input_section[0].$name = ". = . + __UNDEFINED_STACK_SIZE;";
    
    section7.$name                        = "Initialization and Exception Handling";
    section7.load_memory                  = "MSRAM";
    section7.output_section.create(3);
    section7.output_section[0].$name      = ".ARM.exidx";
    section7.output_section[0].palignment = true;
    section7.output_section[1].$name      = ".init_array";
    section7.output_section[1].palignment = true;
    section7.output_section[2].$name      = ".fini_array";
    section7.output_section[2].palignment = true;
    
    section8.$name                       = "User Shared Memory";
    section8.type                        = "NOLOAD";
    section8.group                       = false;
    section8.load_memory                 = "USER_SHM_MEM";
    section8.output_section.create(1);
    section8.output_section[0].$name     = ".bss.user_shared_mem";
    section8.output_section[0].alignment = 0;
    
    section9.$name                       = "Log Shared Memory";
    section9.load_memory                 = "LOG_SHM_MEM";
    section9.type                        = "NOLOAD";
    section9.group                       = false;
    section9.output_section.create(1);
    section9.output_section[0].$name     = ".bss.log_shared_mem";
    section9.output_section[0].alignment = 0;
    
    section10.$name                        = "Resource Table";
    section10.load_memory                  = "DDR_0";
    section10.output_section.create(1);
    section10.output_section[0].$name      = ".resource_table";
    section10.output_section[0].alignment  = 4096;
    section10.output_section[0].palignment = true;
    
    section11.type                        = "NOLOAD";
    section11.load_memory                 = "NON_CACHE_MEM";
    section11.group                       = false;
    section11.$name                       = "Non Cacheable Memory";
    section11.output_section.create(1);
    section11.output_section[0].alignment = 0;
    section11.output_section[0].$name     = ".bss.nocache";
    
    section12.$name                       = "IPC Shared Memory";
    section12.type                        = "NOLOAD";
    section12.load_memory                 = "RTOS_NORTOS_IPC_SHM_MEM";
    section12.group                       = false;
    section12.output_section.create(1);
    section12.output_section[0].$name     = ".bss.ipc_vring_mem";
    section12.output_section[0].alignment = 0;
    
    /**
     * Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future
     * version of the tool will not impact the pinmux you originally saw.  These lines can be completely deleted in order to
     * re-solve from scratch.
     */
    debug_log.uartLog.UART.RXD.$suggestSolution = "UART1_RXD";
    debug_log.uartLog.UART.TXD.$suggestSolution = "UART1_TXD";
    

  • Nick,

    I have a question and I'd like your opinion. The GPIO used in Sysconfig is in MCU DOMAIN not in MAIN DOMAIN. Is it possible for a R5F core to drive directly GPIO in MCU domain ? In this case, an address translation is necessary with RAT no ? What is your opinion on this ? 

  • Hi Sebastien,

    The GPIO used in Sysconfig is in MCU DOMAIN not in MAIN DOMAIN. Is it possible for a R5F core to drive directly GPIO in MCU domain ? In this case, an address translation is necessary with RAT no ? What is your opinion on this

    Yes, the R5F core can directly access the MCU_GPIO pins and no RAT region is required for the same. 

    Please refer below project that toggles MCU_GPIO0_8 pin located in MCU domain from Main domain R5F core.

    Project - gpio_toggle_am64x_r5fss0_0_nortos_ti-arm-clang

    Regards,

    Tushar

  • I usually only see customers needing to configure the RAT for M4F cores. For more information on RAT, please refer to this document:
    https://dev.ti.com/tirex/explore/node?node=A__AXBsTEetU2hiTMZSzq4row__AM62A-ACADEMY__WeZ9SsL__LATEST

    I'm pointing you to the AM62Ax academy's MCU module since we have not had bandwidth to update the AM64x MCU module yet. For future readers, there is not a set timeframe for updating AM64x MCU module, but I would expect to see something in 2025.

    Regards,

    Nick

  • Main domain UART1 is disabled by default in the AM64x Linux SDK, so that's good:

    arch/arm64/boot/dts/ti/k3-am642-evm.dts
    
    /* main_uart1 is reserved for firmware usage */
    &main_uart1 {
        status = "reserved";
        pinctrl-names = "default";
        pinctrl-0 = <&main_uart1_pins_default>;
    };
    
    arch/arm64/boot/dts/ti/k3-am642-sk.dts
    
    &main_uart1 {
        /* main_uart1 is reserved for firmware usage */
        bootph-pre-ram;
        status = "reserved";
        pinctrl-names = "default";
        pinctrl-0 = <&main_uart1_pins_default>;
    };
    

  • Hello Tushar,

    Sebastien is using the gpio_led_blink project. His code is here (unless it has been changed?):
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1434691/am6442-led23-on-tmds64evm-evalkit/5505454#5505454

    It runs when he starts it during uboot, but once Linux boot starts the code seems to get stuck in a semaphore_pend function:
    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1434691/am6442-led23-on-tmds64evm-evalkit/5525305#5525305

    Do you have any thoughts on how the gpio_led_blink project might get to that function and get stuck? That could help us figure out what is happening during Linux boot.

    Regards,

    Nick

  • Hello Tushar, Nick

    Yesterday, I tried to use/implement FreeRTOS. Unfortunetly, behaviour is the same. I received System On Module of PHYTEC. I tried too. The behaviour is the same althought the linux/device tree is slightly different. Led stops blinking once Linux boot (after about 1.5 seconds ~2 seconds). Remote proc drivers of Linux are not the cause.         

    @Tushar :in your example, the sleep is to short (1000us). Led don't blinking at this frequency. I modified it. I tried an another GPIO. Same behaviour. 

    I'll try to modify the core image step by step to identify the problem.     

  • Hi Sebastien,

    I'll try to modify the core image step by step to identify the problem.   

    I have tried to run the example after some modification and able to run it successfully. The LED23 is blinking as expected.

    Please refer the below attached project.

    Project - gpio_led_blink_am64x_evm_r5fss0_0_nortos_ti_arm_clang.zip

    Regards,

    Tushar

  • Hello Tushar,

    What modifications did you make?

    Did you test by starting from the uboot terminal, and then booting Linux? If not, how did you test?

    Regards,

    Nick

  • Hi Nick, 

    I had made changes to the example.syscfg file taking reference from the existing IPC example.

    I have checked the remote core booting method by updating the S/W link for R5F firmware.

    Did you test by starting from the uboot terminal,

    Not aware about the above method. Can you please check and let me know?

    I have attached the code in above reply.

    Regards,

    Tushar