[U-Boot-Users] no rxd on scc2

Richard Klingler richard.klingler at violasystems.com
Thu Nov 13 15:08:50 CET 2003


Good afternoon...


Porting u-boot-1.0.0 to SSH box (SIPO) now...

Everything seems to be okay so far except serial input...
I see level changes on PD[28] when typing something in the
terminal application...


U-Boot 1.0.0 (Nov 13 2003 - 13:24:09)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 2.5x, VCO Div 2, 60x Bus Freq  40-120, Core Freq 100-240
 - dfbrg 0, corecnf 0x06, busdf 3, cpmdf 1, plldf 0, pllmf 1
 - vco_out  264000000, scc_clk   66000000, brg_clk   66000000
 - cpu_clk  165000000, cpm_clk  132000000, bus_clk   66000000

CPU:   MPC8260 (HiP3 Rev 01, Mask A.1 1K22A-XC) at 165 MHz
Board: SSH Box (SIPO)
DRAM:  64 MB
FLASH:  8 MB
In:    serial
Out:   serial
Err:   serial
PPARD: c3001b...
PSORD: 30002...
PDIRD: 36...
PDATD: 483f03a...
ssh>

Have set in my "include/configs/ssh.h":

#define CONFIG_CONS_ON_SCC      /* define if console on SCC */
#define CONFIG_CONS_INDEX   2

as also in "board/ssh/ssh.c":

    /* PD28 */ {   1,   1,   0,   0,   0,   0   }, /* SCC2 console RXD */
    /* PD27 */ {   1,   1,   0,   1,   0,   0   }, /* SCC2 console TxD */
    /* PD26 */ {   1,   0,   0,   1,   0,   1   }, /* SCC2 console RTS */


Something I have forgotten to enable receiving on SCC2?

(board works with original ssh bootloader ;o)


rick





More information about the U-Boot mailing list