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.
Tool/software:
What config file changes are required to add SPI ports to the config files for a custom design? For example, the below mcu SPI port is desired:
// JM 9/30
mcuspi4_pins_default: mcuspi4-default-pins {
pinctrl-single,pins = <
AM62X_MCU_IOPAD(0x0008, PIN_INPUT, 0) /* (B7) MCU_SPI4_CLK */
AM62X_MCU_IOPAD(0x0000, PIN_INPUT, 0) /* (E7) MCU_SPI4_CS0 */
AM62X_MCU_IOPAD(0x000c, PIN_INPUT, 0) /* (E8) MCU_SPI4_D0 */
AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 0) /* (D8) MCU_SPI4_D1 */
>;
};
// end of 9/30
Hi Jim,
there's a ton of E2E posts on this topic so I'd encourage some searching, but to get you started essentially it comes down to:
A good example are the loopback test device tree fragments (overlays) in the kernel tree, such as this one here: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am625-sk-mcspi-loopback.dtso?h=ti-linux-6.6.y
Regards, Andreas
Andreas,
I made the attached changes in both kernel (dts/ti) and boot (dts) k3-am625-sk.dts but I don't see a spidev device in /dev.
Do I need to set up an alias?
// JM 9/30 &mcu_pmx0 { mcu_spi0_pins_default: mcu_spi0-default-pins { pinctrl-single,pins = < AM62X_MCU_IOPAD(0x0008, PIN_INPUT, 0) /* (B7) MCU_SPI0_CLK */ AM62X_MCU_IOPAD(0x0000, PIN_INPUT, 0) /* (E7) MCU_SPI0_CS0 */ AM62X_MCU_IOPAD(0x000c, PIN_INPUT, 0) /* (E8) MCU_SPI0_D0 */ AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 0) /* (D8) MCU_SPI0_D1 */ >; }; }; // end of 9/30 // JM 10/1 &mcu_spi0 { status = "okay"; #address-cells = <1>; #size-cells = <0>; pinctrl-0 = <&mcu_spi0_pins_default>; pinctrl-names = "default"; spidev@0 { /* * Using spidev compatible is warned loudly, * thus use another equivalent compatible id * from spidev. */ // compatible = "rohm,dh2228fv"; // spi-max-frequency = <24000000>; spi-max-frequency = <1000000>; reg = <0>; }; }; // end of 9/30
Here's the boot log:
U-Boot SPL 2023.04-dirty (Oct 01 2024 - 07:40:25 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 13408 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed 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 U-Boot SPL 2023.04-dirty (Oct 01 2024 - 07:40:31 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 1856 bytes Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2023.04-dirty (Oct 01 2024 - 07:40:31 -0400) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 DRAM: no bloblist found!2 GiB Core: 66 devices, 27 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 574 bytes read in 14 ms (40 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... ## Error: "main_cpsw0_qsgmii_phyinit" not defined 15442432 bytes read in 624 ms (23.6 MiB/s) 56644 bytes read in 18 ms (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 000000008feef000, end 000000008fffffff ... OK Working FDT set to 8feef000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.83-rt28-ti-rt-g96b0ebd82722 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon May 13 23:06:24 UTC 2024 [ 0.000000] Machine model: Texas Instruments AM625 SK [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 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] 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 s44928 r8192 d28800 u81920 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);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=1a2fb328-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: 1856140K/2097152K available (9792K kernel code, 1192K rwdata, 2244K rodata, 1728K init, 422K bss, 109940K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] Root IRQ handler: 0xffff800008412740 [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000279] Console: colour dummy device 80x25 [ 0.489878] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000) [ 0.489892] pid_max: default: 32768 minimum: 301 [ 0.490006] LSM: Security Framework initializing [ 0.490192] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.490229] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.492508] rcu: Hierarchical SRCU implementation. [ 0.492519] rcu: Max phase no-delay instances is 400. [ 0.492579] printk: bootconsole [ns16550a0] printing thread started [ 0.545131] Platform MSI: msi-controller@1820000 domain created [ 0.545467] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.545562] EFI services will not be available. [ 0.545926] smp: Bringing up secondary CPUs ... [ 0.546920] Detected VIPT I-cache on CPU1 [ 0.547073] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.547095] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.547173] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.597335] Detected VIPT I-cache on CPU2 [ 0.597455] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.597471] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.597519] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.623571] Detected VIPT I-cache on CPU3 [ 0.623677] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.623693] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.623735] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.623801] smp: Brought up 1 node, 4 CPUs [ 0.623810] SMP: Total of 4 processors activated. [ 0.658010] CPU features: detected: 32-bit EL0 Support [ 0.658014] CPU features: detected: CRC32 instructions [ 0.658069] CPU: All CPU(s) started at EL2 [ 0.658072] alternatives: applying system-wide alternatives [ 0.660210] devtmpfs: initialized [ 0.672121] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.672159] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.680141] pinctrl core: initialized pinctrl subsystem [ 0.681038] DMI not present or invalid. [ 0.681710] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.695568] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.695877] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.696048] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.696235] audit: initializing netlink subsys (disabled) [ 0.696474] audit: type=2000 audit(0.694:1): state=initialized audit_enabled=0 res=1 [ 0.697195] thermal_sys: Registered thermal governor 'step_wise' [ 0.697432] ASID allocator initialised with 65536 entries [ 0.719180] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.719197] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.719202] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.719205] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.719210] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.719212] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.719218] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.719221] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.722550] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.725624] iommu: Default domain type: Translated [ 0.725639] iommu: DMA domain TLB invalidation policy: strict mode [ 0.726114] SCSI subsystem initialized [ 0.726543] usbcore: registered new interface driver usbfs [ 0.726588] usbcore: registered new interface driver hub [ 0.726622] usbcore: registered new device driver usb [ 0.727167] pps_core: LinuxPPS API ver. 1 registered [ 0.727172] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.727193] PTP clock support registered [ 0.727335] EDAC MC: Ver: 3.0.0 [ 0.728334] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.728852] FPGA manager framework [ 0.729009] Advanced Linux Sound Architecture Driver Initialized. [ 0.730268] clocksource: Switched to clocksource arch_sys_counter [ 0.730611] VFS: Disk quotas dquot_6.6.0 [ 0.730666] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.738278] NET: Registered PF_INET protocol family [ 0.738861] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.740773] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear) [ 0.740897] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.740915] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.741188] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear) [ 0.743750] TCP: Hash tables configured (established 16384 bind 16384) [ 0.744122] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 0.744412] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 0.979[507] printk: console [ttyS2] printing thread started 0.745021] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.979546] printk: console [ttyS2] enabled [ 0.979550] printk: bootconsole [ns16550a0] disabled [ 0.990870] printk: bootconsole [ns16550a0] printing thread stopped [ 0.992922] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.027279] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.032964] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869 [ 1.032982] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown [ 1.033048] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.033453] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [ 1.033471] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.033476] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.034282] pps pps0: new PPS source ptp0 [ 1.034637] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1 [ 1.051977] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.057051] mmc0: CQHCI version 5.10 [ 1.063573] pinctrl-single f4000.pinctrl: Invalid number of rows: 0 [ 1.063592] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default [ 1.066193] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.066754] mmc1: CQHCI version 5.10 [ 1.069888] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present! [ 1.074064] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19 [ 1.079696] ALSA device list: [ 1.079707] No soundcards found. [ 1.098769] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.108503] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.108793] Waiting for root device PARTUUID=1a2fb328-02... [ 1.142134] mmc1: new high speed SDHC card at address 0001 [ 1.143374] mmcblk1: mmc1:0001 SD32G 28.9 GiB [ 1.146668] mmcblk1: p1 p2 [ 1.149670] mmc0: Command Queue Engine enabled [ 1.149700] mmc0: new HS200 MMC card at address 0001 [ 1.150717] mmcblk0: mmc0:0001 IS032G 29.1 GiB [ 1.153771] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB [ 1.155578] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB [ 1.157064] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0) [ 1.189695] EXT4-fs (mmcblk1p2): recovery complete [ 1.193850] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none. [ 1.193963] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.194954] devtmpfs: mounted [ 1.197083] Freeing unused kernel memory: 1728K [ 1.197232] Run /sbin/init as init process [ 1.575592] systemd[1]: System time before build time, advancing clock. [ 1.650705] NET: Registered PF_INET6 protocol family [ 1.652581] Segment Routing with IPv6 [ 1.652625] In-situ OAM (IOAM) with IPv6 [ 1.682245] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid) [ 1.683064] systemd[1]: Detected architecture arm64. Welcome to Arago 2023.10! [ 1.726302] systemd[1]: Hostname set to <am62xx-evm>. [ 1.876394] systemd-sysv-generator[169]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 2.190597] 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.264195] systemd[1]: Queued start job for default target Multi-User System. [ 2.301759] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ OK ] Created slice Slice /system/modprob[ 2.318762] systemd[1]: Created slice Slice /system/modprobe. e. [ OK ] Created slice Slice /system/serial-[ 2.335638] systemd[1]: Created slice Slice /system/serial-getty. getty. [ OK ] Created slice User and Session Slic[ 2.351933] systemd[1]: Created slice User and Session Slice. e. [ 2.367003] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Started Forward Password R…uests [ 2.386795] systemd[1]: Started Forward Password Requests to Wall Directory Watch. to Wall Directory Watch. [ OK ] Reached target Path Units. [ 2.405893] systemd[1]: Reached target Path Units. [ OK ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems. [0m. [ OK ] Reached target Slice Units. [ 2.430475] systemd[1]: Reached target Slice Units. [ 2.441130] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ 2.453953] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ OK ] Reached target RPC Port Mapper.[ 2.469591] systemd[1]: Reached target RPC Port Mapper. [ 2.491045] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 2.506080] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Listening on Journal Audit Socket 2.522684] systemd[1]: Listening on Journal Audit Socket. 0m. [ OK ] Listening on Journal Socket (/dev/l[ 2.537479] systemd[1]: Listening on Journal Socket (/dev/log). og). [ OK ] Listening on Journal Socket. [ 2.553484] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Network Service Netlin[ 2.565664] systemd[1]: Listening on Network Service Netlink Socket. k Socket. [ OK ] Listening on udev Control Socket 2.582748] systemd[1]: Listening on udev Control Socket. m. [ 2.597224] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on User Database Manager [ 2.612476] systemd[1]: Listening on User Database Manager Socket. Socket. [ 2.654049] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... Mounting POSIX Message Queue File System..[ 2.670627] systemd[1]: Mounting POSIX Message Queue File System... . Mounting Kernel Debug File System... [ 2.690706] systemd[1]: Mounting Kernel Debug File System... [ 2.703132] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing). [ 2.709791] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... Starting Create List of Static Device Nodes 2.733855] systemd[1]: Starting Create List of Static Device Nodes... m... Starting Load Kernel Module configfs... [ 2.755434] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module drm... [ 2.773245] systemd[1]: Starting Load Kernel Module drm... [ 2.805869] systemd[1]: Starting Load Kernel Module fuse... Starting Load Kernel Module fuse... [ 2.834020] fuse: init (API version 7.37) Starting Start psplash boot splash screen.[ 2.839773] systemd[1]: Starting Start psplash boot splash screen... .. Starting RPC Bind... [ 2.868585] systemd[1]: Starting RPC Bind... [ 2.877946] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/). [ 2.879619] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 2.879646] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) [ 2.886303] systemd[1]: Starting Journal Service... Starting Journal Service... Starting Load Kernel Modules...[ 2.941853] systemd[1]: Starting Load Kernel Modules... Starting Generate network …ts from Kernel co[ 2.962577] systemd[1]: Starting Generate network units from Kernel command line... mmand line... [ 2.976911] cryptodev: loading out-of-tree module taints kernel. [ 2.979198] cryptodev: driver 1.12 loaded. Starting Remount Root and Kernel File Systems systemd[1]: Starting Remount Root and Kernel File Systems... [0m... [ 3.028198] systemd[1]: Starting Coldplug All udev Devices... [ 3.031563] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none. Starting Coldplug All udev Devices... [ OK ] Started RPC Bind. [ 3.062493] systemd[1]: Started RPC Bind. [ OK ] Started Journal Service. [ 3.072715] systemd[1]: Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory /tmp. [ OK ] Finished Create List of Static Device Nodes. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ 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...[ 3.362743] systemd-journald[181]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Apply Kernel Variables. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. Mounting /media/ram... Mounting /var/volatile... Starting Rule-based Manage…for Device Events and Files... [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Finished Coldplug All udev Devices. [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Finished Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 3.907342] random: crng init done [ OK ] Finished Load/Save Random Seed. [ 4.122110] mc: Linux media interface: v0.10 [ 4.147106] videodev: Linux video capture interface: v2.00 [ OK ] Found device /dev/ttyS2. [ 4.235120] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 4.245988] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 4.246107] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 4.260694] remoteproc remoteproc0: 5000000.m4fss is available [ 4.265562] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.265626] remoteproc remoteproc0: powering up 5000000.m4fss [ 4.265685] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.265694] remoteproc remoteproc0: request_firmware failed: -2 [ 4.308647] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 4.308724] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ 4.406308] platform 78000000.r5f: ti-sci processor request failed: -19 [ 4.406336] platform 78000000.r5f: ti_sci_proc_request failed, ret = -19 [ 4.406423] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_core_of_init failed, ret = -19 [ 4.406433] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_of_init failed, ret = -19 [ 4.692219] systemd-journald[181]: Oldest entry in /run/log/journal/79634af566a84a7fa614348e7cf85c01/system.journal is older than the configured file retention duration (1month), suggesting rotation. [ 4.692325] systemd-journald[181]: /run/log/journal/79634af566a84a7fa614348e7cf85c01/system.journal: Journal header limits reached or header out-of-date, rotating. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target System Time Set. [ OK ] Reached target Timer Units. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API... [ OK ] Listening on dropbear.socket. Starting D-Bus System Message Bus... [ OK ] Listening on Docker Socket for the API. [ OK ] Reached target Socket Units. [ 5.339002] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 [ 5.340392] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 5.347583] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 5.349354] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports [ 5.349397] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010 [ OK ] Started D-Bus System Message Bus 5.356523] xhci-hcd xhci-hcd.1.auto: irq 400, io mem 0x31000000 m. [ 5.379563] hub 1-0:1.0: USB hub found [ 5.379724] hub 1-0:1.0: 1 port detected [ OK ] Reached target Basic System. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... Starting Expand the rootfs…ll size of the boot device.... Starting User Login Management... [ OK ] Started TEE Supplicant. [ 5.629454] usb 1-1: new high-speed USB device number 2 using xhci-hcd Starting Telnet Server... [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished Telnet Server. [ OK ] Reached target Preparation for Network. Starting Network Configuration... [ 5.771651] usb-storage 1-1:1.0: USB Mass Storage device detected [ 5.776100] scsi host0: usb-storage 1-1:1.0 [ OK ] Finished Expand the rootfs…full size of the boot device.. [ 6.052731] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ OK ] Started User Login Management. [ 6.075707] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ OK ] Listening on Load/Save RF …itch S[ 6.077241] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' tatus /dev/rfkill Watch. [ 6.079408] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 6.079458] cfg80211: failed to load regulatory.db [ OK ] Started Network Configuration. Starting Network Name Resolution... [ 6.269121] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL) [ 6.269168] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 6.272913] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx [ 6.277261] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 6.318681] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL) [ 6.318729] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Created slice Slice /system/systemd-fsck. [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting containerd container runtime... [ OK ] Started Netperf Benchmark Server. [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Permit User Sessions... [ OK ] Finished Permit User Sessions. [ 6.825514] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 6 [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Found device /dev/mmcblk1p1. [ 6.933301] sd 0:0:0:0: [sda] 30240768 512-byte logical blocks: (15.5 GB/14.4 GiB) [ 6.934017] sd 0:0:0:0: [sda] Write Protect is off [ 6.934334] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 6.943676] sda: sda1 [ 6.944889] sd 0:0:0:0: [sda] Attached SCSI removable disk Starting File System Check on /dev/mmcblk1p1... [FAILED] Failed to start Synchronize System and HW clocks. See 'systemctl status sync-clocks.service' for details. [ OK ] Finished File System Check on /dev/mmcblk1p1. Mounting /run/media/boot-mmcblk1p1... [ OK ] Mounted /run/media/boot-mmcblk1p1. [ OK ] Found device DataTraveler_2.0 1. Starting File System Check on /dev/sda1... [ OK ] Finished File System Check on /dev/sda1. Mounting /run/media/sda1... [ OK ] Mounted /run/media/sda1. [ OK ] Started containerd container runtime. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPL-3.0 packages: bash cifs-utils dosfstools grub-common grub-editenv grub-efi less libdw1 libelf1 libgcc1 libreadline8 libstdc++6 parted If you do not wish to distribute GPL-3.0 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Finished Print notice about GPLv3 packages. [ OK ] Reached target Multi-User System. Starting Record Runlevel Change in UTMP... [ OK ] Finished Record Runlevel Change in UTMP. [ 10.404262] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 10.404346] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm - Arago 2023.10 am62xx-evm -
The SPI interfaces with "SN65LVDS179MDGKREP" (LVDS transceiver).
Hi Jim,
did you rebuild your Kernel? Or are you still using the original SDK image?
I'm asking because when you rebuild the kernel you usually need to rebuild the kernel modules and install them (`make ARCH=... CROSS_COMPILE+... modules_install INSTALL_MOD_PATH=...`) otherwise the SPIDEV driver won't get loaded. There's no sign of anything 'spi' in your boot log so that could explain things. With the default kernel config the SPIDEV driver gets build as a module ('=m') so if the kernel can't find version-matching modules that won't work.
Regards, Andreas
Andreas,
It is a custom board so the device tree files have been modified (as well as the DDR) but I'm using the SDK image. (I've rebuilt u-boot and modified the SD card I'm booting from).
For debugging other issues - other SDK branches, I rebuilt the kernel using "make linux" using the top level make file. This "branch" is a clean SDK install. ...no "make linux" command, yet.
Andreas,
Would there be any difference in the way the mcu and main spi are configured?
Also, I'm assuming there are spi api's we can use in a C program built with gcc to interface with the spi. Where would I find information on that?
Andreas,
I modified my description in the boot k3-am625-sk.dts file and get the following regarding the spi in the log:
U-Boot SPL 2023.04-dirty (Oct 04 2024 - 16:59:39 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 13408 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed 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 U-Boot SPL 2023.04-dirty (Oct 04 2024 - 16:59:45 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 1856 bytes Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2023.04-dirty (Oct 04 2024 - 16:59:45 -0400) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 DRAM: no bloblist found!2 GiB Core: 66 devices, 27 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 574 bytes read in 14 ms (40 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... ## Error: "main_cpsw0_qsgmii_phyinit" not defined 15442432 bytes read in 625 ms (23.6 MiB/s) 56850 bytes read in 19 ms (2.9 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 000000008feef000, end 000000008fffffff ... OK Working FDT set to 8feef000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.83-rt28-ti-rt-g96b0ebd82722 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon May 13 23:06:24 UTC 2024 [ 0.000000] Machine model: Texas Instruments AM625 SK [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 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] 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 s44928 r8192 d28800 u81920 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);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=1a2fb328-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: 1856136K/2097152K available (9792K kernel code, 1192K rwdata, 2244K rodata, 1728K init, 422K bss, 109944K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] Root IRQ handler: 0xffff800008412740 [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000269] Console: colour dummy device 80x25 [ 0.489875] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000) [ 0.489890] pid_max: default: 32768 minimum: 301 [ 0.490007] LSM: Security Framework initializing [ 0.490193] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.490232] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.492519] rcu: Hierarchical SRCU implementation. [ 0.492532] rcu: Max phase no-delay instances is 400. [ 0.492599] printk: bootconsole [ns16550a0] printing thread started [ 0.545145] Platform MSI: msi-controller@1820000 domain created [ 0.545475] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.545561] EFI services will not be available. [ 0.545912] smp: Bringing up secondary CPUs ... [ 0.546892] Detected VIPT I-cache on CPU1 [ 0.547047] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.547067] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.547144] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.597291] Detected VIPT I-cache on CPU2 [ 0.597418] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.597435] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.597485] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.623548] Detected VIPT I-cache on CPU3 [ 0.623661] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.623678] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.623718] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.623804] smp: Brought up 1 node, 4 CPUs [ 0.653210] SMP: Total of 4 processors activated. [ 0.653214] CPU features: detected: 32-bit EL0 Support [ 0.653218] CPU features: detected: CRC32 instructions [ 0.653274] CPU: All CPU(s) started at EL2 [ 0.653277] alternatives: applying system-wide alternatives [ 0.680556] devtmpfs: initialized [ 0.692472] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.692513] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.700691] pinctrl core: initialized pinctrl subsystem [ 0.701558] DMI not present or invalid. [ 0.702209] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.726619] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.726971] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.727144] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.727267] audit: initializing netlink subsys (disabled) [ 0.727485] audit: type=2000 audit(0.725:1): state=initialized audit_enabled=0 res=1 [ 0.728215] thermal_sys: Registered thermal governor 'step_wise' [ 0.728487] ASID allocator initialised with 65536 entries [ 0.750442] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.750457] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.750463] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.750466] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.750470] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.750473] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.750478] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.750481] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.756077] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.759091] iommu: Default domain type: Translated [ 0.759106] iommu: DMA domain TLB invalidation policy: strict mode [ 0.759527] SCSI subsystem initialized [ 0.760012] usbcore: registered new interface driver usbfs [ 0.760067] usbcore: registered new interface driver hub [ 0.760102] usbcore: registered new device driver usb [ 0.760625] pps_core: LinuxPPS API ver. 1 registered [ 0.760629] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.760649] PTP clock support registered [ 0.760792] EDAC MC: Ver: 3.0.0 [ 0.761811] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.762263] FPGA manager framework [ 0.762405] Advanced Linux Sound Architecture Driver Initialized. [ 0.763652] clocksource: Switched to clocksource arch_sys_counter [ 0.764021] VFS: Disk quotas dquot_6.6.0 [ 0.764068] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.771728] NET: Registered PF_INET protocol family [ 0.772326] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.774479] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear) [ 0.774566] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.774584] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.774882] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear) [ 0.777422] TCP: Hash tables configured (established 16384 bind 16384) [ 0.777880] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 0.778165] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 0.778807] NET: Registered PF_UNIX/PF_LOCAL protocol family [@▒ 0.779511] RPC: Registered named UNIX socket transport module. [ 1.0027[66] printk: console [ttyS2] printing thread started 0.779519] RPC: Registered udp transport module. [ 1.002789] printk: console [ttyS2] enabled [ 1.002793] printk: bootconsole [ns16550a0] disabled [ 1.013145] printk: bootconsole [ns16550a0] printing thread stopped [ 1.015251] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.049665] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.055214] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869 [ 1.055229] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown [ 1.055290] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.055670] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [ 1.055690] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.055696] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.056449] pps pps0: new PPS source ptp0 [ 1.056853] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1 [ 1.074347] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.079210] mmc0: CQHCI version 5.10 [ 1.085838] pinctrl-single f4000.pinctrl: Invalid number of rows: 0 [ 1.085857] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default [ 1.088312] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.088997] mmc1: CQHCI version 5.10 [ 1.091886] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present! [ 1.096222] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19 [ 1.101845] ALSA device list: [ 1.101853] No soundcards found. [ 1.120865] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.126436] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.126937] Waiting for root device PARTUUID=1a2fb328-02... [ 1.160075] mmc1: new high speed SDHC card at address 0001 [ 1.161306] mmcblk1: mmc1:0001 SD32G 28.9 GiB [ 1.164791] mmcblk1: p1 p2 [ 1.172421] mmc0: Command Queue Engine enabled [ 1.172454] mmc0: new HS200 MMC card at address 0001 [ 1.173492] mmcblk0: mmc0:0001 IS032G 29.1 GiB [ 1.176367] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB [ 1.178245] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB [ 1.180040] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0) [ 1.212877] EXT4-fs (mmcblk1p2): recovery complete [ 1.216172] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none. [ 1.216287] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.217279] devtmpfs: mounted [ 1.219433] Freeing unused kernel memory: 1728K [ 1.219579] Run /sbin/init as init process [ 1.591156] systemd[1]: System time before build time, advancing clock. [ 1.673335] NET: Registered PF_INET6 protocol family [ 1.675255] Segment Routing with IPv6 [ 1.675301] In-situ OAM (IOAM) with IPv6 [ 1.704812] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid) [ 1.705534] systemd[1]: Detected architecture arm64. Welcome to Arago 2023.10! [ 1.749166] systemd[1]: Hostname set to <am62xx-evm>. [ 1.897495] systemd-sysv-generator[170]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 2.213830] 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.287756] systemd[1]: Queued start job for default target Multi-User System. [ 2.316420] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ OK ] Created slice Slice /system/modprob[ 2.333250] systemd[1]: Created slice Slice /system/modprobe. e. [ OK ] Created slice Slice /system/serial-[ 2.349937] systemd[1]: Created slice Slice /system/serial-getty. getty. [ OK ] Created slice User and Session Slic[ 2.366247] systemd[1]: Created slice User and Session Slice. e. [ 2.381380] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Started Forward Password R…uests [ 2.401195] systemd[1]: Started Forward Password Requests to Wall Directory Watch. to Wall Directory Watch. [ OK ] Reached target Path Units. [ 2.420284] systemd[1]: Reached target Path Units. [ OK ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems. [0m. [ OK ] Reached target Slice Units. [ 2.444879] systemd[1]: Reached target Slice Units. [ 2.455564] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ OK ] Listening on RPCbind Server Activat[ 2.468304] systemd[1]: Listening on RPCbind Server Activation Socket. ion Socket. [ OK ] Reached target RPC Port Mapper.[ 2.483979] systemd[1]: Reached target RPC Port Mapper. [ 2.505454] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 2.520479] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Listening on Journal Audit Socket 2.537100] systemd[1]: Listening on Journal Audit Socket. 0m. [ OK ] Listening on Journal Socket (/dev/l[ 2.551882] systemd[1]: Listening on Journal Socket (/dev/log). og). [ OK ] Listening on Journal Socket. [ 2.567815] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Network Service Netlin[ 2.579912] systemd[1]: Listening on Network Service Netlink Socket. k Socket. [ OK ] Listening on udev Control Socket 2.597122] systemd[1]: Listening on udev Control Socket. m. [ 2.611599] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on User Database Manager [ 2.626790] systemd[1]: Listening on User Database Manager Socket. Socket. [ 2.652483] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... Mounting POSIX Message Queue File System..[ 2.669003] systemd[1]: Mounting POSIX Message Queue File System... . Mounting Kernel Debug File System... [ 2.689115] systemd[1]: Mounting Kernel Debug File System... [ 2.701494] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing). Mounting Temporary Directory /tmp... [ 2.708151] systemd[1]: Mounting Temporary Directory /tmp... Starting Create List of Static Device Nodes 2.733062] systemd[1]: Starting Create List of Static Device Nodes... m... Starting Load Kernel Module configfs...[ 2.764100] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module drm...[ 2.785985] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module fuse... [ 2.806018] systemd[1]: Starting Load Kernel Module fuse... [ 2.840587] systemd[1]: Starting Start psplash boot splash screen... [ 2.845102] fuse: init (API version 7.37) Starting Start psplash boot splash screen... Starting RPC Bind... [ 2.893147] systemd[1]: Starting RPC Bind... [ 2.902293] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/). Starting Journal Service... [ 2.903851] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 2.903876] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) [ 2.910460] systemd[1]: Starting Journal Service... Starting Load Kernel Modules... [ 2.949626] systemd[1]: Starting Load Kernel Modules... [ 2.968347] systemd[1]: Starting Generate network units from Kernel command line... Starting Generate network …ts from Kernel command line... [ 2.984474] cryptodev: loading out-of-tree module taints kernel. [ 2.992381] cryptodev: driver 1.12 loaded. [ 3.004275] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 3.035610] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 3.048401] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none. [ OK ] Started RPC Bind.[ 3.071904] systemd[1]: Started RPC Bind. [ OK ] Started Journal Service. [ 3.084947] systemd[1]: Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory /tmp. [ OK ] Finished Create List of Static Device Nodes. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ 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...[ 3.369036] systemd-journald[183]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Apply Kernel Variables. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. Mounting /media/ram... Mounting /var/volatile... Starting Rule-based Manage…for Device Events and Files... [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Finished Coldplug All udev Devices. [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Finished Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 3.934748] random: crng init done [ OK ] Finished Load/Save Random Seed. [ 4.108861] mc: Linux media interface: v0.10 [ OK ] Found device /dev/ttyS2. [ 4.116789] spi_master spi0: cannot find modalias for /bus@f0000/spi@20100000/spidev@0 [ 4.116848] spi_master spi0: Failed to create SPI device for /bus@f0000/spi@20100000/spidev@0 [ 4.141218] videodev: Linux video capture interface: v2.00 [ 4.232953] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 4.248256] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 4.257395] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 4.272446] remoteproc remoteproc0: 5000000.m4fss is available [ 4.276283] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.276336] remoteproc remoteproc0: powering up 5000000.m4fss [ 4.276398] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.276410] remoteproc remoteproc0: request_firmware failed: -2 [ 4.385305] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 4.385375] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ 4.478603] platform 78000000.r5f: ti-sci processor request failed: -19 [ 4.480497] platform 78000000.r5f: ti_sci_proc_request failed, ret = -19 [ 4.481805] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_core_of_init failed, ret = -19 [ 4.481837] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_of_init failed, ret = -19 [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target System Time Set. [ OK ] Reached target Timer Units. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API... [ OK ] Listening on dropbear.socket. Starting D-Bus System Message Bus... [ OK ] Listening on Docker Socket for the API. [ OK ] Reached target Socket Units. [ 5.323016] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 5.323104] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ 5.323476] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports [ 5.323501] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010 [ 5.328494] xhci-hcd xhci-hcd.1.auto: irq 400, io mem 0x31000000 [ 5.338222] hub 1-0:1.0: USB hub found [ 5.338363] hub 1-0:1.0: 1 port detected [ 5.367901] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target Basic System. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... Starting Expand the rootfs…ll size of the boot device.... Starting User Login Management... [ OK ] Started TEE Supplicant. Starting Telnet Server... [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished Telnet Server. [ OK ] Reached target Preparation for Network. Starting Network Configuration... [ OK ] Finished Expand the rootfs…full size of the boot device.. [ OK ] Started User Login Management. [ 6.082474] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 6.098270] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 6.099995] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 6.102910] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 6.102963] cfg80211: failed to load regulatory.db [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ OK ] Started Network Configuration. Starting Network Name Resolution... [ 6.269691] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL) [ 6.269734] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 6.271451] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx [ 6.274212] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 6.313780] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL) [ 6.313831] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Created slice Slice /system/systemd-fsck. [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting containerd container runtime... [ OK ] Started Netperf Benchmark Server. [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Permit User Sessions... [ OK ] Found device /dev/mmcblk1p1. [ OK ] Finished Permit User Sessions. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... Starting File System Check on /dev/mmcblk1p1... [FAILED] Failed to start Synchronize System and HW clocks. See 'systemctl status sync-clocks.service' for details. [ OK ] Finished File System Check on /dev/mmcblk1p1. Mounting /run/media/boot-mmcblk1p1... [ OK ] Mounted /run/media/boot-mmcblk1p1. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPL-3.0 packages: bash cifs-utils dosfstools grub-common grub-editenv grub-efi less libdw1 libelf1 libgcc1 libreadline8 libstdc++6 parted If you do not wish to distribute GPL-3.0 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started containerd container runtime. [ OK ] Finished Print notice about GPLv3 packages. [ OK ] Reached target Multi-User System. Starting Record Runlevel Change in UTMP... [ OK ] Finished Record Runlevel Change in UTMP. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm - Arago 2023.10 am62xx-evm -
spi_master spi0: cannot find modalias for /bus@f0000/spi@20100000/spidev@0
For debugging other issues - other SDK branches, I rebuilt the kernel using "make linux" using the top level make file. This "branch" is a clean SDK install. ...no "make linux" command, yet.
Doing this might just have broken your kernel-modules dependency.
Can you execute the below command on your running target system to see if the Kernel can find appropriate modules?
root@am62xx-evm:~# ls -al /lib/modules/$(uname -r) total 1420 drwxr-xr-x 3 root root 4096 Aug 28 2024 . drwxr-xr-x 4 root root 4096 Aug 28 2024 .. lrwxrwxrwx 1 root root 24 Aug 28 2024 build -> /home/a0797059/git/linux drwxr-xr-x 9 root root 4096 Aug 28 2024 kernel -rw-r--r-- 1 root root 326118 Aug 28 2024 modules.alias -rw-r--r-- 1 root root 331329 Aug 28 2024 modules.alias.bin -rw-r--r-- 1 root root 15804 Aug 28 2024 modules.builtin -rw-r--r-- 1 root root 38334 Aug 28 2024 modules.builtin.alias.bin -rw-r--r-- 1 root root 19744 Aug 28 2024 modules.builtin.bin -rw-r--r-- 1 root root 111699 Aug 28 2024 modules.builtin.modinfo -rw-r--r-- 1 root root 57260 Aug 28 2024 modules.dep -rw-r--r-- 1 root root 84441 Aug 28 2024 modules.dep.bin -rw-r--r-- 1 root root 168 Aug 28 2024 modules.devname -rw-r--r-- 1 root root 23998 Aug 28 2024 modules.order -rw-r--r-- 1 root root 358 Aug 28 2024 modules.softdep -rw-r--r-- 1 root root 186332 Aug 28 2024 modules.symbols -rw-r--r-- 1 root root 224279 Aug 28 2024 modules.symbols.bin
Regards, Andreas
Andreas,
Here's the latest boot log. Actually, I changed the spi configuration in both the boot and the kernel k3-am625-sk.dts (correction to above post).
U-Boot SPL 2023.04-dirty (Oct 08 2024 - 08:01:08 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 13408 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed 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 U-Boot SPL 2023.04-dirty (Oct 08 2024 - 08:01:25 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 1856 bytes Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2023.04-dirty (Oct 08 2024 - 08:01:25 -0400) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 DRAM: no bloblist found!2 GiB Core: 66 devices, 27 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 574 bytes read in 13 ms (43 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... ## Error: "main_cpsw0_qsgmii_phyinit" not defined 15442432 bytes read in 625 ms (23.6 MiB/s) 56891 bytes read in 19 ms (2.9 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 000000008feef000, end 000000008fffffff ... OK Working FDT set to 8feef000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.83-rt28-ti-rt-g96b0ebd82722 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon May 13 23:06:24 UTC 2024 [ 0.000000] Machine model: Texas Instruments AM625 SK [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 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] 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 s44928 r8192 d28800 u81920 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);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=1a2fb328-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: 1856136K/2097152K available (9792K kernel code, 1192K rwdata, 2244K rodata, 1728K init, 422K bss, 109944K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] Root IRQ handler: 0xffff800008412740 [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000281] Console: colour dummy device 80x25 [ 0.489879] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000) [ 0.489893] pid_max: default: 32768 minimum: 301 [ 0.490009] LSM: Security Framework initializing [ 0.490196] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.490234] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.492547] rcu: Hierarchical SRCU implementation. [ 0.492559] rcu: Max phase no-delay instances is 400. [ 0.492620] printk: bootconsole [ns16550a0] printing thread started [ 0.545169] Platform MSI: msi-controller@1820000 domain created [ 0.545518] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.545614] EFI services will not be available. [ 0.545974] smp: Bringing up secondary CPUs ... [ 0.546959] Detected VIPT I-cache on CPU1 [ 0.547118] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.547140] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.547217] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.597365] Detected VIPT I-cache on CPU2 [ 0.597490] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.597507] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.597554] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.623612] Detected VIPT I-cache on CPU3 [ 0.623723] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.623738] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.623784] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.623849] smp: Brought up 1 node, 4 CPUs [ 0.623857] SMP: Total of 4 processors activated. [ 0.623861] CPU features: detected: 32-bit EL0 Support [ 0.663301] CPU features: detected: CRC32 instructions [ 0.663355] CPU: All CPU(s) started at EL2 [ 0.663357] alternatives: applying system-wide alternatives [ 0.680596] devtmpfs: initialized [ 0.692573] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.692612] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.700542] pinctrl core: initialized pinctrl subsystem [ 0.701443] DMI not present or invalid. [ 0.702101] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.726621] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.726960] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.727138] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.727263] audit: initializing netlink subsys (disabled) [ 0.727470] audit: type=2000 audit(0.725:1): state=initialized audit_enabled=0 res=1 [ 0.728215] thermal_sys: Registered thermal governor 'step_wise' [ 0.728489] ASID allocator initialised with 65536 entries [ 0.750482] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.750498] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.750503] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.750506] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.750510] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.750513] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.750518] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.750521] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.756160] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.759163] iommu: Default domain type: Translated [ 0.759177] iommu: DMA domain TLB invalidation policy: strict mode [ 0.759589] SCSI subsystem initialized [ 0.760076] usbcore: registered new interface driver usbfs [ 0.760130] usbcore: registered new interface driver hub [ 0.760164] usbcore: registered new device driver usb [ 0.760716] pps_core: LinuxPPS API ver. 1 registered [ 0.760720] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.760740] PTP clock support registered [ 0.760885] EDAC MC: Ver: 3.0.0 [ 0.761910] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.762384] FPGA manager framework [ 0.762528] Advanced Linux Sound Architecture Driver Initialized. [ 0.763809] clocksource: Switched to clocksource arch_sys_counter [ 0.764182] VFS: Disk quotas dquot_6.6.0 [ 0.764253] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.771702] NET: Registered PF_INET protocol family [ 0.772192] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.774184] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear) [ 0.774268] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.774296] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.774571] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear) [ 0.777129] TCP: Hash tables configured (established 16384 bind 16384) [ 0.777502] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear) [@Ȑ0.777780] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear) [ [ 0.990583] printk: console [ttyS2] enabled 0.778402] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.990585] printk: console [ttyS2] printing thread started [ 0.990590] printk: bootconsole [ns16550a0] disabled [ 1.000563] printk: bootconsole [ns16550a0] printing thread stopped [ 1.002604] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.036815] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.042371] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869 [ 1.042388] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown [ 1.042450] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.042837] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [ 1.042856] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.042861] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.043622] pps pps0: new PPS source ptp0 [ 1.043974] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1 [ 1.061500] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.066473] mmc0: CQHCI version 5.10 [ 1.073147] pinctrl-single f4000.pinctrl: Invalid number of rows: 0 [ 1.073166] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default [ 1.075610] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.076323] mmc1: CQHCI version 5.10 [ 1.079196] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present! [ 1.083508] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19 [ 1.089184] ALSA device list: [ 1.089193] No soundcards found. [ 1.108340] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.113942] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.114603] Waiting for root device PARTUUID=1a2fb328-02... [ 1.147596] mmc1: new high speed SDHC card at address 0001 [ 1.148906] mmcblk1: mmc1:0001 SD32G 28.9 GiB [ 1.152248] mmcblk1: p1 p2 [ 1.159275] mmc0: Command Queue Engine enabled [ 1.159306] mmc0: new HS200 MMC card at address 0001 [ 1.160345] mmcblk0: mmc0:0001 IS032G 29.1 GiB [ 1.163233] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB [ 1.165213] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB [ 1.167215] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0) [ 1.182644] EXT4-fs (mmcblk1p2): recovery complete [ 1.183989] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none. [ 1.184106] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.185067] devtmpfs: mounted [ 1.187213] Freeing unused kernel memory: 1728K [ 1.187359] Run /sbin/init as init process [ 1.562123] systemd[1]: System time before build time, advancing clock. [ 1.637198] NET: Registered PF_INET6 protocol family [ 1.639215] Segment Routing with IPv6 [ 1.639257] In-situ OAM (IOAM) with IPv6 [ 1.668922] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid) [ 1.669598] systemd[1]: Detected architecture arm64. Welcome to Arago 2023.10! [ 1.713286] systemd[1]: Hostname set to <am62xx-evm>. [ 1.850060] systemd-sysv-generator[168]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 2.163879] 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.237170] systemd[1]: Queued start job for default target Multi-User System. [ 2.264464] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ OK ] Created slice Slice /system/modprob[ 2.281285] systemd[1]: Created slice Slice /system/modprobe. e. [ OK ] Created slice Slice /system/serial-[ 2.298099] systemd[1]: Created slice Slice /system/serial-getty. getty. [ OK ] Created slice User and Session Slic[ 2.314394] systemd[1]: Created slice User and Session Slice. e. [ 2.329526] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Started Forward Password R…uests [ 2.349328] systemd[1]: Started Forward Password Requests to Wall Directory Watch. to Wall Directory Watch. [ OK ] Reached target Path Units. [ 2.368399] systemd[1]: Reached target Path Units. [ OK ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems. [0m. [ OK ] Reached target Slice Units. [ 2.393016] systemd[1]: Reached target Slice Units. [ OK ] Reached target Swaps. [ 2.403641] systemd[1]: Reached target Swaps. [ 2.415719] systemd[1]: Listening on RPCbind Server Activation Socket. [ OK ] Listening on RPCbind Server Activation Socket. [ OK ] Reached target RPC Port Mapper.[ 2.431161] systemd[1]: Reached target RPC Port Mapper. [ 2.452539] systemd[1]: Listening on Process Core Dump Socket. [ OK ] Listening on Process Core Dump Socket. [ 2.467631] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Listening on Journal Audit Socket 2.484222] systemd[1]: Listening on Journal Audit Socket. 0m. [ OK ] Listening on Journal Socket (/dev/l[ 2.498932] systemd[1]: Listening on Journal Socket (/dev/log). og). [ OK ] Listening on Journal Socket. [ 2.514940] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Network Service Netlin[ 2.527065] systemd[1]: Listening on Network Service Netlink Socket. k Socket. [ OK ] Listening on udev Control Socket 2.544193] systemd[1]: Listening on udev Control Socket. m. [ 2.558770] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on User Database Manager [ 2.573954] systemd[1]: Listening on User Database Manager Socket. Socket. [ 2.617528] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... Mounting POSIX Message Queue File System..[ 2.634209] systemd[1]: Mounting POSIX Message Queue File System... . Mounting Kernel Debug File System... [ 2.654319] systemd[1]: Mounting Kernel Debug File System... [ 2.666712] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing). [ 2.673473] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 2.699484] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... Starting Load Kernel Module configfs...[ 2.722025] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module drm... [ 2.753185] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module fuse...[ 2.771134] systemd[1]: Starting Load Kernel Module fuse... [ 2.813488] fuse: init (API version 7.37) Starting Start psplash boot splash screen.[ 2.819343] systemd[1]: Starting Start psplash boot splash screen... .. Starting RPC Bind...[ 2.847944] systemd[1]: Starting RPC Bind... [ 2.859409] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/). [ 2.861120] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 2.861149] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) Starting Journal Service...[ 2.899182] systemd[1]: Starting Journal Service... Starting Load Kernel Modules...[ 2.923160] systemd[1]: Starting Load Kernel Modules... Starting Generate network …ts from Kernel co[ 2.942611] systemd[1]: Starting Generate network units from Kernel command line... mmand line... [ 2.955614] cryptodev: loading out-of-tree module taints kernel. [ 2.957912] cryptodev: driver 1.12 loaded. [ 2.971768] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 3.004756] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 3.032687] systemd[1]: Started RPC Bind. [ 3.033359] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none. [ OK ] Started RPC Bind. [ OK ] Started Journal Service. [ 3.053069] systemd[1]: Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory /tmp. [ OK ] Finished Create List of Static Device Nodes. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ 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... [ 3.325023] systemd-journald[181]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Apply Kernel Variables. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. Mounting /media/ram... Mounting /var/volatile... Starting Rule-based Manage…for Device Events and Files... [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Finished Coldplug All udev Devices. [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Finished Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 3.875905] random: crng init done [ OK ] Finished Load/Save Random Seed. [ 4.052672] spi_master spi0: cannot find modalias for /bus@f0000/spi@20100000/spidev@0 [ 4.052729] spi_master spi0: Failed to create SPI device for /bus@f0000/spi@20100000/spidev@0 [ 4.085200] mc: Linux media interface: v0.10 [ 4.107302] videodev: Linux video capture interface: v2.00 [ OK ] Found device /dev/ttyS2. [ 4.267520] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 4.267878] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 4.267963] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 4.289782] remoteproc remoteproc0: 5000000.m4fss is available [ 4.291909] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.291960] remoteproc remoteproc0: powering up 5000000.m4fss [ 4.292013] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.292022] remoteproc remoteproc0: request_firmware failed: -2 [ 4.328486] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 4.328563] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target System Time Set. [ OK ] Reached target Timer Units. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API... [ 4.524899] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ OK ] Listening on dropbear.socket.[ 4.540576] platform 78000000.r5f: configured R5F for IPC-only mode [ 4.543024] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000 Starting D-Bus System Message Bus... [ 4.544368] remoteproc remoteproc1: 78000000.r5f is available [ 4.544506] remoteproc remoteproc1: attaching to 78000000.r5f [ OK ] Listening on Docker Socket for the [ 4.591658] platform 78000000.r5f: R5F core initialized in IPC-only mode API. [ 4.591733] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@9da00000 [ 4.593538] virtio_rpmsg_bus virtio0: rpmsg host is online [ 4.593614] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7) [ 4.593626] remoteproc remoteproc1: remote processor 78000000.r5f is now attached [ 4.593674] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 4.602850] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ OK ] Reached target Socket Units. [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target Basic System.[ 5.353523] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework..[ 5.430266] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller . [ 5.430420] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ 5.431048] xhci-hcd xhci-hcd.2.auto: USB3 root hub has no ports Starting IPv4 Packet Filtering Framework... [ 5.431073] xhci-hcd xhci-hcd.2.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010 Starting Expand the rootfs…ll size of the bo[ 5.444443] xhci-hcd xhci-hcd.2.auto: irq 401, io mem 0x31000000 ot device.... [ 5.447476] hub 1-0:1.0: USB hub found [ 5.447581] hub 1-0:1.0: 1 port detected Starting User Login Management... [ OK ] Started TEE Supplicant. Starting Telnet Server... [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished Telnet Server. [ OK ] Reached target Preparation for Network. Starting Network Configuration... [ OK ] Finished Expand the rootfs…full size of the boot device.. [ OK ] Started User Login Management. [ 6.065720] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ 6.087784] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 6.088648] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 6.105316] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 6.105367] cfg80211: failed to load regulatory.db [ OK ] Started Network Configuration. Starting Network Name Resolution... [ 6.254138] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL) [ 6.254182] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 6.255935] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx [ 6.258463] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 6.292514] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL) [ 6.292573] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Created slice Slice /system/systemd-fsck. [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting containerd container runtime... [ OK ] Started Netperf Benchmark Server. [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Permit User Sessions... [ OK ] Finished Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Found device /dev/mmcblk1p1. Starting File System Check on /dev/mmcblk1p1... [FAILED] Failed to start Synchronize System and HW clocks. See 'systemctl status sync-clocks.service' for details. [ OK ] Finished File System Check on /dev/mmcblk1p1. Mounting /run/media/boot-mmcblk1p1... [ OK ] Mounted /run/media/boot-mmcblk1p1. [ OK ] Started containerd container runtime. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPL-3.0 packages: bash cifs-utils dosfstools grub-common grub-editenv grub-efi less libdw1 libelf1 libgcc1 libreadline8 libstdc++6 parted If you do not wish to distribute GPL-3.0 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Finished Print notice about GPLv3 packages. [ OK ] Reached target Multi-User System. Starting Record Runlevel Change in UTMP... [ OK ] Finished Record Runlevel Change in UTMP. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm - Arago 2023.10 am62xx-evm -
Andreas,
The SPI port is connected to a TI LVDS transceiver (SN65LVDS179MDGKREP).
The current DT description follows:
&main_spi0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&main_spi0_pins_default>;
pinctrl-names = "default";
spidev@0 {
/*
* Using spidev compatible is warned loudly,
* thus use another equivalent compatible id
* from spidev.
*/
compatible = "rohm,dh2228fv";
spi-max-frequency = <24000000>;
reg = <0>;
};
};
Do I need different entries (for "compatible", for instance)?
Andreas,
Correction-> We're interfacing with a TI microcontroller (SPC5746CHK1AMMH6). The TI LVDS transceiver is on the mcu_spi0.
Also, your example pin_mux has everything set up as inputs... Is this just their initial state and we don't need to concern ourselves with setting them up as they would be at run time?
I used:
main_spi0_pins_default: main_spi0-pins-default {
pinctrl-single,pins = <
AM62X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (D12) SPI0_CLK */
AM62X_IOPAD(0x01c0, PIN_INPUT, 0) /* (C12) SPI0_D0 */
AM62X_IOPAD(0x01c4, PIN_OUTPUT, 0) /* (A14) SPI0_D1 */
AM62X_IOPAD(0x01b4, PIN_OUTPUT, 0) /* (C11) SPI0_CS0 */
>;
};
Hi Jim,
Do I need different entries (for "compatible", for instance)?
No for SPIDEV that's what you want.
AM62X_IOPAD(0x01bc, PIN_OUTPUT, 0) /* (D12) SPI0_CLK */
AM62X_IOPAD(0x01c0, PIN_INPUT, 0) /* (C12) SPI0_D0 */
AM62X_IOPAD(0x01c4, PIN_OUTPUT, 0) /* (A14) SPI0_D1 */
AM62X_IOPAD(0x01b4, PIN_OUTPUT, 0) /* (C11) SPI0_CS0 */
Please stick to the pinmux ("INPUT") settings from https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am625-sk-mcspi-loopback.dtso?h=ti-linux-6.6.y, otherwise it won't work.
Also confirm the SPIDEV driver is both there and enabled:
root@am62xx-evm:~# ls -al /lib/modules/$(uname -r)/kernel/drivers/spi total 356 drwxr-xr-x 2 root root 4096 Aug 28 2024 . drwxr-xr-x 56 root root 4096 Aug 28 2024 .. -rw-r--r-- 1 root root 205552 Aug 28 2024 spi-omap2-mcspi.ko -rw-r--r-- 1 root root 146736 Aug 28 2024 spidev.ko root@am62xx-evm:~# zcat /proc/config.gz | grep SPIDEV CONFIG_SPI_SPIDEV=m
Regards, Andreas
Andreas,
OK!
Here's the output to the commands you recommended:
After I changed the pin mux to INPUT, I can see spidev0.0 in /dev/
How can I send a byte of data periodically from a C file I build with GCC (I'll do a search while I wait for your reply).
Also, why can I not use the u-boot utility sspi? Here's the output:
Thanks!
Andreas,
Here's the latest log:
U-Boot SPL 2023.04-dirty (Oct 09 2024 - 07:15:14 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 13408 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed 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 U-Boot SPL 2023.04-dirty (Oct 09 2024 - 07:15:31 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 1856 bytes Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2023.04-dirty (Oct 09 2024 - 07:15:31 -0400) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 DRAM: no bloblist found!2 GiB Core: 66 devices, 27 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 574 bytes read in 14 ms (40 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... ## Error: "main_cpsw0_qsgmii_phyinit" not defined 15442432 bytes read in 624 ms (23.6 MiB/s) 56919 bytes read in 19 ms (2.9 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 000000008feef000, end 000000008fffffff ... OK Working FDT set to 8feef000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.83-rt28-ti-rt-g96b0ebd82722 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon May 13 23:06:24 UTC 2024 [ 0.000000] Machine model: Texas Instruments AM625 SK [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 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] 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 s44928 r8192 d28800 u81920 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);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=1a2fb328-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: 1856136K/2097152K available (9792K kernel code, 1192K rwdata, 2244K rodata, 1728K init, 422K bss, 109944K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] Root IRQ handler: 0xffff800008412740 [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000002] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns [ 0.000274] Console: colour dummy device 80x25 [ 0.489886] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000) [ 0.489900] pid_max: default: 32768 minimum: 301 [ 0.490010] LSM: Security Framework initializing [ 0.490192] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.490231] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.492516] rcu: Hierarchical SRCU implementation. [ 0.492526] rcu: Max phase no-delay instances is 400. [ 0.492589] printk: bootconsole [ns16550a0] printing thread started [ 0.545136] Platform MSI: msi-controller@1820000 domain created [ 0.545468] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.545566] EFI services will not be available. [ 0.545927] smp: Bringing up secondary CPUs ... [ 0.546915] Detected VIPT I-cache on CPU1 [ 0.547075] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.547096] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.547171] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.597329] Detected VIPT I-cache on CPU2 [ 0.597453] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.597470] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.597519] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.623592] Detected VIPT I-cache on CPU3 [ 0.623703] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.623718] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.623758] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.623827] smp: Brought up 1 node, 4 CPUs [ 0.623835] SMP: Total of 4 processors activated. [ 0.658037] CPU features: detected: 32-bit EL0 Support [ 0.658042] CPU features: detected: CRC32 instructions [ 0.658098] CPU: All CPU(s) started at EL2 [ 0.658101] alternatives: applying system-wide alternatives [ 0.660238] devtmpfs: initialized [ 0.672204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.672243] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.680286] pinctrl core: initialized pinctrl subsystem [ 0.681136] DMI not present or invalid. [ 0.681805] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.716085] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.716369] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.716522] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.716768] audit: initializing netlink subsys (disabled) [ 0.716997] audit: type=2000 audit(0.714:1): state=initialized audit_enabled=0 res=1 [ 0.717732] thermal_sys: Registered thermal governor 'step_wise' [ 0.717992] ASID allocator initialised with 65536 entries [ 0.739884] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.739900] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.739904] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.739908] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.739912] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.739914] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.739920] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.739923] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.745970] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.749048] iommu: Default domain type: Translated [ 0.749062] iommu: DMA domain TLB invalidation policy: strict mode [ 0.749494] SCSI subsystem initialized [ 0.749981] usbcore: registered new interface driver usbfs [ 0.750029] usbcore: registered new interface driver hub [ 0.750063] usbcore: registered new device driver usb [ 0.750592] pps_core: LinuxPPS API ver. 1 registered [ 0.750596] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.750618] PTP clock support registered [ 0.750771] EDAC MC: Ver: 3.0.0 [ 0.751757] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.752308] FPGA manager framework [ 0.752455] Advanced Linux Sound Architecture Driver Initialized. [ 0.753731] clocksource: Switched to clocksource arch_sys_counter [ 0.754184] VFS: Disk quotas dquot_6.6.0 [ 0.754233] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.761151] NET: Registered PF_INET protocol family [ 0.761794] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.763823] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear) [ 0.763903] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.763919] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.764196] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear) [ 0.766739] TCP: Hash tables configured (established 16384 bind 16384) [ 0.767136] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear) [ H▒▒0.767411] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear) [ [ 0.980575] printk: console [ttyS2] printing thread started 0.768023] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.980600] printk: console [ttyS2] enabled [ 0.980605] printk: bootconsole [ns16550a0] disabled [ 0.991943] printk: bootconsole [ns16550a0] printing thread stopped [ 0.994021] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.027739] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.033313] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869 [ 1.033329] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown [ 1.033395] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.033792] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [ 1.033830] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.033836] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.034611] pps pps0: new PPS source ptp0 [ 1.034956] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1 [ 1.052423] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.057302] mmc0: CQHCI version 5.10 [ 1.063726] pinctrl-single f4000.pinctrl: Invalid number of rows: 0 [ 1.063747] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default [ 1.066824] mmc1: CQHCI version 5.10 [ 1.068152] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.071462] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present! [ 1.075787] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19 [ 1.081510] ALSA device list: [ 1.081519] No soundcards found. [ 1.099073] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.108566] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.109112] Waiting for root device PARTUUID=1a2fb328-02... [ 1.142197] mmc1: new high speed SDHC card at address 0001 [ 1.145295] mmcblk1: mmc1:0001 SD32G 28.9 GiB [ 1.148549] mmcblk1: p1 p2 [ 1.150209] mmc0: Command Queue Engine enabled [ 1.150234] mmc0: new HS200 MMC card at address 0001 [ 1.151158] mmcblk0: mmc0:0001 IS032G 29.1 GiB [ 1.153992] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB [ 1.155743] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB [ 1.157190] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0) [ 1.223650] EXT4-fs (mmcblk1p2): recovery complete [ 1.224789] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none. [ 1.224904] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.225894] devtmpfs: mounted [ 1.228040] Freeing unused kernel memory: 1728K [ 1.228189] Run /sbin/init as init process [ 1.607289] systemd[1]: System time before build time, advancing clock. [ 1.689183] NET: Registered PF_INET6 protocol family [ 1.690990] Segment Routing with IPv6 [ 1.691034] In-situ OAM (IOAM) with IPv6 [ 1.720664] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid) Welcome to Arago 2023.10! [ 1.721448] systemd[1]: Detected architecture arm64. [ 1.762238] systemd[1]: Hostname set to <am62xx-evm>. [ 1.905396] systemd-sysv-generator[171]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 2.222367] 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.295491] systemd[1]: Queued start job for default target Multi-User System. [ 2.325418] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ OK ] Created slice Slice /system/modprob[ 2.342279] systemd[1]: Created slice Slice /system/modprobe. e. [ OK ] Created slice Slice /system/serial-[ 2.359061] systemd[1]: Created slice Slice /system/serial-getty. getty. [ OK ] Created slice User and Session Slic[ 2.375329] systemd[1]: Created slice User and Session Slice. e. [ 2.391462] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Started Forward Password R…uests [ 2.411303] systemd[1]: Started Forward Password Requests to Wall Directory Watch. to Wall Directory Watch. [ OK ] Reached target Path Units. [ 2.430354] systemd[1]: Reached target Path Units. [ OK ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems. [0m. [ OK ] Reached target Slice Units. [ 2.454930] systemd[1]: Reached target Slice Units. [ 2.465585] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ OK ] Listening on RPCbind Server Activat[ 2.478351] systemd[1]: Listening on RPCbind Server Activation Socket. ion Socket. [ OK ] Reached target RPC Port Mapper.[ 2.494052] systemd[1]: Reached target RPC Port Mapper. [ OK ] Listening on Process Core Dump Sock[ 2.515377] systemd[1]: Listening on Process Core Dump Socket. et. [ 2.530533] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Listening on Journal Audit Socket 2.547179] systemd[1]: Listening on Journal Audit Socket. 0m. [ OK ] Listening on Journal Socket (/dev/l[ 2.561925] systemd[1]: Listening on Journal Socket (/dev/log). og). [ OK ] Listening on Journal Socket. [ 2.576850] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Network Service Netlin[ 2.588973] systemd[1]: Listening on Network Service Netlink Socket. k Socket. [ OK ] Listening on udev Control Socket 2.606184] systemd[1]: Listening on udev Control Socket. m. [ 2.620668] systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on User Database Manager [ 2.635835] systemd[1]: Listening on User Database Manager Socket. Socket. [ 2.666562] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... Mounting POSIX Message Queue File System..[ 2.683115] systemd[1]: Mounting POSIX Message Queue File System... . Mounting Kernel Debug File System... [ 2.703234] systemd[1]: Mounting Kernel Debug File System... [ 2.715631] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing). [ 2.722449] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... Starting Create List of Static Device Nodes 2.760098] systemd[1]: Starting Create List of Static Device Nodes... m... Starting Load Kernel Module configfs... [ 2.780975] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module drm... [ 2.799333] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module fuse... [ 2.817084] systemd[1]: Starting Load Kernel Module fuse... [ 2.859567] fuse: init (API version 7.37) Starting Start psplash boot splash screen.[ 2.860575] systemd[1]: Starting Start psplash boot splash screen... .. Starting RPC Bind... [ 2.907136] systemd[1]: Starting RPC Bind... [ 2.916295] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/). Starting Journal Service... [ 2.917842] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 2.917864] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) [ 2.924466] systemd[1]: Starting Journal Service... Starting Load Kernel Modules...[ 2.964278] systemd[1]: Starting Load Kernel Modules... Starting Generate network …ts from Kernel co[ 2.991786] systemd[1]: Starting Generate network units from Kernel command line... mmand line... [ 2.997873] cryptodev: loading out-of-tree module taints kernel. [ 3.000171] cryptodev: driver 1.12 loaded. [ 3.020398] systemd[1]: Starting Remount Root and Kernel File Systems... Starting Remount Root and Kernel File Systems... [ 3.050590] systemd[1]: Starting Coldplug All udev Devices... Starting Coldplug All udev Devices... [ 3.067095] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none. [ OK ] Started RPC Bind. [ 3.077092] systemd[1]: Started RPC Bind. [ 3.087602] systemd[1]: Started Journal Service. [ OK ] Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory /tmp. [ OK ] Finished Create List of Static Device Nodes. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ 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... [ 3.356093] systemd-journald[184]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Apply Kernel Variables. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. Mounting /media/ram... Mounting /var/volatile... Starting Rule-based Manage…for Device Events and Files... [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Finished Coldplug All udev Devices. [ OK ] Started Rule-based Manager for Device Events and Files. [ OK ] Finished Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 3.899821] random: crng init done [ OK ] Finished Load/Save Random Seed. [ 4.111885] mc: Linux media interface: v0.10 [ 4.137396] videodev: Linux video capture interface: v2.00 [ OK ] Found device /dev/ttyS2. [ 4.253079] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 [ 4.253320] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ 4.253401] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 4.253843] remoteproc remoteproc0: 5000000.m4fss is available [ 4.255400] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.255443] remoteproc remoteproc0: powering up 5000000.m4fss [ 4.255492] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.255501] remoteproc remoteproc0: request_firmware failed: -2 [ 4.408467] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ 4.408540] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) [ 4.432098] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1) [ 4.432320] platform 78000000.r5f: configured R5F for IPC-only mode [ 4.432565] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000 [ 4.436515] remoteproc remoteproc1: 78000000.r5f is available [ 4.436650] remoteproc remoteproc1: attaching to 78000000.r5f [ 4.459164] platform 78000000.r5f: R5F core initialized in IPC-only mode [ 4.459241] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@9da00000 [ 4.460842] virtio_rpmsg_bus virtio0: rpmsg host is online [ 4.460935] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7) [ 4.460946] remoteproc remoteproc1: remote processor 78000000.r5f is now attached [ 4.461960] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd [ 4.462381] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe [ 4.636609] systemd-journald[184]: Oldest entry in /run/log/journal/3b7d2a9827e24dfeb2a7e2436939717d/system.journal is older than the configured file retention duration (1month), suggesting rotation. [ OK ] Started Network Time Synchronizatio[ 4.636660] systemd-journald[184]: /run/log/journal/3b7d2a9827e24dfeb2a7e2436939717d/system.journal: Journal header limits reached or header out-of-date, rotating. n. [ OK ] Reached target System Initialization. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target System Time Set. [ OK ] Reached target Timer Units. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API... [ OK ] Listening on dropbear.socket. Starting D-Bus System Message Bus... [ OK ] Listening on Docker Socket for the API. [ OK ] Reached target Socket Units. [ 5.314585] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller [ 5.317058] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 1 [ 5.317442] xhci-hcd xhci-hcd.2.auto: USB3 root hub has no ports [ 5.317459] xhci-hcd xhci-hcd.2.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010 [ 5.324158] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 [ 5.344425] xhci-hcd xhci-hcd.2.auto: irq 402, io mem 0x31000000 [ 5.357856] hub 1-0:1.0: USB hub found [ 5.357986] hub 1-0:1.0: 1 port detected [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target Basic System. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... Starting Expand the rootfs…ll size of the boot device.... Starting User Login Management... [ 5.595925] usb 1-1: new high-speed USB device number 2 using xhci-hcd [ OK ] Started TEE Supplicant. Starting Telnet Server... [ OK ] Finished IPv6 Packet Filtering Framework. [ OK ] Finished IPv4 Packet Filtering Framework. [ OK ] Finished Telnet Server. [ OK ] Reached target Preparation for Network. Starting Network Configuration... [ 5.750938] usb-storage 1-1:1.0: USB Mass Storage device detected [ 5.772776] scsi host0: usb-storage 1-1:1.0 [ OK ] Finished Expand the rootfs…full size of the boot device.. [ OK ] Started User Login Management. [ 6.140462] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 6.156186] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 6.157269] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ OK ] Listening on Load/Save RF …itch S[ 6.172079] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 tatus /dev/rfkill Watch. [ 6.172125] cfg80211: failed to load regulatory.db [ OK ] Started Network Configuration. Starting Network Name Resolution... [ 6.322083] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL) [ 6.322126] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 6.323866] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx [ 6.328595] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 6.358053] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL) [ 6.358103] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting containerd container runtime... [ OK ] Started Netperf Benchmark Server. [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Permit User Sessions... [ 6.821195] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 6 [ OK ] Finished Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. [ 6.919915] sd 0:0:0:0: [sda] 30240768 512-byte logical blocks: (15.5 GB/14.4 GiB) Starting Synchronize System and HW clocks.[ 6.920821] sd 0:0:0:0: [sda] Write Protect is off .. [ OK ] Started Avahi mDNS/DNS-SD Stack[ 6.921215] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA . [ 6.929482] sda: sda1 [ 6.930540] sd 0:0:0:0: [sda] Attached SCSI removable disk [ OK ] Created slice Slice /system/systemd-fsck. [ OK ] Found device /dev/mmcblk1p1. Starting File System Check on /dev/mmcblk1p1... [FAILED] Failed to start Synchronize System and HW clocks. See 'systemctl status sync-clocks.service' for details. [ OK ] Finished File System Check on /dev/mmcblk1p1. Mounting /run/media/boot-mmcblk1p1... [ OK ] Found device DataTraveler_2.0 1. Starting File System Check on /dev/sda1... [ OK ] Mounted /run/media/boot-mmcblk1p1. [ OK ] Finished File System Check on /dev/sda1. Mounting /run/media/sda1... [ OK ] Mounted /run/media/sda1. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPL-3.0 packages: bash cifs-utils dosfstools grub-common grub-editenv grub-efi less libdw1 libelf1 libgcc1 libreadline8 libstdc++6 parted If you do not wish to distribute GPL-3.0 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Started containerd container runtime. [ OK ] Finished Print notice about GPLv3 packages. [ OK ] Reached target Multi-User System. Starting Record Runlevel Change in UTMP... [ OK ] Finished Record Runlevel Change in UTMP. [ 10.466428] am65-cpsw-nuss 8000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 10.466514] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm - Arago 2023.10 am62xx-evm -
Andreas,
I found a spidev_test example c code routine and it seems like it's working. I have to wait until tomorrow to short MOSI and MISO together for this loopback routine (because our tech group is gone for the day) but this loopback test may be OK for our microprocessor to microcontroller interface for now. I'll see if I can configure the mcu_spi and test that with other than the loopback connection.
I'd still like an explanation for the sspi routine not working. Our customer might want that.
Thanks for your help so far!
Hi Jim,
I found a spidev_test example c code routine and it seems like it's working. I have to wait until tomorrow to short MOSI and MISO together for this loopback routine (because our tech group is gone for the day
Yes that is always a great place to start!
I'd still like an explanation for the sspi routine not working. Our customer might want that.
Without an external loopback in place that looks like as expected. If you have any trouble make sure to connect a logic analyzer, you should be able to see the clock and MOSI signals coming out.
As for U-Boot's `sspi` utility, I've never used that, it also doesn't seem to be enabled/tested as part of out SDKs. It might be latching onto the wrong SPI bus? You could just use JTAG (or instrument the code with prints) and step through and see what's failing. Most likely a device tree or usage issue I think.
Regards, Andreas
Andreas,
OK! After we tacked MOSI/MISO together on SPI0, I got the expected results:
I do still need the sspi u-boot utility (if possible). I can start another thread, if needed.
Thanks!
Andreas,
If I make the same modifications in the DT files for mcu_spi0, why do I not see another instance of spidev for the mcu_spi0?
// JM 10/3
&main_spi0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&main_spi0_pins_default>;
pinctrl-names = "default";
spidev@0 {
/*
* Using spidev compatible is warned loudly,
* thus use another equivalent compatible id
* from spidev.
*/
compatible = "rohm,dh2228fv";
spi-max-frequency = <24000000>;
reg = <0>;
};
};
// end of 10/3
// JM 10/3
&mcu_spi0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&mcu_spi0_pins_default>;
pinctrl-names = "default";
spidev@1 {
/*
* Using spidev compatible is warned loudly,
* thus use another equivalent compatible id
* from spidev.
*/
compatible = "rohm,dh2228fv";
spi-max-frequency = <24000000>;
reg = <0>;
};
};
// end of 10/3
Andreas,
I do get errors in the log...
U-Boot SPL 2023.04-dirty (Oct 10 2024 - 13:57:21 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 13408 bytes Trying to boot from MMC2 Authentication passed Authentication passed Authentication passed 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 U-Boot SPL 2023.04-dirty (Oct 10 2024 - 13:57:35 -0400) SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.8--v09.02.08 (Kool Koala)') SPL initial stack usage: 1856 bytes Trying to boot from MMC2 Authentication passed Authentication passed U-Boot 2023.04-dirty (Oct 10 2024 - 13:57:35 -0400) SoC: AM62X SR1.0 HS-FS Model: Texas Instruments AM625 SK EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 DRAM: no bloblist found!2 GiB Core: 67 devices, 27 uclasses, devicetree: separate MMC: mmc@fa10000: 0, mmc@fa00000: 1 Loading Environment from nowhere... OK In: serial Out: serial Err: serial EEPROM not available at 80, trying to read at 81 Reading on-board EEPROM at 0x51 failed -121 Net: eth0: ethernet@8000000port@1 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device SD/MMC found on device 1 Failed to load 'boot.scr' 574 bytes read in 14 ms (40 KiB/s) Loaded env from uEnv.txt Importing environment from mmc1 ... ## Error: "main_cpsw0_qsgmii_phyinit" not defined 15442432 bytes read in 625 ms (23.6 MiB/s) 57274 bytes read in 19 ms (2.9 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 000000008feee000, end 000000008fffffff ... OK Working FDT set to 8feee000 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.1.83-rt28-ti-rt-g96b0ebd82722 (oe-user@oe-host) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT_RT Mon May 13 23:06:24 UTC 2024 [ 0.000000] Machine model: Texas Instruments AM625 SK [ 0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '') [ 0.000000] printk: bootconsole [ns16550a0] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] Reserved memory: created CMA memory pool at 0x00000000f8000000, size 128 MiB [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool [ 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] 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 s44928 r8192 d28800 u81920 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: GIC system register CPU interface [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516096 [ 0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 mtdparts=spi-nand0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),98048k@32m(ospi.rootfs),256k@130816k(ospi.phypattern);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=1a2fb328-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: 1856136K/2097152K available (9792K kernel code, 1192K rwdata, 2244K rodata, 1728K init, 422K bss, 109944K reserved, 131072K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] rcu: RCU_SOFTIRQ processing moved to rcuc kthreads. [ 0.000000] No expedited grace period (rcu_normal_after_boot). [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 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] Root IRQ handler: 0xffff800008412740 [ 0.000000] GICv3: GICv3 features: 16 PPIs [ 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 @80800000 (flat, esz 8, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GICv3: using LPI property table @0x0000000080030000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080040000 [ 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.000268] Console: colour dummy device 80x25 [ 0.489887] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=200000) [ 0.489902] pid_max: default: 32768 minimum: 301 [ 0.490019] LSM: Security Framework initializing [ 0.490206] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.490246] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.492536] rcu: Hierarchical SRCU implementation. [ 0.492549] rcu: Max phase no-delay instances is 400. [ 0.492611] printk: bootconsole [ns16550a0] printing thread started [ 0.545161] Platform MSI: msi-controller@1820000 domain created [ 0.545494] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created [ 0.545587] EFI services will not be available. [ 0.545949] smp: Bringing up secondary CPUs ... [ 0.546945] Detected VIPT I-cache on CPU1 [ 0.547109] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000 [ 0.547128] GICv3: CPU1: using allocated LPI pending table @0x0000000080050000 [ 0.547207] CPU1: Booted secondary processor 0x0000000001 [0x410fd034] [ 0.597352] Detected VIPT I-cache on CPU2 [ 0.597474] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000 [ 0.597491] GICv3: CPU2: using allocated LPI pending table @0x0000000080060000 [ 0.597540] CPU2: Booted secondary processor 0x0000000002 [0x410fd034] [ 0.623591] Detected VIPT I-cache on CPU3 [ 0.623702] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000 [ 0.623716] GICv3: CPU3: using allocated LPI pending table @0x0000000080070000 [ 0.623759] CPU3: Booted secondary processor 0x0000000003 [0x410fd034] [ 0.623825] smp: Brought up 1 node, 4 CPUs [ 0.623834] SMP: Total of 4 processors activated. [ 0.658032] CPU features: detected: 32-bit EL0 Support [ 0.658036] CPU features: detected: CRC32 instructions [ 0.658091] CPU: All CPU(s) started at EL2 [ 0.658093] alternatives: applying system-wide alternatives [ 0.660225] devtmpfs: initialized [ 0.672250] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.672287] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.680331] pinctrl core: initialized pinctrl subsystem [ 0.681110] DMI not present or invalid. [ 0.681786] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.695595] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 0.695901] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.696071] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.696255] audit: initializing netlink subsys (disabled) [ 0.696493] audit: type=2000 audit(0.694:1): state=initialized audit_enabled=0 res=1 [ 0.697218] thermal_sys: Registered thermal governor 'step_wise' [ 0.697457] ASID allocator initialised with 65536 entries [ 0.719530] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.719545] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.719551] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.719554] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.719558] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.719561] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.719566] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.719569] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.722616] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected [ 0.725716] iommu: Default domain type: Translated [ 0.725731] iommu: DMA domain TLB invalidation policy: strict mode [ 0.726196] SCSI subsystem initialized [ 0.726610] usbcore: registered new interface driver usbfs [ 0.726655] usbcore: registered new interface driver hub [ 0.726689] usbcore: registered new device driver usb [ 0.727252] pps_core: LinuxPPS API ver. 1 registered [ 0.727257] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.727277] PTP clock support registered [ 0.727421] EDAC MC: Ver: 3.0.0 [ 0.728392] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100 [ 0.728941] FPGA manager framework [ 0.729107] Advanced Linux Sound Architecture Driver Initialized. [ 0.730369] clocksource: Switched to clocksource arch_sys_counter [ 0.730734] VFS: Disk quotas dquot_6.6.0 [ 0.730797] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.738062] NET: Registered PF_INET protocol family [ 0.738735] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.740756] tcp_listen_portaddr_hash hash table entries: 1024 (order: 3, 40960 bytes, linear) [ 0.740838] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.740854] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 0.741130] TCP bind hash table entries: 16384 (order: 8, 1310720 bytes, linear) [ 0.743691] TCP: Hash tables configured (established 16384 bind 16384) [ H▒▒0.744064] UDP hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 0.9725[08] printk: console [ttyS2] printing thread started 0.744343] UDP-Lite hash table entries: 1024 (order: 4, 98304 bytes, linear) [ 0.972534] printk: console [ttyS2] enabled [ 0.972539] printk: bootconsole [ns16550a0] disabled [ 0.985375] printk: bootconsole [ns16550a0] printing thread stopped [ 0.987484] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode [ 1.021373] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000 [ 1.026911] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83869 [ 1.026928] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver unknown [ 1.026993] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006 [ 1.027373] am65-cpsw-nuss 8000000.ethernet: Use random MAC address [ 1.027392] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5 [ 1.027397] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512 [ 1.028148] pps pps0: new PPS source ptp0 [ 1.028504] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:1 [ 1.046066] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19 [ 1.050974] mmc0: CQHCI version 5.10 [ 1.057679] pinctrl-single f4000.pinctrl: Invalid number of rows: 0 [ 1.057697] pinctrl-single f4000.pinctrl: no pins entries for wlan-en-pins-default [ 1.060288] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present! [ 1.060851] mmc1: CQHCI version 5.10 [ 1.063924] debugfs: Directory 'pd:186' with parent 'pm_genpd' already present! [ 1.068170] ti-sci-clk 44043000.system-controller:clock-controller: is_prepared failed for dev=81, clk=20, ret=-19 [ 1.073634] ALSA device list: [ 1.073642] No soundcards found. [ 1.092697] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit [ 1.098254] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit [ 1.098626] Waiting for root device PARTUUID=1a2fb328-02... [ 1.132074] mmc1: new high speed SDHC card at address 0001 [ 1.133373] mmcblk1: mmc1:0001 SD32G 28.9 GiB [ 1.136685] mmcblk1: p1 p2 [ 1.143864] mmc0: Command Queue Engine enabled [ 1.143893] mmc0: new HS200 MMC card at address 0001 [ 1.145659] mmcblk0: mmc0:0001 IS032G 29.1 GiB [ 1.148602] mmcblk0boot0: mmc0:0001 IS032G 4.00 MiB [ 1.150374] mmcblk0boot1: mmc0:0001 IS032G 4.00 MiB [ 1.152369] mmcblk0rpmb: mmc0:0001 IS032G 4.00 MiB, chardev (240:0) [ 1.189885] EXT4-fs (mmcblk1p2): recovery complete [ 1.193077] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none. [ 1.193201] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 1.194202] devtmpfs: mounted [ 1.196294] Freeing unused kernel memory: 1728K [ 1.196450] Run /sbin/init as init process [ 1.572232] systemd[1]: System time before build time, advancing clock. [ 1.653837] NET: Registered PF_INET6 protocol family [ 1.655712] Segment Routing with IPv6 [ 1.655753] In-situ OAM (IOAM) with IPv6 [ 1.685738] systemd[1]: systemd 250.5+ running in system mode (+PAM -AUDIT -SELINUX -APPARMOR +IMA -SMACK +SECCOMP -GCRYPT -GNUTLS -OPENSSL +ACL +BLKID -CURL -ELFUTILS -FIDO2 -IDN2 -IDN -IPTC +KMOD -LIBCRYPTSETUP +LIBFDISK -PCRE2 -PWQUALITY -P11KIT -QRENCODE -BZIP2 -LZ4 -XZ -ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=hybrid) [ 1.686547] systemd[1]: Detected architecture arm64. Welcome to Arago 2023.10! [ 1.729930] systemd[1]: Hostname set to <am62xx-evm>. [ 1.872721] systemd-sysv-generator[169]: SysV service '/etc/init.d/thermal-zone-init' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust. [ 2.187084] 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.260823] systemd[1]: Queued start job for default target Multi-User System. [ 2.297984] systemd[1]: Created slice Slice /system/getty. [ OK ] Created slice Slice /system/getty. [ OK ] Created slice Slice /system/modprob[ 2.314867] systemd[1]: Created slice Slice /system/modprobe. e. [ OK ] Created slice Slice /system/serial-[ 2.331687] systemd[1]: Created slice Slice /system/serial-getty. getty. [ OK ] Created slice User and Session Slic[ 2.347882] systemd[1]: Created slice User and Session Slice. e. [ 2.363077] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ OK ] Started Dispatch Password …ts to Console Directory Watch. [ OK ] Started Forward Password R…uests [ 2.382867] systemd[1]: Started Forward Password Requests to Wall Directory Watch. to Wall Directory Watch. [ OK ] Reached target Path Units. [ 2.402027] systemd[1]: Reached target Path Units. [ OK ] Reached target Remote File Systems systemd[1]: Reached target Remote File Systems. [0m. [ OK ] Reached target Slice Units. [ 2.426574] systemd[1]: Reached target Slice Units. [ 2.437217] systemd[1]: Reached target Swaps. [ OK ] Reached target Swaps. [ OK ] Listening on RPCbind Server Activat[ 2.450004] systemd[1]: Listening on RPCbind Server Activation Socket. ion Socket. [ OK ] Reached target RPC Port Mapper.[ 2.465693] systemd[1]: Reached target RPC Port Mapper. [ OK ] Listening on Process Core Dump Sock[ 2.486996] systemd[1]: Listening on Process Core Dump Socket. et. [ 2.502169] systemd[1]: Listening on initctl Compatibility Named Pipe. [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Listening on Journal Audit Socket 2.518825] systemd[1]: Listening on Journal Audit Socket. 0m. [ OK ] Listening on Journal Socket (/dev/l[ 2.533530] systemd[1]: Listening on Journal Socket (/dev/log). og). [ OK ] Listening on Journal Socket. [ 2.548614] systemd[1]: Listening on Journal Socket. [ OK ] Listening on Network Service Netlin[ 2.560817] systemd[1]: Listening on Network Service Netlink Socket. k Socket. [ OK ] Listening on udev Control Socket 2.577833] systemd[1]: Listening on udev Control Socket. m. [ OK ] Listening on udev Kernel Socket[ 2.592454] systemd[1]: Listening on udev Kernel Socket. . [ OK ] Listening on User Database Manager [ 2.607492] systemd[1]: Listening on User Database Manager Socket. Socket. [ 2.646116] systemd[1]: Mounting Huge Pages File System... Mounting Huge Pages File System... Mounting POSIX Message Queue File System..[ 2.662764] systemd[1]: Mounting POSIX Message Queue File System... . Mounting Kernel Debug File System... [ 2.682930] systemd[1]: Mounting Kernel Debug File System... [ 2.695347] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing). [ 2.702232] systemd[1]: Mounting Temporary Directory /tmp... Mounting Temporary Directory /tmp... [ 2.727141] systemd[1]: Starting Create List of Static Device Nodes... Starting Create List of Static Device Nodes... Starting Load Kernel Module configfs... [ 2.763726] systemd[1]: Starting Load Kernel Module configfs... Starting Load Kernel Module drm... [ 2.781814] systemd[1]: Starting Load Kernel Module drm... Starting Load Kernel Module fuse... [ 2.799629] systemd[1]: Starting Load Kernel Module fuse... [ 2.842083] fuse: init (API version 7.37) Starting Start psplash boot splash screen.[ 2.848873] systemd[1]: Starting Start psplash boot splash screen... .. Starting RPC Bind...[ 2.877685] systemd[1]: Starting RPC Bind... [ 2.888965] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/). [ 2.890803] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 2.890835] systemd[1]: (This warning is only shown for the first unit using IP firewalling.) Starting Journal Service... [ 2.929853] systemd[1]: Starting Journal Service... Starting Load Kernel Modules... [ 2.950408] systemd[1]: Starting Load Kernel Modules... Starting Generate network …ts from Kernel co[ 2.968750] systemd[1]: Starting Generate network units from Kernel command line... mmand line... [ 2.987527] cryptodev: loading out-of-tree module taints kernel. [ 2.989742] cryptodev: driver 1.12 loaded. Starting Remount Root and Kernel File Systems systemd[1]: Starting Remount Root and Kernel File Systems... [0m... Starting Coldplug All udev Devices... [ 3.039274] systemd[1]: Starting Coldplug All udev Devices... [ 3.046095] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none. [ OK ] Started RPC Bind.[ 3.067910] systemd[1]: Started RPC Bind. [ OK ] Started Journal Service. [ 3.081832] systemd[1]: Started Journal Service. [ OK ] Mounted Huge Pages File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Kernel Debug File System. [ OK ] Mounted Temporary Directory /tmp. [ OK ] Finished Create List of Static Device Nodes. [ OK ] Finished Load Kernel Module configfs. [ OK ] Finished Load Kernel Module drm. [ OK ] Finished Load Kernel Module fuse. [FAILED] Failed to start Start psplash boot splash screen. See 'systemctl status psplash-start.service' for details. [DEPEND] Dependency failed for Star…progress communication helper. [ 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... [ 3.361156] systemd-journald[182]: Received client request to flush runtime journal. Starting Create Static Device Nodes in /dev... [ OK ] Mounted FUSE Control File System. [ OK ] Mounted Kernel Configuration File System. [ OK ] Finished Flush Journal to Persistent Storage. [ OK ] Finished Apply Kernel Variables. [ OK ] Finished Create Static Device Nodes in /dev. [ OK ] Reached target Preparation for Local File Systems. Mounting /media/ram... Mounting /var/volatile... Starting Rule-based Manage…for Device Events and Files... [ OK ] Mounted /media/ram. [ OK ] Mounted /var/volatile. Starting Load/Save Random Seed... [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Finished Coldplug All udev Devices. [ OK ] Finished Create Volatile Files and Directories. [ OK ] Started Rule-based Manager for Device Events and Files. Starting Network Time Synchronization... Starting Record System Boot/Shutdown in UTMP... [ OK ] Finished Record System Boot/Shutdown in UTMP. [ 3.914499] random: crng init done [ OK ] Finished Load/Save Random Seed. [ 4.105330] omap2_mcspi 4b00000.spi: cs1 >= max 1 [ 4.105417] spi_master spi1: spi_device register error /bus@f0000/bus@4000000/spi@4b00000/spidev@1 [ 4.105456] spi_master spi1: Failed to create SPI device for /bus@f0000/bus@4000000/spi@4b00000/spidev@1 [ OK ] Started Network Time Synchronizatio[ 4.145585] systemd-journald[182]: Oldest entry in /run/log/journal/3b7d2a9827e24dfeb2a7e2436939717d/system.journal is older than the configured file retention duration (1month), suggesting rotation. n. [ OK ] Found device /dev/ttyS2. [ 4.145624] systemd-journald[182]: /run/log/journal/3b7d2a9827e24dfeb2a7e2436939717d/system.journal: Journal header limits reached or header out-of-date, rotating. [ OK ] Reached target System Initializatio[ 4.173005] mc: Linux media interface: v0.10 n. [ 4.221312] videodev: Linux video capture interface: v2.00 [ OK ] Started Daily Cleanup of Temporary [ 4.262777] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000 Directories. [ 4.263543] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode [ OK ] Reached target System Time Set.[ 4.263657] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device [ 4.264021] remoteproc remoteproc0: 5000000.m4fss is available [ OK ] Reached target Timer Units. [ 4.265898] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 [ 4.265951] remoteproc remoteproc0: powering up 5000000.m4fss [ OK ] Listening on Avahi mDNS/DNS-SD Stac[ 4.266005] remoteproc remoteproc0: Direct firmware load for am62-mcu-m4f0_0-fw failed with error -2 k Activation Socket. [ 4.266014] remoteproc remoteproc0: request_firmware failed: -2 [ OK ] Listening on D-Bus System Message Bus Socket. Starting Docker Socket for the API... [ 4.489190] platform 78000000.r5f: ti-sci processor request failed: -19 [ 4.489232] platform 78000000.r5f: ti_sci_proc_request failed, ret = -19 [ 4.489317] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_core_of_init failed, ret = -19 [ 4.489325] k3_r5_rproc bus@f0000:bus@b00000:r5fss@78000000: k3_r5_cluster_of_init failed, ret = -19 [ 4.526742] rtc-ti-k3 2b1f0000.rtc: registered as rtc0 [ OK ] Listening on dropbear.socket.[ 4.526801] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:02 UTC (2) Starting D-Bus System Message Bus... [ OK ] Listening on Docker Socket for the API. [ OK ] Reached target Socket Units. [ OK ] Started D-Bus System Message Bus. [ OK ] Reached target Basic System. Starting Print notice about GPLv3 packages... Starting IPv6 Packet Filtering Framework... Starting IPv4 Packet Filtering Framework... Starting Expand the rootfs…ll size of the boot device.... Starting User Login Management... [ OK ] Started TEE Supplicant. Starting Telnet Server... [ 5.500974] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22 [ 5.521930] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller [ 5.522056] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1 [ OK ] Finished IPv6 Packet Filtering Fram[ 5.523037] xhci-hcd xhci-hcd.1.auto: USB3 root hub has no ports ework. [ 5.523068] xhci-hcd xhci-hcd.1.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000008000010010 [ OK ] Finished IPv4 Packet Filtering Fram[ 5.525971] xhci-hcd xhci-hcd.1.auto: irq 407, io mem 0x31000000 ework. [ OK ] Finished Telnet Server. [ 5.550986] hub 1-0:1.0: USB hub found [ 5.551118] hub 1-0:1.0: 1 port detected [ OK ] Reached target Preparation for Network. Starting Network Configuration... [ OK ] Finished Expand the rootfs…full size of the boot device.. [ OK ] Started User Login Management. [ 6.223653] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch. [ 6.254404] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 6.255263] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600' [ 6.271443] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 6.271490] cfg80211: failed to load regulatory.db [ OK ] Started Network Configuration. Starting Network Name Resolution... [ 6.421942] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [Generic PHY] (irq=POLL) [ 6.421993] am65-cpsw-nuss 8000000.ethernet eth1: configuring for phy/rgmii-rxid link mode [ 6.423783] am65-cpsw-nuss 8000000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx [ 6.430322] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 6.457653] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83869] (irq=POLL) [ 6.457698] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode [ OK ] Started Network Name Resolution. [ OK ] Reached target Network. [ OK ] Reached target Host and Network Name Lookups. Starting Avahi mDNS/DNS-SD Stack... Starting containerd container runtime... [ OK ] Started Netperf Benchmark Server. [ OK ] Started NFS status monitor for NFSv2/3 locking.. Starting Permit User Sessions... [ OK ] Finished Permit User Sessions. [ OK ] Created slice Slice /system/systemd-fsck. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS2. [ OK ] Reached target Login Prompts. Starting Synchronize System and HW clocks... [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Found device /dev/mmcblk1p1. Starting File System Check on /dev/mmcblk1p1... [FAILED] Failed to start Synchronize System and HW clocks. See 'systemctl status sync-clocks.service' for details. [ OK ] Finished File System Check on /dev/mmcblk1p1. Mounting /run/media/boot-mmcblk1p1... [ OK ] Mounted /run/media/boot-mmcblk1p1. *************************************************************** *************************************************************** NOTICE: This file system contains the following GPL-3.0 packages: bash cifs-utils dosfstools grub-common grub-editenv grub-efi less libdw1 libelf1 libgcc1 libreadline8 libstdc++6 parted If you do not wish to distribute GPL-3.0 components please remove the above packages prior to distribution. This can be done using the opkg remove command. i.e.: opkg remove <package> Where <package> is the name printed in the list above NOTE: If the package is a dependency of another package you will be notified of the dependent packages. You should use the --force-removal-of-dependent-packages option to also remove the dependent packages as well *************************************************************** *************************************************************** [ OK ] Finished Print notice about GPLv3 packages. [ OK ] Started containerd container runtime. [ OK ] Reached target Multi-User System. Starting Record Runlevel Change in UTMP... [ OK ] Finished Record Runlevel Change in UTMP. _____ _____ _ _ | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_ | | _| .'| . | . | | __| _| . | | | -_| _| _| |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_| |___| |___| Arago Project am62xx-evm - Arago 2023.10 am62xx-evm -
// JM 10/3
&mcu_spi0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&mcu_spi0_pins_default>;
pinctrl-names = "default";
spidev@1 {
/*
* Using spidev compatible is warned loudly,
* thus use another equivalent compatible id
* from spidev.
*/
compatible = "rohm,dh2228fv";
spi-max-frequency = <24000000>;
reg = <0>;
Try declaring this as `spidev@0`. Usually the address part of the device tree node name needs to match whatever address the node is using or referring to (in your case "reg = <0>" for CS0).
Regards, Andreas