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.

PROCESSOR-SDK-AM68A: Configuring spidev for the 40 pin header

Part Number: PROCESSOR-SDK-AM68A
Other Parts Discussed in Thread: AM68, SYSCONFIG

Tool/software:

I am try add an SPI device through the 40 pin RPI header for the AM68 dev board (SDK version is 09.02.00.04). I have referred https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1313556/processor-sdk-am68a-how-to-configure-spidev-for-am68a and was able to enable the spidev node but I want to know if it is possible to use the 40 pin header due to easier pin outs.

  • Hi Faheem,

    It should be possible to enable MCU_SPI1 since MCU_SPI1 is connected to expansion header. If you already have SPI set up, you would need to pinmux MCU_SPI1 using sysconfig, and use the new pinmuxed pins in the spi nodes.

    Regards,

    Takuma

  • I got the spi node enabled as spidev1. I also want two GPIO pins for an Interrupt signal and a reset signal. But there aren't any gpio nodes in /sys/class

  • Hi Faheem,

    1. Could you check /run/media/BOOT-mmcblk1p1/uEnv.txt to make sure the overlay is added as documented?

    2. Could you share boot logs?

    3. Could you share logs from running the sample scripts?

    Regards,

    Takuma

  • I have added the overlay as documented 

    These are the boot logs

    reboot
             Stopping Session c2 of User root...
    [  OK  ] Removed slice Slice /system/modprobe.
    [  OK  ] Removed slice Slice /system/systemd-coredump.
    [  OK  ] Stopped target Graphical Interface.
    [  OK  ] Stopped target Multi-User System.
    [  OK  ] Stopped target Login Prompts.
    [  OK  ] Stopped target RPC Port Mapper.
    [  OK  ] Stopped target Timer Units.
    [  OK  ] Stopped Daily rotation of log files.
    [  OK  ] Stopped Daily Cleanup of Temporary Directories.
    [  OK  ] Stopped target System Time Set.
    [  OK  ] Closed Process Core Dump Socket.
             Stopping Job spooling tools...
             Stopping Avahi mDNS/DNS-SD Stack...
             Stopping containerd container runtime...
             Stopping Periodic Command Scheduler...
    [  OK  ] Stopped DEMO.
             Stopping Getty on tty1...
             Stopping irqbalance daemon...
             Stopping Reboot and dump vmcore via kexec...
             Stopping Netperf Benchmark Server...
             Stopping NFS status monitor for NFSv2/3 locking....
             Stopping Telephony service...
    [  OK  ] Stopped Expand the rootfs …full size of the boot device..
             Stopping Serial Getty on ttyS2...
             Stopping Simple Network Ma…ent Protocol (SNMP) Daemon....
             Stopping strongSwan IPsec …Ev2 daemon using ipsec.conf...
             Stopping Load/Save Random Seed...
             Stopping TEE Supplicant...
             Stopping Telnet Server...
    [  OK  ] Stopped Job spooling tools.
    [  OK  ] Stopped Periodic Command Scheduler.
    [  OK  ] Stopped irqbalance daemon.
    [  OK  ] Stopped Telephony service.
    [  OK  ] Stopped strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
    [  OK  ] Stopped TEE Supplicant.
    [  OK  ] Stopped Avahi mDNS/DNS-SD Stack.
    [  OK  ] Stopped Netperf Benchmark Server.
    [  OK  ] Stopped NFS status monitor for NFSv2/3 locking..
    [  OK  ] Stopped Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Stopped containerd container runtime.
    [  OK  ] Stopped Getty on tty1.
    [  OK  ] Stopped Serial Getty on ttyS2.
    [  OK  ] Stopped Reboot and dump vmcore via kexec.
    [  OK  ] Stopped Load/Save Random Seed.
    [  OK  ] Stopped Telnet Server.
    [  OK  ] Stopped Session c2 of User root.
    [  OK  ] Removed slice Slice /system/getty.
    [  OK  ] Removed slice Slice /system/serial-getty.
    [  OK  ] Stopped target Host and Network Name Lookups.
             Stopping User Login Management...
             Stopping User Manager for UID 0...
    [  OK  ] Stopped User Manager for UID 0.
             Stopping User Runtime Directory /run/user/0...
    [  OK  ] Unmounted /run/user/0.
    [  OK  ] Stopped User Login Management.
    [  OK  ] Stopped User Runtime Directory /run/user/0.
    [  OK  ] Removed slice User Slice of UID 0.
             Stopping Permit User Sessions...
    [  OK  ] Stopped Permit User Sessions.
    [  OK  ] Stopped target Network.
    [  OK  ] Stopped target Remote File Systems.
             Stopping Network Name Resolution...
    [  OK  ] Stopped Network Name Resolution.
             Stopping Network Configuration...
    [  OK  ] Stopped Network Configuration.
    [  OK  ] Stopped target Preparation for Network.
    [  OK  ] Stopped IPv6 Packet Filtering Framework.
    [  OK  ] Stopped IPv4 Packet Filtering Framework.
    [  OK  ] Stopped target Basic System.
    [  OK  ] Stopped target Path Units.
    [  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
    [  OK  ] Stopped Forward Password R…uests to Wall Directory Watch.
    [  OK  ] Stopped target Slice Units.
    [  OK  ] Removed slice User and Session Slice.
    [  OK  ] Stopped target Socket Units.
    [  OK  ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Closed Docker Socket for the API.
    [  OK  ] Closed dropbear.socket.
    [  OK  ] Closed PC/SC Smart Card Daemon Activation Socket.
    [  OK  ] Closed Network Service Netlink Socket.
    [  OK  ] Closed Weston socket.
             Stopping D-Bus System Message Bus...
    [  OK  ] Stopped D-Bus System Message Bus.
    [  OK  ] Closed D-Bus System Message Bus Socket.
    [  OK  ] Stopped target System Initialization.
    [  OK  ] Stopped Apply Kernel Variables.
    [  OK  ] Stopped Load Kernel Modules.
             Stopping Network Time Synchronization...
             Stopping Record System Boot/Shutdown in UTMP...
    [  OK  ] Stopped Network Time Synchronization.
    [  OK  ] Stopped Record System Boot/Shutdown in UTMP.
    [  OK  ] Stopped Create Volatile Files and Directories.
    [  OK  ] Stopped target Local File Systems.
             Unmounting /media/ram...
             Unmounting /run/media/BOOT-mmcblk1p1...
             Unmounting Temporary Directory /tmp...
             Unmounting /var/volatile...
    [  OK  ] Unmounted /media/ram.
    [  OK  ] Unmounted /run/media/BOOT-mmcblk1p1.
    [  OK  ] Unmounted Temporary Directory /tmp.
    [  OK  ] Unmounted /var/volatile.
    [  OK  ] Stopped target Swaps.
    [  OK  ] Reached target Unmount All Filesystems.
    [  OK  ] Stopped File System Check on /dev/mmcblk1p1.
    [  OK  ] Removed slice Slice /system/systemd-fsck.
    [  OK  ] Stopped target Preparation for Local File Systems.
    [  OK  ] Stopped Remount Root and Kernel File Systems.
    [  OK  ] Stopped Create Static Device Nodes in /dev.
    [  OK  ] Reached target System Shutdown.
    [  OK  ] Reached target Late Shutdown Services.
    [  OK  ] Finished System Reboot.
    [  OK  ] Reached target System Reboot.
    [   97.331971] kauditd_printk_skb: 6 callbacks suppressed
    [   97.331980] audit: type=1334 audit(1733890975.412:35): prog-id=10 op=UNLOAD
    [   97.344207] audit: type=1334 audit(1733890975.412:36): prog-id=9 op=UNLOAD
    [   97.351151] audit: type=1334 audit(1733890975.416:37): prog-id=8 op=UNLOAD
    [   97.358049] audit: type=1334 audit(1733890975.416:38): prog-id=7 op=UNLOAD
    [   97.364994] audit: type=1334 audit(1733890975.416:39): prog-id=6 op=UNLOAD
    [   97.371971] audit: type=1334 audit(1733890975.416:40): prog-id=5 op=UNLOAD
    [   97.378910] audit: type=1334 audit(1733890975.416:41): prog-id=4 op=UNLOAD
    [   97.385859] audit: type=1334 audit(1733890975.416:42): prog-id=3 op=UNLOAD
    [   97.399402] systemd-shutdown[1]: Syncing filesystems and block devices.
    [   97.427513] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
    [   97.439805] systemd-journald[158]: Received SIGTERM from PID 1 (systemd-shutdow).
    [   97.448874] audit: type=1335 audit(1733890975.532:43): pid=158 uid=0 auid=4294967295 tty=(none) ses=4294967295 comm="systemd-journal" exe="/lib/systemd/systemd-journald" nl-mcgrp=1 op=disconnect res=1
    [   97.449833] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
    [   97.478117] systemd-shutdown[1]: Unmounting file systems.
    [   97.485400] [1350]: Remounting '/' read-only with options 'n/a'.
    [   97.506995] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [   97.518518] systemd-shutdown[1]: All filesystems unmounted.
    [   97.524282] systemd-shutdown[1]: Deactivating swaps.
    [   97.529437] systemd-shutdown[1]: All swaps deactivated.
    [   97.534667] systemd-shutdown[1]: Detaching loop devices.
    [   97.541880] systemd-shutdown[1]: All loop devices detached.
    [   97.547475] systemd-shutdown[1]: Stopping MD devices.
    [   97.552693] systemd-shutdown[1]: All MD devices stopped.
    [   97.558034] systemd-shutdown[1]: Detaching DM devices.
    [   97.563323] systemd-shutdown[1]: All DM devices detached.
    [   97.568825] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
    [   97.589132] systemd-shutdown[1]: Syncing filesystems and block devices.
    [   97.595858] systemd-shutdown[1]: Rebooting.
    [   97.646593] reboot: Restarting system
    
    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    EEPROM not available at 0x50, trying to read at 0x51
    SPL initial stack usage: 13472 bytes
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    Authentication passed
    Loading Environment from nowhere... OK
    Authentication passed
    Authentication passed
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    I/TC: 
    I/TC: OP-TEE version: 4.1.0-51-g012cdca49 (gcc version 11.4.0 (GCC)) #1 Tue Jan 30 10:48:03 UTC 2024 aarch64
    I/TC: WARNING: This OP-TEE configuration might be insecure!
    I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting_guidelines.html
    I/TC: Primary CPU initializing
    I/TC: GIC redistributor base address not provided
    I/TC: Assuming default GIC group status and modifier
    I/TC: SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    I/TC: HUK Initialized
    I/TC: Activated SA2UL device
    I/TC: Enabled firewalls for SA2UL TRNG device
    I/TC: SA2UL TRNG initialized
    I/TC: SA2UL Drivers initialized
    I/TC: Primary CPU switching to normal world boot
    
    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Trying to boot from MMC2
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    
    SoC:   J721S2 SR1.0 HS-FS
    Model: Texas Instruments AM68 SK
    Board: AM68-SK-SOM rev E2
    DRAM:  2 GiB (effective 16 GiB)
    Core:  74 devices, 32 uclasses, devicetree: separate
    Flash: 0 Bytes
    MMC:   mmc@4fb0000: 1
    Loading Environment from nowhere... OK
    In:    serial@2880000
    Out:   serial@2880000
    Err:   serial@2880000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    Net:   eth0: ethernet@46000000port@1
    Hit any key to stop autoboot:  2  1  0 
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1334 bytes read in 2 ms (651.4 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    ## Error: "main_cpsw0_qsgmii_phyinit" not defined
    k3_r5f_rproc r5f@41000000: Core 1 is already in use. No rproc commands work
    Failed to load '/lib/firmware/j721s2-mcu-r5f0_1-fw'
    474508 bytes read in 24 ms (18.9 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 2 with data@addr=0x82000000 474508 bytes: Success!
    330964 bytes read in 19 ms (16.6 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 3 with data@addr=0x82000000 330964 bytes: Success!
    Failed to load '/lib/firmware/j721s2-main-r5f1_0-fw'
    Failed to load '/lib/firmware/j721s2-main-r5f1_1-fw'
    15212688 bytes read in 290 ms (50 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 6 with data@addr=0x82000000 15212688 bytes: Success!
    9703328 bytes read in 64 ms (144.6 MiB/s)
    Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will fail on Security Enforcing(HS-SE) devices
    Load Remote Processor 7 with data@addr=0x82000000 9703328 bytes: Success!
    19376640 bytes read in 802 ms (23 MiB/s)
    80835 bytes read in 8 ms (9.6 MiB/s)
    Working FDT set to 88000000
    10448 bytes read in 5 ms (2 MiB/s)
    9302 bytes read in 6 ms (1.5 MiB/s)
    1936 bytes read in 4 ms (472.7 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
    ERROR: reserving fdt memory region failed (addr=880000000 size=2c000000 flags=4)
       Loading Device Tree to 000000008fee9000, end 000000008fffffff ... OK
    Working FDT set to 8fee9000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd080]
    [    0.000000] Linux version 6.1.80-dirty (faheem@DESKTOP-O6EVDM7) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Sat Dec  7 13:41:43 IST 2024
    [    0.000000] Machine model: Texas Instruments AM68 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002880000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a0100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a1100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a2000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a2100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a2100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a4000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a4100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a4100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a6100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-dma-memory@a7000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a7100000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-r5f-memory@a7100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a8000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-rtos-ipc-memory-region@a8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000aa000000, size 96 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-dma-memory@aa000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71-dma-memory@b0000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b0100000, size 95 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_0-memory@b0100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6000000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-dma-memory@b6000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b6100000, size 31 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-c71_1-memory@b6100000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000b8000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-lo@b8000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x0000000880000000, size 704 MiB
    [    0.000000] OF: reserved mem: initialized node vision-apps-core-heap-memory-hi@880000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node vision_apps_shared-memories, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000980000000, size 896 MiB
    [    0.000000] OF: reserved mem: initialized node linux-cma-buffers@980000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   [mem 0x0000000100000000-0x0000000bffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009e7fffff]
    [    0.000000]   node   0: [mem 0x000000009e800000-0x00000000bbffffff]
    [    0.000000]   node   0: [mem 0x00000000bc000000-0x00000000ffffffff]
    [    0.000000]   node   0: [mem 0x0000000880000000-0x00000008abffffff]
    [    0.000000]   node   0: [mem 0x00000008ac000000-0x0000000bffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000bffffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v3a
    [    0.000000] CPU features: detected: Spectre-BHB
    [    0.000000] CPU features: detected: ARM erratum 1742098
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02880000 mtdparts=47040000.spi.0:512k(ospi.tiboot3),2m(ospi.tispl),4m(ospi.u-boot),256k(ospi.env),256k(ospi.env.backup),57088k@8m(ospi.rootfs),256k(ospi.phypattern);spi-nand0:512k(ospi_nand.tiboot3),2m(ospi_nand.tispl),4m(ospi_nand.u-boot),256k(ospi_nand.env),256k(ospi_nand.env.backup),98048k@32m(ospi_nand.rootfs),256k@130816k(ospi_nand.phypattern) systemd.hostname=am68a-sk root=PARTUUID=cdc22f84-02 rw rootfstype=ext4 rootwait
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: area num 2.
    [    0.000000] software IO TLB: mapped [mem 0x00000000fbfff000-0x00000000fffff000] (64MB)
    [    0.000000] Memory: 13727632K/16777216K available (11712K kernel code, 1258K rwdata, 3816K rodata, 1984K init, 438K bss, 2132080K reserved, 917504K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
    [    0.000000] 	Trampoline variant of Tasks RCU enabled.
    [    0.000000] 	Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 960 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001900000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @8ac800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x00000008ac030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000008ac040000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008411] Console: colour dummy device 80x25
    [    0.012985] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023656] pid_max: default: 32768 minimum: 301
    [    0.028397] LSM: Security Framework initializing
    [    0.033202] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.040985] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.050055] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.057462] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.063732] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.071119] cblist_init_generic: Setting shift to 1 and lim to 1.
    [    0.077430] rcu: Hierarchical SRCU implementation.
    [    0.082329] rcu: 	Max phase no-delay instances is 1000.
    [    0.087848] Platform MSI: msi-controller@1820000 domain created
    [    0.094047] PCI/MSI: /bus@100000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.103467] EFI services will not be available.
    [    0.108211] smp: Bringing up secondary CPUs ...
    I/TC: Secondary CPU 1 initializing
    I/TC: Secondary CPU 1 switching to normal world boot
    [    0.121285] Detected PIPT I-cache on CPU1
    [    0.121351] GICv3: CPU1: found redistributor 1 region 0:0x0000000001920000
    [    0.121365] GICv3: CPU1: using allocated LPI pending table @0x00000008ac050000
    [    0.121400] CPU1: Booted secondary processor 0x0000000001 [0x411fd080]
    [    0.121453] smp: Brought up 1 node, 2 CPUs
    [    0.150804] SMP: Total of 2 processors activated.
    [    0.155608] CPU features: detected: 32-bit EL0 Support
    [    0.160862] CPU features: detected: CRC32 instructions
    [    0.166137] CPU: All CPU(s) started at EL2
    [    0.170320] alternatives: applying system-wide alternatives
    [    0.176956] devtmpfs: initialized
    [    0.187215] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.197202] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.216585] pinctrl core: initialized pinctrl subsystem
    [    0.222309] DMI not present or invalid.
    [    0.226580] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.233433] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.241106] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.249446] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.257670] audit: initializing netlink subsys (disabled)
    [    0.263323] audit: type=2000 audit(0.172:1): state=initialized audit_enabled=0 res=1
    [    0.263553] thermal_sys: Registered thermal governor 'step_wise'
    [    0.271246] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.277473] cpuidle: using governor menu
    [    0.288225] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.295195] ASID allocator initialised with 65536 entries
    [    0.309808] KASLR disabled due to lack of seed
    [    0.317293] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.324240] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.330643] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.337576] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.343977] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.350910] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.357312] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.364245] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.371460] k3-chipinfo 43000014.chipid: Family:J721S2 rev:SR1.0 JTAGID[0x0bb7502f] Detected
    [    0.381012] iommu: Default domain type: Translated 
    [    0.386003] iommu: DMA domain TLB invalidation policy: strict mode 
    [    0.392530] SCSI subsystem initialized
    [    0.396535] usbcore: registered new interface driver usbfs
    [    0.402160] usbcore: registered new interface driver hub
    [    0.407598] usbcore: registered new device driver usb
    [    0.413011] pps_core: LinuxPPS API ver. 1 registered
    [    0.418086] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.427425] PTP clock support registered
    [    0.431510] EDAC MC: Ver: 3.0.0
    [    0.435267] FPGA manager framework
    [    0.438776] Advanced Linux Sound Architecture Driver Initialized.
    [    0.445442] clocksource: Switched to clocksource arch_sys_counter
    [    0.451797] VFS: Disk quotas dquot_6.6.0
    [    0.455836] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.465840] Carveout Heap: Exported 512 MiB at 0x0000000900000000
    [    0.472141] NET: Registered PF_INET protocol family
    [    0.477547] IP idents hash table entries: 262144 (order: 9, 2097152 bytes, linear)
    [    0.490562] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    0.499476] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.507417] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.516096] TCP bind hash table entries: 65536 (order: 9, 2097152 bytes, linear)
    [    0.524725] TCP: Hash tables configured (established 131072 bind 65536)
    [    0.531634] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.538762] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.546437] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.552552] RPC: Registered named UNIX socket transport module.
    [    0.558619] RPC: Registered udp transport module.
    [    0.563423] RPC: Registered tcp transport module.
    [    0.568226] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.574821] NET: Registered PF_XDP protocol family
    [    0.579724] PCI: CLS 0 bytes, default 64
    [    0.584149] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
    [    0.593504] Initialise system trusted keyrings
    [    0.598195] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    0.606777] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.613048] NFS: Registering the id_resolver key type
    [    0.618233] Key type id_resolver registered
    [    0.622505] Key type id_legacy registered
    [    0.626621] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.633471] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.660613] Key type asymmetric registered
    [    0.664799] Asymmetric key parser 'x509' registered
    [    0.669813] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.677471] io scheduler mq-deadline registered
    [    0.682102] io scheduler kyber registered
    [    0.688250] pinctrl-single 4301c000.pinctrl: 13 pins, size 52
    [    0.694263] pinctrl-single 4301c038.pinctrl: 11 pins, size 44
    [    0.700243] pinctrl-single 4301c068.pinctrl: 72 pins, size 288
    [    0.706391] pinctrl-single 4301c190.pinctrl: 1 pins, size 4
    [    0.712275] pinctrl-single 11c000.pinctrl: 72 pins, size 288
    [    0.721964] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.732982] loop: module loaded
    [    0.736990] megasas: 07.719.03.00-rc1
    [    0.741319] SPI driver spidev has no spi_device_id for linux,spidev
    [    0.748858] tun: Universal TUN/TAP device driver, 1.6
    [    0.754471] VFIO - User Level meta-driver version: 0.3
    [    0.760158] usbcore: registered new interface driver usb-storage
    [    0.766638] i2c_dev: i2c /dev entries driver
    [    0.771677] sdhci: Secure Digital Host Controller Interface driver
    [    0.778000] sdhci: Copyright(c) Pierre Ossman
    [    0.782595] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.788699] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.794937] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.801684] usbcore: registered new interface driver usbhid
    [    0.807380] usbhid: USB HID core driver
    [    0.811845] optee: probing for conduit method.
    I/TC: Reserved shared memory is enabled
    I/TC: Dynamic shared memory is enabled
    I/TC: Normal World virtualization support is disabled
    I/TC: Asynchronous notifications are disabled
    [    0.816409] optee: revision 4.1 (012cdca4)
    [    0.832848] optee: dynamic shared memory is enabled
    [    0.842242] optee: initialized driver
    [    0.847194] Initializing XFRM netlink socket
    [    0.851588] NET: Registered PF_PACKET protocol family
    [    0.856793] Key type dns_resolver registered
    [    0.861378] registered taskstats version 1
    [    0.865589] Loading compiled-in X.509 certificates
    [    0.876281] ti-sci 44083000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    [    0.911797] omap_i2c 42120000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.918099] pca953x 1-0020: supply vcc not found, using dummy regulator
    [    0.924946] pca953x 1-0020: using no AI
    [    0.950464] omap_i2c 40b10000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.956901] pca953x 2-0021: supply vcc not found, using dummy regulator
    [    0.963761] pca953x 2-0021: using no AI
    [    0.990013] omap_i2c 2000000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.996074] omap_i2c 2040000.i2c: bus 3 rev0.12 at 400 kHz
    [    1.001873] ti-sci-intr 42200000.interrupt-controller: Interrupt Router 125 domain created
    [    1.010418] ti-sci-intr bus@100000:interrupt-controller@a00000: Interrupt Router 148 domain created
    [    1.019753] ti-sci-intr 310e0000.interrupt-controller: Interrupt Router 227 domain created
    [    1.028402] ti-sci-inta 33d00000.msi-controller: Interrupt Aggregator domain 265 created
    [    1.038792] ti-udma 311a0000.dma-controller: Number of rings: 48
    [    1.045548] ti-udma 311a0000.dma-controller: Channels: 24 (bchan: 0, tchan: 8, rchan: 16)
    [    1.054771] k3-ringacc 2b800000.ringacc: Ring Accelerator probed rings:286, gp-rings[96,20] sci-dev-id:272
    [    1.064659] k3-ringacc 2b800000.ringacc: dma-ring-reset-quirk: disabled
    [    1.071423] k3-ringacc 2b800000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.080336] k3-ringacc 3c000000.ringacc: Ring Accelerator probed rings:1024, gp-rings[878,128] sci-dev-id:259
    [    1.090497] k3-ringacc 3c000000.ringacc: dma-ring-reset-quirk: disabled
    [    1.097256] k3-ringacc 3c000000.ringacc: RA Proxy rev. 66349100, num_proxies:64
    [    1.105218] printk: console [ttyS2] disabled
    [    1.109619] 2880000.serial: ttyS2 at MMIO 0x2880000 (irq = 216, base_baud = 3000000) is a 8250
    [    1.118470] printk: console [ttyS2] enabled
    [    1.118470] printk: console [ttyS2] enabled
    [    1.126914] printk: bootconsole [ns16550a0] disabled
    [    1.126914] printk: bootconsole [ns16550a0] disabled
    [    1.139016] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.185453] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.194341] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.202620] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.215477] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.222687] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.228986] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.239384] am65-cpts 310d0000.cpts: CPTS ver 0x4e8a010c, freq:250000000, add_val:3 pps:0
    [    1.254076] omap-mailbox 31f80000.mailbox: omap mailbox rev 0x66fca100
    [    1.260900] omap-mailbox 31f81000.mailbox: omap mailbox rev 0x66fca100
    [    1.267689] omap-mailbox 31f82000.mailbox: omap mailbox rev 0x66fca100
    [    1.274481] omap-mailbox 31f84000.mailbox: omap mailbox rev 0x66fca100
    [    1.282534] ti-udma 285c0000.dma-controller: Channels: 26 (tchan: 13, rchan: 13, gp-rflow: 8)
    [    1.292603] ti-udma 31150000.dma-controller: Channels: 60 (tchan: 30, rchan: 30, gp-rflow: 16)
    [    1.304464] davinci_mdio 46000f00.mdio: Configuring MDIO in manual mode
    [    1.349452] davinci_mdio 46000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.358430] davinci_mdio 46000f00.mdio: phy[0]: device 46000f00.mdio:00, driver TI DP83867
    [    1.366714] am65-cpsw-nuss 46000000.ethernet: initializing am65 cpsw nuss version 0x6BA02102, cpsw version 0x6BA82102 Ports: 2 quirks:00000000
    [    1.379609] am65-cpsw-nuss 46000000.ethernet: initialized cpsw ale version 1.4
    [    1.386819] am65-cpsw-nuss 46000000.ethernet: ALE Table size 64
    [    1.393185] am65-cpsw-nuss 46000000.ethernet: CPTS ver 0x4e8a010b, freq:500000000, add_val:1 pps:0
    [    1.403267] am65-cpsw-nuss 46000000.ethernet: set new flow-id-base 48
    [    1.411367] debugfs: Directory 'pd:39' with parent 'pm_genpd' already present!
    [    1.411714] mmc1: CQHCI version 5.10
    [    1.418635] debugfs: Directory 'pd:38' with parent 'pm_genpd' already present!
    [    1.436220] ALSA device list:
    [    1.439206]   No soundcards found.
    [    1.460053] mmc1: SDHCI controller on 4fb0000.mmc [4fb0000.mmc] using ADMA 64-bit
    [    1.467651] Waiting for root device PARTUUID=cdc22f84-02...
    [    1.522092] mmc1: new ultra high speed DDR50 SDHC card at address aaaa
    [    1.529095] mmcblk1: mmc1:aaaa SS32G 29.7 GiB 
    [    1.538041]  mmcblk1: p1 p2
    [    1.570518] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.579086] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    1.588988] devtmpfs: mounted
    [    1.592701] Freeing unused kernel memory: 1984K
    [    1.597342] Run /sbin/init as init process
    [    1.832179] systemd[1]: System time before build time, advancing clock.
    [    1.908707] 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.940193] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.001627] systemd[1]: Hostname set to <am68a-sk>.
    [    2.089673] systemd-sysv-generator[143]: 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.117476] systemd-sysv-generator[143]: SysV service '/etc/init.d/edgeai-launcher.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
    [    2.268641] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.277543] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.304279] systemd[1]: /lib/systemd/system/bt-enable.service:9: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
    [    2.348802] 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.401387] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.438944] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    2.463271] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    2.486922] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    2.510618] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    2.533698] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    2.557685] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    2.581666] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    2.601515] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    2.621509] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    2.641515] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    2.696808] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    2.721675] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    2.746852] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    2.769739] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    2.793893] systemd[1]: Listening on Journal Audit Socket.
    [  OK  ] Listening on Journal Audit Socket.
    [    2.813798] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    2.833804] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    2.853869] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    2.877850] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    2.897710] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    2.917768] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    2.957836] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    2.980537] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.004476] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.025795] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.061875] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.085037] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    3.108382] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    3.132402] systemd[1]: Starting Load Kernel Module drm...
             Starting Load Kernel Module drm...
    [    3.156357] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.214038] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    3.241853] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.261694] systemd[1]: File System Check on Root Device was skipped because of a failed condition check (ConditionPathIsReadWrite=!/).
    [    3.278447] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    3.323485] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.352811] systemd[1]: Starting Generate network units from Kernel command line...
             Starting Generate network …ts from Kernel command line...
    [    3.397999] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.414713] EXT4-fs (mmcblk1p2): re-mounted. Quota mode: none.
    [    3.425150] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    3.446716] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    3.466037] 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 Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [    3.770381] systemd-journald[156]: Received client request to flush runtime journal.
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Apply Kernel Variables.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
    [    3.948364] audit: type=1334 audit(1651167747.112:2): prog-id=5 op=LOAD
    [    3.955094] audit: type=1334 audit(1651167747.112:3): prog-id=6 op=LOAD
             Starting Rule-based Manage…for Device Events and Files...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [    4.339302] systemd-journald[156]: Oldest entry in /run/log/journal/8c7c7e9f49074707ab73595cf0f695e0/system.journal is older than the configured file retention duration (1month), suggesting rotation.
    [  OK  ] Started Network Time Synchronizatio[    4.358802] systemd-journald[156]: /run/log/journal/8c7c7e9f49074707ab73595cf0f695e0/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  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Docker Socket for the API...
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
             Starting Weston socket...
             Starting D-Bus System Message Bus...
             Starting Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Listening on Weston socket.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [    4.853462] random: crng init done
    [  OK  ] Finished Load/Save Random Seed.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
             Starting DEMO...
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting Telephony service...
             Starting Expand the rootfs…ll size of the boot device....
    [  OK  ] Started strongSwan IPsec I…IKEv2 daemon using ipsec.conf.
    [    5.157941] audit: type=1334 audit(1733890975.804:4): prog-id=7 op=LOAD
             Starting User Login Management...
    [    5.171928] audit: type=1334 audit(1733890975.808:5): prog-id=8 op=LOAD
    [  OK  ] Started TEE Supplicant.
             Starting Telnet Server...
    [  OK  ] Started DEMO.
    [  OK  ] Finished IPv6 Packet Filtering Framework.
    [  OK  ] Finished IPv4 Packet Filtering Framework.
    [  OK  ] Finished Telnet Server.
    [  OK  ] Started Telephony service.
    [  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.
    [  OK  ] Started Network Configuration.
    [    5.823162] am65-cpsw-nuss 46000000.ethernet eth0: PHY [46000f00.mdio:00] driver [TI DP83867] (irq=POLL)
    [    5.833547] am65-cpsw-nuss 46000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
             Starting Network Name Resolution...
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Network.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Avahi mDNS/DNS-SD Stack...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting containerd container runtime...
    [  OK  ] Started Netperf Benchmark Server.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [  OK  ] Finished Enable and configure wl18xx bluetooth stack.
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting Weston, a Wayland…ositor, as a system service...
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [    6.623722] audit: type=1334 audit(1733890977.268:6): prog-id=9 op=LOAD
    [    6.631341] audit: type=1334 audit(1733890977.276:7): prog-id=10 op=LOAD
             Starting User Database Manager...
    [  OK  ] Started User Database Manager.
    [  OK  ] Created slice User Slice of UID 1000.
             Starting User Runtime Directory /run/user/1000...
    [  OK  ] Finished User Runtime Directory /run/user/1000.
             Starting User Manager for UID 1000...
    [    6.968810] audit: type=1006 audit(1733890977.612:8): pid=449 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=1 res=1
    [    6.981653] audit: type=1300 audit(1733890977.612:8): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffddc989b8 a2=4 a3=ffff8c129020 items=0 ppid=1 pid=449 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="(systemd)" exe="/lib/systemd/systemd" key=(null)
    [    7.008243] audit: type=1327 audit(1733890977.612:8): proctitle="(systemd)"
    [  OK  ] Created slice Slice /system/systemd-fsck.
    [  OK  ] Found device /dev/mmcblk1p1.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started User Manager for UID 1000.
    [  OK  ] Started Session c1 of User weston.
    [    7.337082] audit: type=1006 audit(1733890977.980:9): pid=431 uid=0 old-auid=4294967295 auid=1000 tty=tty7 old-ses=4294967295 ses=2 res=1
    [    7.350259] audit: type=1300 audit(1733890977.980:9): arch=c00000b7 syscall=64 success=yes exit=4 a0=8 a1=ffffddc989b8 a2=4 a3=ffff8c129020 items=0 ppid=1 pid=431 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty7 ses=2 comm="(weston)" exe="/lib/systemd/systemd" key=(null)
    [    7.376584] audit: type=1327 audit(1733890977.980:9): proctitle="(weston)"
    [  OK  ] Finished File System Check on /dev/mmcblk1p1.
             Mounting /run/media/BOOT-mmcblk1p1...
    [FAILED] Failed to start Weston, a …mpositor, as a system service.
    See 'systemctl status weston.service' for details.
             Starting EdgeAI OOB demos...
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Mounted /run/media/BOOT-mmcblk1p1.
    [    8.311892] audit: type=1701 audit(1733890978.956:10): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=591 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
    [  OK  ] Created slice Slice /system/systemd[    8.345525] audit: type=1334 audit(1733890978.988:11): prog-id=11 op=LOAD
    -coredump.
    [  OK  ] Started Process Core Dump (PID 595/UID 0).
    [  OK  ] Started EdgeAI OOB demos.
    [  OK  ] Started containerd container runtime.
    [    9.922483] am65-cpsw-nuss 46000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
    [  OK  ] Started Process Core Dump (PID 697/UID 0).
    [  OK  ] Started Process Core Dump (PID 1044/UID 0).
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPL-3.0 packages:
    	adwaita-icon-theme-symbolic
    	autoconf
    	bash-dev
    	bash
    	bc
    	binutils
    	cifs-utils
    	coreutils-stdbuf
    	coreutils
    	cpio
    	cpp-symlinks
    	cpp
    	dosfstools
    	elfutils
    	g++-symlinks
    	g++
    	gawk
    	gcc-symlinks
    	gcc
    	gdb
    	gdbserver
    	gettext
    	glmark2
    	gnu-config
    	grub-common
    	grub-editenv
    	grub-efi
    	gzip
    	hidapi
    	less
    	libasm1
    	libatomic-dev
    	libatomic1
    	libbfd
    	libdebuginfod1
    	libdw1
    	libeigen-dev
    	libelf1
    	libgcc-s-dev
    	libgcc1
    	libgdbm-compat4
    	libgdbm-dev
    	libgdbm6
    	libgettextlib
    	libgettextsrc
    	libgmp10
    	libidn2-0
    	libmpc3
    	libmpfr6
    	libopcodes
    	libqt5charts-examples
    	libqt5charts-plugins
    	libqt5charts-qmlplugins
    	libqt5charts5
    	libqt5sensors-plugins
    	libqt5sensors-qmlplugins
    	libqt5sensors5
    	libqt5serialport-examples
    	libqt5serialport-plugins
    	libqt5serialport-qmlplugins
    	libqt5serialport5
    	libqt5svg-examples
    	libqt5svg-plugins
    	libqt5svg-qmlplugins
    	libqt5svg5
    	libqt5virtualkeyboard-plugins
    	libqt5virtualkeyboard-qmlplugins
    	libqt5virtualkeyboard5
    	libqt5webchannel-plugins
    	libqt5webchannel-qmlplugins
    	libqt5webchannel5
    	libreadline-dev
    	libreadline8
    	libstdc++-dev
    	libstdc++6
    	libunistring2
    	m4-dev
    	m4
    	make
    	nettle
    	parted
    	piglit
    	qt3d-plugins
    	qt3d-qmlplugins
    	qt3d
    	qtbase-examples
    	qtbase-plugins
    	qtbase-qmlplugins
    	qtbase
    	qtconnectivity-plugins
    	qtconnectivity-qmlplugins
    	qtconnectivity
    	qtdeclarative-plugins
    	qtdeclarative-qmlplugins
    	qtdeclarative-tools
    	qtdeclarative
    	qtgraphicaleffects-qmlplugins
    	qtlocation-examples
    	qtlocation-plugins
    	qtlocation-qmlplugins
    	qtlocation
    	qtmultimedia-examples
    	qtmultimedia-plugins
    	qtmultimedia-qmlplugins
    	qtmultimedia
    	qtquick3d-plugins
    	qtquick3d-qmlplugins
    	qtquick3d
    	qtquics-qmlplugins.control
    	qtquics2-plugins.control
    	qtquics2-qmlplugins.control
    	qtquics2.control
    	qtscript-examples
    	qtscript-plugins
    	qtscript-qmlplugins
    	qtscript
    	qtwayland-examples
    	qtwayland-plugins
    	qtwayland-qmlplugins
    	qtwayland
    	tar
    	which
    
    If you do not wish to distribute GPL-3.0 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above
    
    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************

    This is the spi nodes

    This was the error when running the script.
    root@am68a-sk:~/ti-gpio-py/samples# python3 simple_input.py 
    Traceback (most recent call last):
      File "/home/root/ti-gpio-py/samples/simple_input.py", line 23, in <module>
        import RPi.GPIO as GPIO
      File "/usr/lib/python3.10/site-packages/RPi/GPIO/__init__.py", line 1, in <module>
        from TI.GPIO import *
      File "/usr/lib/python3.10/site-packages/TI/GPIO/__init__.py", line 1, in <module>
        from .gpio import *
      File "/usr/lib/python3.10/site-packages/TI/GPIO/gpio.py", line 37, in <module>
        raise RuntimeError(
    RuntimeError: The current user does not have permissions set to access the library functionalites. Please configure permissions or use the root user to run this

  • Hi Faheem,

    I tried installing 9.2 SDK for SK-AM68A and tried setting up the GPIO example and have not had issues. Attaching logs that can be used as reference for the setting up the GPIO library:

    root@am68a-sk:/opt/edgeai-gst-apps#
    root@am68a-sk:/opt/edgeai-gst-apps# ./scripts/install_ti_gpio_libs.sh
    ti-gpio-py
    Installing TI.GPIO python libraries.
    Processing /opt/ti-gpio-py
      Preparing metadata (setup.py) ... done
    Building wheels for collected packages: TI.GPIO
      Building wheel for TI.GPIO (setup.py) ... done
      Created wheel for TI.GPIO: filename=TI.GPIO-1.3.0-py3-none-any.whl size=21344 sha256=1bb48afb64d85a576d49c2342c0ae7627c21f32a32766f39b5aec9a22f0e6cda
      Stored in directory: /home/root/.cache/pip/wheels/53/02/57/12ddf9a5dfa25dd4fcc95e85ac9e20910e2e4472dfd5ad1762
    Successfully built TI.GPIO
    Installing collected packages: TI.GPIO
      Attempting uninstall: TI.GPIO
        Found existing installation: TI.GPIO 1.3.0
        Uninstalling TI.GPIO-1.3.0:
          Successfully uninstalled TI.GPIO-1.3.0
    Successfully installed TI.GPIO-1.3.0
    WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
    Cloning gpiozero project.
    Cloning into 'gpiozero'...
    remote: Enumerating objects: 8955, done.
    remote: Counting objects: 100% (1171/1171), done.
    remote: Compressing objects: 100% (486/486), done.
    remote: Total 8955 (delta 793), reused 965 (delta 674), pack-reused 7784 (from 1)
    Receiving objects: 100% (8955/8955), 28.26 MiB | 4.05 MiB/s, done.
    Resolving deltas: 100% (6184/6184), done.
    Switched to a new branch 'ti_gpio_patch'
    ../ti-gpio-py/patches/gpiozero.patch:55: new blank line at EOF.
    +
    warning: 1 line adds whitespace errors.
    Processing /opt/gpiozero
      Preparing metadata (setup.py) ... done
    Collecting colorzero
      Downloading colorzero-2.0-py2.py3-none-any.whl (26 kB)
    Requirement already satisfied: setuptools in /usr/lib/python3.10/site-packages (from colorzero->gpiozero==1.6.1) (59.5.0)
    Building wheels for collected packages: gpiozero
      Building wheel for gpiozero (setup.py) ... done
      Created wheel for gpiozero: filename=gpiozero-1.6.1-py3-none-any.whl size=145013 sha256=26a912dfa21b0f75047a6f459dbfbf32b1908d68ab3192aec63af35e38095f09
      Stored in directory: /tmp/pip-ephem-wheel-cache-hfnelpzv/wheels/31/5b/60/61b11f04cd82de4be6f5dbb8c07362149abe10f3bba5f8a03c
    Successfully built gpiozero
    Installing collected packages: colorzero, gpiozero
    Successfully installed colorzero-2.0 gpiozero-1.6.1
    WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
    ti-gpio-cpp
    Building and installing TI GPIO CPP libraries.
    -- The C compiler identification is GNU 11.4.0
    -- The CXX compiler identification is GNU 11.4.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    Build type: Release
    -- CMAKE_BUILD_TYPE = Release PROJECT_NAME = ti_gpio
    INCLUDE_INSTALL_DIR = /usr/include
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /opt/ti-gpio-cpp/build
    [  9%] Building CXX object CMakeFiles/ti_gpio.dir/src/gpio.cpp.o
    [  9%] Building CXX object CMakeFiles/ti_gpio.dir/src/gpio_event.cpp.o
    /opt/ti-gpio-cpp/src/gpio_event.cpp: In function 'int GPIO::_write_sysfs_edge(int, GPIO::Edge, bool)':
    /opt/ti-gpio-cpp/src/gpio_event.cpp:120:23: warning: 'ssize_t write(int, const void*, size_t)' reading 7 bytes from a region of size 5 [-Wstringop-overread]
      120 |         result = write(edge_fd, "both", 7);
          |                  ~~~~~^~~~~~~~~~~~~~~~~~~~
    In file included from /opt/ti-gpio-cpp/src/gpio_event.cpp:32:
    /usr/include/unistd.h:378:16: note: in a call to function 'ssize_t write(int, const void*, size_t)' declared with attribute 'access (read_only, 2, 3)'
      378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
          |                ^~~~~
    /opt/ti-gpio-cpp/src/gpio_event.cpp:127:23: warning: 'ssize_t write(int, const void*, size_t)' reading 7 bytes from a region of size 5 [-Wstringop-overread]
      127 |         result = write(edge_fd, "none", 7);
          |                  ~~~~~^~~~~~~~~~~~~~~~~~~~
    In file included from /opt/ti-gpio-cpp/src/gpio_event.cpp:32:
    /usr/include/unistd.h:378:16: note: in a call to function 'ssize_t write(int, const void*, size_t)' declared with attribute 'access (read_only, 2, 3)'
      378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur
          |                ^~~~~
    [ 13%] Building CXX object CMakeFiles/ti_gpio.dir/src/gpio_pin_data.cpp.o
    [ 18%] Building CXX object CMakeFiles/ti_gpio.dir/src/gpio_common.cpp.o
    [ 22%] Building CXX object CMakeFiles/ti_gpio.dir/src/gpio_sw_pwm.cpp.o
    [ 27%] Building CXX object CMakeFiles/ti_gpio.dir/src/gpio_hw_pwm.cpp.o
    [ 31%] Building CXX object CMakeFiles/ti_gpio.dir/src/python_functions.cpp.o
    [ 36%] Linking CXX static library ../lib/Release/libti_gpio.a
    [ 36%] Built target ti_gpio
    [ 45%] Building CXX object CMakeFiles/ti_gpio_test.dir/samples/ti_gpio_test.cpp.o
    [ 45%] Building CXX object CMakeFiles/button_event.dir/samples/button_event.cpp.o
    [ 50%] Linking CXX executable ../bin/Release/button_event
    [ 50%] Built target button_event
    [ 54%] Building CXX object CMakeFiles/button_interrupt.dir/samples/button_interrupt.cpp.o
    [ 59%] Linking CXX executable ../bin/Release/button_interrupt
    [ 63%] Linking CXX executable ../bin/Release/ti_gpio_test
    [ 63%] Built target button_interrupt
    [ 68%] Building CXX object CMakeFiles/simple_out.dir/samples/simple_out.cpp.o
    [ 68%] Built target ti_gpio_test
    [ 72%] Building CXX object CMakeFiles/simple_pwm.dir/samples/simple_pwm.cpp.o
    [ 77%] Linking CXX executable ../bin/Release/simple_out
    [ 77%] Built target simple_out
    [ 81%] Building CXX object CMakeFiles/test_all_pins_input.dir/samples/test_all_pins_input.cpp.o
    [ 86%] Linking CXX executable ../bin/Release/simple_pwm
    [ 86%] Built target simple_pwm
    [ 90%] Building CXX object CMakeFiles/test_all_pins_pwm.dir/samples/test_all_pins_pwm.cpp.o
    [ 95%] Linking CXX executable ../bin/Release/test_all_pins_pwm
    [ 95%] Built target test_all_pins_pwm
    [100%] Linking CXX executable ../bin/Release/test_all_pins_input
    [100%] Built target test_all_pins_input
    Consolidate compiler generated dependencies of target ti_gpio
    [ 36%] Built target ti_gpio
    Consolidate compiler generated dependencies of target ti_gpio_test
    [ 45%] Built target ti_gpio_test
    Consolidate compiler generated dependencies of target button_event
    [ 54%] Built target button_event
    Consolidate compiler generated dependencies of target button_interrupt
    [ 63%] Built target button_interrupt
    Consolidate compiler generated dependencies of target simple_out
    [ 72%] Built target simple_out
    Consolidate compiler generated dependencies of target simple_pwm
    [ 81%] Built target simple_pwm
    Consolidate compiler generated dependencies of target test_all_pins_input
    [ 90%] Built target test_all_pins_input
    Consolidate compiler generated dependencies of target test_all_pins_pwm
    [100%] Built target test_all_pins_pwm
    Install the project...
    -- Install configuration: "Release"
    -- Installing: /usr/lib/libti_gpio.a
    -- Installing: /usr/include/GPIO.h
    -- Installing: /usr/cmake/ti_gpio/ti_gpioTargets.cmake
    -- Installing: /usr/cmake/ti_gpio/ti_gpioTargets-release.cmake
    -- Installing: /usr/cmake/ti_gpio/ti_gpioConfig.cmake
    -- Installing: /usr/cmake/ti_gpio/ti_gpioConfigVersion.cmake
    root@am68a-sk:/opt/edgeai-gst-apps# cd /opt/ti
    ti-gpio-cpp/ ti-gpio-py/  tidl_test/
    root@am68a-sk:/opt/edgeai-gst-apps# cd /opt/ti
    ti-gpio-cpp/ ti-gpio-py/  tidl_test/
    root@am68a-sk:/opt/edgeai-gst-apps# cd /opt/ti-gpio-py/
    root@am68a-sk:/opt/ti-gpio-py# ls
    LICENSE.txt  MANIFEST.in  README.md  build  lib  manifest.html  patches  samples  setup.py
    root@am68a-sk:/opt/ti-gpio-py# cd samples/
    root@am68a-sk:/opt/ti-gpio-py/samples# python3 simple_input.py
    Starting demo now! Press CTRL+C to exit
    Value read from pin 18 : HIGH
    ^CTraceback (most recent call last):
      File "/opt/ti-gpio-py/samples/simple_input.py", line 53, in <module>
        main()
      File "/opt/ti-gpio-py/samples/simple_input.py", line 47, in main
        time.sleep(1)
    KeyboardInterrupt
    
    root@am68a-sk:/opt/ti-gpio-py/samples#
    

    I noticed the ti-gpio-py is in the home directory instead of under the /opt/ directory in your log. There is a "install_ti_gpio_libs.sh" script under /opt/edgeai-gst-apps/scripts, but was this script used, or were the libraries installed manually?

    Regards,

    Takuma

  • Hi Takuma,

    I was able to enable the RPI header by following the above logs.

  • Hi Takuma,
    I want to check whether this spi node corresponds to MCU SPI1 and is accessible from RPI header. Could you confirm this?

    spidev0.0 -> ../../devices/platform/bus@100000/bus@100000:bus@28380000/40310000.spi/spi_master/spi0/spi0.0/spidev/spidev0.0

  • Hi Faheem,

    Yes, 40310000 should correspond to MCU_SPI1

    Regards,

    Takuma