Closed aliafshar closed 4 years ago
Since I (fortunately) work at Google, I got in touch with one of the Mendel engineers, who taught me how to rebuild the kernel with the extra module I need. And this issue is now closed.
If anyone is reading, and needs to recompile the kernel, first follow the instructions to get the source code, here: https://coral.googlesource.com/docs/+/refs/heads/master/GettingStarted.md
Edit packages/linux-imx/debian/defconfig to add the config options you want to the kernel.
In my case add the missing kernel option.
CONFIG_USB_SERIAL_PL2303=y
Rebuild the kernel
m docker-linux-imx
Install the new kernel
j product
cd packages/bsp/
mdt install ./linux-image-4.14.98-imx_11-4_arm64.deb
Reboot Hope that helps anyone
And I documented it in this blog post: https://medium.com/@aliafshar/recompiling-the-coral-dev-board-mendel-linux-kernel-1319c911bcad
Hi everyone!
I got given one of these Coral boards to play with and I have to say I am quite impressed. I have a problem though. I need to connect a USB RS232 cable (PL2303). In every other linux I have used (including rpi) this detects normally using the usbserial kernel module, but not in Mendel linux. Mendel has usbserial as a kernel builtin (probably for the serial console), so I can't remove the module and reload with vendor/product parameters and I can't seem to correctly pass them on the boot line. I haven't tried to rebuild the kernel yet.
I'd appreciate any help here.
Thanks a lot!