4 * [http://en.ingenic.cn/product.aspx?ID=60 JZ4720] 336 MHz MIPS compatible processor from [http://www.ingenic.cn Ingenic Semiconductor Co.]
\r
6 * 3.0" 320x240 pixels [[LCD|colour TFT LCD]] (40x15 character in a text console)
\r
10 * 2GB [[NAND|NAND Flash]] Memory
\r
12 * 1 [[SD|microSDHC]] slot (SDIO capable)
\r
16 * Stereo headphones connector, mono speaker and microphone [[Audio_IN_OUT|audio interfaces]].
\r
18 * [http://wiki.qi-hardware.com/wiki/USB_host USB] 2.0 High-Speed Device, [http://en.wikipedia.org/wiki/USB#Connector_types Mini B] connector
\r
20 * 3.7V 850mAh Li-ion Battery ( [[Compatible_batteries|Compatible batteries]]) and 5V 500mA [[Power_Supply_Circuit|DC input through USB port]]
\r
22 * Measured battery life time, idle, screen off: 12h59
\r
24 * Overall dimension (lid closed): 99 * 75 * 17.5mm. (display: 7.5mm, keyboard: 10mm)
\r
26 * Weight: 126g (includes battery)
\r
30 * Flashing bootloader, kernel, and rootfs via USB works.
\r
31 * Serial console via GND/RXD/TXD pads under the battery works.
\r
33 ** After a few minutes of inactivity on the console, it will go blank. Pressing any key brings it back.
\r
42 '''Micro-SD pins on testpads:'''
\r
47 #2 TP15 cd/data3 / _CS
\r
49 #4 sdVCC switched by Q4 (fet?) controlled via line from cpu (on TP11)
\r
52 #7 TP12 data0 / miso
\r
57 See [[Ben_source_code#serial_console]].
\r
59 == System information ==
\r
61 $ '''cat /proc/cpuinfo'''
\r
62 system type : JZ4740
\r
64 cpu model : Ingenic JZRISC V4.15
\r
66 wait instruction : yes
\r
67 microsecond timers : no
\r
69 extra interrupt vector : yes
\r
70 hardware watchpoint : yes, count: 1, address/irw mask: [0x0fff]
\r
72 shadow register sets : 1
\r
74 VCED exceptions : not available
\r
75 VCEI exceptions : not available
\r
77 $ '''cat /proc/mtd'''
\r
78 dev: size erasesize name
\r
79 mtd0: 00400000 00080000 "NAND BOOT partition"
\r
80 mtd1: 00400000 00080000 "NAND KERNEL partition"
\r
81 mtd2: 20000000 00080000 "NAND ROOTFS partition"
\r
82 mtd3: 5f800000 00080000 "NAND DATA partition"
\r
85 Linux BenNanoNote 2.6.32.27 #1 PREEMPT Sat Mar 5 03:54:50 MSK 2011 mips GNU/Linux
\r
87 $ '''cat /proc/iomem'''
\r
88 00000000-01ffffff : System RAM
\r
89 00010000-0031162b : Kernel code
\r
90 0031162c-0040877f : Kernel data
\r
91 10003000-10003037 : jz4740-rtc
\r
92 10003000-10003037 : jz4740-rtc
\r
93 10020000-10020037 : jz4740-i2s
\r
94 10020000-10020037 : jz4740-i2s
\r
95 10020080-10020087 : jz4740-codec
\r
96 10020080-10020087 : jz4740-codec
\r
97 10021000-10030fff : jz4740-mmc.0
\r
98 10021000-10030fff : jz4740-mmc
\r
99 10070000-10070030 : jz4740-adc
\r
100 10070000-10070030 : jz4740-adc
\r
101 13010000-1301ffff : jz4740-nand.0
\r
102 13010000-1301ffff : jz4740-nand
\r
103 13030000-1303ffff : jz-ohci.0
\r
104 13040000-1304ffff : jz-udc
\r
105 13040000-1304ffff : jz-udc
\r
106 13050000-1305ffff : jz4740-fb
\r
107 13050000-1305ffff : jz4740-fb
\r
109 $ '''cat /proc/interrupts'''
\r
111 2: 33611 MIPS JZ4740 cascade interrupt
\r
113 20: 56 INTC jz4740-adc
\r
115 23: 0 INTC jz4740-rtc
\r
117 31: 32374 INTC jz4740-timerirq
\r
118 32: 527 INTC jz-udc
\r
119 147: 0 GPIO Bank C jz4740-battery
\r
120 152: 0 GPIO Bank D MMC/SD detect changed
\r
121 170: 0 GPIO Bank D matrix-keypad
\r
122 171: 94 GPIO Bank D matrix-keypad
\r
123 172: 77 GPIO Bank D matrix-keypad
\r
124 173: 17 GPIO Bank D matrix-keypad
\r
125 174: 151 GPIO Bank D matrix-keypad
\r
126 175: 13 GPIO Bank D matrix-keypad
\r
127 176: 235 GPIO Bank D matrix-keypad
\r
128 178: 0 GPIO Bank D matrix-keypad
\r
129 180: 0 GPIO Bank D gpio-charger.0
\r
130 181: 0 GPIO Bank D Power
\r
135 The Jz4720 has only a limited number of pins as outputs to the board. Furthermore, several functions take up gpio pins which are therefore not usable for other functions. Those devices are the sdram and nand controller, lcd controller and mmc+sd controller. Below is a table showing how they are used. Please complete this table. The missing entries are not connected to a pad in the Jz4720.
\r
156 * 00 sdram address 0
\r
157 * 01 sdram address 1
\r
158 * 02 sdram address 2
\r
159 * 03 sdram address 3
\r
160 * 04 sdram address 4
\r
161 * 05 sdram address 5
\r
162 * 06 sdram address 6
\r
163 * 07 sdram address 7
\r
164 * 08 sdram address 8
\r
165 * 09 sdram address 9
\r
166 * 10 sdram address 10
\r
167 * 11 sdram address 11
\r
168 * 12 sdram address 12
\r
169 * 13 sdram address 13
\r
170 * 14 sdram address 14
\r
171 * 15 nand command latch
\r
172 * 16 nand address latch
\r
173 * 17 not connected (was marked "SHDN_HOST???", but schematic disagrees)
\r
178 * 22 sdram write enable
\r
183 * 27 not connected (was marked "USB ID", but schematic disagrees)
\r
185 * 29 Audio output enable (anti-pop control)
\r
187 * 31 sdram write enable 0
\r
200 * 10 keyboard out 1, TP59
\r
201 * 11 keyboard out 2, TP60
\r
202 * 12 keyboard out 3, TP61
\r
203 * 13 keyboard out 4, TP62
\r
204 * 14 keyboard out 5, TP63
\r
205 * 15 keyboard out 6, TP64
\r
206 * 16 keyboard out 7, TP65
\r
207 * 17 keyboard out 8, TP66
\r
208 * 18 lcd pixel clock
\r
211 * 21 lcd SPI chipselect
\r
214 * 24 sdram write enable 1
\r
215 * 27 Charge detect (analog input to read battery voltage).
\r
216 * 28 nand read enable
\r
217 * 29 nand write enable
\r
218 * 30 nand flash ready/busy
\r
219 * 31 not connected to a pad; PCSEL31 selects jtag (PCSEL31==0) or uart0 (PCSEL31==1) on pad 147(TxD)+148(RxD) (TP5+TP4).
\r
222 * 00 SD Card detect
\r
223 * 02 SD Card power enable
\r
224 * 04 Speaker AMP enable (no audio unless this output is pulled low).
\r
225 * 06 Low power indicator (if 0, battery power is low).
\r
226 * 08 SD Card command
\r
228 * 10 SD Card data 1
\r
229 * 11 SD Card data 2
\r
230 * 12 SD Card data 3
\r
231 * 13 SD Card data 4
\r
233 * 18 Keyboard in 1, TP67
\r
234 * 19 Keyboard in 2, TP68
\r
235 * 20 Keyboard in 3, TP69
\r
236 * 21 Keyboard in 4, TP70
\r
237 * 22 Keyboard in 5, TP71
\r
238 * 23 Keyboard in 6, TP72
\r
239 * 24 Keyboard in 7, TP73
\r
240 * 25 uart0 transmit, TP75
\r
241 * 26 Keyboard in 8 (uart0 receive), TP74
\r
242 * 27 Buzzer, controlled with pwm4. Piezo-electric buzzer; not related to soundcard output.
\r
243 * 28 USB detect (0 if usb power is present).
\r
244 * 29 power button (0 if pressed).
\r
246 === Sorted by function ===
\r
249 * power button: D29
\r
250 * keyboard: C10, C11, C12, C13, C14, C15, C16, C17, D18, D19, D20, D21, D22, D23, D24, D26(also uart receive)
\r
251 * uart: C31, D25, D26(also keyboard), uart is also available on jtag pads TP4+TP5 (without gpio overload).
\r
252 * sd/mmc: D0, D2, D8, D9, D10, D11, D12, D13
\r
255 * sdram: A1, A3, A5, A7, A8, A9, A10, A11, A12, A13, A15, A17, A22, A26, A28, A30, B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, B13, B14, B19, B10, B21, B22, B23, B24, B25, B26, B31, C24
\r
256 * nand: B15, B16, C28, C29, C30
\r
257 * lcd: C0, C1, C2, C3, C4, C5, C6, C7, C18, C19, C20, C21, C22, C23
\r
258 * only test points: B18, B30, C8, C9, D15
\r
259 * unconnected pads: B17, B27, B28
\r
261 [[Category:Ben NanoNote]]
\r
263 This content is dual licensed under CC-BY-SA and GFDL and was obtained from [http://en.qi-hardware.com/wiki/Hardware-Ben](http://en.qi-hardware.com/wiki/Hardware-Ben)
\r