From: Robert Corley <rcorley@aegis-inc.net>
To: linux linuxppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: uartlite with 2.6.17 kernel and kernel early text messages
Date: Fri, 13 Oct 2006 13:44:42 -0700 (PDT) [thread overview]
Message-ID: <20061013204442.52818.qmail@web56308.mail.re3.yahoo.com> (raw)
I am still trying to get the UARTLITE to work with 2.6 and a plb_temac desi=
gn. I am using EDK 7.1. I have generated the edk files and copied xparame=
ters_ml300.h to arch/ppc/platforms/4xx/xparameters.xparameters_ml403.h=0A=
=0AIn an effort to get past the "Rebooting to System ACE Configuration Addr=
ess 6..." message, I have selected "support for early boot texts over seria=
l port" in kernel debugging.=0A=0AFYI, I'm using Peter's patches to create =
the uartlite.c and associated files and have selected the uartlite using ma=
ke menuconfig.=0A=0AThe first error is as follows:=0Aathena startup_network=
# make ARCH=3Dppc zImage.initrd=0A CHK include/linux/version.h=0A CH=
K include/linux/compile.h=0Adnsdomainname: Unknown host=0A CC arc=
h/ppc/syslib/gen550_dbg.o=0Aarch/ppc/syslib/gen550_dbg.c:36: error: `RS_TAB=
LE_SIZE' undeclared here (not in a function)=0Aarch/ppc/syslib/gen550_dbg.c=
:38: error: empty scalar initializer=0Aarch/ppc/syslib/gen550_dbg.c:38: err=
or: (near initialization for `rs_table')=0Aarch/ppc/syslib/gen550_dbg.c:36:=
error: storage size of `rs_table' isn't known=0Aarch/ppc/syslib/gen550_dbg=
.c:36: warning: 'rs_table' defined but not used=0Amake[1]: *** [arch/ppc/sy=
slib/gen550_dbg.o] Error 1=0Amake: *** [arch/ppc/syslib] Error 2=0A=0Aso, I=
modified the gen550_dbg.c file to #include the xparameters.h, where the RS=
_TABLE_SIZE is defined=0A but still get more errors. Here they are:=0A=0A =
CHK include/linux/version.h=0A CHK include/linux/compile.h=0Adnsd=
omainname: Unknown host=0A CC arch/ppc/syslib/gen550_dbg.o=0Aarch/ppc=
/syslib/gen550_dbg.c:37: error: `XPAR_UARTNS550_0_CLOCK_FREQ_HZ' undeclared=
here (not in a function)=0Aarch/ppc/syslib/gen550_dbg.c:37: error: initial=
izer element is not constant=0Aarch/ppc/syslib/gen550_dbg.c:37: error: (nea=
r initialization for `rs_table[0].baud_base')=0Aarch/ppc/syslib/gen550_dbg.=
c:37: error: `XPAR_INTC_0_UARTNS550_0_VEC_ID' undeclared here (not in a fun=
ction)=0Aarch/ppc/syslib/gen550_dbg.c:37: error: initializer element is not=
constant=0Aarch/ppc/syslib/gen550_dbg.c:37: error: (near initialization fo=
r `rs_table[0].irq')=0Aarch/ppc/syslib/gen550_dbg.c:37: error: `XPAR_UARTNS=
550_0_BASEADDR' undeclared here (not in a function)=0Aarch/ppc/syslib/gen55=
0_dbg.c:37: error: initializer element is not constant=0Aarch/ppc/syslib/ge=
n550_dbg.c:37: error: (near initialization for `rs_table[0].iomem_base')=0A=
arch/ppc/syslib/gen550_dbg.c:37: error: initializer element is not constant=
=0Aarch/ppc/syslib/gen550_dbg.c:37: error: (near initialization for `rs_tab=
le[0]')=0Amake[1]: *** [arch/ppc/syslib/gen550_dbg.o] Error 1=0Amake: *** [=
arch/ppc/syslib] Error 2=0A=0AQuestions:=0A=0A1. Now, is this an issue w=
ith the UARTLITE driver or is it just not supported for early messaging?=0A=
2. What am I missing w.r.t. getting something out of the serial port?=0A3=
. I am assuming that the boot args for a initrd boot are: "console=3Dtt=
yUL0 ip=3Doff root=3D/dev/ram rw", correct?=0A=0A-corley=0A=0A
next reply other threads:[~2006-10-13 20:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-13 20:44 Robert Corley [this message]
2006-10-13 21:48 ` Eeek! page_mapcount(page) went negative! (-1) -2.6.16.2 kernel agnel juni
2006-10-13 22:26 ` uartlite with 2.6.17 kernel and kernel early text messages Michael Galassi
2006-10-15 22:00 ` David H. Lynch Jr.
2006-10-15 21:12 ` David H. Lynch Jr.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061013204442.52818.qmail@web56308.mail.re3.yahoo.com \
--to=rcorley@aegis-inc.net \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox