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
Commits
853ea13b
Verified
Commit
853ea13b
authored
11 months ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
reform-hw-setup: add loader for qca9377 wifi on imx8mp platforms
parent
c5e2e353
No related branches found
No related tags found
1 merge request
!68
Pocket Reform Release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sbin/reform-hw-setup
+15
-1
15 additions, 1 deletion
sbin/reform-hw-setup
with
15 additions
and
1 deletion
sbin/reform-hw-setup
+
15
−
1
View file @
853ea13b
...
...
@@ -35,6 +35,13 @@ init_pocket_display() {
done
}
init_qca9377_wifi
()
{
# load out-of-tree Wi-Fi driver
KERNVER
=
$(
uname
-v
|
cut
-d
' '
-f
4
)
modprobe cfg80211
insmod
-f
"/opt/reform-qcacld2/qcacld2-
${
KERNVER
}
.ko"
}
case
"
$(
cat
/proc/device-tree/model
)
"
in
"MNT Reform 2"
|
"MNT Reform 2 HDMI"
)
# Workaround for WM8960 sometimes not coming out of reset
...
...
@@ -70,10 +77,17 @@ case "$(cat /proc/device-tree/model)" in
;;
"MNT Pocket Reform with i.MX8MP Module"
)
init_pocket_display
init_qca9377_wifi
;;
"MNT Pocket Reform with BPI-CM4 Module"
)
init_pocket_display
init_a311d
;;
"MNT Reform 2 with RCORE RK3588 Module"
)
:
;;
"MNT Reform 2 with i.MX8MPlus Module"
)
init_wm8960
init_qca9377_wifi
;;
"MNT Reform 2 with RCORE RK3588 Module"
)
init_wm8960
;;
esac
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment