From: Wolfgang Denk <wd@denx.de>
To: pritha.bhattacharya@tcs.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: 8260ADS Ethernet compilation
Date: Thu, 24 Nov 2005 12:28:27 +0100 [thread overview]
Message-ID: <20051124112827.DD3F6353A49@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 24 Nov 2005 14:20:05 +0530." <OF8DE1E835.620AF9B1-ON652570C3.001D9C79-652570C3.003087C6@tcs.com>
In message <OF8DE1E835.620AF9B1-ON652570C3.001D9C79-652570C3.003087C6@tcs.com> you wrote:
>
> I have a custom board built around MPC8260ADS. I am trying to cross
I understand that this means you also use a custom board
configuration, right?
> m8260_setup.c:62: error: `bd_t' undeclared here (not in a function)
...
> m8260_setup.c:120: error: `binfo' undeclared (first use in this function)
...
> m8260_setup.c:229: error: `NR_SIU_INTS' undeclared (first use in this
> function)
Seems your port and/or board configuration is incomplete / broken.
> 1.I understand that bd_t is a board information structure. Which is
> defined in linux/include/asm-ppc/ppcboot.h. Somehow it is not visible to
> the linux/arch/kernel/m8260_setup.c I dont know what I may be doing
> wrong.
Bad configuration...
> 2.Similarly NR_SIU_INTS, which is defined in linux/include/asm/irq.h is
> also not visible.
Bad configuration...
> 3.I did not understand what __res[ ] is. I came across somewhere that it
> is the residual information which the bootloader is supposed to hand over
> to the linux. How would that be done. I could not identify in the code
> where __res is populated.
Use "grep"; __res points to the board information structure.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"The more data I punch in this card, the lighter it becomes, and the
lower the mailing cost."
- Stan Kelly-Bootle, "The Devil's DP Dictionary"
prev parent reply other threads:[~2005-11-24 11:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-24 8:50 8260ADS Ethernet compilation pritha.bhattacharya
2005-11-24 11:28 ` Wolfgang Denk [this message]
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=20051124112827.DD3F6353A49@atlas.denx.de \
--to=wd@denx.de \
--cc=linuxppc-embedded@ozlabs.org \
--cc=pritha.bhattacharya@tcs.com \
/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;
as well as URLs for NNTP newsgroup(s).