Dobrica Pavlinušić's random unstructured stuff
Lenovo Thinkpad Tablet: Revision 23
Product Numbers: 1838, 1839 Tegra 2 tablet, possible kernel name (from schematics, not used as-is): PHJ00 schematics: compal_la-7461p_r0.3_schematics.pdf links
Review: dock connector
Posted 31 October 2011 - 03:09 AM #1
The dock connector is 40 pins Probably has a ground pad underneath.
The main pcb has a few more circuits and connectors on it. It is a displayport levelshifter / bridge to HDMI. It is the only 48 pin package I have found to match the input with the differential pairs. The power supply is 20 VDC 65 Watts. It does not seem like the center connector is connected. The connector is the standard "IBM" charger, outer case ground, inner case + 20 vdc, center pin power diag. There is a fet transistor between the dock connector and the psu marked FA1K18 and it is controlled by some regulator marked 920A4 in a SOT-223 package. The 20 VDC goes in on pin 2 and the tab on it. the HDMI chip has differential pair inputs on pin 47,48 - 44,45 - 41,41 - 38,39 I will do my best reversing the whole schematic for this unit and split it into parts so we can make other chargers and hopefully add HDMI to the dock. Pinout Docking Connector Thinkpad Tablet
1 charge 2 gnd
Pinout AAU chipAAU chip is audio amp.
Charger stuff : Now I am just waiting for the TPT to get fully charged so I can measure if there is any difference when fully charged.
Note: This is the schematics of the charger part: www.r-888.com/tpt/schema.pdf
I am not sure of the 2 transitors if they are pnp or npn yet but the rest is how it is. The TPT charger control pin 5 gets a 3,3 volt float via the resistor to the left in the schematic. When it is connected the TPT grounds the pin and the FET lets current through. Edited by ZebCrs, 05 November 2011 - 12:56 PM. adb[Tue Oct 9 14:12:34 2018] usb 2-4: new high-speed USB device number 9 using xhci_hcd [Tue Oct 9 14:12:34 2018] usb 2-4: New USB device found, idVendor=17ef, idProduct=7494, bcdDevice=99.99 [Tue Oct 9 14:12:34 2018] usb 2-4: New USB device strings: Mfr=2, Product=3, SerialNumber=4 [Tue Oct 9 14:12:34 2018] usb 2-4: Product: ThinkPadTablet [Tue Oct 9 14:12:34 2018] usb 2-4: Manufacturer: LENOVO [Tue Oct 9 14:12:34 2018] usb 2-4: SerialNumber: MP1YCPF dpavlin@klin:~$ adb devices List of devices attached MP1YCPF device dpavlin@klin:~$ adb shell shell@android:/ $ df Filesystem Size Used Free Blksize /dev 357M 32K 357M 4096 /mnt/asec 357M 0K 357M 4096 /mnt/obb 357M 0K 357M 4096 /sqlite_stmt_journals 4M 0K 4M 4096 /system 755M 310M 445M 4096 /data 56G 1G 54G 4096 /cache 885M 81M 804M 4096 /mnt/pia 492M 233M 258M 4096 /mnt/persdata 19M 8M 11M 4096 /storage/sdcard0 56G 1G 54G 4096 shell@android:/ # uname -a Linux localhost 2.6.39.4-g40c7636-dirty #1 SMP PREEMPT Thu Feb 7 20:07:37 CET 2013 armv7l GNU/Linux 1|shell@android:/ # cat /proc/cpuinfo Processor : ARMv7 Processor rev 0 (v7l) processor : 0 BogoMIPS : 996.14 processor : 1 BogoMIPS : 996.14 Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x1 CPU part : 0xc09 CPU revision : 0 Hardware : ventana Revision : 0000 Serial : 0000000000000000 shell@android:/ # free total used free shared buffers Mem: 731896 720924 10972 0 18392 -/+ buffers: 702532 29364 Swap: 0 0 0 shell@android:/ # cat /proc/partitions major minor #blocks name 179 0 62520320 mmcblk0 179 1 6144 mmcblk0p1 179 2 8192 mmcblk0p2 179 3 786432 mmcblk0p3 179 4 921600 mmcblk0p4 179 5 2048 mmcblk0p5 179 6 524288 mmcblk0p6 179 7 20480 mmcblk0p7 259 0 143360 mmcblk0p8 259 1 20480 mmcblk0p9 259 2 60071936 mmcblk0p10 APX mode
[Tue Oct 9 14:30:41 2018] usb 2-4: new high-speed USB device number 16 using xhci_hcd [Tue Oct 9 14:30:42 2018] usb 2-4: New USB device found, idVendor=0955, idProduct=7820, bcdDevice= 1.04 [Tue Oct 9 14:30:42 2018] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [Tue Oct 9 14:30:42 2018] usb 2-4: Product: APX [Tue Oct 9 14:30:42 2018] usb 2-4: Manufacturer: NVIDIA Corp. nvflashhttps://forum.xda-developers.com/showthread.php?t=1745450 dpavlin@klin:/virtual/android/tegra/linux4tegra/nvflash$ LD_LIBRARY_PATH=. ./nvflash --bl ../prebuilt/fastboot.stock.bin --getpartitiontable /klin/Tegra/tpt1.nvflash.getpartitiontable Nvflash started rcm version 0X20001 System Information: chip name: t20 chip id: 0x20 major: 1 minor: 4 chip sku: 0x8 chip uid: 0x0a8051c743dfd457 macrovision: disabled hdcp: enabled sbk burned: false dk burned: false boot device: emmc operating mode: 3 device config strap: 0 device config fuse: 0 sdram config strap: 0 downloading bootloader -- load address: 0x108000 entry point: 0x108000 sending file: ../prebuilt/fastboot.stock.bin | 936016/936016 bytes sent ../prebuilt/fastboot.stock.bin sent successfully waiting for bootloader to initialize bootloader downloaded successfully failed executing command 19 NvError 0x120000 command failure: get partition table failed partition tabledpavlin@nuc:/nuc/Tegra/nvflash$ LD_LIBRARY_PATH=. ./nvflash --bl ../04.EBT.img --getpartitiontable partitiontable.txt --go Nvflash started rcm version 0X20001 System Information: chip name: t20 chip id: 0x20 major: 1 minor: 4 chip sku: 0x8 chip uid: 0x043c71c3433f8497 macrovision: disabled hdcp: enabled sbk burned: false dk burned: false boot device: emmc operating mode: 3 device config strap: 0 device config fuse: 0 sdram config strap: 2 downloading bootloader -- load address: 0x108000 entry point: 0x108000 sending file: ../04.EBT.img / 6291456/6291456 bytes sent ../04.EBT.img sent successfully waiting for bootloader to initialize bootloader downloaded successfully Succesfully updated partition table information to partitiontable.txt backupdpavlin@nuc:/nuc/Tegra/nvflash$ grep PartitionId partitiontable.txt | cut -d= -f2 | tr -d '\r' | xargs -i ./nvflash -r --read {} {} # even better version which removes biggest partition (15) dpavlin@klin:/klin/Tegra/nvflash$ grep PartitionId partitiontable.txt | cut -d= -f2 | tr -d '\r' | grep -v 15 | xargs -i ../nvflash/nvflash -r --read {} {} u-bootdpavlin@klin:/klin/Tegra/u-boot-tegra$ export CROSS_COMPILE="arm-none-eabi-" ARCH=arm dpavlin@klin:/klin/Tegra/u-boot-tegra$ make ventana_defconfig BCT - Boot Configuration Tablehttps://http.download.nvidia.com/tegra-public-appnotes/bct-overview.html compiler: https://github.com/NVIDIA/cbootimage dpavlin@klin:/klin/Tegra/tegrarcm$ ./src/tegrarcm readbct --bct tpt.bct [Wed Oct 10 14:31:05 2018] usb 3-1.1: new high-speed USB device number 23 using ehci-pci [Wed Oct 10 14:31:05 2018] usb 3-1.1: New USB device found, idVendor=0955, idProduct=7820, bcdDevice= 1.04 [Wed Oct 10 14:31:05 2018] usb 3-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [Wed Oct 10 14:31:05 2018] usb 3-1.1: Product: APX [Wed Oct 10 14:31:05 2018] usb 3-1.1: Manufacturer: NVIDIA Corp. bct file: tpt.bct device id: 0x7820 uid: 0x0a805185415fc1d7 RCM version: 2.1 downloading miniloader to target at address 0x40008000 (132976 bytes)... miniloader downloaded successfully reading BCT from system, writing to tpt.bct...done! serialFrom android: shell@android:/ # cat /proc/cmdline tegraid=20.1.4.0.0 mem=1022M@0M android.commchip=2685344 vmalloc=256M androidboot.serialno=0a805185415fc1d7 video=tegrafb no_console_suspend=1 console=none debug_uartport=lsport,-3 usbcore.old_scheme_first=1 lp0_vec=8192@0x1d826000 tegra_fbmem=8197120@0x1d82a000 tegraboot=sdmmc charging=0 isBatteryFail=0 gpt gpt_sector=125040639 shell@android:/ # lsof | grep tty rild 103 radio 13 ??? ??? ??? ??? /dev/ttyACM1 brcm_patc 330 bluetooth 3 ??? ??? ??? ??? /dev/ttyHS2 sh 1789 shell 24 ??? ??? ??? ??? /dev/tty sh 1795 root 24 ??? ??? ??? ??? /dev/tty shell@android:/ # dmesg | grep tty <6>[ 6.290150] serial8250.0: ttyS0 at MMIO 0x70006300 (irq = 122) is a Tegra <6>[ 6.290475] tegra_uart.1: ttyHS1 at I/O 0x0 (irq = 69) is a unknown <6>[ 6.290727] Registered UART port ttyHS1 <6>[ 6.290873] tegra_uart.2: ttyHS2 at I/O 0x0 (irq = 78) is a unknown <6>[ 6.291115] Registered UART port ttyHS2 <6>[ 7.056012] cdc_acm 1-1:1.1: ttyACM0: USB ACM device <6>[ 7.067323] cdc_acm 1-1:1.3: ttyACM1: USB ACM device <6>[ 7.137758] cdc_acm 1-1:1.9: ttyACM2: USB ACM device <4>[ 15.154176] ttyACM1: Entering acm_tty_open. serial port
Schematic has 4 pin debug connector with serial on it. I hope it's this one (there are none other on this side of board, and Pinout should be:
On pin 1 (top of picture) I get 3V3, while pin 2 is GND. Maybe serial isn't initialized? |