android-rpi / device_arpi_rpi4

Device build-config for Raspberry Pi 4
216 stars 87 forks source link

USB Support over USB-C on RPI4 #20

Closed Flemmard closed 4 years ago

Flemmard commented 4 years ago

Initial support of USB (adb, etc) for RPi4b. init.usb.rpi4.rc might need some work, but it seems to work as it is.

Flemmard commented 4 years ago

This needs https://github.com/android-rpi/kernel_arpi/pull/1

peyo-hd commented 4 years ago

Merged with small modification.

peyo-hd commented 4 years ago

Made USB client-mode optional with https://github.com/android-rpi/device_arpi_rpi4/commit/ad376c69328339c381b9d51680f4431faf9b70b6. Since powering rpi4 through Host USB port caused Host stability issues.

Flemmard commented 4 years ago

I'll try to find a way to enable or disable at in a different way. I'm not sure we can have adb on other ports ?

peyo-hd commented 4 years ago

ADB can be used via ethernet. " adb connect " from host.

Flemmard commented 4 years ago

Yeah right, I used a Arduino to make an UART adapter it's another way too but adb is a bit faster :D

Right now I'm working on a way to package everything into a flashable IMG via the raspberry tool