Re: [uClinux-dev] Does anyone have m68knommu running with current uClibc and gcc 4.3?

2009-03-03 Thread Lennart Sorensen
On Tue, Mar 03, 2009 at 11:59:41AM +1000, Greg Ungerer wrote: > Couple of things I notice off-hand. > > The _start code looks completely different for the 2 cases. > How did you configure uClibc for the gcc-4.3.2 case? > What .config file did you use? I used the .config from the 0.9.27 build, with

Re: [uClinux-dev] [PATCH] Coldfire: M5271: fec.c: Added conditional compile to initialize MDIO lines.

2009-03-03 Thread Steven King
On Monday, March 02, 2009 11:07:04 Greg Ungerer wrote: > Hi Richard, > > Richard Retanubun wrote: > > From 0bad7aa337cf16bed99f5f71613e587f61068dde Mon Sep 17 00:00:00 2001 > > From: Richard Retanubun > > Date: Mon, 9 Feb 2009 10:41:48 -0500 > > Subject: [PATCH] Fixed GPIO pin initialization for

Re: [uClinux-dev] Does anyone have m68knommu running with current uClibc and gcc 4.3?

2009-03-03 Thread Lennart Sorensen
On Mon, Mar 02, 2009 at 02:50:16PM -0500, Lennart Sorensen wrote: > > Sorry, I'm late to the thread. > > > > We're using gcc 4.3.1 with uClibc snapshot 20081118, and binutils > > 2.18.50.0.1 > > I didn't set it up, but we're using buildroot to build it, and it took > > some fiddling. > > Target

Re: [uClinux-dev] Does anyone have m68knommu running with current uClibc and gcc 4.3?

2009-03-03 Thread Lennart Sorensen
On Tue, Mar 03, 2009 at 12:10:56PM -0500, Lennart Sorensen wrote: > On Tue, Mar 03, 2009 at 11:59:41AM +1000, Greg Ungerer wrote: > > Couple of things I notice off-hand. > > > > The _start code looks completely different for the 2 cases. > > How did you configure uClibc for the gcc-4.3.2 case? > >

Re: [uClinux-dev] Threading and synchronization questions

2009-03-03 Thread Jamie Lokier
Mike Frysinger wrote: > On Monday 02 March 2009 12:39:07 Jamie Lokier wrote: > > Michael Schnell wrote: > > > >To daemonize, you don't use the same flags as you would to emulate > > > >fork() and vfork(), and have to use a little arch-specific assembler. > > > > > > Fully that you need to do this m

[uClinux-dev] Question about FlexCAN module and uClinux-dist-20080808

2009-03-03 Thread Valentin Rouquette
/* Sorry for my poor English */ Hi, I test uClinux on Freescale Coldfire MCF5329. I work with the “Zoom Coldfire SDK Development Kit”. For my first task, I design a CAN-Ethernet bridge. For this, I follow step-by-step the application note “AN3408 – Building a Sample CGI Application” from Freescal

[uClinux-dev] mcfcache patch

2009-03-03 Thread David Wu
Hi Greg, attached patch applied to uclinux-dist-20080808 release(with 20090302 patch applied). CACHE_ENABLE is defined to "nop" if CONFIG_UCBOOTLOADER is defined. The cache setting is defined in the bootloader in this case. Also I would like to point out that at least the cache setting is n

Re: [uClinux-dev] Does anyone have m68knommu running with current uClibc and gcc 4.3?

2009-03-03 Thread Lennart Sorensen
On Tue, Mar 03, 2009 at 11:59:41AM +1000, Greg Ungerer wrote: > Couple of things I notice off-hand. > > The _start code looks completely different for the 2 cases. > How did you configure uClibc for the gcc-4.3.2 case? > What .config file did you use? > > > Compare the disassembly of in both cases

Re: [uClinux-dev] Does anyone have m68knommu running with current uClibc and gcc 4.3?

2009-03-03 Thread Lennart Sorensen
On Tue, Mar 03, 2009 at 11:59:41AM +1000, Greg Ungerer wrote: > Couple of things I notice off-hand. > > The _start code looks completely different for the 2 cases. > How did you configure uClibc for the gcc-4.3.2 case? > What .config file did you use? > > > Compare the disassembly of in both cases

[uClinux-dev] MCF54455

2009-03-03 Thread Jordan Fuerst
Does anyone know if Freescale's 54455 will work with uClinux? ___ 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://ma

RE: [uClinux-dev] mcfcache patch

2009-03-03 Thread Gavin Lambert
Quoth David Wu: > CACHE_ENABLE is defined to "nop" if CONFIG_UCBOOTLOADER is defined. The cache > setting is defined in the > bootloader in this case. > Also I would like to point out that at least the cache setting is not quite > correct if RAM size is not > 16M for CONFIG_M527x. The settings m

Re: [uClinux-dev] mcfcache patch

2009-03-03 Thread David Wu
On Tue, 03 Mar 2009 16:20:10 -0500, Gavin Lambert wrote: Quoth David Wu: CACHE_ENABLE is defined to "nop" if CONFIG_UCBOOTLOADER is defined. The cache setting is defined in the bootloader in this case. Also I would like to point out that at least the cache setting is not quite correct if

Re: [uClinux-dev] MCF54455

2009-03-03 Thread Phil Wilshire
Hi Jordan, You will have to use Freescale's ltib development (rpm based) tools if you want to get the latest patches and possibly some help from Freescale. I have used it on a couple of projects and it does have its good points. regards Phil Wilshire Jordan Fuerst wrote: Does anyone know i

[uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread Mike Frysinger
In the Blackfin dist, we generate some temp symlinks in the tools/ subdir for utilities. The uClinux-dist doesn't use any symlinks in this subdir, so it shouldn't affect anything there. --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index

[uClinux-dev] [PATCH] fix bugreport target for LIBC=none

2009-03-03 Thread Mike Frysinger
If the LIBC is set to "none", then LIBCDIR expands to nothing and we get an error. So tweak how we optionally install the libc config. Also drop a duplicate install of the kernel config. --- Makefile |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makef

Re: [uClinux-dev] [PATCH] fix bugreport target for LIBC=none

2009-03-03 Thread David McCullough
Jivin Mike Frysinger lays it down ... > If the LIBC is set to "none", then LIBCDIR expands to nothing and we get > an error. So tweak how we optionally install the libc config. > > Also drop a duplicate install of the kernel config. Applied, Thanks, Davidm > --- > Makefile |8 +--- >

Re: [uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread David McCullough
Jivin Mike Frysinger lays it down ... > In the Blackfin dist, we generate some temp symlinks in the tools/ subdir > for utilities. The uClinux-dist doesn't use any symlinks in this subdir, > so it shouldn't affect anything there. Ok, I can't apply this one. Lots of uClinux-dist users (in parti

Re: [uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread Mike Frysinger
On Tuesday 03 March 2009 18:36:59 David McCullough wrote: > Jivin Mike Frysinger lays it down ... > > In the Blackfin dist, we generate some temp symlinks in the tools/ subdir > > for utilities. The uClinux-dist doesn't use any symlinks in this subdir, > > so it shouldn't affect anything there. >

Re: [uClinux-dev] [PATCH] Coldfire: M5271: fec.c: Added conditional compile to initialize MDIO lines.

2009-03-03 Thread Greg Ungerer
Hi Steven, Steven King wrote: On Monday, March 02, 2009 11:07:04 Greg Ungerer wrote: Hi Richard, Richard Retanubun wrote: From 0bad7aa337cf16bed99f5f71613e587f61068dde Mon Sep 17 00:00:00 2001 From: Richard Retanubun Date: Mon, 9 Feb 2009 10:41:48 -0500 Subject: [PATCH] Fixed GPIO pin initi

[uClinux-dev] [PATCH] use full path for depmod

2009-03-03 Thread Mike Frysinger
Using a relative path to busybox's depmod script doesn't work if the kern dir is actually a symlink somewhere else. Using a full path avoids that. --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 71488d6..9faa7b7 100644 --- a/Makefil

Re: [uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread David McCullough
Jivin Mike Frysinger lays it down ... > On Tuesday 03 March 2009 18:36:59 David McCullough wrote: > > Jivin Mike Frysinger lays it down ... > > > In the Blackfin dist, we generate some temp symlinks in the tools/ subdir > > > for utilities. The uClinux-dist doesn't use any symlinks in this subdir

Re: [uClinux-dev] [PATCH] use full path for depmod

2009-03-03 Thread David McCullough
Jivin Mike Frysinger lays it down ... > Using a relative path to busybox's depmod script doesn't work if the kern > dir is actually a symlink somewhere else. Using a full path avoids that. Applied, Thanks, Davidm > --- > Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >

[uClinux-dev] [PATCH] split config steps into %_defconfig

2009-03-03 Thread Mike Frysinger
The _default target is pretty useful, but sometimes I want to start with the default config. Splitting the default config steps out into a new _defconfig target allows for this code flow w/out breaking it manually with my own CTRL+C: $ make Some/Board_defconfig $ make config_menuco

Re: [uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread Mike Frysinger
On Tuesday 03 March 2009 20:06:27 David McCullough wrote: > Jivin Mike Frysinger lays it down ... > > On Tuesday 03 March 2009 18:36:59 David McCullough wrote: > > > Jivin Mike Frysinger lays it down ... > > > > > > > In the Blackfin dist, we generate some temp symlinks in the tools/ > > > > subdir

Re: [uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread David McCullough
Jivin Mike Frysinger lays it down ... > On Tuesday 03 March 2009 20:06:27 David McCullough wrote: > > Jivin Mike Frysinger lays it down ... > > > On Tuesday 03 March 2009 18:36:59 David McCullough wrote: > > > > Jivin Mike Frysinger lays it down ... > > > > > > > > > In the Blackfin dist, we gener

Re: [uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread Mike Frysinger
On Tuesday 03 March 2009 22:22:30 David McCullough wrote: > Jivin Mike Frysinger lays it down ... > > On Tuesday 03 March 2009 20:06:27 David McCullough wrote: > > > A link tree is an "out of source tree build" where everything except > > > directories is a symlink. > > > > > > For example, to make

Re: [uClinux-dev] [PATCH] clean links in tools/

2009-03-03 Thread David McCullough
Jivin Mike Frysinger lays it down ... > On Tuesday 03 March 2009 22:22:30 David McCullough wrote: > > Jivin Mike Frysinger lays it down ... > > > On Tuesday 03 March 2009 20:06:27 David McCullough wrote: > > > > A link tree is an "out of source tree build" where everything except > > > > directori

Re: [uClinux-dev] mcfcache patch

2009-03-03 Thread Greg Ungerer
Hi David, David Wu wrote: On Tue, 03 Mar 2009 16:20:10 -0500, Gavin Lambert wrote: Quoth David Wu: CACHE_ENABLE is defined to "nop" if CONFIG_UCBOOTLOADER is defined. The cache setting is defined in the bootloader in this case. Also I would like to point out that at least the cache setting

Re: [uClinux-dev] Does anyone have m68knommu running with current uClibc and gcc 4.3?

2009-03-03 Thread Greg Ungerer
Hi Lennart, Lennart Sorensen wrote: On Tue, Mar 03, 2009 at 12:10:56PM -0500, Lennart Sorensen wrote: On Tue, Mar 03, 2009 at 11:59:41AM +1000, Greg Ungerer wrote: Couple of things I notice off-hand. The _start code looks completely different for the 2 cases. How did you configure uClibc for

Re: [uClinux-dev] Does anyone have m68knommu running with current uClibc and gcc 4.3?

2009-03-03 Thread Greg Ungerer
Hi Lennart, Lennart Sorensen wrote: On Tue, Mar 03, 2009 at 11:59:41AM +1000, Greg Ungerer wrote: Couple of things I notice off-hand. The _start code looks completely different for the 2 cases. How did you configure uClibc for the gcc-4.3.2 case? What .config file did you use? Compare the di

Re: [uClinux-dev] [PATCH] m68knommu: fixing FEC irq caused crashing

2009-03-03 Thread Greg Ungerer
Hi Xin, Xin Xie wrote: Occasionally the system is crashing when connect to the network runing 30+ hours. Found out it is due to two consecutive FEC RX irqs cause the stack corruption of handle_IRQ_event routine. In the current fec RX/TX/MII handler, spin_unlock_irq() will enable the IRQ at t