LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sairam k <just4usai@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: Does this Bug fixed ?
Date: Tue, 6 Dec 2005 10:59:08 +0530	[thread overview]
Message-ID: <c6be647f0512052129s2afd4c1vf4442192ea6d5c28@mail.gmail.com> (raw)
In-Reply-To: <c6be647f0512052125hecac836pf9891a346e9327e8@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

1) I used linuxppc_2_4_devel PowerPC development tree source(from
ppc.bkbits.net) to build kernel for PowerPC IBM405EP(evb405ep_defconfig) and
montavista's gcc cross compiler for ppc_405-

2)I gave the following commands..
  make evb405ep_config
  make mrproper
  make clean
  make dep
  make zImage

3) when i gave 'make zImage' command, the compilation stopped abnormally and
gave error that OPB_BASE_START symbol is unknown in file ibm405ep.c
(arch/ppc/platforms/ibm405ep.c)

4) The point in source code where problem is arising is shown below....
-----------------------------------------------------------------------

  ..................
  struct ocp_def core_ocp[] __initdata = {
 { .vendor = OCP_VENDOR_IBM,
  .function = OCP_FUNC_OPB,
  .index = 0,
  .paddr = OPB_BASE_START, // UNKOWN SYMBOL
  .irq = OCP_IRQ_NA,
  .pm = OCP_CPM_NA,

  .........
  ..........

----------------------------------------------------------------------
Suggestion 1) I fixed this bug by providing the OPB_BASE_START address.
Since the core of ibm405EP is same as that of ibm405Gp & ibm405Gpr, the
OPB_BASE_START address will be same for all.

  So just include the following line in ibm405ep.h
(ie., in arch/ppc/platforms/ibm405ep.h)

 #define OPB_BASE_START 0x40000000

2) After adding the above line, I recompiled the sources again....and this
time it compiled and i am able to work on IBM405Ep board.
(configuration file for IBm405ep is 'evb405ep_defconfig' in configs folder)


Does anyone fixed this bug........if so why it is not reflected in bkbits

[-- Attachment #2: Type: text/html, Size: 2813 bytes --]

       reply	other threads:[~2005-12-06  5:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c6be647f0512052125hecac836pf9891a346e9327e8@mail.gmail.com>
2005-12-06  5:29 ` sairam k [this message]
2005-12-06 15:31   ` Does this Bug fixed ? Hollis Blanchard

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=c6be647f0512052129s2afd4c1vf4442192ea6d5c28@mail.gmail.com \
    --to=just4usai@gmail.com \
    --cc=linuxppc-dev@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