[uClinux-dev] New uclinux-dist irqs ( resend)

Phil Wilshire pwilshire at cox.net
Mon Jan 9 09:53:08 EST 2006


Hi Daniel,
( try again !! )

    look for

local_irq_save(flags);
local_irq_disable();
local_irq_restore(flags);
  regards
     Phil Wilshire

>
>
> Daniel Alomar wrote:
>
>>Hi,
>>
>>Terje, did you test the pthreads with gcc 3.4.0 tool-chain?
>>http://uclinux.org/pub/uClinux/m68k-elf-tools/gcc-3/
>>
>>Now, the 3 pThreads demos from busybox works fine inside uClinux with the
>>2.6 kernel (linux-2.6.12 from uClinux-dist). 
>>
>>I've only one problem with interrupts inside the module.... I hope I can
>>solve it. Somebody knows if the interrups handler has been changed from 2.4?
>>I now sti() and cli() are not allowed... Any else?
>>
>>Regards,
>>
>>Daniel Alomar
>>
>>-----Mensaje original-----
>>De: uclinux-dev-bounces at uclinux.org [mailto:uclinux-dev-bounces at uclinux.org]
>>En nombre de NZG
>>Enviado el: miércoles, 04 de enero de 2006 16:13
>>Para: uClinux development list
>>Asunto: Re: [uClinux-dev] New uclinux-dist
>>
>>
>>I have successfully used pthreads with 2.6, but I had some problems until I 
>>switched to the newer 3.4 toolchain.
>>
>>Specifically I've had success with 
>>
>>Configured with: /usr/local/src/uclinux-tools/gcc-3.4.0/configure 
>>--target=m68k-uclinux --prefix=/usr/local/m68k-uclinux-tools 
>>--enable-languages=c,c++ --enable-multilib --enable-target-optspace 
>>--with-gnu-ld --disable-nls --disable-__cxa_atexit --disable-c99 
>>--disable-clocale --disable-c-mbchar --disable-long-long 
>>--enable-threads=posix --enable-cxx-flags=-D_ISOC99_SOURCE -D_BSD_SOURCE
>>Thread model: posix gcc version 3.4.0
>>
>>NZG.
>>
>>On Wednesday 04 January 2006 5:40 am, Daniel Alomar wrote:
>>  
>>
>>>Hi Terje,
>>>
>>>I was testing deeply the pthreads under 2.6 (2.6.12 from 
>>>uClinux-dist). My app didn't work finely, wherefore I compile the 
>>>pthreads demos included inside uClinux, and despite the thdm app works 
>>>fine (this was why at first glance I said pthreads works fine), the 
>>>others included with this (bcdm and
>>>mtdm) didn't work..... Maybe pthreads aren't correctly implemented inside
>>>2.6...? Did you have run the pthreads demo without problem?
>>>
>>>Regards,
>>>
>>>Daniel Alomar
>>>
>>>-----Mensaje original-----
>>>De: uclinux-dev-bounces at uclinux.org 
>>>[mailto:uclinux-dev-bounces at uclinux.org] En nombre de Terje Nilsen 
>>>Enviado el: martes, 03 de enero de 2006 8:31
>>>Para: 'uClinux development list'
>>>Asunto: RE: [uClinux-dev] New uclinux-dist
>>>
>>>
>>>"We ware discussing System V IPC in the 2.6.15 kernel..."
>>>
>>>
>>>Well, they got the TINY_SHMEM in now, and that will help some. We do 
>>>not need to patch the MM/Makefile any more as TINY_SHMEM will be added 
>>>(As is seems in xconfig)
>>>
>>>However The System V IPC was NOT added, so we need to do the patch 
>>>manually again. Some of the needed patches seem to be there, some is 
>>>not, and one is a little harder to merge in.
>>>
>>>But at the moment I can't even compile the new 2.6.15 kernel for 
>>>Coldfire configuration, so I can't test the IPC. I'll just wait for a 
>>>patch to get things to compile smoothly...
>>>
>>>PS: I tried to patch my 2.6.14 up to 2.6.15, the process went fine, 
>>>but I go the same compiler errors: it's ptrace.c that gives me trouble 
>>>with aprox. 10 errors...
>>>
>>>
>>>Terje Nilsen
>>>Automasjonsutvikling AS
>>>NORWAY
>>>
>>>
>>>
>>>_______________________________________________
>>>uClinux-dev mailing list
>>>uClinux-dev at uclinux.org 
>>>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>>>This message was resent by uclinux-dev at uclinux.org
>>>
>>>_______________________________________________
>>>uClinux-dev mailing list
>>>uClinux-dev at uclinux.org 
>>>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>>>This message was resent by uclinux-dev at uclinux.org
>>>    
>>>
>>_______________________________________________
>>uClinux-dev mailing list
>>uClinux-dev at uclinux.org
>>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>>This message was resent by uclinux-dev at uclinux.org
>>
>>_______________________________________________
>>uClinux-dev mailing list
>>uClinux-dev at uclinux.org
>>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>>This message was resent by uclinux-dev at uclinux.org
>>
>>  
>>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>uClinux-dev mailing list
>uClinux-dev at uclinux.org
>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
>This message was resent by uclinux-dev at uclinux.org
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20060109/929dbd87/attachment.html>


More information about the uClinux-dev mailing list