linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Redwood-6 and 2.6
@ 2005-08-12  3:28 Otto Solares
  2005-08-16  5:25 ` Matt Porter
  0 siblings, 1 reply; 10+ messages in thread
From: Otto Solares @ 2005-08-12  3:28 UTC (permalink / raw)
  To: linuxppc-embedded

Hi!

Redwood-6 support in 2.6 is broken.  I subscribed to this
list just to know if somebody is working on it?  2.4.30
works ok.

If nobody is working on it please just tell me what is wrong
and I would try to figure out:

---
CC      arch/ppc/syslib/ppc4xx_dma.o
arch/ppc/syslib/ppc4xx_dma.c: In function `ppc4xx_enable_burst': arch/ppc/syslib/ppc4xx_dma.c:638: error: `DMA_CTC_BTEN' undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_dma.c:638: error: (Each undeclared identifier is reported only once arch/ppc/syslib/ppc4xx_dma.c:638: error: for each function it appears in.)
arch/ppc/syslib/ppc4xx_dma.c: In function `ppc4xx_disable_burst': arch/ppc/syslib/ppc4xx_dma.c:657: error: `DMA_CTC_BTEN' undeclared (first use in this function)
arch/ppc/syslib/ppc4xx_dma.c: In function `ppc4xx_set_burst_size': arch/ppc/syslib/ppc4xx_dma.c:682: error: `DMA_CTC_BSIZ_MSK' undeclared (first use in this function)
make[1]: *** [arch/ppc/syslib/ppc4xx_dma.o] Error 1
make: *** [arch/ppc/syslib] Error 2
---

In 2.4 'DMA_CTC_BTEN' does not exists.

Thanks.

-otto

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-12  3:28 Redwood-6 and 2.6 Otto Solares
@ 2005-08-16  5:25 ` Matt Porter
  2005-08-16 21:12   ` Otto Solares
  0 siblings, 1 reply; 10+ messages in thread
From: Matt Porter @ 2005-08-16  5:25 UTC (permalink / raw)
  To: Otto Solares; +Cc: linuxppc-embedded

On Thu, Aug 11, 2005 at 09:28:19PM -0600, Otto Solares wrote:
> Hi!
> 
> Redwood-6 support in 2.6 is broken.  I subscribed to this
> list just to know if somebody is working on it?  2.4.30
> works ok.

I went ahead and fixed this compile issue in the following patch:
http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019782.html

-Matt

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-16  5:25 ` Matt Porter
@ 2005-08-16 21:12   ` Otto Solares
  2005-08-16 21:19     ` Matt Porter
  0 siblings, 1 reply; 10+ messages in thread
From: Otto Solares @ 2005-08-16 21:12 UTC (permalink / raw)
  To: Matt Porter; +Cc: linuxppc-embedded

On Mon, Aug 15, 2005 at 10:25:10PM -0700, Matt Porter wrote:
> On Thu, Aug 11, 2005 at 09:28:19PM -0600, Otto Solares wrote:
> > Hi!
> > 
> > Redwood-6 support in 2.6 is broken.  I subscribed to this
> > list just to know if somebody is working on it?  2.4.30
> > works ok.
> 
> I went ahead and fixed this compile issue in the following patch:
> http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019782.html

Excellent!, it compiles now.

Now, when 'make znetboot' in 2.4 there was a zImage.embedded, is the
same thing as zImage.treebot that appears now in 2.6?

Thank you.

-otto

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-16 21:12   ` Otto Solares
@ 2005-08-16 21:19     ` Matt Porter
  2005-08-17  2:47       ` Otto Solares
  0 siblings, 1 reply; 10+ messages in thread
From: Matt Porter @ 2005-08-16 21:19 UTC (permalink / raw)
  To: Otto Solares; +Cc: linuxppc-embedded

On Tue, Aug 16, 2005 at 03:12:59PM -0600, Otto Solares wrote:
> On Mon, Aug 15, 2005 at 10:25:10PM -0700, Matt Porter wrote:
> > On Thu, Aug 11, 2005 at 09:28:19PM -0600, Otto Solares wrote:
> > > Hi!
> > > 
> > > Redwood-6 support in 2.6 is broken.  I subscribed to this
> > > list just to know if somebody is working on it?  2.4.30
> > > works ok.
> > 
> > I went ahead and fixed this compile issue in the following patch:
> > http://ozlabs.org/pipermail/linuxppc-embedded/2005-August/019782.html
> 
> Excellent!, it compiles now.
> 
> Now, when 'make znetboot' in 2.4 there was a zImage.embedded, is the
> same thing as zImage.treebot that appears now in 2.6?

Yes, this is the image that boots on the stock OpenBIOS firmware.
It has the standard "tree" header on it.

-Matt

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-16 21:19     ` Matt Porter
@ 2005-08-17  2:47       ` Otto Solares
  2005-08-17  3:13         ` Dale Farnsworth
  2005-08-17  3:17         ` Matt Porter
  0 siblings, 2 replies; 10+ messages in thread
From: Otto Solares @ 2005-08-17  2:47 UTC (permalink / raw)
  To: Matt Porter; +Cc: linuxppc-embedded

On Tue, Aug 16, 2005 at 02:19:08PM -0700, Matt Porter wrote:
> On Tue, Aug 16, 2005 at 03:12:59PM -0600, Otto Solares wrote:
> > Now, when 'make znetboot' in 2.4 there was a zImage.embedded, is the
> > same thing as zImage.treebot that appears now in 2.6?
> 
> Yes, this is the image that boots on the stock OpenBIOS firmware.
> It has the standard "tree" header on it.

Thank you, just one more thing, do you know if the smc91x driver
works for PPC?  In 2.4 I had to set:

CONFIG_SMC91111=y
CONFIG_SMC91111_ADVANCED=y
CONFIG_SMC91111_BYTE_SWAP=y

Looking in the driver itself I think it was developed for ARM.

I am unable to netboot, I don't have serial console so my only access
to this little box (MediaMVP) is the net.  Thank you.

-otto

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-17  2:47       ` Otto Solares
@ 2005-08-17  3:13         ` Dale Farnsworth
  2005-08-17 19:18           ` Dale Farnsworth
  2005-08-17  3:17         ` Matt Porter
  1 sibling, 1 reply; 10+ messages in thread
From: Dale Farnsworth @ 2005-08-17  3:13 UTC (permalink / raw)
  To: Otto Solares, linuxppc-embedded

On Wed, Aug 17, 2005 at 02:47:45AM +0000, Otto Solares wrote:
> On Tue, Aug 16, 2005 at 02:19:08PM -0700, Matt Porter wrote:
> > On Tue, Aug 16, 2005 at 03:12:59PM -0600, Otto Solares wrote:
> > > Now, when 'make znetboot' in 2.4 there was a zImage.embedded, is the
> > > same thing as zImage.treebot that appears now in 2.6?
> > 
> > Yes, this is the image that boots on the stock OpenBIOS firmware.
> > It has the standard "tree" header on it.
> 
> Thank you, just one more thing, do you know if the smc91x driver
> works for PPC?

I added smc91111 support for redwood5 and redwood6 many months
ago.  See the reference to CONFIG_REDWOOD_5 in smc91x.h.  I haven't
tested it recently though.  I'll give it a try tomorrow.

If your machine is not a redwood5 or redwood6, you'll also have to
add platform device initialization in your platform code.  See
arch/ppc/platforms/4xx/redwood6.c.

-Dale

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-17  2:47       ` Otto Solares
  2005-08-17  3:13         ` Dale Farnsworth
@ 2005-08-17  3:17         ` Matt Porter
  2005-08-18  0:02           ` Otto Solares
  1 sibling, 1 reply; 10+ messages in thread
From: Matt Porter @ 2005-08-17  3:17 UTC (permalink / raw)
  To: Otto Solares; +Cc: linuxppc-embedded

On Tue, Aug 16, 2005 at 08:47:45PM -0600, Otto Solares wrote:
> On Tue, Aug 16, 2005 at 02:19:08PM -0700, Matt Porter wrote:
> > On Tue, Aug 16, 2005 at 03:12:59PM -0600, Otto Solares wrote:
> > > Now, when 'make znetboot' in 2.4 there was a zImage.embedded, is the
> > > same thing as zImage.treebot that appears now in 2.6?
> > 
> > Yes, this is the image that boots on the stock OpenBIOS firmware.
> > It has the standard "tree" header on it.
> 
> Thank you, just one more thing, do you know if the smc91x driver
> works for PPC?  In 2.4 I had to set:

It should work.
 
> CONFIG_SMC91111=y
> CONFIG_SMC91111_ADVANCED=y
> CONFIG_SMC91111_BYTE_SWAP=y
> 
> Looking in the driver itself I think it was developed for ARM.

Well, the ARM folks were the earliest users of smc9xxxx glued
onto their parts. There have been multiple drivers over the years
and then Nico recently unified them into smc91x.  PPC has always
had PCI Ethernets or on-chips Ethernet (like the other 4xx parts)
so having a nasty little smc part glued onto a bus isn't that
popular. :) 

It should still work.  Dale Farnsworth took the time to add the
proper redwood specific bits to smc91x.h for accessing the regs
and add the bits to instantiate an smc91x platform device in the
redwood kernel ports.

> I am unable to netboot, I don't have serial console so my only access
> to this little box (MediaMVP) is the net.  Thank you.
 
What kernel port are you using?  You're trying boot a Redwood 6
kernel on the MediaMVP?

-Matt

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-17  3:13         ` Dale Farnsworth
@ 2005-08-17 19:18           ` Dale Farnsworth
  2005-08-18  0:08             ` Otto Solares
  0 siblings, 1 reply; 10+ messages in thread
From: Dale Farnsworth @ 2005-08-17 19:18 UTC (permalink / raw)
  To: Otto Solares, linuxppc-embedded

On Wed, Aug 17, 2005 at 03:13:36AM +0000, Dale Farnsworth wrote:
> I added smc91111 support for redwood5 and redwood6 many months
> ago.  See the reference to CONFIG_REDWOOD_5 in smc91x.h.  I haven't
> tested it recently though.  I'll give it a try tomorrow.

Just following up.  I verified that current linux-2.6.git netboots
fine on redwood5 using the SMC91111.

-Dale

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-17  3:17         ` Matt Porter
@ 2005-08-18  0:02           ` Otto Solares
  0 siblings, 0 replies; 10+ messages in thread
From: Otto Solares @ 2005-08-18  0:02 UTC (permalink / raw)
  To: Matt Porter; +Cc: linuxppc-embedded

On Tue, Aug 16, 2005 at 08:17:45PM -0700, Matt Porter wrote:
> What kernel port are you using?  You're trying boot a Redwood 6
> kernel on the MediaMVP?

I'm using kernel.org's 2.6.12.4 + your dma patch.

Yes I'm trying to boot this redwood6 kernel on the MediaMVP,
Hauppauge provides source for 2.4.18 which is plain old, my
University project is boot a 2.6 kernel on this little box.

I setup netconsole to see what's going on in the boot but
it doesn't work that's why I think the smc91x driver does not
support PPC or probably it does not support netpoll which is
the base for netconsole, I'll continue figuring out what is
going on.

I really apreciate all your help.  Thank you.

-otto

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Redwood-6 and 2.6
  2005-08-17 19:18           ` Dale Farnsworth
@ 2005-08-18  0:08             ` Otto Solares
  0 siblings, 0 replies; 10+ messages in thread
From: Otto Solares @ 2005-08-18  0:08 UTC (permalink / raw)
  To: Dale Farnsworth; +Cc: linuxppc-embedded

On Wed, Aug 17, 2005 at 12:18:15PM -0700, Dale Farnsworth wrote:
> On Wed, Aug 17, 2005 at 03:13:36AM +0000, Dale Farnsworth wrote:
> > I added smc91111 support for redwood5 and redwood6 many months
> > ago.  See the reference to CONFIG_REDWOOD_5 in smc91x.h.  I haven't
> > tested it recently though.  I'll give it a try tomorrow.
> 
> Just following up.  I verified that current linux-2.6.git netboots
> fine on redwood5 using the SMC91111.

Excellent for your code! the box I'm talking about is redwood6
based, just a question, the supplied smc91xxx.c for 2.4 needs
byte swapping, that works ok with your code and this unified
smc91x driver?

Thank you.

-otto

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-08-18  0:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-12  3:28 Redwood-6 and 2.6 Otto Solares
2005-08-16  5:25 ` Matt Porter
2005-08-16 21:12   ` Otto Solares
2005-08-16 21:19     ` Matt Porter
2005-08-17  2:47       ` Otto Solares
2005-08-17  3:13         ` Dale Farnsworth
2005-08-17 19:18           ` Dale Farnsworth
2005-08-18  0:08             ` Otto Solares
2005-08-17  3:17         ` Matt Porter
2005-08-18  0:02           ` Otto Solares

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).