[uClinux-dev] uClinux compilation probleam on ubuntu

2009-06-23 Thread venkatesh
Hi,

 I am trying to build uClinux image  on ubuntu 8.04 

Make config 

Make dep 

Make lib_only

Are given no error. When I given make romfs command  the following errors
are came please tell me what mistake I did and what I have to do.

 

 

r...@ubuntu:/usr/local/src/uClinux-dist# make romfs

for dir in  lib user ; do [ ! -d $dir ] || make ARCH=armnommu
CROSS_COMPILE=arm-elf- -C $dir romfs || e
xit 1 ; done

make[1]: Entering directory `/usr/local/src/uClinux-dist/lib'

for i in uClibc libnet libcrypt_old /usr/local/src/uClinux-dist/prop libg ;
do \

[ ! -d $i ] || make -C $i romfs || exit $? ; \

done

make[2]: Entering directory `/usr/local/src/uClinux-dist/uClibc'

make[2]: Leaving directory `/usr/local/src/uClinux-dist/uClibc'

make[2]: Entering directory `/usr/local/src/uClinux-dist/lib/libnet'

make[2]: Nothing to be done for `romfs'.

make[2]: Leaving directory `/usr/local/src/uClinux-dist/lib/libnet'

make[2]: Entering directory `/usr/local/src/uClinux-dist/lib/libcrypt_old'

make[2]: Nothing to be done for `romfs'.

make[2]: Leaving directory `/usr/local/src/uClinux-dist/lib/libcrypt_old'

make[2]: Entering directory `/usr/local/src/uClinux-dist/lib/libg'

make[2]: Nothing to be done for `romfs'.

make[2]: Leaving directory `/usr/local/src/uClinux-dist/lib/libg'

arm-elf-strip /usr/local/src/uClinux-dist/romfs/lib/*

arm-elf-strip: /usr/local/src/uClinux-dist/romfs/lib/*: No such file or
directory

make[1]: [romfs] Error 1 (ignored)

make[1]: Leaving directory `/usr/local/src/uClinux-dist/lib'

make[1]: Entering directory `/usr/local/src/uClinux-dist/user'

for i in /usr/local/src/uClinux-dist/vendors/Embest/S3CEV40/. boa busybox
dhcpcd-new ftp games inetd in
it login ping ramimage route sash telnet telnetd
/usr/local/src/uClinux-dist/prop ; do \

[ ! -d $i ] || make -C $i romfs || exit $? ; \

done

make[2]: Entering directory
`/usr/local/src/uClinux-dist/vendors/Embest/S3CEV40'

[ -d /usr/local/src/uClinux-dist/romfs/$i ] || mkdir -p
/usr/local/src/uClinux-dist/romfs

for i in bin dev etc home lib mnt proc usr var; do \

[ -d /usr/local/src/uClinux-dist/romfs/$i ] || mkdir -p
/usr/local/src/uClinux-dist/rom
fs/$i; \

done

for i in tty,c,5,0  console,c,5,1   cua0,c,5,64 cua1,c,5,65
mem,c,1,1   kmem,c,1,2  null,c,
1,3 zero,c,1,5  random,c,1,8urandom,c,1,9 ram0,b,1,0ram1,b,1,1
ptyp0,c,2,0  ptyp1,c,2,1   p
typ2,c,2,2  ptyp3,c,2,3 ptyp4,c,2,4 ptyp5,c,2,5 ptyp6,c,2,6
ptyp7,c,2,7 ptyp8,c,2,8 ptyp9,c
,2,9ptypa,c,2,10ptypb,c,2,11 ptypc,c,2,12   ptypd,c,2,13
ptype,c,2,14ptypf,c,2,15 ro
m0,b,31,0   rom1,b,31,1 rom2,b,31,2 rom3,b,31,3 rom4,b,31,4
rom5,b,31,5 rom6,b,31,6   r
om7,b,31,7 rom8,b,31,8  rom9,b,31,9 tty0,c,4,0  tty1,c,4,1  tty2,c,4,2
tty3,c,4,3 ttyS0,c,4,64
ttyS1,c,4,65 ttyp0,c,3,0ttyp1,c,3,1 ttyp2,c,3,2 ttyp3,c,3,3
ttyp4,c,3,4 ttyp5,c,3,5   t
typ6,c,3,6  ttyp7,c,3,7 ttyp8,c,3,8 ttyp9,c,3,9 ttypa,c,3,10
ttypb,c,3,11 ttypc,c,3,12 t
typd,c,3,13 ttype,c,3,14ttypf,c,3,15; do \

touch /usr/local/src/uClinux-dist/romfs/dev/@$i; \

done

romfs-inst.sh -s /var/tmp /tmp

romfs-inst.sh -s /bin /sbin

romfs-inst.sh /etc/rc

romfs-inst.sh /etc/inittab

romfs-inst.sh ../../Generic/romfs/etc/services /etc/services

case linux-2.4.x in \

*2.4.*) ;; \

*) echo ttyS0:linux:/bin/sh 
/usr/local/src/uClinux-dist/romfs/etc/inittab ;; \

esac

romfs-inst.sh /etc/motd

romfs-inst.sh /etc/passwd

echo Embest/S3CEV40 Version 3.1.0 --  `date` 
/usr/local/src/uClinux-dist/romfs/etc/version

make[2]: Leaving directory
`/usr/local/src/uClinux-dist/vendors/Embest/S3CEV40'

make[2]: Entering directory `/usr/local/src/uClinux-dist/user/boa'

for i in src ; do make -C $i romfs || exit ; done

make[3]: Entering directory `/usr/local/src/uClinux-dist/user/boa/src'

romfs-inst.sh /bin/boa

cp: cannot stat `boa': No such file or directory

make[3]: Leaving directory `/usr/local/src/uClinux-dist/user/boa/src'

make[2]: Leaving directory `/usr/local/src/uClinux-dist/user/boa'

make[2]: Entering directory `/usr/local/src/uClinux-dist/user/busybox'

romfs-inst.sh -e CONFIG_USER_BUSYBOX_SYSLOGD -s /var/tmp/log /dev/log

if [ -f $ROMFSDIR/bin/busybox ]; then \

inode=`ls -i $ROMFSDIR/bin/busybox | awk '{print $1}'`; \

ls -iL $ROMFSDIR/bin | grep ^ *$inode | awk '{print $2}'
| \

sed s:^:$ROMFSDIR/bin/: | env -i /bin/xargs
/bin/rm -f; \

fi

cp busybox /usr/local/src/uClinux-dist/romfs/bin/busybox

cp: cannot stat `busybox': No such file or directory

make[2]: *** [romfs] Error 1

make[2]: Leaving directory `/usr/local/src/uClinux-dist/user/busybox'

make[1]: *** [romfs] Error 2

make[1]: Leaving directory `/usr/local/src/uClinux-dist/user'

make: *** [romfs] Error 1

r...@ubuntu:/usr/local/src/uClinux-dist#

 

.

Thanks and Regards

Venkatesh 

Re: [uClinux-dev] uClinux compilation probleam on ubuntu

2009-06-23 Thread David McCullough

Jivin venkatesh lays it down ...
 Hi,
 
  I am trying to build uClinux image  on ubuntu 8.04 
 
 Make config 
 
 Make dep 
 
 Make lib_only
 
 Are given no error. When I given make romfs command  the following errors
 are came please tell me what mistake I did and what I have to do.

make lib_only is not something you should ever do after a make dep.
If so, the instructions you are following are not for a standard
uClinux-dist ;-)

You should do something like:

make config
make dep# only on 2.4 kernels
make

Once you have this working you can look at short cuts,  but not before.

If a vendor is telling you to do these steps, talk to the vendor about
the source they have provided you :-)

Cheers,
Davidm


 r...@ubuntu:/usr/local/src/uClinux-dist# make romfs
 
 for dir in  lib user ; do [ ! -d $dir ] || make ARCH=armnommu
 CROSS_COMPILE=arm-elf- -C $dir romfs || e
 xit 1 ; done
 
 make[1]: Entering directory `/usr/local/src/uClinux-dist/lib'
 
 for i in uClibc libnet libcrypt_old /usr/local/src/uClinux-dist/prop libg ;
 do \
 
 [ ! -d $i ] || make -C $i romfs || exit $? ; \
 
 done
 
 make[2]: Entering directory `/usr/local/src/uClinux-dist/uClibc'
 
 make[2]: Leaving directory `/usr/local/src/uClinux-dist/uClibc'
 
 make[2]: Entering directory `/usr/local/src/uClinux-dist/lib/libnet'
 
 make[2]: Nothing to be done for `romfs'.
 
 make[2]: Leaving directory `/usr/local/src/uClinux-dist/lib/libnet'
 
 make[2]: Entering directory `/usr/local/src/uClinux-dist/lib/libcrypt_old'
 
 make[2]: Nothing to be done for `romfs'.
 
 make[2]: Leaving directory `/usr/local/src/uClinux-dist/lib/libcrypt_old'
 
 make[2]: Entering directory `/usr/local/src/uClinux-dist/lib/libg'
 
 make[2]: Nothing to be done for `romfs'.
 
 make[2]: Leaving directory `/usr/local/src/uClinux-dist/lib/libg'
 
 arm-elf-strip /usr/local/src/uClinux-dist/romfs/lib/*
 
 arm-elf-strip: /usr/local/src/uClinux-dist/romfs/lib/*: No such file or
 directory
 
 make[1]: [romfs] Error 1 (ignored)
 
 make[1]: Leaving directory `/usr/local/src/uClinux-dist/lib'
 
 make[1]: Entering directory `/usr/local/src/uClinux-dist/user'
 
 for i in /usr/local/src/uClinux-dist/vendors/Embest/S3CEV40/. boa busybox
 dhcpcd-new ftp games inetd in
 it login ping ramimage route sash telnet telnetd
 /usr/local/src/uClinux-dist/prop ; do \
 
 [ ! -d $i ] || make -C $i romfs || exit $? ; \
 
 done
 
 make[2]: Entering directory
 `/usr/local/src/uClinux-dist/vendors/Embest/S3CEV40'
 
 [ -d /usr/local/src/uClinux-dist/romfs/$i ] || mkdir -p
 /usr/local/src/uClinux-dist/romfs
 
 for i in bin dev etc home lib mnt proc usr var; do \
 
 [ -d /usr/local/src/uClinux-dist/romfs/$i ] || mkdir -p
 /usr/local/src/uClinux-dist/rom
 fs/$i; \
 
 done
 
 for i in tty,c,5,0  console,c,5,1   cua0,c,5,64 cua1,c,5,65
 mem,c,1,1   kmem,c,1,2  null,c,
 1,3 zero,c,1,5  random,c,1,8urandom,c,1,9 ram0,b,1,0ram1,b,1,1
 ptyp0,c,2,0  ptyp1,c,2,1   p
 typ2,c,2,2  ptyp3,c,2,3 ptyp4,c,2,4 ptyp5,c,2,5 ptyp6,c,2,6
 ptyp7,c,2,7 ptyp8,c,2,8 ptyp9,c
 ,2,9ptypa,c,2,10ptypb,c,2,11 ptypc,c,2,12   ptypd,c,2,13
 ptype,c,2,14ptypf,c,2,15 ro
 m0,b,31,0   rom1,b,31,1 rom2,b,31,2 rom3,b,31,3 rom4,b,31,4
 rom5,b,31,5 rom6,b,31,6   r
 om7,b,31,7 rom8,b,31,8  rom9,b,31,9 tty0,c,4,0  tty1,c,4,1  tty2,c,4,2
 tty3,c,4,3 ttyS0,c,4,64
 ttyS1,c,4,65 ttyp0,c,3,0ttyp1,c,3,1 ttyp2,c,3,2 ttyp3,c,3,3
 ttyp4,c,3,4 ttyp5,c,3,5   t
 typ6,c,3,6  ttyp7,c,3,7 ttyp8,c,3,8 ttyp9,c,3,9 ttypa,c,3,10
 ttypb,c,3,11 ttypc,c,3,12 t
 typd,c,3,13 ttype,c,3,14ttypf,c,3,15; do \
 
 touch /usr/local/src/uClinux-dist/romfs/dev/@$i; \
 
 done
 
 romfs-inst.sh -s /var/tmp /tmp
 
 romfs-inst.sh -s /bin /sbin
 
 romfs-inst.sh /etc/rc
 
 romfs-inst.sh /etc/inittab
 
 romfs-inst.sh ../../Generic/romfs/etc/services /etc/services
 
 case linux-2.4.x in \
 
 *2.4.*) ;; \
 
 *) echo ttyS0:linux:/bin/sh 
 /usr/local/src/uClinux-dist/romfs/etc/inittab ;; \
 
 esac
 
 romfs-inst.sh /etc/motd
 
 romfs-inst.sh /etc/passwd
 
 echo Embest/S3CEV40 Version 3.1.0 --  `date` 
 /usr/local/src/uClinux-dist/romfs/etc/version
 
 make[2]: Leaving directory
 `/usr/local/src/uClinux-dist/vendors/Embest/S3CEV40'
 
 make[2]: Entering directory `/usr/local/src/uClinux-dist/user/boa'
 
 for i in src ; do make -C $i romfs || exit ; done
 
 make[3]: Entering directory `/usr/local/src/uClinux-dist/user/boa/src'
 
 romfs-inst.sh /bin/boa
 
 cp: cannot stat `boa': No such file or directory
 
 make[3]: Leaving directory `/usr/local/src/uClinux-dist/user/boa/src'
 
 make[2]: Leaving directory `/usr/local/src/uClinux-dist/user/boa'
 
 make[2]: Entering directory `/usr/local/src/uClinux-dist/user/busybox'
 
 romfs-inst.sh -e CONFIG_USER_BUSYBOX_SYSLOGD -s /var/tmp/log /dev/log
 
 if [ -f $ROMFSDIR/bin/busybox ]; then \
 

[uClinux-dev] Slow Boa response

2009-06-23 Thread niklas_molin

Hi.

I'm running some applications in uClinux (Nios) that are using CGI-scripts.
I have noticed that if I use internet explorer as the browser, the response 
is quick (takes maybe around 100 ms to update the page) .

But if I use firefox, it takes up to 3 seconds to update the page.
So there seems to be something that firefox doesn't like with the response 
from the Boa.

Has anyone experienced this problem?
I'll try to analyze the traffic today (Wireshark) to see what really 
happens.


Thanks,
Niklas 


___
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] Slow Boa response

2009-06-23 Thread Michael Schnell
For me, a very complex CGI using haserl script is reasonably fast with
Firefox.

-Michael
___
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] Slow Boa response

2009-06-23 Thread Niklas Molin

Hi Michael.

What's a little bit confusing is that there is a big difference in the speed 
(how fast it download the page) between Explorer and Firefox.
So the question is if there is something in the output from the CGI-script that 
Firefox doesn't really like.
But I'll investigate this more today.

/Niklas

 Date: Tue, 23 Jun 2009 16:51:01 +0200
 From: mschn...@lumino.de
 To: uclinux-dev@uclinux.org
 Subject: Re: [uClinux-dev] Slow Boa response
 
 For me, a very complex CGI using haserl script is reasonably fast with
 Firefox.
 
 -Michael
 ___
 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

_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us___
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] Slow Boa response

2009-06-23 Thread Niklas Molin

Hi Robert.

I tried to disable the keepalive function, but no luck.
But we checked the difference between the Firefox and Internet explorer 
scenario.
Seems like Firefox is sending concurrent TCP connections and Explorer only one 
per time. 
We are trying to investigating more, why this is being a problem. 

/Niklas

 Subject: RE: [uClinux-dev] Slow Boa response
 To: uclinux-dev@uclinux.org
 From: robert.dani...@vantagecontrols.com
 Date: Tue, 23 Jun 2009 12:08:09 -0600
 
 Niklas,
 
 We ran into a situation that seems similar to what you're describing about
 cgi / web requests to boa being slow.  We were able to resolve this by
 disabling the keep alive feature in the boa.conf file.  There's a line that
 should be there that looks something like this:
 
 KeepAliveMax 100
 
 We just commented this configuration option out and got an immediate
 improvement in responsiveness.
 
 Hope this helps!
 
 - Robert Daniels
 
 
 

  Niklas Molin  
  niklas_mo...@hot 
  mail.com  To 
  Sent by:  uClinux development list
  uclinux-dev-bounc uclinux-dev@uclinux.org   
  e...@uclinux.org cc 

Subject 
  06/23/2009 09:36  RE: [uClinux-dev] Slow Boa response 
  AM


  Please respond to 
   uClinux  
  development list  
  uclinux-...@ucli 
  nux.org  


 
 
 
 
 Hi Michael.
 
 What's a little bit confusing is that there is a big difference in the
 speed (how fast it download the page) between Explorer and Firefox.
 So the question is if there is something in the output from the CGI-script
 that Firefox doesn't really like.
 But I'll investigate this more today.
 
 /Niklas
 
  Date: Tue, 23 Jun 2009 16:51:01 +0200
  From: mschn...@lumino.de
  To: uclinux-dev@uclinux.org
  Subject: Re: [uClinux-dev] Slow Boa response
 
  For me, a very complex CGI using haserl script is reasonably fast with
  Firefox.
 
  -Michael
  ___
  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
 
 Invite your mail contacts to join your friends list with Windows Live
 Spaces. It's easy! Try it!___
 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
 
 This email, and any document attached hereto, may contain
 confidential and/or privileged information.  If you are not the
 intended recipient (or have received this email in error) please
 notify the sender immediately and destroy this email.  Any
 unauthorized, direct or indirect, copying, disclosure, distribution
 or other use of the material or parts thereof is strictly
 forbidden.
 ___
 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

_
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/___
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] Re: [PATCH 00/13] revised Coldfire generic GPIO (mk68nommu)

2009-06-23 Thread Greg Ungerer

Hi Steven,

sfk...@fdwdc.com wrote:

Revised implementation of generic gpio for the Freescale Coldfire family of
processors (m68knommu).   It uses gpiolib and provides both fast inline
operations when the gpio is a compile time constant and slower outline
operations dispatched via gpiolib when the gpio is a variable. 


There are also hooks for implementing pin multiplexing but that part isn't
finished yet.


The major difference with the previous version is the move to a per-platform
setup code as suggested by Greg Ungerer g...@snapgear.com.

Additionally, it fixes the definition of the TIMER gpio pins in the 5271
(thanks to Richard Retanubun richardretanu...@ruggedcom.com).


This looks pretty good to me.
Do you want me to apply the the m68knommu git tree?
(Ideally I'll push it to Linus in the 2.6.32 merge window).

Regards
Greg




Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
___
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