10-19-2007, 07:09 AM | #1 |
Junior Member
Posts: 3
Karma: 27
Join Date: Oct 2007
Device: irex
|
JTAG & console UART Pinout
Hi,
Is anyone still interested in the pinout of JTAG on the Iliad? I mapped them out, but still have to verify they work. Just want to see if there is demand. The connector is the one that is not connected at the edge of the board. Actually it is a dual connector that is present on both sides of the board, both with the JTAG pins (also for the Xilinx). Last edited by jtag; 10-23-2007 at 05:44 PM. |
10-19-2007, 07:38 AM | #2 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Pardon the stupid question, (I'm not a hardware guy) but would the jtag port give console output from the kernel as it boots? If so, I think we all would be *very* interested as it would be helpful for a kernel 2.6 port.
|
10-19-2007, 08:26 AM | #3 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
I understand that iRex was somewhat resistant to allowing JTAG access earlier, so I guess this will be an "unsupported" project?
|
10-19-2007, 10:05 AM | #4 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Wow, if that could be used for boot-time output, I think it would be VERY interesting... might be enough to get me into kernel-hacking...
|
10-19-2007, 04:13 PM | #5 |
Junior Member
Posts: 3
Karma: 27
Join Date: Oct 2007
Device: irex
|
console uart too
Ah ok, I didn't realize the console uart was worth something too. Actually I just found it is also connected to the flat cable connector on the top. I don't have a level converter handy at the moment. Will post details when I confirmed them.
|
10-23-2007, 05:02 PM | #6 |
Junior Member
Posts: 3
Karma: 27
Join Date: Oct 2007
Device: irex
|
pinouts and console output
Attached are two images of the relevant pinouts for JTAG and the console UART. The console UART pins are only available on the front and is configured at 115200 baud.
Console output: iRex Technologies Sexy Program Loader for ER0100 series e-reader (c) 2005, 2006 by iRex Technologies BV TFFS Volume info unit size: 65536kByte Reading SysSet info...Done Hardware: 0003 VCOM: 2F4C Source drivers: 0012 Initialising DELTA...Done Uploading splash screen...Done Initialising keys...Done Loading kernel image...Done Loading initrd...Done Jumping to kernel... Uncompressing Linux............................................ done, booting the kernel. Linux version 2.4.19-rmk7-pxa2-irex1 (buildmgr@buildserver) () #21100 Mon Sep 24 12:21:09 CEST 2007 CPU: XScale-PXA255 revision 6 Machine: iRex Technologies ER0100 eReader Ignoring unrecognised tag 0x00000000 Memory clock: 99.53MHz (*27) Run Mode clock: 398.13MHz (*4) Turbo Mode clock: 398.13MHz (*1.0, active) On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/ram rw initrd=0xA1000000,4M rootfstype=ext2 init=/linuxrc rw console=ttyS2,115200 mem=64M Console: colour dummy device 80x30 Calibrating delay loop... 397.31 BogoMIPS Memory: 64MB = 64MB total Memory: 59212KB available (1132K code, 275K data, 72K init) Dentry cache hash table entries: 8192 (order: 4, 65536 bytes) Inode cache hash table entries: 4096 (order: 3, 32768 bytes) Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) POSIX conformance testing by UNIFIX Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Using PXA255 frequency points. Registering CPU frequency change support. CPU clock: 398.131 MHz (33.000-400.000 MHz) Starting kswapd I2C: PXA algorithm module loaded. enable_irq(11) unbalanced from c0085a84 I2C: Adding PXA-I2C-Adapter. I2C: Scanning bus (51) I2C: Successfully added bus pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with no serial options enabled ttyS00 at 0x0000 (irq = 15) is a PXA UART ttyS01 at 0x0000 (irq = 14) is a PXA UART ttyS02 at 0x0000 (irq = 13) is a PXA UART SA1100 Real Time Clock driver v1.00 PCF8563: RTC Initialization Successfull RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize ac97_codec: AC97 Audio codec, id: 0x5053:0x4304 (Philips UCB1400) UCB1x00: probed IRQ55 correctly. Please remove machine dependencies from ucb1x00-core.c Turning on amplifier enable_irq(55) unbalanced from c00a5888 Linux Kernel Card Services 3.1.22 options: [pm] Intel PXA250/210 PCMCIA (CS release 3.1.22) usb.c: registered new driver usbdevfs usb.c: registered new driver hub NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 4096) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com irex_er0100_pcmcia_configure_socket: Resetting WLAN RAMDISK: Compressed image found at block 0 Freeing initrd memory: 4096K VFS: Mounted root (ext2 filesystem). Freeing init memory: 72K ---------------------------------------- Starting initrd ---------------------------------------- Starting tffs filesystem Using /lib/modules/tffs.o Warning: loading tffs will taint the kernel: non-GPL license - Proprietary See http://www.tux.org/lkml/#export-tainted for information about tainted modules tffs: TrueFFS driver 7100.76 tffs: will not use IRQ<7>tffs: TffsMapMem: request_mem_region(0,20000) OK tffs: G3/P3 found<6>tffs: Socket 0 in addr 0x0 tffs: Device 0x0: size 0xe620000 HW sector 0x200 (recommended 0x1000) tffs: mDOC H3 not found; multi-sector polled I/O disabled<6>tffs: use major device number 100 Partition check: tffsa: tffsa1 tffsa3 < tffsa5 tffsa6 tffsa7 > tffs: disk partition: dev_number=0x6401, 149084 sectors, start_sector=52 tffs: disk partition: dev_number=0x6403, 2 sectors, start_sector=149136 tffs: disk partition: dev_number=0x6405, 57980 sectors, start_sector=149188 tffs: disk partition: dev_number=0x6406, 262652 sectors, start_sector=207220 tffs: disk partition: dev_number=0x6407, 1196 sectors, start_sector=469924 Loading sysset and keystore modules Using /lib/modules/sysset.o Warning: loading sysset will taint the kernel: non-GPL license -iRex sysset module loaded. PROPRIETARY (c) 2006 iRex Technologies BV See http://www.tux.org/lkml/#export-tainted for information about tainted modules Using /lib/modules/keystore.o Warning: loading keystore will taint the kernel: non-GPL license - PROPRIETARY (c) 2006 iRex Technologies BV See http://www.tux.org/lkml/#export-tainted for information about tainted modules iRex keystore module loaded. Starting delta ASIC with hwrev=3 Using /lib/modules/delta.o Warning: loading delta will taint the kernel: non-GPL license - PROPRIETARY (c) 2006 iRex Technoeinkfb: Hardware version 3 logies BV See http://www.tux.org/lkml/#export-tainted for inffbcon_setup: No support for fontwidth 8 ormation about tainted modules fbcon_setup: type 0 (aux 0, depth 8) not supported Console: switching to colour frame buffer device 96x64 Starting button device Using /lib/modules/button.o Warning: loading button will taint the kernel: non-GPL license -iRex ER0100 eReader Button Driver initialised PROPRIETARY (c) 2006 iRex Technologies BV See http://www.tuxKernel: Init WACOM On .org/lkml/#export-tainted for information about tainted modules Starting battery device Using /lib/modules/battery.o Warning: loading battery will taint the kernel: non-GPL license iRex ER0100 eReader Battery Gas Gauge Driver initialised - PROPRIETARY (c) 2006 iRex Technologies BV See http://www.tux.org/lkml/#export-tainted for information about tainted modules Check for downloaded firmware updates [os=0,fs=0] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended os flag not set, no os.gz; nothing to do fs flag not set, no fs.gz; nothing to do No updates, booting app fs... EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended INIT: version 2.86 booting EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended MSDOS FS: IO charset utf8 EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended Setting up IP spoofing protection: rp_filter. Configuring network interfaces... done. INIT: Entering runlevel: 5 Starting PCMCIA services: cardmgr[250]: watching 2 sockets done. cardmgr[251]: socket 1: Marvell Starting MMC services Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/ide/ide-mod.o Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/ide/ide-disk.o Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/ide/ide-probe-mod.o (W)displayMgr.c:250,main() ePaper daemon (displayMgr 0.211) (W)displayMgr.c:255,main() Display Manager is accessible to local processes only. (W)erdmServer.c:62,initServer() Bound successfully to 127.0.0.1:50555. cardmgr[251]: executing: 'modprobe cf8385 2>&1' cardmgr[251]: + Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/pcmcia/cfio.o Before calling register_pccard_driver After calling register_pccard_driver cardmgr[251]: + Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/pcmcia/cf8385.o (W)eripc.c:37,erIpcInitServer() Version: 256 (W)eripc.c:76,erIpcInitServer() Bound successfully to 127.0.0.1:50071. Kernel: WACOM Off Delay start Entering cf_attach() Before registering the client irex_er0100_pcmcia_configure_socket: Resetting WLAN BasePort1=0xf7000000, AssignedIRQ=68 Waiting for mb-applet-icon-container ... After calling wlan_add_card function Leaving cf_attach() fbcon_setup: No support for fontwidth 8 fbcon_setup: type 0 (aux 0, depth 8) not supported .cardmgr[251]: executing: './network start wlan0 2>&1' cardmgr[251]: + Default Config cardmgr[251]: + wlan0 deepsleep:setting to on cardmgr[251]: + Sample private network setup .Could not init font path element /usr/lib/X11/fonts/misc, removing from list! Could not init font path element /usr/lib/X11/fonts/100dpi, removing from list! Could not init font path element /usr/lib/X11/fonts/75dpi, removing from list! ...(W)eripc.c:37,erIpcInitServer() Version: 256 (W)eripc.c:76,erIpcInitServer() Bound successfully to 127.0.0.1:50073. ..... wait done Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/usb/hal.o hal_pxa250.c: 1362-hal Initialization Success Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/usb/phci.o td_cache = c022f9f0 ed_cache = c022fa60 usb.c: new USB bus registered, assigned bus number 1 (W)eripc.c:37,erIpcInitServer() Version: 256 hub.c: USB hub found hub.c: 1 port detected (W)eripc.c:76,erIpcInitServer() Bound successfully to 127.0.0.1:50072. USB HAL: HC suspend usb_phci.c: usb-phci Initialization Success Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/scsi/scsi_mod.o SCSI subsystem driver Revision: 1.00 Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/usb/storage/usb-storage.o Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. (CL_W)main.c:217,main() gtk_rc_get_default_files [/etc/gtk-2.0/gtkrc] (CL_W)main.c:217,main() gtk_rc_get_default_files [/home/root/.gtkrc-2.0] $** can't synthesize pci hotplug events AC97: Turning off sound (W)mb-applet-icon-container.c:1184,loadIcons() Can't find pRegIcon[56] (W)mb-applet-icon-container.c:1184,loadIcons() Can't find pRegIcon[57] (W)eripc.c:37,erIpcInitServer() Version: 256 (W)eripc.c:76,erIpcInitServer() Bound successfully to 127.0.0.1:50065. (CL_E)erConnect.c:68,erConnectInit() Lock the connect mutex (CL_E)metadataStoreManager.c:936,recreateArchives( ) Can not create directory /mnt/free/newspapers! (CL_E)metadataStoreManager.c:947,recreateArchives( ) Can not create directory /mnt/free/books! (CL_E)metadataStoreManager.c:958,recreateArchives( ) Can not create directory /mnt/free/documents! (CL_E)metadataStoreManager.c:969,recreateArchives( ) Can not create directory /mnt/free/notes! (W)eripc.c:37,erIpcInitServer() Version: 256 (W)eripc.c:76,erIpcInitServer() Bound successfully to 127.0.0.1:50070. (CL_W)programManager.c:1019,pm_InitProgramTable() Application [APABIMOBI] executable [/usr/bin/xebreader] is not found: disabled it (CL_W)programManager.c:1019,pm_InitProgramTable() Application [EBA] executable [/usr/bin/eba] is not found: disabled it (CL_W)programManager.c:1019,pm_InitProgramTable() Application [ARINC] executable [/usr/bin/ereader_mapviewer] is not found: disabled it $** can't synthesize root hub events Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/usb/pdc.o USB HAL: DC suspend usb_pdc.c: usb-pdc Initialization Success Using /lib/modules/2.4.19-rmk7-pxa2-irex1/kernel/drivers/usb/mscd.o pdc_bus.c: Registered Driver devmscd devmscd.c: devmscd Initialization Success OpenEmbedded Linux ereader ttyS2 ereader login: |
10-23-2007, 06:07 PM | #7 |
Addicted to Porting
Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
Thanks for the output, that's very interesting!
I hope this info will be helpful to Kernel hackers trying to port a 2.6 kernel. |
10-24-2007, 01:38 AM | #8 |
Entrepreneur
Posts: 36
Karma: 10
Join Date: Oct 2007
Location: California
Device: Iliad v2
|
Wow, this is awesome jtag! Nice detective work. I'm guessing those serial lines come out somewhere else too that is a bit easier to connect to perhaps.
Looks like finding the bug in usb.c for various usb sticks should be pretty straightforward if they just use a vanilla version. --chuck |
10-26-2007, 02:55 PM | #9 |
Developer
Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Wow, this is really fantastic work. This question may be obvious, but do these pinouts come out the physical connecter plug at the base of the iLiad? That is, if I could get another plug like that, could I get this console output if I attach wire leads to the right pins?
This is excellent work that will definitely help with kernel hacking. Wonderful. I can't compliment you enough. |
10-31-2007, 08:32 PM | #10 |
Guru
Posts: 607
Karma: 2157
Join Date: Oct 2005
Device: NCR3125, Nokia 770,...
|
What I am astonished is that you are telling this as if it were trivial, while some months ago we speculated and nobody concluded anything about. Can I bet you have a deep training on embedded systems? |
01-13-2010, 02:19 AM | #11 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jan 2010
Device: akhil
|
can u help me in huwai 2906
|
06-26-2011, 09:55 PM | #12 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jun 2011
Device: phone
|
Yeah awesome man! Thanks for the great info...I will be doing some kernel hacking
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cybook JTAG connector | skyweb | Gen3 Developer's Corner | 5 | 06-02-2011 04:56 PM |
s3c2440 serial pinout anyone? | vishcompany | Gen3 Developer's Corner | 5 | 06-22-2009 04:08 PM |
iLiad Storming the JTAG walls | scotty1024 | iRex Developer's Corner | 15 | 12-01-2006 11:59 AM |