I am trying to run a Linux kernel on a Rockchip rk3288 board.
This boards runs a native Android kernel. I extracted the Device Tree Source (DTS) from Android to use it as reference to build a custom DTS for the Linux kernel, following this steps:
Using android.dts as a basis I am trying to write a custom linux.dts to run Linux kernel 4.4.103 on my board. Linux kernel sources can be downloaded from this repo:
Using my custom linux.dts the Linux kernel boots, it mounts a root filesystem fine, the login (serial) console appears, and even the ethernet device works as expected.
But I have power problems with the USB-OTG and with the mini-pci-e. Using a multimeter checked the USB-OTG connector receives 0V when running my Linux kernel, but it receives 4.8V when running the Android kernel. Also, the mini-pci-e receives 0V when running the Linux kernel, but it received 3.75V when running the Android kernel.
I don't know what GPIO lines should be managed to enable power on these two devices. My experience working device trees is quite limited, so any advice with this could be really helpful. Thanks a lot in advance! :)
Hey I know this is like, a 3 year old issue but I'm wondering if you ever got it solved? I'm trying to run the mainline kernel on a rk3288 device and am having some trouble with the usb...
I am trying to run a Linux kernel on a Rockchip rk3288 board.
This boards runs a native Android kernel. I extracted the Device Tree Source (DTS) from Android to use it as reference to build a custom DTS for the Linux kernel, following this steps:
Using android.dts as a basis I am trying to write a custom linux.dts to run Linux kernel 4.4.103 on my board. Linux kernel sources can be downloaded from this repo:
Using my custom linux.dts the Linux kernel boots, it mounts a root filesystem fine, the login (serial) console appears, and even the ethernet device works as expected.
But I have power problems with the USB-OTG and with the mini-pci-e. Using a multimeter checked the USB-OTG connector receives 0V when running my Linux kernel, but it receives 4.8V when running the Android kernel. Also, the mini-pci-e receives 0V when running the Linux kernel, but it received 3.75V when running the Android kernel.
I don't know what GPIO lines should be managed to enable power on these two devices. My experience working device trees is quite limited, so any advice with this could be really helpful. Thanks a lot in advance! :)
This is the current linux.dts version: