Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BB-SPIDEV0-00A0.dtbo conflict #221

Open
Un1Gfn opened this issue Sep 24, 2021 · 2 comments
Open

BB-SPIDEV0-00A0.dtbo conflict #221

Un1Gfn opened this issue Sep 24, 2021 · 2 comments

Comments

@Un1Gfn
Copy link

Un1Gfn commented Sep 24, 2021

BB-SPIDEV0-00A0.dtbo conflict

pinctrl-single 44e10800.pinmux: pin PIN84 already requested by 48024000.serial; cannot claim for 48030000.spi
pinctrl-single 44e10800.pinmux: pin-84 (48030000.spi) status -22
pinctrl-single 44e10800.pinmux: could not request pin 84 (PIN84) from group pinmux_bb_spi0_pins  on device pinctrl-single
omap2_mcspi 48030000.spi: Error applying setting, reverse things back
omap2_mcspi: probe of 48030000.spi failed with error -22
full dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.11.2-1-ARCH (builduser@leming) (armv7l-unknown-linux-gnueabihf-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 PREEMPT Sun Feb 28 22:36:49 UTC 2021
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Green Wireless
[    0.000000] Memory policy: Data cache writeback
[    0.000000] cma: Reserved 48 MiB at 0x9c800000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fefffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fefffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fefffff]
[    0.000000] On node 0 totalpages: 130816
[    0.000000]   Normal zone: 1150 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 130816 pages, LIFO batch:31
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon)
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129666
[    0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 root=PARTUUID=6afc7d6f-01 rw rootwait
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 439364K/523264K available (14336K kernel code, 1707K rwdata, 3436K rodata, 1024K init, 297K bss, 34748K reserved, 49152K cma-reserved, 0K highmem)
[    0.000000] random: get_random_u32 called from __kmem_cache_create+0x34/0x3a8 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 43822 entries in 86 pages
[    0.000000] ftrace: allocated 86 pages with 4 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]   Trampoline variant of Tasks RCU enabled.
[    0.000000]   Rude 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] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000
[    0.000002] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000027] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000400] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000
[    0.001583] Console: colour dummy device 80x30
[    0.002194] printk: console [tty0] enabled
[    0.002236] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.002260] This ensures that you still see kernel messages. Please
[    0.002281] update your kernel commandline.
[    0.002345] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.048492] pid_max: default: 32768 minimum: 301
[    0.048770] LSM: Security Framework initializing
[    0.048945] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.048989] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050284] CPU: Testing write buffer coherency: ok
[    0.050406] CPU0: Spectre v2: using BPIALL workaround
[    0.051591] Setting up static identity map for 0x80100000 - 0x80100060
[    0.051809] rcu: Hierarchical SRCU implementation.
[    0.053496] devtmpfs: initialized
[    0.068744] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.069216] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.069278] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.073255] pinctrl core: initialized pinctrl subsystem
[    0.074870] NET: Registered protocol family 16
[    0.077834] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.078412] audit: initializing netlink subsys (disabled)
[    0.079527] thermal_sys: Registered thermal governor 'fair_share'
[    0.079545] thermal_sys: Registered thermal governor 'bang_bang'
[    0.079589] thermal_sys: Registered thermal governor 'step_wise'
[    0.080082] audit: type=2000 audit(0.076:1): state=initialized audit_enabled=0 res=1
[    0.080174] cpuidle: using governor menu
[    0.093729] No ATAGs?
[    0.093799] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.176729] raid6: neonx8   gen()   718 MB/s
[    0.244593] raid6: neonx8   xor()   433 MB/s
[    0.312491] raid6: neonx4   gen()  1963 MB/s
[    0.380477] raid6: neonx4   xor()  1217 MB/s
[    0.448472] raid6: neonx2   gen()  1894 MB/s
[    0.516472] raid6: neonx2   xor()  1161 MB/s
[    0.584479] raid6: neonx1   gen()  1543 MB/s
[    0.652510] raid6: neonx1   xor()   934 MB/s
[    0.720509] raid6: int32x8  gen()   309 MB/s
[    0.788506] raid6: int32x8  xor()   206 MB/s
[    0.856523] raid6: int32x4  gen()   352 MB/s
[    0.924504] raid6: int32x4  xor()   230 MB/s
[    0.992515] raid6: int32x2  gen()   474 MB/s
[    1.024476] random: fast init done
[    1.060483] raid6: int32x2  xor()   240 MB/s
[    1.128533] raid6: int32x1  gen()   386 MB/s
[    1.196521] raid6: int32x1  xor()   193 MB/s
[    1.196546] raid6: using algorithm neonx4 gen() 1963 MB/s
[    1.196568] raid6: .... xor() 1217 MB/s, rmw enabled
[    1.196590] raid6: using neon recovery algorithm
[    1.198358] iommu: Default domain type: Translated
[    1.199928] SCSI subsystem initialized
[    1.200040] libata version 3.00 loaded.
[    1.200324] usbcore: registered new interface driver usbfs
[    1.200415] usbcore: registered new interface driver hub
[    1.200578] usbcore: registered new device driver usb
[    1.201039] pps_core: LinuxPPS API ver. 1 registered
[    1.201074] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    1.201124] PTP clock support registered
[    1.201944] Advanced Linux Sound Architecture Driver Initialized.
[    1.202810] NetLabel: Initializing
[    1.202852] NetLabel:  domain hash size = 128
[    1.202873] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.202989] NetLabel:  unlabeled traffic allowed by default
[    1.203790] clocksource: Switched to clocksource dmtimer
[    1.309206] VFS: Disk quotas dquot_6.6.0
[    1.309367] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.329665] NET: Registered protocol family 2
[    1.335904] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.336037] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.336108] TCP bind hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.336167] TCP: Hash tables configured (established 4096 bind 4096)
[    1.336326] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.336374] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    1.336618] NET: Registered protocol family 1
[    1.337444] RPC: Registered named UNIX socket transport module.
[    1.337499] RPC: Registered udp transport module.
[    1.337519] RPC: Registered tcp transport module.
[    1.337539] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.337567] NET: Registered protocol family 44
[    1.338040] Trying to unpack rootfs image as initramfs...
[    2.142832] Freeing initrd memory: 6716K
[    2.742429] Initialise system trusted keyrings
[    2.742875] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    2.749114] zbud: loaded
[    2.752150] NFS: Registering the id_resolver key type
[    2.752263] Key type id_resolver registered
[    2.752287] Key type id_legacy registered
[    2.752436] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.752812] fuse: init (API version 7.33)
[    2.753390] SGI XFS with ACLs, security attributes, realtime, quota, no debug enabled
[    2.844710] xor: automatically using best checksumming function   neon
[    2.844790] Key type asymmetric registered
[    2.844812] Asymmetric key parser 'x509' registered
[    2.844903] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    2.845166] io scheduler mq-deadline registered
[    2.845201] io scheduler kyber registered
[    2.847487] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    2.852708] l3-aon-clkctrl:0000:0: failed to disable
[    2.856045] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.859658] sdhci: Secure Digital Host Controller Interface driver
[    2.859721] sdhci: Copyright(c) Pierre Ossman
[    2.860101] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.863215] libphy: Fixed MDIO Bus: probed
[    2.864266] CAN device driver interface
[    2.864743] usbcore: registered new interface driver smsc95xx
[    2.865101] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.865174] ehci-platform: EHCI generic platform driver
[    2.865288] ehci-omap: OMAP-EHCI Host Controller driver
[    2.865688] usbcore: registered new interface driver uas
[    2.865807] usbcore: registered new interface driver usb-storage
[    2.865867] usbcore: registered new interface driver ums-cypress
[    2.867189] mousedev: PS/2 mouse device common for all mice
[    2.868156] i2c /dev entries driver
[    2.868354] Driver for 1-wire Dallas network protocol.
[    2.869312] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[    2.869361] softdog:              soft_reboot_cmd=<not set> soft_active_on_boot=0
[    2.870347] cpuidle: enable-method property 'ti,am3352' found operations
[    2.870978] ledtrig-cpu: registered to indicate activity on CPUs
[    2.871460] hid: raw HID events driver (C) Jiri Kosina
[    2.872032] usbcore: registered new interface driver usbhid
[    2.872073] usbhid: USB HID core driver
[    2.873673] drop_monitor: Initializing network drop monitor service
[    2.874660] NET: Registered protocol family 10
[    2.926836] Segment Routing with IPv6
[    2.927048] mip6: Mobile IPv6
[    2.927078] NET: Registered protocol family 17
[    2.927124] can: controller area network core
[    2.927250] NET: Registered protocol family 29
[    2.927280] can: isotp protocol
[    2.927683] Key type dns_resolver registered
[    2.927727] mpls_gso: MPLS GSO support
[    2.928034] ThumbEE CPU extension supported.
[    2.928083] Registering SWP/SWPB emulation handler
[    2.928109] omap_voltage_late_init: Voltage driver support not added
[    2.928443] PM: Cannot get wkup_m3_ipc handle
[    2.929203] registered taskstats version 1
[    2.929262] Loading compiled-in X.509 certificates
[    2.929492] zswap: loaded using pool lzo/zbud
[    2.930235] Key type ._fscrypt registered
[    2.930285] Key type .fscrypt registered
[    2.930305] Key type fscrypt-provisioning registered
[    2.932173] Btrfs loaded, crc32c=crc32c-generic, zoned=yes
[    2.950576] remoteproc remoteproc0: wkup_m3 is available
[    2.961242] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    2.964305] wkup_m3_ipc 44e11324.wkup_m3_ipc: IPC Request for A8->M3 Channel failed! -517
[    2.969159] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    2.972320] omap_rtc 44e3e000.rtc: registered as rtc0
[    2.972425] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01T00:00:00 UTC (946684800)
[    2.978157] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 25, base_baud = 3000000) is a 8250
[    2.981634] pinctrl-single 44e10800.pinmux: pin PIN84 already requested by 48024000.serial; cannot claim for 48030000.spi
[    2.981726] pinctrl-single 44e10800.pinmux: pin-84 (48030000.spi) status -22
[    2.981758] pinctrl-single 44e10800.pinmux: could not request pin 84 (PIN84) from group pinmux_bb_spi0_pins  on device pinctrl-single
[    2.981799] omap2_mcspi 48030000.spi: Error applying setting, reverse things back
[    2.981853] omap2_mcspi: probe of 48030000.spi failed with error -22
[    2.993889] gpio-29 (LS_BUF_EN): hogged as output/high
[    2.994502] OMAP GPIO hardware version 0.1
[    3.000017] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    3.006276] at24 2-0054: supply vcc not found, using dummy regulator
[    3.035328] at24 2-0055: supply vcc not found, using dummy regulator
[    3.062210] at24 2-0056: supply vcc not found, using dummy regulator
[    3.091181] at24 2-0057: supply vcc not found, using dummy regulator
[    3.117869] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    3.121665] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 36, base_baud = 3000000) is a 8250
[    3.122040] serial serial0: tty port ttyS3 registered
[    3.127588] gpio-80 (MCASP0_AHCLKR): hogged as output/low
[    3.132223] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    3.140613] omap_rng 48310000.rng: Random Number Generator ver. 20
[    3.144126] random: crng init done
[    3.152506] debugfs: Directory '49000000.dma' with parent 'dmaengine' already present!
[    3.152609] edma 49000000.dma: TI EDMA DMA engine driver
[    3.158657] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    3.161928] am335x-phy-driver 47401300.usb-phy: supply vcc not found, using dummy regulator
[    3.166476] am335x-phy-driver 47401b00.usb-phy: supply vcc not found, using dummy regulator
[    3.183509] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    3.184054] omap-sham 53100000.sham: will run requests pump with realtime priority
[    3.187674] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    3.188310] omap-aes 53500000.aes: will run requests pump with realtime priority
[    3.192787] PM: Cannot get wkup_m3_ipc handle
[    3.196179] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 19, base_baud = 3000000) is a 8250
[    4.435116] printk: console [ttyS0] enabled
[    4.464442] tps65217-pmic: Failed to locate of_node [id: -1]
[    4.479257] tps65217-bl: Failed to locate of_node [id: -1]
[    4.487382] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    4.494657] input: tps65217_pwr_but as /devices/platform/ocp/44c00000.interconnect/44c00000.interconnect:segment@200000/44e0b000.target-module/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[    4.513202] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    4.519084] at24 0-0050: supply vcc not found, using dummy regulator
[    4.526214] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    4.533309] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    4.541363] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    4.551978] remoteproc remoteproc0: powering up wkup_m3
[    4.558439] sdhci-omap 481d8000.mmc: supply vqmmc not found, using dummy regulator
[    4.572888] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    4.580709] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    4.591849] sdhci-omap 48060000.mmc: Got CD GPIO
[    4.598661] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    4.605362] sdhci-omap 48060000.mmc: supply vqmmc not found, using dummy regulator
[    4.613394] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    4.619987] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[    4.627292] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    4.636698] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.11
[    4.645174] mmc1: SDHCI controller on 481d8000.mmc [481d8000.mmc] using External DMA
[    4.653305] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.661047] usb usb1: Product: MUSB HDRC host driver
[    4.666425] usb usb1: Manufacturer: Linux 5.11.2-1-ARCH musb-hcd
[    4.672684] mmc0: SDHCI controller on 48060000.mmc [48060000.mmc] using External DMA
[    4.680572] usb usb1: SerialNumber: musb-hdrc.1
[    4.686372] hub 1-0:1.0: USB hub found
[    4.690329] hub 1-0:1.0: 1 port detected
[    4.699524] PM: bootloader does not support rtc-only!
[    4.708119] sdhci-omap 47810000.mmc: supply vqmmc not found, using dummy regulator
[    4.717942] ALSA device list:
[    4.721245]   No soundcards found.
[    4.768380] mmc1: new high speed MMC card at address 0001
[    4.774942] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB
[    4.779961] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    4.786267] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    4.792533] mmcblk1rpmb: mmc1:0001 Q2J54A partition 3 512 KiB, chardev (245:0)
[    4.802401]  mmcblk1: p1
[    4.828035] mmc2: SDHCI controller on 47810000.mmc [47810000.mmc] using External DMA
[    4.841041] Freeing unused kernel memory: 1024K
[    4.846356] sdhci-omap 47810000.mmc: card claims to support voltages below defined range
[    4.855387] Run /init as init process
[    4.859195]   with arguments:
[    4.859206]     /init
[    4.859214]   with environment:
[    4.859221]     HOME=/
[    4.859227]     TERM=linux
[    4.892235] mmc2: new high speed SDIO card at address 0001
[    5.103929] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    5.265614] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[    5.287155] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    5.308012] usb 1-1: Product: USB2.0 Hub
[    5.326407] hub 1-1:1.0: USB hub found
[    5.339917] hub 1-1:1.0: 4 ports detected
[    8.168416] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    8.724431] systemd[1]: System time before build time, advancing clock.
[    8.851759] systemd[1]: systemd 249.4-1-arch 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 +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[    8.883640] systemd[1]: Detected architecture arm.
[    8.905845] systemd[1]: Hostname set to <alarm>.
[   10.133118] systemd[1]: Queued start job for default target Graphical Interface.
[   10.150775] systemd[1]: Created slice Slice /system/dhcpcd.
[   10.176024] systemd[1]: Created slice Slice /system/getty.
[   10.200309] systemd[1]: Created slice Slice /system/modprobe.
[   10.228041] systemd[1]: Created slice Slice /system/serial-getty.
[   10.256027] systemd[1]: Created slice Slice /system/wpa_supplicant.
[   10.282984] systemd[1]: Created slice User and Session Slice.
[   10.305233] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   10.329173] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   10.354101] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   10.381010] systemd[1]: Reached target Local Encrypted Volumes.
[   10.404943] systemd[1]: Reached target Path Units.
[   10.424752] systemd[1]: Reached target Remote File Systems.
[   10.448601] systemd[1]: Reached target Slice Units.
[   10.468732] systemd[1]: Reached target Swaps.
[   10.488746] systemd[1]: Reached target Local Verity Integrity Protected Volumes.
[   10.513468] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[   10.550388] systemd[1]: Listening on Process Core Dump Socket.
[   10.574249] systemd[1]: Listening on Journal Audit Socket.
[   10.597831] systemd[1]: Listening on Journal Socket (/dev/log).
[   10.621899] systemd[1]: Listening on Journal Socket.
[   10.646210] systemd[1]: Listening on Network Service Netlink Socket.
[   10.671091] systemd[1]: Listening on udev Control Socket.
[   10.693629] systemd[1]: Listening on udev Kernel Socket.
[   10.717758] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   10.734533] systemd[1]: Mounting POSIX Message Queue File System...
[   10.772474] systemd[1]: Mounting Kernel Debug File System...
[   10.808818] systemd[1]: Mounting Kernel Trace File System...
[   10.845896] systemd[1]: Mounting Temporary Directory /tmp...
[   10.882142] systemd[1]: Starting Create List of Static Device Nodes...
[   10.921462] systemd[1]: Starting Load Kernel Module configfs...
[   10.961509] systemd[1]: Starting Load Kernel Module drm...
[   11.001650] systemd[1]: Starting Load Kernel Module fuse...
[   11.035259] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   11.048928] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[   11.065742] systemd[1]: Starting Remount Root and Kernel File Systems...
[   11.096915] systemd[1]: Condition check resulted in Repartition Root Disk being skipped.
[   11.129349] systemd[1]: Starting Apply Kernel Variables...
[   11.181519] systemd[1]: Starting Coldplug All udev Devices...
[   11.268878] systemd[1]: Mounted POSIX Message Queue File System.
[   11.306459] systemd[1]: Mounted Kernel Debug File System.
[   11.341635] systemd[1]: Mounted Kernel Trace File System.
[   11.374071] systemd[1]: Mounted Temporary Directory /tmp.
[   11.412109] systemd[1]: Finished Create List of Static Device Nodes.
[   11.443720] systemd[1]: [email protected]: Deactivated successfully.
[   11.468765] systemd[1]: Finished Load Kernel Module configfs.
[   11.499385] systemd[1]: [email protected]: Deactivated successfully.
[   11.520315] systemd[1]: Finished Load Kernel Module drm.
[   11.551433] systemd[1]: [email protected]: Deactivated successfully.
[   11.572560] systemd[1]: Finished Load Kernel Module fuse.
[   11.605289] systemd[1]: Finished Remount Root and Kernel File Systems.
[   11.632330] systemd[1]: Finished Apply Kernel Variables.
[   11.689472] systemd[1]: Mounting FUSE Control File System...
[   11.752572] systemd[1]: Mounting Kernel Configuration File System...
[   11.801063] systemd[1]: Condition check resulted in First Boot Wizard being skipped.
[   11.823524] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[   11.857185] systemd[1]: Starting Load/Save Random Seed...
[   11.892932] systemd[1]: Condition check resulted in Create System Users being skipped.
[   11.937663] systemd[1]: Starting Create Static Device Nodes in /dev...
[   12.003415] systemd[1]: Mounted FUSE Control File System.
[   12.045831] systemd[1]: Mounted Kernel Configuration File System.
[   12.092849] systemd[1]: Finished Load/Save Random Seed.
[   12.125914] systemd[1]: Condition check resulted in First Boot Complete being skipped.
[   12.508280] systemd[1]: Finished Create Static Device Nodes in /dev.
[   12.541251] systemd[1]: Reached target Preparation for Local File Systems.
[   12.572537] systemd[1]: Condition check resulted in Virtual Machine and Container Storage (Compatibility) being skipped.
[   12.596485] systemd[1]: Reached target Local File Systems.
[   12.645098] systemd[1]: Started Entropy Daemon based on the HAVEGE algorithm.
[   12.685883] systemd[1]: Condition check resulted in Rebuild Dynamic Linker Cache being skipped.
[   12.712612] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[   12.785238] systemd[1]: Starting Journal Service...
[   12.832662] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[   12.933054] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[   13.269859] systemd[1]: Finished Coldplug All udev Devices.
[   13.309326] audit: type=1130 audit(1630415567.580:2): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udev-trigger comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   13.730295] systemd[1]: Started Journal Service.
[   13.760074] audit: type=1130 audit(1630415568.028:3): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journald comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   13.864039] audit: type=1130 audit(1630415568.132:4): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-udevd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   13.968827] audit: type=1334 audit(1630415568.224:5): prog-id=10 op=LOAD
[   14.032042] systemd-journald[189]: Received client request to flush runtime journal.
[   14.072838] systemd-journald[189]: File /var/log/journal/626832e6293546039e6d556a4d97703e/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   14.836022] audit: type=1130 audit(1630415569.104:6): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-journal-flush comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   15.252257] audit: type=1130 audit(1630415569.520:7): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-networkd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   16.327399] audit: type=1130 audit(1630415570.596:8): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-tmpfiles-setup comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   16.414644] audit: type=1334 audit(1630415570.632:9): prog-id=11 op=LOAD
[   16.453100] audit: type=1334 audit(1630415570.720:10): prog-id=12 op=LOAD
[   16.751172] audit: type=1127 audit(1630415571.020:11): pid=205 uid=0 auid=4294967295 ses=4294967295 msg=' comm="systemd-update-utmp" exe="/usr/lib/systemd/systemd-update-utmp" hostname=? addr=? terminal=? res=success'
[   18.702466] kauditd_printk_skb: 1 callbacks suppressed
[   18.702502] audit: type=1130 audit(1632491732.804:13): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-timesyncd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   19.014724] audit: type=1130 audit(1632491733.116:14): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dbus comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   19.207444] audit: type=1334 audit(1632491733.308:15): prog-id=13 op=LOAD
[   19.242508] audit: type=1334 audit(1632491733.340:16): prog-id=14 op=LOAD
[   19.300959] audit: type=1334 audit(1632491733.340:17): prog-id=15 op=LOAD
[   19.392690] audit: type=1130 audit(1632491733.496:18): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-resolved comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   19.523489] audit: type=1130 audit(1632496335.072:19): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fake-hwclock comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   20.669797] audit: type=1130 audit(1632496336.220:20): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-logind comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   24.750813] Bluetooth: Core ver 2.22
[   24.800073] NET: Registered protocol family 31
[   24.843930] Bluetooth: HCI device and connection manager initialized
[   24.923327] Bluetooth: HCI socket layer initialized
[   24.971952] Bluetooth: L2CAP socket layer initialized
[   25.025563] Bluetooth: SCO socket layer initialized
[   25.283758] Bluetooth: HCI UART driver ver 2.3
[   25.335551] Bluetooth: HCI UART protocol H4 registered
[   25.372322] Bluetooth: HCI UART protocol LL registered
[   25.512702] Bluetooth: hci0: change remote baud rate command in firmware
[   25.523950] Bluetooth: HCI UART protocol ATH3K registered
[   25.570370] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   25.612756] Bluetooth: HCI UART protocol Broadcom registered
[   25.687428] Bluetooth: HCI UART protocol QCA registered
[   26.609598] audit: type=1130 audit(1632496342.160:21): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   26.733071] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   26.771455] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   27.647580] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   27.664659] wlcore: WARNING Detected unconfigured mac address in nvs, derive from fuse instead.
[   27.680056] wlcore: WARNING This default nvs file can be removed from the file system
[   27.715457] wlcore: loaded
[   28.009689] audit: type=1130 audit(1632496343.560:22): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=wpa_supplicant@wlan0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   28.164469] 8021q: 802.1Q VLAN Support v1.8
[   28.860145] wlcore: PHY firmware version: Rev 8.2.0.0.243
[   28.930217] wlcore: firmware booted (Rev 8.9.0.0.83)
[   29.798083] wlan0: authenticate with fc:d7:33:6f:38:78
[   29.813719] wlan0: send auth to fc:d7:33:6f:38:78 (try 1/3)
[   29.842417] wlan0: authenticated
[   29.848546] wlan0: associate with fc:d7:33:6f:38:78 (try 1/3)
[   29.860728] wlan0: RX AssocResp from fc:d7:33:6f:38:78 (capab=0x431 status=0 aid=4)
[   29.900203] wlan0: associated
[   30.035134] cryptd: max_cpu_qlen set to 1000
[   30.121400] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   30.151352] wlcore: Association completed.
[   32.782335] audit: type=1131 audit(1632496348.332:23): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   33.444022] Bluetooth: hci0: command 0xfe38 tx timeout
[   38.337639] audit: type=1130 audit(1632496353.888:24): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=dhcpcd@wlan0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   38.447521] audit: type=1130 audit(1632496353.996:25): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=sshd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   38.641639] audit: type=1130 audit(1632496354.192:26): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-user-sessions comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   38.721901] audit: type=1130 audit(1632496354.272:27): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=getty@tty1 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   38.789695] audit: type=1130 audit(1632496354.332:28): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=serial-getty@ttyS0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   41.444026] Bluetooth: hci0: send command failed
[   41.448826] Bluetooth: hci0: download firmware failed, retrying...
[   41.614173] Bluetooth: hci0: change remote baud rate command in firmware
[   65.476870] audit: type=1101 audit(1632496381.028:29): pid=334 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="root" exe="/usr/bin/sshd" hostname=192.168.0.223 addr=192.168.0.223 terminal=ssh res=success'
[   65.538363] audit: type=1103 audit(1632496381.076:30): pid=334 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sshd" hostname=192.168.0.223 addr=192.168.0.223 terminal=ssh res=success'
[   65.564840] audit: type=1006 audit(1632496381.080:31): pid=334 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1
[   65.585841] audit: type=1300 audit(1632496381.080:31): arch=40000028 syscall=4 per=800000 success=yes exit=1 a0=3 a1=bed89488 a2=1 a3=0 items=0 ppid=330 pid=334 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm="sshd" exe="/usr/bin/sshd" key=(null)
[   65.618857] audit: type=1327 audit(1632496381.080:31): proctitle=737368643A20726F6F74205B707269765D
[   90.643979] audit: type=1105 audit(1632498613.064:32): pid=334 uid=0 auid=0 ses=1 msg='op=PAM:session_open grantors=pam_loginuid,pam_keyinit,pam_limits,pam_unix,pam_permit,pam_mail,pam_env acct="root" exe="/usr/bin/sshd" hostname=192.168.0.223 addr=192.168.0.223 terminal=ssh res=success'
[   90.847522] audit: type=1110 audit(1632498613.268:33): pid=336 uid=0 auid=0 ses=1 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sshd" hostname=192.168.0.223 addr=192.168.0.223 terminal=ssh res=success'
[  125.075235] audit: type=1100 audit(1632498647.503:34): pid=333 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:authentication grantors=? acct="root" exe="/usr/bin/login" hostname=alarm addr=? terminal=/dev/ttyS0 res=failed'
[  130.395029] audit: type=1131 audit(1632498652.824:35): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=serial-getty@ttyS0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  130.661630] audit: type=1130 audit(1632498653.092:36): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=serial-getty@ttyS0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  130.717851] audit: type=1131 audit(1632498653.112:37): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=serial-getty@ttyS0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  130.765584] audit: type=1130 audit(1632498653.140:38): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=serial-getty@ttyS0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

find /dev -iname '*spi*' gives nothing

OS: Arch Linux ARM w/ linux-am33x 5.11.2
Device: BBGW
no cape installed
version.sh not found in bb.org-overlays.git

In the schematics I found SCHA5B0200.CD --> MMC0_CD --> AM3358BZCZ100.SPI0_CS1/MMC0_POW/MMC0_SDCD/... where SCHA5B0200 seems to be something related to the SD card reader

Is it possible to resolve the conflict by neutralizing the SD card reader?

The following is how I loaded the dtbo:

PC:

git clone https://github.com/beagleboard/bb.org-overlays
cd bb.org-overlays && {
   git clean -dfx
   make -j4 # V=1
   scp src/arm/BB-SPIDEV0-00A0.dtbo bbgw:/boot/BB-SPIDEV0-00A0.dtbo
}

minicom (through PL2303):

# Press space to abort autoboot

#  kernel_addr_r is 0x82000000
#     fdt_addr_r is 0x88000000
# ramdisk_addr_r is 0x88080000

load mmc 1:1 ${kernel_addr_r}  /boot/zImage
   # 5961976 bytes read

load mmc 1:1 ${fdt_addr_r}     /boot/dtbs/am335x-bonegreen-wireless.dtb
   # 88862 bytes read
fdt addr $fdt_addr_r

setenv overlayaddr 0x88070000
load mmc 1:1 ${overlayaddr}    /boot/BB-SPIDEV0-00A0.dtbo
   # 1515 bytes read
fdt resize 102400
fdt apply ${overlayaddr}

load mmc 1:1 ${ramdisk_addr_r} /boot/initramfs-linux.img
   # 6876350 bytes read
setenv ramdisk_size ${filesize}

part uuid mmc 1:1 uuid
setenv bootargs "console=tty0 console=${console} root=PARTUUID=${uuid} rw rootwait"
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${ramdisk_size} ${fdt_addr_r}

May I disable the SD card reader with some u-boot magic, or I have to either downgrade kernel or switch to some other distro?

PS: My ultimate goal is to flash X200 BIOS (winbond W25Q32BVSSIG) with BBGW instead of frying it with 5V CH341A

Thanks.

@RobertCNelson
Copy link
Member

RobertCNelson commented Sep 24, 2021

Your fighting with the pins used by grove header on this board: uart2:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/am335x-bonegreen-common.dtsi?h=v5.15-rc2#n24

&am33xx_pinmux {
	uart2_pins: uart2_pins {
		pinctrl-single,pins = <
			AM33XX_PADCONF(AM335X_PIN_SPI0_SCLK, PIN_INPUT, MUX_MODE1)	/* spi0_sclk.uart2_rxd */
			AM33XX_PADCONF(AM335X_PIN_SPI0_D0, PIN_OUTPUT, MUX_MODE1)	/* spi0_d0.uart2_txd */
		>;
	};
};

&uart2 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart2_pins>;
	status = "okay";
};

You can just remove it..

and there is a "hardware" bug on this board, when using spi:

Just "pop" the capacitor..

https://stackoverflow.com/questions/45620504/cannot-configure-spi0-on-beaglebone-green-wireless

Regards,

@Un1Gfn Un1Gfn changed the title BB-SPIDEV1-00A0.dtbo conflict BB-SPIDEV0-00A0.dtbo conflict Sep 25, 2021
@Un1Gfn
Copy link
Author

Un1Gfn commented Sep 25, 2021

(the previous one was SPIDEV0, title fixed)

SPIDEV1 seems to work

Using am335x-bonegreen.dtb (dts) instead of am335x-bonegreen-wireless.dtb and applying BB-SPIDEV1-00A0.dtbo instead of BB-SPIDEV0-00A0.dtbo, I get access to /dev/spidev1.x

# dmesg | grep -i pin
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129666
[    0.073109] pinctrl core: initialized pinctrl subsystem
[    2.959422] pinctrl-single 44e10800.pinmux: 142 pins, size 568

# flashrom -p linux_spi:dev=/dev/spidev1.0
flashrom v1.2 on Linux 5.11.2-1-ARCH (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Using default 2000kHz clock. Use 'spispeed' parameter to override.
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.

# flashrom -p linux_spi:dev=/dev/spidev1.1
flashrom v1.2 on Linux 5.11.2-1-ARCH (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Using default 2000kHz clock. Use 'spispeed' parameter to override.
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.

Can I use it without trouble?

Wi-Fi is obviously offline since they are in conflict w/ spi1 as follows:

AM3358BZCZ100.A13/SPI1_SCLK ‣ SPI1_SCLK ‣ TXS0108E.B1
AM3358BZCZ100.B13/SPI1_D0 ‣ SPI1_D0 ‣ TXS0108E.B2
AM3358BZCZ100.D12/SPI1_D1 ‣ SPI1_D1 ‣ TXS0108E.B3

, however, will the Wi-Fi chip "haunt" (e.g. capacitors inside TXS0108E?) spi1 even if it is dead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants