Serial port on Scroll (ttySCA0)

Discuss Scroll Tablet PC Hardware Upgrades/Mods/Hacks here.

Serial port on Scroll (ttySCA0)

Postby RichardP » April 8th, 2011, 4:20 pm

Hi All,

Looking at the /proc/cmdline the console is on ttySAC0 - Does anyone know where this device is? (pins on the board? USB? anyting?)

Richard
Scroll v2 (SCR051624) - Another MAPLIN device destined for the scrapheap
Firmware 1.02s
z4Root
LauncherPro
RichardP
Scroll Apprentice
Scroll Apprentice
 
Posts: 46
Joined: April 3rd, 2011, 12:47 pm

Re: Serial port on Scroll (ttySCA0)

Postby jamescoxon » April 23rd, 2011, 11:40 am

Hi Richard,

(First post for me) - working through the forum especially the pics of the teardown http://blueprinted.co.uk/clarity/ there is a pinout consisting of 4 pads labelled CON1 . It would be a large leap to think that this might be of of the serial ports referred to in /proc

If you open the terminal and go to /proc/tty/ and then cat drivers you can see that:
ttySAC /dev/tty-uart 204 64-69 serial

more information can be found doing: cat /proc/driver/ttySAC which shows that there are 6 serial ports however only the first 2 seem to be properly setup:

0: uart:uart0 mmio 0xF0532000 irq 64 tx: 48 rx: 0 RTS CTS DTR DSR CD
1: uart:uart1 mmio 0xF0532100 irq 65 tx: 0 rx: 0 CTS DSR CD

The device files are also present in /dev

Looking here: viewtopic.php?f=9&t=273&p=3109&hilit=serial#p3109 you can see that there are 6 serial ports on this SOC (which are all accounted for).

The other option is that CON1 is a USB port - as the USB OTG port is accounted for at the bottom of the machine this could be USB 1.1 Host

Both would be quite cool hacks to add to the scrollforum knowledge base.

My suggestion on how we could work out what is what is to open up a scroll tablet, first using a multimeter check out the voltages on the pins, if it was a usb port we would expect one pad to be 5v and the other ground, the other 2 pads being data- and data+. However I guess you could think that serial could be vcc, rx, tx, gnd as well.

The best way would be to connect up up those pads to a ttl serial port (well gnd and tx) and then transmit data over the serial port such as:

echo "test" >/dev/tcc-uart0

if it is a serial port you 'should' get data out the other side. In contrast attaching a usb device to CON1 and seeing if anything was detected might work - i think the serial port experiment is probably the simplest and easiest.

Now to summon the courage to crack open my scroll tablet.

James
jamescoxon
New Scroller
New Scroller
 
Posts: 9
Joined: April 23rd, 2011, 11:15 am

Re: Serial port on Scroll (ttySCA0)

Postby jamescoxon » April 23rd, 2011, 1:24 pm

Found it!

On my version of scrolltablet there are 4 pads close to the sd card slot, the one nearest the slot is ground and then the 3rd pad from the slot is tx - if you connect these to 3.3v (ttl) serial port and have the baud rate set to 115200 you'll see the machine boot:

Code: Select all
?welcome to lk

vbus_battery_check,REG00: 0 ,REG01: 48
[Paul ] BATTERY_ONLY Calculate the RDC
check Battery voltage is :3889 battery :3889
lcdc: panel is 800 x 480 32bpp
width:544 height:480 offset_width:264 
lcdc: framebuffer alloc address:42187000
~ lcdc 0 clk:117 , lcdc 1 clk:617142  divide: 1   ~
Diplay initialized
platform_init()
target_init()

tcc_kp_io_init

------------------------------------------------
[NAND Physical Bad Block Spec]
------------------------------------------------
CS#0: (30/1024) - (60/2048)
[Total Reserved Physical Bad Info] (60/2048)
------------------------------------------------
[NAND FTL Bad Block Spec]
------------------------------------------------
[Function]: NOR
[Total Reserved FTL Bad Info] (30/2048)
------------------------------------------------
[TNFTL MTD] [nPBpV:2048][nBBpZ:30][MTDBlockNum: 512][MTDRervBlk:20]

[NAND        ] [PORT CONFIG - CS[0, 1] [NAND Data Port: GPIO_B Hw4 ~ Hw11]
[NAND        ] [BClk 192MHZ][1Tick 53][RE-S:0,P:7,H:2][WR-S:0,P:4,H:2][COM-S:2,P:15,H:15]
[NAND        ] [NB Area:4MB][DT Area:1364MB][HD Area0:0MB][MTD Size:512MB]
[NAND        ] [BadBlockNum: 17]
[NAND        ] [Blk:270 406 478 530 616 733 828 920 993 994 999 1021 1469 1681 1755 1797 1798 ]
[MTD Init] [Rerv Block:0] [Bad Block:0]

-------------- [ Partition Table ] --------------
[Part  0.     boot] [Start:  28] [Length:  10]
[Part  1.   kpanic] [Start:  38] [Length:   5]
[Part  2.   system] [Start:  43] [Length: 150]
[Part  3.   splash] [Start: 193] [Length:   4]
[Part  4.    cache] [Start: 197] [Length:  40]
[Part  5. userdata] [Start: 237] [Length: 289]
[Part  6. recovery] [Start: 526] [Length:  10]
[Part  7.     misc] [Start: 536] [Length:   2]
[Part  8.      tcc] [Start: 538] [Length:   2]
-------------------------------------------------
[NAND        ] [Maker:0xec ][Device:0xd5][Page_size:8192]
               [Spare_Size:256][Block_Size:128][MTD_Block:512][Rerv_Block:20]
[Golden Info] BadBlk:270 [SERIAL]
[Golden Info] BadBlk:406 [SERIAL]
[Golden Info] BadBlk:478 [SERIAL]
[Golden Info] BadBlk:530 [SERIAL]
[Golden Info] BadBlk:616 [SERIAL]
[Golden Info] BadBlk:733 [SERIAL]
[Golden Info] BadBlk:828 [SERIAL]
[Golden Info] BadBlk:920 [SERIAL]
[Golden Info] BadBlk:993 [SERIAL]
[Golden Info] BadBlk:994 [SERIAL]
[Golden Info] BadBlk:999 [SERIAL]
[Golden Info] BadBlk:1021 [SERIAL]
[Golden Info] BadBlk:1469 [SERIAL]
[Golden Info] BadBlk:1681 [SERIAL]
[Golden Info] BadBlk:1755 [SERIAL]
[Golden Info] BadBlk:1797 [SERIAL]
[Golden Info] BadBlk:1798 [SERIAL]
[Golden Info] [Nand Total Bad Block: 17]
[Create Bad Table[ 0] : [BadBlkNum =  0] [AccBadBlkNum =  0]
[Create Bad Table[ 1] : [BadBlkNum =  0] [AccBadBlkNum =  0]
[Create Bad Table[ 2] : [BadBlkNum =  0] [AccBadBlkNum =  0]
[Create Bad Table[ 3] : [BadBlkNum =  0] [AccBadBlkNum =  0]
[Create Bad Table[ 4] : [BadBlkNum =  0] [AccBadBlkNum =  0]
[Create Bad Table[ 5] : [BadBlkNum =  3] [AccBadBlkNum =  0]
[Create Bad Table[ 6] : [BadBlkNum =  1] [AccBadBlkNum =  3]
[Create Bad Table[ 7] : [BadBlkNum =  0] [AccBadBlkNum =  4]
[Create Bad Table[ 8] : [BadBlkNum =  0] [AccBadBlkNum =  4]
[Set BadBlk Table] [Rerv Block:20] [Bad Block:4]
reboot mode = 0x0
flash_read_image: success (0 errors)
flash_read_image: success (0 errors)
flash_read_image: success (0 errors)
flash_read_image: success (0 errors)
flash_read_image: success (0 errors)

kernel  @ 40008000 (5016576 bytes)
ramdisk @ 41000000 (310747 bytes)
cmdline = 'console=ttySAC0 androidboot.hardware=tcc92xx'

Booting Linux
booting linux @ 0x40008000, ramdisk @ 0x41000000 (310747)
cmdline: console=ttySAC0 androidboot.hardware=tcc92xx
Linux version 2.6.29 (root@localhost.localdomain) (gcc version 4.3.1 (GCC) ) #197 Thu Mar 17 14:24:03 CST 2011
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Telechips TCC89/91/92XX Demo Board
kernel start display option [resolution : 0][output : 0]
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 38100
Kernel command line: console=ttySAC0 androidboot.hardware=tcc92xx
Unknown boot option `androidboot.hardware=tcc92xx': ignoring
tcc9200_irq_init
PID hash table entries: 1024 (order: 10, 4096 bytes)
### CORE CLOCK (500000000 Hz), BUS CLOCK (166000000 Hz) ###
Console: colour dummy device 80x30
tcc_console_init
tcc_serial_console_setup: co=c04bc9f8 (0), <NULL>
tcc_serial_get_options
tcc_serial_console_setup: port=c04bca44 (0)
tcc_serial_set_termios port[0]
config: 8bits/char
setting ulcon to uclk[480000] 00000003, brddiv to 26 [115200]
console [ttySAC0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
_etext:0xc049f000, _text:0xc004a000, _end:0xc0573cfe, __init_end:0xc004a000, __init_begin:0xc0008000
Memory: 150MB = 150MB total
Memory: 146132KB available (4436K code, 847K data, 264K init)
Calibrating delay loop... 499.71 BogoMIPS (lpj=2498560)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 932 bytes
NET: Registered protocol family 16
TCC8900 GPIO initialized
i2c_register_driver: new style driver
TCC clock driver initialized
clock: xin: unimplemented function 'clk_enable' called
attached TCC adc driver
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
   (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
   (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
   (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
   (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
   (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
   (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
Switched to NOHz mode on CPU #0
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
initrd_start:0xc1000000, initrd_end:0xc104bddb
checking if image is initramfs... it is
Freeing initrd memory: 300K
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
yaffs Mar  8 2011 11:02:56 Installing.
msgmni has been set to 286
alg: No test for stdrng (krng)
io scheduler noop registered (default)
i2c /dev entries driver
i2c0 SCK(100) <-- input clk(40000Khz), prescale(7)
i2c1 SCK(100) <-- input clk(40000Khz), prescale(7)
tcc-i2c tcc-i2c: i2c-0: I2C adapter
iNet PMU driver..............................!
AXP192-PMU: axp192_pmu_probe
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
AXP192-PMU: axp192_device_init
[Paul],PMU Voff level is (3)
PMU device AXP192 init successfully
iNet xs153s ic driver..............................!
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
drivers/i2c/chips/inet_xs153.c(164): Init em78153s i2c controller success!
Paul [system]---IDcheck   success!
tccfb_init (built Mar  8 2011 11:04:26)
clock: pll2: unimplemented function 'clk_enable' called
tccfb_init LCDC:1
tcc92xxx fb +probe
fb0: tccfb frame buffer device
TCC Overlay driver initializing
tcc_composite_init 
tcc_component_init 
HDMI Audio Driver ver. 1.1 (built Mar  8 2011 11:01:36)
HDMI Driver ver. 1.2.1 (built Mar  8 2011 11:01:39)
CEC Driver ver. 1.0 (built Mar  8 2011 11:01:38)
hpd_init
HPD Driver ver. 1.2 (built Mar  8 2011 11:01:40)
3 hpd_init
tcc_intr: init (ver 2.0)
tcc_intr: init (ver 2.0)
TCC rotation driver initializing
TCC scaler driver initializing
TCC scaler1 driver initializing
TCCXX JPEG Encoder driver initializing
TCCXX JPEG driver initializing
TCC T-DMB tuner driver initializing
tcc_clockctrl_init
tcc_serial_init(c04bc99c,c04bc9ec)
tcc_uart_probe
tcc_serial_init_ports: initialising ports...
tcc9200-uart.0: tcc-uart0 at MMIO 0xf0532000 (irq = 64) is a uart0
tcc_serial_set_mctrl
tcc_uart_probe
tcc_serial_init_ports: initialising ports...
tcc9200-uart.1: tcc-uart1 at MMIO 0xf0532100 (irq = 65) is a uart1
tcc_serial_set_mctrl
[#### BT ####] tcc_uart_probe dma_rx_buffer[0xff8ef000][0x48be4000]
tcc_uart_probe
tcc_serial_init_ports: initialising ports...
tcc9200-uart.2: tcc-uart2 at MMIO 0xf0532200 (irq = 66) is a unknown
tcc_serial_set_mctrl
tcc_uart_probe
tcc_serial_init_ports: initialising ports...
tcc9200-uart.3: tcc-uart3 at MMIO 0xf0532300 (irq = 67) is a unknown
tcc_serial_set_mctrl
tcc_uart_probe
tcc_serial_init_ports: initialising ports...
tcc9200-uart.4: tcc-uart4 at MMIO 0xf0532400 (irq = 68) is a unknown
tcc_serial_set_mctrl
tcc_uart_probe
tcc_serial_init_ports: initialising ports...
tcc9200-uart.5: tcc-uart5 at MMIO 0xf0532500 (irq = 69) is a unknown
tcc_serial_set_mctrl
brd: module loaded
loop: module loaded
pmem: 1 init
pmem_adsp: 0 init
Android kernel panic handler initialized (bind=kpanic)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
usbcore: registered new interface driver kaweth
usbcore: registered new interface driver sr9700_android
Linux video capture interface: v2.00
TCCXXX Camera driver initializing
tccxxx-camera: registered device video0 [v4l2]
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
Driver 'sd' needs updating - please use bus_type methods
tcc-mmc0: init.
tcc-mmc1: init.
[MTD TCC] [PORT CONFIG - CS[0, 1] [NAND Data Port: GPIO_B Hw4 ~ Hw11]
[MTD TCC] DMA Alloc Addr:0x48b85000, Size:1024
[MTD TCC] [BClk 192MHZ][1Tick 53][RE-S:0,P:7,H:2][WR-S:0,P:4,H:2][COM-S:2,P:15,H:15]
[Golden Info] [TCC_MTD] BadBlk:270 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:406 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:478 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:530 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:616 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:733 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:828 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:920 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:993 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:994 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:999 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:1021 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:1469 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:1681 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:1755 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:1797 [SERIAL]
[Golden Info] [TCC_MTD] BadBlk:1798 [SERIAL]
[Golden Info] [Nand Total Bad Block: 17]
[MTD TCC] [PartName:      boot] [StBlk :  28]
[MTD TCC] [PartName:      boot] [EndBlk:  37]
[MTD TCC] [PartName:    kpanic] [StBlk :  38]
[MTD TCC] [PartName:    kpanic] [EndBlk:  42]
[MTD TCC] [PartName:    system] [StBlk :  43]
[MTD TCC] [PartName:    system] [EndBlk: 192]
[MTD TCC] [PartName:    splash] [StBlk : 193]
[MTD TCC] [PartName:    splash] [EndBlk: 196]
[MTD TCC] [PartName:     cache] [StBlk : 197]
[MTD TCC] [PartName:     cache] [EndBlk: 236]
[MTD TCC] [PartName:  userdata] [StBlk : 237]
[MTD TCC] [PartName:  userdata] [BadBlk: 270]
[MTD TCC] [PartName:  userdata] [BadBlk: 406]
[MTD TCC] [PartName:  userdata] [BadBlk: 478]
[MTD TCC] [PartName:  userdata] [EndBlk: 528]
[MTD TCC] [PartName:  recovery] [StBlk : 529]
[MTD TCC] [PartName:  recovery] [BadBlk: 530]
[MTD TCC] [PartName:  recovery] [EndBlk: 539]
[MTD TCC] [PartName:      misc] [StBlk : 540]
[MTD TCC] [PartName:      misc] [EndBlk: 541]
[MTD TCC] [PartName:       tcc] [StBlk : 542]
[MTD TCC] [PartName:       tcc] [EndBlk: 543]
[MTD TCC] [MTDTotalBlk: 512] [MTDRervBlk:19] [MTDStBlk: 28] [MTDEdBlk:559]
[MTD TCC] NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5
[NTD BASE Old]Bus Width: 16 bit, PageSize: 8192,  BlockSize: 1048576
NAND device: Manufacturer ID: 0xEC ChipID:0xD5
Scanning device for bad blocks
Creating 9 MTD partitions on NAND Flash:
0x000000000000-0x000000a00000 : "boot"
ftl_cs: FTL header not found.
0x000000a00000-0x000000f00000 : "kpanic"
ftl_cs: FTL header not found.
apanic: Bound to mtd partition 'kpanic'
apanic: No panic data available
0x000000f00000-0x00000a500000 : "system"
ftl_cs: FTL header not found.
0x00000a500000-0x00000a900000 : "splash"
ftl_cs: FTL header not found.
0x00000a900000-0x00000d100000 : "cache"
ftl_cs: FTL header not found.
0x00000d100000-0x00001f200000 : "userdata"
ftl_cs: FTL header not found.
0x00001f200000-0x00001fc00000 : "recovery"
ftl_cs: FTL header not found.
0x00001fc00000-0x00001fe00000 : "misc"
ftl_cs: FTL header not found.
0x00001fe00000-0x000020000000 : "tcc"
ftl_cs: FTL header not found.
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

Paul are test here USBHostVBUSControl,ON:1
tcc-ohci tcc-ohci: TCC OHCI
tcc-ohci tcc-ohci: new USB bus registered, assigned bus number 1
tcc-ohci tcc-ohci: irq 49, io mem 0xf0500000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
dwc_otg: version 2.60a 22-NOV-2006
DWC_otg: Internal DMA Mode...
DWC_otg: Dedicated Tx FIFOs mode
DWC_otg: Using DMA mode
dwc_otg dwc_otg.0: DWC OTG Controller
dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 2
dwc_otg dwc_otg.0: irq 48, io mem 0x00000000
DWC_otg: Init: Port Power? op_state=1
DWC_otg: Init: Power Port (0)
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
android init
android_probe pdata: c04a5d30
gadget: Android Eclair
gadget: Telechips
android_bind
android_bind_config,0, 2
android_usb gadget: android_usb ready
f_adb init
android_register_function adb
f_mass_storage init
android_register_function usb_mass_storage
mass_storage_bind_config
fsg_probe pdata: c04a5d20
android_usb gadget: Number of LUNs=4
adb_bind_config
mice: PS/2 mouse device common for all mice
Popchip tcc-keypad-Poll driver
tcc_kp_probe
input: telechips keypad as /devices/virtual/input/input0
tcc-keypad driver is successfully loaded
Telechips Touchscreen driver, (c) 2009 Telechips
tcc-ts got loaded successfully.
input: tcc-ts as /devices/platform/tcc-ts/input/input1
TCC RTC, (c) 2009, Telechips
tcc_rtc: alarm irq 43
tcc-rtc tcc-rtc: rtc core: registered tcc-rtc as rtc0
TCC Battery Driver Load
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.14.0-ioctl (2008-04-23) initialised: dm-devel@redhat.com
cpuidle: using governor ladder
cpuidle: using governor menu
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
Advanced Linux Sound Architecture Driver Version 1.0.18a.
No device for DAI WM8988
No device for DAI IEC958
No device for DAI tcc-i2s
No device for DAI tcc-spdif
TCC Board probe [tcc_board_probe]
WM8988 Audio Codec 0.13
wm8988 i2c_address [0x1A]
i2c_register_driver: new style driver
Set ID to device mode
__attach_adapter: [Failure] id[0x0]class[0x0]  id_table[wm8988]
__attach_adapter: [Failure] id[0x0]class[0x0]  id_table[wm8988]
__attach_adapter: [Failure] id[0x0]class[0x0]  id_table[wm8988]
__attach_adapter: [Failure] id[0x0]class[0x0]  id_table[wm8988]
ID change ISR : Device
DWC_otg: Internal DMA Mode...
DWC_otg: Attached device Not Supported
hub 2-0:1.0: over-current change on port 1
asoc: WM8988 <-> tcc-i2s mapping ok
dapm: WM8988: configuring unknown pin MICIN
Failed to add route LHPOUT->Headset Jack
ALSA device list:
  #0: tccx_board (WM8988)
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
TCC cpufreq driver initialized
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
read time 2011/04/23 13:21:17
tcc-rtc tcc-rtc: setting system clock to 2011-04-23 13:21:17 UTC (1303564877)
Freeing init memory: 264K
[#### BT ####] tcc_serial_srequest serial irq:64,retval:0
tcc_serial_set_termios port[0]
config: 8bits/char
setting ulcon to uclk[480000] 00000003, brddiv to 26 [115200]
tcc_serial_set_mctrl
tcc_serial_stop_rx
[#### BT ####] tcc_serial_stop_rx port[0]
[#### BT ####] tcc_serial_shutdown port[0]
init: /init.tcc92xx.rc: 101: invalid option 'chmod'
tcc_nand: module license 'Proprietary. (C) 2008 Telechips Inc.' taints kernel.

------------------------------------------------
[NAND Physical Bad Block Spec]
------------------------------------------------
CS#0: (30/1024) - (60/2048)
[Total Reserved Physical Bad Info] (60/2048)
------------------------------------------------
[NAND FTL Bad Block Spec]
------------------------------------------------
[Function]: NOR
[Total Reserved FTL Bad Info] (30/2048)
------------------------------------------------
[TNFTL MTD] [nPBpV:2048][nBBpZ:30][MTDBlockNum: 512][MTDRervBlk:20]

[NAND        ] [PORT CONFIG - CS[0, 1] [NAND Data Port: GPIO_B Hw4 ~ Hw11]
[NAND        ] [BClk 192MHZ][1Tick 53][RE-S:0,P:7,H:2][WR-S:0,P:4,H:2][COM-S:2,P:15,H:15]
[NAND        ] [NB Area:4MB][DT Area:1364MB][HD Area0:0MB][MTD Size:512MB]
[NAND        ] [BadBlockNum: 17]
[NAND        ] [Blk:270 406 478 530 616 733 828 920 993 994 999 1021 1469 1681 1755 1797 1798 ]
ndda: ndda1
[tcc_nand] init ndd(TCC8900, V7036)
request serial irq:64,retval:0tup port[0]
tcc_serial_set_termios port[0]
config: 8bits/char
setting ulcon to uclk[480000] 00000003, brddiv to 26 [115200]
tcc_serial_stop_rx
[#### BT ####] tcc_serial_stop_rx port[0]
[#### BT ####] tcc_serial_shutdown port[0]
init: cannot open '/initlogo.rle'
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
yaffs: dev is 32505861 name is "mtdblock5"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.5, "mtdblock5"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
yaffs: dev is 32505860 name is "mtdblock4"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.4, "mtdblock4"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
Authentication is complete!!
ufsd: driver 8.1 (Oct 28 2010 17:54:46)  LBD=OFF with ioctl loaded at bf166000
NTFS read/write support included
Mali<2>:
Mali<2>: Inserting Mali v6 device driver.
Mali<2>: Compiled: Nov  3 2010, time: 17:26:42.
Mali<2>: Svn revision:
Mali<2>: MMU memory system initializing
Mali<2>: Rendercore: subsystem global mutex initialized
Mali<2>: Core: subsystem_init: Mali200
Mali<2>: Core: subsystem_init: MaliGP2
Mali<2>: MMU registered
Mali<2>: Mali OS memory allocator created with max allocation size of 0x1800000 bytes, cpu_usage_adjust 0x00000000
Mali<1>: Mali memory allocators will be used in this order of preference (lowest numbered first) :
Mali<1>:    0: OS Memory
Mali<2>: Attach mmu: 0xc85d3f60 to core: Mali 200 (GX525) in subsystem: Mali200
Mali<2>: Attach mmu: 0xc85d3f60 to core: MALI GP2 in subsystem: MaliGP2
Mali: Mali device driver  loaded
request serial irq:64,retval:0tup port[0]
tcc_serial_set_termios port[0]
config: 8bits/char
setting ulcon to uclk[480000] 00000003, brddiv to 26 [115200]
sh: can't access tty; job control turned off
# init: cannot find '/system/bin/playmp3', disabling 'bootsound'
init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'
init: cannot find '/system/bin/tcc_dxb_service', disabling 'tcc_dxb_service'
init: ..............mac_addr: 9
enabling adb
adb_open
init: mac_addr: bc:0f:2b:01:3a:e3
warning: `rild' uses 32-bit capabilities (legacy support in use)
init: untracked pid 930 exited
Mali<2>: MMU session begin
Mali<2>: Page directory for session 0xc860a9e0 placed at physical address 0x48644000
Mali<2>: MMU session begin: success
Mali<2>: Core: session_begin: for Mali200
Mali<2>: Core: session_begin: for MaliGP2
Mali<2>: MMU session begin
Mali<2>: Page directory for session 0xc79885c0 placed at physical address 0x48647000
Mali<2>: MMU session begin: success
Mali<2>: Core: session_begin: for Mali200
Mali<2>: Core: session_begin: for MaliGP2
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000
@hk.kernel/power/main.c(598): -----state:0 currend_min:0
Paul ar6000_init_module sdio_initial()
Normal WIFI mode.
Paul ar6000 module is loaded ok
mmc0: new SDIO card at address 0001
ar6000_available
AR6000: Unsupported configuration opcode: 3
Firmware mode set
AR6000: Unsupported configuration opcode: 3
AR6000: Unsupported configuration opcode: 5
BMI enabled
ar6000_avail: name=wlan0 hifdevice=0xc7a91000, dev=0xc7acc000 (0), ar=0xc7acc360
old options [0] old sleep [29]
Set hi_refclk_hz : Ref Clock=26000000
AR6000: download eeprom from a file
eeprom_ar6000_transfer: Enter
enable_SI
read_eeprom_from_file file offset opsition: 0h
read_eeprom_from_file: length=768
read_mac_addr_from_file try to open file /data/softmac
read_mac_addr_from_file file offset opsition: 0h
read_mac_addr_from_file: length=17
disable_SI
AR6000: BMISetAppStart
AR6000: enable HI_OPTION_TIMER_WAR
AR6000: firmware_transfer
firmware_transfer: /system/wifi/athwlan.bin.z77 size 93491 bufsize 94208
firmware_transfer: BMILZData: len=8192, remaining=86016
firmware_transfer: BMILZData: len=8192, remaining=77824
firmware_transfer: BMILZData: len=8192, remaining=69632
firmware_transfer: BMILZData: len=8192, remaining=61440
firmware_transfer: BMILZData: len=8192, remaining=53248
firmware_transfer: BMILZData: len=8192, remaining=45056
firmware_transfer: BMILZData: len=8192, remaining=36864
firmware_transfer: BMILZData: len=8192, remaining=28672
firmware_transfer: BMILZData: len=8192, remaining=20480
firmware_transfer: BMILZData: len=8192, remaining=12288
firmware_transfer: BMILZData: len=8192, remaining=4096
firmware_transfer: BMILZData: len=4096, remaining=0
firmware_transfer: /system/wifi/data.patch.hw2_0.bin size 1328 bufsize 4096
ar6000_init() Got WMI @ 0xc9249000.
mac address = bc:0f:2b:01:3a:e3
wmi_control_rx() : Unknown id 0x101e
AR6000 Reg Code = 0x80000114
timeleft[188]
ar6000_init() WMI is ready
AR6000 scan complete: 0
ADDRCONF(NETDEV_UP): wlan0: link is not ready
channel hint set to 2432
Connect called with authmode 5 dot11 auth 1 PW crypto 4 PW crypto Len 0 GRP crypto 3 GRP crypto Len 0
AR6000 connected event on freq 2432 with bssid 30:46:9a:7b:b7:1b  listenInterval=1000, beaconInterval = 100, beaconIeLen = 26 assocReqLen=59 assocRespLen =59
Network: Infrastructure

BeaconIEs= 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 0c 00

AssocRespIEs= 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd 09 00 10 18 02 02 f0 05 00 00 dd 18 00 50 f2 02 01 01 80 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00
AssocReqIEs= 00 06 68 6f 74 74 75 62 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 dd 07 00 50 f2 02 00 01 00
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
AR6000 Neighbor Report Event
bssid 30:46:9a:7b:b7:1b
Enter - streamType=5, status=1
DHCP ACK received start A2DP
Enter - streamType=5, status=2
DHCP DISCOVER stop A2DP
Enter - streamType=5, status=1
DHCP ACK received start A2DP
Mali<2>: Session ending
Mali<2>: Core: session_close: for MaliGP2
Mali<2>: Core: session_close: for Mali200
Mali<2>: MMU session end
Mali<1>: Cleanup of descriptor 1 mapping to 0xc86c2720 in descriptor table
Mali<1>: Cleanup of descriptor 2 mapping to 0xc86c27e0 in descriptor table
Mali<2>: Session has ended
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
__attach_adapter: [Success]
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000
binder: release 1102:1102 transaction 2832 out, still active
binder: 937:937 transaction failed 29189, size4-0
binder: send failed reply for transaction 2832, target dead
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000
@hk.kernel/power/main.c(563): Set the system of shutdown time delay :times:600000



Now to find rx...
jamescoxon
New Scroller
New Scroller
 
Posts: 9
Joined: April 23rd, 2011, 11:15 am

Re: Serial port on Scroll (ttySCA0)

Postby jamescoxon » April 23rd, 2011, 1:29 pm

connecting up rx gives me full serial terminal for Scroll.

The pin out is therefore - going from the pin nearest the sd card:

1 - GND
2 - Rx
3 - Tx
4 - VCC
jamescoxon
New Scroller
New Scroller
 
Posts: 9
Joined: April 23rd, 2011, 11:15 am

Re: Serial port on Scroll (ttySCA0)

Postby RichardP » April 23rd, 2011, 5:14 pm

This is indeed good news... I Will open mine and take detailed pictures. The serial allows for everyting ;-)
Scroll v2 (SCR051624) - Another MAPLIN device destined for the scrapheap
Firmware 1.02s
z4Root
LauncherPro
RichardP
Scroll Apprentice
Scroll Apprentice
 
Posts: 46
Joined: April 3rd, 2011, 12:47 pm

Re: Serial port on Scroll (ttySCA0)

Postby jamescoxon » April 25th, 2011, 8:42 am

Now that we have access to the serial port it opens up a load of new options:

* GPS
* GSM modem - would allow you to send sms, make calls and also some (slow) data connections.
* Gain access to root without 'rooting' your device
* Bluetooth, XBee communications
* Robotics
* Microprocessor and sensors.
jamescoxon
New Scroller
New Scroller
 
Posts: 9
Joined: April 23rd, 2011, 11:15 am

Re: Serial port on Scroll (ttySCA0)

Postby jamescoxon » April 26th, 2011, 7:11 am

Just as an addition to the thread - this serial port seems to only be able to be properly used at these baud rates:

19200
57600
115200

For some reason 4800 and 9600 are garbled when sending and receiving data - can't seem to work out why - makes it a little harder to add GPS as most run at 4800 or 9600!

This can be set using busybox:

Code: Select all
./busybox stty -F /dev/tcc-uart0 speed 115200


It'll return the previous baud rate.
jamescoxon
New Scroller
New Scroller
 
Posts: 9
Joined: April 23rd, 2011, 11:15 am


Return to HARDWARE

Who is online

Users browsing this forum: No registered users and 0 guests

cron