This thread has been locked.

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

SK-AM62: Test USB using devmem2, but get "Bus error" message

Part Number: SK-AM62


Hi Ti Support Team,

We are going to test USB on AM62-SK EVM.

We use the way as below:

USB1:

  1. devmem2 0x31100420 w 0xA0
  2. devmem2 0x31100020 w 0x4
  3. devmem2 0x31100424 w 0x40000000


Step #1, #2 work well, but #3 returns “Bus error” message.

We also give a try for USB0, but get the same result.

Why do I get the "Bus error" after #3 manipulation?

Please refer to the attached log file, USB_TEST_20230705.log

root@Triton:~# devmem2 0x31100420 w 0xA0
/dev/mem opened.
Memory mapped at address 0xffff92fc6000.
Value at address 0x31100420 (0xffff92fc6420): 0xE03
Written 0xA0; readback 0x80
root@Triton:~# [   36.242925] usb 1-1: USB disconnect, device number 2
[   36.842025] usb 1-1: new high-speed USB device number 3 using xhci-hcd
[   36.999634] usb 1-1: New USB device found, idVendor=8564, idProduct=1000, bcdDevice=11.00
[   37.007964] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   37.015266] usb 1-1: Product: Mass Storage Device
[   37.020139] usb 1-1: Manufacturer: JetFlash
[   37.024477] usb 1-1: SerialNumber: 11S4CRAA4X56WT9N
[   37.043246] usb-storage 1-1:1.0: USB Mass Storage device detected
[   37.050108] scsi host0: usb-storage 1-1:1.0
[   38.409652] scsi 0:0:0:0: Direct-Access     JetFlash Transcend 16GB   1100 PQ: 0 ANSI: 6
[   38.424773] sd 0:0:0:0: [sda] 30851072 512-byte logical blocks: (15.8 GB/14.7 GiB)
[   38.433777] sd 0:0:0:0: [sda] Write Protect is off
[   38.439485] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   38.478046]  sda: sda1
[   38.483918] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   38.822073] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

root@Triton:~# devmem2 0x31100020 w 0x4
/dev/mem opened.
Memory mapped at address 0xffff93525000.
Value at address 0x31100020 (0xffff93525020): 0x5
Written 0x4; readback 0x4
root@Triton:~# devmem2 0x31100424 w 0x40000000
/dev/mem opened.
Memory mapped at address 0xffff86519000.
Bus error
root@Triton:~# 
root@Triton:~# 
root@Triton:~# 
root@Triton:~# devmem2 0x31000420 w 0xA0
/dev/mem opened.
Memory mapped at address 0xffff8cf0b000.
Value at address 0x31000420 (0xffff8cf0b420): 0x280
Written 0xA0; readback 0x80
root@Triton:~# devmem2 0x31000020 w 0x4
/dev/mem opened.
Memory mapped at address 0xffffae61e000.
Value at address 0x31000020 (0xffffae61e020): 0x0
Written 0x4; readback 0x4
root@Triton:~# devmem2 0x31000424 w 0x40000000
/dev/mem opened.
Memory mapped at address 0xffffbd3c6000.
Bus error
root@Triton:~# 

  • Hi Kylix,

    > root@Triton:~# [   36.242925] usb 1-1: USB disconnect, device number 2

    You should run these 3 devmem2 commands without any USB device attached to the SK-AM62 USB port.

  • Hi Bin,

    Thanks for your assistance.

    The below is the screenshot of running all manipulations without any USB device attached to the SK-AM62 USB port.

    It still shows "Bus error" after executing #3 manipulation.

    The below is the screenshot of dmesg command shown only for usb:

    Is there any preparation before manipulating all devmem2 commands?

    Thanks.

    Kylix

  • Hi Kylix,

    I have the following message in kernel boot log:

    [    6.259573] usb usb2: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd 

    but yours has "*ecs-triton*". Do you use TI Processor SDK for SK-AM62 in your test?

  • Hi Bin,

    "ecs-triton" within Linux-5.10.168-g2c23e6c538 string is the additional word only for our currently project.
    Will it affect the USB testing using devmem2?

    Thanks.

    Kylix

  • Hi Kylix,

    The string itself won't affect any kernel function. I just wanted to check if you use the same kernel source as that in the SDK, and the next question would be if you built the kernel with the same defconfig as provided in the SDK. Basically trying to understand if there is anything changed in your kernel which causes this BUS error problem, as I don't see it on my SK-AM62 with prebuilt in the SDK.

    Please try the SDK prebuilt on your board to see if you can see the same issue too.

  • Hi Bin,

    I use tisdk-default-image-am62xx-evm.wic prebuilt from the SDK on my SK-AM62 EVM,
    and execute 3 commands of testing USB.
    Get the result as below:

    At #3 still shows "Bus error"

    The below is the log of executing 3 commands after flashing .wic into microSD and then 1st booting.

    U-Boot 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:33 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Reading on-board EEPROM at 0x51 failed -1
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    EEPROM not available at 0x50, trying to read at 0x51
    Reading on-board EEPROM at 0x51 failed -1
    Net:   eth0: ethernet@8000000port@1
    Hit any key to stop autoboot:  0 
    => printemv mmcdev bootpart
    Unknown command 'printemv' - try 'help'
    => printenv mmcdev bootpart
    mmcdev=1
    bootpart=1:2
    => boot
    switch to partitions #0, OK
    mmc1 is current device
    SD/MMC found on device 1
    Failed to load 'boot.scr'
    1490 bytes read in 6 ms (242.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    Failed to load '.psdk_setup'
    ## Resetting to default environment
    Saving Environment to MMC... Writing to MMC(0)... OK
    1 bytes written in 796 ms (0 Bytes/s)
    resetting ...
    
    U-Boot SPL 2021.01-g2ee8efd654 (Feb 24 2023 - 05:52:36 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    SPL initial stack usage: 13424 bytes
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Loading Environment from MMC... *** Warning - No MMC card found, using default environment
    
    Starting ATF on ARM64 core...
    
    NOTICE:  BL31: v2.8(release):v2.8-226-g2fcd408bb3-dirty
    NOTICE:  BL31: Built : 05:06:58, Feb 24 2023
    
    U-Boot SPL 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:33 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    Trying to boot from MMC2
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    Warning: Detected image signing certificate on GP device. Skipping certificate to prevent boot failure. This will fail if the image was also encrypted
    
    
    U-Boot 2021.01-g2ee8efd654 (Feb 24 2023 - 05:29:33 +0000)
    
    SoC:   AM62X SR1.0 GP
    Model: Texas Instruments AM625 SK
    EEPROM not available at 0x50, trying to read at 0x51
    Reading on-board EEPROM at 0x51 failed -1
    DRAM:  2 GiB
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1, mmc@fa20000: 2
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    EEPROM not available at 0x50, trying to read at 0x51
    Reading on-board EEPROM at 0x51 failed -1
    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'
    1490 bytes read in 6 ms (242.2 KiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc1 ...
    Running uenvcmd ...
    1 bytes read in 4 ms (0 Bytes/s)
    Already setup.
    19147264 bytes read in 1258 ms (14.5 MiB/s)
    55666 bytes read in 11 ms (4.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 000000008feef000, end 000000008fffffff ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 5.10.168-g2c23e6c538 (oe-user@oe-host) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025, GNU ld (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 2.33.1.20191209) #1 SMP PREEMPT Fri Feb 24 05:59:04 UTC 2023
    [    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 DMA memory pool at 0x000000009c800000, size 3 MiB
    [    0.000000] OF: reserved mem: initialized node ipc-memories@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cb00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-dma-memory@9cb00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009cc00000, size 14 MiB
    [    0.000000] OF: reserved mem: initialized node m4f-memory@9cc00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009da00000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9da00000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009db00000, size 12 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-memory@9db00000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009c7fffff]
    [    0.000000]   node   0: [mem 0x000000009c800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x000000009fffffff]
    [    0.000000]   node   0: [mem 0x00000000a0000000-0x00000000ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffffff]
    [    0.000000] cma: Reserved 512 MiB at 0x00000000dd000000
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.2
    [    0.000000] percpu: Embedded 22 pages/cpu s51288 r8192 d30632 u90112
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=c879998c-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: 1455840K/2097152K available (11200K kernel code, 1162K rwdata, 4308K rodata, 1920K init, 431K bss, 117024K reserved, 524288K 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 event tracing is enabled.
    [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  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=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000004] sched_clock: 56 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008527] Console: colour dummy device 80x25
    [    0.013120] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023800] pid_max: default: 32768 minimum: 301
    [    0.028611] LSM: Security Framework initializing
    [    0.033396] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.040977] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
    [    0.050782] rcu: Hierarchical SRCU implementation.
    [    0.055963] Platform MSI: msi-controller@1820000 domain created
    [    0.062285] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.071541] EFI services will not be available.
    [    0.076463] smp: Bringing up secondary CPUs ...
    [    0.081712] Detected VIPT I-cache on CPU1
    [    0.081749] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.081764] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.081825] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.082460] Detected VIPT I-cache on CPU2
    [    0.082482] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.082493] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.082527] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.083113] Detected VIPT I-cache on CPU3
    [    0.083134] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.083144] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.083175] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.083242] smp: Brought up 1 node, 4 CPUs
    [    0.162974] SMP: Total of 4 processors activated.
    [    0.167788] CPU features: detected: 32-bit EL0 Support
    [    0.173060] CPU features: detected: CRC32 instructions
    [    0.185752] CPU: All CPU(s) started at EL2
    [    0.189960] alternatives: patching kernel code
    [    0.195688] devtmpfs: initialized
    [    0.206149] KASLR disabled due to lack of seed
    [    0.210910] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.220888] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.242248] pinctrl core: initialized pinctrl subsystem
    [    0.248276] DMI not present or invalid.
    [    0.252884] NET: Registered protocol family 16
    [    0.259108] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
    [    0.266449] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.274517] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.283229] thermal_sys: Registered thermal governor 'step_wise'
    [    0.283236] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.289788] cpuidle: using governor menu
    [    0.300687] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.307729] ASID allocator initialised with 65536 entries
    [    0.338051] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.344935] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.351804] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.358656] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.366520] cryptd: max_cpu_qlen set to 1000
    [    0.373732] k3-chipinfo 43000014.chipid: Family:AM62X rev:SR1.0 JTAGID[0x0bb7e02f] Detected
    [    0.382817] vcc_5v0: supplied by vmain_pd
    [    0.387304] vcc_3v3_sys: supplied by vmain_pd
    [    0.392203] vcc_1v8: supplied by vcc_3v3_sys
    [    0.397551] iommu: Default domain type: Translated 
    [    0.402878] SCSI subsystem initialized
    [    0.407135] mc: Linux media interface: v0.10
    [    0.411522] videodev: Linux video capture interface: v2.00
    [    0.417195] pps_core: LinuxPPS API ver. 1 registered
    [    0.422270] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.431621] PTP clock support registered
    [    0.435658] EDAC MC: Ver: 3.0.0
    [    0.439535] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fc9100
    [    0.446683] FPGA manager framework
    [    0.450257] Advanced Linux Sound Architecture Driver Initialized.
    [    0.457381] clocksource: Switched to clocksource arch_sys_counter
    [    0.463841] VFS: Disk quotas dquot_6.6.0
    [    0.467905] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.480245] NET: Registered protocol family 2
    [    0.484993] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.493716] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
    [    0.502492] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.510701] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
    [    0.518428] TCP: Hash tables configured (established 16384 bind 16384)
    [    0.525315] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.532211] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
    [    0.539689] NET: Registered protocol family 1
    [    0.544608] RPC: Registered named UNIX socket transport module.
    [    0.550681] RPC: Registered udp transport module.
    [    0.555519] RPC: Registered tcp transport module.
    [    0.560332] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.566923] NET: Registered protocol family 44
    [    0.571482] PCI: CLS 0 bytes, default 64
    [    0.576342] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.588423] Initialise system trusted keyrings
    [    0.593186] workingset: timestamp_bits=46 max_order=19 bucket_order=0
    [    0.603373] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.609906] NFS: Registering the id_resolver key type
    [    0.615119] Key type id_resolver registered
    [    0.619396] Key type id_legacy registered
    [    0.623546] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.630400] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.638177] 9p: Installing v9fs 9p2000 file system support
    [    0.677953] Key type asymmetric registered
    [    0.682151] Asymmetric key parser 'x509' registered
    [    0.687175] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
    [    0.694740] io scheduler mq-deadline registered
    [    0.699372] io scheduler kyber registered
    [    0.705577] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.711916] pinctrl-single f4000.pinctrl: 171 pins, size 684
    [    0.725101] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.744860] brd: module loaded
    [    0.755041] loop: module loaded
    [    0.759153] megasas: 07.714.04.00-rc1
    [    0.766556] tun: Universal TUN/TAP device driver, 1.6
    [    0.772296] igbvf: Intel(R) Gigabit Virtual Function Network Driver
    [    0.778715] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
    [    0.784820] sky2: driver version 1.30
    [    0.789530] VFIO - User Level meta-driver version: 0.3
    [    0.795817] i2c /dev entries driver
    [    0.801077] sdhci: Secure Digital Host Controller Interface driver
    [    0.807429] sdhci: Copyright(c) Pierre Ossman
    [    0.812214] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.819076] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.825585] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.833743] optee: probing for conduit method.
    [    0.838325] optee: revision 3.20 (8e74d476)
    [    0.838605] optee: dynamic shared memory is enabled
    [    0.848108] optee: initialized driver
    [    0.853916] NET: Registered protocol family 17
    [    0.858623] 9pnet: Installing 9P2000 support
    [    0.863078] Key type dns_resolver registered
    [    0.867856] Loading compiled-in X.509 certificates
    [    0.884189] ti-sci 44043000.system-controller: lpm region is required for suspend but not provided.
    [    0.893521] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0008 '8.6.4--v08.06.04 (Chill Capybar')
    [    0.959630] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    0.967987] omap-gpmc 3b000000.memory-controller: GPMC revision 6.0
    [    0.974441] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    0.983619] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.991291] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    0.997601] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.005956] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.015213] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.024693] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.032686] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.043719] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.053581] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.063676] printk: console [ttyS2] disabled
    [    1.068126] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 27, base_baud = 3000000) is a 8250
    [    1.076897] printk: console [ttyS2] enabled
    [    1.076897] printk: console [ttyS2] enabled
    [    1.085348] printk: bootconsole [ns16550a0] disabled
    [    1.085348] printk: bootconsole [ns16550a0] disabled
    [    1.100088] spi-nor spi0.0: s28hs512t (65536 Kbytes)
    [    1.105119] 7 fixed-partitions partitions found on MTD device fc40000.spi.0
    [    1.112072] Creating 7 MTD partitions on "fc40000.spi.0":
    [    1.117475] 0x000000000000-0x000000080000 : "ospi.tiboot3"
    [    1.124178] 0x000000080000-0x000000280000 : "ospi.tispl"
    [    1.130570] 0x000000280000-0x000000680000 : "ospi.u-boot"
    [    1.136968] 0x000000680000-0x0000006c0000 : "ospi.env"
    [    1.143135] 0x0000006c0000-0x000000700000 : "ospi.env.backup"
    [    1.149888] 0x000000800000-0x000003fc0000 : "ospi.rootfs"
    [    1.156301] 0x000003fc0000-0x000004000000 : "ospi.phypattern"
    [    1.169102] davinci_mdio 8000f00.mdio: Configuring MDIO in manual mode
    [    1.213383] davinci_mdio 8000f00.mdio: davinci mdio revision 9.7, bus freq 1000000
    [    1.223045] davinci_mdio 8000f00.mdio: phy[0]: device 8000f00.mdio:00, driver TI DP83867
    [    1.231155] davinci_mdio 8000f00.mdio: phy[1]: device 8000f00.mdio:01, driver TI DP83867
    [    1.239330] am65-cpsw-nuss 8000000.ethernet: initializing am65 cpsw nuss version 0x6BA01103, cpsw version 0x6BA81103 Ports: 3 quirks:00000006
    [    1.252260] am65-cpsw-nuss 8000000.ethernet: Use random MAC address
    [    1.258526] am65-cpsw-nuss 8000000.ethernet: initialized cpsw ale version 1.5
    [    1.265649] am65-cpsw-nuss 8000000.ethernet: ALE Table size 512
    [    1.272303] am65-cpsw-nuss 8000000.ethernet: CPTS ver 0x4e8a010c, freq:500000000, add_val:1 pps:0
    [    1.282581] am65-cpsw-nuss 8000000.ethernet: set new flow-id-base 19
    [    1.292707] rtc-ti-k3 2b1f0000.rtc: registered as rtc0
    [    1.297903] rtc-ti-k3 2b1f0000.rtc: setting system clock to 1970-01-01T00:00:09 UTC (9)
    [    1.410260] mmc0: CQHCI version 5.10
    [    1.412064] davinci-mcasp 2b10000.mcasp: IRQ common not found
    [    1.431658] pca953x 1-0022: supply vcc not found, using dummy regulator
    [    1.438456] pca953x 1-0022: using AI
    [    1.465196] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.468879] sii902x 1-003b: supply iovcc not found, using dummy regulator
    [    1.479619] sii902x 1-003b: supply cvcc12 not found, using dummy regulator
    [    1.489494] i2c i2c-1: Added multiplexed i2c bus 2
    [    1.496317] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0
    [    1.504057] tidss 30200000.dss: [drm] Cannot find any crtc or sizes
    [    1.512958] vdd_mmc1: supplied by vcc_3v3_sys
    [    1.519175] wlan_lten: supplied by vcc_3v3_sys
    [    1.525308] debugfs: Directory 'pd:53' with parent 'pm_genpd' already present!
    [    1.532604] debugfs: Directory 'pd:52' with parent 'pm_genpd' already present!
    [    1.532646] wlan_en: supplied by wlan_lten
    [    1.540021] debugfs: Directory 'pd:51' with parent 'pm_genpd' already present!
    [    1.540161] mmc1: CQHCI version 5.10
    [    1.544119] mmc2: CQHCI version 5.10
    [    1.551516] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.569201] mmc0: Command Queue Engine enabled
    [    1.573678] mmc0: new HS200 MMC card at address 0001
    [    1.577550] ALSA device list:
    [    1.579325] mmcblk0: mmc0:0001 S0J56X 14.8 GiB 
    [    1.581538] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.581606]   No soundcards found.
    [    1.586370] mmcblk0boot0: mmc0:0001 S0J56X partition 1 31.5 MiB
    [    1.593415] mmc2: SDHCI controller on fa20000.mmc [fa20000.mmc] using ADMA 64-bit
    [    1.598789] sdhci-am654 fa20000.mmc: card claims to support voltages below defined range
    [    1.603145] mmcblk0boot1: mmc0:0001 S0J56X partition 2 31.5 MiB
    [    1.614423] mmc1: new high speed SDHC card at address b368
    [    1.618661] mmcblk0rpmb: mmc0:0001 S0J56X partition 3 4.00 MiB, chardev (237:0)
    [    1.625029] mmcblk1: mmc1:b368 00000 7.51 GiB 
    [    1.637251]  mmcblk0: p1 p2 p3 p4
    [    1.644147]  mmcblk1: p1 p2
    [    1.651414] mmc2: new high speed SDIO card at address 0001
    [    2.115027] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    2.123209] VFS: Mounted root (ext4 filesystem) on device 179:98.
    [    2.130987] devtmpfs: mounted
    [    2.135266] Freeing unused kernel memory: 1920K
    [    2.139894] Run /sbin/init as init process
    [    2.715808] systemd[1]: System time before build time, advancing clock.
    [    2.844444] NET: Registered protocol family 10
    [    2.849986] Segment Routing with IPv6
    [    2.930222] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
    [    2.952258] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2021.09!
    
    [    3.007187] systemd[1]: Set hostname to <am62xx-evm>.
    [    3.038802] random: systemd: uninitialized urandom read (16 bytes read)
    [    3.045502] systemd[1]: Initializing machine ID from random generator.
    [    4.300130] systemd[1]: /lib/systemd/system/startwlansta.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    4.313428] systemd[1]: /lib/systemd/system/startwlanap.service:7: Unknown key name 'After' in section 'Service', ignoring.
    [    4.345211] systemd[1]: /lib/systemd/system/irqbalanced.service:6: Unknown key name 'ConditionCPUs' in section 'Unit', ignoring.
    [    4.383367] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
    [    4.534824] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.545042] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    4.565669] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.574077] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.597559] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.605664] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.625876] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    [    4.649700] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password R…uests to Wall Directory Watch.
    [    4.673666] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    4.689533] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.709497] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    4.725499] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    4.776472] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    4.797700] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    4.822906] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    4.845909] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    4.872858] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
    [    4.881743] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.906179] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.922239] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.946049] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.965889] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.990339] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    5.010276] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    5.038152] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    5.059749] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    5.082554] systemd[1]: Starting Create list of static device nodes for the current kernel...
             Starting Create list of st…odes for the current kernel...
    [    5.120909] systemd[1]: Starting Start psplash boot splash screen...
             Starting Start psplash boot splash screen...
    [    5.146223] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    5.161822] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
    [    5.177151] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.212171] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    5.234269] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    5.257144] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [    5.257672] cryptodev: loading out-of-tree module taints kernel.
    [    5.270657] cryptodev: driver 1.10 loaded.
    [    5.274112] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    5.299455] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    5.314275] 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  ] Started Create list of sta… nodes for the current kernel.
    [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  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage[[    5.539362] random: systemd-journal: uninitialized urandom read (16 bytes read)
    0m...
    [    5.556072] systemd-journald[207]: Received client request to flush runtime journal.
    [    5.564175] random: systemd: uninitialized urandom read (16 bytes read)
             Starting Apply Kernel Variables...
    [    5.577006] random: systemd-journal: uninitialized urandom read (16 bytes read)
             Starting Create System Users...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create System Users.
             Starting Create Static Device Nodes in /dev...
             Starting udev Wait for Complete Device Initialization...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Run pending postinsts...
             Starting Rebuild Journal Catalog...
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started udev Kernel Device Manager.
    [    6.720797] random: systemd: uninitialized urandom read (16 bytes read)
    [    8.045416] random: crng init done
    [    8.048836] random: 73 urandom warning(s) missed due to ratelimiting
    [  OK  ] Started Load/Save Random Seed.
    [    9.238645] k3-m4-rproc 5000000.m4fss: assigned reserved memory node m4f-dma-memory@9cb00000
    [    9.250387] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
    [    9.257456] k3-m4-rproc 5000000.m4fss: local reset is deasserted for device
    [    9.281624] remoteproc remoteproc0: 5000000.m4fss is available
    [    9.357913] remoteproc remoteproc0: powering up 5000000.m4fss
    [    9.363836] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
    [    9.372774]  remoteproc0#vdev0buffer: assigned reserved memory node m4f-dma-memory@9cb00000
    [    9.381565]  remoteproc0#vdev0buffer: registered virtio0 (type 7)
    [    9.387790] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
    [    9.609021] virtio_rpmsg_bus virtio0: rpmsg host is online
    [    9.609907] virtio_rpmsg_bus virtio0: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.622631] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0xe
    [    9.650926] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
    [    9.664649] platform 78000000.r5f: configured R5F for IPC-only mode
    [    9.671342] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@9da00000
    [    9.680103] remoteproc remoteproc1: 78000000.r5f is available
    [    9.694307] remoteproc remoteproc1: attaching to 78000000.r5f
    [    9.701784] platform 78000000.r5f: R5F core initialized in IPC-only mode
    [    9.708750]  remoteproc1#vdev0buffer: assigned reserved memory node r5f-dma-memory@9da00000
    [    9.717903] virtio_rpmsg_bus virtio1: rpmsg host is online
    [    9.718451] virtio_rpmsg_bus virtio1: creating channel ti.ipc4.ping-pong addr 0xd
    [    9.724338]  remoteproc1#vdev0buffer: registered virtio1 (type 7)
    [    9.731230] virtio_rpmsg_bus virtio1: creating channel rpmsg_chrdev addr 0xe
    [    9.748336] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
    [    9.966156] PVR_K:  249: Read BVNC 33.15.11.3 from HW device registers
    [    9.973083] PVR_K:  249: RGX Device registered with BVNC 33.15.11.3
    [    9.983868] [drm] Initialized pvr 1.15.6133109 20170530 for fd00000.gpu on minor 1
    [  OK  ] Created slice system-systemd\x2dfsck.slice.
    [  OK  ] Found device /dev/mmcblk0p1.
             Starting File System Check on /dev/mmcblk0p1...
    [  OK  ] Found device /dev/mmcblk0p4.
             Starting File System Check on /dev/mmcblk0p4...
    [  OK  ] Found device /dev/mmcblk0p2.
             Starting File System Check on /dev/mmcblk0p2...
    [  OK  ] Found device /dev/mmcblk0p3.
             Starting File System Check on /dev/mmcblk0p3...
    [   12.121856] remoteproc remoteproc2: 30074000.pru is available
    [  OK  ] Started File System Check on /dev/m[   12.130321] remoteproc remoteproc3: 30078000.pru is available
    mcblk0p1.
             Mounting /run/media/mmcblk0p1...
    [  OK  ] Started File System Check on /dev/mmcblk0p4.
             Mounting /run/media/mmcblk0p4...
    [  OK  ] Started File System Check on /dev/m[   12.188155] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    mcblk0p3.
             Mounting /run/media/mmcblk0p3...
    [  OK  ] Mounted /run/media/mmcblk0p1.
    [   12.223397] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk0p4.[   12.249655] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    
    [   12.295133] tps6598x 0-003f: Unable to find the interrupt, switching to polling
    [  OK  ] Mounted /run/media/mmcblk0p3.
             Starting Start psplash boot splash screen...
    [   12.354410] cdns-csi2rx: probe of 30101000.csi-bridge failed with error -22
    [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  ] Reached target Hardware activated USB gadget.
    [   12.494733] usbcore: registered new interface driver usbfs
    [   12.500541] usbcore: registered new interface driver hub
    [   12.507681] usbcore: registered new device driver usb
    [  OK  ] Started File System Check on /dev/mmcblk0p2.
             Mounting /run/media/mmcblk0p2...
    [   12.578880] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Mounted /run/media/mmcblk0p2.
    [  OK  ] Listening on Load/Save RF …itch S[   12.664240] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    tatus /dev/rfkill Watch.
    [   12.670285] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 1
    [   12.680712] xhci-hcd xhci-hcd.3.auto: hcc params 0x0258fe6d hci version 0x110 quirks 0x0000000000010010
    [   12.703002] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [   12.703111] xhci-hcd xhci-hcd.3.auto: irq 495, io mem 0x31100000
    [   12.717591] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
    [   12.719631] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [   12.723298] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
    [   12.737719] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
    [   12.744675] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [   12.753060] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.760357] usb usb1: Product: xHCI Host Controller
    [   12.765343] usb usb1: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd
    [   12.772235] usb usb1: SerialNumber: xhci-hcd.3.auto
    [   12.778319] hub 1-0:1.0: USB hub found
    [   12.782355] hub 1-0:1.0: 1 port detected
    [   12.788927] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [   12.797492] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [   12.805964] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [   12.813314] usb usb2: Product: xHCI Host Controller
    [   12.818259] usb usb2: Manufacturer: Linux 5.10.168-g2c23e6c538 xhci-hcd
    [   12.825105] usb usb2: SerialNumber: xhci-hcd.3.auto
    [   12.830970] hub 2-0:1.0: USB hub found
    [   12.834861] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
    [   13.138341] wl18xx_driver wl18xx.2.auto: Direct firmware load for ti-connectivity/wl1271-nvs.bin failed with error -2
    [   13.501833] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
    [   13.510877] wlcore: loaded
             Starting Load/Save RF Kill Switch Status...
    [  OK  ] Started Load/Save RF Kill Switch Status.
    [  OK  ] Found device /dev/mmcblk1p1.
    [  OK  ] Started udev Wait for Complete Device Initialization.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
             Starting File System Check on /dev/mmcblk1p1...
    [  OK  ] Started Run pending postinsts.
    [  OK  ] Started File System Check on /dev/mmcblk1p1.
             Mounting /run/media/mmcblk1p1...
    [  OK  ] Mounted /run/media/mmcblk1p1.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  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 Reboot and dump vmcore via kexec...
    [  OK  ] Listening on Docker Socket for the API.
    [  OK  ] Started Reboot and dump vmcore via kexec.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Save/Restore Sound Card State...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started D-Bus System Message Bus.
             Starting Print notice about GPLv3 packages...
             Starting IPv6 Packet Filtering Framework...
             Starting IPv4 Packet Filtering Framework...
    [  OK  ] Started irqbalance daemon.
             Starting rc.pvr.service...
             Starting startwlanap...
             Starting startwlansta...
             Starting Login Service...
    [  OK  ] Started TEE Supplicant.
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started IPv6 Packet Filtering Framework.
    [  OK  ] Started IPv4 Packet Filtering Framework.
    [  OK  ] Started startwlansta.
    [  OK  ] Started startwlanap.
    [  OK  ] Reached target Network (Pre).
    [  OK  ] Reached target Sound Card.
             Starting Network Service...
    [  OK  ] Started Network Service.
             Starting Wait for Network to be Configured...
             Starting Network Name Resolution...
    [  OK  ] Started Login Service.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    [   26.841607] wlcore: using inverted interrupt logic: 2
    [   26.899022] wlcore: PHY firmware version: Rev 8.2.0.0.245
    [   27.000200] wlcore: firmware booted (Rev 8.9.0.0.86)
    [   27.034912] am65-cpsw-nuss 8000000.ethernet eth1: PHY [8000f00.mdio:01] driver [TI DP83867] (irq=POLL)
    [   27.049633] am65-cpsw-nuss 8000000.ethernet eth1: 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 Enable and configure wl18xx bluetooth stack...
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [   27.121831] am65-cpsw-nuss 8000000.ethernet eth0: PHY [8000f00.mdio:00] driver [TI DP83867] (irq=POLL)
             Starting Simple Network Ma…ent Protocol (SNMP) Daemon....
             Starting Permit User Sessions...
    [   27.147317] am65-cpsw-nuss 8000000.ethernet eth0: configuring for phy/rgmii-rxid link mode
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started 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.
    [   27.199800] startwlanap.sh[989]: adding wlan1 interface
    [   27.583798] startwlanap.sh[992]: Configuration file: /usr/share/wl18xx/hostapd.conf
    [   27.709745] wlcore: down
    [  OK  ] Started Synchronize System and HW clocks.
    [   27.635627] startwlanap.sh[992]: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
    [   27.706077] startwlanap.sh[992]: Using interface wlan1 with hwaddr 20:d7:78:b6:2a:e2 and ssid "AM62xSK-AP_78b62a"
    [   27.885548] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
    [   27.817320] startwlanap.sh[992]: wlan1: interface state COUNTRY_UPDATE->ENABLED
    [   27.817710] startwlanap.sh[992]: wlan1: AP-ENABLED
    [  OK  ] Started Simple Network Man…ement Protocol (SNMP) Daemon..
    [  OK  ] Started weston.service.
             Starting telnetd.service...
    [  OK  ] Started telnetd.service.
             Starting hmi_demo.service...
             Starting LSB: Expand Rootfs of boot device...
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project am62xx-evm ttyS2
    
    Arago 2021.09 am62xx-evm ttyS2
    
    am62xx-evm login: [   41.484620] PVR_K:  1023: RGX Firmware image 'rgx.fw.33.15.11.3' loaded
    [   41.520733] PVR_K:  1023: Shader binary image 'rgx.sh.33.15.11.3' loaded
    [   43.422920] EXT4-fs (mmcblk1p2): resizing filesystem from 746807 to 1934336 blocks
    [   49.205651] EXT4-fs (mmcblk1p2): resized filesystem to 1934336
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            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
            gstreamer1.0-libav
            gzip
            hidapi
            less
            libasm1
            libbfd
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm6
            libgettextlib
            libgettextsrc
            libgmp10
            libidn2-0
            libmpc3
            libmpfr6
            libreadline-dev
            libreadline8
            libunistring2
            m4-dev
            m4
            make
            nettle
            parted
            tar
            which
    
    If you do not wish to distribute GPLv3 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
    ***************************************************************
    ***************************************************************
    
    am62xx-evm login: root
    root@am62xx-evm:~# devmem2 0x31100420 w 0xA0
    /dev/mem opened.
    Memory mapped at address 0xffffb76c1000.
    Value at address 0x31100420 (0xffffb76c1420): 0xA0002A0
    Written 0xA0; readback 0xA0002A0
    root@am62xx-evm:~# devmem2 0x31100020 w 0x4
    /dev/mem opened.
    Memory mapped at address 0xffff9cda5000.
    Value at address 0x31100020 (0xffff9cda5020): 0x5
    Written 0x4; readback 0x4
    root@am62xx-evm:~# [  150.030278] Initializing XFRM netlink socket
    
    root@am62xx-evm:~# devmem2 0x31100424 w 0x40000000
    /dev/mem opened.
    Memory mapped at address 0xffff964d1000.
    Bus error (core dumped)
    root@am62xx-evm:~#

    I get the source code of devmem and build it in aarch64.

    And I also use this version of devmem to execute 3 commands.
    But still get the same result as the previous one.

    Thanks.

    Kylix

  • Hi Bin,

    I find that tisdk-default-image-am62xx-evm.wic prebuilt from the SDK has consisted of devmem, and it works well without "Bus error"

    Thanks for your assistance

    Kylix