All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Xiaogeng (Shawn) Jin" <xjin@redswitch.com>
To: linuxppc-embedded@lists.linuxppc.org
Subject: embed_config undefined?
Date: Thu, 09 Jan 2003 12:51:46 -0800	[thread overview]
Message-ID: <3E1DE0E2.9030801@redswitch.com> (raw)


Hi,

I'm migrating the linux kernel on a custom 8xx board from 2.4.4 to
2.4.21 (from linuxppc_2_4_devel tree) and had such a problem at the last
step of compilation.

ppc_8xx-ld -T ../ld.script -Ttext 0x00180000 -Bstatic -o zvmlinux head.o
../comm
on/relocate.o  misc-embedded.o ../common/misc-common.o
../common/string.o ../com
mon/util.o embed_config.o m8xx_tty.o image.o ../lib/zlib.a
misc-embedded.o: In function `decompress_kernel':
misc-embedded.o(.text+0x28): undefined reference to `embed_config'
make[2]: *** [zvmlinux] Error 1

The boot code has been re-organized in the latest kernel compared to
2.4.4. I checked embed_config.c and found that some boards need the
embed_config() function. I'm not sure what kind of boards need such a
function. 2.4.4 has embed_config.c too but my board doesn't need it.
What's the difference? Basically embed_config() just set a bd_t struct.
But what values need to be set for a specific board? Can anyone give an
explanation? Thank you very much.

--
Shawn Jin


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

                 reply	other threads:[~2003-01-09 20:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3E1DE0E2.9030801@redswitch.com \
    --to=xjin@redswitch.com \
    --cc=linuxppc-embedded@lists.linuxppc.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.