-
Notifications
You must be signed in to change notification settings - Fork 566
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
Enabling pins/ports (uart) on Beaglebone Black A5C with Ubuntu 18.04 #175
Comments
kernel:[4.14.44-ti-r51]
device-tree-override:[dtb=am335x-boneblack-overlay.dtb]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/BB-BELA-B2.dtbo]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-UART1-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr1=/lib/firmware/BB-UART2-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr2=/lib/firmware/BB-UART4-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr3=/lib/firmware/BB-UART5-00A0.dtbo] In v4.14.x specifying ^ those disables config-pin.. Regards, |
@BBB-noob ps i've been posting ROS Melodic Morenia weekly images for awhile now here: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#ROS_.28ROS_Melodic_Morenia.29_-_Weekly Everything is really setup for ROS.. Regards, |
Thanks a lot for the answer. Indeed, the already-setup image works perfectly on BBB. I tried it before but now I realised my sd card was dying and could not be read properly. But it worked with a new one. I was wondering if there was a similar image with Ubuntu 16.04 and ROS Kinetic? |
Here is the latest images: Please consider posting a question on the BeagleBoard.org community mailing list: |
Hi!
After many attempts with the various answers already given, I have to resign myself and ask the community for help.
My project uses Ubuntu 18.04 with the kernel 4.14.44-ti-r51 on a Beaglebone Black A5C. Ultimately I am working on ROS but my first goal is to make the pins work properly first, especially by enabling the uart ports for example. I tried the config-pin method, tuning the boot/uEnv.txt file to enable them when booting, loading the beaglebone-universal-io from https://github.com/cdsteinkuehler/beaglebone-universal-io... It seems that in all cases, the pinmux file of the pin I'm trying to change is not found (and I tried several) and that I should verify your device tree file.
I had the same issue on Ubuntu 16.04 and got rid of these issues by switching to Debian 9.3. But now I really need to use Ubuntu (ROS-related) so I would like to have the same possibilities in terms of pins-controlling as with Debian 9.3.
I tried many updates on the file /boot/uEnv.txt but every time, the same error occurs, when I try to set the ports to uart, it give me that:
ubuntu@arm:~$ config-pin P9.11 uart
P9_11 pinmux file not found!
Please verify your device tree file
Right now, /bootuEnv.txt looks like:
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.14.44-ti-r51
#uuid=
#dtb=
##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)
##BeagleBone Black: HDMI (Audio/Video) disabled:
#dtb=am335x-boneblack-emmc-overlay.dtb
##BeagleBone Black: eMMC disabled:
#dtb=am335x-boneblack-hdmi-overlay.dtb
##BeagleBone Black: HDMI Audio/eMMC disabled:
#dtb=am335x-boneblack-nhdmi-overlay.dtb
##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled:
dtb=am335x-boneblack-overlay.dtb
##BeagleBone Black: wl1835
#dtb=am335x-boneblack-wl1835mod.dtb
##BeagleBone Green: eMMC disabled
#dtb=am335x-bonegreen-overlay.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/BB-BELA-B2.dtbo
uboot_overlay_addr4=/lib/firmware/BB-UART1-00A0.dtbo
uboot_overlay_addr1=/lib/firmware/BB-UART2-00A0.dtbo
uboot_overlay_addr2=/lib/firmware/BB-UART4-00A0.dtbo
uboot_overlay_addr3=/lib/firmware/BB-UART5-00A0.dtbo
#uboot_overlay_addr0=/lib/firmware/.dtbo
#uboot_overlay_addr1=/lib/firmware/.dtbo
#uboot_overlay_addr2=/lib/firmware/.dtbo
#uboot_overlay_addr3=/lib/firmware/.dtbo
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/.dtbo
#uboot_overlay_addr5=/lib/firmware/.dtbo
#uboot_overlay_addr6=/lib/firmware/.dtbo
#uboot_overlay_addr7=/lib/firmware/.dtbo
###Custom Cape
#dtb_overlay=/lib/firmware/.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.9.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-9-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.9.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
cape_enable=bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4.BB-UART5
###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
##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
Here are everything I could think of and which might help you understanding my concern:
ubuntu@arm:~$ uname -r
4.14.44-ti-r51
ubuntu@arm:~$ dpkg --print-architecture
armhf
ubuntu@arm:~$ cat /etc/dogtag
rcn-ee.net console Ubuntu Image 2018-06-08
ubuntu@arm:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
ubuntu@arm:~$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.44-ti-r51 (root@b2-am57xx-beagle-x15-2gb) (gcc version 7.3.0 (Ubuntu/Linaro 7.3.0-16ubuntu3)) #1 SMP PREEMPT Fri Jun 1 04:59:10 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 c15ed380, 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.0 (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 @df924000 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.enable_partno=BB-UART1,BB-UART2,BB-UART4.BB-UART5 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: 438268K/522240K available (13312K kernel code, 1168K rwdata, 4372K rodata, 1024K init, 673K bss, 34820K 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 - 0xc1624390 (1169 kB)
.bss : 0xc162eb5c - 0xc16d6f9c ( 674 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] ftrace: allocating 42868 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.000017] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000044] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000846] timer_probe: no matching timers found
[ 0.001078] Console: colour dummy device 80x30
[ 0.001105] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.001109] This ensures that you still see kernel messages. Please
[ 0.001113] update your kernel commandline.
[ 0.001137] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[ 0.046780] pid_max: default: 32768 minimum: 301
[ 0.047047] Security Framework initialized
[ 0.047062] Yama: becoming mindful.
[ 0.047101] AppArmor: AppArmor disabled by boot time parameter
[ 0.047296] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.047308] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048326] CPU: Testing write buffer coherency: ok
[ 0.048833] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.062887] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.070799] Hierarchical SRCU implementation.
[ 0.081931] EFI services will not be available.
[ 0.086805] smp: Bringing up secondary CPUs ...
[ 0.086817] smp: Brought up 1 node, 1 CPU
[ 0.086828] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.086835] CPU: All CPU(s) started in SVC mode.
[ 0.088421] devtmpfs: initialized
[ 0.107201] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.107672] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.107698] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.111711] xor: measuring software checksum speed
[ 0.150839] arm4regs : 1217.000 MB/sec
[ 0.190778] 8regs : 1091.000 MB/sec
[ 0.230776] 32regs : 1170.000 MB/sec
[ 0.270775] neon : 1670.000 MB/sec
[ 0.270783] xor: using function: neon (1670.000 MB/sec)
[ 0.270799] pinctrl core: initialized pinctrl subsystem
[ 0.271611] DMI not present or invalid.
[ 0.272060] NET: Registered protocol family 16
[ 0.276015] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.306648] omap_hwmod: debugss: _wait_target_disable failed
[ 0.347373] cpuidle: using governor menu
[ 0.354203] OMAP GPIO hardware version 0.1
[ 0.369987] No ATAGs?
[ 0.370006] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.370398] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.370409] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.462855] raid6: neonx2 gen() 1885 MB/s
[ 0.530800] raid6: neonx2 xor() 1507 MB/s
[ 0.530808] raid6: using algorithm neonx2 gen() 1885 MB/s
[ 0.530814] raid6: .... xor() 1507 MB/s, rmw enabled
[ 0.530820] raid6: using neon recovery algorithm
[ 0.538244] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.541803] SCSI subsystem initialized
[ 0.542981] libata version 3.00 loaded.
[ 0.543274] usbcore: registered new interface driver usbfs
[ 0.543330] usbcore: registered new interface driver hub
[ 0.543450] usbcore: registered new device driver usb
[ 0.544088] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.544145] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c1_pins, deferring probe
[ 0.545628] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 0.545907] media: Linux media interface: v0.10
[ 0.545954] Linux video capture interface: v2.00
[ 0.546107] pps_core: LinuxPPS API ver. 1 registered
[ 0.546114] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.546135] PTP clock support registered
[ 0.546264] dmi: Firmware registration failed.
[ 0.546745] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.551132] Advanced Linux Sound Architecture Driver Initialized.
[ 0.551832] NetLabel: Initializing
[ 0.551842] NetLabel: domain hash size = 128
[ 0.551846] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.551942] NetLabel: unlabeled traffic allowed by default
[ 0.555301] clocksource: Switched to clocksource timer1
[ 0.721777] VFS: Disk quotas dquot_6.6.0
[ 0.721891] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.733997] NET: Registered protocol family 2
[ 0.734902] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.734949] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.735007] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.735120] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.735142] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.735467] NET: Registered protocol family 1
[ 0.744346] RPC: Registered named UNIX socket transport module.
[ 0.744356] RPC: Registered udp transport module.
[ 0.744361] RPC: Registered tcp transport module.
[ 0.744366] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.745054] Unpacking initramfs...
[ 1.019364] random: fast init done
[ 1.130858] Freeing initrd memory: 6564K
[ 1.131719] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 1.131928] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 1.133727] audit: initializing netlink subsys (disabled)
[ 1.134932] audit: type=2000 audit(1.132:1): state=initialized audit_enabled=0 res=1
[ 1.135068] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 1.140955] zbud: loaded
[ 1.148317] NFS: Registering the id_resolver key type
[ 1.148364] Key type id_resolver registered
[ 1.148371] Key type id_legacy registered
[ 1.148387] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.148732] fuse init (API version 7.26)
[ 1.149599] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 1.149798] orangefs_init: module version upstream loaded
[ 1.149807] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.160473] Key type asymmetric registered
[ 1.160488] Asymmetric key parser 'x509' registered
[ 1.160626] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 1.164963] io scheduler noop registered
[ 1.164973] io scheduler deadline registered
[ 1.165356] io scheduler cfq registered (default)
[ 1.165367] io scheduler mq-deadline registered
[ 1.167108] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 1.168742] gpio-of-helper ocp:cape-universal: ready
[ 1.171892] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 1.173379] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.177023] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 38, base_baud = 3000000) is a 8250
[ 1.193401] console [ttyS0] enabled
[ 1.194611] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 39, base_baud = 3000000) is a 8250
[ 1.195803] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 40, base_baud = 3000000) is a 8250
[ 1.196872] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 41, base_baud = 3000000) is a 8250
[ 1.197871] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 42, base_baud = 3000000) is a 8250
[ 1.200647] omap_rng 48310000.rng: Random Number Generator ver. 20
[ 1.201659] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
[ 1.201782] usbcore: registered new interface driver udl
[ 1.206801] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.207101] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.207508] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.207736] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.211909] pinctrl-single 44e10800.pinmux: pin PIN84 already requested by 48024000.serial; cannot claim for 48030000.spi
[ 1.223012] pinctrl-single 44e10800.pinmux: pin-84 (48030000.spi) status -22
[ 1.230126] pinctrl-single 44e10800.pinmux: could not request pin 84 (PIN84) from group pinmux_bela_spi0_pins on device pinctrl-single
[ 1.242378] omap2_mcspi 48030000.spi: Error applying setting, reverse things back
[ 1.250000] omap2_mcspi: probe of 48030000.spi failed with error -22
[ 1.250872] libphy: Fixed MDIO Bus: probed
[ 1.251796] CAN device driver interface
[ 1.303403] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 1.303419] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 1.303878] davinci_mdio: dt: updated phy_id[0] from phy_mask[fffffffe]
[ 1.318157] libphy: 4a101000.mdio: probed
[ 1.318184] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 1.319200] cpsw 4a100000.ethernet: Detected MACID = c8:a0:30:c4:4c:93
[ 1.319621] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 1.319632] cpsw 4a100000.ethernet: ALE Table size 1024
[ 1.319681] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[ 1.322251] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.322311] ehci-platform: EHCI generic platform driver
[ 1.322531] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.323136] usbcore: registered new interface driver usb-storage
[ 1.325982] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[ 1.329053] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 1.343810] omap_rtc 44e3e000.rtc: already running
[ 1.344598] omap_rtc 44e3e000.rtc: registered as rtc0
[ 1.345735] i2c /dev entries driver
[ 1.348739] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.349211] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
[ 1.350374] cpuidle: enable-method property 'ti,am3352' found operations
[ 1.350940] sdhci: Secure Digital Host Controller Interface driver
[ 1.350947] sdhci: Copyright(c) Pierre Ossman
[ 1.351509] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.431706] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.433147] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.433608] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.434069] omap-aes 53500000.aes: will run requests pump with realtime priority
[ 1.439969] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.443816] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.445703] usbcore: registered new interface driver usbhid
[ 1.445711] usbhid: USB HID core driver
[ 1.447768] remoteproc remoteproc0: wkup_m3 is available
[ 1.455492] wireguard: WireGuard 0.0.20180531 loaded. See www.wireguard.com for information.
[ 1.455505] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 1.456349] NET: Registered protocol family 10
[ 1.462063] Segment Routing with IPv6
[ 1.462160] mip6: Mobile IPv6
[ 1.462175] NET: Registered protocol family 17
[ 1.462193] can: controller area network core (rev 20170425 abi 9)
[ 1.462284] NET: Registered protocol family 29
[ 1.462380] Key type dns_resolver registered
[ 1.462387] mpls_gso: MPLS GSO support
[ 1.462397] NET: Registered protocol family 44
[ 1.462756] omap_voltage_late_init: Voltage driver support not added
[ 1.469868] ThumbEE CPU extension supported.
[ 1.469895] Registering SWP/SWPB emulation handler
[ 1.470987] registered taskstats version 1
[ 1.471201] zswap: loaded using pool lzo/zbud
[ 1.473753] Btrfs loaded, crc32c=crc32c-generic
[ 1.473847] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[ 1.485751] mmc1: new high speed MMC card at address 0001
[ 1.486640] mmcblk1: mmc1:0001 MMC02G 1.79 GiB
[ 1.487082] mmcblk1boot0: mmc1:0001 MMC02G partition 1 1.00 MiB
[ 1.487579] mmcblk1boot1: mmc1:0001 MMC02G partition 2 1.00 MiB
[ 1.487968] mmcblk1rpmb: mmc1:0001 MMC02G partition 3 128 KiB
[ 1.490993] mmcblk1: p1
[ 1.517043] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[ 1.517648] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.518135] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.518504] pinctrl-single 44e10800.pinmux: pin PIN48 already requested by 481aa000.serial; cannot claim for 0-0070
[ 1.529101] pinctrl-single 44e10800.pinmux: pin-48 (0-0070) status -22
[ 1.535706] pinctrl-single 44e10800.pinmux: could not request pin 48 (PIN48) from group nxp_hdmi_bonelt_pins on device pinctrl-single
[ 1.547886] tda998x 0-0070: Error applying setting, reverse things back
[ 1.554586] tda998x: probe of 0-0070 failed with error -22
[ 1.554841] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.555108] pinctrl-single 44e10800.pinmux: pin PIN96 already requested by 48022000.serial; cannot claim for 4802a000.i2c
[ 1.566185] pinctrl-single 44e10800.pinmux: pin-96 (4802a000.i2c) status -22
[ 1.573298] pinctrl-single 44e10800.pinmux: could not request pin 96 (PIN96) from group pinmux_i2c1_pins on device pinctrl-single
[ 1.585114] omap_i2c 4802a000.i2c: Error applying setting, reverse things back
[ 1.592411] omap_i2c: probe of 4802a000.i2c failed with error -22
[ 1.594579] remoteproc remoteproc0: powering up wkup_m3
[ 1.594702] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[ 1.599565] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 1.599584] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[ 1.605121] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 1.605161] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 1.605500] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.605511] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.605519] usb usb1: Product: MUSB HDRC host driver
[ 1.605527] usb usb1: Manufacturer: Linux 4.14.44-ti-r51 musb-hcd
[ 1.605534] usb usb1: SerialNumber: musb-hdrc.1
[ 1.606368] hub 1-0:1.0: USB hub found
[ 1.606440] hub 1-0:1.0: 1 port detected
[ 1.611133] omap_rtc 44e3e000.rtc: setting system clock to 2018-07-11 17:37:52 UTC (1531330672)
[ 1.611153] of_cfs_init
[ 1.611542] of_cfs_init: OK
[ 1.612253] ALSA device list:
[ 1.612261] No soundcards found.
[ 1.616694] Freeing unused kernel memory: 1024K
[ 5.394686] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)
[ 6.181553] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 6.223460] systemd[1]: systemd 237 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)
[ 6.224170] systemd[1]: Detected architecture arm.
[ 6.253874] systemd[1]: Set hostname to .
[ 7.192855] random: systemd: uninitialized urandom read (16 bytes read)
[ 7.194653] systemd[1]: Created slice System Slice.
[ 7.196004] random: systemd: uninitialized urandom read (16 bytes read)
[ 7.197195] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 7.197418] random: systemd: uninitialized urandom read (16 bytes read)
[ 7.198286] systemd[1]: Listening on Journal Socket.
[ 7.208713] systemd[1]: Starting Load Kernel Modules...
[ 7.209649] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 7.229365] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 7.231182] systemd[1]: Listening on Journal Audit Socket.
[ 8.095377] EXT4-fs (mmcblk1p1): re-mounted. Opts: errors=remount-ro
[ 8.856934] systemd-journald[287]: Received request to flush runtime journal from PID 1
[ 14.393781] Bluetooth: Core ver 2.22
[ 14.393916] NET: Registered protocol family 31
[ 14.393924] Bluetooth: HCI device and connection manager initialized
[ 14.393955] Bluetooth: HCI socket layer initialized
[ 14.393973] Bluetooth: L2CAP socket layer initialized
[ 14.394062] Bluetooth: SCO socket layer initialized
[ 15.429530] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[ 16.645267] using random self ethernet address
[ 16.645285] using random host ethernet address
[ 16.752142] net eth0: initializing cpsw version 1.12 (0)
[ 16.824758] SMSC LAN8710/LAN8720 4a101000.mdio:00: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:00, irq=POLL)
[ 16.840416] using random self ethernet address
[ 16.840434] using random host ethernet address
[ 16.881096] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.283733] usb0: HOST MAC c8:a0:30:c4:4c:94
[ 17.291790] usb0: MAC c8:a0:30:c4:4c:95
[ 17.307062] usb1: HOST MAC c8:a0:30:c4:4c:97
[ 17.308234] usb1: MAC c8:a0:30:c4:4c:98
[ 17.763466] configfs-gadget gadget: high-speed config #1: c
[ 24.685176] random: crng init done
[ 24.685200] random: 7 urandom warning(s) missed due to ratelimiting
[ 33.148848] hrtimer: interrupt took 304250 ns
ubuntu@arm:~$ sudo config-pin overlay cape-universala
grep: /sys/devices/platform/bone_capemgr/slots: No such file or directory
Loading cape-universala overlay
bash: /sys/devices/platform/bone_capemgr/slots: Permission denied
Error loading device tree overlay file: cape-universala
ubuntu@arm:
$ sudo /opt/scripts/tools/version.shbionic+20180605]git:/opt/scripts/:[5d0cce48cbd05aafa0d1e7cc1583f5f9a57c199c]
eeprom:[A335BNLT0A5C3313BBBK2128]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[rcn-ee.net console Ubuntu Image 2018-06-08]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2018.03-00002-gac9cce7c6a]:[location: dd MBR]
kernel:[4.14.44-ti-r51]
device-tree-override:[dtb=am335x-boneblack-overlay.dtb]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/BB-BELA-B2.dtbo]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-UART1-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr1=/lib/firmware/BB-UART2-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr2=/lib/firmware/BB-UART4-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr3=/lib/firmware/BB-UART5-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_emmc=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.4.20180605.0-0rcnee0
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0
bionic+20180517]bionic+20180515]pkg:[kmod]:[24-1ubuntu3rcnee0
WARNING:pkg:[roboticscape]:[NOT_INSTALLED]
groups:[ubuntu : ubuntu adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal bluetooth netdev i2c gpio pwm eqep admin spi tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4.BB-UART5 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[ 1.167108] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 1.211909] pinctrl-single 44e10800.pinmux: pin PIN84 already requested by 48024000.serial; cannot claim for 48030000.spi
[ 1.223012] pinctrl-single 44e10800.pinmux: pin-84 (48030000.spi) status -22
[ 1.230126] pinctrl-single 44e10800.pinmux: could not request pin 84 (PIN84) from group pinmux_bela_spi0_pins on device pinctrl-single
[ 1.518504] pinctrl-single 44e10800.pinmux: pin PIN48 already requested by 481aa000.serial; cannot claim for 0-0070
[ 1.529101] pinctrl-single 44e10800.pinmux: pin-48 (0-0070) status -22
[ 1.535706] pinctrl-single 44e10800.pinmux: could not request pin 48 (PIN48) from group nxp_hdmi_bonelt_pins on device pinctrl-single
[ 1.555108] pinctrl-single 44e10800.pinmux: pin PIN96 already requested by 48022000.serial; cannot claim for 4802a000.i2c
[ 1.566185] pinctrl-single 44e10800.pinmux: pin-96 (4802a000.i2c) status -22
[ 1.573298] pinctrl-single 44e10800.pinmux: could not request pin 96 (PIN96) from group pinmux_i2c1_pins on device pinctrl-single
dmesg | grep gpio-of-helper
[ 1.168742] gpio-of-helper ocp:cape-universal: ready
END
ubuntu@arm:~$ ll /dev/ttyS*
crw--w---- 1 root tty 4, 64 Jul 11 17:38 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Jul 11 17:38 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Jul 11 17:38 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Jul 11 17:38 /dev/ttyS3
crw-rw---- 1 root dialout 4, 68 Jul 11 17:38 /dev/ttyS4
crw-rw---- 1 root dialout 4, 69 Jul 11 17:38 /dev/ttyS5
ubuntu@arm:~$ cat /proc/cmdline
console=ttyO0,115200n8 bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4.BB-UART5 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
Lastly, I tried to display $ cat /sys/devices/platform/bone_capemgr/slots
But the slot file (or whatever this is) does not exist, although I could display something before if I recall correctly.
Thanks a lot in advance for any help you could give me!
The text was updated successfully, but these errors were encountered: