Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-18 Thread Scott Wood
On Tue, Mar 17, 2009 at 12:52:52PM -0400, Mark Bishop wrote:
 Quoting Vijay Nikam vijay.t.ni...@gmail.com:

 Hi Mark,

 Could you please let me know how you booted the latest Linux kernel on
 MPC8313ERDB board ? ? ? As I tried but was not successful. It hangs or
 does nothing and waits at network configuration, mean to determine IP
 address (as I have used dhcp).

 Kindly please acknowledge ... thank you ...

 Kind Regards,
 Vijay Nikam



 I modified the .dts file (mpc8313erdb.dts)

 WAS interrupts = 37 0x8 36 0x8 35 0x8;
 IS  interrupts = 34 0x8 33 0x8 32 0x8;

Should actually be 32 8 33 8 34 8 for newer revs.

 WAS interrupts = 34 0x8 33 0x8 32 0x8;
 IS  interrupts = 37 0x8 36 0x8 35 0x8;

Likewise, 35 8 36 8 37 8.

-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-17 Thread Mark Bishop

Quoting Vijay Nikam vijay.t.ni...@gmail.com:


Hi Mark,

Could you please let me know how you booted the latest Linux kernel on
MPC8313ERDB board ? ? ? As I tried but was not successful. It hangs or
does nothing and waits at network configuration, mean to determine IP
address (as I have used dhcp).

Kindly please acknowledge ... thank you ...

Kind Regards,
Vijay Nikam




I modified the .dts file (mpc8313erdb.dts)

WAS interrupts = 37 0x8 36 0x8 35 0x8;
IS  interrupts = 34 0x8 33 0x8 32 0x8;

WAS interrupts = 34 0x8 33 0x8 32 0x8;
IS  interrupts = 37 0x8 36 0x8 35 0x8;

This is from memory, so let me know if you have a problem.

And sorry for the manual diff.



Any idea on how to get spidev up and running on this board?  :)


___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-15 Thread Vijay Nikam
Hi Mark,

Could you please let me know how you booted the latest Linux kernel on
MPC8313ERDB board ? ? ? As I tried but was not successful. It hangs or
does nothing and waits at network configuration, mean to determine IP
address (as I have used dhcp).

Kindly please acknowledge ... thank you ...

Kind Regards,
Vijay Nikam


On 3/11/09, Mark Bishop m...@bish.net wrote:

 Quoting Scott Wood scottw...@freescale.com:


  On Wed, Mar 11, 2009 at 12:03:00PM -0400, Mark Bishop wrote:
 
   Yes I have actually.  I have booted a 2.6.28.6.  Same problem.
  
 
  I've booted many recent kernels on revA 8313ERDB; networking works fine.
  I'll try 2.6.28.6 specifically, though u-boot is acting up at the moment
  so I have to address that first. :-(
 
  Are you using the stock config and device tree from 2.6.28.6, or have you
  made any changes?
 
 
   Also, is it me but at some point from 2.6.23 to 2.6.28 did they
   started using hex numbers in the .dts file for interrupts =  without
   the 0x preamble?
  
 
  Yes.  dts version 0 had hex by default (with OF-like radix prefixes), and 
  version 1 (indicated by
  /dts-v1/; at the top of the file) has decimal by default (with C-like
  radix prefixes).
 
 
   I've been looking at 2.6.20, 2.6.23, and 2.6.28 .dts files for this
   board and .28 looked way different in the interrupt section for the
   eTSEC.
  
   Quoting Kumar Gala ga...@kernel.crashing.org:
  
 
  Please don't top-post.
 
 
   The boards we received didn't have SPI compiled into the kernel and
   when we went to go re-compile the kernel using the 20081222 and
   20080711 BSPs.  I realize that the interrupts were reversed for
   eTEC1 and eTEC2 and I've made the changes in the .dtb file and I no
   longer hang when I ping, etc.   But I still can't get the board on
   the network.  I've verified it isn't the network settings.
  
 
  You're sure you're not trying to talk to the switch (which will claim
  link-up regardless of what's plugged into it)?  The non-switch ethernet
  port is eTSEC2.
 
  What *does* it do when you ping, if neither hang nor work?
 
  -Scott
  ___
  Linuxppc-dev mailing list
  Linuxppc-dev@ozlabs.org
  https://ozlabs.org/mailman/listinfo/linuxppc-dev
 
 
 

 After remapping the IRQs, it is working now.

 Any idea on what I need to do to get SPI working?  I've compiled it into the 
 kernel but don't see anything in /proc/bus

 ___
 Linuxppc-dev mailing list
 Linuxppc-dev@ozlabs.org
 https://ozlabs.org/mailman/listinfo/linuxppc-dev

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-11 Thread Mark Bishop
Has anyone been able to get a newer Freescale BSP to work with a RevA  
(processor version 1.0) RDB?


The boards we received didn't have SPI compiled into the kernel and  
when we went to go re-compile the kernel using the 20081222 and  
20080711 BSPs.  I realize that the interrupts were reversed for eTEC1  
and eTEC2 and I've made the changes in the .dtb file and I no longer  
hang when I ping, etc.   But I still can't get the board on the  
network.  I've verified it isn't the network settings.


I've pinged Freescale for support (didn't help much) and I am now  
looking for someone who has actually done it (if ever).

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-11 Thread Kumar Gala


On Mar 11, 2009, at 10:52 AM, Mark Bishop wrote:

Has anyone been able to get a newer Freescale BSP to work with a  
RevA (processor version 1.0) RDB?


The boards we received didn't have SPI compiled into the kernel and  
when we went to go re-compile the kernel using the 20081222 and  
20080711 BSPs.  I realize that the interrupts were reversed for  
eTEC1 and eTEC2 and I've made the changes in the .dtb file and I no  
longer hang when I ping, etc.   But I still can't get the board on  
the network.  I've verified it isn't the network settings.


I've pinged Freescale for support (didn't help much) and I am now  
looking for someone who has actually done it (if ever).


Have you tried a kernel.org kernel?  The group here would be more than  
happy to help with any issues you might find with the kernel.org kernel.


- k
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-11 Thread Mark Bishop


Yes I have actually.  I have booted a 2.6.28.6.  Same problem.

Also, is it me but at some point from 2.6.23 to 2.6.28 did they  
started using hex numbers in the .dts file for interrupts =  without  
the 0x preamble?


I've been looking at 2.6.20, 2.6.23, and 2.6.28 .dts files for this  
board and .28 looked way different in the interrupt section for the  
eTSEC.


Quoting Kumar Gala ga...@kernel.crashing.org:



On Mar 11, 2009, at 10:52 AM, Mark Bishop wrote:

Has anyone been able to get a newer Freescale BSP to work with a  
RevA (processor version 1.0) RDB?


The boards we received didn't have SPI compiled into the kernel and  
when we went to go re-compile the kernel using the 20081222 and  
20080711 BSPs.  I realize that the interrupts were reversed for  
eTEC1 and eTEC2 and I've made the changes in the .dtb file and I no  
longer hang when I ping, etc.   But I still can't get the board on  
the network.  I've verified it isn't the network settings.


I've pinged Freescale for support (didn't help much) and I am now  
looking for someone who has actually done it (if ever).


Have you tried a kernel.org kernel?  The group here would be more  
than happy to help with any issues you might find with the  
kernel.org kernel.


- k




___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-11 Thread Scott Wood
On Wed, Mar 11, 2009 at 12:03:00PM -0400, Mark Bishop wrote:
 Yes I have actually.  I have booted a 2.6.28.6.  Same problem.

I've booted many recent kernels on revA 8313ERDB; networking works fine. 
I'll try 2.6.28.6 specifically, though u-boot is acting up at the moment
so I have to address that first. :-(

Are you using the stock config and device tree from 2.6.28.6, or have you
made any changes?

 Also, is it me but at some point from 2.6.23 to 2.6.28 did they  
 started using hex numbers in the .dts file for interrupts =  without  
 the 0x preamble?

Yes.  dts version 0 had hex by default (with OF-like radix prefixes), and 
version 1 (indicated by
/dts-v1/; at the top of the file) has decimal by default (with C-like
radix prefixes).

 I've been looking at 2.6.20, 2.6.23, and 2.6.28 .dts files for this  
 board and .28 looked way different in the interrupt section for the  
 eTSEC.
 
 Quoting Kumar Gala ga...@kernel.crashing.org:

Please don't top-post.

 The boards we received didn't have SPI compiled into the kernel and  
 when we went to go re-compile the kernel using the 20081222 and  
 20080711 BSPs.  I realize that the interrupts were reversed for  
 eTEC1 and eTEC2 and I've made the changes in the .dtb file and I no  
 longer hang when I ping, etc.   But I still can't get the board on  
 the network.  I've verified it isn't the network settings.

You're sure you're not trying to talk to the switch (which will claim
link-up regardless of what's plugged into it)?  The non-switch ethernet
port is eTSEC2.

What *does* it do when you ping, if neither hang nor work?

-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev


Re: Freescale MPC8313ERDB-RevA and newer BSP/kernel

2009-03-11 Thread Mark Bishop

Quoting Scott Wood scottw...@freescale.com:


On Wed, Mar 11, 2009 at 12:03:00PM -0400, Mark Bishop wrote:

Yes I have actually.  I have booted a 2.6.28.6.  Same problem.


I've booted many recent kernels on revA 8313ERDB; networking works fine.
I'll try 2.6.28.6 specifically, though u-boot is acting up at the moment
so I have to address that first. :-(

Are you using the stock config and device tree from 2.6.28.6, or have you
made any changes?


Also, is it me but at some point from 2.6.23 to 2.6.28 did they
started using hex numbers in the .dts file for interrupts =  without
the 0x preamble?


Yes.  dts version 0 had hex by default (with OF-like radix  
prefixes), and version 1 (indicated by

/dts-v1/; at the top of the file) has decimal by default (with C-like
radix prefixes).


I've been looking at 2.6.20, 2.6.23, and 2.6.28 .dts files for this
board and .28 looked way different in the interrupt section for the
eTSEC.

Quoting Kumar Gala ga...@kernel.crashing.org:


Please don't top-post.


The boards we received didn't have SPI compiled into the kernel and
when we went to go re-compile the kernel using the 20081222 and
20080711 BSPs.  I realize that the interrupts were reversed for
eTEC1 and eTEC2 and I've made the changes in the .dtb file and I no
longer hang when I ping, etc.   But I still can't get the board on
the network.  I've verified it isn't the network settings.


You're sure you're not trying to talk to the switch (which will claim
link-up regardless of what's plugged into it)?  The non-switch ethernet
port is eTSEC2.

What *does* it do when you ping, if neither hang nor work?

-Scott
___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev




After remapping the IRQs, it is working now.

Any idea on what I need to do to get SPI working?  I've compiled it  
into the kernel but don't see anything in /proc/bus

___
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev