[uClinux-dev] SLOB and binfmt_flat/do_mremap

2007-05-02 Thread John Williams
Hi, With the SLOB allocator enabled, kobjsize() doesn't seem to match ksize(). This triggers a bug with binfmt_flat, where the do_mremap call is used to take up slack space in the allocated text/data segments. binfmt_flat calls ksize to get the allocated region size, but do_mremap calls kob

RE: [uClinux-dev] permission denied problem

2007-05-02 Thread Jeff Fellin
Ganesh, >From the errors it appears that none of your executables in root have execution permissions. Have you checked the permissions before creating the image you burn into flash. Jeff Fellin _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ganesh Kumar Sent: Wedne

[uClinux-dev] permission denied problem

2007-05-02 Thread Ganesh Kumar
Hello All, I am running uclinux on IXP 425 Coyote board. I am facing a problem in starting /bin applications. The error observed is shown below. Please help. I checked that /bin applications have executable permissions. I can't do ls in the console prompt. JFFS2: Erase block

Re: [uClinux-dev] 32-bit SDRAM and FLASH

2007-05-02 Thread Andrew Kohlsmith
On Wednesday 02 May 2007 4:37 pm, Ferry de Groot wrote: > Could you be more specific where I can find the CSAR in uClinux. So far as > I saw these SDRAM initillisation were handled within DBUG. I've changed > this part for DBUG bootloader, but not for uClinux unless this part is not > needed. You'

Re: [uClinux-dev] 32-bit SDRAM and FLASH

2007-05-02 Thread Ferry de Groot
Could you be more specific where I can find the CSAR in uClinux. So far as I saw these SDRAM initillisation were handled within DBUG. I've changed this part for DBUG bootloader, but not for uClinux unless this part is not needed. From: Andrew Kohlsmith <[EMAIL PROTECTED]> Reply-To: uClinux d

Re: [uClinux-dev] Using math.h in uClinux applications

2007-05-02 Thread Doug Kehn
Hi Sven, --- Sven Johnsson wrote: > Hello, > > I am trying to compile a simple application that > uses the sin() > function. I have included the math.h header file and > compiled using the > -lm option. > When compiling, I get: > ...undefined reference to `sin' . > > It works fine when I compil

[uClinux-dev] Using math.h in uClinux applications

2007-05-02 Thread Sven Johnsson
Hello, I am trying to compile a simple application that uses the sin() function. I have included the math.h header file and compiled using the -lm option. When compiling, I get: ...undefined reference to `sin' . It works fine when I compile for the host system. How can I make this work? Best R

Re: [uClinux-dev] 32-bit SDRAM and FLASH

2007-05-02 Thread Andrew Kohlsmith
On Tuesday 01 May 2007 9:15 am, Ferry de Groot wrote: > I've allready changed the flash bit width to 32-bit in block devices or do > i need to make more specific changes. Erasing an sector seems to work > almost fine. Except that it didn't fully erased the full memory range. Assuming you changed

Re: [uClinux-dev] 32-bit SDRAM and FLASH

2007-05-02 Thread Greg Ungerer
Hi Ferry, Ferry de Groot wrote: We have just made our own MCF5208 board with 32-bit SDRAM and Flash memory. The original M5208EVB uses an 16-bit design. Now I would like to know, what do I need to change to get my mtd partition fully working again in this design? It seems to access the flash

Re: [uClinux-dev] linux-2.6.21-uc0 patch set released

2007-05-02 Thread Doug Kehn
Hi Greg, --- Greg Ungerer wrote: > > > And by popular request here is a big patch that will > bring a > stock 2.6.21 kernel up to a uClinux-dist 2.6.x level > kernel: > > http://www.uclinux.org/pub/uClinux/uClinux-2.6.x/linux-2.6.21-uc0-big.patch.gz > Thanks! ...doug __

Re: [uClinux-dev] Adding IPtables on uClinux/snapgear

2007-05-02 Thread David McCullough
Jivin fara sam lays it down ... > Hi David, > > Let me explain what I have done so far. > > 1- Install snapgear 3.4.0 > 2- make xconfig > 3- choseing iptables from snapgear menu to add to > zImage and ramdisk > 4-make > 5-Sending zImage and ramdisk to IXP425 board > 6-I have iptables file on the

[uClinux-dev] Adding IPtables on uClinux/snapgear

2007-05-02 Thread fara sam
Hi David, Let me explain what I have done so far. 1- Install snapgear 3.4.0 2- make xconfig 3- choseing iptables from snapgear menu to add to zImage and ramdisk 4-make 5-Sending zImage and ramdisk to IXP425 board 6-I have iptables file on the board, I am able to see the help nad check iptables ve