iPodLinux

Stretching the iPod to its limits.
It is currently Sat Nov 21, 2009 1:24 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Serial on mini2g / 4g
PostPosted: Mon Oct 26, 2009 11:00 pm 
Offline

Joined: Sun Jun 14, 2009 6:55 pm
Posts: 5
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


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group