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

Programmatically Set Device Tree Configuration #66

Closed
keenanjohnson opened this issue Nov 10, 2021 · 3 comments
Closed

Programmatically Set Device Tree Configuration #66

keenanjohnson opened this issue Nov 10, 2021 · 3 comments
Labels
enhancement New feature or request Software Software Engineering

Comments

@keenanjohnson
Copy link
Member

In order to enable the USB Power on the Wavehsare Carrier board we use for the Raspberry PI CM4, a dt_overlay variable must be set. Wiki link to the documentation.

dtoverlay=dwc2,dr_mode=host

Previously I've been setting this via the Balena Web UI, however, this makes this configuration obscure and not obvious to the Open Source community. We should consider setting this programmatically in code.

@keenanjohnson
Copy link
Member Author

We should add the changes made as part of #61 in this changeset. Currently the settings below are set via the balena web UI.

t_params = "i2c_arm=off","i2c-gpio=on"
dt_overlay = "dwc2,dr_mode=host","i2c-gpio,bus=11,i2c_gpio_delay_us=100,i2c_gpio_sda=2,i2c_gpio_scl=3"

@keenanjohnson
Copy link
Member Author

@djgood fyi in case you are ever messing with anything until I finish this item.

@keenanjohnson
Copy link
Member Author

We're moving to an esp32-based frog for the foreseeable future, so closing this won't fix fow now. Perhaps once the global supply chain clears up a bit, we will revisit this.

New software repo below:

https://github.com/Ribbit-Network/ribbit-network-frog-software

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Software Software Engineering
Projects
No open projects
Development

No branches or pull requests

1 participant