Guest Flat Computing Posted June 1, 2011 Report Posted June 1, 2011 Hi all, I am trying to get USB serial debug out of the Vega. I built the android_kernel_advent_vega with some modifications for my Prolific USB to serial dongle. Specifically, the kernel options enabled for USB include: CONFIG_USB_SUPPORT=y CONFIG_USB_ARCH_HAS_HCD=y # CONFIG_USB_ARCH_HAS_OHCI is not set CONFIG_USB_ARCH_HAS_EHCI=y CONFIG_USB=y # CONFIG_USB_DEBUG is not set CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_SERIAL=y CONFIG_USB_SERIAL_CONSOLE=y CONFIG_USB_SERIAL_PL2303=y # CONFIG_USB_SERIAL_DEBUG is not set After compiled, I make the boot image with kernel command line arguments as below: ./mkbootimg --base 0x10000000 --pagesize 2048 --kernel zImage --ramdisk ramdisk.img --cmdline "console=ttyUSB0,115200n8" -o boot.img Yet, I can't seem to get any debug output when I boot. The kernel just hangs. The same kernel used to boot prior to these customizations, so I must be missing something important. Can anyone help explain the magic to getting a linux consule out of the Vega unit? Thanks, Todd
Guest simonta Posted June 1, 2011 Report Posted June 1, 2011 For a couple of quid, it might be easier to get a USB-Serial convertor? Assuming you want RS232?
Guest IanTurner Posted June 1, 2011 Report Posted June 1, 2011 (edited) For a couple of quid, it might be easier to get a USB-Serial convertor? Assuming you want RS232? That's what a Prolific USB to serial dongle is. The company I work for sells a third party device with a er advanced rs232 port on it which means we have to supply customers with one. There are only two main chipset manufacturers and one of them produces crap drivers but can't remember if it's Prolific or FTDI In another thread about USB gps dongles using the PL2303 chip The_corvus suggested 1) install bumble kernel 2) boot in host mode 3) with connecbot or any terminal do: insmod /system/lib/modules/pl2303.ko 4) connect your usb device 5) you will get /dev/ttyUSB0 which may or may not be of use PS serial comms is strictly for primitive savage tribes of engineers who haven't worked out that you're meant to bang the rocks together. Edited June 1, 2011 by IanTurner
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now