LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: "Rogério Brito" <rbrito@ime.usp.br>
Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: Linux 2.6.29-rc6 bombs while compiling a kernel for a linkstation/kurobox
Date: Wed, 4 Mar 2009 01:07:55 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0903040103440.5059@axis700.grange> (raw)
In-Reply-To: <20090302094303.GA29819@ime.usp.br>

On Mon, 2 Mar 2009, Rog=C3=A9rio Brito wrote:

> Hi there.
>=20
> I tried to compile a new kernel for my (powerpc) Kurobox HD (an embedded
> system that has a Freescale processor), but it seems that the
> compilation fails, with both my usual config file and with the shipped
> linkstation_defconfig file.
>=20
> I get the following error during compilation (actually a
> cross-compilation):
>=20
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> arch/powerpc/platforms/built-in.o: In function `linkstation_setup_arch':
> linkstation.c:(.init.text+0x218): undefined reference to `physmap_set_par=
titions'
> drivers/built-in.o:(__ksymtab+0x9f8): undefined reference to `physmap_set=
_partitions'
> make: *** [.tmp_vmlinux1] Error 1
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Yes, linkstation and storcenter have to migrate to the "physmap-flash"=20
platform driver. For now you can define in your .config

CONFIG_MTD_PHYSMAP=3Dy
CONFIG_MTD_PHYSMAP_COMPAT=3Dy
CONFIG_MTD_PHYSMAP_START=3D0xffc00000
CONFIG_MTD_PHYSMAP_LEN=3D0x400000
CONFIG_MTD_PHYSMAP_BANKWIDTH=3D1

(I hope the numbers are correct, just found them in my local tree, don't=20
remember any more what exactly they configure, please, double-check.) And=
=20
yes, it must be fixed in the mainline. I'll see if I find time for this,=20
maybe tomorrow (actually, already today.)

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer

       reply	other threads:[~2009-03-04  0:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090302094303.GA29819@ime.usp.br>
2009-03-04  0:07 ` Guennadi Liakhovetski [this message]
2009-03-04  1:04   ` Linux 2.6.29-rc6 bombs while compiling a kernel for a linkstation/kurobox Rogério Brito
     [not found] ` <20090303024837.GC24834@bilbo.ozlabs.org>
     [not found]   ` <20090303083455.GA22397@ime.usp.br>
     [not found]     ` <Pine.LNX.4.64.0903040828150.4864@axis700.grange>
     [not found]       ` <20090304214541.GA2917@ime.usp.br>
2009-03-05 23:25         ` [PATCH] powerpc: fix linkstation and storcenter compilation breakage Guennadi Liakhovetski

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=Pine.LNX.4.64.0903040103440.5059@axis700.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=rbrito@ime.usp.br \
    /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