APC8750 redirect console messages to serial port

41 views
Skip to first unread message

Diego Sueiro

unread,
Sep 3, 2013, 3:09:37 PM9/3/13
to apc-pico-...@googlegroups.com
Folks,

I want to redirect the console messages from tty1 to ttyWMT0.

But when using setting bootargs to "mem=512M root=/dev/mmcblk0p2 rootwait rw console=ttyWMT0,115200" the system start-up crashes.

Here is the serial port output: http://pastebin.com/Q22edh7M


Regards,

--
*dS
Diego Sueiro

Administrador do Portal Embarcados
www.embarcados.com.br

Engenheiro de Controle e Automação
UNIVERSIDADE FEDERAL DE ITAJUBÀ

/*long live rock 'n roll*/

Diego Sueiro

unread,
Sep 3, 2013, 3:58:38 PM9/3/13
to apc-pico-...@googlegroups.com
Folks,

I found the root cause.
If I stop u-boot before the APC logo been displayed the system will crash on start-up.
Here is the output from u-boot:
U-Boot 1.1.4 (Dec  5 2012 - 19:23:59)
WonderMedia Technologies, Inc.
U-Boot Version : 0.28.00.00
U-Boot code: 03F80000 -> 03FCEE38  BSS: -> 03FF0A88
boot from spi flash.
SF0: ManufID = C2, DeviceID = 2013 (Missing or Unknown FLASH)
     Use Default - Total size = 8MB, Sector size = 64KB
SF1: ManufID = FF, DeviceID = FFFF (Missing or Unknown FLASH)
     Use Default - Total size = 8MB, Sector size = 64KB
flash:
     Bank1: FF800000 -- FFFFFFFF
     Bank2: FF000000 -- FF7FFFFF
Flash: 16 MB
sfboot: NAND init:env nand config fail, use default flash id list info
pllb=0x2270001, spec_clk=0x140a0cff
T1=2, clk1=18, div1=9, Thold=1, tREA=20+delay(9)
T2=1, clk2=36, div2=18, Thold2=1, comp=1
Tim1=442368 , Tim2=589824
T2 is greater and not use
T=2, clk=18, divisor=9, Thold=0x601
divisor is set 0x9, NFC_timing=0x2424
USE_HW_ECC ECC12bit
2048 MB
In:    serial
Out:   serial
Err:   serial
Abort WMT Display Logo Function
WMT # 

But if I stop u-boot after getting APC logo displayed the system will boot.


Abraços,

--
*dS
Diego Sueiro

Administrador do Portal Embarcados
www.embarcados.com.br

Engenheiro de Controle e Automação
UNIVERSIDADE FEDERAL DE ITAJUBÀ

/*long live rock 'n roll*/


2013/9/3 Diego Sueiro <diego....@gmail.com>
Reply all
Reply to author
Forward
0 new messages