Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

cpufreq utilities not working on BBAI with Debian 11.7  #110

@EigenMania

Description

@EigenMania

Describe the bug

  • cpufreq-info cannot analyze BBAI cpus.
  • cannot set performance mode (governer) with cpufreq-set

**Describe which image you are running (example: bone-debian-10.2-iot-armhf-2020-02-03-4gb.img.xz) **
AM335x 11.7 2023-09-02 4GB microSD IoT

Describe your hardware
BeagleBone AI

Describe any Capes Installed
None

Please run this built-in script
sudo /opt/scripts/tools/version.sh

This does not work, but "sudo beagle-version" gives:

====================================

model:[BeagleBoard.org_BeagleBone_AI]
dogtag:[BeagleBoard.org Debian Bullseye IoT Image 2023-09-02]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2022.04-ge0d31da5 (Aug 04 2023 - 18:49:43 +0000)]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am5729-beagleboneai.dts]
kernel:[5.10.168-ti-r72]
nodejs:[v12.22.12]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210821.0-0bullseye+20210821]
pkg:[bb-customizations]:[1.20231007.0-0
bullseye+20231007]
pkg:[bb-usb-gadgets]:[1.20231003.1-0bullseye+20231003]
pkg:[bb-wl18xx-firmware]:[1.20230414.0-0
bullseye+20230414]
pkg:[kmod]:[28-1]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
pkg:[firmware-ti-connectivity]:[20210315-3]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal input render bluetooth netdev i2c gpio admin tisdk weston-launch cloud9ide]
cmdline:[console=ttyS0,115200n8 root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 20.277435] remoteproc remoteproc0: 58820000.ipu is available
[ 20.279113] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
[ 20.279144] remoteproc remoteproc0: powering up 58820000.ipu
[ 20.279174] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
[ 20.279205] remoteproc remoteproc0: request_firmware failed: -2
[ 20.306915] remoteproc remoteproc1: 55020000.ipu is available
[ 20.307189] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
[ 20.307189] remoteproc remoteproc1: powering up 55020000.ipu
[ 20.307250] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
[ 20.307250] remoteproc remoteproc1: request_firmware failed: -2
[ 20.340484] remoteproc remoteproc2: 40800000.dsp is available
[ 20.341491] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
[ 20.341491] remoteproc remoteproc2: powering up 40800000.dsp
[ 20.341552] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
[ 20.341583] remoteproc remoteproc2: request_firmware failed: -2
[ 20.349700] remoteproc remoteproc3: 41000000.dsp is available
[ 20.350372] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[ 20.350402] remoteproc remoteproc3: powering up 41000000.dsp
[ 20.350463] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[ 20.350463] remoteproc remoteproc3: request_firmware failed: -2
[ 30.619293] remoteproc remoteproc4: 4b234000.pru is available
[ 30.620025] remoteproc remoteproc5: 4b238000.pru is available
[ 30.620666] remoteproc remoteproc6: 4b2b4000.pru is available
[ 30.621246] remoteproc remoteproc7: 4b2b8000.pru is available
dmesg | grep pru
[ 30.619293] remoteproc remoteproc4: 4b234000.pru is available
[ 30.620025] remoteproc remoteproc5: 4b238000.pru is available
[ 30.620666] remoteproc remoteproc6: 4b2b4000.pru is available
[ 30.621246] remoteproc remoteproc7: 4b2b8000.pru is available
dmesg | grep pinctrl-single
[ 10.786956] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
dmesg | grep gpio-of-helper
[ 10.789154] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=0 name='P8_03'
[ 10.789276] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=1 name='P8_04'
[ 10.789489] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=2 name='P8_05'
[ 10.789611] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=3 name='P8_06'
[ 10.789825] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=4 name='P8_07'
[ 10.790008] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=5 name='P8_08'
[ 10.790100] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=6 name='P8_09'
[ 10.790252] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=7 name='P8_10'
[ 10.790435] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=8 name='P8_11'
[ 10.790527] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=9 name='P8_12'
[ 10.790740] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=10 name='P8_13'
[ 10.790863] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=11 name='P8_14'
[ 10.791015] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=12 name='P8_15'
[ 10.791168] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=13 name='P8_16'
[ 10.791351] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=14 name='P8_17'
[ 10.791503] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=15 name='P8_18'
[ 10.791625] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=16 name='P8_19'
[ 10.791748] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=17 name='P8_20'
[ 10.791900] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=18 name='P8_21'
[ 10.791992] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=19 name='P8_22'
[ 10.792175] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=20 name='P8_23'
[ 10.792327] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=21 name='P8_24'
[ 10.792449] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=22 name='P8_25'
[ 10.792572] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=23 name='P8_26'
[ 10.792694] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=24 name='P8_27'
[ 10.792877] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=25 name='P8_28'
[ 10.792999] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=26 name='P8_29'
[ 10.793121] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=27 name='P8_30'
[ 10.793273] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=28 name='P8_31'
[ 10.793395] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=29 name='P8_32'
[ 10.793548] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=30 name='P8_33'
[ 10.793670] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=31 name='P8_34'
[ 10.793792] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=32 name='P8_35'
[ 10.793945] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=33 name='P8_36'
[ 10.794067] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=34 name='P8_37'
[ 10.794189] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=35 name='P8_38'
[ 10.794372] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=36 name='P8_39'
[ 10.794494] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=37 name='P8_40'
[ 10.794616] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=38 name='P8_41'
[ 10.794769] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=39 name='P8_42'
[ 10.794891] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=40 name='P8_43'
[ 10.795043] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=41 name='P8_44'
[ 10.795135] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=42 name='P8_45'
[ 10.795288] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=43 name='P8_46'
[ 10.795440] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=44 name='P9_11'
[ 10.795623] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=45 name='P9_12'
[ 10.795745] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=46 name='P9_13'
[ 10.795898] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=47 name='P9_14'
[ 10.796051] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=48 name='P9_15'
[ 10.796203] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=49 name='P9_16'
[ 10.796295] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=50 name='P9_17'
[ 10.796447] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=51 name='P9_18'
[ 10.796569] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=52 name='P9_19'
[ 10.796722] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=53 name='P9_20'
[ 10.796874] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=54 name='P9_21'
[ 10.796997] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=55 name='P9_22'
[ 10.797119] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=56 name='P9_23'
[ 10.797271] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=57 name='P9_24'
[ 10.797424] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=58 name='P9_25'
[ 10.797576] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=59 name='P9_26'
[ 10.797698] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=60 name='P9_27'
[ 10.797821] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=61 name='P9_28'
[ 10.797973] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=62 name='P9_29'
[ 10.798126] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=63 name='P9_30'
[ 10.798248] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=64 name='P9_31'
[ 10.798370] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=65 name='P9_41'
[ 10.798522] gpio-of-helper 44000000.ocp:cape-universal: Allocated GPIO id=66 name='P9_42'
[ 10.798522] gpio-of-helper 44000000.ocp:cape-universal: ready
dmesg | grep wlcore
lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

====================================

To Reproduce
Steps to reproduce the behavior:

  1. Run "sudo cpufreq-info" from anywhere
  2. Run "sudo cpufreq-set -g performance" from anywhere

Expected behavior
See cpu state and set cpu performance.

Screenshots
image
image

Additional context
None.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions