[uClinux-dev] Initial Timer on m5329 not running

2013-03-26 Thread Christian Gieseler
Hi List,

 

Coldfire 5329 seems not be used with latest kernels. The Main Timer is not
running, so the scheduler won´t behave like expected.

To change this the following change has to be done in m532x.c arch setup.
There is probably more to be fixed.

 

diff git a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c

--- a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c

+++ b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c

@@ 120,6 +120,8 @@ static struct clk * const enable_clks[] __initconst = {

__clk_0_25, /* mcfuart.1 */

__clk_0_26, /* mcfuart.2 */

+ __clk_0_28, /* mcftmr.0 */

+ __clk_0_29, /* mcftmr.1 */

__clk_0_32, /* mcfpit.0 */

__clk_0_33, /* mcfpit.1 */

__clk_0_37, /* mcfeport.0 */

@@ 135,8 +137,6 @@ static struct clk * const disable_clks[] __initconst = {

__clk_0_17, /* edma */

__clk_0_22, /* mcfi2c.0 */

__clk_0_23, /* mcfqspi.0 */

-  __clk_0_28, /* mcftmr.0 */

-  __clk_0_29, /* mcftmr.1 */

__clk_0_30, /* mcftmr.2 */

__clk_0_31, /* mcftmr.3 */

__clk_0_34, /* mcfpit.2 */

 

___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Re: [uClinux-dev] RAM based filesystem in uclinux

2013-03-26 Thread Lennart Sorensen
On Tue, Mar 26, 2013 at 11:45:57AM +1000, Greg Ungerer wrote:
 Yes. On many occasions I have mixed various kernel binary and romfs
 images when testing regressions. It's so easy the way we do this on
 ColdFire, I just cat them together.

Well that does sound pretty easy.  The kernel config for romfs made it
sound a lot more complicated than that.

I will stick with initramfs though since it works nicely, and having
r/w access is sometimes useful when debuging things.  initramfs does
seem to lack execute in place which I highly suspect works on romfs,
even though there doesn't appear to be any reason it shouldn't work
for initramfs.

-- 
Len Sorensen
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev


[uClinux-dev] Fwd: Ehernet FEC problem in Coldfire M5272C3

2013-03-26 Thread Ashish Phogat
-- Forwarded message --
From: Ashish Phogat engineerpho...@gmail.com
Date: Tue, Mar 26, 2013 at 8:46 AM
Subject: Re: [uClinux-dev] Ehernet FEC problem in Coldfire M5272C3
To: Greg Ungerer gregunge...@westnet.com.au


Hi,
My Kernel is 2.4.34.5 and uClinux-dist is uClinux-dist-20120401.tar.bz2.

Thanks for Replying.

Thanks
Ashish Phogat


On Mon, Mar 25, 2013 at 9:48 PM, Greg Ungerer gregunge...@westnet.com.auwrote:

 Hi Ashish,

 On 26/03/13 08:03, Ashish Phogat wrote:
  I am facing a very old problem with my Ethernet connection on M5272C3
 coldfire board. As soon as my uclinux boots I got the following logs shown
 below:

 What version of kernel?
 What version of uClinux-dist?

 Regards
 Greg



  Command: cat /etc/motd
  Welcome to
 _  _
   /  __| ||_|
  _   _| |  | | _   _   _  _  _
 | | | | |  | || |  _ \| | | |\ \/ /
 | |_| | |__| || | | | | |_| |/\
 |  ___\|_||_|_| |_|\|\_/\_/
 | |
 |_|
 
  For further information check:
  http://www.uclinux.org/
 
  Execution Finished, Exiting
 
  Sash command shell (version 1.1.1)
 
  / NETDEV WATCHDOG: eth0: transmit timed out
  eth0: transmit timed out.
  Ring data dump: cur_tx 321100, dirty_tx 321100 cur_rx: 321000
   tx: 16 buffers
00321100:  0012 
00321108:  0816 
00321110:  001a 
00321118:  0c1e 
00321120:  0432 
00321128:  40a6 
00321130:  002a 
00321138:  002e 
00321140:  0032 
00321148:  0036 
00321150:  003a 
 
   rx: 32 buffers
00321000: 8000 0440 0032
00321008: 8000 0c70 00320800
00321010: 8000 092b 0037f000
00321018: 8000 ff9a 0037f800
00321020: 8000 7fa2 0037e000
00321028: 8000 eda6 0037e800
00321030: 8000 ffa2 0037d000
00321038: 8000 ffa6 0037d800
00321040: 8000 ffb2 0037c000
00321048: 8000 ffb6 0037c800
0032
 
  Spurious interrupt 1
 
 
  uclinux simply hangs there. I found that there is a large amount of
 people who are getting the same problem in past couple of years. But I did
 not get any solution for the problem.
 
  Please let me know whether this problem still exists in uclinux source
 code for M5272C3. where I will find the solution for that?
 
  My Ethernet Hardware Info:
  fec.c: Probe number 1 with 0x
  eth0: FEC ENET Version 0.2, 00:e0:0c:bc:e5:60
  fec: PHY @ 0x1, ID 0x0022561b -- AM79C874
 
  Thanks and Appreciated for your help.
 
  Thanks
  Ashish Phogat
 
 
  ___
  uClinux-dev mailing list
  uClinux-dev@uclinux.org
  http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
  This message was resent by uclinux-dev@uclinux.org
  To unsubscribe see:
  http://mailman.uclinux.org/mailman/options/uclinux-dev
 


___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev