Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
MNT Reform Tools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Reform
MNT Reform Tools
Merge requests
!2
reform-hw-setup: some bits got lost when moving from reform-system-image to reform-tools
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
reform-hw-setup: some bits got lost when moving from reform-system-image to reform-tools
reform-hw-setup
into
main
Overview
2
Commits
3
Pipelines
0
Changes
1
Merged
Johannes Schauer Marin Rodrigues
requested to merge
reform-hw-setup
into
main
3 years ago
Overview
2
Commits
3
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
b5441a0e
Prev
Next
Show latest version
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Unverified
b5441a0e
reform-hw-setup: some bits got lost when moving from reform-system-image to reform-tools
· b5441a0e
Johannes Schauer Marin Rodrigues
authored
3 years ago
sbin/reform-hw-setup
+
6
−
0
Options
#!/bin/bash
# Workaround for WM8960 sometimes not coming out of reset
echo
2-001a
>
/sys/bus/i2c/drivers/wm8960/bind
# This switch in WM8960 needs to be on for the headset mic input to work
amixer
-c
0 sset
'Left Input Mixer Boost'
on
# Fix WM8960 being too quiet
amixer
-c
0 sset Playback 255
# Enable wakeup from suspend on all UARTs
echo
enabled
>
/sys/devices/platform/soc@0/30800000.bus/30860000.serial/tty/ttymxc0/power/wakeup
echo
enabled
>
/sys/devices/platform/soc@0/30800000.bus/30890000.serial/tty/ttymxc1/power/wakeup
Loading