Skip to content

Commit

Permalink
auto run gimbal init
Browse files Browse the repository at this point in the history
  • Loading branch information
mingzhangqun committed Dec 27, 2024
1 parent b4176df commit c4df4f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ function bus_init() {
return
fi

local pinmux=$(which cvi_pinmux)
# local pinmux=$(which cvi_pinmux)
local pinmux="/mnt/system/usr/bin/cvi_pinmux"
if [ ! -x "$pinmux" ]; then
echo "No pinmux tool found!"
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ insmod /mnt/system/ko/brcmfmac.ko
echo 3 > /proc/sys/vm/drop_caches
dmesg -n 4

if [ ! -e /dev/mmcblk1 ] && [ -x /usr/bin/gimbal ]; then
/usr/bin/gimbal init
fi

#usb hub control
#/etc/uhubon.sh host

Expand Down

0 comments on commit c4df4f1

Please sign in to comment.