This thread has been locked.

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

AM625: EVM DDR Config differences

Part Number: AM625
Other Parts Discussed in Thread: SYSCONFIG,

Using the sysconfig tool, I tried regenerating the evm ddr config.  There are only a few differences from the updated tool.  I'm curious if any of these changes are important?

$ diff -u arch/arm/dts/k3-am62x-sk-ddr4-1600MTs.dtsi ~/projects/am62x/am62_som/k3-am62x-sk-ddr-09.09-config.dtsi 
--- arch/arm/dts/k3-am62x-sk-ddr4-1600MTs.dtsi  2023-10-05 15:09:26.918851143 -0400
+++ /home/jcormier/projects/am62x/am62_som/k3-am62x-sk-ddr-09.09-config.dtsi    2023-10-05 15:03:45.879613040 -0400
@@ -1,18 +1,19 @@
 // SPDX-License-Identifier: GPL-2.0+
 /*
  * This file was generated with the
- * AM62x SysConfig DDR Subsystem Register Configuration Tool v0.08.60
- * Wed Mar 16 2022 17:41:20 GMT-0500 (Central Daylight Time)
+ * AM62x SysConfig DDR Subsystem Register Configuration Tool v0.09.09
+ * Thu Oct 05 2023 15:01:36 GMT-0400 (Eastern Daylight Time)
  * DDR Type: DDR4
  * Frequency = 800MHz (1600MTs)
  * Density: 16Gb
  * Number of Ranks: 1
- */
+*/
@@ -334,7 +335,7 @@
-#define DDRSS_CTL_321_DATA 0x000FFF00
+#define DDRSS_CTL_321_DATA 0x00FFFF00 # [23:8] Chip Select Mask 1 - Mask applied to the address decode for chip select 1
@@ -901,7 +902,7 @@
-#define DDRSS_PHY_120_DATA 0x01A00000
+#define DDRSS_PHY_120_DATA 0x01000000 # [25:16] PHY_WRLVL_DELAY_EARLY_THRESHOLD_0 ??
@@ -1157,7 +1158,7 @@
-#define DDRSS_PHY_376_DATA 0x01A00000
+#define DDRSS_PHY_376_DATA 0x01000000 # [25:16] PHY_WRLVL_DELAY_EARLY_THRESHOLD_1
@@ -2152,7 +2153,7 @@
-#define DDRSS_PHY_1371_DATA 0x0001F7C0
+#define DDRSS_PHY_1371_DATA 0x0001F7C2 # [17:0] PHY_PAD_CAL_IO_CFG_0 - Pad calibration Controls PCLK/PARK pin and vref switch

  • Jon, yes these are further optimizations, and some are very significant

    CTL_321:  this is just ensuring the mask value for the unused CS1 is correct.  Not a significant change

    PHY_120 and PHY_376:  this change facilitates write leveling during initialization (for rank 0 and 1)  These changes help write leveling complete across a broader range of design layouts.  Some designs may not complete write leveling without the change

    PHY_1371: this is a necessary change which ensures the calibration clock is set correctly based on operating frequency.  The original value set the clock too high which was resulting in incorrect IO pad calibration

    Regards,

    James

  • Is there a chance the EVM which is used as a reference can be updated?

    What kind of side effects might I expect to see if the IO pad calibration was wrong?

  • I believe you were on the support email change, but just to publicly post an update.

    We've been chasing a rare boot crash (~.5%).  Adding the above changes to the ram config seemed to make our failure rate worse.  However after moving to the ti-linux-firmware 09.01.00.003 tag, our boot crashes appear to have gone away. Pending some additional tests.

  • Jonathan, ok, let us know the status of the latest tests.

    Regards,

    James

  • Thanks JJD.

    We tested the ti-linux-firmware 09.01.00.003 tag over the weekend with the above ram configs and all of our failed boots went away.

    U-Boot SPL 2021.01-gd5c5656f19 (Nov 13 2023 - 21:49:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.5--v09.01.05 (Kool Koala)')

    This does leave us feeling rather confused as to what exactly was fixed in these binary images or exactly which of the, I think, three different binaries was important for this problem.

    I have also noticed that after updating the firmwares, cpufreq is no longer working in the 5.10 kernel.

    [    1.358488] cpufreq: cpufreq_online: ->get() failed
    [    1.364066] cpufreq: cpufreq_online: ->get() failed
    [    1.369565] cpufreq: cpufreq_online: ->get() failed
    [    1.375057] cpufreq: cpufreq_online: ->get() failed

  • U-Boot SPL 2021.01-gd5c5656f19 (Nov 13 2023 - 21:49:41 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.5--v09.01.05 (Kool Koala)')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 23:04:35, Nov  6 2023
    
    U-Boot SPL 2021.01-gd5c5656f19 (Nov 13 2023 - 21:49:38 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.1.5--v09.01.05 (Kool Koala)')
    Trying to boot from MMC2
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    
    
    U-Boot 2021.01-gd5c5656f19 (Nov 13 2023 - 21:49:38 +0000)
    
    SoC:   AM62X SR1.0 HS-FS
    Model: Critical Link MitySOM-AM62x
    MitySOM-62x - Model No: 6254-TX-XXD-RI Serial No: 23026378 Part Number: 80-001633RI-3A
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from FAT... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   eth0: ethernet@8000000port@1, eth1: ethernet@8000000port@2
    Hit any key to stop autoboot:  0 
    => 
    => setenv optargs noreboot
    => bot
    Unknown command 'bot' - try 'help'
    => boot
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1490 bytes read in 6 ms (242.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 5 ms (0 Bytes/s)
    Already setup.
    8992691 bytes read in 379 ms (22.6 MiB/s)
    8992691 bytes read in 379 ms (22.6 MiB/s)
    ## Loading kernel from FIT Image at 90000000 ...
       Using 'k3-am62x-mitysom-devkit.dtb' configuration
       Trying 'kernel@1' kernel subimage
         Description:  Linux kernel
         Type:         Kernel Image
         Compression:  gzip compressed
         Data Start:   0x900000f8
         Data Size:    8776867 Bytes = 8.4 MiB
         Architecture: AArch64
         OS:           Linux
         Load Address: 0x80008000
         Entry Point:  0x80008000
       Verifying Hash Integrity ... OK
    Authentication passed
    ## Loading fdt from FIT Image at 90000000 ...
       Using 'k3-am62x-mitysom-devkit.dtb' configuration
       Trying 'k3-am62x-mitysom-devkit.dtb' fdt subimage
         Description:  Flattened Device Tree blob
         Type:         Flat Device Tree
         Compression:  uncompressed
         Data Start:   0x9085ee64
         Data Size:    66228 Bytes = 64.7 KiB
         Architecture: AArch64
         Load Address: 0x83000000
       Verifying Hash Integrity ... OK
    Authentication passed
       Loading fdt from 0x9085ee64 to 0x83000000
       Booting using the fdt blob at 0x83000000
       Uncompressing Kernel Image
       Loading Device Tree to 000000008ffed000, end 000000008ffffc42 ... OK
    ft_fixup_cpu: Configuring device tree for 4 cpus
    ft_fixup_gpu: Configuring device tree for GPU: present
    ft_fixup_pruss: Configuring device tree for PRUSS: present
    ft_fixup_dss: Configuring device tree for DSS: present
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.168-yocto-standard (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Tue Nov 7 14:30:08 UTC 2023
    [    0.000000] Machine model: Critical Link MitySOM-AM62x
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    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-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000dd000000
    [    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.2
    [    0.000000] percpu: Embedded 30 pages/cpu s83224 r8192 d31464 u122880
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: kernel page table isolation forced ON by KASLR
    [    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 noreboot earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c79cdc42-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] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 1451252K/2097152K available (12224K kernel code, 1926K rwdata, 4860K rodata, 3968K init, 444K bss, 121612K reserved, 524288K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] ftrace: allocating 41633 entries in 163 pages
    [    0.000000] ftrace: allocated 163 pages with 4 groups
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu:     RCU event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Rude variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @82000000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000081960000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000081970000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000005] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008576] Console: colour dummy device 80x25
    [    0.013169] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023853] pid_max: default: 32768 minimum: 301
    [    0.028673] LSM: Security Framework initializing
    [    0.033457] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.041041] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.050896] rcu: Hierarchical SRCU implementation.
    [    0.056094] Platform MSI: msi-controller@1820000 domain created
    [    0.062442] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.071718] EFI services will not be available.
    [    0.076675] smp: Bringing up secondary CPUs ...
    [    0.081966] Detected VIPT I-cache on CPU1
    [    0.082003] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.082018] GICv3: CPU1: using allocated LPI pending table @0x0000000081980000
    [    0.082082] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.082795] Detected VIPT I-cache on CPU2
    [    0.082822] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.082833] GICv3: CPU2: using allocated LPI pending table @0x0000000081990000
    [    0.082873] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.083485] Detected VIPT I-cache on CPU3
    [    0.083506] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.083517] GICv3: CPU3: using allocated LPI pending table @0x00000000819a0000
    [    0.083550] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.083621] smp: Brought up 1 node, 4 CPUs
    [    0.163371] SMP: Total of 4 processors activated.
    [    0.168187] CPU features: detected: 32-bit EL0 Support
    [    0.173463] CPU features: detected: CRC32 instructions
    [    0.186334] CPU: All CPU(s) started at EL2
    [    0.190545] alternatives: patching kernel code
    [    0.196368] devtmpfs: initialized
    [    0.207666] KASLR disabled due to lack of seed
    [    0.212433] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.222411] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.244007] pinctrl core: initialized pinctrl subsystem
    [    0.250026] DMI not present or invalid.
    [    0.254651] NET: Registered protocol family 16
    [    0.260899] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.268256] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.276339] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.285070] thermal_sys: Registered thermal governor 'step_wise'
    [    0.285077] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.291834] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.305567] ASID allocator initialised with 32768 entries
    [    0.338532] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.345414] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.352268] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.359120] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.367029] cryptd: max_cpu_qlen set to 1000
    [    0.374398] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.383429] reg-fixed-voltage som_vdd_1v8: Failed to register regulator: -517
    [    0.391053] vcc_5v0: supplied by vcc_12v
    [    0.395451] vcc_3v3: supplied by vcc_12v
    [    0.399864] vin_3v3_som: supplied by vcc_3v3
    [    0.404542] reg-fixed-voltage vcc_3v3_vio: Failed to register regulator: -517
    [    0.411919] vcc_5v0_can0: supplied by vcc_12v
    [    0.416701] vcc_5v0_can1: supplied by vcc_12v
    [    0.421431] vcc_1v1_usbhub: supplied by vcc_5v0
    [    0.426319] vcc_1v2_eth: supplied by vcc_5v0
    [    0.430990] reg-fixed-voltage vdd_mmc1: Failed to register regulator: -517
    [    0.438927] iommu: Default domain type: Translated 
    [    0.444276] SCSI subsystem initialized
    [    0.448541] mc: Linux media interface: v0.10
    [    0.452931] videodev: Linux video capture interface: v2.00
    [    0.458613] pps_core: LinuxPPS API ver. 1 registered
    [    0.463690] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.473038] PTP clock support registered
    [    0.477076] EDAC MC: Ver: 3.0.0
    [    0.480964] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.488156] FPGA manager framework
    [    0.491726] Advanced Linux Sound Architecture Driver Initialized.
    [    0.498901] clocksource: Switched to clocksource arch_sys_counter
    [    1.320367] VFS: Disk quotas dquot_6.6.0
    [    1.324468] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    1.337160] NET: Registered protocol family 2
    [    1.341921] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    1.350695] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    1.359490] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    1.367701] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    1.375437] TCP: Hash tables configured (established 16384 bind 16384)
    [    1.382345] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.389242] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    1.396730] NET: Registered protocol family 1
    [    1.401694] RPC: Registered named UNIX socket transport module.
    [    1.407778] RPC: Registered udp transport module.
    [    1.412619] RPC: Registered tcp transport module.
    [    1.417435] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.424032] PCI: CLS 0 bytes, default 64
    [    1.428932] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    1.441357] Initialise system trusted keyrings
    [    1.446146] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    1.456468] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.463040] NFS: Registering the id_resolver key type
    [    1.468248] Key type id_resolver registered
    [    1.472525] Key type id_legacy registered
    [    1.476684] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    1.483541] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    1.491307] 9p: Installing v9fs 9p2000 file system support
    [    1.531564] Key type asymmetric registered
    [    1.535765] Asymmetric key parser 'x509' registered
    [    1.540795] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    1.548361] io scheduler mq-deadline registered
    [    1.552993] io scheduler kyber registered
    [    1.559400] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    1.565855] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    1.580144] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    1.601219] brd: module loaded
    [    1.611767] loop: module loaded
    [    1.615962] megasas: 07.714.04.00-rc1
    [    1.623695] tun: Universal TUN/TAP device driver, 1.6
    [    1.629515] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    1.635933] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    1.642038] sky2: driver version 1.30
    [    1.646825] VFIO - User Level meta-driver version: 0.3
    [    1.653216] i2c /dev entries driver
    [    1.658691] sdhci: Secure Digital Host Controller Interface driver
    [    1.665055] sdhci: Copyright(c) Pierre Ossman
    [    1.669891] sdhci-pltfm: SDHCI platform and OF driver helper
    [    1.676945] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.683489] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    1.691758] optee: probing for conduit method.
    [    1.696346] optee: revision 3.20 (8e74d476)
    [    1.696665] optee: dynamic shared memory is enabled
    [    1.706189] optee: initialized driver
    [    1.712230] NET: Registered protocol family 17
    [    1.716952] 9pnet: Installing 9P2000 support
    [    1.721398] Key type dns_resolver registered
    [    1.726021] Loading compiled-in X.509 certificates
    [    1.734268] reg-fixed-voltage som_vdd_1v8: Failed to register regulator: -517
    [    1.742172] reg-fixed-voltage vcc_3v3_vio: Failed to register regulator: -517
    [    1.749755] reg-fixed-voltage vdd_mmc1: Failed to register regulator: -517
    [    1.765749] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided.
    [    1.775096] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.1.5--v09.01.05 (Kool Koala)')
    [    1.843350] davinci-mcasp 2b00000.mcasp: IRQ common not found
    [    1.852029] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
    [    1.858486] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.865821] reg-fixed-voltage som_vdd_1v8: Failed to register regulator: -517
    [    1.873704] reg-fixed-voltage vcc_3v3_vio: Failed to register regulator: -517
    [    1.881284] reg-fixed-voltage vdd_mmc1: Failed to register regulator: -517
    [    1.891746] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.923744] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.929988] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.938347] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.947606] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.957611] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.965839] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.976981] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.986985] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.997166] printk: console [ttyS2] disabled
    [    2.001621] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250
    [    2.010393] printk: console [ttyS2] enabled
    [    2.010393] printk: console [ttyS2] enabled
    [    2.018837] printk: bootconsole [ns16550a0] disabled
    [    2.018837] printk: bootconsole [ns16550a0] disabled
    [    2.033457] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
    [    2.040366] spi-nor: probe of spi0.0 failed with error -2
    [    2.052449] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    2.098913] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    2.108741] davinci_mdio 8000f00.mdio: phy[3]: device 8000f00.mdio:03, driver Microchip KSZ9131 Gigabit PHY
    [    2.118493] davinci_mdio 8000f00.mdio: phy[4]: device 8000f00.mdio:04, driver Microchip KSZ9131 Gigabit PHY
    [    2.128327] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    2.141176] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    2.148303] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    2.155016] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    2.165290] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    2.175688] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    2.180886] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:05:23 UTC (323)
    [    2.291351] cpufreq: cpufreq_online: ->get() failed
    [    2.296903] cpufreq: cpufreq_online: ->get() failed
    [    2.302384] cpufreq: cpufreq_online: ->get() failed
    [    2.307851] cpufreq: cpufreq_online: ->get() failed
    [    2.315137] mmc0: CQHCI version 5.10
    [    2.316720] davinci-mcasp 2b00000.mcasp: IRQ common not found
    [    2.336195] reg-fixed-voltage som_vdd_1v8: Failed to register regulator: -517
    [    2.344008] reg-fixed-voltage vcc_3v3_vio: Failed to register regulator: -517
    [    2.351424] reg-fixed-voltage vdd_mmc1: Failed to register regulator: -517
    [    2.355529] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    2.384530] VDD_CORE: Bringing 750000uV into 850000-850000uV
    [    2.391098] VDD_CORE: supplied by vin_3v3_som
    [    2.396425] VDD_1V8: supplied by vin_3v3_som
    [    2.401428] VDD_DDR4: supplied by vin_3v3_som
    [    2.406642] VDDSHV_SDIO: supplied by vin_3v3_som
    [    2.412256] VDDR_CORE: supplied by VDD_1V8
    [    2.417382] VDDA_1V8: supplied by vin_3v3_som
    [    2.422487] VDD_2V5: supplied by vin_3v3_som
    [    2.429233] input: tps65219-pwrbutton as /devices/platform/bus@f0000/20000000.i2c/i2c-0/0-0030/tps65219-pwrbutton.3.auto/input/input0
    [    2.441832] tps65219 0-0030: Setup as system-power-controller but pm_power_off function already registered, overwriting
    [    2.453048] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    2.459785] pca953x 1-0020: using no AI
    [    2.468463] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    2.476225] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    2.485110] som_vdd_3v3: supplied by vin_3v3_som
    [    2.490368] som_vdd_1v8: supplied by VDD_1V8
    [    2.495686] wlan_en: supplied by som_vdd_1v8
    [    2.500126] vcc_3v3_vio: supplied by som_vdd_3v3
    [    2.505027] vdd_mmc1: supplied by vcc_3v3_vio
    [    2.510786] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
    [    2.511459] mmc2: CQHCI version 5.10
    [    2.511565] mmc1: CQHCI version 5.10
    [    2.518080] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
    [    2.532482] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
    [    2.540059] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    2.559890] ALSA device list:
    [    2.561565] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [    2.562867]   No soundcards found.
    [    2.570371] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    2.581979] Waiting for root device PARTUUID=c79cdc42-02...
    [    2.628437] mmc1: new ultra high speed SDR104 SDHC card at address 0001
    [    2.635878] mmcblk1: mmc1:0001 GB1QT 29.8 GiB 
    [    2.642172]  mmcblk1: p1 p2
    [    2.678931] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.687123] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    2.693867] devtmpfs: mounted
    [    2.701581] Freeing unused kernel memory: 3968K
    [    2.706270] Run /sbin/init as init process
    [    2.815969] systemd[1]: System time before build time, advancing clock.
    [    2.863930] NET: Registered protocol family 10
    [    2.869515] Segment Routing with IPv6
    [    2.885742] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    2.908016] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    2.943714] systemd[1]: Set hostname to <mitysom-am62x>.
    [    3.264677] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.271617] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
    [    3.283967] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
    [    3.295360] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    3.315100] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.323125] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    3.347077] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.354791] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    3.375407] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    3.399259] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    3.423177] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    3.439075] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.459025] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    3.475042] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    3.492505] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    3.511955] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.535441] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.567070] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    3.575957] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.599720] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.615941] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    3.639671] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.663459] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.687783] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.707494] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.735522] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.756006] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    3.775790] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    3.804331] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.820979] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
    [    3.829669] systemd[1]: Condition check resulted in FUSE Control File System being skipped.
    [    3.843289] systemd[1]: Mounting Kernel Configuration File System...
             Mounting Kernel Configuration File System...
    [    3.871584] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.899498] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    3.919458] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    3.942005] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Huge Pages File System.
    [  OK  ] Mounted POSIX Message Queue File Sy[    3.986614] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    stem.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Create list of sta… nodes for the current kernel.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
             Starting Flush Journal to Persistent Storage...
    [    4.153139] systemd-journald[191]: Received client request to flush runtime journal.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [    4.279273] random: systemd: uninitialized urandom read (16 bytes read)
             Starting udev Kernel Device Manager...
    [    4.292007] random: systemd-journal: uninitialized urandom read (16 bytes read)
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [    4.334100] random: systemd: uninitialized urandom read (16 bytes read)
             Starting Bind mount volatile /var/cache...
             Starting Bind mount volatile /var/lib...
             Starting Bind mount volatile /var/spool...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started udev Coldplug all Devices.
    [    4.438737] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
    [    4.438741] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
    [    4.438743] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
    [  OK  ] Started Bind mount volatile /var/cache.
    [  OK  ] Started Bind mount volatile /var/lib.
    [  OK  ] Started Bind mount volatile /var/spool.
    [  OK  ] Reached target Local File Systems.
             Starting Network Service...
             Starting Load/Save Random Seed...
             Starting Create Volatile Files and Directories...
             Starting udev Wait for Complete Device Initialization...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Network Service.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [    4.742224] at24 0-0050: supply vcc not found, using dummy regulator
             Starting Wait for Network to be Configured...
    [    4.772138] at24 0-0050: 4096 byte 24c32 EEPROM, read-only
             Starting Network Name Resolution...
    [    4.922148] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    4.956510] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    4.986037] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchron[    5.035887] remoteproc remoteproc0: 5000000.m4fss is available
    ized.
    [    5.051028] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:03] driver [Microchip KSZ9131 Gigabit PHY] (irq=POLL)
    [    5.063104] remoteproc remoteproc0: powering up 5000000.m4fss
    [    5.063424] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [    5.069266] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 456396
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [    5.134815] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:04] driver [Microchip KSZ9131 Gigabit PHY] (irq=POLL)
    [    5.145930] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode
    [    5.155310] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [  OK  ] Reached target Host and Network Name Lookups.
    [    5.202193] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    5.230035] platform 78000000.r5f: configured R5F for IPC-only mode
    [    5.237439] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [    5.245984] pvrsrvkm: loading out-of-tree module taints kernel.
    [    5.269787] remoteproc remoteproc1: 78000000.r5f is available
    [    5.289528] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.295562] PVR_K:  236: Read BVNC 33.15.11.3 from HW device registers
    [    5.301008] remoteproc remoteproc1: attaching to 78000000.r5f
    [    5.301079] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.308757] PVR_K:  236: RGX Device registered with BVNC 33.15.11.3
    [    5.326778] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1
    [    5.328546] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    5.341236]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000
    [    5.350349] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    5.350851] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    5.351296] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [    5.356859]  remoteproc1#vdev0buffer: registered virtio0 (type 7)
    [    5.363840] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    5.372962] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [    5.387942] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [    5.402842] random: systemd: uninitialized urandom read (16 bytes read)
    [    5.404123] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [    5.568872] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [    5.636308] remoteproc remoteproc2: 30074000.pru is available
    [    5.646291] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [    5.649024] remoteproc remoteproc3: 30078000.pru is available
    [    5.658246] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [    5.671830] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [    5.722856] usb-conn-gpio usb_microb_connector: supply vbus not found, using dummy regulator
    [  OK  ] Reached target Hardware activated USB gadget.
    [    5.804250] usbcore: registered new interface driver usbfs
    [    5.809973] usbcore: registered new interface driver hub
    [    5.815550] usbcore: registered new device driver usb
    [    5.838119] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [    5.843678] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 1
    [    5.851708] xhci-hcd xhci-hcd.4.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [    5.861223] xhci-hcd xhci-hcd.4.auto: irq 502, io mem 0x31100000
    [    5.867451] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
    [    5.872994] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus number 2
    [    5.880686] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
    [    5.887438] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    5.895730] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.903041] usb usb1: Product: xHCI Host Controller
    [    5.907933] usb usb1: Manufacturer: Linux 5.10.168-yocto-standard xhci-hcd
    [    5.914819] usb usb1: SerialNumber: xhci-hcd.4.auto
    [    5.920381] hub 1-0:1.0: USB hub found
    [    5.924271] hub 1-0:1.0: 1 port detected
    [    5.930221] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [    5.938469] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    5.946751] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.954077] usb usb2: Product: xHCI Host Controller
    [    5.958970] usb usb2: Manufacturer: Linux 5.10.168-yocto-standard xhci-hcd
    [    5.965849] usb usb2: SerialNumber: xhci-hcd.4.auto
    [    5.971386] hub 2-0:1.0: USB hub found
    [    5.975190] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting sshd.socket.
    [  OK  ] Listening on sshd.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.[    6.182957] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    
             Starting Save/Restore Sound Card State...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    [    6.311319] random: systemd: uninitialized urandom read (16 bytes read)
             Starting rc.pvr.service...[    6.343376] usb 1-1: New USB device found, idVendor=0451, idProduct=8027, bcdDevice= 1.10
    
    [    6.361694] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
             Starting Login Service...
    [    6.387142] usb 1-1: SerialNumber: 27010089F9DF
             Starting Permit User Sessions...
             Starting Target Communication Framework agent...
    [    6.418974] random: crng init done
    [    6.422414] random: 208 urandom warning(s) missed due to ratelimiting
    [    6.431961] hub 1-1:1.0: USB hub found
    [    6.436202] hub 1-1:1.0: 2 ports detected
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Target Communication Framework agent.
    [  OK  ] Reached target Sound Card.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started Login Service.
    [  OK  ] Started rc.pvr.service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project mitysom-am62x ttyS2
    
    Arago 2021.09 mitysom-am62x ttyS2
    
    mitysom-am62x login: [   12.609460] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    
    mitysom-am62x login: root
    root@mitysom-am62x:~# cat /sys/
    block/    bus/      class/    dev/      devices/  firmware/ fs/       kernel/   module/   power/
    root@mitysom-am62x:~# cat /sys/devices/
    armv8_cortex_a53/ platform/         software/         tracepoint/       virtual/
    breakpoint/       soc0/             system/           uprobe/           
    root@mitysom-am62x:~# cat /sys/devices/system/
    clockevents/ clocksource/ container/   cpu/         edac/        
    root@mitysom-am62x:~# cat /sys/devices/system/cpu/
    cpu0/            cpufreq/         modalias         power/           vulnerabilities/
    cpu1/            hotplug/         offline          present          
    cpu2/            isolated         online           smt/             
    cpu3/            kernel_max       possible         uevent           
    root@mitysom-am62x:~# cat /sys/devices/system/cpu/cpufreq/
    cat: /sys/devices/system/cpu/cpufreq/: Is a directory
    root@mitysom-am62x:~# ls /sys/devices/system/cpu/cpufreq/
    root@mitysom-am62x:~# ls /sys/devices/system/cpu/cpu0/   
    cache/            crash_notes_size  online            subsystem/        
    cpu_capacity      hotplug/          power/            topology/         
    crash_notes       of_node/          regs/             uevent            
    root@mitysom-am62x:~# ls /sys/devices/system/cpu/cpu0/of_node
    clocks             d-cache-sets  enable-method      i-cache-size      operating-points-v2
    compatible         d-cache-size  i-cache-line-size  name              phandle
    d-cache-line-size  device_type   i-cache-sets       next-level-cache  reg
    root@mitysom-am62x:~# dmesg | grep cpu
    [    0.000000] percpu: Embedded 30 pages/cpu s83224 r8192 d31464 u122880
    [    0.000000] pcpu-alloc: s83224 r8192 d31464 u122880 alloc=30*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.367029] cryptd: max_cpu_qlen set to 1000
    [    1.676945] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.291351] cpufreq: cpufreq_online: ->get() failed
    [    2.296903] cpufreq: cpufreq_online: ->get() failed
    [    2.302384] cpufreq: cpufreq_online: ->get() failed
    [    2.307851] cpufreq: cpufreq_online: ->get() failed
    root@mitysom-am62x:~# reboot
             Stopping Session c1 of user root.
    [  OK  ] Stopped target Multi-User System.
    [  OK  ] Stopped target Login Prompts.
    [  OK  ] Stopped target Host and Network Name Lookups.
    [  OK  ] Stopped target Sound Card.
    [  OK  ] Stopped target System Time Synchronized.
    [  OK  ] Stopped target System Time Set.
    [  OK  ] Stopped target Timers.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
    [  OK  ] Stopped target Hardware activated USB gadget.
             Stopping Save/Restore Sound Card State...
             Stopping Kernel Logging Service...
             Stopping System Logging Service...
             Stopping Getty on tty1...
             Stopping LSB: ifplugd daemon...
             Stopping Serial Getty on ttyS2...
             Stopping Load/Save Random Seed...
             Stopping Target Communication Framework agent...
    [  OK  ] Stopped Kernel Logging Service.
    [  OK  ] Stopped System Logging Service.
    [  OK  ] Stopped Target Communication Framework agent.
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS2.
    [  OK  ] Stopped Save/Restore Sound Card State.
    [  OK  ] Stopped LSB: ifplugd daemon.
    [  OK  ] Stopped Load/Save Random Seed.
    [  OK  ] Stopped Session c1 of user root.
    [  OK  ] Removed slice system-getty.slice.
    [  OK  ] Removed slice system-serial\x2dgetty.slice.
    [  OK  ] Stopped target Network is Online.
             Stopping rc.pvr.service...
             Stopping Login Service...
             Stopping User Manager for UID 0...
    [  OK  ] Stopped User Manager for UID 0.
             Stopping User Runtime Directory /run/user/0...
    [  OK  ] Stopped Login Service.
    [  OK  ] Unmounted /run/user/0.
    [  OK  ] Stopped User Runtime Directory /run/user/0.
    [  OK  ] Removed slice User Slice of UID 0.
             Stopping D-Bus System Message Bus...
             Stopping Permit User Sessions...
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Stopped rc.pvr.service.
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Network.
    [  OK  ] Stopped target Paths.
    [  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
    [  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
    [  OK  ] Stopped target Remote File Systems.
    [  OK  ] Stopped target Slices.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Sockets.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Closed sshd.socket.
    [  OK  ] Stopped target System Initialization.
    [  OK  ] Closed Syslog Socket.
             Stopping Hardware RNG Entropy Gatherer Daemon...
             Stopping Network Name Resolution...
             Stopping Network Time Synchronization...
             Stopping Update UTMP about System Boot/Shutdown...
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Network Name Resolution.
    [  OK  ] Stopped Hardware RNG Entropy Gatherer Daemon.
             Stopping Network Service...
    [  OK  ] Stopped Update UTMP about System Boot/Shutdown.
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting /media/ram...
             Unmounting Temporary Directory (/tmp)...
             Unmounting /var/cache...
             Unmounting /var/lib...
             Unmounting /var/spool...
             Stopping Bind mount volatile /var/cache...
             Stopping Bind mount volatile /var/lib...
             Stopping Bind mount volatile /var/spool...
    [  OK  ] Stopped Network Service.
    [  OK  ] Unmounted /media/ram.
    [  OK  ] Unmounted Temporary Directory (/tmp).
    [  OK  ] Unmounted /var/cache.
    [  OK  ] Unmounted /var/lib.
    [  OK  ] Unmounted /var/spool.
    [  OK  ] Stopped Bind mount volatile /var/cache.
    [  OK  ] Stopped Bind mount volatile /var/lib.
    [  OK  ] Stopped Bind mount volatile /var/spool.
             Unmounting /var/volatile...
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Unmounted /var/volatile.
    [  OK  ] Stopped target Local File Systems (Pre).
    [  OK  ] Stopped target Swap.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Reached target Shutdown.
    [  OK  ] Reached target Final Step.
    [  OK  ] Started Reboot.
    [  OK  ] Reached target Reboot.
    [  338.103815] watchdog: watchdog0: nowayout prevents watchdog being stopped!
    [  338.110802] watchdog: watchdog0: nowayout prevents watchdog being stopped!
    [  338.117695] watchdog: watchdog0: watchdog did not stop!
    [  338.141167] systemd-shutdown[1]: Syncing filesystems and block devices.
    [  338.148135] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [  338.164543] systemd-journald[191]: Received SIGTERM from PID 1 (systemd-shutdow).
    [  338.179272] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [  338.193283] systemd-shutdown[1]: Hardware watchdog 'K3 RTI Watchdog', version 0
    [  338.203009] systemd-shutdown[1]: Unmounting file systems.
    [  338.209761] systemd-shutdown[1]: All filesystems unmounted.
    [  338.215381] systemd-shutdown[1]: Deactivating swaps.
    [  338.220677] systemd-shutdown[1]: All swaps deactivated.
    [  338.225924] systemd-shutdown[1]: Detaching loop devices.
    [  338.234418] systemd-shutdown[1]: All loop devices detached.
    [  338.240044] systemd-shutdown[1]: Detaching DM devices.
    [  338.245881] systemd-shutdown[1]: All DM devices detached.
    [  338.251384] systemd-shutdown[1]: All filesystems, swaps, loop devices and DM devices detached.
    [  338.263248] systemd-shutdown[1]: Syncing filesystems and block devices.
    [  338.270162] systemd-shutdown[1]: Rebooting.
    [  338.282067] reboot: Restarting system
    
    

  • Hi Jonathan, if you are talking about the boot binaries, all of the DDR configuration is done in tiboot3.bin.  So if you change the DDR configuration file, then all that would need updating is tiboot3.bin

    I'm sorry, i can't comment on the cpufreq errors.  If all you changed was the DDR configuration, it doesn't make sense that it would stop working.  Ensure DDR is stable by running memtester at the linux kernel.  If the cpufreq errors persist, i would suggest starting another thread.

    The differences in the DDR configuration were explained above.  Let me know if you have further questions

    Regards,

    James

  • Alright I'll admit its gotten a little confusing between talking on the forum and over email with our rep so let me recap.

    We've been trying to fix a Linux boot crash that happens around 1% of the time, using SDK 08 software.

    Changing the above DDR configs initially made the crashes happen more often but after updating the ti-linux-firmware repo which u-boot grabs several firmware files and builds them into the fitimage.  Since switching to the 09.01.00.003 tag, the reboot crashes have gone away.

    This does leave us feeling rather confused as to what exactly was fixed in these binary images or exactly which of the, I think, three different binaries was important for this problem.

    The cpufreq issue likely has something to do with a change in the sysfw that must not be backwards compatible.  We've roughly gotten the 6.1 kernel working and it doesn't have problems with cpufreq so somewhere it must be talking to the sysfw differently?

    We would like TI to give us some reasoning as to why the different firmware versions would cause or fix kernel boot crashes...

  • OK, thanks for the recap.  I won't be able to help with the cpufreq issues, sorry, just not my area of expertise.  Let me pass on to someone else.  Might be a delay due to thxgiving week.

    Regards,

    James

  • Hey Sitara Team,

    Any updates on this thread? Please let us know if you need any additional info in order to provide feedback!

    -Matt 

  • Hi Jonathan,

    In theory, the firmware should be backward compatible with older versions of U-Boot and kernel. However, mixing versions of firmware with U-Boot/kernel is not validated in the SDK development. So I won't be able to explain about the cpufreq problem when mixing SDK8.x U-Boot/kernel with v9.1 firmware. I'd recommend you migrate all the software components to SDK9.1 which will be released in 2-3 weeks.

  • Hi Bin,

    Thanks, I'm not super concerned about the cpufreq issue as when we run the newer kernel with the newer firmware cpufreq goes back to working.

    Is SDK9.1 going to bump the kernel or u-boot version?

    What I'm looking for input on is the random crash behavior that was improved by updating the sysfw version.  It is rather concerning to us that a binary blob firmware was causing us so much grief and we don't why the different versions behave differently.

    Additionally, we started testing the am6252 SOMs and they seem to still be susceptible to a similar boot hang around when remoteproc is getting started up.  Additionally, the 6254's will show this boot issue when having 2 cores disabled, so seems likely related to another firmware issue.

  • Hi Jonathan,

    Is SDK9.1 going to bump the kernel or u-boot version?

    Yes, the kernel and u-boot would sync to the upstream latest 6.1 kernel and 2023.04 u-boot respectively, plus patches added by TI.

    What I'm looking for input on is the random crash behavior that was improved by updating the sysfw version. 

    Sorry, I reviewed this thread again and realized this is the latest question you asked, not the cpufreq issue. Since this is different from the original DDR question you asked, I recommend you create a new E2E post dedicated for the kernel crash issue, with detailed description, for example, console logs showing the crash. Then the new post will be assigned to the corresponding domain expert to help.

    Additionally, we started testing the am6252 SOMs and they seem to still be susceptible to a similar boot hang around when remoteproc is getting started up.  Additionally, the 6254's will show this boot issue when having 2 cores disabled, so seems likely related to another firmware issue.

    Similarly, please create a new E2E post for this issue, so that it will be assigned to the domain engineers to support.