28f0e5d4e1
Changes in the kernel defconfig: - disable ANDROID_PARANOID_NETWORK (removes network restrictions) - enable CONFIG_USB_G_ANDROID and CONFIG_DIAG_CHAR (for USB networking) - enable DEVTMPFS (needed for udev -> touch support in weston) - enable FB_MSM_DEFAULT_DEPTH_RGB565 (for 16-bit support to avoid red screen) - enable SYSVIPC (so busybox' syslogd can log to a ringbuffer in the kernel) - enable VT (for virtual terminal over USB) [ci:skip-build]: already built successfully in CI
4 lines
95 B
Bash
4 lines
95 B
Bash
#!/bin/sh
|
|
|
|
# set USB properties
|
|
echo 4 > /sys/devices/platform/android_usb/usb_function_switch
|