From: Darren G. <ts...@ya...> - 2008-11-30 20:22:15
|
Howdy, Way back when (2.6.11 days) I built an image for a basix that does MIDI and some audio analysis for a low-volume product. I haven't needed to change anything for quite a while so I haven't been closely tracking all of the software changes and the switch to OE. Now that the basix is being EOLed, I need to bring up my app on a verdex pro. To do MIDI (~31250bps) on the basix's FF and HW UARTS I had to modify pxa.c to allow custom baud rates, turn off AFE on HWUART, and re-build the kernel. Then I could set up the port like this: setserial /dev/ttyS3 divisor 29 spd_cust stty -F /dev/ttyS3 speed 38400 and also enable the HWUART: modprobe proc_gpio echo AF1 out > /proc/gpio/GPIO48 echo AF1 in > /proc/gpio/GPIO49 echo AF1 in > /proc/gpio/GPIO50 echo AF1 out > /proc/gpio/GPIO51 for i in 42 43 44 45;do echo GPIO in > /proc/gpio/GPIO$i;done Anyone know if these steps are still necessary in the newer kernel builds for the verdex pro? It would be great to be able to use a stock kernel if I can! I've been searching the gumstix site and using google but have had a hard time finding even simple info like which UARTs are available on the audiostix2. Not even mentioned on the store's product page?! Based on this picture: http://pubs.gumstix.org/boards/AUDIOSTIX/PCB00012-R791/PCB00012-R791.bot.png it seems that all 4 UARTS are brought out on audiostix2? Is this the most current info on how the verdex pro's ports are used? http://www.gumstix.net/Hardware/view/Expansion-boards/Basix-Connex-Verdex/Verdex-Pro-UARTs/112.html It says that the BTUART is not exposed, but it seems the lines appear on the audiostix2. Is it possible to get to the serial console on FFUART with a tweener, and then have MIDI on ST and BT UARTs on the audiostix? Thanks for any pointers/info, Darren |