Re: [uClinux-dev] [PATCH serial/mcf] Allow 4 ports

2010-03-18 Thread Greg Ungerer


Hi Philippe,

Philippe De Muyter wrote:

Fix driver/serial/mcf.c for 4-ports coldfire's (e.g. MCF5484).

Signed-off-by: Philippe De Muyter 


Looks good, thanks.
I will apply to the m68knommu git tree (once Linus has pulled my
out-standing for-linus branch).

Regards
Greg



diff -r 32d9ad41adba linux-2.6.x/drivers/serial/mcf.c
--- a/linux-2.6.x/drivers/serial/mcf.c  Thu Mar 18 11:26:13 2010 +0100
+++ b/linux-2.6.x/drivers/serial/mcf.c  Thu Mar 18 11:28:45 2010 +0100
@@ -443,7 +445,7 @@
.verify_port= mcf_verify_port,
 };
 
-static struct mcf_uart mcf_ports[3];

+static struct mcf_uart mcf_ports[4];
 
 #define	MCF_MAXPORTS	ARRAY_SIZE(mcf_ports)
 
___

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




--

Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, AustraliaWEB: 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


Re: [uClinux-dev] [PATCH] : fix inetd.conf for CONFIG_USER_BUSYBOX_TELNETD

2010-03-18 Thread Greg Ungerer


Hi Philippe,

Philippe De Muyter wrote:

When choosing standalone telnetd, /etc/inetd.conf is automatically filled
with a rule for telnetd.  When choosing busybox's telnetd, that was not done.
Here is a fix.


Thanks. Applied for uClinux-dist.

Regards
Greg




--- a/user/busybox/install-romfs.sh 2005-07-28 04:19:00.0 +0200
+++ b/user/busybox/install-romfs.sh 2010-03-16 21:44:57.0 +0100
@@ -78,4 +78,7 @@
 fi
 done
 
+romfs-inst.sh -e CONFIG_USER_BUSYBOX_TELNETD \

+   -a "telnet  stream tcp nowait root /bin/telnetd" /etc/inetd.conf
+
 exit 0
___
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




--

Greg Ungerer  --  Principal EngineerEMAIL: g...@snapgear.com
SnapGear Group, McAfee  PHONE:   +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, AustraliaWEB: 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


Re: [uClinux-dev] nfsroot is so slow

2010-03-18 Thread Fabio Giovagnini
Hi Alan,
I do not think it is  a problem of ABI;
It was a problem of permissions of my nfsroot on the server.
But now I have very very slow performances (and the error has disappeared) so 
now I'm tring v3,udp to see if I have defferences

I'll le you know

PS
Where are you physically?


In data giovedì 18 marzo 2010 15:14:13, Alan Carvalho de Assis ha scritto:
: > Hi Fabio,
> 
> On 3/17/10, Fabio Giovagnini  wrote:
> > I'm pritty sure you are right; I build my rootfs for coping it into a
> > jffs2 filesysystem using
> > mkfs.jffs2 --big-endian --eraseblock=65536 --pad=2097152
> > --root=$(ROOT_FS) --
> > output=$(IMAGE_DIR)/sh7203-filesystem.bin
> >
> > so mkfs,jffs2 have in account the big endian problem.
> 
> If your jffs2 image was wrong then Linux could mount it. Basing on
> your kernel log msg I can see it is mounted correctly.
> 
> > Now, how can I solve?
> > Whare can I study use to use EABI (compiler part ena dkernel part)?
> 
> Just using readelf will be enough to give you a clue:
> $ readelf -a busybox | grep ABI
> 
> Best Regards,
> 
> Alan
> 

-- 
Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
___
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] nfsroot is so slow

2010-03-18 Thread Alan Carvalho de Assis
Hi Fabio,

On 3/17/10, Fabio Giovagnini  wrote:
> I'm pritty sure you are right; I build my rootfs for coping it into a jffs2
> filesysystem using
> mkfs.jffs2 --big-endian --eraseblock=65536 --pad=2097152 --root=$(ROOT_FS)
> --
> output=$(IMAGE_DIR)/sh7203-filesystem.bin
>
> so mkfs,jffs2 have in account the big endian problem.

If your jffs2 image was wrong then Linux could mount it. Basing on
your kernel log msg I can see it is mounted correctly.

> Now, how can I solve?
> Whare can I study use to use EABI (compiler part ena dkernel part)?
>

Just using readelf will be enough to give you a clue:
$ readelf -a busybox | grep ABI

Best Regards,

Alan
___
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] [PATCH serial/mcf] Allow 4 ports

2010-03-18 Thread Philippe De Muyter
Hello Greg,

--

Fix driver/serial/mcf.c for 4-ports coldfire's (e.g. MCF5484).

Signed-off-by: Philippe De Muyter 

diff -r 32d9ad41adba linux-2.6.x/drivers/serial/mcf.c
--- a/linux-2.6.x/drivers/serial/mcf.c  Thu Mar 18 11:26:13 2010 +0100
+++ b/linux-2.6.x/drivers/serial/mcf.c  Thu Mar 18 11:28:45 2010 +0100
@@ -443,7 +445,7 @@
.verify_port= mcf_verify_port,
 };
 
-static struct mcf_uart mcf_ports[3];
+static struct mcf_uart mcf_ports[4];
 
 #defineMCF_MAXPORTSARRAY_SIZE(mcf_ports)
 
___
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] [PATCH] : fix inetd.conf for CONFIG_USER_BUSYBOX_TELNETD

2010-03-18 Thread Philippe De Muyter
Hello Greg,

When choosing standalone telnetd, /etc/inetd.conf is automatically filled
with a rule for telnetd.  When choosing busybox's telnetd, that was not done.
Here is a fix.

Philippe

--- a/user/busybox/install-romfs.sh 2005-07-28 04:19:00.0 +0200
+++ b/user/busybox/install-romfs.sh 2010-03-16 21:44:57.0 +0100
@@ -78,4 +78,7 @@
 fi
 done
 
+romfs-inst.sh -e CONFIG_USER_BUSYBOX_TELNETD \
+   -a "telnet  stream tcp nowait root /bin/telnetd" /etc/inetd.conf
+
 exit 0
___
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