cm5: camera bring-up defaults
This commit is contained in:
parent
0f4917bd56
commit
0e2252792f
|
|
@ -11,4 +11,5 @@ BOOT_SUPPORT_SPI="yes"
|
|||
SKIP_BOOTSPLASH="yes" # Skip boot splash patch, conflicts with CONFIG_VT=yes
|
||||
DISTRIB_TYPE_LEGACY="bullseye bookworm focal jammy"
|
||||
BOOTFS_TYPE="fat"
|
||||
REVISION="1.0.0"
|
||||
REVISION="1.0.2"
|
||||
DEFAULT_OVERLAYS="opicm5-imx586-j800 opicm5-ov13850-j6 opicm5-ov13850-j4"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -2,9 +2,12 @@
|
|||
Description=Manage USB device functions
|
||||
DefaultDependencies=no
|
||||
After=local-fs.target
|
||||
After=sys-kernel-debug.mount
|
||||
Requires=sys-kernel-debug.mount
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/sh -c 'echo peripheral > /sys/devices/platform/fd5d0000.syscon/fd5d0000.syscon:usb2-phy@0/otg_mode || true; if [ -e /sys/bus/platform/devices/fc000000.usb/xhci-hcd.8.auto ]; then echo xhci-hcd.8.auto > /sys/bus/platform/drivers/xhci-hcd/unbind || true; fi; echo fc000000.usb > /sys/bus/platform/drivers/dwc3/unbind || true; sleep 1; echo fc000000.usb > /sys/bus/platform/drivers/dwc3/bind || true'
|
||||
ExecStart=/usr/bin/usbdevice start
|
||||
ExecStop=/usr/bin/usbdevice stop
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue