Re: [uClinux-dev] Mount romfs without MTD?

2009-01-22 Thread Stephane Lambert
Hi thanks for your answer. In my case, when the linux image is loaded, the _startup procedure copies the romfs image from the rom to the ram (at _ebss). So I can use RAMdisk or MTD. I have already tried with MTD, I create a partition but I have a probleme with the function mtd_blktrans_thread(

[uClinux-dev] samba for small embedded solutions?

2009-01-22 Thread Siegfried Müller
Hi, I want to use samba (smbd, nmbd, smbpasswd) on my snapgear linux (3.4). I only want to share files as an own domain, no printers and nothing else. Does anyone know or already made how to configure the samba to be very small? Cheers Siegfried ___ uCl

Re: [uClinux-dev] newest possible kernel version for trunk of uClinux-dist?

2009-01-22 Thread Michael Schnell
No, not exactly either. Almost all of the current code in the kernel for non-mmu is conditional on CONFIG_MMU. With user space stuff I always found the "EMDED" define which often is used to do a fork() vs. vfork() selection. (Which IMHO in many cases seems silly, as AFAIK, you can happily use

Re: [uClinux-dev] newest possible kernel version for trunk of uClinux-dist?

2009-01-22 Thread Michael Schnell
My company is porting uClinux to our processor architecture that is used in several routers and some digital picture frames on the market. Is it a secret which arch you are talking about ? -Michael ___ uClinux-dev mailing list uClinux-dev@uclinux.org

Re: [uClinux-dev] Problem with mtd_blktrans_thread()

2009-01-22 Thread Sujit Karataparambil
The functionality now since 2.5.x was moved to kthread api's. This is the related message. https://openvz.org/pipermail/devel/2007-April/004807.html Kthread API: http://lwn.net/Articles/188666/ On 1/20/09, Stephane Lambert wrote: > Hi all, > I'm trying to boot uClinux 2.6 on a new architecture

Re: [uClinux-dev] Mount romfs without MTD?

2009-01-22 Thread Greg Ungerer
Hi Stephane, Stephane Lambert wrote: Hi thanks for your answer. In my case, when the linux image is loaded, the _startup procedure copies the romfs image from the rom to the ram (at _ebss). So I can use RAMdisk or MTD. I have already tried with MTD, I create a partition but I have a probleme

Re: [uClinux-dev] newest possible kernel version for trunk of uClinux-dist?

2009-01-22 Thread Greg Ungerer
Hi Michael, Michael Schnell wrote: No, not exactly either. Almost all of the current code in the kernel for non-mmu is conditional on CONFIG_MMU. With user space stuff I always found the "EMDED" define which often is used to do a fork() vs. vfork() selection. That was certainly the case many

Re: [uClinux-dev] newest possible kernel version for trunk of uClinux-dist?

2009-01-22 Thread David McCullough
Jivin Michael Schnell lays it down ... > > >No, not exactly either. Almost all of the current code in the kernel > >for non-mmu is conditional on CONFIG_MMU. > With user space stuff I always found the "EMDED" define which often is > used to do a fork() vs. vfork() selection. > > (Which IMHO in

Re: [uClinux-dev] newest possible kernel version for trunk of uClinux-dist?

2009-01-22 Thread Michael Schnell
(Which IMHO in many cases seems silly, as AFAIK, you can happily use vfork() if there is an MMU, too, in nearly (?) all cases when you can _simply_ (without any other code change) replace fork() with vfork() anyway. ) Yes, pretty much true... But userland software I all over the place see funn

Re: [uClinux-dev] newest possible kernel version for trunk of uClinux-dist?

2009-01-22 Thread Michael Schnell
especially if there is any question over the safe use of vfork. Of course there are lots of cases where you can't just replace fork() and vfork(). But here you need a decent porting if you want to take care of the "EMBED" define. In other cases (the more common ones) it would be "nice" jus

Re: [uClinux-dev] Mount romfs without MTD?

2009-01-22 Thread Allon Stern
On Jan 21, 2009, at 7:13 PM, Greg Ungerer wrote: Hi Stephane, Stephane Lambert wrote: I'm working on mounting romfs for kernel 2.6.19 on a new architecture and I have a question: It is possible to mount romfs without MTD support? Where does the romfs sit? If on a disk you would logically us

Re: [uClinux-dev] Problem with mtd_blktrans_thread()

2009-01-22 Thread Stephane Lambert
Thanks for your answer, Does it means that I should apply this patch? Thanks in advance. Sujit Karataparambil a écrit : The functionality now since 2.5.x was moved to kthread api's. This is the related message. https://openvz.org/pipermail/devel/2007-April/004807.html Kthread API: http://lwn

RE: [uClinux-dev] newest possible kernel version for trunkof uClinux-dist?

2009-01-22 Thread Rainer Keller
Sorry, I forgot that my email is not visible. No secret talking intented: http://www.ubicom.com is porting an arch that we call ubicom32. IP7000 and probably IP5000 are supported for uClinux. We had a pre-pre-pre-alpha router demo at CES but it ran stable and served as the main internet gateway dur

Re: [uClinux-dev] eDMA support for M5329 - uClinux-2.6.26-uc0

2009-01-22 Thread Matt Waddel
Hi Greg, Greg Ungerer wrote: Hi Matt, Matt Waddel wrote: The attached patch adds support for the enhanced DMA (eDMA) driver found in many Coldfire platforms. This patch only provides support for the M5329 platform. The driver also contains a simple test program that can be used to validate t

Re: [uClinux-dev] newest possible kernel version for trunk of uClinux-dist?

2009-01-22 Thread David McCullough
Jivin Michael Schnell lays it down ... > > >>(Which IMHO in many cases seems silly, as AFAIK, you can happily use > >>vfork() if there is > >>an MMU, too, in nearly (?) all cases when you can _simply_ (without > >>any other code change) replace fork() with vfork() anyway. ) > >Yes, pretty much

Re: [uClinux-dev] eDMA support for M5329 - uClinux-2.6.26-uc0

2009-01-22 Thread Greg Ungerer
Hi Matt, Matt Waddel wrote: Greg Ungerer wrote: Matt Waddel wrote: The attached patch adds support for the enhanced DMA (eDMA) driver found in many Coldfire platforms. This patch only provides support for the M5329 platform. The driver also contains a simple test program that can be used to

[uClinux-dev] Coldfire 5235 I/D split cache

2009-01-22 Thread Jate Sujjavanich
I am using a 2.4.31-uc0 kernel. I've been experimenting with enabling the split instruction and data cache on the 5235. I get a good speedup (my boot time is reduced by 30% to 27 seconds). However, I am occasionally getting problems with certain programs starting up (perhaps a pthreads issue). Thi

Re: [uClinux-dev] Problem with mtd_blktrans_thread()

2009-01-22 Thread Sujit Karataparambil
Not Really. You may have to change the code manually to Kthread API's. On 1/22/09, Stephane Lambert wrote: > Thanks for your answer, > Does it means that I should apply this patch? > Thanks in advance. > > > > Sujit Karataparambil a écrit : > > > The functionality now since 2.5.x was moved to kt