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
8ff68765
Commit
8ff68765
authored
Aug 24, 2023
by
carbon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use duo-init.sh to initialize some hardware interfaces
parent
be2a6954
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
buildroot-2021.05/board/milkv/duo/overlay/etc/init.d/S99user
buildroot-2021.05/board/milkv/duo/overlay/etc/init.d/S99user
+4
-0
milkv/overlay/mnt/system/duo-init.sh
milkv/overlay/mnt/system/duo-init.sh
+6
-0
No files found.
buildroot-2021.05/board/milkv/duo/overlay/etc/init.d/S99user
View file @
8ff68765
...
@@ -15,6 +15,10 @@ case "$1" in
...
@@ -15,6 +15,10 @@ case "$1" in
echo
"Starting app..."
echo
"Starting app..."
if
[
-f
$SYSTEMPATH
/duo-init.sh
]
;
then
.
$SYSTEMPATH
/duo-init.sh &
fi
if
[
-f
$SYSTEMPATH
/blink.sh
]
;
then
if
[
-f
$SYSTEMPATH
/blink.sh
]
;
then
.
$SYSTEMPATH
/blink.sh &
.
$SYSTEMPATH
/blink.sh &
fi
fi
...
...
milkv/overlay/mnt/system/duo-init.sh
0 → 100755
View file @
8ff68765
#!/bin/sh
# set PWR_GPIO[4] to gpio
devmem 0x0502707c 32 0x111
devmem 0x03001068 32 0x3
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