public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* TQM8260 and linux-2.6.14-rc3
@ 2005-10-07 14:55 Studencki Pawel
  2005-10-07 15:12 ` Vitaly Bordug
  0 siblings, 1 reply; 2+ messages in thread
From: Studencki Pawel @ 2005-10-07 14:55 UTC (permalink / raw)
  To: 'linuxppc-embedded@ozlabs•org'

hello,

Trying to boot linux-2.6.14-rc3 on TQM8260 I found,
that following line is missing in file arch/ppc/syslib/m8260_setup.c:

-----------------------------------------------------------------------
--- m8260_setup.c.org   2005-10-07 16:42:41.420238000 +0200
+++ m8260_setup.c       2005-10-07 16:41:58.811408400 +0200
@@ -249,6 +249,8 @@
                strcpy(cmd_line, (char *)(r6+KERNELBASE));
        }
 
+        identify_ppc_sys_by_id(mfspr(SPRN_SVR));
+
        ppc_md.setup_arch               = m8260_setup_arch;
        ppc_md.show_cpuinfo             = m8260_show_cpuinfo;
        ppc_md.init_IRQ                 = m8260_init_IRQ;
---------------------------------------------------------------------


if not set, we get problem here:

static int __init ppc_sys_init(void) 
{
        unsigned int i, dev_id, ret = 0;

        BUG_ON(cur_ppc_sys_spec == NULL);   <--------------------------


Moreover the default configuration found in
arch/ppc/configs/TQM8260_defconfig
doesn't work or I do something wrong.
for example configuration of serial port:

#
# Serial drivers
# 
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
# 
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=32

inspite of this I use following(SMC1):

#
# 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=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256


best regards
Pawel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-07 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-07 14:55 TQM8260 and linux-2.6.14-rc3 Studencki Pawel
2005-10-07 15:12 ` Vitaly Bordug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox