···8888 sleep 1
8989done
90909191+if [ -x /scripts/usb-midi-gadget.sh ]; then
9292+ if [ "$USB_MOUNTED" = "1" ] && [ -f /mnt/config.json ] &&
9393+ grep -Eq '"usbMidi"[[:space:]]*:[[:space:]]*true' /mnt/config.json 2>/dev/null; then
9494+ /scripts/usb-midi-gadget.sh up >/tmp/usb-midi-gadget.log 2>&1 || true
9595+ else
9696+ /scripts/usb-midi-gadget.sh down >/tmp/usb-midi-gadget.log 2>&1 || true
9797+ fi
9898+fi
9999+91100# Run ac-native in a loop — if it crashes, restart; if clean exit, shutdown
92101export LD_LIBRARY_PATH="/lib64:/usr/lib64:${LD_LIBRARY_PATH:-}"
93102
+13-5
fedac/native/kernel/config-minimal
···31723172#
31733173# CONFIG_USB_CDNS_SUPPORT is not set
31743174# CONFIG_USB_MUSB_HDRC is not set
31753175-# CONFIG_USB_DWC3 is not set
31753175+CONFIG_USB_DWC3=y
31763176+CONFIG_USB_DWC3_DUAL_ROLE=y
31773177+CONFIG_USB_DWC3_PCI=y
31763178# CONFIG_USB_DWC2 is not set
31773179# CONFIG_USB_CHIPIDEA is not set
31783180# CONFIG_USB_ISP1760 is not set
···32193221# CONFIG_USB_ISP1301 is not set
32203222# end of USB Physical Layer drivers
3221322332223222-# CONFIG_USB_GADGET is not set
32233223-# CONFIG_TYPEC is not set
32243224-# CONFIG_USB_ROLE_SWITCH is not set
32243224+CONFIG_USB_GADGET=y
32253225+CONFIG_USB_LIBCOMPOSITE=y
32263226+CONFIG_USB_CONFIGFS=y
32273227+CONFIG_USB_CONFIGFS_F_MIDI=y
32283228+CONFIG_TYPEC=y
32293229+CONFIG_TYPEC_UCSI=y
32303230+CONFIG_UCSI_ACPI=y
32313231+CONFIG_USB_ROLE_SWITCH=y
32323232+CONFIG_USB_ROLES_INTEL_XHCI=y
32253233# CONFIG_MMC is not set
32263234# CONFIG_SCSI_UFSHCD is not set
32273235# CONFIG_MEMSTICK is not set
···37053713# CONFIG_TMPFS_QUOTA is not set
37063714# CONFIG_HUGETLBFS is not set
37073715CONFIG_ARCH_HAS_GIGANTIC_PAGE=y
37083708-# CONFIG_CONFIGFS_FS is not set
37163716+CONFIG_CONFIGFS_FS=y
37093717CONFIG_EFIVAR_FS=y
37103718# end of Pseudo filesystems
37113719