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

BBAI64 - Included DT in images seems to be faulty / old #214

Open
orgua opened this issue Dec 3, 2023 · 0 comments
Open

BBAI64 - Included DT in images seems to be faulty / old #214

orgua opened this issue Dec 3, 2023 · 0 comments

Comments

@orgua
Copy link

orgua commented Dec 3, 2023

I hope this is the right place to report this issue

Observation

Toggling GPIO shows no action

gpioset 1 20=1
gpioset 1 20=0

sudo echo 320 >  /sys/class/gpio/export
sudo echo out > /sys/class/gpio/gpio320/direction
sudo echo 1 > /sys/class/gpio/gpio320/value

Problem was also reported some time ago here and a manual fix is indicated in the bb-forum.

Tested Images

  • images from here, current versions (as of 2023-12-02)
  • debian 11.8 with 5.10ti and ubuntu 22.04 with 5.10ti -> GPIO doesn't work out-of-the-box, but is fixable, see below
  • [as a sidenote] bookworm with kernel 6.1 and mainline (6.6 / 6.7) -> GPIO doesn't work and the quick-fix also did not work as the devicetree in the according branches is missing the gpio-entries

manual fix

Boot image with kernel 5.10ti

git clone https://github.com/beagleboard/BeagleBoard-DeviceTrees.git
cd BeagleBoard*
git checkout v5.10.x-ti-arm64 
# ... or stay on default v5.10.x-ti-unified, both work
make all_arm64
sudo make install_arm64

sudo reboot
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