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

Overlay for GPIO Matrix Failure #29

Open
CalebProvost opened this issue Jun 15, 2019 · 0 comments
Open

Overlay for GPIO Matrix Failure #29

CalebProvost opened this issue Jun 15, 2019 · 0 comments

Comments

@CalebProvost
Copy link

Performing a matrix of the GPIO pins via dtbo doesn't appear to be functional.

I've verified that I'm able to get the pins to work and that the keyboard performs as desired (rows produce results) with my second attempt. However, my first attempt - the matrix style dtbo - does not produce any results. I based it off of:
https://groups.google.com/forum/#!msg/beagleboard/Gk9mIcsHFgo/dMGSUoCOEQAJ and
https://elixir.bootlin.com/linux/v5.2-rc4/source/Documentation/devicetree/bindings/input/matrix-keymap.txt

My goal is to complpile a 7x5 matrix keyboard from the gpio's, but I'm not sure where I'm failing.

I appreciate any assistance.

version.sh

git:/opt/scripts/:[86e729be368b59a7e070c43615bbc81060274543]
eeprom:[A335BNLTBWA51721EW004057]
model:[TI_AM335x_BeagleBone_Black_Wireless]
dogtag:[BeagleBoard.org Debian Image 2018-10-07]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2018.09-00002-g0b54a51eee]:[location: dd MBR]
kernel:[4.19.31-ti-r19]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr1=/lib/firmware/bBerryQ10GPIOkeyboard.dtbo]
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>]
pkg:[bb-cape-overlays]:[4.4.20190610.0-0rcnee0~stretch+20190610]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.3-git20181005.0-0rcnee0~stretch+20181005]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait uboot_detected_capes=BB-CAPE-DISP-CT4, coherent_pool=1M net.ifnames=0 quiet]
dmesg | grep remote
[    1.825612] remoteproc remoteproc0: wkup_m3 is available
[    1.977107] remoteproc remoteproc0: powering up wkup_m3
[    1.977249] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    1.980916] remoteproc remoteproc0: remote processor wkup_m3 is now up
dmesg | grep pru
dmesg | grep pinctrl-single
[    1.006882] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[    1.010426] gpio-of-helper ocp:cape-universal@1: ready
lsusb
Bus 001 Device 002: ID 04d9:1400 Holtek Semiconductor, Inc. PS/2 keyboard + mouse controller
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

had to grab the input files from https://github.com/torvalds/linux/tree/master/include/dt-bindings/input

dts attempt 1

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/board/am335x-bbw-bbb-base.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/input/gpio-keys.h>

/ {

        compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-black-wireless";
        part-number = "bBerryQ10GPIOkeyboard";
        version = "00A0";


        /* Free up the pins used by the cape from the pinmux helpers. */
        fragment@0 {
                target = <&ocp>;
                __overlay__ {
                        P8_07_pinmux { status = "disabled"; };
			/*cut to make shorter Pins P8_07 to P8_18*/
                        P8_18_pinmux { status = "disabled"; };
                };
        };

        /* Free up the gpios used by the cape-universal gpio helpers. */
        fragment@1 {
                target = <&ocp>;
                __overlay__ {
                        cape-universal { status = "disabled"; };
                };
        };

        /* Make a new set of gpio helpers. */
        fragment@2 {
                target = <&ocp>;
                __overlay__ {
                        cape-universal@1 {
                                compatible = "gpio-of-helper";
                                status = "okay";
                                pinctrl-names = "default";
                                pinctrl-0 = <>;

                                P8_07 {
                                        gpio-name = "P8_07";
                                        gpio = <&gpio2 2 0>;
                                        input;
                                        init-high;
                                };

	/*cut to make shorter: Pins P8_08 to P8_13 same as P8_07*/

                                P8_14 {
                                        gpio-name = "P8_14";
                                        gpio = <&gpio0 26 0>;
                                        output;
                                        init-low;
                                };
	/*cut to make shorter: Pins P8_15 to P8_18 same as P8_14*/
                        };
                };
        };


        /* Load the drivers for the buttons */
        fragment@3 {
                target-path="/";
                __overlay__ {

                        gpio-keys {
                                compatible = "gpio-matrix-keypad";
                                debounce-delay-ms = <5>;
                                col-scan-delay-us = <2>;
                                keypad,num-rows = <7>;
                                keypad,num-columns = <5>;

                                row-gpios = <&gpio2 2 0      /* Row 1 */
                                        &gpio2 3 0      /* Row 2 */
                                        &gpio2 5 0      /* Row 3 */
                                        &gpio2 4 0      /* Row 4 */
                                        &gpio1 13 0     /* Row 5 */
                                        &gpio1 12 0     /* Row 6 */
                                        &gpio0 23 0>;     /* Row 7 */

                                col-gpios = <&gpio0 26 0     /* Column 1 */
                                        &gpio1 15 0     /* Column 2 */
                                        &gpio1 14 0     /* Column 3 */
                                        &gpio0 27 0     /* Column 4 */
                                        &gpio2 1 0>;      /* Column 5 */ 

                                linux,keymap = <
                                        0x00000016      /* row 1 col 1 q                */
                                        0x01000017      /* row 2 col 1 w                */
                                        0x02000103      /* row 3 col 1 sym (as UP)      */
                                        0x03000030      /* row 4 col 1 a                */
		/*cut to make shorter: This is a sample of my matrix*/
                                        0x04040111      /* row 5 col 5 $ (as DELETE)    */
                                        0x05040050      /* row 6 col 5 m                */
                                        0x06040037      /* row 7 col 5 k                */
                                >;
                        };
                };
        };
};

dts attempt 2

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/am33xx.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/board/am335x-bbw-bbb-base.h>

/ {
        compatible = "ti,beaglebone", "ti,beaglebone-black", "ti,beaglebone-black-wireless";
        part-number = "bBerryQ10GPIOkeyboard";
        version = "00A0";

       fragment@0 {
                target = <&ocp>;
                __overlay__ {
                        P8_07_pinmux { status = "disabled"; };
                        P8_08_pinmux { status = "disabled"; };
                        P8_09_pinmux { status = "disabled"; };
                        P8_10_pinmux { status = "disabled"; };
                        P8_11_pinmux { status = "disabled"; };
                        P8_12_pinmux { status = "disabled"; };
                        P8_13_pinmux { status = "disabled"; };
                        P8_14_pinmux { status = "disabled"; };
                        P8_15_pinmux { status = "disabled"; };
                        P8_16_pinmux { status = "disabled"; };
                        P8_17_pinmux { status = "disabled"; };
                        P8_18_pinmux { status = "disabled"; };
                };
        };

        fragment@1 {
                target = <&ocp>;
                __overlay__ {
                        cape-universal { status = "disabled"; };
                };
        };

        fragment@2 {
                target = <&ocp>;
                __overlay__ {
                        cape-universal@1 {
                                compatible = "gpio-of-helper";
                                status = "okay";
                                pinctrl-names = "default";
                                pinctrl-0 = <>;

                                P8_07 {
                                        gpio-name = "P8_07";
                                        gpio = <&gpio2 2 0>;
                                        input;
                                        dir-changeable;
                                };
	/*cut to make shorter: Pins P8_08 to P8_13 same as P8_07*/
                                P8_18 {
                                        gpio-name = "P8_18";
                                        gpio = <&gpio2 1 0>;
                                        output;
                                        dir-changeable;
                                };
                        };
                };
        };

        fragment@3 {
                target-path="/";
                __overlay__ {

                        gpio-keys {
                                compatible = "gpio-keys";
                                autorepeat;

                                pinctrl-names = "default";
                                pinctrl-0 = <
                                        &P8_07_gpio_pu_pin      /* Row 1 */
		/*cut to make shorter: Pins P8_08 to P8_13 same as P8_07*/
		/*cut to make shorter: Pins P8_15 to P8_18 same as P8_18*/
                                        &P8_18_gpio_pd_pin      /* Column 5 */
                                        >;

                                row1 {
                                        label = "row1";
                                        linux,code = <16>;
                                        gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
                                };
		/*omitted rows to shorten*/
                                col1 {
                                        label = "col1";
                                        linux,code = <16>;
                                        gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
                                };
		/*omitted columns to shorten*/
                        };
                };
        };
};

dmesg

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.31-ti-r19 (voodoo@x6-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1stretch SMP PREEMPT Sun May 26 04:18:13 UTC 2019
[    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 Wireless
[    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]   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+0xa0/0x510 with crng_init=0
[    0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s43084 r8192 d22452 u73728
[    0.000000] pcpu-alloc: s43084 r8192 d22452 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/mmcblk0p1 ro rootfstype=ext4 rootwait uboot_detected_capes=BB-CAPE-DISP-CT4, coherent_pool=1M net.ifnames=0 quiet
[    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: 440240K/522240K available (13312K kernel code, 1152K rwdata, 4420K rodata, 1024K init, 355K bss, 32848K 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 : 0x(ptrval) - 0x(ptrval)   (14304 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   (1153 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 356 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 42332 entries in 125 pages
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     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 0x(ptrval) (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000025] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000048] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000058] OMAP clocksource: timer1 at 24000000 Hz
[    0.002165] timer_probe: no matching timers found
[    0.002526] Console: colour dummy device 80x30
[    0.002560] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.002565] This ensures that you still see kernel messages. Please
[    0.002569] update your kernel commandline.
[    0.002632] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[    0.020940] pid_max: default: 32768 minimum: 301
[    0.021238] Security Framework initialized
[    0.021252] Yama: becoming mindful.
[    0.021399] AppArmor: AppArmor initialized
[    0.021518] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.021531] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.022650] CPU: Testing write buffer coherency: ok
[    0.022719] CPU0: Spectre v2: using BPIALL workaround
[    0.023222] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[    0.045035] Setting up static identity map for 0x80100000 - 0x80100060
[    0.052946] rcu: Hierarchical SRCU implementation.
[    0.064185] EFI services will not be available.
[    0.068952] smp: Bringing up secondary CPUs ...
[    0.068968] smp: Brought up 1 node, 1 CPU
[    0.068979] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[    0.068985] CPU: All CPU(s) started in SVC mode.
[    0.070745] devtmpfs: initialized
[    0.105382] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.106064] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.106091] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.110058] xor: measuring software checksum speed
[    0.148927]    arm4regs  :  1217.000 MB/sec
[    0.188915]    8regs     :  1091.000 MB/sec
[    0.228914]    32regs    :  1088.000 MB/sec
[    0.268913]    neon      :  1665.000 MB/sec
[    0.268921] xor: using function: neon (1665.000 MB/sec)
[    0.268939] pinctrl core: initialized pinctrl subsystem
[    0.270369] NET: Registered protocol family 16
[    0.276486] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.370636] l4_wkup_cm:clk:0010:0: failed to disable
[    0.410884] audit: initializing netlink subsys (disabled)
[    0.412222] cpuidle: using governor menu
[    0.417045] audit: type=2000 audit(0.408:1): state=initialized audit_enabled=0 res=1
[    0.421841] OMAP GPIO hardware version 0.1
[    0.424894] GPIO line 106 (LS_BUF_EN) hogged as output/high
[    0.443740] No ATAGs?
[    0.443761] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.445907] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.445925] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.473103] raid6: using algorithm neonx8 gen() 0 MB/s
[    0.473117] raid6: .... xor() 0 MB/s, rmw enabled
[    0.473125] raid6: using neon recovery algorithm
[    0.481400] edma 49000000.edma: TI EDMA DMA engine driver
[    0.488599] SCSI subsystem initialized
[    0.493073] libata version 3.00 loaded.
[    0.493396] usbcore: registered new interface driver usbfs
[    0.493456] usbcore: registered new interface driver hub
[    0.493583] usbcore: registered new device driver usb
[    0.495585] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    0.497357] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    0.497749] media: Linux media interface: v0.10
[    0.497808] videodev: Linux video capture interface: v2.00
[    0.497978] pps_core: LinuxPPS API ver. 1 registered
[    0.497986] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[    0.498009] PTP clock support registered
[    0.498712] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.501346] Advanced Linux Sound Architecture Driver Initialized.
[    0.502206] NetLabel: Initializing
[    0.502217] NetLabel:  domain hash size = 128
[    0.502222] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.502312] NetLabel:  unlabeled traffic allowed by default
[    0.503503] clocksource: Switched to clocksource timer1
[    0.663398] VFS: Disk quotas dquot_6.6.0
[    0.663598] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.664520] AppArmor: AppArmor Filesystem Enabled
[    0.677827] NET: Registered protocol family 2
[    0.678878] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.678913] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.678955] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.679014] TCP: Hash tables configured (established 4096 bind 4096)
[    0.679153] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.679177] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.679725] NET: Registered protocol family 1
[    0.692948] RPC: Registered named UNIX socket transport module.
[    0.692960] RPC: Registered udp transport module.
[    0.692965] RPC: Registered tcp transport module.
[    0.692970] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.693779] Unpacking initramfs...
[    0.967264] Freeing initrd memory: 4564K
[    0.968429] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.971410] Initialise system trusted keyrings
[    0.972023] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.979598] zbud: loaded
[    0.987102] NFS: Registering the id_resolver key type
[    0.987146] Key type id_resolver registered
[    0.987153] Key type id_legacy registered
[    0.987171] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.987633] fuse init (API version 7.27)
[    0.998434] Key type asymmetric registered
[    0.998450] Asymmetric key parser 'x509' registered
[    0.998564] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    1.002925] io scheduler noop registered
[    1.002936] io scheduler deadline registered
[    1.003275] io scheduler cfq registered (default)
[    1.003287] io scheduler mq-deadline registered
[    1.006882] pinctrl-single 44e10800.pinmux: 142 pins, size 568
[    1.010426] gpio-of-helper ocp:cape-universal@1: ready
[    1.011577] random: fast init done
[    1.020026] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    1.020182] pwm-backlight backlight: Linked as a consumer to regulator.0
[    1.022763] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[    1.025645] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    1.029541] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 38, base_baud = 3000000) is a 8250
[    1.046476] console [ttyS0] enabled
[    1.047762] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 39, base_baud = 3000000) is a 8250
[    1.048811] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 40, base_baud = 3000000) is a 8250
[    1.049885] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 41, base_baud = 3000000) is a 8250
[    1.050860] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 42, base_baud = 3000000) is a 8250
[    1.052032] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 43, base_baud = 3000000) is a 8250
[    1.055347] omap_rng 48310000.rng: Random Number Generator ver. 20
[    1.059033] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.065560] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.072611] OF: graph: no port node found in /ocp/lcdc@4830e000
[    1.078657] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.078663] [drm] No driver support for vblank timestamp query.
[    1.121531] Console: switching to colour frame buffer device 60x34
[    1.138245] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device
[    1.139095] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on minor 0
[    1.168431] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.253648] eqep 48300180.eqep: ver. 1.0
[    1.253878] eqep 48300180.eqep: count_mode:0
[    1.253889] eqep 48300180.eqep: invert_qa:1
[    1.253898] eqep 48300180.eqep: invert_qb:1
[    1.253907] eqep 48300180.eqep: invert_qi:0
[    1.253915] eqep 48300180.eqep: invert_qs:0
[    1.253924] eqep 48300180.eqep: swap_inputs:0
[    1.253933] eqep 48300180.eqep: QDECCTL:0x0180
[    1.253941] eqep 48300180.eqep: QPOSINIT:0x00000000
[    1.253949] eqep 48300180.eqep: QPOSMAX:0xffffffff
[    1.253957] eqep 48300180.eqep: QPOSCNT:0x00000000
[    1.253965] eqep 48300180.eqep: omit_interrupt:0
[    1.253973] eqep 48300180.eqep: QEINT:0x0800
[    1.253981] eqep 48300180.eqep: QUPRD:0x05f5e100
[    1.253988] eqep 48300180.eqep: QEPCTL:0x009e write
[    1.253996] eqep 48300180.eqep: QEPCTL:0x009e read
[    1.254023] eqep 48300180.eqep: irq:83, clk_rate:100000000
[    1.254318] eqep 48302180.eqep: ver. 1.0
[    1.254482] eqep 48302180.eqep: count_mode:0
[    1.254492] eqep 48302180.eqep: invert_qa:1
[    1.254501] eqep 48302180.eqep: invert_qb:1
[    1.254509] eqep 48302180.eqep: invert_qi:0
[    1.254517] eqep 48302180.eqep: invert_qs:0
[    1.254526] eqep 48302180.eqep: swap_inputs:0
[    1.254534] eqep 48302180.eqep: QDECCTL:0x0180
[    1.254542] eqep 48302180.eqep: QPOSINIT:0x00000000
[    1.254550] eqep 48302180.eqep: QPOSMAX:0xffffffff
[    1.254557] eqep 48302180.eqep: QPOSCNT:0x00000000
[    1.254566] eqep 48302180.eqep: omit_interrupt:0
[    1.254573] eqep 48302180.eqep: QEINT:0x0800
[    1.254580] eqep 48302180.eqep: QUPRD:0x05f5e100
[    1.254587] eqep 48302180.eqep: QEPCTL:0x009e write
[    1.254595] eqep 48302180.eqep: QEPCTL:0x009e read
[    1.254615] eqep 48302180.eqep: irq:85, clk_rate:100000000
[    1.254813] eqep 48304180.eqep: ver. 1.0
[    1.254949] eqep 48304180.eqep: count_mode:0
[    1.254958] eqep 48304180.eqep: invert_qa:1
[    1.254967] eqep 48304180.eqep: invert_qb:1
[    1.254975] eqep 48304180.eqep: invert_qi:0
[    1.254983] eqep 48304180.eqep: invert_qs:0
[    1.254991] eqep 48304180.eqep: swap_inputs:0
[    1.254999] eqep 48304180.eqep: QDECCTL:0x0180
[    1.255007] eqep 48304180.eqep: QPOSINIT:0x00000000
[    1.255015] eqep 48304180.eqep: QPOSMAX:0xffffffff
[    1.255022] eqep 48304180.eqep: QPOSCNT:0x00000000
[    1.255030] eqep 48304180.eqep: omit_interrupt:0
[    1.255038] eqep 48304180.eqep: QEINT:0x0800
[    1.255045] eqep 48304180.eqep: QUPRD:0x05f5e100
[    1.255052] eqep 48304180.eqep: QEPCTL:0x009e write
[    1.255060] eqep 48304180.eqep: QEPCTL:0x009e read
[    1.255079] eqep 48304180.eqep: irq:87, clk_rate:100000000
[    1.284055] libphy: Fixed MDIO Bus: probed
[    1.287853] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.287920] ehci-platform: EHCI generic platform driver
[    1.288308] ehci-omap: OMAP-EHCI Host Controller driver
[    1.289197] usbcore: registered new interface driver usb-storage
[    1.292765] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.292941] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regulator.0
[    1.296565] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.296765] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regulator.0
[    1.300303] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[    1.300348] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[    1.300716] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    1.300730] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.300738] usb usb1: Product: MUSB HDRC host driver
[    1.300746] usb usb1: Manufacturer: Linux 4.19.31-ti-r19 musb-hcd
[    1.300753] usb usb1: SerialNumber: musb-hdrc.1
[    1.301613] hub 1-0:1.0: USB hub found
[    1.301678] hub 1-0:1.0: 1 port detected
[    1.641621] input: generic ft5x06 (51) as /devices/platform/ocp/4819c000.i2c/i2c-2/2-0038/input/input0
[    1.645746] omap_rtc 44e3e000.rtc: already running
[    1.646473] omap_rtc 44e3e000.rtc: registered as rtc0
[    1.648263] i2c /dev entries driver
[    1.649424] Driver for 1-wire Dallas network protocol.
[    1.652299] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.652890] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
[    1.654722] cpuidle: enable-method property 'ti,am3352' found operations
[    1.655691] sdhci: Secure Digital Host Controller Interface driver
[    1.655700] sdhci: Copyright(c) Pierre Ossman
[    1.656632] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000 microseconds (-22)
[    1.656645] omap_hsmmc 48060000.mmc: Got CD GPIO
[    1.657291] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.2
[    1.685168] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.2
[    1.710617] omap_hsmmc 47810000.mmc: Linked as a consumer to regulator.1
[    1.733636] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.736561] mmc0: new high speed SDXC card at address aaaa
[    1.739570] usb 1-1: new low-speed USB device number 2 using musb-hdrc
[    1.742162] mmcblk0: mmc0:aaaa SC128 119 GiB
[    1.752044]  mmcblk0: p1
[    1.755766] mmc1: new high speed MMC card at address 0001
[    1.761376] mmcblk1: mmc1:0001 M62704 3.56 GiB
[    1.762047] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[    1.762733] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[    1.763124] mmcblk1rpmb: mmc1:0001 M62704 partition 3 512 KiB, chardev (242:0)
[    1.812131] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.814711] ledtrig-cpu: registered to indicate activity on CPUs
[    1.815385] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.815879] omap-aes 53500000.aes: will run requests pump with realtime priority
[    1.818632] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[    1.822796] hidraw: raw HID events driver (C) Jiri Kosina
[    1.823965] usbcore: registered new interface driver usbhid
[    1.824026] omap_hsmmc 47810000.mmc: card claims to support voltages below defined range
[    1.824060] usbhid: USB HID core driver
[    1.825612] remoteproc remoteproc0: wkup_m3 is available
[    1.832929] gnss: GNSS driver registered with major 239
[    1.838376] mmc2: new high speed SDIO card at address 0001
[    1.841793] wireguard: WireGuard 0.0.20190406 loaded. See www.wireguard.com for information.
[    1.841806] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
[    1.842920] NET: Registered protocol family 10
[    1.885147] Segment Routing with IPv6
[    1.885289] mip6: Mobile IPv6
[    1.885311] NET: Registered protocol family 17
[    1.885437] Key type dns_resolver registered
[    1.885443] mpls_gso: MPLS GSO support
[    1.885802] ThumbEE CPU extension supported.
[    1.885819] Registering SWP/SWPB emulation handler
[    1.885830] omap_voltage_late_init: Voltage driver support not added
[    1.893301] PM: Cannot get wkup_m3_ipc handle
[    1.899786] registered taskstats version 1
[    1.899797] Loading compiled-in X.509 certificates
[    1.899943] zswap: loaded using pool lzo/zbud
[    1.903202] Btrfs loaded, crc32c=crc32c-generic
[    1.903316] AppArmor: AppArmor sha1 policy hashing enabled
[    1.903843] usb 1-1: New USB device found, idVendor=04d9, idProduct=1400, bcdDevice= 1.43
[    1.903856] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.913757] input: HID 04d9:1400 as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1:1.0/0003:04D9:1400.0001/input/input1
[    1.961193] tps6521x_pwrbutton tps65217-pwrbutton: DMA mask not set
[    1.962041] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input2
[    1.972293] hid-generic 0003:04D9:1400.0001: input,hidraw0: USB HID v1.10 Keyboard [HID 04d9:1400] on usb-musb-hdrc.1-1/input0
[    1.973884] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[    1.974890] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[    1.975006] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.977107] remoteproc remoteproc0: powering up wkup_m3
[    1.977249] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217168
[    1.980916] remoteproc remoteproc0: remote processor wkup_m3 is now up
[    1.980936] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x193
[    1.981313] cpu cpu0: Linked as a consumer to regulator.4
[    1.981422] cpu cpu0: Dropping the link to regulator.4
[    1.981974] cpu cpu0: Linked as a consumer to regulator.4
[    1.984281] PM: bootloader does not support rtc-only!
[    1.992091] input: HID 04d9:1400 Mouse as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1:1.1/0003:04D9:1400.0002/input/input3
[    1.992308] input: HID 04d9:1400 Consumer Control as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1:1.1/0003:04D9:1400.0002/input/input4
[    1.993450] input: gpio-keys as /devices/platform/gpio-keys/input/input6
[    2.052118] input: HID 04d9:1400 System Control as /devices/platform/ocp/47400000.usb/47401c00.usb/musb-hdrc.1/usb1/1-1/1-1:1.1/0003:04D9:1400.0002/input/input5
[    2.052455] hid-generic 0003:04D9:1400.0002: input,hidraw1: USB HID v1.10 Mouse [HID 04d9:1400] on usb-musb-hdrc.1-1/input1
[    2.053955] omap_rtc 44e3e000.rtc: setting system clock to 2019-06-14 02:17:28 UTC (1560478648)
[    2.055470] wlan-en-regulator: disabling
[    2.055610] ALSA device list:
[    2.055616]   No soundcards found.
[    2.062537] Freeing unused kernel memory: 1024K
[    2.063262] Run /init as init process
[    2.536472] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.537290] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.537399] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    8.681398] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    9.544025] 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)
[    9.544875] systemd[1]: Detected architecture arm.
[    9.551921] systemd[1]: Set hostname to <beaglebone>.
[   10.360935] systemd[1]: Reached target Swap.
[   10.362024] systemd[1]: Listening on fsck to fsckd communication Socket.
[   10.362565] systemd[1]: Listening on udev Kernel Socket.
[   10.363027] systemd[1]: Listening on Syslog Socket.
[   10.365198] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   10.365491] systemd[1]: Reached target Remote File Systems.
[   10.367071] systemd[1]: Created slice User and Session Slice.
[   10.628259] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[   12.112538] systemd-journald[425]: Received request to flush runtime journal from PID 1
[   16.848393] random: crng init done
[   16.848416] random: 7 urandom warning(s) missed due to ratelimiting
[   20.156508] using random self ethernet address
[   20.156527] using random host ethernet address
[   20.416865] using random self ethernet address
[   20.416884] using random host ethernet address
[   21.162253] Mass Storage Function, version: 2009/09/11
[   21.162278] LUN: removable file: (no medium)
[   21.908513] usb0: HOST MAC f4:5e:ab:52:7a:63
[   21.912221] usb0: MAC f4:5e:ab:52:7a:64
[   21.928445] usb1: HOST MAC f4:5e:ab:52:7a:66
[   21.935712] usb1: MAC f4:5e:ab:52:7a:67
[   22.332791] configfs-gadget gadget: high-speed config #1: c
[   23.600879] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[   37.723713] CAN device driver interface
[   38.262976] c_can_platform 481cc000.can: c_can_platform device registered (regs=be13bf12, irq=51)
[   38.362847] c_can_platform 481d0000.can: c_can_platform device registered (regs=07cfe407, irq=52)
[   59.804495] Bluetooth: Core ver 2.22
[   59.804668] NET: Registered protocol family 31
[   59.804959] Bluetooth: HCI device and connection manager initialized
[   59.804991] Bluetooth: HCI socket layer initialized
[   59.805006] Bluetooth: L2CAP socket layer initialized
[   59.805079] Bluetooth: SCO socket layer initialized
[   59.885274] Bluetooth: HCI UART driver ver 2.3
[   59.885294] Bluetooth: HCI UART protocol H4 registered
[   59.893318] Bluetooth: HCI UART protocol LL registered
[   59.893337] Bluetooth: HCI UART protocol ATH3K registered
[   59.893495] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   60.907127] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   60.907144] Bluetooth: BNEP filters: protocol multicast
[   60.907176] Bluetooth: BNEP socket layer initialized
[   62.453317] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   62.471034] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   62.475920] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   62.475951] cfg80211: failed to load regulatory.db
[   64.085004] wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)
[   64.109792] wlcore: loaded
[   64.737442] wlcore: PHY firmware version: Rev 8.2.0.0.236
[   64.780958] wlcore: firmware booted (Rev 8.9.0.0.69)
[   64.803159] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   66.025625] IPv6: ADDRCONF(NETDEV_UP): SoftAp0: link is not ready
[   68.534802] wlcore: down
[   68.894094] IPv6: ADDRCONF(NETDEV_CHANGE): SoftAp0: link becomes ready
[   69.247957] cryptd: max_cpu_qlen set to 1000

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

1 participant