|
Hi,
I've been playing around with serial on the mini2g & 4g using the experimental kernel -- I've got it working but want to make sure the changes make sense... and it'd be nice to have this in the mainline.
other than changing include/asm-armnommu/arch-ipod/serial.h to use the PP5020 serial base & irq stuff, seems everything necessary to tweak is in arch/armnommu/mach-ipod/hardware.c
main thing is, in ipod_serial_init, not sure why the three lines with the comment "/* port c bit 3 output 1 */" for hw_ver == 4/5/7 -- these actually prevent serial input on the top connector (ttyS0) from working. without these lines, it works (tested with different microcontroller hardware, and a FTDI FT232 cable).
i have to re-check to make sure that with just that change the bottom serial port works as well (my serial dock connector is, well, in pieces right now)... though i have changes i've cobbled together from different places that i know have it working -- just need to work out the minimal diffs.
Thanks,
-Tymm
|