This thread has been locked.

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

AM4378: pwm-beeper issue

Part Number: AM5728
Other Parts Discussed in Thread: AM4372, TPS65218

 I am trying to get a buzzer on hardware to bind with "pwm-beeper" and generate needed pwm outputs, i have two challenges, one being i do not see any output waveform on the beeper pin, second i am unable to drive the frequency from console

Here is the DTS binding i have 

                     pwm4: dmtimer-pwm@4 {
                        compatible = "ti,omap-dmtimer-pwm";
                        ti,timers = <&timer4>;
                        #pwm-cells = <3>;
                        status = "okay";
                     };

                      beeper: beeper {
                          compatible = "pwm-beeper";
                          pwms = <&pwm4 0 5000 1>;
                          beeper-hz = <0 100 200 500 1000 2000 5000>;
                          default-beeper-hz = <2>;
                          status = "okay";
                    };

                    &timer4 {
                         status = "okay";
                         ti,timer-pwm;
                         pinctrl-names = "default";
                         pinctrl-0 = <&buzzer_pins_default>;                      
                    };

                    buzzer_pins_default: buzzer_pins_default {
                        pinctrl-single,pins = <
                            AM4372_IOPAD(0x890, PIN_OUTPUT | MUX_MODE2) /* (A9) gpmc_advn_ale.timer4 -> MPU_BUZZER_PWM_CTRL */
                        >;
                     };

Configurations i  have applied are 

        CONFIG_INPUT_PWM_BEEPER=m
       CONFIG_PWM_OMAP_DMTIMER=m

On console here is what i see

  • Let's take a look at a few of the registers to see if we can better understand what might be happening.  Can you please use devmem2 to check the values of the following registers:

    • 0x44E10890 CTRL_CONF_GPMC_ADVN_ALE (pin mux)

    • 0x44DF420C PRCM_CM_DPLL_CLKSEL_TIMER4_CLK
    • 0x44DF8D40 PRCM_CM_PER_TIMER4_CLKCTRL
    • 0x48044038 DMTIMER_TCLR
    • 0x4804403C DMTIMER_TCRR
    • 0x48044040 DMTIMER_TLDR
    • 0x4804404C DMTIMER_TMAR

    Thanks,
    Brad

  • Reading any of the register related to DMTIMER causes crash, other three register am able to read and shared as below.

    root@Node:~# devmem2 0x44E10890
    /dev/mem opened.
    Memory mapped at address 0xb6fa3000.
    Read at address 0x44E10890 (0xb6fa3890): 0x00010002
    root@Node:~# devmem2 0x44DF420C
    /dev/mem opened.
    Memory mapped at address 0xb6fce000.
    Read at address 0x44DF420C (0xb6fce20c): 0x00000001
    root@Node:~# devmem2 0x44DF8D40
    /dev/mem opened.
    Memory mapped at address 0xb6f0c000.
    Read at address 0x44DF8D40 (0xb6f0cd40): 0x00030000
    root@Node:~# devmem2 0x4804404C
    /dev/mem opened.[ 241.541136] Unhandled fault: external abort on non-linefetch (0x1018) at 0xb6f0604c
    [ 241.541149] pgd = 85c47bc1
    [ 241.541152] [b6f0604c] *pgd=9677b831, *pte=48044303, *ppte=48044a33
    [ 241.541215] ------------[ cut here ]------------
    [ 241.563647] WARNING: CPU: 0 PID: 22 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x2ec/0x37c
    [ 241.572912] 44000000.ocp:L3 Custom Error: MASTER M2 (64-bit) TARGET L4_PER_0 (Read): Data Access in User mode during Functional access
    [ 241.585049] Modules linked in: cfg80211 bnep iptable_filter iptable_mangle iptable_nat nf_nat_ipv4 ip_tables ip6table_filter ip6table_mangle ip6table_nat nf_nat_ipv6 nf_nat nf_conntrack libcrc32c nf_defrag_ipv4 nf_defrag_ipv6 ip6_tables x_tables rfcomm bluetooth drbg ecdh_generic cdc_ether usbnet pru_rproc irq_pruss_intc pruss ti_am335x_adc sha512_generic sha512_arm ctr sha256_generic cbc hmac ecb omap_des pm33xx md5 des_generic omap_aes_driver pwm_omap_dmtimer crypto_engine pwm_beeper omap_sham ti_emif_sram pvrsrvkm(OE) omap_crypto pruss_soc_bus pixcir_i2c_ts rtc_omap wkup_m3_rproc wkup_m3_ipc omap_wdt ti_am335x_tscadc remoteproc mstp_cmnet(OE)
    [ 241.642559] CPU: 0 PID: 22 Comm: irq/21-l3-app-i Tainted: G OE 4.19.160-rt69-gb3a2247aae #1
    [ 241.652167] Hardware name: Generic AM43 (Flattened Device Tree)
    [ 241.658110] Backtrace:
    [ 241.660583] [<c0014598>] (dump_backtrace) from [<c00148d8>] (show_stack+0x18/0x1c)
    [ 241.668190] r7:00000009 r6:00000000 r5:c0b4d380 r4:dc563e34
    [ 241.673885] [<c00148c0>] (show_stack) from [<c08e13ac>] (dump_stack+0x20/0x28)
    [ 241.681147] [<c08e138c>] (dump_stack) from [<c00366fc>] (__warn+0xcc/0xf8)
    [ 241.688056] [<c0036630>] (__warn) from [<c00362f4>] (warn_slowpath_fmt+0x4c/0x70)
    [ 241.695573] r9:dc5423c0 r8:00000015 r7:c0b4d458 r6:00000002 r5:c0b4d2ac r4:c0b4d350
    [ 241.703354] [<c00362ac>] (warn_slowpath_fmt) from [<c0399808>] (l3_interrupt_handler+0x2ec/0x37c)
    [ 241.712262] r3:dc55cc00 r2:c0b4d350
    [ 241.715851] r5:c0b4d2ac r4:80080003
    [ 241.719450] [<c039951c>] (l3_interrupt_handler) from [<c007a4dc>] (irq_forced_thread_fn+0x28/0xa0)
    [ 241.728450] r10:00000428 r9:c0cd221e r8:00000001 r7:c007a4b4 r6:ffffe000 r5:dc545080
    [ 241.736313] r4:dc407a00
    [ 241.738858] [<c007a4b4>] (irq_forced_thread_fn) from [<c007a7f8>] (irq_thread+0xfc/0x23c)
    [ 241.747070] r7:c007a4b4 r6:ffffe000 r5:dc407a00 r4:dc545080
    [ 241.752767] [<c007a6fc>] (irq_thread) from [<c0053b44>] (kthread+0x188/0x1a0)
    [ 241.759937] r10:dc469ad8 r9:00000000 r8:c007a6fc r7:dc545080 r6:dc562000 r5:dc5450c0
    [ 241.767800] r4:dc545140
    [ 241.770351] [<c00539bc>] (kthread) from [<c00090e0>] (ret_from_fork+0x14/0x34)
    [ 241.777603] Exception stack(0xdc563fb0 to 0xdc563ff8)
    [ 241.782677] 3fa0: 00000000 00000000 00000000 00000000
    [ 241.790891] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 241.799104] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [ 241.805749] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c00539bc
    [ 241.813610] r4:dc5450c0
    [ 241.816152] ---[ end trace 0000000000000002 ]---

  • root@Node:~# devmem2 0x44E10890
    /dev/mem opened.
    Memory mapped at address 0xb6fa3000.
    Read at address 0x44E10890 (0xb6fa3890): 0x00010002

    That confirms the pinmux is set to timer4.

    root@Node:~# devmem2 0x44DF420C
    /dev/mem opened.
    Memory mapped at address 0xb6fce000.
    Read at address 0x44DF420C (0xb6fce20c): 0x00000001

    Timer4 clock source is CLK_M_OSC (i.e. your main clock).

    root@Node:~# devmem2 0x44DF8D40
    /dev/mem opened.
    Memory mapped at address 0xb6f0c000.
    Read at address 0x44DF8D40 (0xb6f0cd40): 0x00030000

    This indicates that the Timer4 peripheral is disabled at the PRCM level.  That's why the attempts to access the registers caused crashes.  I'm a bit surprised to see that.  I thought its clock would be enabled due to the status = "okay" for the timer4 node.

    Can you attach a full boot log?

  • Bootup log

    U-Boot SPL 2019.01-gae9a73a-dirty (Apr 29 2021 - 08:52:06 +0530)
    Trying to boot from USB
    USB0: Register 2000440 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
    scanning usb for storage devices... 1 Storage Device(s) found
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!


    U-Boot 2019.01-gae9a73a-dirty (Apr 29 2021 - 08:52:06 +0530)

    CPU : AM437X-GP rev 1.2
    Model: TI AM437x HW PLATFORM
    DRAM: 512 MiB
    PMIC: TPS65218
    NAND: 0 MiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... ** No device specified **
    Net:
    Warning: ethernet@4a100000 using MAC address from ROM
    eth0: ethernet@4a100000
    Hit any key to stop autoboot: 0
    Card did not respond to voltage select!
    Card did not respond to voltage select!
    Card did not respond to voltage select!
    Card did not respond to voltage select!
    starting USB...
    USB0: Register 2000440 NbrPorts 2
    Starting the controller
    USB XHCI 1.00
    scanning bus 0 for devices... 2 USB Device(s) found
    scanning usb for storage devices... 1 Storage Device(s) found

    Device 0: Vendor: SanDisk Rev: 1.00 Prod: Cruzer Blade
    Type: Removable Hard Disk
    Capacity: 14875.0 MB = 14.5 GB (30464000 x 512)
    ... is now current device
    Card did not respond to voltage select!
    4899328 bytes read in 205 ms (22.8 MiB/s)
    49248 bytes read in 22 ms (2.1 MiB/s)
    Booting from usb 0...
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8fff0000, end 8ffff05f ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.160-rt69-gb3a2247aae (oe-user@oe-host) (gcc version 8.3.0 (GCC)) #1 PREEMPT RT Thu Apr 29 13:49:01 UTC 2021
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM437x FSP-SmallPanel-RefHw-Rev-2.0-30-04-2021-1
    [ 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 0x9d000000
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.2 (sgx neon)
    [ 0.000000] random: get_random_bytes called from start_kernel+0x88/0x44c with crng_init=0
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/sda2 rw rootfstype=ext4 rootwait
    [ 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: 456388K/524288K available (9162K kernel code, 385K rwdata, 3216K rodata, 328K init, 293K bss, 18748K reserved, 49152K cma-reserved, 0K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (9164 kB)
    [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) ( 328 kB)
    [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 386 kB)
    [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 294 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
    [ 0.000000] No expedited grace period (rcu_normal_after_boot).
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [ 0.000000] OMAP L2C310: ROM does not support power control setting
    [ 0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [ 0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [ 0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [ 0.000026] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [ 0.000033] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000445] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000450] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000838] Console: colour dummy device 80x30
    [ 0.000966] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [ 0.000968] This ensures that you still see kernel messages. Please
    [ 0.000970] update your kernel commandline.
    [ 0.001003] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [ 0.060147] pid_max: default: 32768 minimum: 301
    [ 0.060294] Security Framework initialized
    [ 0.060407] AppArmor: AppArmor initialized
    [ 0.060473] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.060483] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.061394] CPU: Testing write buffer coherency: ok
    [ 0.061451] CPU0: Spectre v2: using BPIALL workaround
    [ 0.062507] Setting up static identity map for 0x80008200 - 0x80008278
    [ 0.062800] rcu: Hierarchical SRCU implementation.
    [ 0.063565] EFI services will not be available.
    [ 0.064232] devtmpfs: initialized
    [ 0.075613] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.076083] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.076109] futex hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.079836] pinctrl core: initialized pinctrl subsystem
    [ 0.080818] DMI not present or invalid.
    [ 0.081385] NET: Registered protocol family 16
    [ 0.083303] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.157597] audit: initializing netlink subsys (disabled)
    [ 0.160288] audit: type=2000 audit(0.150:1): state=initialized audit_enabled=0 res=1
    [ 0.176270] No ATAGs?
    [ 0.176293] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.176313] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.194355] edma 49000000.edma: TI EDMA DMA engine driver
    [ 0.198349] SCSI subsystem initialized
    [ 0.198638] usbcore: registered new interface driver usbfs
    [ 0.198696] usbcore: registered new interface driver hub
    [ 0.198822] usbcore: registered new device driver usb
    [ 0.199483] media: Linux media interface: v0.10
    [ 0.199536] videodev: Linux video capture interface: v2.00
    [ 0.199661] pps_core: LinuxPPS API ver. 1 registered
    [ 0.199670] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.199693] PTP clock support registered
    [ 0.199731] EDAC MC: Ver: 3.0.0
    [ 0.201069] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [ 0.201847] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.203196] clocksource: Switched to clocksource timer1
    [ 0.204045] AppArmor: AppArmor Filesystem Enabled
    [ 0.213461] NET: Registered protocol family 2
    [ 0.214352] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 7168 bytes)
    [ 0.214411] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.214465] TCP bind hash table entries: 4096 (order: 4, 98304 bytes)
    [ 0.214746] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.214946] UDP hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.215029] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.215373] NET: Registered protocol family 1
    [ 0.216094] RPC: Registered named UNIX socket transport module.
    [ 0.216109] RPC: Registered udp transport module.
    [ 0.216115] RPC: Registered tcp transport module.
    [ 0.216121] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.218476] Initialise system trusted keyrings
    [ 0.218861] workingset: timestamp_bits=14 max_order=17 bucket_order=3
    [ 0.224823] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.225722] NFS: Registering the id_resolver key type
    [ 0.225773] Key type id_resolver registered
    [ 0.225781] Key type id_legacy registered
    [ 0.225827] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.638202] NET: Registered protocol family 38
    [ 0.638232] Key type asymmetric registered
    [ 0.638241] Asymmetric key parser 'x509' registered
    [ 0.638335] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [ 0.638348] io scheduler noop registered
    [ 0.638355] io scheduler deadline registered
    [ 0.638666] io scheduler cfq registered (default)
    [ 0.638678] io scheduler mq-deadline registered
    [ 0.638685] io scheduler kyber registered
    [ 0.642990] pinctrl-single 44e10800.pinmux: 199 pins, size 796
    [ 0.647020] pwm-backlight backlight: backlight supply power not found, using dummy regulator
    [ 0.647141] pwm-backlight backlight: Linked as a consumer to regulator.0
    [ 0.701857] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.705567] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [ 0.706453] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 31, base_baud = 3000000) is a 8250
    [ 1.433065] console [ttyS0] enabled
    [ 1.437264] omap8250 48022000.serial: No clock speed specified: using default: 48000000
    [ 1.446093] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 32, base_baud = 3000000) is a 8250
    [ 1.456160] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 33, base_baud = 3000000) is a 8250
    [ 1.465576] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [ 1.474411] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 34, base_baud = 3000000) is a 8250
    [ 1.485985] omap_rng 48310000.rng: Random Number Generator ver. 20
    [ 1.493489] random: fast init done
    [ 1.497181] random: crng init done
    [ 1.501540] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 1.510991] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 1.517951] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 1.540833] brd: module loaded
    [ 1.555777] loop: module loaded
    [ 1.562763] libphy: Fixed MDIO Bus: probed
    [ 1.568036] CAN device driver interface
    [ 1.573138] c_can_platform 481cc000.can: c_can_platform device registered (regs=f122f406, irq=62)
    [ 1.582971] c_can_platform 481d0000.can: c_can_platform device registered (regs=31dc42b7, irq=63)
    [ 1.594980] dwc3 48390000.usb: Failed to get clk 'ref': -2
    [ 1.600999] OF: graph: no port node found in /ocp@44000000/ocp2scp@483a8000/phy@483a8000
    [ 1.612388] dwc3 483d0000.usb: Failed to get clk 'ref': -2
    [ 1.619962] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.626539] ehci-pci: EHCI PCI platform driver
    [ 1.631074] ehci-platform: EHCI generic platform driver
    [ 1.636561] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.641929] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 1.648177] ohci-pci: OHCI PCI platform driver
    [ 1.653388] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 1.658955] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [ 1.667094] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f06d hci version 0x100 quirks 0x0000000002010010
    [ 1.676791] xhci-hcd xhci-hcd.0.auto: irq 98, io mem 0x483d0000
    [ 1.683327] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
    [ 1.691640] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.698896] usb usb1: Product: xHCI Host Controller
    [ 1.703797] usb usb1: Manufacturer: Linux 4.19.160-rt69-gb3a2247aae xhci-hcd
    [ 1.710876] usb usb1: SerialNumber: xhci-hcd.0.auto
    [ 1.716496] hub 1-0:1.0: USB hub found
    [ 1.720316] hub 1-0:1.0: 1 port detected
    [ 1.724722] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [ 1.730253] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [ 1.737989] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [ 1.744649] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
    [ 1.752932] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
    [ 1.761238] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 1.768493] usb usb2: Product: xHCI Host Controller
    [ 1.773393] usb usb2: Manufacturer: Linux 4.19.160-rt69-gb3a2247aae xhci-hcd
    [ 1.780472] usb usb2: SerialNumber: xhci-hcd.0.auto
    [ 1.785998] hub 2-0:1.0: USB hub found
    [ 1.789815] hub 2-0:1.0: 1 port detected
    [ 1.794581] usbcore: registered new interface driver cdc_acm
    [ 1.800272] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 1.808441] usbcore: registered new interface driver usblp
    [ 1.814271] usbcore: registered new interface driver uas
    [ 1.819727] usbcore: registered new interface driver usb-storage
    [ 1.826961] printer gadget: printer ready
    [ 1.831872] i2c /dev entries driver
    [ 1.837513] sdhci: Secure Digital Host Controller Interface driver
    [ 1.843730] sdhci: Copyright(c) Pierre Ossman
    [ 1.849633] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.1
    [ 1.882226] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.896843] NET: Registered protocol family 10
    [ 1.902766] Segment Routing with IPv6
    [ 1.906793] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 1.913705] NET: Registered protocol family 17
    [ 1.918199] can: controller area network core (rev 20170425 abi 9)
    [ 1.924571] NET: Registered protocol family 29
    [ 1.929446] Key type dns_resolver registered
    [ 1.933927] omap_voltage_late_init: Voltage driver support not added
    [ 1.937839] mmc0: new high speed MMC card at address 0001
    [ 1.944200] mmcblk0: mmc0:0001 IS008G 7.28 GiB
    [ 1.945078] mmcblk0boot0: mmc0:0001 IS008G partition 1 4.00 MiB
    [ 1.945916] mmcblk0boot1: mmc0:0001 IS008G partition 2 4.00 MiB
    [ 1.946244] mmcblk0rpmb: mmc0:0001 IS008G partition 3 4.00 MiB, chardev (242:0)
    [ 1.948233] mmcblk0: p1 p2 p3 p4
    [ 1.982012] Loading compiled-in X.509 certificates
    [ 1.987938] alg: No test for pkcs1pad(rsa,sha1) (pkcs1pad(rsa-generic,sha1))
    [ 2.002896] Loaded X.509 cert 'Build time autogenerated kernel key: 87120a1d9d5365c3e37e8d0fabb9a6d0ec90a957'
    [ 2.014073] AppArmor: AppArmor sha1 policy hashing enabled
    [ 2.037327] OMAP GPIO hardware version 0.1
    [ 2.173233] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [ 2.354255] usb 1-1: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
    [ 2.362478] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 2.369649] usb 1-1: Product: Cruzer Blade
    [ 2.373766] usb 1-1: Manufacturer: SanDisk
    [ 2.377881] usb 1-1: SerialNumber: 4C530001300313116280
    [ 2.385077] usb-storage 1-1:1.0: USB Mass Storage device detected
    [ 2.391810] scsi host0: usb-storage 1-1:1.0
    [ 3.063218] omap_i2c 44e0b000.i2c: timeout waiting for bus ready
    [ 3.069280] tps65218 0-0024: Failed to set masks in 0x3: -16
    [ 3.075134] tps65218: probe of 0-0024 failed with error -16
    [ 3.080892] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 400 kHz
    [ 3.088323] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 400 kHz
    [ 3.094618] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 3.104042] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 3.110988] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 3.119519] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 3.128934] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 3.135892] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 3.143454] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 3.152812] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 3.159762] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 3.167446] hctosys: unable to open rtc device (rtc0)
    [ 3.173667] ALSA device list:
    [ 3.176663] No soundcards found.
    [ 3.181408] Waiting for root device /dev/sda2...
    [ 3.444455] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Blade 1.00 PQ: 0 ANSI: 6
    [ 3.454363] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 3.464672] sd 0:0:0:0: [sda] 30464000 512-byte logical blocks: (15.6 GB/14.5 GiB)
    [ 3.465722] sd 0:0:0:0: [sda] Write Protect is off
    [ 3.466293] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [ 3.474710] sda: sda1 sda2
    [ 3.477740] sd 0:0:0:0: [sda] Attached SCSI removable disk
    [ 3.497555] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 3.504540] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 3.803090] EXT4-fs (sda2): recovery complete
    [ 3.808852] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.816633] VFS: Mounted root (ext4 filesystem) on device 8:2.
    [ 3.829140] devtmpfs: mounted
    [ 3.832759] Freeing unused kernel memory: 328K
    [ 3.837225] This architecture does not have kernel memory protection.
    [ 3.843697] Run /sbin/init as init process
    INIT: version 2.88 booting
    Framebuffer /dev/fb0 not detected
    Boot splashscreen disabled
    Starting board_start
    rm: cannot remove '/etc/avahi/hosts': No such file or directory
    /etc/resolv.conf
    net.ipv6.conf.default.hop_limit = 128
    net.ipv6.conf.all.hop_limit = 128
    Starting udev
    [ 4.671072] udevd[134]: starting version 3.2.7
    [ 4.724663] udevd[134]: specified group 'kvm' unknown
    [ 4.778102] udevd[135]: starting eudev-3.2.7
    [ 4.934898] mstp_cmnet: loading out-of-tree module taints kernel.
    [ 4.941490] mstp_cmnet: module verification failed: signature and/or required key missing - tainting kernel
    [ 4.984793] Initializing MS/TP network device driver version 1.01-016
    [ 5.280113] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 5.354576] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 5.359015] remoteproc remoteproc0: wkup_m3 is available
    [ 5.376740] omap_rtc 44e3e000.rtc: registered as rtc0
    [ 5.455068] remoteproc remoteproc0: powering up wkup_m3
    [ 5.476155] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 243020
    [ 5.477227] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [ 5.477352] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [ 5.583388] pixcir_ts 1-005c: pixcir_set_power_mode: can't read reg 0x33 : -121
    [ 5.583397] pixcir_ts 1-005c: Failed to set IDLE mode
    [ 5.583719] pixcir_ts: probe of 1-005c failed with error -121
    [ 5.898667] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 6.032201] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 6.168697] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 6.183643] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [ 6.198737] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on minor 0
    [ 6.271954] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [ 6.318610] PM: bootloader does not support rtc-only!
    [ 6.345103] omap-aes 53501000.aes: will run requests pump with realtime priority
    [ 6.393004] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [ 6.425221] omap-des 53701000.des: will run requests pump with realtime priority
    [ 6.670964] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 6.741992] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 6.855173] pwm-beeper beeper: beeper supply amp not found, using dummy regulator
    [ 6.862816] pwm-beeper beeper: Linked as a consumer to regulator.0
    [ 7.050245] input: pwm-beeper as /devices/platform/beeper/input/input1
    [ 7.127807] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 7.269547] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 7.289534] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 7.503949] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 7.567849] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 7.620891] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 8.097155] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 8.146635] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 8.246189] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 9.314391] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 9.423710] EXT4-fs (mmcblk0p2): recovery complete
    [ 9.424514] EXT4-fs (mmcblk0p3): recovery complete
    [ 9.424538] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
    [ 9.516865] EXT4-fs (mmcblk0p4): recovery complete
    [ 9.517778] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
    [ 9.685503] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 10.209600] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [ 11.608300] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 11.662871] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 11.710056] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 11.759096] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 11.872681] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 11.891907] device lo entered promiscuous mode
    [ 11.897561] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 11.957824] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 11.978643] remoteproc remoteproc1: 54434000.pru is available
    [ 11.978779] pru-rproc 54434000.pru: PRU rproc node pru@54434000 probed successfully
    [ 11.980117] remoteproc remoteproc2: 54438000.pru is available
    [ 11.980203] pru-rproc 54438000.pru: PRU rproc node pru@54438000 probed successfully
    [ 11.981376] remoteproc remoteproc3: 54474000.pru is available
    [ 11.981477] pru-rproc 54474000.pru: PRU rproc node pru@54474000 probed successfully
    [ 11.984601] remoteproc remoteproc4: 54478000.pru is available
    [ 11.984711] pru-rproc 54478000.pru: PRU rproc node pru@54478000 probed successfully
    [ 12.062884] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 12.069854] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 12.077493] omapdss_dss 4832a000.dss: 4832a000.dss supply vdda_video not found, using dummy regulator
    [ 12.086935] omapdss_dss 4832a000.dss: Linked as a consumer to regulator.0
    [ 12.093893] omapdss_dss 4832a000.dss: Dropping the link to regulator.0
    [ 12.187065] usbcore: registered new interface driver cdc_ether
    modprobe: FATAL: Module g_ether not found in directory /lib/modules/4.19.160-rt69-gb3a2247aae
    cut: /sys/class/net/eth0/address: No such file or directory
    cut: /sys/class/net/eth0/address: No such file or directory
    cut: /sys/class/net/eth0/address: No such file or directory
    cut: /sys/class/net/eth0/address: No such file or directory
    cut: /sys/class/net/eth0/address: No such file or directory
    cut: /sys/class/net/eth0/address: No such file or directory
    net.ipv6.conf.default.hop_limit = 128
    net.ipv6.conf.all.hop_limit = 128
    net.ipv6.conf.default.autoconf = 0
    net.ipv6.conf.all.forwarding = 1
    net.ipv6.conf.default.forwarding = 1
    sysctl: setting key "net.ipv6.conf.all.mc_forwarding"
    net.ipv6.conf.all.forwarding = 1
    sysctl: cannot stat /proc/sys/net/ipv6/conf/wlan1/forwarding: No such file or directory
    pim6dd: 00:00:12.429 warning - Got 1048576 byte buffer size in 0 iterations
    pim6dd: 00:00:12.430 warning - setsockopt(IPV6_ROUTER_ALERT): Protocol not available
    pim6dd: 00:00:12.431 warning - Got 1048576 byte buffer size in 0 iterations
    [ 12.676095] Bluetooth: Core ver 2.22
    [ 12.681049] NET: Registered protocol family 31
    [ 12.685570] Bluetooth: HCI device and connection manager initialized
    [ 12.691980] Bluetooth: HCI socket layer initialized
    [ 12.696906] Bluetooth: L2CAP socket layer initialized
    [ 12.702065] Bluetooth: SCO socket layer initialized
    [ 12.726898] Bluetooth: RFCOMM TTY layer initialized
    [ 12.731870] Bluetooth: RFCOMM socket layer initialized
    [ 12.737160] Bluetooth: RFCOMM ver 1.11
    *******Starting Obexdmount: /tmp/bt-inbox: can't find in /etc/fstab.
    .
    Directory /lib/modules/4.19.160-rt69-gb3a2247aae/extra exists.
    starting /home/root/web/webserver with 5 client
    OK
    [ 13.399689] EXT4-fs (sda2): re-mounted. Opts: (null)
    /etc/init.d/rc: line 56: /etc/rcS.d/S18bluez5-obexd: Permission denied
    Directory /lib/modules/4.19.160-rt69-gb3a2247aae/extra exists.
    sysctl: cannot stat /proc/sys/net/ipv4/tcp_syncookies: No such file or directory
    Thu Apr 29 14:22:38 UTC 2021
    ALSA: Restoring mixer settings...
    /usr/sbin/alsactl: load_state:1735: No soundcards found...
    starting /home/root/web/webserver with 5 client
    OK
    Cannot open /run/boot/uboot.env: No such file or directory
    Error 28 fault detected [no subcode]
    "Address already in use"
    Detail: bind failed in soap_bind()
    mkdir: cannot create directory '/run/media': File exists
    mkdir: cannot create directory '/usr/share/Upgrade/Remote': File exists
    mkdir: cannot create directory '/usr/share/Upgrade/backup': File exists
    mkdir: cannot create directory '/usr/share/Upgrade/backup/App': File exists
    INIT: Entering runlevel: 5
    Configuring network interfaces... ifup: interface lo already configured
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCGIFFLAGS: No such device
    ifconfig: SIOCGIFFLAGS: No such device
    ifup: ignoring unknown interface wlan1
    Starting system message bus: dbus.
    [ 16.706819] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]
    Loaded PowerVR consumer services.
    Setting environment variables...Starting UI app... UI app started.
    Starting OpenBSD Secure Shell server: sshd
    done.
    Starting rpcbind daemon...done.
    Starting Quagga daemons: zebra*** Error reading config: There is no such command.
    *** Error occurred processing line 47, below:
    ipv6 nd prefix 2001::::/64

    bgpd ripd ripngd ospfd ospf6d isisd.
    starting statd: done
    Starting advanced power management daemon: apmd.
    apmd[880]: apmd 3.2.1 interfacing with apm driver 1.13 and APM BIOS 1.2
    Starting bluetooth: bluetoothd.
    Starting HOSTAP Daemon: [ 19.449840] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [ 19.464877] Bluetooth: BNEP filters: protocol multicast
    [ 19.471151] Bluetooth: BNEP socket layer initialized
    Configuration file: /etc/hostapd.conf
    [ 19.653681] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    MESA-LOADER: failed to open kms_swrast (search paths /usr/lib/dri)
    failed to load driver: kms_swrast
    MESA-LOADER: failed to open swrast (search paths /usr/lib/dri)
    failed to load swrast driver
    Could not create GBM device (No such device)
    Could not open device /dev/dri/card0 - aborting!
    [ 20.284434] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [ 20.291268] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [ 20.308722] cfg80211: failed to load regulatory.db
    Could not read interface wlan0 flags: No such device
    nl80211: Driver does not support authentication/association or connect commands
    nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Could not read interface wlan0 flags: No such device
    nl80211 driver initialization failed.
    wlan0: interface state UNINITIALIZED->DISABLED
    wlan0: AP-DISABLED
    wlan0: CTRL-EVENT-TERMINATING
    hostapd_free_hapd_data: Interface wlan0 wasn't started
    exportfs: can't open /etc/exports for reading
    NFS daemon support not enabled in kernel
    Starting ntpd: done
    starting rsyslogd ... done
    * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon
    Starting crond: OK
    Starting AppArmor profiles
    Mounting securityfs on /sys/kernel/security
    find: '/etc/apparmor.d/cache': No such file or directory
    Starting random number generator daemon
    Initalizing available sources

    Initalizing entropy source hwrng

    [ 33.768014] vmmcwl_fixed: disabling
    Enabling JITTER rng support

    Initalizing entropy source jitter

    .
    umount: /mnt/.psplash: not mounted.

    FSP Distro 2.7.4 Node ttyS0

    Warning: Use of this System is Restricted to Authorized Users

    This computer system is the private property of the Company and may be
    used only by those individuals authorized by the Company, in accordance
    with Company policy. Unauthorized, illegal or improper use may result
    in disciplinary action and/or civil or criminal prosecution.

    Your use of Company electronic systems is subject to monitoring and
    disclosure in accordance with Company policy and applicable law. By
    continuing to access this system, you agree that your use of Company
    electronic systems is subject to the foregoing and that you have no
    expectation of privacy in regard to any files or data stored, accessed,
    transmitted or received on such systems.
    Node login: