[Bugme-new] [Bug 4253] New: m8260 SMC1 and SMC2 uarts need SMCx_BASE registers programmed, otherwise no console output

bugme-daemon at osdl.org bugme-daemon at osdl.org
Fri Feb 25 13:46:25 PST 2005


http://bugme.osdl.org/show_bug.cgi?id=4253

           Summary: m8260 SMC1 and SMC2 uarts need SMCx_BASE registers
                    programmed, otherwise no console output
    Kernel Version: 2.6.10
            Status: NEW
          Severity: high
             Owner: platform_ppc-32 at kernel-bugs.osdl.org
         Submitter: jjones at ncomm.com


Distribution: Standard kernel.org download
Hardware Environment: 8260 CPM
Software Environment:
Problem Description: No I/O from 8260 SMC Uarts

Steps to reproduce:
Using simple console output from the 8260 SMC (below are attached the key 
config parameters in use), the SMCs are set as if their Bases have been moved 
to 0 and 64 respectively, via the PROFF_SMC1 and PROFF_SMC2 values in cpm2.h, 
yet the SMCx_BASE register itself is not also programmed to reflect that move 
in the cpm_uart_init_portdesc() routine in cpm_uart_cpm2.c.  This prevents UART 
operation.

I added the following line inside the "#ifdef CONFIG_SERIAL_CPM_SMC1" in the 
cpm_uart_init_portdesc() routine to fix it:

        cpm2_immr->im_dprambase[PROFF_SMC1_BASE] = PROFF_SMC1;

Same fix, modified appropriately, for SMC2.


#
# Character devices
#
# CONFIG_VT is not set
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_SERIAL_CPM=y
CONFIG_SERIAL_CPM_CONSOLE=y
# CONFIG_SERIAL_CPM_SCC1 is not set
# CONFIG_SERIAL_CPM_SCC2 is not set
# CONFIG_SERIAL_CPM_SCC3 is not set
# CONFIG_SERIAL_CPM_SCC4 is not set
CONFIG_SERIAL_CPM_SMC1=y
# CONFIG_SERIAL_CPM_SMC2 is not set
# CONFIG_UNIX98_PTYS is not set
# CONFIG_LEGACY_PTYS is not set

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Bugme-new mailing list