ATV1200 - nspierbundel/amlogic-common GitHub Wiki

Connections

MyGica atv1200 has the following connections:

  • 4x Full-Sides USB 2.0 ports, 1x Internal USB port.
  • 10/100MBit Ethernet
  • SD slot
  • HDMI
  • internal sata connector (it seems the controller chip is missing)
  • 12 Volt DC plug
  • Power Button
  • 3x LEDs
  • IR Sensor
  • CVBS port and Ypbpr
  • Audio L+R
  • Coaxial audio
  • optical audio
  • internal gpio header
  • internal 6pin header (probably jtag)
  • internal 2 pin 5V header (for use of a fan)

Hardware

CPU: Amlogic M8726-M6 @ 1200MHz MEM: 1GByte DDR3@500MHz (4x 256MByte)

LEDS

Device has 4 leds non are user-controllable.

LED Colour Function
Left Red Power On
Mid Green Stand-By
Right Orange Ethernet and Wifi
Power Button Blue Power On

Flash

SPI: 32Mb (4MByte) SPI Flash memory, used for uboot. NAND: 32Gb (4GByte) NAND Flash memory, used for kernel, recovery, OS and user storage. SD: User can add a SD card. (Up to 32GB????) I2C: CryptoMemory. Can be used as a kind of smartcard for DRM on IPTV/DVB-x. Hardware Chips MEMORY hynix h5tq2g83cfr http://www.skhynix.com/products/computing/view.jsp?info.ramKind=19&info.serialNo=H5TQ2G83CFR NAND FLASH

Size: 4 GByte, 32Gbit PCB Designator: U9 Brand: Micron Type: MT29F32G-C MARKING: 29f32g08cbaca

DMESG LOG:

NAND device id: 2c 68 4 4a a9 0 
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x2c (Micron C revision NAND 4GiB MT29F32G-C)
Creating 7 MTD partitions on "nandnormal":
0x000000800000-0x000000c00000 : "logo"
0x000000c00000-0x000001400000 : "boot"
0x000001400000-0x000021400000 : "system"
 NAND bbt detect Bad block at 5a00000 
0x000021400000-0x000040800000 : "cache"
0x000040800000-0x000053400000 : "backup"
0x000053400000-0x0000b3400000 : "userdata"
0x0000b3400000-0x000100000000 : "NFTL_Part"

I2C Flash

Bus: I2C_B Datasheet: http://www.atmel.com/Images/doc8664.pdf

SPI FLASH

Size: 4 MByte, 32Mbit Brand: Macronix International Type: mx25l3205d marking: 25l32dge PCB Designator: U13

DMESG LOG: ?????

DDR

???

I2C/SPI CryptoMemory

U29

Ethernet

LAN8720A

USB HUB 2x

Description: 4-port USB HUB to connect all 4x USB ports. Brand: Genesys Logic Type: GL852G PCB Designator: U815

Internal Connections/devices.

Serial port PCB Designator: J21

IR Sensor

USB Wifi/BT header

USB Connections

Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 003: ID 05e3:0610
Bus 002 Device 001: ID 1d6b:0002
Bus 002 Device 004: ID 05e3:0610
Bus 002 Device 005: ID 0bda:8176
Bus 002 Device 006: ID 0a5c:2198

GPIO Overview.

Software to detect active GPIO's on startup. vDorst made a simple routine to check which of the GPIO's are set as output by the bootloader to give me an idea which GPIO's are used. Because all the referance code are unclear with gpio's are used. Plus it strongly depends on the hardware of course. This routine starts early in the kernel before setting up anything. See Commit: https://github.com/vDorst/buildroot-linux-kernel-m3/commit/c23b5a8c33941258d023d7f587cea333d98502ae#L0R647

BANK: 1098-7654-3210-9876-5432-1098-7654-3210
00  : ....-1111-1111-1111-1111-1111-1111-1111
01  : ....-....-0000-0000-0000-0000-0000-0000
02  : ....-..10-0__0-0000-0011-11__-_010-0000
03  : ....-....-1111-..10-1010-1111-0000-0000
04  : 1111-1111-1111-1111-111_-1111-1111-1111
05  : ....-....-.000-0000-_010-0110-0000-00..
06  : ....-.111-1111-1111-....-1111-1111-0111
AO  : ....-....-....-....-....-__11-1__1-__..
BITS: 3322-2222-2222-1111-1111-1100-0000-0000
BANK: 1098-7654-3210-9876-5432-1098-7654-3210
---------------------------------------------
00  : ....-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA-AAAA
01  : ....-....-BBBB-BBBB-BBBB-BBBB-BBBB-BBBB
02  : ....-..DD-DDDD-DDDD-CCCC-CCCC-CCCC-CCCC
03  : ....-....-XXXX-..TT-TTTT-TTTT-TTTT-TTTT
04  : XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
05  : ....-YYYY-YYYY-YYYY-YYYY-YYYY-YYYY-YYYY
05  : SSSS-SSSS-S...-....-....-....-....-....
AO  : ....-....-....-....-....-OOOO-OOOO-OOOO

NOTE:
BANK 5 has multiple aliases.
O = AO
T = BOOT
S = CARD

Overview

GPIO BANK Nr Signal Description IO Active
AO 02 VCCIO +3V3 VCCx2 Power OUT HIGH
AO 03 VCCx2 +5V VCCx2 Power OUT LOW
AO 07 REMOTE_INPUT Infra-Red Receiver Signal IN PWM
C 05 PWR_WIFI +3v3 Wifi Power OUT LOW
C 09 SND_SPDIF Sound SPDIF Signal OUT HIGH
D 09 PWR_HDMI +5 HDMI Power OUT LOW
Y 15 ETH_RESET Reset Ethernet Chip LAN8720 OUT LOW

Power Supply

I2C busses

Bus Master A

/ # cat /tmp/i2c-0
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Bus Master B

Used GPIO: X27 (SDA) and X28 (SCK)

/ # cat /tmp/i2c-1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- 58 59 5a 5b 5c 5d 5e 5f
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

Bus Master AO

/ # cat /tmp/i2c-2
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --

I2C Devices

DEVICE BUS ADDRESS
AT88SCxx Crypto Memery B 0x58 to 5D

Connectors

CON5: General

pin signal
01 GPIO_C0
02 GPIO_C1
03 GND
04 ???
05 ???
06 ???

CON1: JTAG

pin signal
01 3V3
02 GND
03 GPIO_AO8
04 GPIO_AO9
05 GPIO_AO10
06 GPIO_AO11

J21: UART

pin signal
01 RXD
02 GND
03 TXD
04 VCC

J19: FRONT

pin signal
01 GND
02 IR
03 3V3
04 3V3
05 --
06 LED_NET_ORANGE
07 LED_STATUS_REG
08 --
09 LED_POWER_BLUE
10 BUTTON_PWR
11 GND