Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duo-buildroot-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
duo-buildroot-sdk
Commits
806b8d4d
Commit
806b8d4d
authored
Oct 19, 2023
by
carbon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace cvi_pinmux command with duo-pinmux
parent
a9f98863
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
milkv/overlay/mnt/system/duo-init.sh
milkv/overlay/mnt/system/duo-init.sh
+3
-3
No files found.
milkv/overlay/mnt/system/duo-init.sh
View file @
806b8d4d
#!/bin/sh
# Set Pin-29(
PWR_SEQ
2) to GPIO
# Set Pin-29(
GP2
2) to GPIO
devmem 0x0502707c 32 0x111
devmem 0x03001068 32 0x3
# Set Pin-19(
SD0_PWR_EN
) to GPIO
cvi_pinmux
-w
SD0_PWR_EN/XGPIOA_
14
>
/dev/null
# Set Pin-19(
GP14
) to GPIO
duo-pinmux
-w
GP14/GP
14
>
/dev/null
# insmod pwm module
insmod /mnt/system/ko/cv180x_pwm.ko
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment