For code, I was using the example Main.c from this library: https://github.com/deeplyembeddedWP/BeagleBone-SPI-Library/tree/master/Example
uEnv.txt: #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=4.14.71-ti-r80 #uuid= #dtb= ###U-Boot Overlays### ###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays ###Master Enable enable_uboot_overlays=1 ### ###Overide capes with eeprom #uboot_overlay_addr0=/lib/firmware/<file0>.dtbo #uboot_overlay_addr1=/lib/firmware/<file1>.dtbo #uboot_overlay_addr2=/lib/firmware/<file2>.dtbo #uboot_overlay_addr3=/lib/firmware/<file3>.dtbo ### ###Additional custom capes uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo #uboot_overlay_addr4=/lib/firmware/<file4>.dtbo #uboot_overlay_addr5=/lib/firmware/<file5>.dtbo #uboot_overlay_addr6=/lib/firmware/<file6>.dtbo #uboot_overlay_addr7=/lib/firmware/<file7>.dtbo ### ###Custom Cape #dtb_overlay=/lib/firmware/<file8>.dtbo ### ###Disable auto loading of virtual capes (emmc/video/wireless/adc) #disable_uboot_overlay_emmc=1 disable_uboot_overlay_video=1 disable_uboot_overlay_audio=1 #disable_uboot_overlay_wireless=1 #disable_uboot_overlay_adc=1 ### ###PRUSS OPTIONS ###pru_rproc (4.4.x-ti kernel) #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo ###pru_rproc (4.14.x-ti kernel) uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo ###pru_uio (4.4.x-ti, 4.14.x-ti & mainline/bone kernel) #uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo ### ###Cape Universal Enable enable_uboot_cape_universal=1 ### ###Debug: disable uboot autoload of Cape #disable_uboot_overlay_addr0=1 #disable_uboot_overlay_addr1=1 #disable_uboot_overlay_addr2=1 #disable_uboot_overlay_addr3=1 ### ###U-Boot fdt tweaks... (60000 = 384KB) #uboot_fdt_buffer=0x60000 ###U-Boot Overlays### cmdline=coherent_pool=1M net.ifnames=0 quiet #In the event of edid real failures, uncomment this next line: #cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1024x768@60e #Use an overlayfs on top of a read-only root filesystem: #cmdline=coherent_pool=1M net.ifnames=0 quiet overlayroot=tmpfs ##enable Generic eMMC Flasher: ##make sure, these tools are installed: dosfstools rsync #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh dmesg: [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.14.71-ti-r80 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PREEMPT Fri Oct 5 23:50:11 UTC 2018 [ 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 Black [ 0.000000] Memory policy: Data cache writeback [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 48 MiB at 0x9c800000 [ 0.000000] On node 0 totalpages: 130560 [ 0.000000] free_area_init_node: node 0, pgdat c15ed180, node_mem_map df961000 [ 0.000000] Normal zone: 1148 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 130560 pages, LIFO batch:31 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (sgx neon) [ 0.000000] random: get_random_bytes called from start_kernel+0xac/0x458 with crng_init=0 [ 0.000000] percpu: Embedded 18 pages/cpu @df8e8000 s41548 r8192 d23988 u73728 [ 0.000000] pcpu-alloc: s41548 r8192 d23988 u73728 alloc=18*4096 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129412 [ 0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 440004K/522240K available (13312K kernel code, 1169K rwdata, 4364K rodata, 1024K init, 361K bss, 33084K reserved, 49152K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0000000 - 0xff800000 ( 504 MB) lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc0e00000 (14304 kB) .init : 0xc1400000 - 0xc1500000 (1024 kB) .data : 0xc1500000 - 0xc1624498 (1170 kB) .bss : 0xc162eb2c - 0xc1689000 ( 362 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] ftrace: allocating 42734 entries in 126 pages [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1. [ 0.000000] Tasks RCU enabled. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz [ 0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000045] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000055] OMAP clocksource: timer1 at 24000000 Hz [ 0.002065] timer_probe: no matching timers found [ 0.002410] Console: colour dummy device 80x30 [ 0.002439] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.002444] This ensures that you still see kernel messages. Please [ 0.002448] update your kernel commandline. [ 0.002476] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656) [ 0.021149] pid_max: default: 32768 minimum: 301 [ 0.021417] Security Framework initialized [ 0.021431] Yama: becoming mindful. [ 0.021473] AppArmor: AppArmor disabled by boot time parameter [ 0.021549] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.021560] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.022576] CPU: Testing write buffer coherency: ok [ 0.023083] CPU0: thread -1, cpu 0, socket -1, mpidr 0 [ 0.037240] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.045150] Hierarchical SRCU implementation. [ 0.056270] EFI services will not be available. [ 0.061154] smp: Bringing up secondary CPUs ... [ 0.061169] smp: Brought up 1 node, 1 CPU [ 0.061180] SMP: Total of 1 processors activated (995.32 BogoMIPS). [ 0.061186] CPU: All CPU(s) started in SVC mode. [ 0.062771] devtmpfs: initialized [ 0.097518] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.098000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.098027] futex hash table entries: 256 (order: 2, 16384 bytes) [ 0.101961] xor: measuring software checksum speed [ 0.141172] arm4regs : 1200.000 MB/sec [ 0.181127] 8regs : 1075.000 MB/sec [ 0.221125] 32regs : 988.000 MB/sec [ 0.261124] neon : 1624.000 MB/sec [ 0.261131] xor: using function: neon (1624.000 MB/sec) [ 0.261148] pinctrl core: initialized pinctrl subsystem [ 0.262389] NET: Registered protocol family 16 [ 0.266241] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.356159] omap_hwmod: debugss: _wait_target_disable failed [ 0.396834] cpuidle: using governor menu [ 0.403039] OMAP GPIO hardware version 0.1 [ 0.430391] No ATAGs? [ 0.430411] hw-breakpoint: debug architecture 0x4 unsupported. [ 0.431816] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.431831] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.525196] raid6: neonx2 gen() 1882 MB/s [ 0.593158] raid6: neonx2 xor() 1497 MB/s [ 0.593166] raid6: using algorithm neonx2 gen() 1882 MB/s [ 0.593172] raid6: .... xor() 1497 MB/s, rmw enabled [ 0.593178] raid6: using neon recovery algorithm [ 0.601238] edma 49000000.edma: TI EDMA DMA engine driver [ 0.608156] SCSI subsystem initialized [ 0.609322] libata version 3.00 loaded. [ 0.609623] usbcore: registered new interface driver usbfs [ 0.609697] usbcore: registered new interface driver hub [ 0.609812] usbcore: registered new device driver usb [ 0.610810] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 0.611788] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz [ 0.613105] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 0.613703] media: Linux media interface: v0.10 [ 0.613760] Linux video capture interface: v2.00 [ 0.613921] pps_core: LinuxPPS API ver. 1 registered [ 0.613929] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> [ 0.613950] PTP clock support registered [ 0.614600] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400 [ 0.617520] Advanced Linux Sound Architecture Driver Initialized. [ 0.618234] NetLabel: Initializing [ 0.618243] NetLabel: domain hash size = 128 [ 0.618249] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.618336] NetLabel: unlabeled traffic allowed by default [ 0.621622] clocksource: Switched to clocksource timer1 [ 0.785767] VFS: Disk quotas dquot_6.6.0 [ 0.785899] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.798685] NET: Registered protocol family 2 [ 0.799614] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 0.799661] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 0.799719] TCP: Hash tables configured (established 4096 bind 4096) [ 0.799837] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 0.799858] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 0.800077] NET: Registered protocol family 1 [ 0.809050] RPC: Registered named UNIX socket transport module. [ 0.809060] RPC: Registered udp transport module. [ 0.809066] RPC: Registered tcp transport module. [ 0.809071] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.810004] Unpacking initramfs... [ 1.017697] random: fast init done [ 1.074470] Freeing initrd memory: 4708K [ 1.075068] hw perfevents: no interrupt-affinity property for /pmu, guessing. [ 1.075285] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available [ 1.077469] audit: initializing netlink subsys (disabled) [ 1.078869] audit: type=2000 audit(1.080:1): state=initialized audit_enabled=0 res=1 [ 1.079007] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 1.084832] zbud: loaded [ 1.092597] NFS: Registering the id_resolver key type [ 1.092648] Key type id_resolver registered [ 1.092654] Key type id_legacy registered [ 1.092673] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 1.093028] fuse init (API version 7.26) [ 1.093718] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 1.104692] Key type asymmetric registered [ 1.104708] Asymmetric key parser 'x509' registered [ 1.104838] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 1.109160] io scheduler noop registered [ 1.109172] io scheduler deadline registered [ 1.109571] io scheduler cfq registered (default) [ 1.109580] io scheduler mq-deadline registered [ 1.112367] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568 [ 1.124635] gpio-of-helper ocp:cape-universal: ready [ 1.135853] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle [ 1.138560] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled [ 1.142349] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250 [ 1.154184] console [ttyS0] enabled [ 1.155302] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 31, base_baud = 3000000) is a 8250 [ 1.156256] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 32, base_baud = 3000000) is a 8250 [ 1.157198] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 33, base_baud = 3000000) is a 8250 [ 1.158320] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 34, base_baud = 3000000) is a 8250 [ 1.159307] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 35, base_baud = 3000000) is a 8250 [ 1.162897] omap_rng 48310000.rng: Random Number Generator ver. 20 [ 1.164217] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0 [ 1.164338] usbcore: registered new interface driver udl [ 1.172724] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.173033] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.173260] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.173466] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.174226] eqep 48300180.eqep: ver. 1.0 [ 1.174416] eqep 48300180.eqep: count_mode:0 [ 1.174426] eqep 48300180.eqep: invert_qa:1 [ 1.174435] eqep 48300180.eqep: invert_qb:1 [ 1.174443] eqep 48300180.eqep: invert_qi:0 [ 1.174452] eqep 48300180.eqep: invert_qs:0 [ 1.174460] eqep 48300180.eqep: swap_inputs:0 [ 1.174469] eqep 48300180.eqep: QDECCTL:0x0180 [ 1.174478] eqep 48300180.eqep: QPOSINIT:0x00000000 [ 1.174486] eqep 48300180.eqep: QPOSMAX:0xffffffff [ 1.174493] eqep 48300180.eqep: QPOSCNT:0x00000000 [ 1.174502] eqep 48300180.eqep: omit_interrupt:0 [ 1.174509] eqep 48300180.eqep: QEINT:0x0800 [ 1.174517] eqep 48300180.eqep: QUPRD:0x05f5e100 [ 1.174524] eqep 48300180.eqep: QEPCTL:0x009e write [ 1.174532] eqep 48300180.eqep: QEPCTL:0x009e read [ 1.174557] eqep 48300180.eqep: irq:132, clk_rate:100000000 [ 1.174798] eqep 48302180.eqep: ver. 1.0 [ 1.174908] eqep 48302180.eqep: count_mode:0 [ 1.174918] eqep 48302180.eqep: invert_qa:1 [ 1.174926] eqep 48302180.eqep: invert_qb:1 [ 1.174934] eqep 48302180.eqep: invert_qi:0 [ 1.174942] eqep 48302180.eqep: invert_qs:0 [ 1.174950] eqep 48302180.eqep: swap_inputs:0 [ 1.174958] eqep 48302180.eqep: QDECCTL:0x0180 [ 1.174966] eqep 48302180.eqep: QPOSINIT:0x00000000 [ 1.174973] eqep 48302180.eqep: QPOSMAX:0xffffffff [ 1.174981] eqep 48302180.eqep: QPOSCNT:0x00000000 [ 1.174989] eqep 48302180.eqep: omit_interrupt:0 [ 1.174996] eqep 48302180.eqep: QEINT:0x0800 [ 1.175004] eqep 48302180.eqep: QUPRD:0x05f5e100 [ 1.175011] eqep 48302180.eqep: QEPCTL:0x009e write [ 1.175019] eqep 48302180.eqep: QEPCTL:0x009e read [ 1.175039] eqep 48302180.eqep: irq:134, clk_rate:100000000 [ 1.175223] eqep 48304180.eqep: ver. 1.0 [ 1.175324] eqep 48304180.eqep: count_mode:0 [ 1.175333] eqep 48304180.eqep: invert_qa:1 [ 1.175342] eqep 48304180.eqep: invert_qb:1 [ 1.175349] eqep 48304180.eqep: invert_qi:0 [ 1.175358] eqep 48304180.eqep: invert_qs:0 [ 1.175366] eqep 48304180.eqep: swap_inputs:0 [ 1.175373] eqep 48304180.eqep: QDECCTL:0x0180 [ 1.175381] eqep 48304180.eqep: QPOSINIT:0x00000000 [ 1.175389] eqep 48304180.eqep: QPOSMAX:0xffffffff [ 1.175396] eqep 48304180.eqep: QPOSCNT:0x00000000 [ 1.175404] eqep 48304180.eqep: omit_interrupt:0 [ 1.175411] eqep 48304180.eqep: QEINT:0x0800 [ 1.175418] eqep 48304180.eqep: QUPRD:0x05f5e100 [ 1.175426] eqep 48304180.eqep: QEPCTL:0x009e write [ 1.175433] eqep 48304180.eqep: QEPCTL:0x009e read [ 1.175451] eqep 48304180.eqep: irq:136, clk_rate:100000000 [ 1.230722] libphy: Fixed MDIO Bus: probed [ 1.231602] CAN device driver interface [ 1.232930] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=42) [ 1.234149] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=43) [ 1.289755] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000 [ 1.289772] davinci_mdio 4a101000.mdio: detected phy mask fffffffe [ 1.290764] MDIO: davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe] [ 1.305211] libphy: 4a101000.mdio: probed [ 1.305239] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720 [ 1.306664] cpsw 4a100000.ethernet: Detected MACID = c4:f3:12:71:9c:dd [ 1.306790] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4 [ 1.306801] cpsw 4a100000.ethernet: ALE Table size 1024 [ 1.306869] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies) [ 1.310990] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.311050] ehci-platform: EHCI generic platform driver [ 1.311445] ehci-omap: OMAP-EHCI Host Controller driver [ 1.312460] usbcore: registered new interface driver usb-storage [ 1.316042] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator [ 1.319640] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator [ 1.324228] musb-hdrc musb-hdrc.1: MUSB HDRC host driver [ 1.324283] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1 [ 1.324616] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.324626] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.324635] usb usb1: Product: MUSB HDRC host driver [ 1.324642] usb usb1: Manufacturer: Linux 4.14.71-ti-r80 musb-hcd [ 1.324650] usb usb1: SerialNumber: musb-hdrc.1 [ 1.325801] hub 1-0:1.0: USB hub found [ 1.325879] hub 1-0:1.0: 1 port detected [ 1.338544] omap_rtc 44e3e000.rtc: registered as rtc0 [ 1.340092] i2c /dev entries driver [ 1.341306] Driver for 1-wire Dallas network protocol. [ 1.344990] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 1.345742] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) [ 1.347425] cpuidle: enable-method property 'ti,am3352' found operations [ 1.348342] sdhci: Secure Digital Host Controller Interface driver [ 1.348349] sdhci: Copyright(c) Pierre Ossman [ 1.349375] omap_hsmmc 48060000.mmc: Got CD GPIO [ 1.430425] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.433050] ledtrig-cpu: registered to indicate activity on CPUs [ 1.433799] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2 [ 1.434201] omap-aes 53500000.aes: will run requests pump with realtime priority [ 1.440200] omap-sham 53100000.sham: hw accel on OMAP rev 4.3 [ 1.444479] hidraw: raw HID events driver (C) Jiri Kosina [ 1.445420] usbcore: registered new interface driver usbhid [ 1.445428] usbhid: USB HID core driver [ 1.449121] remoteproc remoteproc0: wkup_m3 is available [ 1.457969] wireguard: WireGuard 0.0.20180925 loaded. See www.wireguard.com for information. [ 1.457982] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <[email protected]>. All Rights Reserved. [ 1.458821] NET: Registered protocol family 10 [ 1.464412] Segment Routing with IPv6 [ 1.464499] mip6: Mobile IPv6 [ 1.464520] NET: Registered protocol family 17 [ 1.464538] can: controller area network core (rev 20170425 abi 9) [ 1.464626] NET: Registered protocol family 29 [ 1.464754] Key type dns_resolver registered [ 1.464761] mpls_gso: MPLS GSO support [ 1.465048] omap_voltage_late_init: Voltage driver support not added [ 1.472328] PM: Cannot get wkup_m3_ipc handle [ 1.477122] ThumbEE CPU extension supported. [ 1.477149] Registering SWP/SWPB emulation handler [ 1.478464] registered taskstats version 1 [ 1.478597] zswap: loaded using pool lzo/zbud [ 1.481018] Btrfs loaded, crc32c=crc32c-generic [ 1.481125] ima: No TPM chip found, activating TPM-bypass! (rc=-19) [ 1.481150] ima: Allocated hash algorithm: sha256 [ 1.495145] mmc1: new high speed MMC card at address 0001 [ 1.496238] mmcblk1: mmc1:0001 M62704 3.56 GiB [ 1.496696] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB [ 1.497077] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB [ 1.497461] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB [ 1.499087] mmcblk1: p1 [ 1.528084] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0 [ 1.528690] tps65217 0-0024: TPS65217 ID 0xe version 1.2 [ 1.529184] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write [ 1.529296] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz [ 1.531129] remoteproc remoteproc0: powering up wkup_m3 [ 1.531261] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168 [ 1.535647] remoteproc remoteproc0: remote processor wkup_m3 is now up [ 1.535665] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193 [ 1.538681] PM: bootloader does not support rtc-only! [ 1.540002] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800) [ 1.540018] of_cfs_init [ 1.540178] of_cfs_init: OK [ 1.541519] ALSA device list: [ 1.541528] No soundcards found. [ 1.546516] Freeing unused kernel memory: 1024K [ 2.001573] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 2.002685] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 2.002799] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 8.117826] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null) [ 8.574768] systemd[1]: System time before build time, advancing clock. [ 8.649142] ip_tables: (C) 2000-2006 Netfilter Core Team [ 8.681885] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 8.682635] systemd[1]: Detected architecture arm. [ 8.683863] systemd[1]: Set hostname to <beaglebone>. [ 9.347929] systemd[1]: Listening on fsck to fsckd communication Socket. [ 9.348697] systemd[1]: Reached target Remote File Systems. [ 9.350713] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 9.351571] systemd[1]: Listening on Journal Audit Socket. [ 9.352037] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 9.352473] systemd[1]: Listening on udev Control Socket. [ 9.352855] systemd[1]: Listening on Syslog Socket. [ 9.744275] pruss 4a300000.pruss: creating PRU cores and other child platform devices [ 9.783590] remoteproc remoteproc1: 4a334000.pru is available [ 9.783714] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully [ 9.785429] remoteproc remoteproc2: 4a338000.pru is available [ 9.785536] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully [ 9.831249] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro [ 11.072790] systemd-journald[525]: Received request to flush runtime journal from PID 1 [ 16.818679] random: crng init done [ 16.818705] random: 7 urandom warning(s) missed due to ratelimiting [ 17.717111] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) [ 19.057852] using random self ethernet address [ 19.057872] using random host ethernet address [ 19.183849] net eth0: initializing cpsw version 1.12 (0) [ 19.287074] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL) [ 19.289525] using random self ethernet address [ 19.289539] using random host ethernet address [ 19.385795] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 19.992854] Mass Storage Function, version: 2009/09/11 [ 19.992881] LUN: removable file: (no medium) [ 20.502036] usb0: HOST MAC c4:f3:12:71:9c:de [ 20.504836] usb0: MAC c4:f3:12:71:9c:df [ 20.523727] usb1: HOST MAC c4:f3:12:71:9c:e1 [ 20.526441] usb1: MAC c4:f3:12:71:9c:e2 [ 20.916211] configfs-gadget gadget: high-speed config #1: c [ 21.381367] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready [ 21.533877] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready [ 21.577523] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready [ 1420.191199] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off [ 1420.191281] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 1420.366129] 8021q: 802.1Q VLAN Support v1.8 [ 1420.366208] 8021q: adding VLAN 0 to HW filter on device eth0 On Wednesday, February 27, 2019 at 3:58:28 PM UTC-5, acheesehead wrote: > > Please share your uEnv and code. An output of the console during boot > would be helpful as well. I am struggling with the same problem on the > Octavo Red development board (a PocketBeagle with more stuff). Oscilloscope > hooked up to SPI_CS1. No pulses when doing a transfer and the signal is > low...should be high with no activity. I don't believe the pins are mux'd > correctly. Or, clocks are not being provided to the peripheral. I am used > to working with QNX using register level operations to mux the pins, turn > on the clocks and control the SPI bus. That works. Trying out Linux at the > moment as an experiment. > > On Tuesday, February 26, 2019 at 8:16:38 AM UTC-7, Lee wrote: >> >> Hello, >> >> I have been attempting to write C code for using SPI with the BBB. I am >> manipulating spidev (in my case spidev1.0) with ioctl() however I am unable >> to get SPI working. All of the libraries I have tried to use with a similar >> method also don't seem to work (e.g. >> https://github.com/deeplyembeddedWP/BeagleBone-SPI-Library, >> https://github.com/photomankc/BeagleBone-Black-Robot-Library/blob/master/motors/l6470.h). >> >> When I hook up the BBB SPI1 pins to the scope, there is no output. >> >> I have disabled the HDMI boot overlays (audio and video) and enabled the >> SPI1 overlay. I am able to see signals on the scope with the >> Python Adafruit_BBIO.SPI library but with this method I have been >> unsuccessful. Is there something else to setup? >> >> uname -r: >> 4.14.71-ti-r80 >> >> Thanks! >> >> >> >> >> -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/28131c54-a272-46f2-a58a-7578289ac872%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
