From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 10:08:30 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mCBq-0007jr-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 10:08:30 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 98D1215E13; Mon,  1 May 2000 11:07:29 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154879AbQEAI7I>;
	Mon, 1 May 2000 04:59:08 -0400
Received: by vger.rutgers.edu id <S154901AbQEAI67>;
	Mon, 1 May 2000 04:58:59 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:3540 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S154879AbQEAI6n>; Mon, 1 May 2000 04:58:43 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id LAA22396; Mon, 1 May 2000 11:06:16 +0200 (MET DST)
Message-Id: <200005010906.LAA22396@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: stephen@kerofin.demon.co.uk
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Can't compile a 2.2.14 kernel
In-Reply-To: <80f250b749.stephen@kerofin.demon.co.uk>
Organization: Eric conspiracy secret labs
Date:	Mon May 01 11:06:14 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Sun, 30 Apr 2000 12:04:40 +0100, Stephen Watson wrote:
> In that finely crafted message
> <200004291832.TAA02171@raistlin.arm.linux.org.uk>
>          Russell King - ARM Linux Admin <linux@arm.linux.org.uk> wrote::
>> You cannot use this compiler to compile the kernel - it must be a compiler
>> capable of the ELF extensions (eg, gcc 2.8 or egcs).
> 
> I suspected that might be the case.  I'm now downloading 2.95.2 but is there
> anything else I will need?

Yes, see http://www.lart.tudelft.nl/lartware/compile-tools/ for all
necessary components. Follow Chris Rutter's description (link on the same
page), and it will work straight out of the box.


Erik

-- 
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."
  -- Duncan Simpson on BugTraq




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 10:49:51 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mCpr-00081a-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 10:49:51 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C839615E1E; Mon,  1 May 2000 11:49:53 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154901AbQEAJli>;
	Mon, 1 May 2000 05:41:38 -0400
Received: by vger.rutgers.edu id <S154879AbQEAJlb>;
	Mon, 1 May 2000 05:41:31 -0400
Received: from natmail2.webmailer.de ([192.67.198.65]:44596 "EHLO
	post.webmailer.de") by vger.rutgers.edu with ESMTP
	id <S154981AbQEAJlJ>; Mon, 1 May 2000 05:41:09 -0400
Received: from callisto.local (dialin87.pg12.hamburg.nikoma.de [213.54.51.87])
	by post.webmailer.de (8.9.3/8.8.7) with ESMTP id LAA28063;
	Mon, 1 May 2000 11:48:42 +0200 (MET DST)
Received: from localhost (robert@localhost [127.0.0.1])
	by callisto.local (8.9.3/8.8.8) with ESMTP id LAA08672;
	Mon, 1 May 2000 11:49:32 +0200
Date:	Mon, 1 May 2000 11:49:32 +0200 (CEST)
From: Robert Schwebel <robert@schwebel.de>
X-Sender: robert@callisto.local
Reply-To: robert@schwebel.de
To: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: ARM/PCI system?
In-Reply-To: <200003170001.BAA17049@duteinh.et.tudelft.nl>
Message-ID: <Pine.LNX.4.21.0005011147490.418-100000@callisto.local>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi Erik!

Sorry for not answering your mail for such a long time, but it somhow
disappeared in my huge inbox ;-)

On Fri, 17 Mar 2000, Erik Mouw wrote:
> I don't know about a PC/104 board, but what about a two chip solution:
> SA-110 StrongARM CPU + 21285 North Bridge? 

It's a nice solution, but the 21285 needs a lot of power, which is not
good for mobile data loggers...

Thank you for the hint!

Robert
-- 
 +----------------------------------------------------------------------+
 I Dipl.-Ing. Robert Schwebel, Luedemannstrasse 25, 24114 Kiel, Germany I
 I Phone +49-431-6794138 Fax +49-431-6794139 email: robert@schwebel.de  I
 +----------------------------------------------------------------------+


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 15:41:45 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mHOL-0001WL-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 15:41:45 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6615515D44; Mon,  1 May 2000 16:41:48 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154762AbQEAOdb>;
	Mon, 1 May 2000 10:33:31 -0400
Received: by vger.rutgers.edu id <S155019AbQEAOdM>;
	Mon, 1 May 2000 10:33:12 -0400
Received: from [202.141.26.182] ([202.141.26.182]:16489 "EHLO
	agasthya.ee.iitm.ernet.in") by vger.rutgers.edu with ESMTP
	id <S154762AbQEAOdG>; Mon, 1 May 2000 10:33:06 -0400
Received: from localhost (ee96162@localhost)
	by agasthya.ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id TAA10234
	for <linux-arm@vger.rutgers.edu>; Mon, 1 May 2000 19:52:16 +0530
X-Authentication-Warning: agasthya.ee.iitm.ernet.in: ee96162 owned process doing -bs
Date:	Mon, 1 May 2000 19:52:16 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: linux-arm@vger.rutgers.edu
Subject: Re: BIOS and RISC-OS for 7500FE
In-Reply-To: <Pine.LNX.4.04.10005011946100.10001-100000@agasthya.ee.iitm.ernet.in>
Message-ID: <Pine.LNX.4.04.10005011952080.10001-100000@agasthya.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello, I want to port Linux to ARM 7500FE Board. Where do I get the BIOS
Code for it and the how to compile the kernel for this?

-Lavu Sridhar



Regards,
Lavu Sridhar	

 ---------------------------------------------------------------------
			Have a nice time!
 ---------------------------------------------------------------------
   ee96162@ee.iitm.ernet.in		lavu30@yahoo.com
   Room 210, Saraswathi Hostel		IIT -Madras, Chennai 600036
 ---------------------------------------------------------------------



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 15:47:04 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mHTU-0001Z0-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 15:47:04 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id DB93115DDE; Mon,  1 May 2000 16:47:07 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155028AbQEAOiW>;
	Mon, 1 May 2000 10:38:22 -0400
Received: by vger.rutgers.edu id <S154762AbQEAOiK>;
	Mon, 1 May 2000 10:38:10 -0400
Received: from crl.dec.com ([192.58.206.2]:1636 "EHLO crl.dec.com")
	by vger.rutgers.edu with ESMTP id <S155046AbQEAOg0>;
	Mon, 1 May 2000 10:36:26 -0400
Received: from crlwebmail.crl.dec.com (crlwebmail.crl.dec.com [16.11.0.2])
	by crl.dec.com (8.8.8/RWD-1.2) with ESMTP id KAA12096;
	Mon, 1 May 2000 10:40:21 -0400 (EDT)
Received: by CRLWEBMAIL with Internet Mail Service (5.5.2650.21)
	id <20427DLV>; Mon, 1 May 2000 10:44:35 -0400
Message-ID: <D1674834F25BD3118B3208002BB90CD450DCD0@yen.crl.dec.com>
From: George France <france@crl.dec.com>
To: "'robert@schwebel.de'" <robert@schwebel.de>,
	Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: ARM/PCI system?
Date:	Mon, 1 May 2000 10:40:55 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

It all depends upon, what you call a lot of power, and the mclk frequency of
the 21285.

--George

-----Original Message-----
From: Robert Schwebel [mailto:robert@schwebel.de]
Sent: Monday, May 01, 2000 5:50 AM
To: Erik Mouw
Cc: linux-arm@vger.rutgers.edu
Subject: Re: ARM/PCI system?


Hi Erik!

Sorry for not answering your mail for such a long time, but it somhow
disappeared in my huge inbox ;-)

On Fri, 17 Mar 2000, Erik Mouw wrote:
> I don't know about a PC/104 board, but what about a two chip solution:
> SA-110 StrongARM CPU + 21285 North Bridge? 

It's a nice solution, but the 21285 needs a lot of power, which is not
good for mobile data loggers...

Thank you for the hint!

Robert
-- 
 +----------------------------------------------------------------------+
 I Dipl.-Ing. Robert Schwebel, Luedemannstrasse 25, 24114 Kiel, Germany I
 I Phone +49-431-6794138 Fax +49-431-6794139 email: robert@schwebel.de  I
 +----------------------------------------------------------------------+


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for
++
++                        kernel-related discussions.
++

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 15:47:41 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mHU5-0001ZW-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 15:47:41 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 94DAC15E6F; Mon,  1 May 2000 16:47:45 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155046AbQEAOim>;
	Mon, 1 May 2000 10:38:42 -0400
Received: by vger.rutgers.edu id <S155032AbQEAOi0>;
	Mon, 1 May 2000 10:38:26 -0400
Received: from a1as13-p86.due.tli.de ([195.252.179.86]:61003 "HELO mezzo.net")
	by vger.rutgers.edu with SMTP id <S155073AbQEAOiM>;
	Mon, 1 May 2000 10:38:12 -0400
Received: from localhost (localhost [127.0.0.1])
	by mezzo.net (Postfix) with SMTP id 692AC230D8
	for <linux-arm@vger.rutgers.edu>; Mon,  1 May 2000 16:45:42 +0200 (MET DST)
Date:	Mon, 1 May 2000 16:45:42 +0200 (MET DST)
From: Peter =?ISO-8859-1?Q?K=F6llner?= <peter@mezzo.net>
Reply-To: Peter =?ISO-8859-1?Q?K=F6llner?= <peter@mezzo.net>
Subject: Re: Can't compile a 2.2.14 kernel
To: linux-arm@vger.rutgers.edu
MIME-Version: 1.0
Content-Type: MULTIPART/mixed; BOUNDARY=Drey_of_Squirrels_002_000
X-Mailer: dtmail 1.3.0 CDE Version 1.3 SunOS 5.7 sun4u sparc 
Message-Id: <20000501144542.692AC230D8@mezzo.net>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

--Drey_of_Squirrels_002_000
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: u5lldvGFwY4JVmaEA9aKQg==

Erik Mouw wrote:
> Yes, see http://www.lart.tudelft.nl/lartware/compile-tools/ for all
> necessary components. Follow Chris Rutter's description (link on the same
> page), and it will work straight out of the box.

i am downloading the binaries now after building from the sources failed.
i got binutils 2.9.5.0.31 and gcc-2.95.2 as well as all patches i could get my 
hands on. then i built on a i668-pc-linux-gnu host with target=arm-linux.
the compilation in gcc failed with assembler errors from 
./xgcc crtstuff.c with -DCRT_BEGIN and -DCRT_END: "out of range branch".
it looks like the compiler wrongly uses bl subroutine jumps if static 
functions are just a bit too far. to test that, i changed the order of 
functions in that file, and the compilation succeeded.
then i tried to compile something else and got lots of the same error.
so what patch would i need to get rid of that?

-- 
CANBOX Communications GmbH  - Peter Koellner - peter@mezzo.net
voicemail & fax via www.smartvia.de:      +49-441-80066-5042
phone +49 231 5865139                     mobile  +49 177 6490606

--Drey_of_Squirrels_002_000
Content-Type: TEXT/plain; name=errors; charset=us-ascii
Content-Description: errors
Content-MD5: LLSesvi/SVN54R+BIUV0xA==

make[3]: Entering directory `/usr/local/src/gcc-2.95.2/gcc'
/usr/local/src/gcc-2.95.2/gcc/xgcc -B/usr/local/src/gcc-2.95.2/gcc/ -B/usr/local/arm-linux/bin/ -I/usr/local/arm-linux/include -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include  -I. -I. -I./config -I./../include  -g0 \
  -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
  -c ./crtstuff.c -DCRT_BEGIN -o tcrtbegin.o
/tmp/ccWHlbLq.s: Assembler messages:
/tmp/ccWHlbLq.s:61: Error: out of range branch
make[3]: *** [tcrtbegin.o] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-2.95.2/gcc'
mv: tcrtbegin.o: No such file or directory
make[3]: Entering directory `/usr/local/src/gcc-2.95.2/gcc'
/usr/local/src/gcc-2.95.2/gcc/xgcc -B/usr/local/src/gcc-2.95.2/gcc/ -B/usr/local/arm-linux/bin/ -I/usr/local/arm-linux/include -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include  -I. -I. -I./config -I./../include  -g0 \
  -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
  -c ./crtstuff.c -DCRT_END -o tcrtend.o
/tmp/ccWMenxf.s: Assembler messages:
/tmp/ccWMenxf.s:37: Error: out of range branch
make[3]: *** [tcrtend.o] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-2.95.2/gcc'
mv: tcrtend.o: No such file or directory
make[2]: *** [stmp-multilib-sub] Error 1
make[2]: Leaving directory `/usr/local/src/gcc-2.95.2/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2

--Drey_of_Squirrels_002_000--

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 16:01:37 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mHhZ-0001fw-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 16:01:37 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7F64615E7C; Mon,  1 May 2000 17:01:40 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155173AbQEAOw7>;
	Mon, 1 May 2000 10:52:59 -0400
Received: by vger.rutgers.edu id <S155140AbQEAOtW>;
	Mon, 1 May 2000 10:49:22 -0400
Received: from crl.dec.com ([192.58.206.2]:1803 "EHLO crl.dec.com")
	by vger.rutgers.edu with ESMTP id <S155072AbQEAOsd> convert rfc822-to-8bit;
	Mon, 1 May 2000 10:48:33 -0400
Received: from crlwebmail.crl.dec.com (crlwebmail.crl.dec.com [16.11.0.2])
	by crl.dec.com (8.8.8/RWD-1.2) with ESMTP id KAA12928;
	Mon, 1 May 2000 10:56:08 -0400 (EDT)
Received: by CRLWEBMAIL with Internet Mail Service (5.5.2650.21)
	id <20427DM2>; Mon, 1 May 2000 11:00:24 -0400
Message-ID: <D1674834F25BD3118B3208002BB90CD450DCD2@yen.crl.dec.com>
From: George France <france@crl.dec.com>
To: =?iso-8859-1?Q?=27Peter_K=F6llner=27?= <peter@mezzo.net>,
	linux-arm@vger.rutgers.edu
Subject: RE: Can't compile a 2.2.14 kernel - REPOST
Date:	Mon, 1 May 2000 10:56:44 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello Peter;

There have been so many questions and problems on the mailing list about
building a Cross Tool Chain.  We have decided to post a 38 Mbyte binary
(executable) tar-ball here:

	
http://crl.research.compaq.com/projects/personalserver/sw_download.html

it is an arm-linux cross Tool Chain.  The Tool Chain is made up of:

 	binutils-2.9.5.0.22,
	gcc-2.95.2 - C, C++, f77, CHILL, java and objc.
 	glibc-2.1.2. with the International crypt library. 

The Tool Chain is compiled for a i386 host with an armv4l target. Armv4 =
the instructions set. 


Installation notes:

The Tool Chain must be installed in /skiff/local.  It will not work from any
other path.  

The only other problem that you may have with the include files is that the
tar ball was setup for Linux 2.2.14.  You may need to setup a symbolic links
for:

           ln -s /usr/src/linux/include/asm
/skiff/local/arm-linux/include/asm
           ln -s /usr/src/linux/include/linux
/skiff/local/arm-linux/include/linux

or you could copy the /usr/src/linux/include/asm and
/usr/src/linux/include/linux directories to the
/skiff/local/arm-linux/include.  Be certain that you have run 'make
menuconfig' or equivalent, then 'make dep'.  This will verify that your
kernel tree is up-to-date and the correct symbolic links are up-to-date.

This tool chain has glibc symbol versioning.  If you are using a netwinder,
you may have to compile your code with static libs.



If there is interest, we may make a binary i386 to Strong-ARM cross gdb
available for remote debugging.


--George


George France,      france@crl.dec.com
Cambridge Research Laboratory, Compaq Computer Corporation
One Kendall Square, Building 700     MS: CRL
Cambridge, MA 02139 USA




-----Original Message-----
From: Peter Köllner [mailto:peter@mezzo.net]
Sent: Monday, May 01, 2000 10:46 AM
To: linux-arm@vger.rutgers.edu
Subject: Re: Can't compile a 2.2.14 kernel


Erik Mouw wrote:
> Yes, see http://www.lart.tudelft.nl/lartware/compile-tools/ for all
> necessary components. Follow Chris Rutter's description (link on the same
> page), and it will work straight out of the box.

i am downloading the binaries now after building from the sources failed.
i got binutils 2.9.5.0.31 and gcc-2.95.2 as well as all patches i could get
my 
hands on. then i built on a i668-pc-linux-gnu host with target=arm-linux.
the compilation in gcc failed with assembler errors from 
./xgcc crtstuff.c with -DCRT_BEGIN and -DCRT_END: "out of range branch".
it looks like the compiler wrongly uses bl subroutine jumps if static 
functions are just a bit too far. to test that, i changed the order of 
functions in that file, and the compilation succeeded.
then i tried to compile something else and got lots of the same error.
so what patch would i need to get rid of that?

-- 
CANBOX Communications GmbH  - Peter Koellner - peter@mezzo.net
voicemail & fax via www.smartvia.de:      +49-441-80066-5042
phone +49 231 5865139                     mobile  +49 177 6490606

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 16:03:39 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mHjX-0001gd-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 16:03:39 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 3EBCB15E7E; Mon,  1 May 2000 17:03:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155046AbQEAOzB>;
	Mon, 1 May 2000 10:55:01 -0400
Received: by vger.rutgers.edu id <S155141AbQEAOxP>;
	Mon, 1 May 2000 10:53:15 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:3809 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155133AbQEAOuy>; Mon, 1 May 2000 10:50:54 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id QAA24507; Mon, 1 May 2000 16:58:15 +0200 (MET DST)
Message-Id: <200005011458.QAA24507@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: peter@mezzo.net
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Can't compile a 2.2.14 kernel
In-Reply-To: <20000501144542.692AC230D8@mezzo.net>
Organization: Eric conspiracy secret labs
Date:	Mon May 01 16:58:12 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Mon, 01 May 2000 16:45:42 +0200 (MET DST), Peter Köllner wrote:
> Erik Mouw wrote:
>> Yes, see http://www.lart.tudelft.nl/lartware/compile-tools/ for all
>> necessary components. Follow Chris Rutter's description (link on the same
>> page), and it will work straight out of the box.
> 
> i am downloading the binaries now after building from the sources failed.
> i got binutils 2.9.5.0.31 and gcc-2.95.2 as well as all patches i could get my 
                 ^^^^^^^^^^
That's a known bug. Don't use binutils-2.9.5.0.31.


Erik

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 17:07:23 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mIjD-00029Z-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 17:07:23 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 465D415EAE; Mon,  1 May 2000 18:07:26 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155057AbQEAP5x>;
	Mon, 1 May 2000 11:57:53 -0400
Received: by vger.rutgers.edu id <S155037AbQEAPyi>;
	Mon, 1 May 2000 11:54:38 -0400
Received: from a1as13-p86.due.tli.de ([195.252.179.86]:61011 "HELO mezzo.net")
	by vger.rutgers.edu with SMTP id <S155084AbQEAPu0>;
	Mon, 1 May 2000 11:50:26 -0400
Received: from localhost (localhost [127.0.0.1])
	by mezzo.net (Postfix) with SMTP id 04CC6230C9
	for <linux-arm@vger.rutgers.edu>; Mon,  1 May 2000 17:58:45 +0200 (MET DST)
Date:	Mon, 1 May 2000 17:58:45 +0200 (MET DST)
From: Peter =?ISO-8859-1?Q?K=F6llner?= <peter@mezzo.net>
Reply-To: Peter =?ISO-8859-1?Q?K=F6llner?= <peter@mezzo.net>
Subject: binutils (was: Re: Can't compile a 2.2.14 kernel)
To: linux-arm@vger.rutgers.edu
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: aCMOJtQpYjAbLvhRguk+Mw==
X-Mailer: dtmail 1.3.0 CDE Version 1.3 SunOS 5.7 sun4u sparc 
Message-Id: <20000501155846.04CC6230C9@mezzo.net>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Erik Mouw wrote:
> That's a known bug. Don't use binutils-2.9.5.0.31.

ok. i'll try that. i only found the 0.31 source as a complete tar file, but 
now i do a patch -R with the diff files down to .22 

(...)

ok. the compiler compiles. now i will do some tests. if it all works (i.e. i 
get a working 2.2 kernel running on the risc pc later), i will put the source 
archives complete with all patches applied, to my webpage.

-- 
CANBOX Communications GmbH  - Peter Koellner - peter@mezzo.net
voicemail & fax via www.smartvia.de:      +49-441-80066-5042
phone +49 231 5865139                     mobile  +49 177 6490606



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 17:07:32 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mIjM-00029i-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 17:07:32 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4843515EAF; Mon,  1 May 2000 18:07:35 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155037AbQEAP5y>;
	Mon, 1 May 2000 11:57:54 -0400
Received: by vger.rutgers.edu id <S155056AbQEAPyt>;
	Mon, 1 May 2000 11:54:49 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:1096 "EHLO
	kings-cross.london.uk.eu.org") by vger.rutgers.edu with ESMTP
	id <S155150AbQEAPvk>; Mon, 1 May 2000 11:51:40 -0400
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12mJI7-0000Ei-00; Mon, 01 May 2000 17:43:27 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: ee96162@ee.iitm.ernet.in
Cc: linux-arm@vger.rutgers.edu
Subject: Re: BIOS and RISC-OS for 7500FE 
In-Reply-To: Message from Lavu Sridhar <ee96162@ee.iitm.ernet.in> 
   of "Mon, 01 May 2000 19:52:16 +0530." <Pine.LNX.4.04.10005011952080.10001-100000@agasthya.ee.iitm.ernet.in> 
References: <Pine.LNX.4.04.10005011952080.10001-100000@agasthya.ee.iitm.ernet.in> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Mon, 01 May 2000 17:43:27 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12mJI7-0000Ei-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>Hello, I want to port Linux to ARM 7500FE Board. Where do I get the BIOS
>Code for it and the how to compile the kernel for this?

Compiling the kernel for 7500 is just the same as any other platform.  I don't 
know of any BIOS.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 21:43:51 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mN2l-0004eZ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 21:43:51 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 093E215EDE; Mon,  1 May 2000 22:43:45 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154762AbQEAUej>;
	Mon, 1 May 2000 16:34:39 -0400
Received: by vger.rutgers.edu id <S155155AbQEAUeZ>;
	Mon, 1 May 2000 16:34:25 -0400
Received: from blazie.com ([207.97.93.2]:20759 "EHLO blazie.com")
	by vger.rutgers.edu with ESMTP id <S155131AbQEAUcv>;
	Mon, 1 May 2000 16:32:51 -0400
Received: from localhost (localhost [127.0.0.1])
	by blazie.com (8.9.2/8.8.7) with ESMTP id QAA28376;
	Mon, 1 May 2000 16:40:39 -0400 (EDT)
Date:	Mon, 1 May 2000 16:40:39 -0400 (EDT)
From: Chris Blazie <chris@blazie.com>
To: Jeff Sutherland <jsutherland@accelent.com>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: SA1110 kernel problems
In-Reply-To: <B1F74F3AD483D2119F80004005A199480591D2@SERVER01>
Message-ID: <Pine.LNX.4.04.10005011529090.25310-100000@blazie.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Mon, 1 May 2000, Jeff Sutherland wrote:

> should be 16 (0x10).  Make sure the processor ID check is using the right
> values (0x6901b11x) and not 44xxxxxx (The SA1100 id).  Once you get to

	Okay, I verified that; it's definitely correct.

> decompress_kernel() you should be pretty much out of the woods.  Things that

	I get to decompress_kernel() now IF I comment out the mcr
instruction in cache_on that writes to the MMU control register.  After a
pause (but no messages from decompress_kernel) execution does get to
head-armv.S.  But it stops again in __ret when the MMU is turned on.

> type; 4. determine where to put the decompressed kernel image.

	R5 is 0xc0008000 going in, looks right.

	At this point I'm ready to believe we do have a memory timing
problem.  Or maybe it's the A0-step cpu, although I couldn't find anything
obvious in the SA-1110 errata for these early chips.

	Thanks for the help so far!

Regards,
Chris


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 22:34:06 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mNpO-00051M-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 22:34:06 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0400A15EFE; Mon,  1 May 2000 23:34:10 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155252AbQEAVUO>;
	Mon, 1 May 2000 17:20:14 -0400
Received: by vger.rutgers.edu id <S155157AbQEAVTB>;
	Mon, 1 May 2000 17:19:01 -0400
Received: from flatpanels.com ([207.196.69.66]:4567 "EHLO
	ADSServer.flatpanels.com") by vger.rutgers.edu with ESMTP
	id <S155163AbQEAVQu>; Mon, 1 May 2000 17:16:50 -0400
Received: by flatpanels.com with Internet Mail Service (5.5.2650.21)
	id <JZ0H3QJ6>; Mon, 1 May 2000 17:20:23 -0400
Message-ID: <91B07CA588CED3118CFE00105AC97594D1A7@flatpanels.com>
From: "Saxena, Nikita" <NSaxena@flatpanels.com>
To: "'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: Socket handling...
Date:	Mon, 1 May 2000 17:20:20 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hi everyone,

I was wondering if anyone knew of any problems handling sockets under Linux
2.3.35 running on a StrongARM platform.  I have a file (compiled with 'gcc
-static namedsock.c -o namedsock' or
'arm-linux-gcc etc') doesn't complain under Red Hat but blows up when run
on the arm with a "socket: Invalid argument" error.

Does anyone have any suggestions?

Thanks,
Nikita Saxena


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 22:35:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mNqQ-00051f-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 22:35:11 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BD45D15EF1; Mon,  1 May 2000 23:35:14 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155357AbQEAVZQ>;
	Mon, 1 May 2000 17:25:16 -0400
Received: by vger.rutgers.edu id <S155213AbQEAVTT>;
	Mon, 1 May 2000 17:19:19 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:1176
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155153AbQEAVQ7>; Mon, 1 May 2000 17:16:59 -0400
Date:	Mon, 1 May 2000 17:24:51 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Chris Blazie <chris@blazie.com>
Cc: Jeff Sutherland <jsutherland@accelent.com>,
	linux-arm@vger.rutgers.edu
Subject: RE: SA1110 kernel problems
In-Reply-To: <Pine.LNX.4.04.10005011529090.25310-100000@blazie.com>
Message-ID: <Pine.LNX.4.10.10005011720130.14099-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Mon, 1 May 2000, Chris Blazie wrote:

> 	I get to decompress_kernel() now IF I comment out the mcr
> instruction in cache_on that writes to the MMU control register.  After a
> pause (but no messages from decompress_kernel) execution does get to
> head-armv.S.  But it stops again in __ret when the MMU is turned on.

You could try enabling the MMU, but without any caches turned on (it's
somewhere in linux/arch/arm/mm/proc-sa110.S I think).  It'll be real slow
but this will help you tell if it's a timing issue.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 22:36:32 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mNrk-000520-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 22:36:32 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BD90815F00; Mon,  1 May 2000 23:36:35 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155209AbQEAV1g>;
	Mon, 1 May 2000 17:27:36 -0400
Received: by vger.rutgers.edu id <S155233AbQEAV0Z>;
	Mon, 1 May 2000 17:26:25 -0400
Received: from flatpanels.com ([207.196.69.66]:4588 "EHLO
	ADSServer.flatpanels.com") by vger.rutgers.edu with ESMTP
	id <S155295AbQEAVXV>; Mon, 1 May 2000 17:23:21 -0400
Received: by flatpanels.com with Internet Mail Service (5.5.2650.21)
	id <JZ0H3QKA>; Mon, 1 May 2000 17:26:49 -0400
Message-ID: <91B07CA588CED3118CFE00105AC97594D1A9@flatpanels.com>
From: "Saxena, Nikita" <NSaxena@flatpanels.com>
To: "'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: Socket handling...
Date:	Mon, 1 May 2000 17:26:44 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hi everyone,

I was wondering if anyone knew of any problems handling sockets under Linux
2.3.35 running on a StrongARM platform.  I have a file (compiled with 'gcc
-static namedsock.c -o namedsock' or
'arm-linux-gcc etc') doesn't complain under Red Hat but blows up when run
on the arm with a "socket: Invalid argument" error.

Does anyone have any suggestions?

Thanks,
Nikita Saxena


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 01 23:45:23 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mOwN-0005bc-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 01 May 2000 23:45:23 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4D43315F1D; Tue,  2 May 2000 00:45:26 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155283AbQEAWgX>;
	Mon, 1 May 2000 18:36:23 -0400
Received: by vger.rutgers.edu id <S155175AbQEAWdO>;
	Mon, 1 May 2000 18:33:14 -0400
Received: from p10-robin-gui.tch.enablis.net ([194.168.180.70]:1894 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155111AbQEAWbh>; Mon, 1 May 2000 18:31:37 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id XAA15878;
	Mon, 1 May 2000 23:31:18 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id XAA04132;
	Mon, 1 May 2000 23:31:02 +0100
Message-Id: <200005012231.XAA04132@raistlin.arm.linux.org.uk>
Subject: Re: Socket handling...
To: NSaxena@flatpanels.com (Saxena, Nikita)
Date:	Mon, 1 May 2000 23:31:01 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu ('linux-arm@vger.rutgers.edu')
In-Reply-To: <91B07CA588CED3118CFE00105AC97594D1A9@flatpanels.com> from "Saxena, Nikita" at May 01, 2000 05:26:44 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Saxena, Nikita writes:
> I was wondering if anyone knew of any problems handling sockets under Linux
> 2.3.35 running on a StrongARM platform.  I have a file (compiled with 'gcc
> -static namedsock.c -o namedsock' or
> 'arm-linux-gcc etc') doesn't complain under Red Hat but blows up when run
> on the arm with a "socket: Invalid argument" error.

Not as far as I am aware of.  2.3.35 was a long time ago however.  Can you try
a later kernel?  2.3.99's shouldn't be a problem in this area.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 02 10:18:38 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mYpC-0000bF-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 02 May 2000 10:18:38 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2A9B715D4F; Tue,  2 May 2000 11:18:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155019AbQEBJKJ>;
	Tue, 2 May 2000 05:10:09 -0400
Received: by vger.rutgers.edu id <S155254AbQEBJKB>;
	Tue, 2 May 2000 05:10:01 -0400
Received: from [194.201.77.34] ([194.201.77.34]:45490 "HELO
	fw-maid.maidenhead.arm.com") by vger.rutgers.edu with SMTP
	id <S155019AbQEBJJl>; Tue, 2 May 2000 05:09:41 -0400
Received: by fw-maid.maidenhead.arm.com; id KAA04691; Tue, 2 May 2000 10:15:13 +0100
Received: from unknown(192.168.2.10) by fw-maid.maidenhead.arm.com via smap (V5.0)
	id xma004681; Tue, 2 May 00 10:15:02 +0100
Received: from arm.com (dhcp2 [192.168.2.232])
	by mhsun1.maidenhead.arm.com (8.9.3/8.9.3) with ESMTP id KAA06879;
	Tue, 2 May 2000 10:17:21 +0100 (BST)
Message-ID: <390EA6C9.B7209F6C@arm.com>
Date:	Tue, 02 May 2000 10:58:34 +0100
From: David Rusling <david.rusling@arm.com>
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Cc: Chris Blazie <chris@blazie.com>, linux-arm@vger.rutgers.edu
Subject: Re: booting kernel on SA1110
References: <200004272001.VAA02515@raistlin.arm.linux.org.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Lots of folks have given sage advice already but from my experience of booting
SA-1100 based systems, here's my contribution:

[1] Turning off the I and D caches (and write buffer) in proc-sa110.S is
a _good_ thing.

[2] If you're booting via angel, you may not be in the right mode, interrupts
may be enabled and you may be not be in supervisor mode.   You can, if
you have an ARM toolkit (SDT/ADS) step through the early code
(in head-armv.S) - right up until the first (temporary) page tables are
set up.   You cannot step through the first page table set up but what helps
me is that in our angel ports we usually map the SA-1100's memory to
0x0000.0000 and it's physical address 0xC000.0000.    That 0xC000.0000
is very handy.

[3] I always enable enough IO space (in head-armv.S) to light leds.  This
way I can tell where I am in the boot sequence.   Once you get past setup.c
(mostly a case of recognising the CPU correctly), the MMU setup is
the hardest bit.   I use mm-armv.c and include a table.   Getting through
MMU setup is straight forward (although I have been terminally confused
here myself).

[3a] There's a gotcha in the memory initialisation.   You need to set up
the initial page tables so that 0xC000.0000 is the physical address of
the base of memory and NOT 0x0000.0000 (sorry, this is SA-1100
only).   Look at mm/mm-rpc.c in init_dram_banks() - it's the line
current->tss.memmap = __virt_to_phys().   Otherwise, once you have
booted, when the idle task cuts in, it will crash.

[4] On both ports that I've done (Integrator and Prospector), I've
mapped the IO areas into (0xF000.0000 OR (IO-addr>>4)).
This is not the same as Nico has done (I need to merge my SA-1100
stuff with his) but it does give a nice logical way of mapping this
stuff accurately.   Chip/system designers love having lots of locations
for a few registers!

[5] I've used a very simple serial driver so that console messages come
out easily (polled).    Consoles are wierd - Linux uses the first console
registered during the boot but quite which device that is when /sbin/init
runs depends on your file system (what does /dev/console point to?).
I use /dev/console as character device 5,1.

[6] Go serial only with the SA-1100 (in the kernel configuration).

[7] My init process comes from Pocket Linux and is statically linked.
It's easier that way to get a basic system going.

[8] I use the LEDs to show the idle task running and the timer tick
going off.

Dave


Russell King - ARM Linux Admin wrote:

> Chris Blazie writes:
> > mcr     p15, 0, r0, c1, c0
> >
> >       At this point r0 = 0xc000517d; mmu, write buffer, and all caches
> > on.  Is all of that really supposed to happen here?  Or is r0 getting
> > incorrectly set in __create_page_tables?
>
> Yep.  r0 looks 100% correct.
>
> >       I remember someone else reporting a freeze when the MMU is
> > switched on (SA1110 also).  Any ideas?
>
> How are you debugging this?  If you're using a debugger, then I can
> imagine you loosing control of the debugger at this point.
>    _____
>   |_____| ------------------------------------------------- ---+---+-
>   |   |        Russell King       linux@arm.linux.org.uk      --- ---
>   | | | |            http://www.arm.linux.org.uk/            /  /  |
>   | +-+-+                                                     --- -+-
>   /   |               THE developer of ARM Linux              |+| /|\
>  /  | | |                                                     ---  |
>     +-+-+ -------------------------------------------------  /\\\  |
>
> unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
> ++                        kernel-related discussions.                      ++

--
----------------------------------------------------------------------
David A Rusling   Consulting Engineer
    ARM Limited
    Liberty House,
    Moorbridge Road,
    Maidenhead, SL6 8LT

    Tel: UK-(0)1628-427754
    Fax: UK-(0)1628-780551
    e-mail: david.rusling@arm.com
----------------------------------------------------------------------



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 02 10:51:00 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mZKW-0000lJ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 02 May 2000 10:51:00 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 64D1915D5A; Tue,  2 May 2000 11:51:04 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155239AbQEBJmb>;
	Tue, 2 May 2000 05:42:31 -0400
Received: by vger.rutgers.edu id <S155019AbQEBJmN>;
	Tue, 2 May 2000 05:42:13 -0400
Received: from mail.trd.iii.org.tw ([140.92.12.252]:3856 "HELO
	mail.trd.iii.org.tw") by vger.rutgers.edu with SMTP
	id <S154733AbQEBJmF>; Tue, 2 May 2000 05:42:05 -0400
Received: (qmail 21250 invoked from network); 2 May 2000 09:27:22 -0000
Received: from unknown (HELO Moya) (140.92.12.219)
  by mail.trd.iii.org.tw with SMTP; 2 May 2000 09:27:22 -0000
Message-ID: <00a501bfb419$3c35bcc0$db0c5c8c@Moya.trd.iii.org.tw>
Reply-To: "Moya" <ghyu@iii.org.tw>
From: "Moya" <ghyu@iii.org.tw>
To: "Gally, Jerry" <jerry.gally@intel.com>,
	<linux-arm@vger.rutgers.edu>
Subject: Re: ARM assembly syntax for gcc
Date:	Tue, 2 May 2000 17:31:45 +0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>Newbie noise:  where can I find documentation on gcc's ARM assembly syntax
?

    try this....
    hope this help...

http://www.redhat.com/support/manuals/gnupro99r1/6_embed/embARM.html


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 02 17:48:16 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mfqJ-0003tX-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 02 May 2000 17:48:16 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 47EDE15D6C; Tue,  2 May 2000 18:48:20 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155328AbQEBQji>;
	Tue, 2 May 2000 12:39:38 -0400
Received: by vger.rutgers.edu id <S154772AbQEBQjU>;
	Tue, 2 May 2000 12:39:20 -0400
Received: from mail-blue.research.att.com ([135.207.30.102]:1822 "HELO
	mail-blue.research.att.com") by vger.rutgers.edu with SMTP
	id <S155143AbQEBQjB>; Tue, 2 May 2000 12:39:01 -0400
Received: from hermes.research.att.com (hermes.research.att.com [135.207.16.38])
	by mail-blue.research.att.com (Postfix) with ESMTP id 7F0A34CE11
	for <linux-arm@vger.rutgers.edu>; Tue,  2 May 2000 12:47:01 -0400 (EDT)
Received: from research.att.com (lute [135.207.27.49])
	by hermes.research.att.com (8.8.7/8.8.7) with ESMTP id MAA25570
	for <linux-arm@vger.rutgers.edu>; Tue, 2 May 2000 12:46:49 -0400 (EDT)
Message-ID: <390F05FE.827726E6@research.att.com>
Date:	Tue, 02 May 2000 12:44:46 -0400
From: Jack Chang <tcc@research.att.com>
Organization: AT&T Labs-Research
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: Re: audio driver
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Can anyone point me to the audio driver for Intel SA-1110  development
board? Thanks
-Jack

--
====== Jack T. Chang
AT&T Laboratories - Research
URL:http://www.research.att.com/info/tcc



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 02 18:44:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mgig-0004Mq-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 02 May 2000 18:44:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 352C815EEB; Tue,  2 May 2000 19:44:32 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155361AbQEBRfP>;
	Tue, 2 May 2000 13:35:15 -0400
Received: by vger.rutgers.edu id <S155446AbQEBRcH>;
	Tue, 2 May 2000 13:32:07 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:1893
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155436AbQEBR3X>; Tue, 2 May 2000 13:29:23 -0400
Date:	Tue, 2 May 2000 13:38:08 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Jack Chang <tcc@research.att.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: audio driver
In-Reply-To: <390F05FE.827726E6@research.att.com>
Message-ID: <Pine.LNX.4.10.10005021337360.16573-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Tue, 2 May 2000, Jack Chang wrote:

> Can anyone point me to the audio driver for Intel SA-1110  development
> board? Thanks

There is none.   I'm actually writing it.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 02 23:32:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mlDO-000821-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 02 May 2000 23:32:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7667A15DD3; Wed,  3 May 2000 00:32:26 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155636AbQEBWUK>;
	Tue, 2 May 2000 18:20:10 -0400
Received: by vger.rutgers.edu id <S155423AbQEBWMN>;
	Tue, 2 May 2000 18:12:13 -0400
Received: from H-135-207-30-103.research.att.com ([135.207.30.103]:1879 "HELO
	mail-green.research.att.com") by vger.rutgers.edu with SMTP
	id <S155435AbQEBWLA>; Tue, 2 May 2000 18:11:00 -0400
Received: from hermes.research.att.com (hermes.research.att.com [135.207.16.38])
	by mail-green.research.att.com (Postfix) with ESMTP
	id 5A1D31E02E; Tue,  2 May 2000 18:18:55 -0400 (EDT)
Received: from gliss.research.att.com (gliss [135.207.17.204])
	by hermes.research.att.com (8.8.7/8.8.7) with ESMTP id SAA03725;
	Tue, 2 May 2000 18:18:44 -0400 (EDT)
Received: (tcc@localhost) by gliss.research.att.com (940816.SGI.8.6.9/8.6.4) id WAA05576; Tue, 2 May 2000 22:40:06 GMT
Date:	Tue, 2 May 2000 22:40:06 GMT
From: "Jack T.C. Chang" <tcc@research.att.com>
Message-Id: <200005022240.WAA05576@gliss.research.att.com>
To: Nicolas Pitre <nico@cam.org>
Subject: Re: downloading kernel (SA1110)
Cc: linux-arm@vger.rutgers.edu
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Thanks for your reply, but I can't find "linux/Documentation/arm/SA1100/Assabet"
anywhere. Also, could the problem be the Angelboot monitor on board?

Thanks again,
_jack

>> Hi, I try to download the image to SA-1110 dev. board the same way
>> for SA-1100 board using angelboot, but I got error message:
>> "Received 1d when expecting start packet character"
>> Did I do anything wrong?
>
>It should work the same way with maybe slight parameter differences.  See
>linux/Documentation/arm/SA1100/Assabet for details.
>
>
>Nicolas
 _____________________________________________
|                                             |
|   Jack T. Chang         		      |
|   FP A007, (973)360-8217                    |
|   Email: tcc@research.att.com	              |
|   URL: http://www.research.att.com/info/tcc |
|_____________________________________________|

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 02 23:55:46 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mlZy-0008El-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 02 May 2000 23:55:46 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1BF1615DF5; Wed,  3 May 2000 00:55:48 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155493AbQEBWm4>;
	Tue, 2 May 2000 18:42:56 -0400
Received: by vger.rutgers.edu id <S156084AbQEBWlh>;
	Tue, 2 May 2000 18:41:37 -0400
Received: from p35-robin-gui.tch.enablis.net ([194.168.180.95]:3182 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155493AbQEBWc2>; Tue, 2 May 2000 18:32:28 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id XAA20514;
	Tue, 2 May 2000 23:40:26 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id XAA01327;
	Tue, 2 May 2000 23:40:06 +0100
Message-Id: <200005022240.XAA01327@raistlin.arm.linux.org.uk>
Subject: Re: downloading kernel (SA1110)
To: tcc@research.att.com (Jack T.C. Chang)
Date:	Tue, 2 May 2000 23:40:05 +0100 (BST)
Cc: nico@cam.org (Nicolas Pitre), linux-arm@vger.rutgers.edu
In-Reply-To: <200005022240.WAA05576@gliss.research.att.com> from "Jack T.C. Chang" at May 02, 2000 10:40:06 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Jack T.C. Chang writes:
> Thanks for your reply, but I can't find "linux/Documentation/arm/SA1100/Assabet"
> anywhere. Also, could the problem be the Angelboot monitor on board?

You probably want an up to date kernel with Nico's patches applied.

	Kernel    : ftp.*.kernel.org/pub/linux/kernel/v2.3
	ARM patch : ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.3
	Nico patch: ftp.netwinder.org/users/n/nico

I'm sure Nico will correct me if I get his address wrong.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 01:45:34 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mnIE-0000Tj-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 01:45:34 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id E1C2A15E22; Wed,  3 May 2000 02:45:38 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155363AbQECAgO>;
	Tue, 2 May 2000 20:36:14 -0400
Received: by vger.rutgers.edu id <S155406AbQECAgI>;
	Tue, 2 May 2000 20:36:08 -0400
Received: from thalia.fm.intel.com ([132.233.247.11]:3996 "EHLO
	thalia.fm.intel.com") by vger.rutgers.edu with ESMTP
	id <S155374AbQECAfz>; Tue, 2 May 2000 20:35:55 -0400
Received: from SMTP (fmsmsxvs04-1.fm.intel.com [132.233.42.204])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.22 2000/04/06 17:58:51 dmccart Exp $) with SMTP id AAA27038
	for <linux-arm@vger.rutgers.edu>; Wed, 3 May 2000 00:44:33 GMT
Received: from fmsmsx26.fm.intel.com ([132.233.48.26]) by 132.233.48.204
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Wed, 03 May 2000 00:43:45 0000 (GMT)
Received: by fmsmsx26.fm.intel.com with Internet Mail Service (5.5.2448.0)
	id <KFH1ZP9P>; Tue, 2 May 2000 17:43:10 -0700
Message-ID: <3D33CF40366DD111AC4100A0C96B22AC0870B458@fmsmsx34.fm.intel.com>
From: "Naik, Uday" <uday.naik@intel.com>
To: linux-arm@vger.rutgers.edu
Subject: undefined instruction problem
Date:	Tue, 2 May 2000 17:43:09 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On my ixp1200 system (sa1100 + ...), I am now
running linux-2.3.99-pre3 with the patches 
2.3.99-pre3-rmk3 and pre3-rmk3-np2. 

It does fine until the /sbin/init is run. I am using the
ramdisk from nico's site. I get a number of 
pc: undefined instruction always at the addresses
0x4004be04 and 0x400105b4. I tried replacing the 
/sbin/init with just bash. I see the bash prompt,
but get the same undefined instructions at the same
addresses. I wrote a small infinite loop hello world
program, and that seems to work fine. 

Any ideas on how to debug this ?? It looks like the 
page table for the process is messed up. 

I have tried to keep my ixp1200 port very very close
to the SA1100 port. One thing I did have to do was to
replace the serial driver with a serial driver modified
from 21285 which seemed a lot cleaner. Otherwise, I 
would get to the /sbin/init and just hang.

Thanks

uday

---

All opinions expressed are mine and do not reflect those of my employer.




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 06:31:45 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mrlB-00026t-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 06:31:45 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4B28015E79; Wed,  3 May 2000 07:31:51 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154786AbQECFW6>;
	Wed, 3 May 2000 01:22:58 -0400
Received: by vger.rutgers.edu id <S154947AbQECFWj>;
	Wed, 3 May 2000 01:22:39 -0400
Received: from p53-cordelia-gui.tch.enablis.net ([212.250.233.53]:3269 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S154786AbQECFWd>; Wed, 3 May 2000 01:22:33 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id TAA19532;
	Tue, 2 May 2000 19:54:35 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id TAA00540;
	Tue, 2 May 2000 19:54:17 +0100
Message-Id: <200005021854.TAA00540@raistlin.arm.linux.org.uk>
Subject: Re: booting kernel on SA1110
To: david.rusling@arm.com (David Rusling)
Date:	Tue, 2 May 2000 19:54:17 +0100 (BST)
Cc: chris@blazie.com (Chris Blazie), linux-arm@vger.rutgers.edu
In-Reply-To: <390EA6C9.B7209F6C@arm.com> from "David Rusling" at May 02, 2000 10:58:34 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

David Rusling writes:
> [1] Turning off the I and D caches (and write buffer) in proc-sa110.S is
> a _good_ thing.

In 2.3, if you believe that some post-boot D cache or write buffer behaviour is
causing problems, you can disable these by supplying a kernel parameter.

> [3] I always enable enough IO space (in head-armv.S) to light leds.  This
> way I can tell where I am in the boot sequence.   Once you get past setup.c
> (mostly a case of recognising the CPU correctly), the MMU setup is
> the hardest bit.   I use mm-armv.c and include a table.   Getting through
> MMU setup is straight forward (although I have been terminally confused
> here myself).

This is now the only way to do it in 2.3.  You just supply the relevent
table describing the mapping you desire, and the generic code takes care
of actually setting it up.

> [3a] There's a gotcha in the memory initialisation.   You need to set up
> the initial page tables so that 0xC000.0000 is the physical address of
> the base of memory and NOT 0x0000.0000 (sorry, this is SA-1100
> only).   Look at mm/mm-rpc.c in init_dram_banks() - it's the line
> current->tss.memmap = __virt_to_phys().   Otherwise, once you have
> booted, when the idle task cuts in, it will crash.

This no longer applies in 2.3 - it's all handled automagically.

> [5] I've used a very simple serial driver so that console messages come
> out easily (polled).    Consoles are wierd - Linux uses the first console
> registered during the boot but quite which device that is when /sbin/init
> runs depends on your file system (what does /dev/console point to?).
> I use /dev/console as character device 5,1.

/dev/console should always be character device 5,1, as specified by the
Filesystem Hierarchy Standard, and the authoritive device registration
document included with the Linux kernel.  Anything else is just broken
and will not work as expected.

In that case, the device which turns out to be the console can be controlled
by using the "console=" kernel parameter.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 08:23:07 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mtUx-0002kN-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 08:23:07 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0D68915DA0; Wed,  3 May 2000 09:23:14 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155023AbQECHKZ>;
	Wed, 3 May 2000 03:10:25 -0400
Received: by vger.rutgers.edu id <S155030AbQECHCC>;
	Wed, 3 May 2000 03:02:02 -0400
Received: from p53-cordelia-gui.tch.enablis.net ([212.250.233.53]:3319 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S154999AbQECG71>; Wed, 3 May 2000 02:59:27 -0400
Received: from flint.arm.linux.org.uk (root@flint [192.168.0.4])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id HAA21733;
	Wed, 3 May 2000 07:13:38 +0100
Received: (from linux@localhost)
	by flint.arm.linux.org.uk (8.9.3/8.9.3) id HAA16075;
	Wed, 3 May 2000 07:07:38 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Message-Id: <200005030607.HAA16075@flint.arm.linux.org.uk>
Subject: Re: undefined instruction problem
To: uday.naik@intel.com (Naik, Uday)
Date:	Wed, 3 May 2000 07:07:37 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <3D33CF40366DD111AC4100A0C96B22AC0870B458@fmsmsx34.fm.intel.com> from "Naik, Uday" at May 02, 2000 05:43:09 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Naik, Uday writes:
> Any ideas on how to debug this ?? It looks like the 
> page table for the process is messed up. 

How did you diagnose this?

> I have tried to keep my ixp1200 port very very close
> to the SA1100 port. One thing I did have to do was to
> replace the serial driver with a serial driver modified
> from 21285 which seemed a lot cleaner. Otherwise, I 
> would get to the /sbin/init and just hang.

The 21285 northbridge serial driver is not a drop-in replacement for
the SA1100 serial driver.  Do you have a 21285 chip in this system?

PS, this really belongs on linux-arm-kernel@lists.arm.linux.org.uk,
as per the footer line on every message on this (linux-arm) list.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 11:20:58 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mwH4-0003vM-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 11:20:58 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6D02015E44; Wed,  3 May 2000 12:18:39 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155416AbQECKIv>;
	Wed, 3 May 2000 06:08:51 -0400
Received: by vger.rutgers.edu id <S155368AbQECKIg>;
	Wed, 3 May 2000 06:08:36 -0400
Received: from lakdiva.slt.lk ([204.143.96.17]:63673 "EHLO lakdiva.slt.lk")
	by vger.rutgers.edu with ESMTP id <S155416AbQECKGL>;
	Wed, 3 May 2000 06:06:11 -0400
Received: from obelix.atpos.lk ([203.115.31.220])
	by lakdiva.slt.lk (8.9.1b+Sun/8.9.1) with ESMTP id QAA15364
	for <linux-arm@vger.rutgers.edu>; Wed, 3 May 2000 16:12:28 -0600 (GMT)
Received: from sri.atpos.com (192.1.1.105 [192.1.1.105]) by obelix.atpos.lk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id J66MYNM7; Wed, 3 May 2000 16:06:38 +0600
Message-ID: <390FFB31.27B2C5E@sri.atpos.com>
Date:	Wed, 03 May 2000 16:10:57 +0600
From: Nandana <nkuruwitage@sri.atpos.com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14-15mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Cross-compiling libc5 to arm-linux
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi,

Has anybody tried to cross-compile  libc5 library ( not glibc ) on to
linux-arm flatform.
Is it possible at all.
Any idea about current status of development of this library.

(My concern is the memory foot print of glibc and libc it seems that
libc is fairly smaller than glibc.
I also tried newlib  but it doesn't have theard support.)

Nandana



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 12:18:32 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mxAm-0004Fq-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 12:18:32 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id E929A15EB3; Wed,  3 May 2000 13:18:37 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155476AbQECKow>;
	Wed, 3 May 2000 06:44:52 -0400
Received: by vger.rutgers.edu id <S155439AbQECKod>;
	Wed, 3 May 2000 06:44:33 -0400
Received: from smtp.phc.net ([209.133.96.11]:56158 "EHLO phc.net")
	by vger.rutgers.edu with ESMTP id <S155464AbQECKoU>;
	Wed, 3 May 2000 06:44:20 -0400
Received: from portalplayer.com (196.12.45.68) by phc.net with ESMTP (Eudora
 Internet Mail Server 2.2.2); Wed, 3 May 2000 03:54:50 -0700
Message-ID: <39100662.8B198DE3@portalplayer.com>
Date:	Wed, 03 May 2000 16:28:42 +0530
From: Srinivas <srinu@portalplayer.com>
Organization: Portalplayer Pvt. Ltd.
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: Linux for Dual processor environment
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi there,

             I have plans to put Linux on our own ASIC (consists of dual
ARM processors). Is the ARM linux suitable for my purpose?.. Somebody
evinced
interested in working this area also. Comments are welcome


regards
srinu


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 14:31:47 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mzFj-0004sa-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 14:31:47 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4E49B15D79; Wed,  3 May 2000 15:30:41 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155384AbQECNUh>;
	Wed, 3 May 2000 09:20:37 -0400
Received: by vger.rutgers.edu id <S155374AbQECNU3>;
	Wed, 3 May 2000 09:20:29 -0400
Received: from nexus.carleton.ca ([134.117.76.10]:3062 "EHLO nexus.carleton.ca")
	by vger.rutgers.edu with ESMTP id <S155453AbQECNS6>;
	Wed, 3 May 2000 09:18:58 -0400
Received: from localhost (stewart@localhost)
	by nexus.carleton.ca (8.9.3/8.9.3) with ESMTP id JAA14285;
	Wed, 3 May 2000 09:26:02 -0400
Date:	Wed, 3 May 2000 09:26:02 -0400 (EDT)
From: Rod Stewart <stewart@nexus.carleton.ca>
To: Nandana <nkuruwitage@sri.atpos.com>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: Cross-compiling libc5 to arm-linux
In-Reply-To: <390FFB31.27B2C5E@sri.atpos.com>
Message-ID: <Pine.LNX.4.10.10005030921440.14253-100000@nexus.carleton.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


On Wed, 3 May 2000, Nandana wrote:

> Has anybody tried to cross-compile  libc5 library ( not glibc ) on to
> linux-arm flatform.
> Is it possible at all.
> Any idea about current status of development of this library.

I don't believe libc5 was ever supported on ARM Linux, you would have to
port it.  It went from libc4 to libc6 for ARM Linux.

As to it's status of development: it is dead.  No one is actively
supporting (aside from a few legacy systems perhaphs).

> (My concern is the memory foot print of glibc and libc it seems that
> libc is fairly smaller than glibc.
> I also tried newlib  but it doesn't have theard support.)

Have you tried just using the linuxthreads part from glibc?  It will most
likely involve some work.

-Rms


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 15:08:09 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12mzov-00057F-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 15:08:09 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7887015D62; Wed,  3 May 2000 16:08:14 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155294AbQECNzv>;
	Wed, 3 May 2000 09:55:51 -0400
Received: by vger.rutgers.edu id <S155261AbQECNzd>;
	Wed, 3 May 2000 09:55:33 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:2563
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155384AbQECNzV>; Wed, 3 May 2000 09:55:21 -0400
Date:	Wed, 3 May 2000 10:04:26 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: "Jack T.C. Chang" <tcc@research.att.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: downloading kernel (SA1110)
In-Reply-To: <200005022240.WAA05576@gliss.research.att.com>
Message-ID: <Pine.LNX.4.10.10005031000420.18723-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Tue, 2 May 2000, Jack T.C. Chang wrote:

> Thanks for your reply, but I can't find "linux/Documentation/arm/SA1100/Assabet"
> anywhere. 

It's in the kernel source tree after you patch it with the latest SA1100
patch available from ftp.netwinder.org/users/n/nico.

> Also, could the problem be the Angelboot monitor on board?

No.  But the angelboot utility might make a difference.  On the same site
above you'll find two version of it.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 17:26:35 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12n1yt-00069q-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 17:26:35 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id DA29615D92; Wed,  3 May 2000 18:26:33 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155374AbQECQJF>;
	Wed, 3 May 2000 12:09:05 -0400
Received: by vger.rutgers.edu id <S155576AbQECQAo>;
	Wed, 3 May 2000 12:00:44 -0400
Received: from [194.216.164.17] ([194.216.164.17]:1142 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155374AbQECP6x>; Wed, 3 May 2000 11:58:53 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2])
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12n2kv-0003rG-00
	for linux-arm@vger.rutgers.edu; Wed, 03 May 2000 17:16:13 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12n1gF-0002q4-00; Wed, 03 May 2000 17:07:19 +0100
Received: from localhost ([127.0.0.1] helo=fountain.labs.futuretv.com)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12n1gF-0003Os-00; Wed, 03 May 2000 17:07:19 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: Nandana <nkuruwitage@sri.atpos.com>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: Cross-compiling libc5 to arm-linux 
In-Reply-To: Message from Nandana <nkuruwitage@sri.atpos.com> 
   of "Wed, 03 May 2000 16:10:57 +0600." <390FFB31.27B2C5E@sri.atpos.com> 
References: <390FFB31.27B2C5E@sri.atpos.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Wed, 03 May 2000 17:07:19 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12n1gF-0003Os-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <390FFB31.27B2C5E@sri.atpos.com>, Nandana writes:
>Has anybody tried to cross-compile  libc5 library ( not glibc ) on to
>linux-arm flatform.
>Is it possible at all.

Not without some porting effort.  I think this would be a waste of time.  You 
would do better to invest your work in reducing the footprint of glibc if this 
is important to you.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 19:56:02 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12n4JW-0007MD-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 19:56:02 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 86C2B15DCB; Wed,  3 May 2000 20:55:30 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155920AbQECSYr>;
	Wed, 3 May 2000 14:24:47 -0400
Received: by vger.rutgers.edu id <S155938AbQECR5l>;
	Wed, 3 May 2000 13:57:41 -0400
Received: from ice.fiftyone.com ([208.225.80.11]:3773 "EHLO ice.fiftyone.com")
	by vger.rutgers.edu with ESMTP id <S156125AbQECRrk>;
	Wed, 3 May 2000 13:47:40 -0400
Received: from server01.asi (akron-80-156.ar51.net [208.225.80.156])
	by ice.fiftyone.com (8.9.3/8.8.7) with ESMTP id NAA11387;
	Wed, 3 May 2000 13:43:22 -0400
Received: by SERVER01 with Internet Mail Service (5.5.2448.0)
	id <JSPRCXTJ>; Wed, 3 May 2000 13:43:07 -0400
Message-ID: <B1F74F3AD483D2119F80004005A199480591DB@SERVER01>
From: Jeff Sutherland <jsutherland@accelent.com>
To: "'Philip Blundell'" <pb@labs.futuretv.com>,
	"'Nandana'" <nkuruwitage@sri.atpos.com>
Cc: "'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: RE: Cross-compiling libc5 to arm-linux 
Date:	Wed, 3 May 2000 13:43:07 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> In message <390FFB31.27B2C5E@sri.atpos.com>, Nandana writes:
> >Has anybody tried to cross-compile  libc5 library ( not glibc ) on to
> >linux-arm flatform.
> >Is it possible at all.
> 
> Not without some porting effort.  I think this would be a 
> waste of time.  You 
> would do better to invest your work in reducing the footprint 
> of glibc if this 
> is important to you.
> 
> p.

Agreed.  BTW, for those interested in minimizing file sizes, I've found that
many of the Makefiles in the GNU sources run gcc with the -g switch
(debugging) turned on.  If you have no need to debug library routines or are
preparing production releases, be sure to turn this off.  It will make a
dramatic difference in the size of your executables.

//Jeff

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 20:56:38 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12n5GA-0007f2-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 20:56:38 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0134515DC8; Wed,  3 May 2000 21:56:11 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155567AbQECTkw>;
	Wed, 3 May 2000 15:40:52 -0400
Received: by vger.rutgers.edu id <S155604AbQECTXY>;
	Wed, 3 May 2000 15:23:24 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:2948
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S156176AbQECS4q>; Wed, 3 May 2000 14:56:46 -0400
Date:	Wed, 3 May 2000 15:02:47 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Jeff Sutherland <jsutherland@accelent.com>
Cc: "'Philip Blundell'" <pb@labs.futuretv.com>,
	"'Nandana'" <nkuruwitage@sri.atpos.com>,
	"'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: RE: Cross-compiling libc5 to arm-linux 
In-Reply-To: <B1F74F3AD483D2119F80004005A199480591DB@SERVER01>
Message-ID: <Pine.LNX.4.10.10005031500420.18991-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Wed, 3 May 2000, Jeff Sutherland wrote:

> > In message <390FFB31.27B2C5E@sri.atpos.com>, Nandana writes:
> > >Has anybody tried to cross-compile  libc5 library ( not glibc ) on to
> > >linux-arm flatform.
> > >Is it possible at all.
> > 
> > Not without some porting effort.  I think this would be a 
> > waste of time.  You 
> > would do better to invest your work in reducing the footprint 
> > of glibc if this 
> > is important to you.
> > 
> > p.
> 
> Agreed.  BTW, for those interested in minimizing file sizes, I've found that
> many of the Makefiles in the GNU sources run gcc with the -g switch
> (debugging) turned on.  If you have no need to debug library routines or are
> preparing production releases, be sure to turn this off.  It will make a
> dramatic difference in the size of your executables.

Alternately you can 'strip' the resulting libraries which is probably
simpler to do.



Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 21:26:35 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12n5j9-0007tx-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 21:26:35 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 5101A15DCF; Wed,  3 May 2000 22:26:41 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155608AbQECUHa>;
	Wed, 3 May 2000 16:07:30 -0400
Received: by vger.rutgers.edu id <S156136AbQECTqW>;
	Wed, 3 May 2000 15:46:22 -0400
Received: from ice.fiftyone.com ([208.225.80.11]:4093 "EHLO ice.fiftyone.com")
	by vger.rutgers.edu with ESMTP id <S156132AbQECTcr>;
	Wed, 3 May 2000 15:32:47 -0400
Received: from server01.asi (akron-80-156.ar51.net [208.225.80.156])
	by ice.fiftyone.com (8.9.3/8.8.7) with ESMTP id PAA18646;
	Wed, 3 May 2000 15:42:00 -0400
Received: by SERVER01 with Internet Mail Service (5.5.2448.0)
	id <JSPRCXTM>; Wed, 3 May 2000 15:41:45 -0400
Message-ID: <B1F74F3AD483D2119F80004005A199480591DD@SERVER01>
From: Jeff Sutherland <jsutherland@accelent.com>
To: "'Nicolas Pitre'" <nico@cam.org>
Cc: "'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: RE: Cross-compiling libc5 to arm-linux 
Date:	Wed, 3 May 2000 15:41:41 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> BTW, for those interested in minimizing file 
> sizes, I've found that
> > many of the Makefiles in the GNU sources run gcc with the -g switch
> > (debugging) turned on.  If you have no need to debug 
> library routines or are
> > preparing production releases, be sure to turn this off.  
> It will make a
> > dramatic difference in the size of your executables.
> 
> Alternately you can 'strip' the resulting libraries which is probably
> simpler to do.
>
> Nicolas

Of course.  "arm-linux-strip --strip-unneeded -o <outfile> <infile>" has
pretty much the same effect after the fact as removing the -g switch to gcc
beforehand.  Just don't get carried away and do  a --strip-all (at least not
for your apps :)

//Jeff
 

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 21:47:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12n63K-00087r-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 21:47:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2F6ED15DCB; Wed,  3 May 2000 22:47:30 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155596AbQECUYi>;
	Wed, 3 May 2000 16:24:38 -0400
Received: by vger.rutgers.edu id <S156076AbQECULs>;
	Wed, 3 May 2000 16:11:48 -0400
Received: from nexus.carleton.ca ([134.117.76.10]:3717 "EHLO nexus.carleton.ca")
	by vger.rutgers.edu with ESMTP id <S156097AbQECT7E>;
	Wed, 3 May 2000 15:59:04 -0400
Received: from localhost (stewart@localhost)
	by nexus.carleton.ca (8.9.3/8.9.3) with ESMTP id QAA18768;
	Wed, 3 May 2000 16:06:27 -0400
Date:	Wed, 3 May 2000 16:06:27 -0400 (EDT)
From: Rod Stewart <stewart@nexus.carleton.ca>
To: Jeff Sutherland <jsutherland@accelent.com>
Cc: "'Nandana'" <nkuruwitage@sri.atpos.com>,
	"'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: RE: Cross-compiling libc5 to arm-linux 
In-Reply-To: <B1F74F3AD483D2119F80004005A199480591DB@SERVER01>
Message-ID: <Pine.LNX.4.10.10005031559500.18710-100000@nexus.carleton.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


On Wed, 3 May 2000, Jeff Sutherland wrote:
> 
> Agreed.  BTW, for those interested in minimizing file sizes, I've found that
> many of the Makefiles in the GNU sources run gcc with the -g switch
> (debugging) turned on.  If you have no need to debug library routines or are
> preparing production releases, be sure to turn this off.  It will make a
> dramatic difference in the size of your executables.

And if space is a really tight, you can build a non-versioned glibc.  Not
certain how much space this will save, but it should get you a few bytes
:)

-Rms


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 03 22:03:50 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12n6JC-0008Dt-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 03 May 2000 22:03:50 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4789315E10; Wed,  3 May 2000 23:03:56 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155448AbQECUl4>;
	Wed, 3 May 2000 16:41:56 -0400
Received: by vger.rutgers.edu id <S155603AbQECUa7>;
	Wed, 3 May 2000 16:30:59 -0400
Received: from irwell.zetnet.co.uk ([194.247.47.48]:4447 "EHLO
	irwell.zetnet.co.uk") by vger.rutgers.edu with ESMTP
	id <S155579AbQECUVB>; Wed, 3 May 2000 16:21:01 -0400
Received: from 10006851 (man-a051.dialup.zetnet.co.uk [194.247.44.51])
	by irwell.zetnet.co.uk (8.9.3/8.9.3/Debian/GNU) with SMTP id VAA21639
	for <linux-arm@vger.rutgers.edu>; Wed, 3 May 2000 21:29:20 +0100
X-Authentication-Warning: irwell.zetnet.co.uk: Host man-a051.dialup.zetnet.co.uk [194.247.44.51] claimed to be 10006851
Date:	Wed, 03 May 2000 21:28:05 +0100
From: Ken Paton <kenpaton@zetnet.co.uk>
To: linux-arm@vger.rutgers.edu
Subject: Error During File System Check
Message-ID: <3d910b949%kenpaton@n10006851.zetnet.co.uk>
X-Organization:	home
X-Mailer: Messenger v1.40b for RISC OS
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Posting-Agent: RISC OS Newsbase 0.61b
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi,

I have just managed to get Linux installed on my RiscPC, after many attempts.
I can now boot into Linux but during the startup it reports the following -
"An error occurred during the file system check, dropping you into a shell.
The system will re-boot when you leave the shell"

I can get into the root login from there, but it seems as if the entire hard
disk is read only which prevents me doing much more than that.

Can anyone suggest a solution for the above?
 
-- 
Ken Paton


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 03:38:33 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nBX7-0001Vp-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 03:38:33 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 668C215EB9; Thu,  4 May 2000 04:38:40 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155899AbQEDCH3>;
	Wed, 3 May 2000 22:07:29 -0400
Received: by vger.rutgers.edu id <S156026AbQEDBur>;
	Wed, 3 May 2000 21:50:47 -0400
Received: from [203.116.85.223] ([203.116.85.223]:5225 "EHLO cet.cet.st.com.sg")
	by vger.rutgers.edu with ESMTP id <S156529AbQEDBQb>;
	Wed, 3 May 2000 21:16:31 -0400
Received: from Nicodemus (cet.st.com.sg [10.66.18.164] (may be forged))
          by cet.cet.st.com.sg (2.6 Build 1 (Berkeley 8.8.6)/8.8.4) with SMTP
	  id JAA00075 for <linux-arm@vger.rutgers.edu>; Thu, 04 May 2000 09:23:52 +0800
Message-ID: <001401c43177$0a700800$a412420a@Nicodemus>
From: "Alan Chong" <chongsm@cet.st.com.sg>
To: "armLinux" <linux-arm@vger.rutgers.edu>
Subject: XWindow
Date:	Tue, 4 May 2004 09:28:01 +0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



Hi !!! Has anyone ever include XWindow codes into the kernel ???
I am given the task of doing it but don't know where to start.
Any advice is very much appreciated.

Thanks in advance

Alan Chong



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 04:30:31 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nCLP-0001uB-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 04:30:31 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 87BC915ED0; Thu,  4 May 2000 05:30:39 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155586AbQEDDMt>;
	Wed, 3 May 2000 23:12:49 -0400
Received: by vger.rutgers.edu id <S155595AbQEDDCc>;
	Wed, 3 May 2000 23:02:32 -0400
Received: from [202.30.128.201] ([202.30.128.201]:53907 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S156371AbQEDC2G>;
	Wed, 3 May 2000 22:28:06 -0400
Received: from yd01.hmec.co.kr ([192.168.129.11])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id LAA07943
	for <linux-arm@vger.rutgers.edu>; Thu, 4 May 2000 11:33:53 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id LAA13302 for <linux-arm@vger.rutgers.edu>; Thu, 4 May 2000 11:36:39 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: linux-arm@vger.rutgers.edu
Subject: Cross GDB questions
Date:	Thu, 4 May 2000 10:42:47 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
MIME-Version: 1.0
Message-Id: <00050411344502.04926@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello,

This is the first time to write email to this mailing list.
If you know how to solve my progblem, please let me know.

I'm currently porting "cross GDB&Angel" to our platform. The platform I'm using
is based on the ARM720 which is made by my company. 
I downloaded GDB (gdb+dejagnu-20000426) from sourceware.cygnus.com, and it is built after I added
some my codes. I already ported Angel debugging agent to our platform.

Now I have the following questions.

1. Register display
There is no command to show registers in the both GDB 4.18 and
gdb+dejagnu-20000426.
Even more, I  get general pupose register value only in the current mode.
For instance, the cpu is in USR32 mode, then I cannot get the register value in
FIQ mode.

So I added "show_regs()" function to get GP registers and CP15 registers.

But I wonder that there is a  patch code for this Register display.


2. next command, finish command

I place linux kernel image in RAM after I compiled linux kernel with -g -O
options.  There is already Angel Image in ROM started at 0. Most of gdb
commands are working fine.
But with next command, the program couldn't stop at the next line and keep
running. So I added some codes in "gdb/infrun.c:1872" for this problem as
follows.

Orignal code in gdb/infrun.c
   1866           {
   1867         /* This breakpoint matches--either it is the right
   1868            thread or it's a generic breakpoint for all threads.
   1869            Remember that we'll need to step just _this_ thread
   1870            on any following user continuation! */
   1871         thread_step_needed = 1;
   1872            }
My code
   1866           {
   1867         /* This breakpoint matches--either it is the right
   1868            thread or it's a generic breakpoint for all threads.
   1869            Remember that we'll need to step just _this_ thread
   1870            on any following user continuation! */
   1871         thread_step_needed = 1;
   1872         // by SAMI
   1873         if(step_resume_breakpoint != NULL && step_resume_breakpoint->address == stop_pc)
   1874             step_resume_breakpoint = NULL;
   1875           }

After fix like above, the next command is working fine so far.
The finish command doesn't work too. The linux kernel program doesn't stop
at next line in previous frame with the finish command.

In fact, i'm not an expert on complier and debugger, so I canbe wrong, and I
don't touch any code myself.
I just want to know  the way to figure out this problem.

3. Baudrate
With angel, I want to change baudare in runtime. Actually, there is
"set remotebaud" command, but it doesn't seems to work with angel.

Does anyone have solutions or  suggestions?



 -----------------------------------o00--(_)--00o-------    
Jungjun Kim       System Software Engineer                       Mobile-SOC
Team, Hyundai Electronics     Office) +82-2-3459-3205     FAX)   
+82-2-3459-5843                                                .oooO Oooo.    
mailto:sami@hmec.co.kr                     (   ) (   )
------------------------------------------------\ (---) /---------             
                                    \_) (_/

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 05:39:20 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nDQ0-0002X2-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 05:39:20 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A815215EF1; Thu,  4 May 2000 06:39:26 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155910AbQEDE3s>;
	Thu, 4 May 2000 00:29:48 -0400
Received: by vger.rutgers.edu id <S155053AbQEDE0C>;
	Thu, 4 May 2000 00:26:02 -0400
Received: from thalia.fm.intel.com ([132.233.247.11]:2361 "EHLO
	thalia.fm.intel.com") by vger.rutgers.edu with ESMTP
	id <S155453AbQEDEXo>; Thu, 4 May 2000 00:23:44 -0400
Received: from SMTP (fmsmsxvs04-1.fm.intel.com [132.233.42.204])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.22 2000/04/06 17:58:51 dmccart Exp $) with SMTP id EAA05823;
	Thu, 4 May 2000 04:32:26 GMT
Received: from fmsmsx26.fm.intel.com ([132.233.48.26]) by 132.233.48.204
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Thu, 04 May 2000 04:31:38 0000 (GMT)
Received: by fmsmsx26.fm.intel.com with Internet Mail Service (5.5.2448.0)
	id <KFH15WSZ>; Wed, 3 May 2000 21:31:37 -0700
Message-ID: <3D33CF40366DD111AC4100A0C96B22AC0870B45A@fmsmsx34.fm.intel.com>
From: "Naik, Uday" <uday.naik@intel.com>
To: "'Russell King - ARM Linux Admin'" <linux@arm.linux.org.uk>,
	"Naik, Uday" <uday.naik@intel.com>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: undefined instruction problem
Date:	Wed, 3 May 2000 21:31:34 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

After putting some printk's in the traps.c code, and printing out the
vm_area_struct's, it looks like the addresses where the undefined 
instructions are happening are in ld-2.1.2.so and libc-2.1.2.so. 

I looked at the ramdisk (ramdisk_img.gz from nico's site). The ld-2.1.2.so
and libc-2.1.2.so seem much smaller than the one's in my tools chain.
Have they been specially built for a small footprint ??

Any help would be highly appreciated. 

Also what is the format of the page table directory. If I print out memory 
at current->mm->pgd_t what is the format of the entries I should expect to
see.

Thanks

Uday

P.S: I only used the footbridge uart code as a sample and modified it for my
uart. It just seemed like a cleaner piece of code to work with.

---

All opinions expressed are mine and do not reflect those of my employer.




-----Original Message-----
From: Russell King - ARM Linux Admin [mailto:linux@arm.linux.org.uk]
Sent: Tuesday, May 02, 2000 11:08 PM
To: uday.naik@intel.com
Cc: linux-arm@vger.rutgers.edu
Subject: Re: undefined instruction problem


Naik, Uday writes:
> Any ideas on how to debug this ?? It looks like the 
> page table for the process is messed up. 

How did you diagnose this?

> I have tried to keep my ixp1200 port very very close
> to the SA1100 port. One thing I did have to do was to
> replace the serial driver with a serial driver modified
> from 21285 which seemed a lot cleaner. Otherwise, I 
> would get to the /sbin/init and just hang.

The 21285 northbridge serial driver is not a drop-in replacement for
the SA1100 serial driver.  Do you have a 21285 chip in this system?

PS, this really belongs on linux-arm-kernel@lists.arm.linux.org.uk,
as per the footer line on every message on this (linux-arm) list.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 09:04:15 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nGcJ-0003fB-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 09:04:15 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id F006015E34; Thu,  4 May 2000 10:04:18 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155633AbQEDHzB>;
	Thu, 4 May 2000 03:55:01 -0400
Received: by vger.rutgers.edu id <S155592AbQEDHyo>;
	Thu, 4 May 2000 03:54:44 -0400
Received: from [194.216.164.17] ([194.216.164.17]:1845 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S154760AbQEDHy0>; Thu, 4 May 2000 03:54:26 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2])
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12nHfu-0004WG-00
	for linux-arm@vger.rutgers.edu; Thu, 04 May 2000 09:12:02 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12nGb6-0005la-00; Thu, 04 May 2000 09:03:00 +0100
Received: from localhost ([127.0.0.1] helo=fountain.labs.futuretv.com)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12nGb5-0005Xi-00; Thu, 04 May 2000 09:02:59 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: "Alan Chong" <chongsm@cet.st.com.sg>
Cc: "armLinux" <linux-arm@vger.rutgers.edu>
Subject: Re: XWindow 
In-Reply-To: Message from "Alan Chong" <chongsm@cet.st.com.sg> 
   of "Tue, 04 May 2004 09:28:01 +0800." <001401c43177$0a700800$a412420a@Nicodemus> 
References: <001401c43177$0a700800$a412420a@Nicodemus> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Thu, 04 May 2000 09:02:59 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12nGb5-0005Xi-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <001401c43177$0a700800$a412420a@Nicodemus>, "Alan Chong" writes:
>Hi !!! Has anyone ever include XWindow codes into the kernel ???

I don't think so.  Why do you want to do this?

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 09:37:56 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nH8u-0003qs-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 09:37:56 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C313E15E23; Thu,  4 May 2000 10:38:04 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155913AbQEDI15>;
	Thu, 4 May 2000 04:27:57 -0400
Received: by vger.rutgers.edu id <S155923AbQEDI1k>;
	Thu, 4 May 2000 04:27:40 -0400
Received: from [203.116.85.223] ([203.116.85.223]:4078 "EHLO cet.cet.st.com.sg")
	by vger.rutgers.edu with ESMTP id <S155913AbQEDIZZ>;
	Thu, 4 May 2000 04:25:25 -0400
Received: from Nicodemus (cet.st.com.sg [10.66.18.164] (may be forged))
          by cet.cet.st.com.sg (2.6 Build 1 (Berkeley 8.8.6)/8.8.4) with SMTP
	  id QAA00639; Thu, 04 May 2000 16:32:52 +0800
Message-ID: <000a01c431b2$f8524f20$a412420a@Nicodemus>
From: "Alan Chong" <chongsm@cet.st.com.sg>
To: "Philip Blundell" <pb@labs.futuretv.com>
Cc: "armLinux" <linux-arm@vger.rutgers.edu>
Subject: Re: XWindow 
Date:	Tue, 4 May 2004 16:37:00 +0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I was given the task to run X on brutus board. Wonder where are all the x
window system source code located ???

With regards




-----Original Message-----
From: Philip Blundell <pb@labs.futuretv.com>
To: Alan Chong <chongsm@cet.st.com.sg>
Cc: armLinux <linux-arm@vger.rutgers.edu>
Date: Thursday, May 04, 2000 4:04 PM
Subject: Re: XWindow


>In message <001401c43177$0a700800$a412420a@Nicodemus>, "Alan Chong" writes:
>>Hi !!! Has anyone ever include XWindow codes into the kernel ???
>
>I don't think so.  Why do you want to do this?
>
>p.
>
>
>
>


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 09:41:54 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nHCk-0003sD-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 09:41:54 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6547715D48; Thu,  4 May 2000 10:41:58 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155636AbQEDIca>;
	Thu, 4 May 2000 04:32:30 -0400
Received: by vger.rutgers.edu id <S155633AbQEDIcY>;
	Thu, 4 May 2000 04:32:24 -0400
Received: from [194.216.164.17] ([194.216.164.17]:1899 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155895AbQEDIcJ>; Thu, 4 May 2000 04:32:09 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2] ident=mail)
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12nIGQ-0004Y2-00
	for linux-arm@vger.rutgers.edu; Thu, 04 May 2000 09:49:46 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com ident=mail)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12nHBl-00062R-00; Thu, 04 May 2000 09:40:53 +0100
Received: from localhost
	([127.0.0.1] helo=fountain.labs.futuretv.com ident=pb)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12nHBl-0005wl-00; Thu, 04 May 2000 09:40:53 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: "Alan Chong" <chongsm@cet.st.com.sg>
Cc: "armLinux" <linux-arm@vger.rutgers.edu>
Subject: Re: XWindow 
In-Reply-To: Message from "Alan Chong" <chongsm@cet.st.com.sg> 
   of "Tue, 04 May 2004 16:37:00 +0800." <000a01c431b2$f8524f20$a412420a@Nicodemus> 
References: <000a01c431b2$f8524f20$a412420a@Nicodemus> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Thu, 04 May 2000 09:40:52 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12nHBl-0005wl-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <000a01c431b2$f8524f20$a412420a@Nicodemus>, "Alan Chong" writes:
>I was given the task to run X on brutus board. Wonder where are all the x
>window system source code located ???

You don't need to put X into the kernel to run it on Brutus.  You just need to 
install the X packages from (say) Debian, and find a copy of the XF86_FBDev 
server.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 10:45:24 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nICC-0004Dr-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 10:45:24 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0A9C915D87; Thu,  4 May 2000 11:45:32 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155947AbQEDJfd>;
	Thu, 4 May 2000 05:35:33 -0400
Received: by vger.rutgers.edu id <S155938AbQEDJf1>;
	Thu, 4 May 2000 05:35:27 -0400
Received: from [202.141.26.181] ([202.141.26.181]:1352 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155917AbQEDJfD>;
	Thu, 4 May 2000 05:35:03 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id PAA15664
	for <linux-arm@vger.rutgers.edu>; Thu, 4 May 2000 15:17:19 +0530
Date:	Thu, 4 May 2000 15:17:19 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: linux-arm@vger.rutgers.edu
Subject: Binutils files
Message-ID: <Pine.LNX.4.10.10005041516090.15575-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Where can I get the Binutils 2.9.5 rpm file?
I am trying to compile the linux kernel 2.3.99 for ARM CL7500FE processor.

regs,
lavu


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 12:27:40 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nJn9-0004l7-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 12:27:39 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id F0A6715D69; Thu,  4 May 2000 13:27:47 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156076AbQEDLSG>;
	Thu, 4 May 2000 07:18:06 -0400
Received: by vger.rutgers.edu id <S156027AbQEDLR7>;
	Thu, 4 May 2000 07:17:59 -0400
Received: from aleph1.demon.co.uk ([158.152.9.127]:23536 "EHLO
	court2.aleph1.co.uk") by vger.rutgers.edu with ESMTP
	id <S156093AbQEDLRt>; Thu, 4 May 2000 07:17:49 -0400
Received: from chewy.aleph1.co.uk ([194.70.44.163])
	by court2.aleph1.co.uk with smtp (Exim 2.05 #1)
	id 12nJYZ-0007VA-00
	for linux-arm@vger.rutgers.edu; Thu, 4 May 2000 12:12:35 +0100
Date:	Thu, 4 May 2000 12:12:35 +0100 (BST)
From: Wookey <wookey@aleph1.co.uk>
Subject: Re: Error During File System Check
To: armlinux list <linux-arm@vger.rutgers.edu>
In-Reply-To: <3d910b949%kenpaton@n10006851.zetnet.co.uk>
Message-ID: <Marcel-1.50-0504111235-f7fh+Ty@chewy.aleph1.co.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
X-Organization:	Aleph One,Cambridge, UK. Tel +44 1223 811679
X-Mailer: ANT RISCOS Marcel [ver 1.50]
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Wed 03 May, Ken Paton wrote:
> Hi,
> 
> I have just managed to get Linux installed on my RiscPC, after many
> attempts. I can now boot into Linux but during the startup it reports
> the following - "An error occurred during the file system check,
> dropping you into a shell. The system will re-boot when you leave the
> shell"
> 
> I can get into the root login from there, but it seems as if the entire
> hard disk is read only which prevents me doing much more than that.

Yes. The root filesystem is mouted read-only to start with for the
filesystem check to go ahead safely. If this check goes OK then it
reamounts the filesystem read-write and continues booting. (this is all
standard Linux/Unix boot proceedure).

> Can anyone suggest a solution for the above?

Well, it depends exactly what has gone wrong. Which drive/partition are
you booting from?

You should be able to exit the shell with ctrl-D or 'logout' (although
this may just have you going round in circles if it always fails this
check). Worth a try.

To see what the machine is doing at this point look in the
/etc/rc.d/rc.sysinit script which is te one being executed. This will
show the remount command if you want to try that and see what happens.

fsck is the command for fixing filesystems so you should try runnig that
manually to get some info an what the problem is. man fsck gives details.

HTH

Wookey
-- 
Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK  Tel (00 44) 1223 811679
work: http://www.aleph1.co.uk/     play: http://www.chaos.org.uk/~wookey/


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 13:46:49 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nL1l-0005Hm-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 13:46:49 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6318415D7A; Thu,  4 May 2000 14:46:57 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156183AbQEDMgf>;
	Thu, 4 May 2000 08:36:35 -0400
Received: by vger.rutgers.edu id <S156167AbQEDMfg>;
	Thu, 4 May 2000 08:35:36 -0400
Received: from [202.141.26.181] ([202.141.26.181]:4632 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S156129AbQEDM1X>;
	Thu, 4 May 2000 08:27:23 -0400
Received: from localhost (ee96209@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id SAA24907
	for <linux-arm@vger.rutgers.edu>; Thu, 4 May 2000 18:09:22 +0530
Date:	Thu, 4 May 2000 18:09:21 +0530 (IST)
From: Vikas <ee96209@ee.iitm.ernet.in>
To: linux-arm@vger.rutgers.edu
Message-ID: <Pine.LNX.4.10.10005041805390.24439-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hi there !

I would like to know if anyone has experience in running linux on a
CL-PS7500FE based diskless board. If so, was the linux ported using SDT ?
Does it now work like a standalone board (with the Linux on a flash) ?

--Vikas



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 14:04:37 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nLIz-0005Uf-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 14:04:37 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id D157115D95; Thu,  4 May 2000 15:04:45 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156174AbQEDMyy>;
	Thu, 4 May 2000 08:54:54 -0400
Received: by vger.rutgers.edu id <S156167AbQEDMyl>;
	Thu, 4 May 2000 08:54:41 -0400
Received: from nexus.carleton.ca ([134.117.76.10]:3368 "EHLO nexus.carleton.ca")
	by vger.rutgers.edu with ESMTP id <S156181AbQEDMvy>;
	Thu, 4 May 2000 08:51:54 -0400
Received: from localhost (stewart@localhost)
	by nexus.carleton.ca (8.9.3/8.9.3) with ESMTP id JAA24195;
	Thu, 4 May 2000 09:00:07 -0400
Date:	Thu, 4 May 2000 09:00:06 -0400 (EDT)
From: Rod Stewart <stewart@nexus.carleton.ca>
To: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Binutils files
In-Reply-To: <Pine.LNX.4.10.10005041516090.15575-100000@volt.ee.iitm.ernet.in>
Message-ID: <Pine.LNX.4.10.10005040858450.24110-100000@nexus.carleton.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


On Thu, 4 May 2000, Lavu Sridhar wrote:

> Where can I get the Binutils 2.9.5 rpm file?
> I am trying to compile the linux kernel 2.3.99 for ARM CL7500FE processor.

ftp://ftp.valinux.com/pub/support/hjl/binutils/binutils-2.9.5.0.xx.tar.gz

Then you can do "rpm -ta binutils-2.9.5.0.xx.tar.gz" to build the rpms.

-Rms


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 17:33:18 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nOYw-0000Id-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 17:33:18 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 5FA2815E4B; Thu,  4 May 2000 18:33:27 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155080AbQEDP65>;
	Thu, 4 May 2000 11:58:57 -0400
Received: by vger.rutgers.edu id <S155927AbQEDPhn>;
	Thu, 4 May 2000 11:37:43 -0400
Received: from mail1.digital.com ([204.123.2.50]:4446 "EHLO mail1.digital.com")
	by vger.rutgers.edu with ESMTP id <S156225AbQEDPVF>;
	Thu, 4 May 2000 11:21:05 -0400
Received: from pachyderm.pa.dec.com (pachyderm.pa.dec.com [16.4.16.23])
	by mail1.digital.com (8.9.2/8.9.3/WV2.0h) with ESMTP id IAA31175;
	Thu, 4 May 2000 08:29:52 -0700 (PDT)
Received: by pachyderm.pa.dec.com; id IAA20658; Thu, 4 May 2000 08:29:43 -0700 (PDT)
Date:	Thu, 4 May 2000 08:29:43 -0700 (PDT)
From: jg@pa.dec.com (Jim Gettys)
Message-Id: <200005041529.IAA20658@pachyderm.pa.dec.com>
X-Mailer: Pachyderm (client volatile-28.crl.dec.com, user jg)
To: Alan Chong <chongsm@cet.st.com.sg>
Cc: Philip Blundell <pb@labs.futuretv.com>,
	armLinux <linux-arm@vger.rutgers.edu>
In-Reply-To: <000a01c431b2$f8524f20$a412420a@Nicodemus>
Subject: Re: XWindow
Mime-Version: 1.0
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Yes.  It has been tried once.  I told the guilty parties they were crazy,
but they tried anyway.  As I expected, disaster ensued.

It has been proven to be a very bad idea.  X in the kernel is a BIG mistake.

The CPU is the same speed in the kernel as in a user process: you gain
nothing, and generate major problems (e.g. memory management).

X already runs on Arm just fine: (on Itsy, and another device we have).

XFree86 4.0a (the current development snapshot available to members of 
the XFree86 project) will cross compile out of the box on the fbdev driver.  
I sent some patches in on 4.0 to aid in cross compiling that are in 4.0a.

Size of the executable is about 600Kbytes (700K with symbols): Keith 
Packard's new frame buffer code is MUCH smaller than the code that has 
been used in the past.

To join the XFree86 project, see their web site at www.xfree86.org.
				- Jim Gettys


> Sender: owner-linux-arm@vger.rutgers.edu
> From: "Alan Chong" <chongsm@cet.st.com.sg>
> Date: 	Tue, 4 May 2004 16:37:00 +0800
> To: "Philip Blundell" <pb@labs.futuretv.com>
> Cc: "armLinux" <linux-arm@vger.rutgers.edu>
> Subject: Re: XWindow
> -----
> I was given the task to run X on brutus board. Wonder where are all the x
> window system source code located ???
> 
> With regards
> 
> 
> -----Original Message-----
> From: Philip Blundell <pb@labs.futuretv.com>
> To: Alan Chong <chongsm@cet.st.com.sg>
> Cc: armLinux <linux-arm@vger.rutgers.edu>
> Date: Thursday, May 04, 2000 4:04 PM
> Subject: Re: XWindow
> 
> >In message <001401c43177$0a700800$a412420a@Nicodemus>, "Alan Chong" writes:
> >>Hi !!! Has anyone ever include XWindow codes into the kernel ???
> >
> >I don't think so.  Why do you want to do this?
> >
> >p.
> >
> >
> >
> >
> 
> 
> unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
> ++                        kernel-related discussions.                      ++

--
Jim Gettys
Technology and Corporate Development
Compaq Computer Corporation
jg@pa.dec.com


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 18:03:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nP1r-0000XZ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 18:03:11 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A630015DCE; Thu,  4 May 2000 19:03:19 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155080AbQEDQZX>;
	Thu, 4 May 2000 12:25:23 -0400
Received: by vger.rutgers.edu id <S155465AbQEDP7G>;
	Thu, 4 May 2000 11:59:06 -0400
Received: from p10-robin-gui.tch.enablis.net ([194.168.180.70]:4756 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S154991AbQEDPhk>; Thu, 4 May 2000 11:37:40 -0400
Received: from flint.arm.linux.org.uk (root@flint [192.168.0.4])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id JAA26780;
	Thu, 4 May 2000 09:03:42 +0100
Received: (from linux@localhost)
	by flint.arm.linux.org.uk (8.9.3/8.9.3) id IAA20512;
	Thu, 4 May 2000 08:57:32 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Message-Id: <200005040757.IAA20512@flint.arm.linux.org.uk>
Subject: Re: XWindow
To: chongsm@cet.st.com.sg (Alan Chong)
Date:	Thu, 4 May 2000 08:57:32 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu (armLinux)
In-Reply-To: <001401c43177$0a700800$a412420a@Nicodemus> from "Alan Chong" at May 04, 2004 09:28:01 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Alan Chong writes:
> Hi !!! Has anyone ever include XWindow codes into the kernel ???
> I am given the task of doing it but don't know where to start.
> Any advice is very much appreciated.

You're asking about integrating the X server code into the kernel?  That
would cause many problems.  For instance, any memory that the kernel allocates
can not be swapped out.  Since X tends to use a lot of memory, this would
mean that you could easily use a large unswappable chunk of memory.

Also, there is a security issue here - you could easily launch a denial-of-
service attack against that by causing the X server to allocate more and more
memory until the machine has no more memory available to allocate.

It's also against the traditional unix philosophy as well.

Why do you want to do such a strange thing?
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 20:30:41 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nRKb-0001vL-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 20:30:41 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BF4A715D75; Thu,  4 May 2000 21:30:49 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155009AbQEDSqm>;
	Thu, 4 May 2000 14:46:42 -0400
Received: by vger.rutgers.edu id <S155063AbQEDR7v>;
	Thu, 4 May 2000 13:59:51 -0400
Received: from [194.216.164.17] ([194.216.164.17]:3282 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155642AbQEDRVO>; Thu, 4 May 2000 13:21:14 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2] ident=mail)
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12nQWX-0005CT-00
	for linux-arm@vger.rutgers.edu; Thu, 04 May 2000 18:38:57 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com ident=mail)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12nPRm-0000H9-00; Thu, 04 May 2000 18:29:58 +0100
Received: from localhost
	([127.0.0.1] helo=fountain.labs.futuretv.com ident=pb)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12nPRl-0004TZ-00; Thu, 04 May 2000 18:29:57 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: ee96162@ee.iitm.ernet.in
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Binutils files 
In-Reply-To: Message from Lavu Sridhar <ee96162@ee.iitm.ernet.in> 
   of "Thu, 04 May 2000 15:17:19 +0530." <Pine.LNX.4.10.10005041516090.15575-100000@volt.ee.iitm.ernet.in> 
References: <Pine.LNX.4.10.10005041516090.15575-100000@volt.ee.iitm.ernet.in> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Thu, 04 May 2000 18:29:56 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12nPRl-0004TZ-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <Pine.LNX.4.10.10005041516090.15575-100000@volt.ee.iitm.ernet.in>, L
avu Sridhar writes:
>Where can I get the Binutils 2.9.5 rpm file?

I don't think there is one.  You have to compile it from source.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 20:47:31 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nRas-00024U-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 20:47:31 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 18DF815D64; Thu,  4 May 2000 21:47:38 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155046AbQEDSsY>;
	Thu, 4 May 2000 14:48:24 -0400
Received: by vger.rutgers.edu id <S155522AbQEDSOd>;
	Thu, 4 May 2000 14:14:33 -0400
Received: from mail1.digital.com ([204.123.2.50]:4544 "EHLO mail1.digital.com")
	by vger.rutgers.edu with ESMTP id <S156254AbQEDRmP>;
	Thu, 4 May 2000 13:42:15 -0400
Received: from pachyderm.pa.dec.com (pachyderm.pa.dec.com [16.4.16.23])
	by mail1.digital.com (8.9.2/8.9.3/WV2.0h) with ESMTP id KAA14484;
	Thu, 4 May 2000 10:51:10 -0700 (PDT)
Received: by pachyderm.pa.dec.com; id KAA00724; Thu, 4 May 2000 10:51:09 -0700 (PDT)
Date:	Thu, 4 May 2000 10:51:09 -0700 (PDT)
From: jg@pa.dec.com (Jim Gettys)
Message-Id: <200005041751.KAA00724@pachyderm.pa.dec.com>
X-Mailer: Pachyderm (client volatile-28.crl.dec.com, user jg)
To: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Cc: chongsm@cet.st.com.sg (Alan Chong),
	linux-arm@vger.rutgers.edu (armLinux)
In-Reply-To: <200005040757.IAA20512@flint.arm.linux.org.uk>
Subject: Re: XWindow
Mime-Version: 1.0
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Probably for the reason it got tried in the first place 13
years ago: a pointy haired manager thought it was a good
idea....
				- Jim
 
> Why do you want to do such a strange thing?
>    _____

--
Jim Gettys
Technology and Corporate Development
Compaq Computer Corporation
jg@pa.dec.com


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 21:38:54 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nSOc-00063c-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 21:38:54 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B740515D6A; Thu,  4 May 2000 22:39:03 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156352AbQEDTpx>;
	Thu, 4 May 2000 15:45:53 -0400
Received: by vger.rutgers.edu id <S155080AbQEDSuG>;
	Thu, 4 May 2000 14:50:06 -0400
Received: from mail6.svr.pol.co.uk ([195.92.193.212]:22597 "EHLO
	mail6.svr.pol.co.uk") by vger.rutgers.edu with ESMTP
	id <S156005AbQEDS2U>; Thu, 4 May 2000 14:28:20 -0400
Received: from modem-103.new-hampshire.dialup.pol.co.uk ([62.137.80.103] helo=freeserve)
	by mail6.svr.pol.co.uk with smtp (Exim 3.13 #0)
	id 12nQUc-0001vG-00
	for linux-arm@vger.rutgers.edu; Thu, 04 May 2000 19:37:01 +0100
Date:	Thu, 04 May 2000 19:33:00 +0100
From: Peter Naulls <peter@erble.freeserve.co.uk>
To: linux-arm@vger.rutgers.edu
Subject: Re: Error During File System Check
Message-ID: <475689b949%peter@erble.freeserve.co.uk>
In-Reply-To: <Marcel-1.50-0504111235-f7fh+Ty@chewy.aleph1.co.uk>
X-Mailer: Messenger v1.40f for RISC OS
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Posting-Agent: RISC OS Newsbase 0.60m
User-Agent: POPstar/2.02
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <Marcel-1.50-0504111235-f7fh+Ty@chewy.aleph1.co.uk>
          Wookey <wookey@aleph1.co.uk> wrote:

> > I have just managed to get Linux installed on my RiscPC, after many
> > attempts. I can now boot into Linux but during the startup it reports
> > the following - "An error occurred during the file system check,
> > dropping you into a shell. The system will re-boot when you leave the
> > shell"

> Yes. The root filesystem is mouted read-only to start with for the
> filesystem check to go ahead safely. If this check goes OK then it
> reamounts the filesystem read-write and continues booting. (this is all
> standard Linux/Unix boot proceedure).
> 
> > Can anyone suggest a solution for the above?

> fsck is the command for fixing filesystems so you should try runnig that
> manually to get some info an what the problem is. man fsck gives details.

Chances are either it's an fsck thing as wookey mentioned, or you have
something wrong in /etc/fstab (in particular, the swap entry).  You
should check that.

Peter

-- 
------------------------------------------------------------------------
 Peter Naulls - peter@erble.freeserve.co.uk
 Homepage - http://free.prohosting.com/~chocky/
 Java for RISC OS and ARM - http://free.prohosting.com/~chocky/java/
 Debian Linux on RiscPCs - http://www.erble.freeserve.co.uk/
------------------------------------------------------------------------

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 22:59:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nTeY-0007JS-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 22:59:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 53C8915D98; Thu,  4 May 2000 23:59:35 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155271AbQEDVCq>;
	Thu, 4 May 2000 17:02:46 -0400
Received: by vger.rutgers.edu id <S155315AbQEDT5s>;
	Thu, 4 May 2000 15:57:48 -0400
Received: from H-135-207-30-103.research.att.com ([135.207.30.103]:2904 "HELO
	mail-green.research.att.com") by vger.rutgers.edu with SMTP
	id <S155932AbQEDTM3>; Thu, 4 May 2000 15:12:29 -0400
Received: from hermes.research.att.com (hermes.research.att.com [135.207.16.38])
	by mail-green.research.att.com (Postfix) with ESMTP id B48D61E092
	for <linux-arm@vger.rutgers.edu>; Thu,  4 May 2000 15:21:29 -0400 (EDT)
Received: from research.att.com (tcc@dhcp227.research.att.com [135.207.28.227])
	by hermes.research.att.com (8.8.7/8.8.7) with ESMTP id PAA16051
	for <linux-arm@vger.rutgers.edu>; Thu, 4 May 2000 15:21:25 -0400 (EDT)
Message-ID: <3911CD50.AF08BA95@research.att.com>
Date:	Thu, 04 May 2000 15:19:44 -0400
From: "Jack T. Chang" <tcc@research.att.com>
Organization: AT&T Labs-Research
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-15mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: SA-1110 development board
Content-Type: multipart/alternative;
 boundary="------------4DD76A4C942AA67CC197F130"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


--------------4DD76A4C942AA67CC197F130
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Greetings.

Is there a step-by-step Linux configuration document to run Intel SA-1110

develelopment platform? Thanks

--

Jack T. Chang
URL: http://www.research.att.com/info/tcc



--------------4DD76A4C942AA67CC197F130
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

<pre>Greetings.</pre>

<pre>Is there a step-by-step Linux configuration document to run Intel SA-1110</pre>

<pre>develelopment platform? Thanks</pre>

<pre>--&nbsp;

Jack T. Chang&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
URL: <A HREF="http://www.research.att.com/info/tcc">http://www.research.att.com/info/tcc</A></pre>
&nbsp;</html>

--------------4DD76A4C942AA67CC197F130--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 04 23:18:12 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nTwi-0007ak-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 04 May 2000 23:18:12 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7BCAD15DAA; Fri,  5 May 2000 00:18:21 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155320AbQEDVDf>;
	Thu, 4 May 2000 17:03:35 -0400
Received: by vger.rutgers.edu id <S155362AbQEDT66>;
	Thu, 4 May 2000 15:58:58 -0400
Received: from [202.141.26.181] ([202.141.26.181]:1317 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S156092AbQEDTVO>;
	Thu, 4 May 2000 15:21:14 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id BAA24759
	for <linux-arm@vger.rutgers.edu>; Fri, 5 May 2000 01:01:08 +0530
Date:	Fri, 5 May 2000 01:01:08 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: linux-arm@vger.rutgers.edu
Subject: GCC Compiler for 7500FE
Message-ID: <Pine.LNX.4.10.10005050056150.24246-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello, 

I am having Cirrus Logic CL7500FE Evaluation Board to which I want to port
Linux. I am using the Arm-Linux kernel 2.3.99 from CVS Netwider and the
binutils 2.9.5.0.37. Where can I download the compiler for this kernel?

Regards,
Lavu Sridhar


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 00:27:10 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nV1S-0008JX-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 00:27:10 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 57E5615D45; Fri,  5 May 2000 01:27:19 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156663AbQEDWWM>;
	Thu, 4 May 2000 18:22:12 -0400
Received: by vger.rutgers.edu id <S154951AbQEDVDy>;
	Thu, 4 May 2000 17:03:54 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:3978
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155152AbQEDT73>; Thu, 4 May 2000 15:59:29 -0400
Date:	Thu, 4 May 2000 16:08:50 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: "Naik, Uday" <uday.naik@intel.com>
Cc: "'Russell King - ARM Linux Admin'" <linux@arm.linux.org.uk>,
	linux-arm@vger.rutgers.edu
Subject: RE: undefined instruction problem
In-Reply-To: <3D33CF40366DD111AC4100A0C96B22AC0870B45A@fmsmsx34.fm.intel.com>
Message-ID: <Pine.LNX.4.10.10005041608020.22087-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Wed, 3 May 2000, Naik, Uday wrote:

> I looked at the ramdisk (ramdisk_img.gz from nico's site). The ld-2.1.2.so
> and libc-2.1.2.so seem much smaller than the one's in my tools chain.
> Have they been specially built for a small footprint ??

No.  Only stripped.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 00:29:16 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nV3U-0008MU-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 00:29:16 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2B62D15D8E; Fri,  5 May 2000 01:29:25 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156766AbQEDWaL>;
	Thu, 4 May 2000 18:30:11 -0400
Received: by vger.rutgers.edu id <S154901AbQEDVEK>;
	Thu, 4 May 2000 17:04:10 -0400
Received: from [202.141.26.181] ([202.141.26.181]:1506 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155378AbQEDUDX>;
	Thu, 4 May 2000 16:03:23 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id BAA26955;
	Fri, 5 May 2000 01:42:24 +0530
Date:	Fri, 5 May 2000 01:42:23 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: Rod Stewart <stewart@nexus.carleton.ca>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Binutils files
In-Reply-To: <Pine.LNX.4.10.10005040858450.24110-100000@nexus.carleton.ca>
Message-ID: <Pine.LNX.4.10.10005050139590.26848-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Thanks, I have installed the Binutils 2.9.5.0.37 . After that I tried to
compile the kernel (2.3.99 from CVS netwider). I realised that I did not
have the compiler: arm-linux-gcc :) Where do I download it from?

Regards,
Lavu Sridhar
--------------------------------------------------------------------

On Thu, 4 May 2000, Rod Stewart wrote:

>On Thu, 4 May 2000, Lavu Sridhar wrote:
>
>> Where can I get the Binutils 2.9.5 rpm file?
>> I am trying to compile the linux kernel 2.3.99 for ARM CL7500FE processor.
>
>ftp://ftp.valinux.com/pub/support/hjl/binutils/binutils-2.9.5.0.xx.tar.gz
>
>Then you can do "rpm -ta binutils-2.9.5.0.xx.tar.gz" to build the rpms.
>
>-Rms
 ---------------------------------------------------------------------



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 00:30:25 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nV4b-0008NC-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 00:30:25 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id D179215DAA; Fri,  5 May 2000 01:30:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154885AbQEDWk2>;
	Thu, 4 May 2000 18:40:28 -0400
Received: by vger.rutgers.edu id <S155011AbQEDVE1>;
	Thu, 4 May 2000 17:04:27 -0400
Received: from blazie.com ([207.97.93.2]:23406 "EHLO blazie.com")
	by vger.rutgers.edu with ESMTP id <S154885AbQEDUH2>;
	Thu, 4 May 2000 16:07:28 -0400
Received: from localhost (localhost [127.0.0.1])
	by blazie.com (8.9.2/8.8.7) with ESMTP id QAA03827
	for <linux-arm@vger.rutgers.edu>; Thu, 4 May 2000 16:16:32 -0400 (EDT)
Date:	Thu, 4 May 2000 16:16:32 -0400 (EDT)
From: Chris Blazie <chris@blazie.com>
To: linux-arm@vger.rutgers.edu
Subject: sa1110 kernel boot cont.
Message-ID: <Pine.LNX.4.04.10005041550380.2964-100000@blazie.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


	I'm still wrestling with getting a kernel to boot on our SA1110
development board.  After a series of crazy, inconsistent behaviors I
set up a new kernel tree and started over.  Now I think I have a
consistent symptom I can use to find the problem.  In head.S after the
kernel is decompressed, there is some code that moves everything from
reloc_start: to reloc_end: to the address at the end of the decompressed
kernel.  After the move it jumps to the new reloc_start: address.  In my
case it never gets there; debug messages immediately after the jump never
appear and within a second or so I get repeated:

We made it to the breakpoint vector!!
R13: 0XC0FFFFC8
R14: 0X800F0010

	I verified that the value passed to the pc (approximately
0xc00f9c0c) equals the value calculated for the destination of
reloc_start: code.  I have the mmu and caches off at this point.

	Aside from mis-configured or broken hardware, is there another
plausible explanation for this behavior?

Thanks,
Chris


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 00:31:36 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nV5k-0008Nm-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 00:31:36 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 178EA15D9F; Fri,  5 May 2000 01:31:44 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156870AbQEDWok>;
	Thu, 4 May 2000 18:44:40 -0400
Received: by vger.rutgers.edu id <S155045AbQEDVIG>;
	Thu, 4 May 2000 17:08:06 -0400
Received: from nexus.carleton.ca ([134.117.76.10]:3801 "EHLO nexus.carleton.ca")
	by vger.rutgers.edu with ESMTP id <S155407AbQEDUIW>;
	Thu, 4 May 2000 16:08:22 -0400
Received: from localhost (stewart@localhost)
	by nexus.carleton.ca (8.9.3/8.9.3) with ESMTP id QAA28465;
	Thu, 4 May 2000 16:17:15 -0400
Date:	Thu, 4 May 2000 16:17:15 -0400 (EDT)
From: Rod Stewart <stewart@nexus.carleton.ca>
To: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Binutils files
In-Reply-To: <Pine.LNX.4.10.10005050139590.26848-100000@volt.ee.iitm.ernet.in>
Message-ID: <Pine.LNX.4.10.10005041613510.28385-100000@nexus.carleton.ca>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


I take it you are cross compiling?  What is your build system, and target
system?

If you are cross compiling you will need to get a cross compiled version
of gcc.  Take a look at:
	http://www.inkvine.fluff.org/~chris/arm-tools.html
if you want to build your own.  I also have some precompiled rpms for ix86
to armv4l, at:
	ftp://ftp.nw.carleton.ca/cross/0.4/

-Rms

On Fri, 5 May 2000, Lavu Sridhar wrote:

> Thanks, I have installed the Binutils 2.9.5.0.37 . After that I tried to
> compile the kernel (2.3.99 from CVS netwider). I realised that I did not
> have the compiler: arm-linux-gcc :) Where do I download it from?
> 
> Regards,
> Lavu Sridhar
> --------------------------------------------------------------------
> 
> On Thu, 4 May 2000, Rod Stewart wrote:
> 
> >On Thu, 4 May 2000, Lavu Sridhar wrote:
> >
> >> Where can I get the Binutils 2.9.5 rpm file?
> >> I am trying to compile the linux kernel 2.3.99 for ARM CL7500FE processor.
> >
> >ftp://ftp.valinux.com/pub/support/hjl/binutils/binutils-2.9.5.0.xx.tar.gz
> >
> >Then you can do "rpm -ta binutils-2.9.5.0.xx.tar.gz" to build the rpms.
> >
> >-Rms
>  ---------------------------------------------------------------------
> 
> 


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 02:45:53 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nXBh-0001Da-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 02:45:53 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B290515DF5; Fri,  5 May 2000 03:46:02 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155948AbQEEA1C>;
	Thu, 4 May 2000 20:27:02 -0400
Received: by vger.rutgers.edu id <S155277AbQEDXLK>;
	Thu, 4 May 2000 19:11:10 -0400
Received: from cvsftp.cotw.com ([208.242.241.39]:3606 "EHLO cvsftp.cotw.com")
	by vger.rutgers.edu with ESMTP id <S156324AbQEDVxA>;
	Thu, 4 May 2000 17:53:00 -0400
Received: from cotw.com (dsl19.cedar-rapids.net [208.242.241.211])
	by cvsftp.cotw.com (8.9.3/8.9.3) with ESMTP id RAA14446;
	Thu, 4 May 2000 17:02:30 -0500
Message-ID: <3911F2D9.E4AD7367@cotw.com>
Date:	Thu, 04 May 2000 16:59:53 -0500
From: Steve Hill <sjhill@cotw.com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.3.47 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Jack T. Chang" <tcc@research.att.com>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: SA-1110 development board
References: <3911CD50.AF08BA95@research.att.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

"Jack T. Chang" wrote:
> 
> Is there a step-by-step Linux configuration document to run Intel SA-1110
> develelopment platform? Thanks
> 
Go here for starts:

   http://developer.intel.com/design/strong/applnots/sa1100lx/sa1100lx.htm

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer
 Public Key: 'finger sjhill@mail.cotw.com'
 FPR1: E124 6E1C AF8E 7802 A815
 FPR2: 7D72 829C 3386 4C4A E17D

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 03:03:22 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nXSc-0001Pn-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 03:03:22 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BDAB415DE9; Fri,  5 May 2000 04:03:31 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154937AbQEEA3Q>;
	Thu, 4 May 2000 20:29:16 -0400
Received: by vger.rutgers.edu id <S155300AbQEDXRe>;
	Thu, 4 May 2000 19:17:34 -0400
Received: from crl.dec.com ([192.58.206.2]:4433 "EHLO crl.dec.com")
	by vger.rutgers.edu with ESMTP id <S156658AbQEDWV4>;
	Thu, 4 May 2000 18:21:56 -0400
Received: from ims.crl.dec.com (ims.crl.dec.com [16.11.0.11])
	by crl.dec.com (8.8.8/RWD-1.2) with ESMTP id SAA23713;
	Thu, 4 May 2000 18:30:50 -0400 (EDT)
Received: by ims.crl.dec.com with Internet Mail Service (5.5.2650.21)
	id <JJ7QXQCS>; Thu, 4 May 2000 18:35:08 -0400
Message-ID: <D1674834F25BD3118B3208002BB90CD450DCFA@yen.crl.dec.com>
From: George France <france@crl.dec.com>
To: "'ee96162@ee.iitm.ernet.in'" <ee96162@ee.iitm.ernet.in>,
	linux-arm@vger.rutgers.edu
Subject: RE: GCC Compiler for 7500FE
Date:	Thu, 4 May 2000 18:31:24 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

READ the ARCHIVES.

The easiest solution is to download a working biniary toolchain. The
following may be of some help.

There have been so many questions and problems on the mailing list about
building a Cross Tool Chain.  We have decided to post a 38 Mbyte binary
(executable) tar-ball here:

	
http://crl.research.compaq.com/projects/personalserver/sw_download.html

it is an arm-linux cross Tool Chain.  The Tool Chain is made up of:

 	binutils-2.9.5.0.22,
	gcc-2.95.2 - C, C++, f77, CHILL, 	java and objc.
 	glibc-2.1.2. with the International crypt library. (THIS IS NOT FOR
EXPORT)

The Tool Chain is compiled for a i386 host with an armv4l target. Armv4 =
the instructions set for the SA-110, SA-1100 and SA-1110 processors. l =
little edian.


Installation notes:

The Tool Chain must be installed in /skiff/local.  It will not work from any
other path.  

The only other problem that you may have with the include files is that the
tar ball was setup for Linux 2.2.14.  You may need to setup a symbolic links
for:

           ln -s /usr/src/linux/include/asm
/skiff/local/arm-linux/include/asm
           ln -s /usr/src/linux/include/linux
/skiff/local/arm-linux/include/linux

or you could copy the /usr/src/linux/include/asm and
/usr/src/linux/include/linux directories to the
/skiff/local/arm-linux/include.  Be certain that you have run 'make
menuconfig' or equivalent, then 'make dep'.  This will verify that your
kernel tree is up-to-date and the correct symbolic links are up-to-date.

This tool chain has glibc symbol versioning.  If you are using a netwinder,
you may have to compile your code with static libs.



If there is interest, we may make a binary i386 to Strong-ARM cross gdb
available for remote debugging.


--George


George France,      france@crl.dec.com
Cambridge Research Laboratory, Compaq Computer Corporation
One Kendall Square, Building 700     MS: CRL
Cambridge, MA 02139 USA


-----Original Message-----
From: Lavu Sridhar [mailto:ee96162@ee.iitm.ernet.in]
Sent: Thursday, May 04, 2000 3:31 PM
To: linux-arm@vger.rutgers.edu
Subject: GCC Compiler for 7500FE


Hello, 

I am having Cirrus Logic CL7500FE Evaluation Board to which I want to port
Linux. I am using the Arm-Linux kernel 2.3.99 from CVS Netwider and the
binutils 2.9.5.0.37. Where can I download the compiler for this kernel?

Regards,
Lavu Sridhar


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for
++
++                        kernel-related discussions.
++

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 04:27:24 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nYlw-0002Sv-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 04:27:24 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0A5AA15D47; Fri,  5 May 2000 05:27:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155453AbQEECOF>;
	Thu, 4 May 2000 22:14:05 -0400
Received: by vger.rutgers.edu id <S155941AbQEEBgI>;
	Thu, 4 May 2000 21:36:08 -0400
Received: from modemcable248.137-200-24.mtl.mc.videotron.net ([24.200.137.248]:63141
	"EHLO xanadu.gn.com") by vger.rutgers.edu with ESMTP
	id <S155219AbQEEAZb>; Thu, 4 May 2000 20:25:31 -0400
Received: from localhost (nico@localhost)
	by xanadu.gn.com (8.9.3/8.9.3) with ESMTP id UAA00325;
	Thu, 4 May 2000 20:34:18 -0400
X-Authentication-Warning: xanadu.gn.com: nico owned process doing -bs
Date:	Thu, 4 May 2000 20:34:18 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
X-Sender: nico@xanadu.gn.com
To: Chris Blazie <chris@blazie.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: sa1110 kernel boot cont.
In-Reply-To: <Pine.LNX.4.04.10005041550380.2964-100000@blazie.com>
Message-ID: <Pine.LNX.4.10.10005042031190.315-100000@xanadu.gn.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Thu, 4 May 2000, Chris Blazie wrote:

> 	Aside from mis-configured or broken hardware, is there another
> plausible explanation for this behavior?

Well...  Are you sure your memory is OK?  I think BLOB integrated my
memory test routine.  Did you try it?


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 04:29:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nYnZ-0002Us-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 04:29:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id F273515D93; Fri,  5 May 2000 05:29:14 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155595AbQEEC0w>;
	Thu, 4 May 2000 22:26:52 -0400
Received: by vger.rutgers.edu id <S156839AbQEECGT>;
	Thu, 4 May 2000 22:06:19 -0400
Received: from modemcable248.137-200-24.mtl.mc.videotron.net ([24.200.137.248]:63147
	"EHLO xanadu.gn.com") by vger.rutgers.edu with ESMTP
	id <S155011AbQEEAb2>; Thu, 4 May 2000 20:31:28 -0400
Received: from localhost (nico@localhost)
	by xanadu.gn.com (8.9.3/8.9.3) with ESMTP id UAA00333;
	Thu, 4 May 2000 20:40:14 -0400
X-Authentication-Warning: xanadu.gn.com: nico owned process doing -bs
Date:	Thu, 4 May 2000 20:40:14 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
X-Sender: nico@xanadu.gn.com
To: "Jack T. Chang" <tcc@research.att.com>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: SA-1110 development board
In-Reply-To: <3911CD50.AF08BA95@research.att.com>
Message-ID: <Pine.LNX.4.10.10005042038090.315-100000@xanadu.gn.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Thu, 4 May 2000, Jack T. Chang wrote:

> Greetings.
> 
> Is there a step-by-step Linux configuration document to run Intel SA-1110
> develelopment platform? Thanks

See John G Dorsey's notes at  
http://www.cs.cmu.edu/~wearable/software/assabet.html


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 13:27:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nhCJ-0007dn-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 13:27:11 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B757F15D69; Fri,  5 May 2000 14:27:20 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155173AbQEEMRa>;
	Fri, 5 May 2000 08:17:30 -0400
Received: by vger.rutgers.edu id <S155140AbQEEMRM>;
	Fri, 5 May 2000 08:17:12 -0400
Received: from H-135-207-30-103.research.att.com ([135.207.30.103]:2531 "HELO
	mail-green.research.att.com") by vger.rutgers.edu with SMTP
	id <S155124AbQEEMRE>; Fri, 5 May 2000 08:17:04 -0400
Received: from hermes.research.att.com (hermes.research.att.com [135.207.16.38])
	by mail-green.research.att.com (Postfix) with ESMTP id 4BD401E04A
	for <linux-arm@vger.rutgers.edu>; Fri,  5 May 2000 08:26:21 -0400 (EDT)
Received: from nero.research.att.com (nero [135.207.17.76])
	by hermes.research.att.com (8.8.7/8.8.7) with ESMTP id IAA28036
	for <linux-arm@vger.rutgers.edu>; Fri, 5 May 2000 08:26:16 -0400 (EDT)
From: "Jack T.C. Chang" <tcc@research.att.com>
Received: (from tcc@localhost)
	by nero.research.att.com (980427.SGI.8.8.8/8.8.5) id IAA78681
	for linux-arm@vger.rutgers.edu; Fri, 5 May 2000 08:26:20 -0400 (EDT)
Date:	Fri, 5 May 2000 08:26:20 -0400 (EDT)
Message-Id: <200005051226.IAA78681@nero.research.att.com>
To: linux-arm@vger.rutgers.edu
Subject:  Re: downloading kernel (SA1110)
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


If I use my laptop (which only has one serial port ttyS0) as the host,
what should I modify in the kernel in order to download kernel to Assabet
and use minicom as console? Thanks
-Jack
======	Jack T. Chang 
	AT&T Laboratories - Research
        180 Park Ave., Bldg. 103, Rm. A007, 
	Florham Park, NJ 07932  U S                   
	Tel: (973)360-8217   Email: tcc@research.att.com
	URL:http://www.research.att.com/info/tcc

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 15:34:51 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12njBr-0000zU-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 15:34:51 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1D92115D5E; Fri,  5 May 2000 16:35:01 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155063AbQEEOI3>;
	Fri, 5 May 2000 10:08:29 -0400
Received: by vger.rutgers.edu id <S155198AbQEEOAe>;
	Fri, 5 May 2000 10:00:34 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:4564
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155351AbQEENrh>; Fri, 5 May 2000 09:47:37 -0400
Date:	Fri, 5 May 2000 09:57:40 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: "Jack T.C. Chang" <tcc@research.att.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: downloading kernel (SA1110)
In-Reply-To: <200005051226.IAA78681@nero.research.att.com>
Message-ID: <Pine.LNX.4.10.10005050948320.23503-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Fri, 5 May 2000, Jack T.C. Chang wrote:

> 
> If I use my laptop (which only has one serial port ttyS0) as the host,
> what should I modify in the kernel in order to download kernel to Assabet
> and use minicom as console? Thanks

Nothing.

Please read my notes. You'll see that Assabet setup is already ment to be
used over a single serial port.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 16:08:34 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12njiU-0001Tv-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 16:08:34 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 5BE7215D47; Fri,  5 May 2000 17:08:44 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155633AbQEEOzP>;
	Fri, 5 May 2000 10:55:15 -0400
Received: by vger.rutgers.edu id <S155111AbQEEOso>;
	Fri, 5 May 2000 10:48:44 -0400
Received: from netwinder.org ([207.245.35.202]:61099 "EHLO kei.netwinder.org")
	by vger.rutgers.edu with ESMTP id <S155549AbQEEOrM>;
	Fri, 5 May 2000 10:47:12 -0400
Received: from netwinder.org ([10.1.19.121])
	by kei.netwinder.org (8.9.3/8.9.3) with ESMTP id KAA20473;
	Fri, 5 May 2000 10:55:50 -0400
Message-ID: <3912DFD7.FCCFC9E8@netwinder.org>
Date:	Fri, 05 May 2000 10:51:03 -0400
From: Scott Bambrough <scottb@netwinder.org>
Organization: Rebel.com
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
Cc: ee96162@ee.iitm.ernet.in, linux-arm@vger.rutgers.edu
Subject: Re: Binutils files
References: <Pine.LNX.4.10.10005041516090.15575-100000@volt.ee.iitm.ernet.in> <E12nPRl-0004TZ-00@fountain.labs.futuretv.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: unlisted-recipients: ;(no To-header on input)
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Philip Blundell wrote:
> 
> In message <Pine.LNX.4.10.10005041516090.15575-100000@volt.ee.iitm.ernet.in>, L
> avu Sridhar writes:
> >Where can I get the Binutils 2.9.5 rpm file?
> 
> I don't think there is one.  You have to compile it from source.

You can get one from:

ftp://ftp.netwinder.org/users/s/scottb/current/binutils-2.9.5.0.37-1.src.rpm

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 20:36:59 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nnuF-0005Eo-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 20:36:59 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 9026B15D4A; Fri,  5 May 2000 21:37:05 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154928AbQEETRV>;
	Fri, 5 May 2000 15:17:21 -0400
Received: by vger.rutgers.edu id <S154982AbQEETA6>;
	Fri, 5 May 2000 15:00:58 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:1175 "EHLO
	kings-cross.london.uk.eu.org") by vger.rutgers.edu with ESMTP
	id <S155054AbQEESRP>; Fri, 5 May 2000 14:17:15 -0400
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12nnjH-000822-00; Fri, 05 May 2000 20:25:39 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: Vikas <ee96209@ee.iitm.ernet.in>
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: Message from Vikas <ee96209@ee.iitm.ernet.in> 
   of "Thu, 04 May 2000 18:09:21 +0530." <Pine.LNX.4.10.10005041805390.24439-100000@volt.ee.iitm.ernet.in> 
References: <Pine.LNX.4.10.10005041805390.24439-100000@volt.ee.iitm.ernet.in> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Fri, 05 May 2000 20:25:39 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12nnjH-000822-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>I would like to know if anyone has experience in running linux on a
>CL-PS7500FE based diskless board.

Yes.

>If so, was the linux ported using SDT ?

No.  The GNU tools are better suited.

>Does it now work like a standalone board (with the Linux on a flash) ?

Yes.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 05 20:38:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nnvI-0005HT-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 05 May 2000 20:38:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 88B8315D8E; Fri,  5 May 2000 21:38:15 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154762AbQEETRX>;
	Fri, 5 May 2000 15:17:23 -0400
Received: by vger.rutgers.edu id <S154979AbQEETBK>;
	Fri, 5 May 2000 15:01:10 -0400
Received: from ice.fiftyone.com ([208.225.80.11]:1310 "EHLO ice.fiftyone.com")
	by vger.rutgers.edu with ESMTP id <S154945AbQEESSe>;
	Fri, 5 May 2000 14:18:34 -0400
Received: from server01.asi (akron-80-162.ar51.net [208.225.80.162])
	by ice.fiftyone.com (8.9.3/8.8.7) with ESMTP id OAA01848;
	Fri, 5 May 2000 14:27:48 -0400
Received: by SERVER01 with Internet Mail Service (5.5.2448.0)
	id <KK9LVX2G>; Fri, 5 May 2000 14:27:12 -0400
Message-ID: <B1F74F3AD483D2119F80004005A199480591E4@SERVER01>
From: Jeff Sutherland <jsutherland@accelent.com>
To: "'Chris Blazie'" <chris@blazie.com>,
	"'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: RE: sa1110 kernel boot cont.
Date:	Fri, 5 May 2000 14:27:09 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> 	I'm still wrestling with getting a kernel to boot on our SA1110
> development board.  After a series of crazy, inconsistent behaviors I
> set up a new kernel tree and started over.  Now I think I have a
> consistent symptom I can use to find the problem.  In head.S after the
> kernel is decompressed, there is some code that moves everything from
> reloc_start: to reloc_end: to the address at the end of the 
> decompressed
> kernel.  After the move it jumps to the new reloc_start: 
> address.  In my
> case it never gets there; debug messages immediately after 
> the jump never
> appear and within a second or so I get repeated:
> 
> We made it to the breakpoint vector!!
> R13: 0XC0FFFFC8
> R14: 0X800F0010
> 
> 	I verified that the value passed to the pc (approximately
> 0xc00f9c0c) equals the value calculated for the destination of
> reloc_start: code.  I have the mmu and caches off at this point.
> 
> 	Aside from mis-configured or broken hardware, is there another
> plausible explanation for this behavior?
> 
> Thanks,
> Chris

Unless you've seriously munged your new kernel this is almost assuredly
hardware related.  The decompressing/moving/relocating process is pretty
well rung out, even on the StrongARM.  If you can't run reliably without any
of the caches or MMU turned on, it's time to start debugging hardware or
your bootloader's SDRAM setup routines.

//Jeff

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sat May 06 08:26:06 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12nyyU-00049D-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sat, 06 May 2000 08:26:06 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C7FED15D42; Sat,  6 May 2000 09:26:16 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155178AbQEFHQI>;
	Sat, 6 May 2000 03:16:08 -0400
Received: by vger.rutgers.edu id <S155181AbQEFHPv>;
	Sat, 6 May 2000 03:15:51 -0400
Received: from [202.141.26.181] ([202.141.26.181]:4335 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155161AbQEFHPo>;
	Sat, 6 May 2000 03:15:44 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id MAA28956
	for <linux-arm@vger.rutgers.edu>; Sat, 6 May 2000 12:50:37 +0530
Date:	Sat, 6 May 2000 12:50:37 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: linux-arm@vger.rutgers.edu
Subject: BIOS for 7500FE
Message-ID: <Pine.LNX.4.10.10005061249060.28746-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Where can I get the BIOS code for a Cirrus Logic 7500FE Evaluatio Board?
Currently the Flash has the Angel Debugging Code on it.

Regards,
Lavu Sridhar	
 ---------------------------------------------------------------------


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sun May 07 14:01:33 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12oQgf-0002fD-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sun, 07 May 2000 14:01:33 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B7B2015DAC; Sun,  7 May 2000 15:01:45 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155957AbQEGMvG>;
	Sun, 7 May 2000 08:51:06 -0400
Received: by vger.rutgers.edu id <S156030AbQEGMu6>;
	Sun, 7 May 2000 08:50:58 -0400
Received: from [202.141.26.181] ([202.141.26.181]:2871 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155957AbQEGMum>;
	Sun, 7 May 2000 08:50:42 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id SAA10796
	for <linux-arm@vger.rutgers.edu>; Sun, 7 May 2000 18:17:59 +0530
Date:	Sun, 7 May 2000 18:17:59 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: linux-arm@vger.rutgers.edu
Subject: ARM Sample BIOS Code
Message-ID: <Pine.LNX.4.10.10005071814460.10688-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello.

I want to know if I can find a BIOS code which I can run using the ARM SDT
to initialise the chips on the Cirrus Logic Evaluation Board. If I could
find any sample code that was written for an ARM processor, then maybe I
could modify it for my Board. Please let me know where I can find the code

Regards,
Lavu Sridhar	

 ---------------------------------------------------------------------


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 08:06:20 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12ohcS-0002aJ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 08:06:20 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 96B5D15E9A; Mon,  8 May 2000 09:06:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154882AbQEHGzw>;
	Mon, 8 May 2000 02:55:52 -0400
Received: by vger.rutgers.edu id <S154733AbQEHGzn>;
	Mon, 8 May 2000 02:55:43 -0400
Received: from lakdiva.slt.lk ([204.143.96.17]:49160 "EHLO lakdiva.slt.lk")
	by vger.rutgers.edu with ESMTP id <S154882AbQEHGza>;
	Mon, 8 May 2000 02:55:30 -0400
Received: from obelix.atpos.lk ([203.115.31.220])
	by lakdiva.slt.lk (8.9.1b+Sun/8.9.1) with ESMTP id NAA08846
	for <linux-arm@vger.rutgers.edu>; Mon, 8 May 2000 13:04:48 -0600 (GMT)
Received: from sri.atpos.com (192.1.1.105 [192.1.1.105]) by obelix.atpos.lk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id K2G0Z4M0; Mon, 8 May 2000 12:59:05 +0600
Message-ID: <391666C0.C31F5463@sri.atpos.com>
Date:	Mon, 08 May 2000 13:03:28 +0600
From: Nandana <nkuruwitage@sri.atpos.com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14-15mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: [Re: Question aboug hardware.h]
Content-Type: multipart/mixed;
 boundary="------------B040E6D8652E9B44DE56633F"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is a multi-part message in MIME format.
--------------B040E6D8652E9B44DE56633F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit



--------------B040E6D8652E9B44DE56633F
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

X-Mozilla-Status2: 00000000
Message-ID: <3916666E.1FA28B50@sri.atpos.com>
Date: Mon, 08 May 2000 13:02:06 +0600
From: Nandana <nkuruwitage@sri.atpos.com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14-15mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Nicolas Pitre <nico@cam.org>
Subject: Re: Question aboug hardware.h
References: <Pine.LNX.4.10.10005051010300.23503-100000@xanadu.vipswitch.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
Have someone got any idea about the method to access PCMCIA attribute space .
We tried it using io_p2v but we had segmentation faults.
Regards
Harsha


Nicolas Pitre wrote:

> On Fri, 5 May 2000, Chien-Min Lee wrote:
>
> >
> > >> However, if we use the physical address 0x91xxxxxx, after the
> > >> transform of io_p2v(0x91xxxxxx), it can not get the original physical
> > >> address by io_v2p.
> >
> > >Yes.  All the virtual->physical and physical->virtual macros are only valid
> > >for RAM areas, not general IO.
> >
> >    Does this mean that these two macros are useless!??
> >    What address type(physical or virtual) do we use to access the registers of
> >    peripheral control modules??
>
> You really don't have to bother about virtual or physical location of
> registers.  If you want to clear some GPIOs, simply use
>
>         GEDR |= (1<<x);         /* set GPIO x direction for output */
>         GPCR = (1<<x);          /* set GPIO x low */
>         val = (GPLR & (1<<y));  /* read GPIO y level (zero or not) */
>
> where x and y are your GPIO numbers.  If you want to play with the memory
> control register, simply use MECR like:
>
>         MECR = (MECR & (some_bits)) | some_other_bits;
>
> All those peripheral registers are defined in include/asm/arch/SA-1100.h.
> You should use them and not care about where and how they are mapped.
>
> Nicolas
>
> unsubscribe: body of `unsubscribe linux-arm-kernel' to majordomo@lists.arm.linux.org.uk


--------------B040E6D8652E9B44DE56633F--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 11:13:03 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12okX8-00042l-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 11:13:03 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6358615E09; Mon,  8 May 2000 12:13:17 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154885AbQEHKCT>;
	Mon, 8 May 2000 06:02:19 -0400
Received: by vger.rutgers.edu id <S154882AbQEHKCM>;
	Mon, 8 May 2000 06:02:12 -0400
Received: from extmx.itri.org.tw ([140.96.158.1]:29715 "EHLO extmx.itri.org.tw")
	by vger.rutgers.edu with ESMTP id <S154885AbQEHKBx>;
	Mon, 8 May 2000 06:01:53 -0400
Received: from nts.itri.org.tw (ntp.itri.org.tw [140.96.159.2])
	by extmx.itri.org.tw (8.8.8/8.8.8) with ESMTP id SAA09721;
	Mon, 8 May 2000 18:12:25 +0800 (CST)
Received: from oax2.CCL.ITRI.Org.tw (oax2.ccl.itri.org.tw [140.96.110.211])
	by nts.itri.org.tw (8.8.8/8.8.8) with ESMTP id SAA23102;
	Mon, 8 May 2000 18:23:37 +0800 (CST)
Received: from pc120105.ccl.itri.org.tw (pc120105.ccl.itri.org.tw [140.96.120.105])
	by oax2.CCL.ITRI.Org.tw (8.8.5/8.8.5) with ESMTP id SAA14321;
	Mon, 8 May 2000 18:11:12 +0800 (CST)
Date:	Mon, 8 May 2000 18:09:32 +0000 (Local time zone must be set--see zic manual page)
From: Murphy Chen <murphy@itri.org.tw>
X-Sender: murphy@pc120105.ccl.itri.org.tw
To: Nandana <nkuruwitage@sri.atpos.com>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: [Re: Question aboug hardware.h]
In-Reply-To: <OFE8AA4A87.EC2E5762-ON482568D9.00276DBB@itri.org.tw>
Message-ID: <Pine.LNX.4.10.10005081804360.9516-100000@pc120105.ccl.itri.org.tw>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=Big5
Content-Transfer-Encoding: 8BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Mon, 8 May 2000, Nandana wrote:
> Hi,
> Have someone got any idea about the method to access PCMCIA attribute space
> .
> We tried it using io_p2v but we had segmentation faults.

	Do you access attribute space in kernel space or in user space?

	If you access it in kernel space, you can use their virtual addresses
	directly.

	For example, if you want to access PCMCIA0 attribute space, you can
	use:

	inb(0x08000000+offset);

unsigned char inb(unsigned int addr)
{ 
        return (*((unsigned char*)(PCIO_BASE+(addr))));
}



-------------------------------------------------------
Murphy Chen (łŻĽż­ő) murphy@itri.org.tw
Design Engineer, Internet Embedded System Department
Computer & Communications Research Laboratories
Industrial Technology Research Institute, Taiwan


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 14:50:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12onvH-0005wO-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 14:50:11 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 3BCEA15E79; Mon,  8 May 2000 15:50:26 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154879AbQEHNhU>;
	Mon, 8 May 2000 09:37:20 -0400
Received: by vger.rutgers.edu id <S155000AbQEHNfQ>;
	Mon, 8 May 2000 09:35:16 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:1501 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155084AbQEHNbD>; Mon, 8 May 2000 09:31:03 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id PAA16375; Mon, 8 May 2000 15:40:56 +0200 (MET DST)
Message-Id: <200005081340.PAA16375@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: nico@cam.org
Cc: chris@blazie.com, linux-arm@vger.rutgers.edu
Subject: Re: sa1110 kernel boot cont.
In-Reply-To: <Pine.LNX.4.10.10005042031190.315-100000@xanadu.gn.com>
Organization: Eric conspiracy secret labs
Date:	Mon May 08 15:40:55 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Thu, 04 May 2000 20:34:18 -0400 (EDT), Nicolas Pitre wrote:
> On Thu, 4 May 2000, Chris Blazie wrote:
>>   Aside from mis-configured or broken hardware, is there another
>> plausible explanation for this behavior?
> 
> Well...  Are you sure your memory is OK?  I think BLOB integrated my
> memory test routine.  Did you try it?

Blob doesn't contain memory test routines yet. My To Do list is quite
long...


Erik

-- 
A towel has immense psychological value.
 -- Douglas Adams, The Hitch Hikers Guide to the Galaxy




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 14:59:51 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12oo4d-00065B-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 14:59:51 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id AD49E15E8B; Mon,  8 May 2000 16:00:06 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154885AbQEHNr7>;
	Mon, 8 May 2000 09:47:59 -0400
Received: by vger.rutgers.edu id <S154957AbQEHNnZ>;
	Mon, 8 May 2000 09:43:25 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:1520 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155004AbQEHNiZ>; Mon, 8 May 2000 09:38:25 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id PAA16449; Mon, 8 May 2000 15:48:23 +0200 (MET DST)
Message-Id: <200005081348.PAA16449@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: ee96162@ee.iitm.ernet.in
Cc: linux-arm@vger.rutgers.edu
Subject: Re: ARM Sample BIOS Code
In-Reply-To: <Pine.LNX.4.10.10005071814460.10688-100000@volt.ee.iitm.ernet.in>
Organization: Eric conspiracy secret labs
Date:	Mon May 08 15:48:21 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Sun, 07 May 2000 18:17:59 +0530 (IST), Lavu Sridhar wrote:
> I want to know if I can find a BIOS code which I can run using the ARM SDT
> to initialise the chips on the Cirrus Logic Evaluation Board. If I could
> find any sample code that was written for an ARM processor, then maybe I
> could modify it for my Board. Please let me know where I can find the code

You might want to give blob a try. It's currently written for the SA-1100
CPU, so you'll have to modify start.S and serial.c. The disadvantage
(well, I call it an advantage) is that it must be build using the GNU
toolchain, but you'll need the GNU toolchain anyway if you want to run
Linux on your board. You can get blob at
http://www.lart.tudelft.nl/lartware/blob/ .


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 17:22:45 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12oqIv-0007nB-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 17:22:45 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6276215EE6; Mon,  8 May 2000 18:23:00 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154940AbQEHQDc>;
	Mon, 8 May 2000 12:03:32 -0400
Received: by vger.rutgers.edu id <S155021AbQEHQC4>;
	Mon, 8 May 2000 12:02:56 -0400
Received: from [212.219.8.178] ([212.219.8.178]:4765 "EHLO
	stasis.wincoll.ac.uk") by vger.rutgers.edu with ESMTP
	id <S155171AbQEHP7X>; Mon, 8 May 2000 11:59:23 -0400
Received: from localhost (arm@localhost)
	by stasis.wincoll.ac.uk (8.9.3/8.8.7) with ESMTP id RAA19705
	for <linux-arm@vger.rutgers.edu>; Mon, 8 May 2000 17:09:04 +0100
Date:	Mon, 8 May 2000 17:09:04 +0100 (BST)
From: David Joy <arm@stasis.wincoll.ac.uk>
X-Sender: arm@stasis.wincoll.ac.uk
To: linux-arm@vger.rutgers.edu
Subject: booting with !Linux
Message-ID: <Pine.LNX.4.10.10005081656210.19561-100000@stasis.wincoll.ac.uk>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I'm sure it's very simple, but I can't work out how to get !Linux to
boot kernel ADFS::4.$.vmlinux with argument root=/dev/hda4 so that it
loads immediately when I tell it to load. At the moment, it asks me if I
want to return to Risc OS, or load linux; I have to press down, and then
return, and return again to load. The command I have used is

!Linux -bootkernel ADFS::4.$.vmlinux -args root=/dev/hda4

but this still asks me to select Risc OS or Linux. I do not have boot.conf
or loadmap installed on the linux system, so I cannot get it to load off 
*adfs::4.4. As a matter of fact, the linux is Debian, but I doubt that
makes much difference. All I am trying to do is get !Linux to load the
kernel immediately, rather than to give me a menu. Is this possible?

Thank you very much,

-- 
David Joy.


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 19:30:32 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12osIa-0000i9-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 19:30:32 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 902E615F02; Mon,  8 May 2000 20:30:47 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154940AbQEHSTg>;
	Mon, 8 May 2000 14:19:36 -0400
Received: by vger.rutgers.edu id <S155021AbQEHSPJ>;
	Mon, 8 May 2000 14:15:09 -0400
Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]:60028 "EHLO
	dfw7-1.relay.mail.uu.net") by vger.rutgers.edu with ESMTP
	id <S154982AbQEHSOb>; Mon, 8 May 2000 14:14:31 -0400
Received: from xedia.com by dfw7sosrv11.alter.net with SMTP 
	(peer crosschecked as: madway.xedia.com [198.202.232.199])
	id QQioib02982
	for <linux-arm@vger.rutgers.edu>; Mon, 8 May 2000 18:24:51 GMT
Received: from tonga.xedia.com by xedia.com (4.1/SMI-4.1)
	id AA01656; Mon, 8 May 00 14:21:29 EDT
Received: by tonga.xedia.com (SMI-8.6/SMI-SVR4)
	id OAA21895; Mon, 8 May 2000 14:24:50 -0400
From: Paul Koning <pkoning@xedia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14615.1650.103899.797654@xedia.com>
Date:	Mon, 8 May 2000 14:24:50 -0400 (EDT)
To: linux-arm@vger.rutgers.edu
Subject:  Pocket PC Linux?
X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I thought I sent this a while ago but perhaps it was lost.  Or maybe
no one has a guess...

----------------
One of the articles about the new Pocket PC line that MS and friends
just lauched with a lot of hoopla mentions that the Compaq version
uses a StrongARM.

Nice.  While waiting for Itsy, it would be interesting if Linux would
run on that.  Any ideas of whether it would?

    paul

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 20:03:44 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12osoi-0001BQ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 20:03:44 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0F58D15ECD; Mon,  8 May 2000 21:04:00 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154916AbQEHSwz>;
	Mon, 8 May 2000 14:52:55 -0400
Received: by vger.rutgers.edu id <S154733AbQEHSwi>;
	Mon, 8 May 2000 14:52:38 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:3175
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S154940AbQEHSw0>; Mon, 8 May 2000 14:52:26 -0400
Date:	Mon, 8 May 2000 15:03:01 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Paul Koning <pkoning@xedia.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Pocket PC Linux?
In-Reply-To: <14615.1650.103899.797654@xedia.com>
Message-ID: <Pine.LNX.4.10.10005081501340.951-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Mon, 8 May 2000, Paul Koning wrote:

> One of the articles about the new Pocket PC line that MS and friends
> just lauched with a lot of hoopla mentions that the Compaq version
> uses a StrongARM.
> 
> Nice.  While waiting for Itsy, it would be interesting if Linux would
> run on that.  Any ideas of whether it would?

It would.  It's a StrongARM after all.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 20:11:28 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12oswC-0001Q2-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 20:11:28 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id F2D7B15EF6; Mon,  8 May 2000 21:11:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154971AbQEHS7b>;
	Mon, 8 May 2000 14:59:31 -0400
Received: by vger.rutgers.edu id <S154924AbQEHS7J>;
	Mon, 8 May 2000 14:59:09 -0400
Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]:48045 "EHLO
	dfw7-1.relay.mail.uu.net") by vger.rutgers.edu with ESMTP
	id <S154940AbQEHS4C>; Mon, 8 May 2000 14:56:02 -0400
Received: from xedia.com by dfw7sosrv11.alter.net with SMTP 
	(peer crosschecked as: madway.xedia.com [198.202.232.199])
	id QQioie24157;
	Mon, 8 May 2000 19:06:21 GMT
Received: from tonga.xedia.com by xedia.com (4.1/SMI-4.1)
	id AA02307; Mon, 8 May 00 15:02:59 EDT
Received: by tonga.xedia.com (SMI-8.6/SMI-SVR4)
	id PAA21922; Mon, 8 May 2000 15:06:20 -0400
From: Paul Koning <pkoning@xedia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14615.4140.521061.226525@xedia.com>
Date:	Mon, 8 May 2000 15:06:20 -0400 (EDT)
To: nico@cam.org
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Pocket PC Linux?
References: <14615.1650.103899.797654@xedia.com>
	<Pine.LNX.4.10.10005081501340.951-100000@xanadu.vipswitch.com>
X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>>>>> "Nicolas" == Nicolas Pitre <nico@cam.org> writes:

 Nicolas> On Mon, 8 May 2000, Paul Koning wrote:

 >> One of the articles about the new Pocket PC line that MS and
 >> friends just lauched with a lot of hoopla mentions that the Compaq
 >> version uses a StrongARM.
 >> 
 >> Nice.  While waiting for Itsy, it would be interesting if Linux
 >> would run on that.  Any ideas of whether it would?

 Nicolas> It would.  It's a StrongARM after all.

I didn't expect problems on that end, but was wondering about all the
stuff around it.  Things like memory and display devices and the
like.  Reading of all the struggles people have with Brutus boards
makes me aware that the CPU is often the least of your problems.
      
      paul

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 08 20:34:52 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12otIq-0001dz-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 08 May 2000 20:34:52 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 41E9C15D4D; Mon,  8 May 2000 21:35:07 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154924AbQEHTYD>;
	Mon, 8 May 2000 15:24:03 -0400
Received: by vger.rutgers.edu id <S154889AbQEHTXz>;
	Mon, 8 May 2000 15:23:55 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:3224
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S154941AbQEHTXj>; Mon, 8 May 2000 15:23:39 -0400
Date:	Mon, 8 May 2000 15:31:52 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Nandana <nkuruwitage@sri.atpos.com>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: [Re: Question aboug hardware.h]
In-Reply-To: <391666C0.C31F5463@sri.atpos.com>
Message-ID: <Pine.LNX.4.10.10005081525250.951-110000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed; BOUNDARY=------------B040E6D8652E9B44DE56633F
Content-ID: <Pine.LNX.4.10.10005081525251.951@xanadu.vipswitch.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--------------B040E6D8652E9B44DE56633F
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.10.10005081525252.951@xanadu.vipswitch.com>



On Mon, 8 May 2000, Nandana wrote:

> Date: Mon, 08 May 2000 13:02:06 +0600
> From: Nandana <nkuruwitage@sri.atpos.com>
> To: Nicolas Pitre <nico@cam.org>
> Subject: Re: Question aboug hardware.h
> 
> Hi,
> Have someone got any idea about the method to access PCMCIA attribute
> space .
> We tried it using io_p2v but we had segmentation faults.
> Regards
> Harsha

See linux/arch/arm/mm/mm-sa1100.c.  There you'll find all physical vs
virtual mappings for all peripherals.

For example, PCMCIA 1 IO space is virtually mapped at 0xe0000000.  Then
you just need to access memory from that address (simple read or write) to
get the data.

The io_p2v macro is only used for definition inside SA-1100.h.  You
shouldn't have to use it directly.


Nicolas

--------------B040E6D8652E9B44DE56633F
Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.10.10005081525253.951@xanadu.vipswitch.com>
Content-Description: 
Content-Disposition: INLINE

X-Mozilla-Status2: 00000000
Message-ID: <3916666E.1FA28B50@sri.atpos.com>
Date: Mon, 08 May 2000 13:02:06 +0600
From: Nandana <nkuruwitage@sri.atpos.com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14-15mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Nicolas Pitre <nico@cam.org>
Subject: Re: Question aboug hardware.h
References: <Pine.LNX.4.10.10005051010300.23503-100000@xanadu.vipswitch.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,
Have someone got any idea about the method to access PCMCIA attribute space .
We tried it using io_p2v but we had segmentation faults.
Regards
Harsha


Nicolas Pitre wrote:

> On Fri, 5 May 2000, Chien-Min Lee wrote:
>
> >
> > >> However, if we use the physical address 0x91xxxxxx, after the
> > >> transform of io_p2v(0x91xxxxxx), it can not get the original physical
> > >> address by io_v2p.
> >
> > >Yes.  All the virtual->physical and physical->virtual macros are only valid
> > >for RAM areas, not general IO.
> >
> >    Does this mean that these two macros are useless!??
> >    What address type(physical or virtual) do we use to access the registers of
> >    peripheral control modules??
>
> You really don't have to bother about virtual or physical location of
> registers.  If you want to clear some GPIOs, simply use
>
>         GEDR |= (1<<x);         /* set GPIO x direction for output */
>         GPCR = (1<<x);          /* set GPIO x low */
>         val = (GPLR & (1<<y));  /* read GPIO y level (zero or not) */
>
> where x and y are your GPIO numbers.  If you want to play with the memory
> control register, simply use MECR like:
>
>         MECR = (MECR & (some_bits)) | some_other_bits;
>
> All those peripheral registers are defined in include/asm/arch/SA-1100.h.
> You should use them and not care about where and how they are mapped.
>
> Nicolas
>
> unsubscribe: body of `unsubscribe linux-arm-kernel' to majordomo@lists.arm.linux.org.uk


--------------B040E6D8652E9B44DE56633F--

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 11:40:33 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12p7RJ-0000pP-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 11:40:33 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 87A2D15E01; Tue,  9 May 2000 12:40:49 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155000AbQEIK2t>;
	Tue, 9 May 2000 06:28:49 -0400
Received: by vger.rutgers.edu id <S154957AbQEIK2f>;
	Tue, 9 May 2000 06:28:35 -0400
Received: from lakdiva.slt.lk ([204.143.96.17]:43258 "EHLO lakdiva.slt.lk")
	by vger.rutgers.edu with ESMTP id <S155070AbQEIKYp>;
	Tue, 9 May 2000 06:24:45 -0400
Received: from obelix.atpos.lk ([203.115.31.220])
	by lakdiva.slt.lk (8.9.1b+Sun/8.9.1) with ESMTP id QAA16570;
	Tue, 9 May 2000 16:32:18 -0600 (GMT)
Received: from sri.atpos.com (192.1.1.25 [192.1.1.25]) by obelix.atpos.lk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id K2G0ZVDY; Tue, 9 May 2000 16:26:28 +0600
Message-ID: <3917E65E.A3027779@sri.atpos.com>
Date:	Tue, 09 May 2000 16:20:14 +0600
From: Harsha Sanjeewa <hsanjeewa@sri.atpos.com>
Organization: MobiNetix
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-6.0.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Nicolas Pitre <nico@cam.org>
Cc: Nandana <nkuruwitage@sri.atpos.com>, linux-arm@vger.rutgers.edu
Subject: Re: [Re: Question aboug hardware.h]
References: <Pine.LNX.4.10.10005081525250.951-110000@xanadu.vipswitch.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi,
I am tring to read the attribute space of PCMCIA using following program.
 Even the card is inserted or not  it gives different reading in different loadings
of the module.Any idea...
-------------------------------------------------------
#ifndef __KERNEL__
#define __KERNEL__
#endif
#ifndef MODULE
#define MODULE
#endif

#include <linux/module.h>
#include <linux/kernel.h>

#include <asm/io.h>


unsigned long driver_start = 0x08000000;
int driver_count = 10;
int driver_i = 0;

MODULE_PARM(driver_start, "i");
MODULE_PARM(driver_count, "i");


int init_module(void) {

    printk("<1> MECR: %x  \n", MECR);
    MECR =  (MECR & (0x00000)) |0x7fe47fff;

    for (driver_i; driver_i < driver_count; driver_i += 1 ) {
        printk("<1> %x : ",PCIO_BASE + driver_start  + driver_i);
        printk("%x \n", inb( driver_start + driver_i));
    }
    return 0;
}

void cleanup_module(void) {
    printk("<1>Clean up module\n");
}
~
-------------------------------------------------------

It really helps me if you can point out the problem with above code.

Regards,
Harsha

Nicolas Pitre wrote:

> On Mon, 8 May 2000, Nandana wrote:
>
> > Date: Mon, 08 May 2000 13:02:06 +0600
> > From: Nandana <nkuruwitage@sri.atpos.com>
> > To: Nicolas Pitre <nico@cam.org>
> > Subject: Re: Question aboug hardware.h
> >
> > Hi,
> > Have someone got any idea about the method to access PCMCIA attribute
> > space .
> > We tried it using io_p2v but we had segmentation faults.
> > Regards
> > Harsha
>
> See linux/arch/arm/mm/mm-sa1100.c.  There you'll find all physical vs
> virtual mappings for all peripherals.
>
> For example, PCMCIA 1 IO space is virtually mapped at 0xe0000000.  Then
> you just need to access memory from that address (simple read or write)
> to
> get the data.
>
> The io_p2v macro is only used for definition inside SA-1100.h.  You
> shouldn't have to use it directly.
>
> Nicolas
>
>   --------------------------------------------------------------------------------
>
> Subject: Re: Question aboug hardware.h
> Date: Mon, 8 May 2000 13:02:06 í­
> From: Nandana Kuruwitage <nkuruwitage@sri.atpos.com>
> To: Nicolas Pitre <nico@cam.org>
>
> Hi,
> Have someone got any idea about the method to access PCMCIA attribute
> space .
> We tried it using io_p2v but we had segmentation faults.
> Regards
> Harsha
>
> Nicolas Pitre wrote:
>
> > On Fri, 5 May 2000, Chien-Min Lee wrote:
> >
> > >
> > > >> However, if we use the physical address 0x91xxxxxx, after the
> > > >> transform of io_p2v(0x91xxxxxx), it can not get the original
> physical
> > > >> address by io_v2p.
> > >
> > > >Yes.  All the virtual->physical and physical->virtual macros are
> only valid
> > > >for RAM areas, not general IO.
> > >
> > >    Does this mean that these two macros are useless!??
> > >    What address type(physical or virtual) do we use to access the
> registers of
> > >    peripheral control modules??
> >
> > You really don't have to bother about virtual or physical location of
> > registers.  If you want to clear some GPIOs, simply use
> >
> >         GEDR |= (1<<x);         /* set GPIO x direction for output */
> >         GPCR = (1<<x);          /* set GPIO x low */
> >         val = (GPLR & (1<<y));  /* read GPIO y level (zero or not) */
> >
> > where x and y are your GPIO numbers.  If you want to play with the
> memory
> > control register, simply use MECR like:
> >
> >         MECR = (MECR & (some_bits)) | some_other_bits;
> >
> > All those peripheral registers are defined in
> include/asm/arch/SA-1100.h.
> > You should use them and not care about where and how they are mapped.
> >
> > Nicolas
> >
> > unsubscribe: body of `unsubscribe linux-arm-kernel' to
> majordomo@lists.arm.linux.org.uk


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 14:50:17 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pAOv-00034D-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 14:50:17 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2AE5415D50; Tue,  9 May 2000 15:50:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155003AbQEINjX>;
	Tue, 9 May 2000 09:39:23 -0400
Received: by vger.rutgers.edu id <S154957AbQEINjG>;
	Tue, 9 May 2000 09:39:06 -0400
Received: from [208.242.241.39] ([208.242.241.39]:1807 "EHLO cvsftp.cotw.com")
	by vger.rutgers.edu with ESMTP id <S155004AbQEINiw>;
	Tue, 9 May 2000 09:38:52 -0400
Received: from cotw.com (IDENT:samcconn@ptecdev2.ptec.com [192.168.10.4])
	by cvsftp.cotw.com (8.9.3/8.9.3) with ESMTP id IAA31433
	for <linux-arm@vger.rutgers.edu>; Tue, 9 May 2000 08:49:55 -0500
Message-ID: <39181740.DA1A60D2@cotw.com>
Date:	Tue, 09 May 2000 08:48:48 -0500
From: S A McConnell <samcconn@cotw.com>
Reply-To: samcconn@cotw.com
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: arch-sa1100 questions.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


I am studying sa1100fb. While following the call chain I discovered that
<asm-arm/arch-sa1100/..> files are not complete. For instance
"__ioremap" is not specified. (Yes, I know there are patches available)

What is so different about the arch-sa1100 that it is not part of the
standard kernel tree? Could it be added or is it a lost cause? and Why?

I ask these questions because I am working on a port to Link-Up Systems
L7200 (ARM720t), which is similar to the strong arm board, and was
wondering if we were going to have the same integration issues.

SAM

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 16:34:15 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pC1X-0003yo-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 16:34:15 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B76FF15D51; Tue,  9 May 2000 17:34:28 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155006AbQEIPWZ>;
	Tue, 9 May 2000 11:22:25 -0400
Received: by vger.rutgers.edu id <S155067AbQEIPWJ>;
	Tue, 9 May 2000 11:22:09 -0400
Received: from POST.ICES.CMU.EDU ([128.2.205.86]:51466 "HELO post.ices.cmu.edu")
	by vger.rutgers.edu with SMTP id <S155106AbQEIPVb>;
	Tue, 9 May 2000 11:21:31 -0400
Received: from VANCOUVER.ICES.CMU.EDU by post.ices.cmu.edu id aa17330;
          9 May 2000 11:31 EDT
Message-ID: <39182F0F.DCF71291@cs.cmu.edu>
Date:	Tue, 09 May 2000 11:30:23 -0400
From: John G Dorsey <john+@cs.cmu.edu>
Organization: Carnegie Mellon University
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.15-2.5.0smp i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Harsha Sanjeewa <hsanjeewa@sri.atpos.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: [Re: Question aboug hardware.h]
References: <Pine.LNX.4.10.10005081525250.951-110000@xanadu.vipswitch.com> <3917E65E.A3027779@sri.atpos.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Harsha Sanjeewa wrote:
> int init_module(void) {
> 
>     printk("<1> MECR: %x  \n", MECR);
>     MECR =  (MECR & (0x00000)) |0x7fe47fff;
> 
>     for (driver_i; driver_i < driver_count; driver_i += 1 ) {
>         printk("<1> %x : ",PCIO_BASE + driver_start  + driver_i);
>         printk("%x \n", inb( driver_start + driver_i));
>     }
>     return 0;
> }

Unless you have some code which deals with this elsewhere, you appear
not to be performing the power-on/reset sequence, so essentially it
doesn't matter whether you have the card physically in the socket or
not. =)

Look in the documentation for your board to see how power control works.
Essentially, you'll want to apply power, wait a little while, apply
power+reset, wait, then apply power only, and wait (at least 20ms, but
in the absence of actually checking the card ready line, just wait a
long time). Now you should be able to read attribute memory.

Some additional notes:

1. You're setting specific MECR fields for slot 1, but leaving slot 0 at
the slowest possible speed. Take a look at Card Services
(http://www.cs.cmu.edu/~wearable/software/pcmcia-arm.html) for a method
to compute the correct values.

2. To permit client driver portability for Card Services, the ISA I/O
macros in the SA-1100 kernel patches no longer apply the PCIO_BASE
offset (2.3.99-pre6-rmk1-np1 and higher, I believe). Be warned.

3. Even after you get this part to work, why rewrite all of the code
that deals with parsing CIS tuples, handling inserts/ejects, &c.?
Consider helping out with Card Services, rather than building a
hardwired driver.

-jd

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 20:33:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pFkz-0006lm-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 20:33:25 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C41DF15D5C; Tue,  9 May 2000 21:33:41 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154987AbQEITIY>;
	Tue, 9 May 2000 15:08:24 -0400
Received: by vger.rutgers.edu id <S155438AbQEISvh>;
	Tue, 9 May 2000 14:51:37 -0400
Received: from cobra.intrinsyc.com ([64.16.10.158]:61907 "EHLO
	panther.winft.com") by vger.rutgers.edu with ESMTP
	id <S155995AbQEISfo>; Tue, 9 May 2000 14:35:44 -0400
Received: from CARDEMOM ([192.168.0.26]) by panther.winft.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id KRZNZ7NH; Tue, 9 May 2000 11:41:48 -0700
Message-ID: <01ad01bfb9e6$c7089bb0$1a00a8c0@cardemom>
From: "Pieter Truter" <ptruter@intrinsyc.com>
To: <linux-arm@vger.rutgers.edu>
Subject: IP Header CRC problems
Date:	Tue, 9 May 2000 11:45:42 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_01AA_01BFB9AC.1A977430"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is a multi-part message in MIME format.

------=_NextPart_000_01AA_01BFB9AC.1A977430
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have ported ARM-Linux to a SA-1110 based board with 16M ram & 16M =
falsh with a Crystal network chip.

I used Linux-2.3.99-pre6 and wrote a device driver for the ether chip =
based on the existing cs89x0 driver.

The problem is that I can ping remote system from my board and the =
remote system reply to the ping. However, the network stack rejects the =
IP packet based on a bad IP header CRC claculated with ip_fast_csum() in =
net/ipv4/ip_input.c.

If I compare the packet on the wire against what I pass up the IP stack, =
it looks the same.

So it appears that my network device driver works OK. I am tracing =
through the network code to find the problem, but I cannot imagine that =
I am the first/only person using the network on an ARM system.

The weird part is that I receive & send all ARP packets perfectly.

I would appreciete any help.

Thanks.

Here is a few screens:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Starting kernel at address c0008000...
Uncompre ............................... done, bLinux version =
2.3.99-pre3-rmk3-np2=20
(ptruter@testlinux) (gcc version 2.95.2 19991024 (release)) #186 Tue May =
9 09:51:13 PDT 2000
Architecture: Intrinsyc Surfboard
On node 0 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Calibrating delay loop... 180.22 BogoMIPS
Memory: 8MB 8MB =3D 16MB total
Memory: 12852KB available (888K code, 442K data, 8K init)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
Starting kswapd v1.6
SA1100 serial driver version 1.2
ttyS0 on SA1100 UART3 (irq 17)
ttyS1 on SA1100 UART1 (irq 15)
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
cerf89x0:cerf89x0_probe()
cerf89x0.c: (kernel 2.3.99) Russell Nelson, Andrew Morton
eth0: cs8900 rev I found at 0xd8000300 , IRQ 11, programmed I/O, MAC =
00:d0:ca:f1:ff:2f
RAMDISK: Compressed image found at block 0
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 8k init

Linux login:


Some Network Screens:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
[root@Linux /root]$ ifconfig
eth0    Link encap:Ethernet  HWaddr 00:D0:CA:F1:FF:2F
          inet addr:192.168.0.232  Bcast:192.168.0.255  =
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0x300

[root@Linux /root]$ arp -av
? (192.168.0.25) at 00:10:4B:33:83:36 [ether] on eth0
Entries: 1      Skipped: 0      Found: 1


------=_NextPart_000_01AA_01BFB9AC.1A977430
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have ported ARM-Linux to a SA-1110 =
based board=20
with 16M ram &amp; 16M falsh with a Crystal network chip.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I used Linux-2.3.99-pre6 and wrote a =
device driver=20
for the ether chip based on the existing cs89x0 driver.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The problem is that I can ping remote =
system from=20
my board and the remote system reply to the ping. However, the network =
stack=20
rejects the IP packet based on a bad IP header CRC claculated with=20
ip_fast_csum() in net/ipv4/ip_input.c.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>If I compare the packet on the wire =
against what I=20
pass up the IP stack, it looks the same.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>So it appears that my network device =
driver works=20
OK. I am tracing through the network code to find the problem, but I =
cannot=20
imagine that I am the first/only person using the network on an ARM=20
system.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The weird part is that I receive &amp; =
send all ARP=20
packets perfectly.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I would appreciete any =
help.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Here is a few screens:</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>=

<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Starting kernel at address =
c0008000...<BR>Uncompre=20
............................... done, bLinux version =
2.3.99-pre3-rmk3-np2=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>(ptruter@testlinux) (gcc version 2.95.2 =
19991024=20
(release)) #186 Tue May 9 09:51:13 PDT 2000<BR>Architecture: Intrinsyc=20
Surfboard<BR>On node 0 totalpages: 2048<BR>zone(0): 2048 =
pages.<BR>zone(1): 0=20
pages.<BR>zone(2): 0 pages.<BR>On node 1 totalpages: 2048<BR>zone(0): =
2048=20
pages.<BR>zone(1): 0 pages.<BR>zone(2): 0 pages.<BR>Calibrating delay =
loop...=20
180.22 BogoMIPS<BR>Memory: 8MB 8MB =3D 16MB total<BR>Memory: 12852KB =
available=20
(888K code, 442K data, 8K init)<BR>Buffer-cache hash table entries: 1024 =
(order:=20
0, 4096 bytes)<BR>Page-cache hash table entries: 4096 (order: 2, 16384=20
bytes)<BR>POSIX conformance testing by UNIFIX<BR>Linux NET4.0 for Linux=20
2.3<BR>Based upon Swansea University Computer Society NET3.039<BR>NET4: =
Unix=20
domain sockets 1.0/SMP for Linux NET4.0.<BR>NET4: Linux TCP/IP 1.0 for=20
NET4.0<BR>IP Protocols: ICMP, UDP, TCP<BR>IP: routing cache hash table =
of 512=20
buckets, 4Kbytes<BR>TCP: Hash tables configured (established 1024 bind=20
1024)<BR>Starting kswapd v1.6<BR>SA1100 serial driver version =
1.2<BR>ttyS0 on=20
SA1100 UART3 (irq 17)<BR>ttyS1 on SA1100 UART1 (irq 15)<BR>pty: 256 =
Unix98 ptys=20
configured<BR>RAMDISK driver initialized: 16 RAM disks of 8192K size =
1024=20
blocksize<BR>cerf89x0:cerf89x0_probe()<BR>cerf89x0.c: (kernel 2.3.99) =
Russell=20
Nelson, Andrew Morton<BR>eth0: cs8900 rev I found at 0xd8000300 , IRQ =
11,=20
programmed I/O, MAC 00:d0:ca:f1:ff:2f<BR>RAMDISK: Compressed image found =
at=20
block 0<BR>NetWinder Floating Point Emulator V0.95 (c) 1998-1999=20
Rebel.com<BR>VFS: Mounted root (ext2 filesystem).<BR>Freeing unused =
kernel=20
memory: 8k init</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Linux login:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Some Network Screens:</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>=

<DIV><FONT face=3DArial size=3D2>[root@Linux /root]$ =
ifconfig</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>eth0&nbsp;&nbsp;&nbsp;&nbsp;Link=20
encap:Ethernet&nbsp; HWaddr=20
00:D0:CA:F1:FF:2F<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; inet=20
addr:192.168.0.232&nbsp; Bcast:192.168.0.255&nbsp;=20
Mask:255.255.255.0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; UP=20
BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp;=20
Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX =
packets:11=20
errors:0 dropped:0 overruns:0=20
frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX =
packets:0=20
errors:0 dropped:0 overruns:0=20
carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
collisions:0=20
txqueuelen:100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

Interrupt:11 Base address:0x300</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>[root@Linux /root]$ arp=20
-av</FONT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>? (192.168.0.25) at 00:10:4B:33:83:36 =
[ether] on=20
eth0<BR>Entries: 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Skipped:=20
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Found: 1</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_01AA_01BFB9AC.1A977430--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 21:29:41 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pGdR-0007NK-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 21:29:41 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B3D0F15DB5; Tue,  9 May 2000 22:29:57 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156574AbQEIUG1>;
	Tue, 9 May 2000 16:06:27 -0400
Received: by vger.rutgers.edu id <S156510AbQEITyq>;
	Tue, 9 May 2000 15:54:46 -0400
Received: from ne.mediaone.net ([24.128.1.70]:54606 "EHLO chmls05.mediaone.net")
	by vger.rutgers.edu with ESMTP id <S155644AbQEITjt>;
	Tue, 9 May 2000 15:39:49 -0400
Received: from brightstareng.com (h0060082e53bb.ne.mediaone.net [24.128.220.79])
	by chmls05.mediaone.net (8.8.7/8.8.7) with ESMTP id PAA00109
	for <linux-arm@vger.rutgers.edu>; Tue, 9 May 2000 15:50:32 -0400 (EDT)
Message-ID: <39186BDE.F68595C7@brightstareng.com>
Date:	Tue, 09 May 2000 15:49:50 -0400
From: Stuart Adams <sja@brightstareng.com>
Organization: Bright Star Engineering Inc.
X-Mailer: Mozilla 4.72 [en]C-MOENE  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: Re: IP Header CRC problems
References: <01ad01bfb9e6$c7089bb0$1a00a8c0@cardemom>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> The problem is that I can ping remote system 
> from my board and the remote system reply to the ping. 
> However, the network stack
> rejects the IP packet based on a bad IP header CRC claculated 
> with ip_fast_csum() in net/ipv4/ip_input.c.

 Had the same problem and as I remember it was because
 ip_fast_csum() assumes that the ip header is aligned on
 a 4 byte boundary but my packets were aligned on a 2 byte
 boundary.

-- Stuart

------------------------------------- 

Stuart Adams
Bright Star Engineering Inc.
19 Enfield Drive
Andover MA 01810 USA
Tel: +1-978-470-8738
Fax: +1-978-470-8878
Email: sja@brightstareng.com
Web: http://www.brightstareng.com/

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 21:57:07 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pH3z-0007bN-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 21:57:07 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BC80815D7B; Tue,  9 May 2000 22:57:19 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155487AbQEIUkm>;
	Tue, 9 May 2000 16:40:42 -0400
Received: by vger.rutgers.edu id <S156488AbQEIURa>;
	Tue, 9 May 2000 16:17:30 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:4225
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S156117AbQEIUFs>; Tue, 9 May 2000 16:05:48 -0400
Date:	Tue, 9 May 2000 16:17:22 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Pieter Truter <ptruter@intrinsyc.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: IP Header CRC problems
In-Reply-To: <01ad01bfb9e6$c7089bb0$1a00a8c0@cardemom>
Message-ID: <Pine.LNX.4.10.10005091607260.8478-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



Beware odd-length packets...


On Tue, 9 May 2000, Pieter Truter wrote:

> I have ported ARM-Linux to a SA-1110 based board with 16M ram & 16M falsh with a Crystal network chip.
> 
> I used Linux-2.3.99-pre6 and wrote a device driver for the ether chip based on the existing cs89x0 driver.
> 
> The problem is that I can ping remote system from my board and the remote system reply to the ping. However, the network stack rejects the IP packet based on a bad IP header CRC claculated with ip_fast_csum() in net/ipv4/ip_input.c.
> 
> If I compare the packet on the wire against what I pass up the IP stack, it looks the same.
> 
> So it appears that my network device driver works OK. I am tracing through the network code to find the problem, but I cannot imagine that I am the first/only person using the network on an ARM system.
> 
> The weird part is that I receive & send all ARP packets perfectly.
> 
> I would appreciete any help.
> 
> Thanks.
> 
> Here is a few screens:
> =================
> 
> Starting kernel at address c0008000...
> Uncompre ............................... done, bLinux version 2.3.99-pre3-rmk3-np2 
> (ptruter@testlinux) (gcc version 2.95.2 19991024 (release)) #186 Tue May 9 09:51:13 PDT 2000
> Architecture: Intrinsyc Surfboard
> On node 0 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> On node 1 totalpages: 2048
> zone(0): 2048 pages.
> zone(1): 0 pages.
> zone(2): 0 pages.
> Calibrating delay loop... 180.22 BogoMIPS
> Memory: 8MB 8MB = 16MB total
> Memory: 12852KB available (888K code, 442K data, 8K init)
> Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
> Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.3
> Based upon Swansea University Computer Society NET3.039
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> IP: routing cache hash table of 512 buckets, 4Kbytes
> TCP: Hash tables configured (established 1024 bind 1024)
> Starting kswapd v1.6
> SA1100 serial driver version 1.2
> ttyS0 on SA1100 UART3 (irq 17)
> ttyS1 on SA1100 UART1 (irq 15)
> pty: 256 Unix98 ptys configured
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> cerf89x0:cerf89x0_probe()
> cerf89x0.c: (kernel 2.3.99) Russell Nelson, Andrew Morton
> eth0: cs8900 rev I found at 0xd8000300 , IRQ 11, programmed I/O, MAC 00:d0:ca:f1:ff:2f
> RAMDISK: Compressed image found at block 0
> NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
> VFS: Mounted root (ext2 filesystem).
> Freeing unused kernel memory: 8k init
> 
> Linux login:
> 
> 
> Some Network Screens:
> =================
> [root@Linux /root]$ ifconfig
> eth0    Link encap:Ethernet  HWaddr 00:D0:CA:F1:FF:2F
>           inet addr:192.168.0.232  Bcast:192.168.0.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:11 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:100
>           Interrupt:11 Base address:0x300
> 
> [root@Linux /root]$ arp -av
> ? (192.168.0.25) at 00:10:4B:33:83:36 [ether] on eth0
> Entries: 1      Skipped: 0      Found: 1
> 
> 


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 22:05:12 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pHBo-0007hf-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 22:05:12 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 639B515D49; Tue,  9 May 2000 23:05:28 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155536AbQEIUmn>;
	Tue, 9 May 2000 16:42:43 -0400
Received: by vger.rutgers.edu id <S155592AbQEIUc1>;
	Tue, 9 May 2000 16:32:27 -0400
Received: from vidar.erilab.com ([208.224.156.104]:1395 "EHLO vidar.erilab.com")
	by vger.rutgers.edu with ESMTP id <S156658AbQEIUNc>;
	Tue, 9 May 2000 16:13:32 -0400
Received: from adsl (eblcl62.erilab.com [192.168.174.202])
	by vidar.erilab.com (8.9.3/8.9.3) with SMTP id NAA19720
	for <linux-arm@vger.rutgers.edu>; Tue, 9 May 2000 13:24:06 -0700 (PDT)
From: "Kourosh Pahlavan" <pahlavan@erilab.com>
To: "Linux-Arm" <linux-arm@vger.rutgers.edu>
Subject: position
Date:	Tue, 9 May 2000 13:23:46 -0700
Message-ID: <NDBBKMJGGLMKMNKIHKNBEEGHCAAA.pahlavan@erilab.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Importance: Normal
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi there,
We have developed a handheld linux communicator that is based on SA-1100 and
SA-1101. This device is in need of a real Linux lover that primarily
develops/ports PCMCIA and Compact Flash device drivers for it. The job is in
Berkeley, California and I'll pay whatever is the right price. The project
is very much created by enthusiastic people for enthusiastic users and right
now, it really needs a enthusiastic system SW developer. Are you interested?
Then  send me an email.

/Kourosh


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 09 23:13:41 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pIG5-0008JJ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 09 May 2000 23:13:41 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4CD3915D54; Wed, 10 May 2000 00:13:57 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156010AbQEIVwj>;
	Tue, 9 May 2000 17:52:39 -0400
Received: by vger.rutgers.edu id <S157000AbQEIVdv>;
	Tue, 9 May 2000 17:33:51 -0400
Received: from cobra.intrinsyc.com ([64.16.10.158]:63982 "EHLO
	panther.winft.com") by vger.rutgers.edu with ESMTP
	id <S156010AbQEIVQ3>; Tue, 9 May 2000 17:16:29 -0400
Received: from CARDEMOM ([192.168.0.26]) by panther.winft.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id KRZNZ73Q; Tue, 9 May 2000 14:22:38 -0700
Message-ID: <022001bfb9fd$3ef807d0$1a00a8c0@cardemom>
From: "Pieter Truter" <ptruter@intrinsyc.com>
To: <linux-arm@vger.rutgers.edu>
Subject: Re: IP Header CRC problems
Date:	Tue, 9 May 2000 14:26:32 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_021D_01BFB9C2.928559B0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is a multi-part message in MIME format.

------=_NextPart_000_021D_01BFB9C2.928559B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I just solved my problem.

The packet addr was not 4 byte aligned.
By adding a skb_reserve(..,2) after allocating it, solved the problem.

Thanks

  ----- Original Message -----=20
  From: Pieter Truter=20
  To: linux-arm@vger.rutgers.edu=20
  Sent: Tuesday, May 09, 2000 11:45 AM
  Subject: IP Header CRC problems


  I have ported ARM-Linux to a SA-1110 based board with 16M ram & 16M =
falsh with a Crystal network chip.

  I used Linux-2.3.99-pre6 and wrote a device driver for the ether chip =
based on the existing cs89x0 driver.

  The problem is that I can ping remote system from my board and the =
remote system reply to the ping. However, the network stack rejects the =
IP packet based on a bad IP header CRC claculated with ip_fast_csum() in =
net/ipv4/ip_input.c.

  If I compare the packet on the wire against what I pass up the IP =
stack, it looks the same.

  So it appears that my network device driver works OK. I am tracing =
through the network code to find the problem, but I cannot imagine that =
I am the first/only person using the network on an ARM system.

  The weird part is that I receive & send all ARP packets perfectly.

  I would appreciete any help.

  Thanks.

  Here is a few screens:
  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

  Starting kernel at address c0008000...
  Uncompre ............................... done, bLinux version =
2.3.99-pre3-rmk3-np2=20
  (ptruter@testlinux) (gcc version 2.95.2 19991024 (release)) #186 Tue =
May 9 09:51:13 PDT 2000
  Architecture: Intrinsyc Surfboard
  On node 0 totalpages: 2048
  zone(0): 2048 pages.
  zone(1): 0 pages.
  zone(2): 0 pages.
  On node 1 totalpages: 2048
  zone(0): 2048 pages.
  zone(1): 0 pages.
  zone(2): 0 pages.
  Calibrating delay loop... 180.22 BogoMIPS
  Memory: 8MB 8MB =3D 16MB total
  Memory: 12852KB available (888K code, 442K data, 8K init)
  Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
  Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
  POSIX conformance testing by UNIFIX
  Linux NET4.0 for Linux 2.3
  Based upon Swansea University Computer Society NET3.039
  NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
  NET4: Linux TCP/IP 1.0 for NET4.0
  IP Protocols: ICMP, UDP, TCP
  IP: routing cache hash table of 512 buckets, 4Kbytes
  TCP: Hash tables configured (established 1024 bind 1024)
  Starting kswapd v1.6
  SA1100 serial driver version 1.2
  ttyS0 on SA1100 UART3 (irq 17)
  ttyS1 on SA1100 UART1 (irq 15)
  pty: 256 Unix98 ptys configured
  RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
  cerf89x0:cerf89x0_probe()
  cerf89x0.c: (kernel 2.3.99) Russell Nelson, Andrew Morton
  eth0: cs8900 rev I found at 0xd8000300 , IRQ 11, programmed I/O, MAC =
00:d0:ca:f1:ff:2f
  RAMDISK: Compressed image found at block 0
  NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
  VFS: Mounted root (ext2 filesystem).
  Freeing unused kernel memory: 8k init

  Linux login:


  Some Network Screens:
  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
  [root@Linux /root]$ ifconfig
  eth0    Link encap:Ethernet  HWaddr 00:D0:CA:F1:FF:2F
            inet addr:192.168.0.232  Bcast:192.168.0.255  =
Mask:255.255.255.0
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:11 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:100
            Interrupt:11 Base address:0x300

  [root@Linux /root]$ arp -av
  ? (192.168.0.25) at 00:10:4B:33:83:36 [ether] on eth0
  Entries: 1      Skipped: 0      Found: 1


------=_NextPart_000_021D_01BFB9C2.928559B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I just solved my problem.<BR><BR>The =
packet addr=20
was not 4 byte aligned.<BR>By adding a skb_reserve(..,2) after =
allocating it,=20
solved the problem.<BR><BR>Thanks<BR></FONT></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A href=3D"mailto:ptruter@intrinsyc.com" =
title=3Dptruter@intrinsyc.com>Pieter=20
  Truter</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
  href=3D"mailto:linux-arm@vger.rutgers.edu"=20
  title=3Dlinux-arm@vger.rutgers.edu>linux-arm@vger.rutgers.edu</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, May 09, 2000 =
11:45=20
AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> IP Header CRC =
problems</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>I have ported ARM-Linux to a SA-1110 =
based board=20
  with 16M ram &amp; 16M falsh with a Crystal network chip.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I used Linux-2.3.99-pre6 and wrote a =
device=20
  driver for the ether chip based on the existing cs89x0 =
driver.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>The problem is that I can ping remote =
system from=20
  my board and the remote system reply to the ping. However, the network =
stack=20
  rejects the IP packet based on a bad IP header CRC claculated with=20
  ip_fast_csum() in net/ipv4/ip_input.c.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>If I compare the packet on the wire =
against what=20
  I pass up the IP stack, it looks the same.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>So it appears that my network device =
driver works=20
  OK. I am tracing through the network code to find the problem, but I =
cannot=20
  imagine that I am the first/only person using the network on an ARM=20
  system.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>The weird part is that I receive =
&amp; send all=20
  ARP packets perfectly.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I would appreciete any =
help.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Here is a few screens:</FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>=

  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Starting kernel at address=20
  c0008000...<BR>Uncompre ............................... done, bLinux =
version=20
  2.3.99-pre3-rmk3-np2 </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>(ptruter@testlinux) (gcc version =
2.95.2 19991024=20
  (release)) #186 Tue May 9 09:51:13 PDT 2000<BR>Architecture: Intrinsyc =

  Surfboard<BR>On node 0 totalpages: 2048<BR>zone(0): 2048 =
pages.<BR>zone(1): 0=20
  pages.<BR>zone(2): 0 pages.<BR>On node 1 totalpages: 2048<BR>zone(0): =
2048=20
  pages.<BR>zone(1): 0 pages.<BR>zone(2): 0 pages.<BR>Calibrating delay =
loop...=20
  180.22 BogoMIPS<BR>Memory: 8MB 8MB =3D 16MB total<BR>Memory: 12852KB =
available=20
  (888K code, 442K data, 8K init)<BR>Buffer-cache hash table entries: =
1024=20
  (order: 0, 4096 bytes)<BR>Page-cache hash table entries: 4096 (order: =
2, 16384=20
  bytes)<BR>POSIX conformance testing by UNIFIX<BR>Linux NET4.0 for =
Linux=20
  2.3<BR>Based upon Swansea University Computer Society =
NET3.039<BR>NET4: Unix=20
  domain sockets 1.0/SMP for Linux NET4.0.<BR>NET4: Linux TCP/IP 1.0 for =

  NET4.0<BR>IP Protocols: ICMP, UDP, TCP<BR>IP: routing cache hash table =
of 512=20
  buckets, 4Kbytes<BR>TCP: Hash tables configured (established 1024 bind =

  1024)<BR>Starting kswapd v1.6<BR>SA1100 serial driver version =
1.2<BR>ttyS0 on=20
  SA1100 UART3 (irq 17)<BR>ttyS1 on SA1100 UART1 (irq 15)<BR>pty: 256 =
Unix98=20
  ptys configured<BR>RAMDISK driver initialized: 16 RAM disks of 8192K =
size 1024=20
  blocksize<BR>cerf89x0:cerf89x0_probe()<BR>cerf89x0.c: (kernel 2.3.99) =
Russell=20
  Nelson, Andrew Morton<BR>eth0: cs8900 rev I found at 0xd8000300 , IRQ =
11,=20
  programmed I/O, MAC 00:d0:ca:f1:ff:2f<BR>RAMDISK: Compressed image =
found at=20
  block 0<BR>NetWinder Floating Point Emulator V0.95 (c) 1998-1999=20
  Rebel.com<BR>VFS: Mounted root (ext2 filesystem).<BR>Freeing unused =
kernel=20
  memory: 8k init</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Linux login:</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Some Network Screens:</FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT></DIV>=

  <DIV><FONT face=3DArial size=3D2>[root@Linux /root]$ =
ifconfig</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>eth0&nbsp;&nbsp;&nbsp;&nbsp;Link=20
  encap:Ethernet&nbsp; HWaddr=20
  =
00:D0:CA:F1:FF:2F<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
  inet addr:192.168.0.232&nbsp; Bcast:192.168.0.255&nbsp;=20
  =
Mask:255.255.255.0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
  UP BROADCAST RUNNING MULTICAST&nbsp; MTU:1500&nbsp;=20
  Metric:1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RX=20
  packets:11 errors:0 dropped:0 overruns:0=20
  frame:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TX =
packets:0=20
  errors:0 dropped:0 overruns:0=20
  carrier:0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  collisions:0=20
  =
txqueuelen:100<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

  Interrupt:11 Base address:0x300</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>
  <DIV><FONT face=3DArial size=3D2>[root@Linux /root]$ arp=20
  -av</FONT></DIV></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>? (192.168.0.25) at 00:10:4B:33:83:36 =
[ether] on=20
  eth0<BR>Entries: 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Skipped:=20
  0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Found: 1</FONT></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_021D_01BFB9C2.928559B0--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 00:13:36 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pJC4-0000KG-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 00:13:36 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4209615D54; Wed, 10 May 2000 01:13:53 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155214AbQEIWuW>;
	Tue, 9 May 2000 18:50:22 -0400
Received: by vger.rutgers.edu id <S156422AbQEIWkY>;
	Tue, 9 May 2000 18:40:24 -0400
Received: from p21-robin-gui.tch.enablis.net ([194.168.180.81]:1525 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S156444AbQEIWUB>; Tue, 9 May 2000 18:20:01 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id XAA19069;
	Tue, 9 May 2000 23:23:24 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id XAA02214;
	Tue, 9 May 2000 23:22:14 +0100
Message-Id: <200005092222.XAA02214@raistlin.arm.linux.org.uk>
Subject: Re: IP Header CRC problems
To: ptruter@intrinsyc.com (Pieter Truter)
Date:	Tue, 9 May 2000 23:22:13 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <01ad01bfb9e6$c7089bb0$1a00a8c0@cardemom> from "Pieter Truter" at May 09, 2000 11:45:42 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Pieter Truter writes:
> The problem is that I can ping remote system from my board and the
> remote system reply to the ping. However, the network stack rejects the
> IP packet based on a bad IP header CRC claculated with ip_fast_csum() in
> net/ipv4/ip_input.c.

Can you provide statistics and a packet dump of an incorrect packet please?

> So it appears that my network device driver works OK. I am tracing =
> through the network code to find the problem, but I cannot imagine that =
> I am the first/only person using the network on an ARM system.

No you are not, and I don't see any problems here with IP header checksums:

sturm, my 2.3.99-pre6 test box:
uname -a
Linux sturm 2.3.99-pre6 #735 Sat May 6 13:56:28 BST 2000 armv4l unknown

uptime:
 11:18pm  up 2 days,  9:47,  1 user,  load average: 0.00, 0.00, 0.00

/proc/net/snmp:
Forwarding		2
DefaultTTL		64
InReceives		85980
InHdrErrors		0
InAddrErrors		0
ForwDatagrams		0
InUnknownProtos		0
InDiscards		0
InDelivers		81768
OutRequests		72176
OutDiscards		0
OutNoRoutes		0
ReasmTimeout		0
ReasmReqds		83
ReasmOKs		29
ReasmFails		0
FragOKs			0
FragFails		0
FragCreates		1081

This machine has been talking (NFS) to other ARM Linux based machines,
as well as an x86 Linux laptop, and the net without problems.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 01:44:39 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pKcB-0000oP-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 01:44:39 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 257A215D4E; Wed, 10 May 2000 02:44:56 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154992AbQEJAdg>;
	Tue, 9 May 2000 20:33:36 -0400
Received: by vger.rutgers.edu id <S154940AbQEJAdR>;
	Tue, 9 May 2000 20:33:17 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:4451
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S154935AbQEJAc7>; Tue, 9 May 2000 20:32:59 -0400
Date:	Tue, 9 May 2000 20:44:30 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: S A McConnell <samcconn@cotw.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: arch-sa1100 questions.
In-Reply-To: <39181740.DA1A60D2@cotw.com>
Message-ID: <Pine.LNX.4.10.10005092027160.10403-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Tue, 9 May 2000, S A McConnell wrote:

> 
> I am studying sa1100fb. While following the call chain I discovered that
> <asm-arm/arch-sa1100/..> files are not complete. For instance
> "__ioremap" is not specified. (Yes, I know there are patches available)

__ioremap is actually defined in linux/arch/arm/mm/ioremap.c which is part
of the standard kernel.

> What is so different about the arch-sa1100 that it is not part of the
> standard kernel tree? Could it be added or is it a lost cause? and Why?

The latest SA1100 patches are available from
ftp.netwinder.org/users/n/nico.  Many parts of it are being merged into
the main kernel while some other parts aren't ready yet.

> I ask these questions because I am working on a port to Link-Up Systems
> L7200 (ARM720t), which is similar to the strong arm board, and was
> wondering if we were going to have the same integration issues.

Don't hesitate to ask on the list for coments about integration issues you
might encounter.  Probably you won't be able to reuse SA1100 specific code
though.



Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 03:09:02 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pLvq-0001Np-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 03:09:02 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2B3C115D62; Wed, 10 May 2000 04:09:16 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155003AbQEJB5x>;
	Tue, 9 May 2000 21:57:53 -0400
Received: by vger.rutgers.edu id <S155022AbQEJB5f>;
	Tue, 9 May 2000 21:57:35 -0400
Received: from ms4.hinet.net ([168.95.4.40]:43092 "EHLO ms4.hinet.net")
	by vger.rutgers.edu with ESMTP id <S155003AbQEJB5Z>;
	Tue, 9 May 2000 21:57:25 -0400
Received: from server.animeta.com (www.animeta.com [211.75.26.90])
	by ms4.hinet.net (8.8.8/8.8.8) with ESMTP id KAA02062;
	Wed, 10 May 2000 10:08:03 +0800 (CST)
Received: from animeta.com (IDENT:sthsu@midway.animeta.com [192.168.1.134])
	by server.animeta.com (8.9.3/8.9.3) with ESMTP id KAA20965;
	Wed, 10 May 2000 10:08:04 +0800
Message-ID: <3918C78A.7B293386@animeta.com>
Date:	Wed, 10 May 2000 10:20:58 +0800
From: Shang-te Hsu <sthsu@animeta.com>
X-Mailer: Mozilla 4.7 [zh_TW] (X11; I; Linux 2.2.15 i686)
X-Accept-Language: zh-TW, en
MIME-Version: 1.0
To: Harsha Sanjeewa <hsanjeewa@sri.atpos.com>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: [Re: Question aboug hardware.h]
References: <Pine.LNX.4.10.10005081525250.951-110000@xanadu.vipswitch.com> <3917E65E.A3027779@sri.atpos.com>
Content-Type: multipart/mixed;
 boundary="------------00522DBD48CE06CEF9956CC6"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

łoŹO MIME ŽćŚĄŞşŚh¤ůŹqślĽóĄC
--------------00522DBD48CE06CEF9956CC6
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Harsha,

I guess you forget open the power of PCMCIA slot.
The attached file is a test program I wrote several month ago.
It can read CIS and dump to screen.
Just make and download bootimage to board. 
Hope it is useful.


Regards,

Shang-te Hsu.
Harsha Sanjeewa źgšDĄG
> 
> Hi,
> I am tring to read the attribute space of PCMCIA using following program.
>  Even the card is inserted or not  it gives different reading in different loadings
> of the module.Any idea...
--------------00522DBD48CE06CEF9956CC6
Content-Type: application/x-gzip;
 name="brutus_test.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="brutus_test.tar.gz"

H4sIANWwGDkAA+RbbW/bSJKer9O4H9EIBhgbkDW28+KZBAucYsuJdh3ZK8mTyacBRbYkTihS
yybt6N/fU1XdZFOSk73DzuIOZ0zGttisrq7Xp6rL/Z/mZV3V9vfK2Oqn7/6Ur9PTF6cXL1/i
+9nF84sLfOcv/11+vjg7fXV2fnHx/Py707Pzl+dn3+mXfw473a/aVlGp9Xe2Wtn6K+vKoqj+
Hfz8m7/6Hf1/iD6bRZqZf+0ep2enp69evHhS//iQ9f/y4uLi/OI51r84wzJ9+q9l4/DX/3P9
X17+JSrXJ1ma119OlnGsBtPgg8iqm6vg9yxRk8H4ZvQ2+KyM8iydKyy8vhm8m+q/6JNZZb5U
+vTLz1CuPjH6d5NX5VZdTieXeEwCr36P11Ga92NtTZlG2e8xftzE6ziN6LN6XvZjdXn79q87
64t2feHXF7K+UGoabNCfuqX9qZoGhBoS9EKUZa/1HJpN19HSKNX8+Fp/NmVuMvV9e9Bi/kdc
bLb65FbP0zwq8dNE9/OiMvxDXKzXOKc+mbp39Q//qZT8+Fr/cESnOcZ3YuZYff/D0c0V/erE
dqxPCrzgn/v1SvXv3t+Oh691nJkoV4q/vVbfl2t9smhZb7bcef2b+u/6/7u7mz/Bxtj/X4X+
H8aBF88R9n38f/XyBcX/589PX/0v8/9vPf8/+vX99xpf78b3+t1wPJwMbvTd/dub0aXGv+F4
OlSyAF+/mtKmRa7Pe/qvdW702S+/nCmlL+ESZbpcVfro8hgf/vxLjx/p69IYPS0W1WNUGn1d
1HkSVSDQ06M87it9+OvlL3pm1pvM6Lssik1PT+sUDgaD6Om3ha3o/Q8DrU/Pz87OTs6en15o
fT8dKD18MOW2AF+p1RtTrtOqMomuCs0+G+WJTlJblem8BjmsnYOZNT1MjVW6WOhqhTezNDa5
NTop4pq8uaexXserKF+m+VKnFZGHy2tEjuLRJH0FAbGE7koTrecZgojWs5XxlKxeFKVeg3Nt
vSzoX2JsusyFwwpZV0eP0VZvi7pUCwguKdb0xK54PZhnFnC4qq/12y34RkSNLPirsBerz+Sm
jDJ9V8+xtbpxBwG7aV6ZPJGtlnWEeF1BM7SV/tpW9Ex5nk9OsGRNfNoay2jT5jjYgtbyQSEW
8Gh1jRhr+ySJ1Koua9qzFm02GYRPm7N8WAemazeqtZsfbSDBnE8T5Vtd4J1Sb8piWUZr/bgq
iHJdrYrSagrJUFlVqNqK+sDS0bRYG/faUzbaOVxcwFwgvvlWeWHfpPOSEsATJ0tzW5ko6R9r
/amodRzlfNitFmZY9I5jCw0WRZ+s5uPK5PoRgt2Y6DNJg6XqOenRI+KoNAtTlnQcSMApsEc2
qTYl9scJb0H+MGd2z/ZCnUYVWYVaRQ+i4cA6At8Rl9njTx852ymXbAqK/Qlm8ICtdbog0vox
tavjXrMVzhKb9IGI1GVMpBNopmSBLQ18rVL+RRgtfg1epTXOUjvWiNdhfBo8xsIlEcl1bh6F
Xy/3N2JEntznvHhs6CYF0bREGXK2rJ1ZQa9WJq7EdTjmWdZKbgJZloYkFZMVWSEPYczTRMFY
KTyRME3Oru42EUrEOJm0/SyPCNWUJTluyQeUVX01k3c6u8ClbRZVTDw2ZQWkRCs2eJjO0yyt
UheHiLJIVB3UaCjJHnHkxL8uknRB5suiuMYD8yWiKN3zKw6Ss3W80pEXOWS1MuR2Cr9VKZ+Y
Y4ZeGBDifZCN9TJ19gfrSEEqh3AorrRSYLmSG2my1b54Gb+7Y854ZcsO1mtMLTAvPFWB5YHO
ACbR8GFXMAmsWXtjQFahGMRUxWDwU1oqrxryYXPISmD31UpXj9BpZTb2tT46O+a8JImzK3WY
pTo6P4b84OfOTILM9LhKIVSSkeWHmVnCzTnjWc7PLuX1Qg2D5k+chliN4X7M9SCzkBDpwkSk
MQ6fiLfuKESVnAUHEoNnb/QG7wxOscCNz8I1GS6gVZ7YRhUSTvMC75eUhba8JZ+uk2ygiNFi
L8cw8ynHYXy+NrSLyawkg01kLR4ROng0ykULG1oQ2HUqAzOP3jjYgHxOpx0LqATgPuthDzkS
JRkIAql9zbm0LJI6FjY4iZB2YZ1EAKE5I9WTFgJayuWjH7FgU1ecYcRcrulxtu3xJmF4Ipaq
FSAFUjf2QronWVZIIXx6lxw39LiiPAu7o9jKEeShSBPeP6HoWMqJkcC8OVBmhHNGIvQmc9Ih
0jxJH9KkJqZ0MedAIps0eAYen2sD24zZ2zgPrVoy+I40ZICpt30XNGETZC5QMxsPS3wdJQRm
uKpxHEIE7kDifvMGQyVims60fnRwg6I8Pia5N+siBmZ9j8E2pP/Gczk/FTihRE2iSY6CE/Ta
8OVsXYm1xYIGFgWhvb76D/VNuIyns+Hkw1QPxlf68nZ8NZqNbsdTfX07wa93n0bjdz19NZrO
JqO39/SIF364vRpdjy4H9AExf9pn5HQIKjlzZGHjBIJjHovys4sMhAyhNqsiEg3l3g0BabZX
Moo27KyKjJKLjbYO2q6BQCH1Nm4kqm7yj8jQ4+TD8KIvYn92J/w9A3o2EFxPMWZp2Oe0EJyB
uOe4B5t8xkeZR+LNvLOnptYofa02KR85eEI0iC5YTR+gMdgXUxHm2wNn0eNr8emUecHJsa2s
dWJz5tyhrDdFyWbAYKKnHANNDUEnoPgemoz1IbfJzQnFDjo/a0xl8M0ahTsB0veIjAgEC4i4
17xAGzJ4j7OawDttUdRk64C07nGuvGb0s3D3Z4Q8hxTKnWdwiIuSBKCA3cTqZ8gdz+AoA4T3
BwEIhZMrAaun/KJzSAaTBDxbhCzW4czhjYRYRmV1ZVN2eWRQUPemElG0XKiyzvdE74KyRzom
6TnExtQQRxEGinX4igrAepET3F7whqRbzgEcRtOKM6LeMzTldz5CGDQbgl45VyWIWMTc3ACf
c+DCOQ9wfNxXHwXg6MbIyprgNtGytIvPO80hk8JIJjjrC4iJtv9MweqxmiPzow1xDKk3BNcE
m9OcPWSNLFADiMH5EOZNi38ViWaTxnVR20x2R8zhWA7bxScbcnQkGByCMYJjMlylWk9zkccd
Is6idA2pgGmf+d/oz8ZsyCXIAhy6U/Ka9RmL8A+Vx51IKJUfHT6aW5NjF8plOFtDWtEaBpFt
fRgAga7oYAh8FB/Y3D4qygpoV3BbuxqqarQklQ6DV4djEGpXWwvnyJxdizP7ck12EoC3dVQi
hxOLjYswdOYGHgX4i5LuF1+Ze9DMlnPeWo7Dd0xRTlUeNhgfMV1kUxLZsKLmvLgWdp8MxT2X
S8VOQ6DJob0bCF2A1wdSydQd7kxFc/jtAbuEaQBwr40RI5FTWBPk8deKW0nRcVsExFFtpYJo
MCNdanDMjyFbFizOSO7tTI5pWIqr7NO+xmR5S8wRCj4CJVRtOcOTVX3hY77HB9smCaAhG8gL
wnGe5UpbxHQi84jkzE8ZgJVVk9b5Myupjs61EwKdYpkGv8ewu1hQEdRBVIgRkdslIil4e6YU
xd6YlklDhQzoKSTgU78cPz720L0RvU/0OeyKcSVQbSK9Ga4OqD1VRpSGEGfc4RFoEWCDmlBE
STbKD7mTD9o+CpNHkOnx6wFBBolp7hiiHlOZSOv+MeLCENylFORLUgqAEhm02FOeFzWiC7f0
JQmzU3Qinj4Y8SIm4D54uvY5IkyL+qXnEVhjH84LhI/mheO2YcHdNfb4ANaLxXtps7qYwq7D
uDRqssznLyKnudgt9ENqHndiIlNpEd7R8EtsOFy9pgTbSdmVNdnC9xy9DsAbk6Bcxym9sQQR
vnQJ8o7IexLEOhHIn2YfIfyjTktpwQjFHWL9YyB33zfhtWtpKnBPzmWTxl55z9Y9uBhVKWEB
PI9QBmprXOOFBUTlJL8iYOhJ1+xxXqLew5z4iGyRgxq3cgkalYwQW9xBi62B95Gd0QbW4b01
ZPxAdVhFnhD6oGiWEA+7aI/6WNyrbs9ZILU17LMr7QQk7ndEdmdrajrXVfOC2jE6G60DqeBt
Dj1cY0qIkdIktZ2konaTCgfWEHC6pCU0fFHo3vJRSHUlIA3gth0idZ6AAA+GUUN8oZa4U70i
1ZZuGw8ya84W0g7BB1x8yrFKs4zKBMmA9Y+X9COlaWmOzfBiL7gmIE65/141AdPJiZMRAaOg
/8dA1VYqbB1hmVR3Jd1oAAUws9IIwLo3GlpaceHQbsXljTJfTCnlr2+cSW+IWhjZQWEHBVRR
As5l1M3w5ZQ9CAVw5lFOpUUqdztrinTRcklS8mRdzSPnIKkcIqR2sRYHSP7wK0jkmH6P9EOR
1dTUX6DqtVVR0o2oxPT2fIJ92yg0L338C7iTsMk2TVXKwSz3/OtQffcIu9xTCSnJ1MOf82PK
UcX8D+qp+B44tBfXFccbQmQH8q+aeo87Yx7ONaOop0AUggG1zJxPSUsDEmjx0yBGTt4QXIH9
NtqgzzLDua6UnjInwjU8AwjqhJI5MSkAqi1Ces7nvdcGTYWvIEHJNd3jsIKd8mJQK9ZRmcL+
a98YapuElHQEjb2BCHsNIts/WdT4E0Punn6IslTIQWYZonPF/Tc519ZEJV/UtGUFAyQOCNue
A+QOQeV0nSUN6Fwu9BgYuRsuXyFQ9jOlx9pOcKG99jgLi+yZwq7Egxy9q5yOHhj4SQL+53Tw
tPzlJP8DHcRPWVeakwgkUgQ1K+NTl5hZQZL7d+6hnjgyYRTunkUZeMklnjkY465tpT2w4PZh
zoMbiJQo2/baHb6NQEmP3m/4C7HWt52Xz9sA1KixOirLIZdS2jt6Ws99dpiL9AFdCLl0LsgW
bVCRjpjwwteCoo51kzlpEV3GuU5ttzKDPPlG9JqLhpBp6cg1ri+7K95dtvT3MXt84XNsUlOt
lLZVCyq7rLZcmUTWFnHqG2JwgYgM3yzSPJVeK9VZbr3E4TLdyI0yJWzl8xcxl7o+GcMe6pBn
WRQCh/ZEOOV7KP6BhE7YTtmNYY0bD2Z7e+cJ3YWv+ChruH4c3ebx5WDT6mlAbfjaEZXt0i50
lCEjGR5SpKfj1hPW0R+MANawaEanR3JC4liGewSaWArjx+6ECjmqlKLVbm0F6MZNJgq83fNT
pQSp1jnjFua52Uo52B45D+VGc1d6SPKLPbQQUCeIFXgA3da4PhkbOvhToM5bu4EMRseRu4pm
a9jIvAejWv+WJriO0Exc7hDYsz4PtxmMMjE8qBnnW3UIVnaiJF1SED6ul6sgtqfuxlyanOsN
iqZgqCQgstMuCoRBtwZav2gxA1mRNIKkXdOj8bXM49cQtXSwhBJLJes1XzbUyOUCyqV6H84D
qEK3mdRgglVsKsUY55HRYPHk9k/vTvGT7pXEBvmuKKopDVQumVEWSUmRnXvPA2ypxg+9gAlC
86VQE1ylZ8XC8NfsrF7KEB6hBT3B5v7NTy6kZTt+0zDGrsNqovKGYrFnAPUgXXThv0WdSWTJ
0gjFI8O9l6I6X96F1SaZ5KbaqcFsSk1JfznNpuPGLTjYNscnUMwmTneYSyrxpW3bvcp1LT2E
8CcUQ/2gyu7efcjsDVW8ka/KSr6kW6XztJJWfRY9Nrf3rlDcP4/QQXIp6G56vpWLMe5XdAD2
TvP+yDUYn2yyH0tzhy4c48ZqZP/INXU7Oq4YwNI1NXUc/ZjRf+diTzhu2Fc7Qtwpcdyow6u+
3KNU6do4gPI1qP+NE1fhUMOOAznjpxLZe6MPacpfJLsnMikiTtztJQYX/J4veDfHooqus80T
l6F+hMKFpxSZwXUuF3XJ91WdgRNXg7VN9R91U2y64OoCANs1RLHiK66+6nqSm1ARlITKFv+P
SU+tB7orpSAc8zl2KrKLvh4tJLFzOwUu2twMUBJA1f5HnSy5lycgJahO5c5ZAYlSxjF+0cLp
098fUL9GH8lt8zp1s4XuvhruWht73FOBFTIYZjmyIZDtHLn5FzqUcAXkx4gE5bLfuI3Uxz5P
06gf3KRySL/ZYsdHenLdJr5M6YKan7RvkxqffldGLtz8E70e9vQLh8YtTe3AvGy6rjO4qZHL
IrnAQA5ZOlzZRn0VXtsE03oGuuT2e/CaS/17SiTo7Q3zCd9z1/77k0mR124zPVPUmQA5mRHV
ZbFFmbA94ZGCwLkDnOB3QfAT2FvwGE7RXLC5K5YEaSGmEQ1u2ze/oYxkVIFzyBE58nBh4UY+
yRjAlRfvHEIi8CyNqDDP8bI5BUO6US8paTXtIFbyV9gXDBdc+uw1pPDjymSEpKUYpkm6XJzS
MMqT1MskyBnjOosQadMyrteWo7ZEuHmUtSHchOSDSVQlTUl/n+IXBdcSO5OrboAyFxNS4bZ0
gzrqtNw2dckR7EDPDZqpXX7m38Trg+kT245VUKMfprp13TNu1/lBPderk8ZBWm3dbZDibras
fNPdfBW5ioZOF3Dob/ncJA0delk6ipUbw2wL7I6KBfT3mv6qSsn0KZJIit/IeIa3/g235Elg
Wn9gPZqCRq2bkRy1pLkOuLVEHbdNU4o/0hV+yXeQNN23x5JJlLd2Dl2uJuFpRBfPi1wa3pYD
J8+1xEHNFgEs8UtvXBO13jTXvTxE9VNS5KKABNkn4clSHrXSdsU2Q2CQ03unWdDw6vlrg5Fj
UsZPmnkJFwZdJpRAvCpSxoSzHa8JzZRH4ohR2oW6+zzg9OiKxDnEYB7EAeZmP1tJVrXVXnjm
IuLnvr9c2+1T/OSmXnciVmqD8Qm6PvDDoVwYlRS0XHVKttJa/3zb3myFdbrE6BaO7M0SUVTk
0st2+NgvAziiR0kifQcyAqh7aWj5ZsU36J0jBkMvyGtyF6ckEDdH6cloZlR1X+38OYC0c3IG
AWuUAqoVhISO2roNTEIpMZfLqTiS7BrEYoD8Ah5MVySWA3rAIvwcVukbjO76cV4ke1MGDF5+
6fMkzJOj6CQpP31RmoeUb29F5TTU/CB/lmGV0/0TI+mCAQjFkjvhO443pbOFNNh5yDCR4VMK
7uDdbtKSx9Z9m8mS47o35M8jiEPgThpdwAuJgYllHOJl4Ii3aCYo5ZoDhsgjkAyuHTFSFfVX
qd9IKoSOaxya4qJfkdfruSnb+VBfG3M3Z8HV+s7avUJCQmUwUOcy7TMK3jSoVXoKz3ptFccp
289otM3zoIHaBdR+SMzfEHqmitJPDXS28gpux/TIHNQBc9g7e3uhIULYHhLBziXZtplhKTzO
969QbXqYm0N/kyGjS6d9Dx79DGrgHYwV9uZPeBZO4m84hWrd/V3Hg3dAtVga3xGTi5luflBu
hp7ge1tJO2jYZIHmPjIMc9+Q/M52T/nrG/4TjmJtyMms4nzQNBltM/Hs/kyDkhjLnXsY8DyY
fNLyQiPjyyLK2LvZ98oHb3YCCxByahnnxfttE4A/8n/h0/m7GaFUrIumZqe//JHZhgQBxqWR
5pWlxJNs2/6p0/hWfxxMJoPx7BPr/6yv3w4vB/fToZ69H+q7ye27yeCDHk39VOyVvp4Mh/r2
Wl++H0zeDXu0bjKkFSEtmpENCGDVLf8+/G02HM/03XDyYTSbgdrbT3pwdwfig7c3Q30z+Ahp
Dn+7HN7N9Mf3w7G6JfIfR+BnOhvQC6Ox/jgZzUbjd0yQBnEno3fvZ/r97c3VcMLTuj9hd35R
3w0ms9FwqsDHr6Or7qGeDaZg+5n+OJq9v72fNczT4QbjT/pvo/FVTw9HTGj4291kOMX5FWiP
PoDjIR6Oxpc391c8CPwWFMa3M8gJJwOfs1sWjV/rqYMZ0FcfhhPIbzwbvB3djLAlTQ5fj2Zj
bMHzxQPh/PL+ZoBD3E/ubqdD6t+QCEEEAp+Mpn/Tg6lygv37/aAhBOmCxofB+JIVtaNIOq7+
dHtPWQPnvrmiBcovIEEN9dXweng5G/0K9WIltpnefxg6eU9nLKCbGz0eXoLfweSTng4nv44u
SQ5qMrwbjCB+mpGeTIjK7Vhiy3mflAcrGf5KNnA/vqHTToZ/v8d5DlgC0Ri8+6/2jrSpbST7
WfoVvVC12EYQyRcGJ9QacAY2ELKYZMLuTjE+ZHDiay07gZrJf993dLeklgxMhhyTUlcIovt1
v9br18e7WsBtSMzIuNs/HwFyHCFz8B2qAgXh4F8AG52Kk8YFO2ZfSPaAbmrP7ThXAFOE3NnY
O0Ua7EF/jqhb0BEkCA7RQeOk8VOz5diaCQi1dCZ3ROtVc/8IH6AcWA/G+pipArPoX69xFCFD
NiIaMJz4asiHcshwDiKvvVQ8ArjNeZkLcRv8h3xxfNpCZgMk5w1BPYbfe02EPmu+BHrRdGrs
778+g6mFEFgDetN6DZPt6CUNio3vS7P56OxAzSeis3jeODp+fZbgMcB8CiTEJonX9IAoJmvl
HeIBcfQcUO0fytETsVl7IQ5hKPaaANY4eHOEKw/jsWEutI4kTU5lC5KOtLBR8Cm8H8GnOPCj
7z+CHLKbVIOkUdawntP+D5kXuOC+hMOO3OUC5GC5M/ZgYx1OprA5y9NQ6EcZiW+TXnpys7yi
+I9gboMMwmqyRaD3HxbtpMSNIgMqE0gnfY0iBh962M+d9qDB3I7vBbwH6oAddEyKKTcjoaDa
WKzUhyoiTqlk5/O2NDmFRyPtzKtOjqyGAIqQKBS0+/hq2GNde6SAyb+PbExYIm0saBnUwaIc
gcI+g3BA+ODfSpsVHN4DeUwLnY3JhQebojaCa1Kk0MFOWfvpDL+ijwMrcJ4fS7WVmE5IAiJX
HPLkoxddsNGBohtxXwciSSfIp0hPqq88BiIEWIPDGlqouOkOyB59AVt+m52J2sQF5BW+S22Z
4dW3t9A+NYB7Ph15dhkrSaWR8KHYaNd1bGNsjPnsG4aGsf/kPN3ZMy3OOPTLDmKnRu2rt/yY
FIZRcFi5QnIcmsKolVzcRzqfPD1vphMgaoiVQtg1+vTMJZXVkQsmFQymw84iIM6orR2XILW9
13X8hTQUknJ3SP6CyqETjtnYhLlLA3EfsEm3fOISW4cXLRHjaKgohhelrEC+OqrVo1wdulHE
vESWNyydIyJGzJCWdZRmgdPvOgBTfTPG3/nsaH7bxpBEUhBEPURQicbrLzkWcJAlnpV9dFSb
TcbwQhwNCEd/WPYGQ9Z6xpw1Ys6pjlocVUxJG+k40/68w8F7Xkpt8n0EOFqaAg6oiLm5wgzy
pTPVT2M4X3/gg73i7+q2kzaZ41M5UbsLgoQMH23stU6P4eBxfBE9NNeJJSQ3iPkt8PevFLj6
cW0znBXmchBuPLQT+EPEg3Q1VgdqQYZRadWRksbqUXTdtWhHNtlr5fp2ijIembhCh2/VP+qD
ri3ZVwXdxgJLYiLk0tCz0z5ZVaQhJMRHVuMAFZy3qNtAcxsZg0FEI+VCJO4ptWsyjImV9DT9
O749mkCTG13owXvSaYz88QII5o+CjQ1cxkmODhYDNurqcH8ZQCJflvzyMBKZQHCiTG6hWk4F
vWtPZFl75M/ygsO4Z3aA0vuQzRxjdmZHOzPG0IV6uTD6ZiUMUlGHj0HfHmOUfMDBmofSSb2N
LhQwZ+vsQEV1kE051OJicjvp3Y59NcVxQ+zcakTsGhR2gGYIHk/kCiyRQ0O/Rvh8DW1j5C4I
szHgaN5ASCcV9IEJ8lqfBsj+ib0Rh+3ue39GK+BT9iLBuG/gkvNbmGmT8a4jPDiozQZDupYE
Tyxc4OBlHcFAhXe9AQ6SSt0lq65WsUijUajeQP6Jji8pNuxIEKy+b0Bb2GbRpahNdxdN0DyN
iw3dKqH1M7ZyDafgTFz1easiyyP3BE4Z5NgVxRhRqgfaJcWWjSv9ES8KH5WHqIro7sFpTgXP
pFx0YadfdJHUa37ra22y9MAUv/8Jff5Hm9ePjOO++9/U/X94/1vJ9fD+p61Kdv/bV0nG+Msb
2B4Xxz3jDyNfNsa/7BWL2fh/jbQqHVrFCpqhJ5vXK3Yki5eDFZt8/2zmjkv01M3l7d9si6K3
nMH5ZNoaTuZvJsN5+8p3BnuT+XwyimTVbWsxVk5wUKdw44jCYD8onflXTmHwito9h1NK3YZG
OV88E7l4pbxwb7wa8wwBhvXSgdsE6tUAfSEO7N6Uen4ff7ChAHJUd/DvBLBbq5Xxh7DG3xYQ
B+LvCIOp5Lr53V1EmCRCDBIAEdIrEn7YpOHskzOazus70n7TT2iJxN7vJO5Pk/ciUgDcJRzh
cysbGxuspqoIbFFrYgALhsH2xH/HK/l6oiFFCfH7M+7sNhNclVudmd9+Xze7VHxgl95uvpXd
eYk2q8UU3VHI4T/AEJ7SZkm8iXdMInB3EjneHyIDNf1nCFGJE8KgAzBTezGc79iWlegEWk5W
Xo/Ji4ZcF9gr1SfL7wcebjqfL+nSJ9vWz5pbEhz2pRiGEd1BKoNS22qOqvLvh2X+JMfcSwmT
FBWTFH+MaYR4ENfIbu2H3YpyjhXvU9ktc5/Ek4JoYusoQDSkrV6asSnEorNASytILoUntvVz
ezA/Qd+awEcVQK6Yryearrm1sOkDH6U4DkEXZ81W85zkU5CuUptzob1VkGVdy2zVw/ODarXF
3I+XBhTl2Czr3ao/7oGI+ym+e+E5x+PtS+8YhakzELQSJ3jBvUFyWtPYDkO7y7bLhMTFHjeQ
aT2sv5h3L6/9m1xuIHZ3RbGcp4X/+fP8Uhivej9M7S6QQUpZ+BrMFZ8SlDAIgSFsSA1U7NR5
fx847xx2skECxenA4EiMkt6XU5C3JiCoz0VRNOZStcTdgdHOFabibzRTvDysWimVX+2f7B81
eMqhCE6Kdvk67DsP1T5eo14/x21YpJaSI2IhEs5ANP1+HtdiOQutBBUL07yRnVsTa5Q3XX9W
xN9EC938ZzQQ75FX4U5bOJFz75659XdPmdzv1tcdrCPLLUkurKWyUvFY2MfxfDBe+PznJ7M6
kiGlhegLLG2bG4uWqRpYEg7JA15oKepUzNR82jopmRsKPy1n0OIDGNTLGDRj0C/MoLAbyeW3
txhN05ffcOVN7DwhQ4eSEL/HAN5j8NSD/9bXuf+R1yu68t1k0dI3S3uxe9/pW8uwWfr8FNf/
nDUbByfNx8aR1P/E9ECuV67q73941S3U/1W9ynem//lB739nFxbtfmm480ccAZbbjjdBOG2h
o8jG3BeHwcImUv2jPR6M/Hkbv4uQrRDfbTL0v6wDfGQc9+n/q15C/+uWvrf5/4Pqf/EmpNlY
0J3B0c0fDxqwv6cV6zOAPIykQ6mTxfKGSI+MGUZxzx+2b/WRxyg0Bf07wbqzyd1gUY12Sk+i
gvLdxV5q+WJ+OfR7l+yGnwOyGQBYOOn3Vd1vMf7x+a++mPO4OO6Z/16xWkraf7L5/1WStakC
2VY28atNK7a1eTWcdGCXj0xTnRkVEGw7ArEjlMrRGk0+WLOKs0oqMkq21e71MI+zy5w37M2s
WdX5D2d63V9sazKjLPi3ynaSLkHCYmNAmrXLZuUyox33wqw+pC34MdsrY3PJTguj19W0XtdM
vF5Kh2txBLV0qnicR3DUVM1sx/0lWpxAU44Ve1sp3birejdWXFxWPO06w5keeuSDnQe/nLdj
kK+IrzQP5oS0bFsd/3+W15GoXT3g5Rjubz1lfqiUtv7jx9geE8c9638JP/ZorP/l8vf2/a8f
dP2/5/xnk4k/cvDry1NfZ9F3+D51qZPqj+aO0CfCz6oH0udVQBqxmT9fQK9cNFnE1ho6Usa1
YVOqQY/dOjygvmyK5hJpdXH7oY091yX9FxsDd0w1qMv6LqV7JSgvAeWlQBUTUMUUqFICqpQC
VU5AlVOgKgmoSgpUNQFVTYHaSkBtpUDVElC1FKjtBNR2GlWTxG+ngSWp30kDS5K/mwaWpH8v
DSw5AH4aWHIE+nEwNL0iN04zNszY8Fuy4adwCTVkdwGP4fJZmDpdZXuQlgcor2vrlTSFsQmh
GzNgddls47aT9oUcZSesC5Db49zp+jr9jtqEcO7EwLvSQrVuvFFoxFbdpldpQ+/W3q5FbPrs
tcbWkly9zv1MmjW8YrvT2Ht78W9ogu53QV3o+EpaO+KmFra/oL0Fu//XNIYY5z/+cu4j47hP
/ndT/H+33Oz89zXSKl296lut88b+i8u90/Pz0xMLZe99FoKfFMQQL0NWd3lM+sKripM99LqR
dTG4/OzCslhi92St/mAG1criBULaWs1gmWoGS34c2ubfsJpBZb41Z+Zf4T1BM3bxIRmzDPJg
RNyMSKzycSt8rIWP2+Gj50aevchzEZ8Je7v3jr7/N2933+vgT9WFYOqsRollRzrcCcJ7gRCe
hN2y8+zyEkouaXLJzApk+uNetP8gHGuJu/wLicPd0RTrzyogGQ99lIwJWQCn4ykelhf8HQMi
MOS/G00F3WSpAkywDx0r8v1sgnt5en7WbOwfNg+gPGX+q09zPxqP3af/L1Urev5Xi5DvVYpu
Nv+/Skrx/2YnsVBxnbLH0jYIm2h8R3RvPC90P7BM9Tfv9qzd96RnAW7kIc8xEmPDJqdAmDZm
f+oaUv0tHf6smJ96Xf+twP5ye/SXTMb8X3Rmjx398QD9/1bV3P+r5Uz//1WS2sNPW/tnUT9m
pQf3XL3Nnx+dNDFy/YVVtm3YbmgmY1znCA1tG2xpo92IFpBlJjgGh0zDB1cMMd5ihh1RzsiG
zy0W1a1IneGb9pDkBX5AiSTZyLrIKYwF/Qr5iFSTrPL0mWxa0HJhvOxwOFjyskmzJIOrlzVJ
ogoLeGhKojKRxA2jsjjScIiefxnNqg9cqWvBcnQnnIuu5e7Nc/qSynHzQGNLWi9lRdN3OuGk
Rv5pNZjzyD5Qik59CunvHErhsesa94x0fYh60u9r9Mo2StiMvqA9IVvIs5SlLGUpS1nKUpay
lKUsZSlLWcpSlrKUpSxlKUtZWpr+D3TIPgoAoAAA
--------------00522DBD48CE06CEF9956CC6--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 15:54:22 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pXsU-0006ZA-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 15:54:22 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 851B815E47; Wed, 10 May 2000 16:54:40 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155223AbQEJOly>;
	Wed, 10 May 2000 10:41:54 -0400
Received: by vger.rutgers.edu id <S155157AbQEJOih>;
	Wed, 10 May 2000 10:38:37 -0400
Received: from cobra.intrinsyc.com ([64.16.10.158]:62798 "EHLO
	panther.winft.com") by vger.rutgers.edu with ESMTP
	id <S155321AbQEJOgL>; Wed, 10 May 2000 10:36:11 -0400
Received: from CARDEMOM ([192.168.0.26]) by panther.winft.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id KRZNZ7S0; Wed, 10 May 2000 07:42:25 -0700
Message-ID: <004401bfba8e$8006e0c0$1a00a8c0@cardemom>
From: "Pieter Truter" <ptruter@intrinsyc.com>
To: <linux-arm@vger.rutgers.edu>
References: <Pine.LNX.4.10.10005092116540.16061-100000@xanadu.gn.com>
Subject: Re: IP Header CRC problems
Date:	Wed, 10 May 2000 07:46:18 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

To clear things up:

I got this explanation from Alexander Shulz: (He had the same problem long
ago)

On the arm, it is important, that the ip header is on a 32 bit boundry.

My problem was a missing skb_reserve(skb, 2); in the receiver code. The skb
is allocated on a 32bit-boundry, the ethernet header is 14 bytes long.
This statement moves the ethernet header to byte 2 of the skb, so that the
ip-header starts at byte 16, thus 32bit alligned. You must create the skb
with 2 bytes more of course.






unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 16:11:35 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pY99-0006hd-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 16:11:35 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1240A15DA5; Wed, 10 May 2000 17:11:54 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155072AbQEJPAD>;
	Wed, 10 May 2000 11:00:03 -0400
Received: by vger.rutgers.edu id <S155121AbQEJO7n>;
	Wed, 10 May 2000 10:59:43 -0400
Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]:39000 "EHLO
	dfw7-1.relay.mail.uu.net") by vger.rutgers.edu with ESMTP
	id <S155266AbQEJO6y>; Wed, 10 May 2000 10:58:54 -0400
Received: from xedia.com by dfw7sosrv11.alter.net with SMTP 
	(peer crosschecked as: madway.xedia.com [198.202.232.199])
	id QQiooy24581;
	Wed, 10 May 2000 15:09:35 GMT
Received: from tonga.xedia.com by xedia.com (4.1/SMI-4.1)
	id AA26544; Wed, 10 May 00 11:06:13 EDT
Received: by tonga.xedia.com (SMI-8.6/SMI-SVR4)
	id LAA28661; Wed, 10 May 2000 11:09:34 -0400
From: Paul Koning <pkoning@xedia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14617.31662.302956.916362@xedia.com>
Date:	Wed, 10 May 2000 11:09:34 -0400 (EDT)
To: ptruter@intrinsyc.com
Cc: linux-arm@vger.rutgers.edu
Subject: Re: IP Header CRC problems
References: <Pine.LNX.4.10.10005092116540.16061-100000@xanadu.gn.com>
	<004401bfba8e$8006e0c0$1a00a8c0@cardemom>
X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>>>>> "Pieter" == Pieter Truter <ptruter@intrinsyc.com> writes:

 Pieter> To clear things up: I got this explanation from Alexander
 Pieter> Shulz: (He had the same problem long ago)

 Pieter> On the arm, it is important, that the ip header is on a 32
 Pieter> bit boundry.

I would call that a bug, if it is true.

 Pieter> My problem was a missing skb_reserve(skb, 2); in the receiver
 Pieter> code. The skb is allocated on a 32bit-boundry, the ethernet
 Pieter> header is 14 bytes long.  This statement moves the ethernet
 Pieter> header to byte 2 of the skb, so that the ip-header starts at
 Pieter> byte 16, thus 32bit alligned. You must create the skb with 2
 Pieter> bytes more of course.

Unfortunately, that solution is not going to work in many cases.

The most obvious reason is that many (probably most) Ethernet DMA
engines require 4-byte aligned receive starting addresses.  If you
offset the receive address by 2 bytes, either they will not work at
all or the offset is simply ignored.

Another reason is that, in a more general protocol stack, you cannot
know ahead of time how many bytes of header there are.  So you may
find that your "plain old" IP traffic is naturally aligned, but some
random tunneled or bridged case then is forced to an odd boundary.

It is just barely possible to build into protocol stacks an assumption
that everything is aligned to even (multiple of 2) boundaries.  That's
about as good as you can do, and to do this you have to refuse PPP
header compression.  (Then again, that's wise anyway, it's an absurd
feature.)  In general, you have *no* chance of forcing 4 byte
alignment on incoming traffic.

	  paul

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 21:42:59 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pdJr-000154-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 21:42:59 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4593115D43; Wed, 10 May 2000 22:43:18 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155053AbQEJUbn>;
	Wed, 10 May 2000 16:31:43 -0400
Received: by vger.rutgers.edu id <S155022AbQEJUbZ>;
	Wed, 10 May 2000 16:31:25 -0400
Received: from blazie.com ([207.97.93.2]:14781 "EHLO blazie.com")
	by vger.rutgers.edu with ESMTP id <S155053AbQEJUbJ>;
	Wed, 10 May 2000 16:31:09 -0400
Received: from localhost (localhost [127.0.0.1])
	by blazie.com (8.9.2/8.8.7) with ESMTP id QAA08356
	for <linux-arm@vger.rutgers.edu>; Wed, 10 May 2000 16:42:12 -0400 (EDT)
Date:	Wed, 10 May 2000 16:42:12 -0400 (EDT)
From: Chris Blazie <chris@blazie.com>
To: linux-arm@vger.rutgers.edu
Subject: ramdisk setup?
Message-ID: <Pine.LNX.4.04.10005100911480.32691-100000@blazie.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


	I've become kind of stuck in the boot process somewhere after the
ramdisk apparently gets mounted.  In fixup_sa1100 I have:

                SET_BANK( 0, 0xc0000000, 64*1024*1024 );
                SET_BANK( 1, 0xc8000000, 64*1024*1024 );        
                mi->nr_banks = 2;    


                ROOT_DEV = MKDEV(RAMDISK_MAJOR,0);
                setup_ramdisk( 1, 0, 0, 8192 );                         
                setup_initrd( __phys_to_virt(0xc0400000), 3*1024*1024 );
}

	But it stops as shown below.  I'm using Nicolas's ramdisk_img.gz.
I tried setting init->bash but it's apparently not getting that far.

	Does this setup look correct?

	Also, I want to make the ramdisk live in flash when everything
else comes up okay.  What is required to make a ramdisk in flash get
mounted properly?

Thanks,
Chris  


Linux version 2.3.99-pre3-rmk3-np2 (root@cassius) (gcc version 2.95.2
20000212 (re0
Architecture: Blazie Engineering Sherman
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Calibrating delay loop... 124.52 BogoMIPS
Memory: 64MB 64MB = 128MB total
Memory: 124616KB available (596K code, 414K data, 8K init)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.6
SA1100 serial driver version 1.2
ttyS0 on SA1100 UART3 (irq 17)
ttyS1 on SA1100 UART1 (irq 15)
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RAMDISK: Compressed image found at block 0
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 8k init


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 22:20:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pdtr-0001KT-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 22:20:11 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 252E115DDE; Wed, 10 May 2000 23:20:30 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155357AbQEJVH7>;
	Wed, 10 May 2000 17:07:59 -0400
Received: by vger.rutgers.edu id <S155209AbQEJVDx>;
	Wed, 10 May 2000 17:03:53 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:1281
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155207AbQEJVA0>; Wed, 10 May 2000 17:00:26 -0400
Date:	Wed, 10 May 2000 17:11:17 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Chris Blazie <chris@blazie.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: ramdisk setup?
In-Reply-To: <Pine.LNX.4.04.10005100911480.32691-100000@blazie.com>
Message-ID: <Pine.LNX.4.10.10005101658100.11513-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Wed, 10 May 2000, Chris Blazie wrote:

> 
> 	I've become kind of stuck in the boot process somewhere after the
> ramdisk apparently gets mounted.  In fixup_sa1100 I have:
> 
>                 SET_BANK( 0, 0xc0000000, 64*1024*1024 );
>                 SET_BANK( 1, 0xc8000000, 64*1024*1024 );        
>                 mi->nr_banks = 2;    

Do you really have that amount of ram?
You might try with:

                SET_BANK( 0, 0xc0000000, 16*1024*1024 );
                mi->nr_banks = 1;

just to see if it makes a difference (besides the amount of ram of
course).

> 	But it stops as shown below.  I'm using Nicolas's ramdisk_img.gz.
> I tried setting init->bash but it's apparently not getting that far.

Be sure you have /dev/console as a chrdev with major 5 minor 1, not a
symlink to /dev/ttyS0.  If for example your ttyS0 isn't the serial port on
which boot messages are sent, you might well be running a shell in the
air.

> 	Also, I want to make the ramdisk live in flash when everything
> else comes up okay.  What is required to make a ramdisk in flash get
> mounted properly?

Either you make your bootloader copy the ramdisk from flash to ram before
booting the kernel, or you modify the kernel to grab the initrd data
directly from Flash (no bootmem allocation, no page freeing at the end,
etc.)

Alternately you could use my flash block driver (if you use Intel flashes)
and boot directly on the Flash.



Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 22:47:07 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12peJv-0001Uz-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 22:47:07 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id E47C715DF3; Wed, 10 May 2000 23:47:25 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155157AbQEJVfP>;
	Wed, 10 May 2000 17:35:15 -0400
Received: by vger.rutgers.edu id <S155151AbQEJVes>;
	Wed, 10 May 2000 17:34:48 -0400
Received: from p34-magpie-gui.tch.enablis.net ([194.168.180.34]:1854 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155203AbQEJV3v>; Wed, 10 May 2000 17:29:51 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id VAA22877;
	Wed, 10 May 2000 21:29:23 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id VAA00524;
	Wed, 10 May 2000 21:28:11 +0100
Message-Id: <200005102028.VAA00524@raistlin.arm.linux.org.uk>
Subject: Re: IP Header CRC problems
To: pkoning@xedia.com (Paul Koning)
Date:	Wed, 10 May 2000 21:28:11 +0100 (BST)
Cc: ptruter@intrinsyc.com, linux-arm@vger.rutgers.edu
In-Reply-To: <14617.31662.302956.916362@xedia.com> from "Paul Koning" at May 10, 2000 11:09:34 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Paul Koning writes:
> >>>>> "Pieter" == Pieter Truter <ptruter@intrinsyc.com> writes:
>  Pieter> On the arm, it is important, that the ip header is on a 32
>  Pieter> bit boundry.
> 
> I would call that a bug, if it is true.

True, and its a historic bug of the Linux kernel, not the ARM architecture
in the way it handles the packets.  It is just wrong if you read any C
standard.  (the use of structs to represent external data is fraught
on architecture independent applications).

> Unfortunately, that solution is not going to work in many cases.

This is the exact reason why we have the kernel alignment trap handler.
Ok, so it makes the processing of these packets slow, but at least it
works.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 10 23:19:04 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12peoq-0001rh-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 10 May 2000 23:19:04 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 78FE515DA4; Thu, 11 May 2000 00:19:22 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155249AbQEJWEw>;
	Wed, 10 May 2000 18:04:52 -0400
Received: by vger.rutgers.edu id <S155203AbQEJWEg>;
	Wed, 10 May 2000 18:04:36 -0400
Received: from thalia.fm.intel.com ([132.233.247.11]:1826 "EHLO
	thalia.fm.intel.com") by vger.rutgers.edu with ESMTP
	id <S155249AbQEJWAJ>; Wed, 10 May 2000 18:00:09 -0400
Received: from SMTP (fmsmsxvs01-1.fm.intel.com [132.233.42.201])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.28 2000/05/06 00:07:11 dmccart Exp $) with SMTP id WAA09808;
	Wed, 10 May 2000 22:11:40 GMT
Received: from fmsmsx17.intel.com ([132.233.48.17]) by 132.233.48.201
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Wed, 10 May 2000 22:10:51 0000 (GMT)
Received: by fmsmsx17.fm.intel.com with Internet Mail Service (5.5.2448.0)
	id <KFHBZT74>; Wed, 10 May 2000 15:10:50 -0700
Message-ID: <3D33CF40366DD111AC4100A0C96B22AC0870B464@fmsmsx34.fm.intel.com>
From: "Naik, Uday" <uday.naik@intel.com>
To: "'Chris Blazie'" <chris@blazie.com>, linux-arm@vger.rutgers.edu
Subject: RE: ramdisk setup?
Date:	Wed, 10 May 2000 15:10:49 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

My guess is the serial port is the culprit. 
Check out drivers/char/serial_sa1100.c. 
Put the console (for printk's etc) on a 
different port than the one on which you
are launching the getty/login process.
The SA1100 driver hardcodes the console port
based on the machine. 

Uday


---

All opinions expressed are mine and do not reflect those of my employer.




-----Original Message-----
From: Chris Blazie [mailto:chris@blazie.com]
Sent: Wednesday, May 10, 2000 1:42 PM
To: linux-arm@vger.rutgers.edu
Subject: ramdisk setup?



	I've become kind of stuck in the boot process somewhere after the
ramdisk apparently gets mounted.  In fixup_sa1100 I have:

                SET_BANK( 0, 0xc0000000, 64*1024*1024 );
                SET_BANK( 1, 0xc8000000, 64*1024*1024 );        
                mi->nr_banks = 2;    


                ROOT_DEV = MKDEV(RAMDISK_MAJOR,0);
                setup_ramdisk( 1, 0, 0, 8192 );                         
                setup_initrd( __phys_to_virt(0xc0400000), 3*1024*1024 );
}

	But it stops as shown below.  I'm using Nicolas's ramdisk_img.gz.
I tried setting init->bash but it's apparently not getting that far.

	Does this setup look correct?

	Also, I want to make the ramdisk live in flash when everything
else comes up okay.  What is required to make a ramdisk in flash get
mounted properly?

Thanks,
Chris  


Linux version 2.3.99-pre3-rmk3-np2 (root@cassius) (gcc version 2.95.2
20000212 (re0
Architecture: Blazie Engineering Sherman
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Calibrating delay loop... 124.52 BogoMIPS
Memory: 64MB 64MB = 128MB total
Memory: 124616KB available (596K code, 414K data, 8K init)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.6
SA1100 serial driver version 1.2
ttyS0 on SA1100 UART3 (irq 17)
ttyS1 on SA1100 UART1 (irq 15)
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RAMDISK: Compressed image found at block 0
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 8k init


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for
++
++                        kernel-related discussions.
++


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 11 02:47:31 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pi4Z-0003ZQ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 11 May 2000 02:47:31 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 40F6315E18; Thu, 11 May 2000 03:47:50 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155268AbQEKBgM>;
	Wed, 10 May 2000 21:36:12 -0400
Received: by vger.rutgers.edu id <S155253AbQEKBfy>;
	Wed, 10 May 2000 21:35:54 -0400
Received: from blazie.com ([207.97.93.2]:20870 "EHLO blazie.com")
	by vger.rutgers.edu with ESMTP id <S155259AbQEKBfp>;
	Wed, 10 May 2000 21:35:45 -0400
Received: from localhost (localhost [127.0.0.1])
	by blazie.com (8.9.2/8.8.7) with ESMTP id VAA13505;
	Wed, 10 May 2000 21:46:53 -0400 (EDT)
Date:	Wed, 10 May 2000 21:46:53 -0400 (EDT)
From: Chris Blazie <chris@blazie.com>
To: Nicolas Pitre <nico@cam.org>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: ramdisk setup?
In-Reply-To: <Pine.LNX.4.10.10005101658100.11513-100000@xanadu.vipswitch.com>
Message-ID: <Pine.LNX.4.04.10005102138200.13302-100000@blazie.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


> >                 SET_BANK( 0, 0xc0000000, 64*1024*1024 );
> >                 SET_BANK( 1, 0xc8000000, 64*1024*1024 );        
> >                 mi->nr_banks = 2;    
> 
> Do you really have that amount of ram?

	On this daughterboard, yes.  But it's possible that not all of it
is properly enabled; I am only cautiously optimistic that all of our SDRAM
problems are solved.

> You might try with:
> 
>                 SET_BANK( 0, 0xc0000000, 16*1024*1024 );
>                 mi->nr_banks = 1;
> 
> just to see if it makes a difference (besides the amount of ram of
> course).

	Good idea, but no luck when I tried it.  Can you tell me where
(roughly) in the source I'm getting stuck?  I think I can track down the
problem if I can figure out where it's supposed to be going at that point.

Thanks,
Chris


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 11 03:34:06 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pine-0003tD-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 11 May 2000 03:34:06 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 49A4615E18; Thu, 11 May 2000 04:34:24 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155022AbQEKCWr>;
	Wed, 10 May 2000 22:22:47 -0400
Received: by vger.rutgers.edu id <S155003AbQEKCW2>;
	Wed, 10 May 2000 22:22:28 -0400
Received: from modemcable248.137-200-24.mtl.mc.videotron.net ([24.200.137.248]:64016
	"EHLO xanadu.gn.com") by vger.rutgers.edu with ESMTP
	id <S155173AbQEKCWJ>; Wed, 10 May 2000 22:22:09 -0400
Received: from localhost (nico@localhost)
	by xanadu.gn.com (8.9.3/8.9.3) with ESMTP id WAA20380;
	Wed, 10 May 2000 22:56:38 -0400
X-Authentication-Warning: xanadu.gn.com: nico owned process doing -bs
Date:	Wed, 10 May 2000 22:56:38 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
X-Sender: nico@xanadu.gn.com
To: Chris Blazie <chris@blazie.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: ramdisk setup?
In-Reply-To: <Pine.LNX.4.04.10005102138200.13302-100000@blazie.com>
Message-ID: <Pine.LNX.4.10.10005102251130.20308-100000@xanadu.gn.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Wed, 10 May 2000, Chris Blazie wrote:

> 
> > >                 SET_BANK( 0, 0xc0000000, 64*1024*1024 );
> > >                 SET_BANK( 1, 0xc8000000, 64*1024*1024 );        
> > >                 mi->nr_banks = 2;    
> > 
> > Do you really have that amount of ram?
> 
> 	On this daughterboard, yes.  But it's possible that not all of it
> is properly enabled; I am only cautiously optimistic that all of our SDRAM
> problems are solved.

Better try to be absolutely sure you solved them...  otherwise anything
can happen.

> > You might try with:
> > 
> >                 SET_BANK( 0, 0xc0000000, 16*1024*1024 );
> >                 mi->nr_banks = 1;
> > 
> > just to see if it makes a difference (besides the amount of ram of
> > course).
> 
> 	Good idea, but no luck when I tried it.  Can you tell me where
> (roughly) in the source I'm getting stuck?  I think I can track down the
> problem if I can figure out where it's supposed to be going at that point.

Place some printk()'s through the kernel until you find something.  For a
starter, look in linux/init/main.c at the very bottom and see if execution
reaches the call to execve() and so on.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 11 04:15:15 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12pjRT-0004M7-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 11 May 2000 04:15:15 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6E0D515E77; Thu, 11 May 2000 05:15:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155252AbQEKDDo>;
	Wed, 10 May 2000 23:03:44 -0400
Received: by vger.rutgers.edu id <S155211AbQEKDDj>;
	Wed, 10 May 2000 23:03:39 -0400
Received: from lakdiva.slt.lk ([204.143.96.17]:37419 "EHLO lakdiva.slt.lk")
	by vger.rutgers.edu with ESMTP id <S155270AbQEKDCp>;
	Wed, 10 May 2000 23:02:45 -0400
Received: from obelix.atpos.lk ([203.115.31.220])
	by lakdiva.slt.lk (8.9.1b+Sun/8.9.1) with ESMTP id JAA23864;
	Thu, 11 May 2000 09:12:16 -0600 (GMT)
Received: from sri.atpos.com (192.1.1.25 [192.1.1.25]) by obelix.atpos.lk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id K4B81DCY; Thu, 11 May 2000 09:05:36 +0600
Message-ID: <391A21FD.8C40EB1B@sri.atpos.com>
Date:	Thu, 11 May 2000 08:59:09 +0600
From: Harsha Sanjeewa <hsanjeewa@sri.atpos.com>
Organization: MobiNetix
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-6.0.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Nicolas Pitre <nico@cam.org>
Cc: linux-arm@vger.rutgers.edu
Subject: mm-sa1100.c
References: <Pine.LNX.4.10.10005081525250.951-110000@xanadu.vipswitch.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> Hi,
>
> See linux/arch/arm/mm/mm-sa1100.c.  There you'll find all physical vs
> virtual mappings for all peripherals.

In this file there is no physical to virtual mapping for 0x18000000 for Brutus board,
which is  used to
apply power to PCMCIA adaptor. So we insert it to to above file and it worked. Is
this should be done
or is there is another way to do it

Regards,
Harsha


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 11 14:41:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12ptDS-0001XY-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 11 May 2000 14:41:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4C3D515DC0; Thu, 11 May 2000 15:41:46 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154967AbQEKN3a>;
	Thu, 11 May 2000 09:29:30 -0400
Received: by vger.rutgers.edu id <S154904AbQEKN3P>;
	Thu, 11 May 2000 09:29:15 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:1735
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S154973AbQEKN1H>; Thu, 11 May 2000 09:27:07 -0400
Date:	Thu, 11 May 2000 09:36:08 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Harsha Sanjeewa <hsanjeewa@sri.atpos.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: mm-sa1100.c
In-Reply-To: <391A21FD.8C40EB1B@sri.atpos.com>
Message-ID: <Pine.LNX.4.10.10005110935320.13602-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Thu, 11 May 2000, Harsha Sanjeewa wrote:

> > Hi,
> >
> > See linux/arch/arm/mm/mm-sa1100.c.  There you'll find all physical vs
> > virtual mappings for all peripherals.
> 
> In this file there is no physical to virtual mapping for 0x18000000 for Brutus board,
> which is  used to
> apply power to PCMCIA adaptor. So we insert it to to above file and it worked. Is
> this should be done
> or is there is another way to do it

There is other ways too, but this is the good one.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 11 14:46:39 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12ptIV-0001al-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 11 May 2000 14:46:39 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id CF11715D74; Thu, 11 May 2000 15:46:58 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154973AbQEKNem>;
	Thu, 11 May 2000 09:34:42 -0400
Received: by vger.rutgers.edu id <S154889AbQEKNe0>;
	Thu, 11 May 2000 09:34:26 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:1753
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S154976AbQEKNeO>; Thu, 11 May 2000 09:34:14 -0400
Date:	Thu, 11 May 2000 09:43:18 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Harsha Sanjeewa <hsanjeewa@sri.atpos.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: mm-sa1100.c
In-Reply-To: <391A21FD.8C40EB1B@sri.atpos.com>
Message-ID: <Pine.LNX.4.10.10005110942430.13602-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Thu, 11 May 2000, Harsha Sanjeewa wrote:

> > Hi,
> >
> > See linux/arch/arm/mm/mm-sa1100.c.  There you'll find all physical vs
> > virtual mappings for all peripherals.
> 
> In this file there is no physical to virtual mapping for 0x18000000 for Brutus board,
> which is  used to
> apply power to PCMCIA adaptor. So we insert it to to above file and it worked. Is
> this should be done
> or is there is another way to do it

There is other ways too, but this is a good one.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 09:28:53 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qAoX-00067O-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 09:28:53 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 207FA15DA0; Fri, 12 May 2000 10:29:14 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155374AbQELIQj>;
	Fri, 12 May 2000 04:16:39 -0400
Received: by vger.rutgers.edu id <S155277AbQELIQY>;
	Fri, 12 May 2000 04:16:24 -0400
Received: from rodin.krdl.org.sg ([192.122.139.27]:4254 "EHLO krdl.org.sg")
	by vger.rutgers.edu with ESMTP id <S155369AbQELIOz>;
	Fri, 12 May 2000 04:14:55 -0400
Received: from mailhost.krdl.org.sg (mailhost [192.122.134.30])
	by krdl.org.sg (8.9.3/8.9.3) with ESMTP id QAA22294;
	Fri, 12 May 2000 16:33:48 +0800
Received: from krdl.org.sg (QUNYING.krdl.org.sg [192.168.136.36])
	by mailhost.krdl.org.sg (8.9.3/8.9.3) with ESMTP id QAA28828;
	Fri, 12 May 2000 16:25:06 +0800 (SGT)
Message-ID: <391BC019.7769A1A2@krdl.org.sg>
Date:	Fri, 12 May 2000 16:26:01 +0800
From: zhu qun ying <qyzhu@krdl.org.sg>
Organization: KRDL
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm <linux-arm@vger.rutgers.edu>,
	lart <lart@lart.tudelft.nl>
Subject: GCC bug? feature? char is unsigned
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi,

I am in the progress of porting a program to StrongARM, and has encounter the
following error. This simple error give us a big headache to trace it down.

consider this simple program:
int
main(void)
{
    char i = -1;
    printf("%d\n", i);
    return 0;
}

The print out is 255 in stead of -1, unless I define i as
signed char i;
then I get the "-1" print out.

I know the compiler is free to implement char as signed or unsigned or "pseudo
unsigned" according to the standard. But as gcc is treating char as signed char
for other platforms, I wonder is this a special treatment for StronARM? Is it a
bug in GCC? Or my assumsion of gcc will treat char as signed for all platform is
simply wrong. Should it behaves consistently across platforms?

I am using the pre-build cross compiler from LART projects.

-- 
 (~._.~)  Öě Čş Ó˘  (Qun Ying)         (65) 874-6743
  ( O )         Kent Ridge Digital Labs (KRDL)
 ()~*~()  21 Heng Mui Keng Terrace, Singapore 119613
 (_)-(_)    qyzhu@krdl.org.sg  *  zhuqy@hotmail.com

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 10:06:58 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qBPO-0006cf-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 10:06:58 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7A53115DB9; Fri, 12 May 2000 11:07:19 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155500AbQELIyT>;
	Fri, 12 May 2000 04:54:19 -0400
Received: by vger.rutgers.edu id <S155277AbQELIum>;
	Fri, 12 May 2000 04:50:42 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:4996 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155401AbQELIrw>; Fri, 12 May 2000 04:47:52 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id KAA15607; Fri, 12 May 2000 10:59:18 +0200 (MET DST)
Message-Id: <200005120859.KAA15607@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: qyzhu@krdl.org.sg
Cc: linux-arm@vger.rutgers.edu
Subject: Re: GCC bug? feature? char is unsigned
In-Reply-To: <391BC019.7769A1A2@krdl.org.sg>
Organization: Eric conspiracy secret labs
Date:	Fri May 12 10:59:16 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Fri, 12 May 2000 16:26:01 +0800, zhu qun ying wrote:
> consider this simple program:
> int
> main(void)
> {
>     char i = -1;
>     printf("%d\n", i);
>     return 0;
> }
> 
> The print out is 255 in stead of -1, unless I define i as
> signed char i;
> then I get the "-1" print out.

You do know how to get in trouble... ;-)

> I know the compiler is free to implement char as signed or unsigned or "pseudo
> unsigned" according to the standard. But as gcc is treating char as signed char
> for other platforms, I wonder is this a special treatment for StronARM? Is it a
> bug in GCC? Or my assumsion of gcc will treat char as signed for all platform
> is simply wrong. Should it behaves consistently across platforms?

No. This is the output on an SGI Onyx2 (Mips R12000 CPU) running IRIX 6.5 with
gcc 2.95.2 as compiler:

  erik@lumiere:/tmp >uname -a
  IRIX64 lumiere 6.5 10181058 IP27
  erik@lumiere:/tmp >gcc --version
  2.95.2
  erik@lumiere:/tmp >gcc -Wall -o foo foo.c
  foo.c: In function `main':
  foo.c:5: warning: implicit declaration of function `printf'
  erik@lumiere:/tmp >./foo 
  255

AFAIK as I know gcc is compliant with the platform's native compiler, not
with itself.


PLEASE don't send followups to the LART list because it is completely
off-topic on that list.



Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 12:00:56 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qDBg-0007oo-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 12:00:56 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 879F815DD2; Fri, 12 May 2000 13:01:17 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155384AbQELKsh>;
	Fri, 12 May 2000 06:48:37 -0400
Received: by vger.rutgers.edu id <S155449AbQELKsZ>;
	Fri, 12 May 2000 06:48:25 -0400
Received: from rodin.krdl.org.sg ([192.122.139.27]:3162 "EHLO krdl.org.sg")
	by vger.rutgers.edu with ESMTP id <S155374AbQELKpV>;
	Fri, 12 May 2000 06:45:21 -0400
Received: from mailhost.krdl.org.sg (mailhost [192.122.134.30])
	by krdl.org.sg (8.9.3/8.9.3) with ESMTP id TAA27857;
	Fri, 12 May 2000 19:04:32 +0800
Received: from krdl.org.sg (QUNYING.krdl.org.sg [192.168.136.36])
	by mailhost.krdl.org.sg (8.9.3/8.9.3) with ESMTP id SAA14192;
	Fri, 12 May 2000 18:55:51 +0800 (SGT)
Message-ID: <391BE36E.49EBB653@krdl.org.sg>
Date:	Fri, 12 May 2000 18:56:46 +0800
From: zhu qun ying <qyzhu@krdl.org.sg>
Organization: KRDL
X-Mailer: Mozilla 4.73 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>,
	linux-arm <linux-arm@vger.rutgers.edu>
Subject: Re: GCC bug? feature? char is unsigned
References: <200005120859.KAA15607@duteinh.et.tudelft.nl>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



Erik Mouw wrote:
> 
> 
> You do know how to get in trouble... ;-)

Ya. I learned my programming under x86 arch., so there are some assumsions are
made without noticed until I caught an error then trace into the problem ...
like this one. I should say it is due to my bad programming practices ...

 
> AFAIK as I know gcc is compliant with the platform's native compiler, not
> with itself.
> 
> PLEASE don't send followups to the LART list because it is completely
> off-topic on that list.
> 
> Erik
> 
> --

At least this teach me a lesson. Thanks for your help. And sorry for the cross
posting on LART list. I was thinking it may be related to some extend. ...

-- 
 (~._.~)  Öě Čş Ó˘  (Qun Ying)         (65) 874-6743
  ( O )         Kent Ridge Digital Labs (KRDL)
 ()~*~()  21 Heng Mui Keng Terrace, Singapore 119613
 (_)-(_)    qyzhu@krdl.org.sg  *  zhuqy@hotmail.com

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 13:10:46 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qEHG-0000LQ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 13:10:46 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C58B115DD6; Fri, 12 May 2000 14:11:07 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155432AbQELL6L>;
	Fri, 12 May 2000 07:58:11 -0400
Received: by vger.rutgers.edu id <S155384AbQELL55>;
	Fri, 12 May 2000 07:57:57 -0400
Received: from [216.85.232.66] ([216.85.232.66]:2506 "EHLO blazieresearch.com")
	by vger.rutgers.edu with ESMTP id <S155430AbQELLz6>;
	Fri, 12 May 2000 07:55:58 -0400
Received: from cpq800.blazieresearch.com (cpq800 [216.85.232.67])
	by blazieresearch.com (8.9.3/8.8.7) with ESMTP id IAA19520;
	Fri, 12 May 2000 08:06:30 -0400
Received: by CPQ800 with Internet Mail Service (5.5.2650.10)
	id <KQ7HFRTF>; Fri, 12 May 2000 08:06:37 -0400
Message-ID: <412E1CF8088BD211AD5100805FAD9A800CD231@CPQ800>
From: Jim Kasper <Jim@blazie.com>
To: "'Erik Mouw'" <J.A.K.Mouw@its.tudelft.nl>, nico@cam.org
Cc: Chris Blazie <chris@blazie.com>, linux-arm@vger.rutgers.edu
Subject: RE: sa1110 kernel boot cont.
Date:	Fri, 12 May 2000 08:06:36 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.10)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Thu, 04 May 2000 20:34:18 -0400 (EDT), Nicolas Pitre wrote:
>> On Thu, 4 May 2000, Chris Blazie wrote:
>>>   Aside from mis-configured or broken hardware, is there another
>>> plausible explanation for this behavior?
>> 
>> Well...  Are you sure your memory is OK?  I think BLOB integrated my
>> memory test routine.  Did you try it?
On Thu, 08 May 2000 09:41 -0400 (EDT), Erik Mouw wrote:
>BLOB doesn't contain memory test routines yet. My To Do list is >quite
long...

Does anyone have some nice little routines?
Thanks
Jim

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 13:49:22 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qEsc-0000id-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 13:49:22 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 43E0115D9D; Fri, 12 May 2000 14:49:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155464AbQELMhT>;
	Fri, 12 May 2000 08:37:19 -0400
Received: by vger.rutgers.edu id <S155388AbQELMhD>;
	Fri, 12 May 2000 08:37:03 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:1236 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155423AbQELMgt>; Fri, 12 May 2000 08:36:49 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id OAA17116; Fri, 12 May 2000 14:48:18 +0200 (MET DST)
Message-Id: <200005121248.OAA17116@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: Jim@blazie.com
Cc: nico@cam.org, chris@blazie.com, linux-arm@vger.rutgers.edu
Subject: RE: sa1110 kernel boot cont.
In-Reply-To: <412E1CF8088BD211AD5100805FAD9A800CD231@CPQ800>
Organization: Eric conspiracy secret labs
Date:	Fri May 12 14:48:15 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="boundary_XCmail_1.0.1_391BFD8F_dutein71"
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is the preamble area of a multipart message.
Mail readers that understand multipart format
should ignore this preamble.

If you are reading this text, you might want to
consider changing to a mail reader that understands
how to properly display multipart messages.
(like the cool XCmail)

--boundary_XCmail_1.0.1_391BFD8F_dutein71
Content-Type: text/plain
Content-Description: Main text
Content-Transfer-Encoding: 8bit

On Fri, 12 May 2000 08:06:36 -0400, Jim Kasper wrote:
> On Thu, 08 May 2000 09:41 -0400 (EDT), Erik Mouw wrote:
>>BLOB doesn't contain memory test routines yet. My To Do list is >quite
> long...
> 
> Does anyone have some nice little routines?

Bill Pringlemeir (bpringlemeir@yahoo.com) posted this attached piece of
code a couple of months ago to the sa1100-linux mailinglist.

There is also some code with documentation at
http://reality.sgi.com/cbrady_denver/memtest86 .

Nicolas Pitre also wrote a memory tester to one of the arm-linux lists,
but I can't find it in my archive (Nico?).

Juan J. Quitela (quintela@fi.udc.es) posted a memory test suite to the
linux-kernel mailing list: http://carpanta.dc.fi.udc.es/~quintela/memtest/ .


Hope this helps,
Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/



--boundary_XCmail_1.0.1_391BFD8F_dutein71
Content-Type: text/plain;
 name=testcode.c
Content-Description: File attachment
Content-Transfer-Encoding: quoted-printable

/*
 * Test sequence length of 32 bit CRC polynomial.
 *
 */

#include <stdio.h>
#include <stdlib.h>

#define POLY   (0x04c11db7U)

int main(void)
{
    unsigned long a =3D 0xffffffff;
    int i =3D 0, j =3D 0;

    do {
        if(!(i&(1024*1024-1))) {
            j++;
            printf("%d MB.\r",j);
        }

//          printf("%.8x,", a);
//          if((i%8)=3D=3D7)
//              printf("\n");

        if(a&0x80000000) {
            a <<=3D 1;
            a |=3D 1;
            a ^=3D POLY;
        }
        else {
            a <<=3D1;
            a |=3D 1;
        }
        i++;

    } while(0xffffffff !=3D a);

    printf("\nSequence length is %d.\n", i);

    return 0;
}


--boundary_XCmail_1.0.1_391BFD8F_dutein71--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 14:15:04 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qFHU-0000xq-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 14:15:04 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id D021715DEF; Fri, 12 May 2000 15:15:25 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155470AbQELNCr>;
	Fri, 12 May 2000 09:02:47 -0400
Received: by vger.rutgers.edu id <S155509AbQELNBM>;
	Fri, 12 May 2000 09:01:12 -0400
Received: from p35-magpie-gui.tch.enablis.net ([194.168.180.35]:3185 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155641AbQELNAL>; Fri, 12 May 2000 09:00:11 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id MAA30935;
	Fri, 12 May 2000 12:44:44 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id MAA01044;
	Fri, 12 May 2000 12:43:20 +0100
Message-Id: <200005121143.MAA01044@raistlin.arm.linux.org.uk>
Subject: Re: booting with !Linux
To: arm@stasis.wincoll.ac.uk (David Joy)
Date:	Fri, 12 May 2000 12:43:20 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <Pine.LNX.4.10.10005081656210.19561-100000@stasis.wincoll.ac.uk> from "David Joy" at May 08, 2000 05:09:04 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

David Joy writes:
> I'm sure it's very simple, but I can't work out how to get !Linux to
> boot kernel ADFS::4.$.vmlinux with argument root=/dev/hda4 so that it
> loads immediately when I tell it to load.

I think its possible (it's been a while since I've looked at that).
Does !Linux.!RunImage -help give any useful pointers?
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 14:18:54 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qFLC-000136-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 14:18:54 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C42F415DD6; Fri, 12 May 2000 15:19:15 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155509AbQELNC5>;
	Fri, 12 May 2000 09:02:57 -0400
Received: by vger.rutgers.edu id <S155443AbQELNCn>;
	Fri, 12 May 2000 09:02:43 -0400
Received: from p35-magpie-gui.tch.enablis.net ([194.168.180.35]:3185 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155453AbQELNAu>; Fri, 12 May 2000 09:00:50 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id LAA30720;
	Fri, 12 May 2000 11:27:00 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id LAA00806;
	Fri, 12 May 2000 11:25:38 +0100
Message-Id: <200005121025.LAA00806@raistlin.arm.linux.org.uk>
Subject: Re: GCC bug? feature? char is unsigned
To: qyzhu@krdl.org.sg (zhu qun ying)
Date:	Fri, 12 May 2000 11:25:37 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu (linux-arm)
In-Reply-To: <391BC019.7769A1A2@krdl.org.sg> from "zhu qun ying" at May 12, 2000 04:26:01 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

zhu qun ying writes:
> I am in the progress of porting a program to StrongARM, and has encounter the
> following error. This simple error give us a big headache to trace it down.
> 
> consider this simple program:
> int
> main(void)
> {
>     char i = -1;
>     printf("%d\n", i);
>     return 0;
> }
> 
> The print out is 255 in stead of -1, unless I define i as
> signed char i;
> then I get the "-1" print out.

Your code is buggy.  I am trying to get a warning put into GCC for this type of
thing.  However, the GCC mailing address seems to be rather non-responsive.
GCC will complain about things like:

	{
		char foo;

		foo = bar();

		if (foo == -1) {
			...
		}
	}

Things to generally look out for in programs (in the following fragments, c is
declared as "char"):

	Code			Correction
	----			----------
1.	c = getopt()		c should be declared as "int"
2.	c = getc()		c should be declared as "int"
3.	c == EOF		c should be declared as "int"
4.	c < 0			c should be declared as "signed char" or "int"

1) getopt() is defined as returning an "int" not a "char"
2) getc() is defined as returning an "int" not a "char"
3) EOF is a "negative integral constant"
4) this is ambiguous and examination of the surrounding code should indicate which
   case is more correct.  However, "int" is the perferred, unless the code is
   relying on some characteristic of "signed char".

Nos 1, 2 and 3 can cause problems even in a signed char environment.  Take the
instance of a file containing a byte value 0xff.

I'll put this up as a FAQ...

> I know the compiler is free to implement char as signed or unsigned or "pseudo
> unsigned" according to the standard.

Replace "the compiler" with "the compiler for a particular platform".

> But as gcc is treating char as signed char for other platforms, I wonder is
> this a special treatment for StronARM?

It generates faster, more efficient code.

> Is it a bug in GCC?

No.

> Or my assumsion of gcc will treat char as signed for all platform is
> simply wrong.

Yes.

> Should it behaves consistently across platforms?

No.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 15:52:04 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qGnM-00020S-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 15:52:04 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2286515E01; Fri, 12 May 2000 16:52:26 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154913AbQELOgR>;
	Fri, 12 May 2000 10:36:17 -0400
Received: by vger.rutgers.edu id <S154991AbQELOf7>;
	Fri, 12 May 2000 10:35:59 -0400
Received: from [62.154.167.130] ([62.154.167.130]:63263 "HELO
	tmail.terratec.de") by vger.rutgers.edu with SMTP
	id <S155184AbQELOfI>; Fri, 12 May 2000 10:35:08 -0400
Received: (qmail 28686 invoked from network); 12 May 2000 14:46:44 -0000
Received: from unknown (HELO schlumpfnt4) (192.168.0.91)
  by 192.168.0.1 with SMTP; 12 May 2000 14:46:44 -0000
Message-ID: <001301bfbc20$e5083940$5b00a8c0@schlumpfnt4>
From: "Gregor Pogatzki" <gregor-p@terratec.de>
To: <linux-arm@vger.rutgers.edu>
Subject: Linux on Assabet board
Date:	Fri, 12 May 2000 16:46:44 +0200
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0010_01BFBC31.A81B6410"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is a multi-part message in MIME format.

------=_NextPart_000_0010_01BFBC31.A81B6410
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am testing Linux on an SA-1110 Assabet board and I have got some =
problems/questions.

1. I cannot use the system with just one serial port, like it is =
described in the Assabet Documentation included in the kernel patch =
(diff-2.3.99-pre6-rmk1-np1). After downloading with angelboot and =
starting minicom I get a login prompt in the minicom window and on the =
LCD-display. But I am not able to type anything in the minicom window, =
so I cannot login or do anything else. When using the SA-1111 companion =
board, I can connect a second minicom via a second serial port (J16 on =
the companion board) and do my input in that minicom-window. The first =
minicom then shows my input and the output of the linux system. (The LCD =
display shows no further messages and switches off after a while.)
So what can I do to run the whole thing without the companion board =
(without the second serial connection)?

2. The system seems to be extremly slow. I compiled an mp3 encoding =
algorithm with my cross compiler =
(cross-armv4l-linux-gcc-0.4_2.95.2-6.i386). It takes about 13 minutes to =
encode just 4 seconds of music!! On a 450 Mhz Pentium III it takes one =
or two seconds. So the StrongARM seems to be about 600 times slower! =
What can I do do make it faster?
Is there any Initialization to be done, to make the StrongARM running on =
full 221Mhz clock frequency?
What compiler options should I use to make a program as fast as possible =
on SA-1110?

3. Is there a driver for the UDA 1341 audio codec?

Thanks for your help,
Gregor.




------=_NextPart_000_0010_01BFBC31.A81B6410
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am testing Linux on an SA-1110 =
Assabet board and=20
I have got some problems/questions.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>1.&nbsp;I</FONT><FONT face=3DArial=20
size=3D2>&nbsp;cannot use the system with just one serial port, like it =
is=20
described in the Assabet Documentation included in the kernel patch=20
(diff-2.3.99-pre6-rmk1-np1). After downloading with angelboot and =
starting=20
minicom I get&nbsp;a login prompt in the minicom window and on the =
LCD-display.=20
But I am not able to type anything in the minicom window, so I cannot =
login or=20
do anything else. When using the SA-1111 companion board, I can connect =
a second=20
minicom via a second serial port (J16 on the companion board) and do my =
input in=20
that minicom-window. The first minicom then shows my input and the =
output of the=20
linux system. (The LCD display shows no further messages and switches =
off after=20
a while.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So what can I do to run the whole thing =
without the=20
companion board (without the second serial connection)?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>2. The system seems to be extremly =
slow. I compiled=20
an mp3 encoding algorithm with my cross compiler=20
(cross-armv4l-linux-gcc-0.4_2.95.2-6.i386).&nbsp;It takes about 13 =
minutes to=20
encode just 4 seconds of music!! On a 450 Mhz Pentium III it takes one =
or two=20
seconds. So the StrongARM&nbsp;seems to be&nbsp;about 600 times=20
slower!&nbsp;What can I do do make it faster?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there any Initialization to be done, =
to make the=20
StrongARM running on full 221Mhz clock frequency?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What compiler options should I use to =
make a=20
program as fast as possible on SA-1110?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>3. Is there a driver for the UDA 1341 =
audio=20
codec?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks for your help,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Gregor.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0010_01BFBC31.A81B6410--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 16:26:36 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qHKm-0002cP-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 16:26:36 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4C05115DD4; Fri, 12 May 2000 17:26:57 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154924AbQELPKY>;
	Fri, 12 May 2000 11:10:24 -0400
Received: by vger.rutgers.edu id <S154937AbQELPKC>;
	Fri, 12 May 2000 11:10:02 -0400
Received: from [62.232.19.201] ([62.232.19.201]:1654 "EHLO
	bastion.power-x.co.uk") by vger.rutgers.edu with ESMTP
	id <S155269AbQELPFk>; Fri, 12 May 2000 11:05:40 -0400
Received: from springhead.px.uk.com (IDENT:dg@springhead.px.uk.com [172.16.18.41])
	by bastion.power-x.co.uk (8.9.3/8.9.3) with ESMTP id QAA07981;
	Fri, 12 May 2000 16:16:57 +0100
Date:	Fri, 12 May 2000 16:16:45 +0100 (BST)
From: "Dr. David Gilbert" <gilbertd@treblig.org>
X-Sender: dg@springhead.px.uk.com
To: Gregor Pogatzki <gregor-p@terratec.de>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Linux on Assabet board
In-Reply-To: <001301bfbc20$e5083940$5b00a8c0@schlumpfnt4>
Message-ID: <Pine.LNX.4.10.10005121614010.4126-100000@springhead.px.uk.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Fri, 12 May 2000, Gregor Pogatzki wrote:

> 2. The system seems to be extremly slow. I compiled an mp3 encoding
> algorithm with my cross compiler
> (cross-armv4l-linux-gcc-0.4_2.95.2-6.i386). It takes about 13 minutes
> to encode just 4 seconds of music!! On a 450 Mhz Pentium III it takes
> one or two seconds. So the StrongARM seems to be about 600 times
> slower! What can I do do make it faster? Is there any Initialization
> to be done, to make the StrongARM running on full 221Mhz clock
> frequency? What compiler options should I use to make a program as
> fast as possible on SA-1110?

Check that your instruction and data caches are turned on, and compile
with something like -O3 and check that you have the compiler  set up
to optimise for SA.

You aren't by any chance using any floating point instructions are you??
They will be hundreds of times slower than a Pentium of course.  Also
remember that the SA doesn't have much cache compared with a Pentium so if
your code has a particularly large cache footprint you could hit problems.


Dave

/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258|
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org            http://www.treblig.org         |
\------------------------------------------------------------------/


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 16:42:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qHZl-0002tU-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 16:42:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 37A1915E14; Fri, 12 May 2000 17:42:26 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154889AbQELPYw>;
	Fri, 12 May 2000 11:24:52 -0400
Received: by vger.rutgers.edu id <S155018AbQELPXl>;
	Fri, 12 May 2000 11:23:41 -0400
Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]:49756 "EHLO
	dfw7-1.relay.mail.uu.net") by vger.rutgers.edu with ESMTP
	id <S155224AbQELPTg>; Fri, 12 May 2000 11:19:36 -0400
Received: from xedia.com by dfw7sosrv11.alter.net with SMTP 
	(peer crosschecked as: madway.xedia.com [198.202.232.199])
	id QQiowk19379;
	Fri, 12 May 2000 15:31:04 GMT
Received: from tonga.xedia.com by xedia.com (4.1/SMI-4.1)
	id AA24609; Fri, 12 May 00 11:27:40 EDT
Received: by tonga.xedia.com (SMI-8.6/SMI-SVR4)
	id LAA18063; Fri, 12 May 2000 11:31:02 -0400
From: Paul Koning <pkoning@xedia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14620.9141.536408.927040@xedia.com>
Date:	Fri, 12 May 2000 11:31:01 -0400 (EDT)
To: qyzhu@krdl.org.sg
Cc: linux-arm@vger.rutgers.edu
Subject: Re: GCC bug? feature? char is unsigned
References: <391BC019.7769A1A2@krdl.org.sg>
X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>>>>> "zhu" == zhu qun ying <qyzhu@krdl.org.sg> writes:

 zhu>...
 zhu> I know the compiler is free to implement char as signed or
 zhu> unsigned or "pseudo unsigned" according to the standard. But as
 zhu> gcc is treating char as signed char for other platforms, I
 zhu> wonder is this a special treatment for StronARM? Is it a bug in
 zhu> GCC? Or my assumsion of gcc will treat char as signed for all
 zhu> platform is simply wrong. Should it behaves consistently across
 zhu> platforms?

No.  The compiler is perfectly well entitled to do it differently for
different platforms.

If you say "char" in your program, you're telling the compiler that it
doesn't matter whether it is signed or unsigned.  If it does matter,
then you *must* write "signed char" or "unsigned char".  If you don't
do that, it's a bug in your code...

   paul

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 17:00:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qHrG-0003AY-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 17:00:10 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A89D915E1F; Fri, 12 May 2000 18:00:32 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154991AbQELPlA>;
	Fri, 12 May 2000 11:41:00 -0400
Received: by vger.rutgers.edu id <S155158AbQELPkg>;
	Fri, 12 May 2000 11:40:36 -0400
Received: from ice.fiftyone.com ([208.225.80.11]:3470 "EHLO ice.fiftyone.com")
	by vger.rutgers.edu with ESMTP id <S155401AbQELPhc>;
	Fri, 12 May 2000 11:37:32 -0400
Received: from server01.asi (akron-80-165.ar51.net [208.225.80.165])
	by ice.fiftyone.com (8.9.3/8.8.7) with ESMTP id LAA32700;
	Fri, 12 May 2000 11:49:26 -0400
Received: by SERVER01 with Internet Mail Service (5.5.2448.0)
	id <KK9LVXJ4>; Fri, 12 May 2000 11:48:58 -0400
Message-ID: <B1F74F3AD483D2119F80004005A199480591FD@SERVER01>
From: Jeff Sutherland <jsutherland@accelent.com>
To: "'Gregor Pogatzki'" <gregor-p@terratec.de>,
	"Linux on ARM Mailing List (E-mail)" <linux-arm@vger.rutgers.edu>
Subject: RE: Linux on Assabet board
Date:	Fri, 12 May 2000 11:48:51 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


I am testing Linux on an SA-1110 Assabet board and I have got some
problems/questions.

1. I cannot use the system with just one serial port, like it is described
in the Assabet Documentation included in the kernel patch
(diff-2.3.99-pre6-rmk1-np1). After downloading with angelboot and starting
minicom I get a login prompt in the minicom window and on the LCD-display.
But I am not able to type anything in the minicom window, so I cannot login
or do anything else.

----
   Baud rate problem possibly? Do you have the console set to serial port 1?
----

When using the SA-1111 companion board, I can connect a second minicom via a
second serial port (J16 on the companion board) and do my input in that
minicom-window. The first minicom then shows my input and the output of the
linux system. (The LCD display shows no further messages and switches off
after a while.)
So what can I do to run the whole thing without the companion board (without
the second serial connection)?

-----
Make sure the console is set to talk to uart 1 if you want only 1
connection.  The serial port level translator on port 1 has an auto power
down feature that sometimes eats a character or two at 115200 on powering up
again.  If your console has been sitting inactive for a while, sometimes
helps to hit the enter key a couple of times to wake it up.  I got around
the single serial port problem by simply adding a Linear Tech LTC1348 RS232
level translator chip to the "radio" connector, which brings out sa1110 uart
#3.  It was then a simple matter to "adjust" the code to direct the startup
data and the system console out serial port 3.  I use port 1 for
bootloading.  After bootloading you can use serial port 1 as another place
to log in, provided you have modified /etc/passwd to create a regular user
account and /etc/securetty to allow root logins from either ttyS0 or ttyS1
in your ramdisk image.  By default the ramdisk supplied by Nicolas Pitre
allows a root login on the console port ONLY but no password is needed.
Watch out for baud rate changes in the system.  Make sure that the kernel
startup code and eventually the serial driver code use the same baud rates.
Minicom doesn't complain too much about wrong baud rates; you simply see
nothing on the screen.  I run both port1 and 3 at 115200 with no problems.
-----

2. The system seems to be extremly slow. I compiled an mp3 encoding
algorithm with my cross compiler (cross-armv4l-linux-gcc-0.4_2.95.2-6.i386).
It takes about 13 minutes to encode just 4 seconds of music!! On a 450 Mhz
Pentium III it takes one or two seconds. So the StrongARM seems to be about
600 times slower! What can I do do make it faster?
Is there any Initialization to be done, to make the StrongARM running on
full 221Mhz clock frequency?
What compiler options should I use to make a program as fast as possible on
SA-1110?

----
   You must be using floating point in your encoder, correct?  600/1 would
be something like the speed difference between a 450MHz pentium with
hardware fpu and the floating point emulation of the StrongARM.  Caveat: if
you need to do a lot of floating point, you picked the wrong part.  If you
can get away with integer math, a SA1110 running full tilt at 221MHz is
comparable to a K6-233, in some tests faster than a K6.  Nicolas Pitre wrote
an MP3 _decoder_ that uses fixed point math.  On my 275MHz Netwinder it uses
about 1% of the system bandwidth while playing MP3's.  BTW system clock
speed is set by the boot loader, NOT by anything in the kernel.  We don't
use Angelboot so sorry, can't help you there...
----

3. Is there a driver for the UDA 1341 audio codec?

----
Any ideas, folks?  I'll be looking for one meeself soon...
----

Thanks for your help,
Gregor.

----
Regards,
//Jeff
----

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 18:48:53 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qJYT-0004hM-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 18:48:53 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4280215D47; Fri, 12 May 2000 19:49:14 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S154935AbQELRfd>;
	Fri, 12 May 2000 13:35:33 -0400
Received: by vger.rutgers.edu id <S155192AbQELR1R>;
	Fri, 12 May 2000 13:27:17 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:2101 "EHLO
	kensington.london.uk.eu.org") by vger.rutgers.edu with ESMTP
	id <S155121AbQELRTh>; Fri, 12 May 2000 13:19:37 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by kensington.london.uk.eu.org with esmtp (Exim 3.11 #1 (Debian))
	id 12qKDz-00026Z-00; Fri, 12 May 2000 19:31:47 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12qKCY-0002MR-00; Fri, 12 May 2000 19:30:18 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: zhu qun ying <qyzhu@krdl.org.sg>
Cc: linux-arm <linux-arm@vger.rutgers.edu>,
	lart <lart@lart.tudelft.nl>
Subject: Re: GCC bug? feature? char is unsigned 
In-Reply-To: Message from zhu qun ying <qyzhu@krdl.org.sg> 
   of "Fri, 12 May 2000 16:26:01 +0800." <391BC019.7769A1A2@krdl.org.sg> 
References: <391BC019.7769A1A2@krdl.org.sg> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Fri, 12 May 2000 19:30:18 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12qKCY-0002MR-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>Or my assumsion of gcc will treat char as signed for all platform is
>simply wrong.

Unfortunately this is the case.

>Should it behaves consistently across platforms?

No.  RS6000 has `char' unsigned by default as well.  You can use 
-fsigned-char to force the other behaviour, but there will be a performance 
hit if you do this.  It's usually better to fix the code.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 19:36:35 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qKIc-0005Xb-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 19:36:34 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0135215DA0; Fri, 12 May 2000 20:36:55 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155188AbQELSPa>;
	Fri, 12 May 2000 14:15:30 -0400
Received: by vger.rutgers.edu id <S155464AbQELSGV>;
	Fri, 12 May 2000 14:06:21 -0400
Received: from [62.6.164.226] ([62.6.164.226]:2303 "HELO mail.linuxgrrls.org")
	by vger.rutgers.edu with SMTP id <S155184AbQELR5u>;
	Fri, 12 May 2000 13:57:50 -0400
Received: from localhost (localhost [127.0.0.1])
	by mail.linuxgrrls.org (Postfix) with ESMTP
	id 3B2B37480F; Fri, 12 May 2000 19:08:08 +0100 (BST)
Date:	Fri, 12 May 2000 19:08:08 +0100 (BST)
From: Kira Brown <kira@linuxgrrls.org>
To: Philip Blundell <Philip.Blundell@pobox.com>
Cc: zhu qun ying <qyzhu@krdl.org.sg>,
	linux-arm <linux-arm@vger.rutgers.edu>, lart <lart@lart.tudelft.nl>
Subject: Re: GCC bug? feature? char is unsigned 
In-Reply-To: <E12qKCY-0002MR-00@kings-cross.london.uk.eu.org>
Message-ID: <Pine.LNX.4.21.0005121907320.9992-100000@carrot.linuxgrrls.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Fri, 12 May 2000, Philip Blundell wrote:

> No.  RS6000 has `char' unsigned by default as well.  You can use 
> -fsigned-char to force the other behaviour, but there will be a performance 
> hit if you do this.  It's usually better to fix the code.

Surely if signedness is important for a char (and it usually isn't), you
can use a signed char?

kira.


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 19:42:30 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qKOM-0005aY-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 19:42:30 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 671F215D67; Fri, 12 May 2000 20:42:52 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155021AbQELSYM>;
	Fri, 12 May 2000 14:24:12 -0400
Received: by vger.rutgers.edu id <S155289AbQELSP0>;
	Fri, 12 May 2000 14:15:26 -0400
Received: from modemcable248.137-200-24.mtl.mc.videotron.net ([24.200.137.248]:64491
	"EHLO xanadu.gn.com") by vger.rutgers.edu with ESMTP
	id <S155283AbQELSC2>; Fri, 12 May 2000 14:02:28 -0400
Received: from localhost (nico@localhost)
	by xanadu.gn.com (8.9.3/8.9.3) with ESMTP id OAA29393;
	Fri, 12 May 2000 14:37:20 -0400
X-Authentication-Warning: xanadu.gn.com: nico owned process doing -bs
Date:	Fri, 12 May 2000 14:37:20 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
X-Sender: nico@xanadu.gn.com
To: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
Cc: Jim@blazie.com, chris@blazie.com, linux-arm@vger.rutgers.edu
Subject: RE: sa1110 kernel boot cont.
In-Reply-To: <200005121248.OAA17116@duteinh.et.tudelft.nl>
Message-ID: <Pine.LNX.4.10.10005121434410.29379-200000@xanadu.gn.com>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed; BOUNDARY="boundary_XCmail_1.0.1_391BFD8F_dutein71"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine.LNX.4.10.10005121434411.29379@xanadu.gn.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--boundary_XCmail_1.0.1_391BFD8F_dutein71
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.10.10005121434412.29379@xanadu.gn.com>
Content-Description: Main text



On Fri, 12 May -1, Erik Mouw wrote:

> Nicolas Pitre also wrote a memory tester to one of the arm-linux lists,
> but I can't find it in my archive (Nico?).

I posted it to sa1100-linux.  I wish someone still has it in his archives
because the version I posted was specially cleaned and commented...
However I don't know if and where I put it.


Nicolas

--boundary_XCmail_1.0.1_391BFD8F_dutein71
Content-Type: TEXT/PLAIN; NAME="testcode.c"
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-ID: <Pine.LNX.4.10.10005121434413.29379@xanadu.gn.com>
Content-Description: File attachment

/*
 * Test sequence length of 32 bit CRC polynomial.
 *
 */

#include <stdio.h>
#include <stdlib.h>

#define POLY   (0x04c11db7U)

int main(void)
{
    unsigned long a =3D 0xffffffff;
    int i =3D 0, j =3D 0;

    do {
        if(!(i&(1024*1024-1))) {
            j++;
            printf("%d MB.\r",j);
        }

//          printf("%.8x,", a);
//          if((i%8)=3D=3D7)
//              printf("\n");

        if(a&0x80000000) {
            a <<=3D 1;
            a |=3D 1;
            a ^=3D POLY;
        }
        else {
            a <<=3D1;
            a |=3D 1;
        }
        i++;

    } while(0xffffffff !=3D a);

    printf("\nSequence length is %d.\n", i);

    return 0;
}


--boundary_XCmail_1.0.1_391BFD8F_dutein71--

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 19:52:34 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qKY6-0005kU-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 19:52:34 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 8970415DB1; Fri, 12 May 2000 20:52:54 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155241AbQELSiY>;
	Fri, 12 May 2000 14:38:24 -0400
Received: by vger.rutgers.edu id <S155240AbQELSY2>;
	Fri, 12 May 2000 14:24:28 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:2462 "EHLO
	kensington.london.uk.eu.org") by vger.rutgers.edu with ESMTP
	id <S155121AbQELSQD>; Fri, 12 May 2000 14:16:03 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by kensington.london.uk.eu.org with esmtp (Exim 3.11 #1 (Debian))
	id 12qL6x-0002Ez-00; Fri, 12 May 2000 20:28:35 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12qL5X-0002pe-00; Fri, 12 May 2000 20:27:07 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: Kira Brown <kira@linuxgrrls.org>
Cc: zhu qun ying <qyzhu@krdl.org.sg>,
	linux-arm <linux-arm@vger.rutgers.edu>, lart <lart@lart.tudelft.nl>
Subject: Re: GCC bug? feature? char is unsigned 
In-Reply-To: Message from Kira Brown <kira@linuxgrrls.org> 
   of "Fri, 12 May 2000 19:08:08 BST." <Pine.LNX.4.21.0005121907320.9992-100000@carrot.linuxgrrls.org> 
References: <Pine.LNX.4.21.0005121907320.9992-100000@carrot.linuxgrrls.org> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Fri, 12 May 2000 20:27:07 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12qL5X-0002pe-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>> No.  RS6000 has `char' unsigned by default as well.  You can use 
>> -fsigned-char to force the other behaviour, but there will be a performance 
>> hit if you do this.  It's usually better to fix the code.
>
>Surely if signedness is important for a char (and it usually isn't), you
>can use a signed char?

Yes, of course.  The -fsigned-char option is useful if you have large amounts 
of dusty-deck code with this problem and want a quick fix to get it working, 
but it is definitely not a good solution in general.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 20:01:16 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qKgW-0005pH-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 20:01:16 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6C6C215DC4; Fri, 12 May 2000 21:01:38 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155234AbQELSld>;
	Fri, 12 May 2000 14:41:33 -0400
Received: by vger.rutgers.edu id <S155053AbQELSjU>;
	Fri, 12 May 2000 14:39:20 -0400
Received: from modemcable248.137-200-24.mtl.mc.videotron.net ([24.200.137.248]:64509
	"EHLO xanadu.gn.com") by vger.rutgers.edu with ESMTP
	id <S155357AbQELScK>; Fri, 12 May 2000 14:32:10 -0400
Received: from localhost (nico@localhost)
	by xanadu.gn.com (8.9.3/8.9.3) with ESMTP id PAA29414;
	Fri, 12 May 2000 15:07:14 -0400
X-Authentication-Warning: xanadu.gn.com: nico owned process doing -bs
Date:	Fri, 12 May 2000 15:07:14 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
X-Sender: nico@xanadu.gn.com
To: Gregor Pogatzki <gregor-p@terratec.de>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Linux on Assabet board
In-Reply-To: <001301bfbc20$e5083940$5b00a8c0@schlumpfnt4>
Message-ID: <Pine.LNX.4.10.10005121458530.29406-100000@xanadu.gn.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Fri, 12 May 2000, Gregor Pogatzki wrote:

> I am testing Linux on an SA-1110 Assabet board and I have got some problems/questions.
> 
> 1. I cannot use the system with just one serial port, like it is described in the Assabet Documentation included in the kernel patch (diff-2.3.99-pre6-rmk1-np1). After downloading with angelboot and starting minicom I get a login prompt in the minicom window and on the LCD-display. But I am not able to type anything in the minicom window, so I cannot login or do anything else. When using the SA-1111 companion board, I can connect a second minicom via a second serial port (J16 on the companion board) and do my input in that minicom-window. The first minicom then shows my input and the output of the linux system. (The LCD display shows no further messages and switches off after a while.)
> So what can I do to run the whole thing without the companion board (without the second serial connection)?

Be sure you turned all flow controls to "off" in minicom.

> 2. The system seems to be extremly slow. I compiled an mp3 encoding algorithm with my cross compiler (cross-armv4l-linux-gcc-0.4_2.95.2-6.i386). It takes about 13 minutes to encode just 4 seconds of music!! On a 450 Mhz Pentium III it takes one or two seconds. So the StrongARM seems to be about 600 times slower! What can I do do make it faster?

You should use fixed point math techniques.  Some fixed point MP3 players
already exist and perform pretty well.  There is no MP3 encoder with fixed
point computation yet that I'm aware of though.

> Is there any Initialization to be done, to make the StrongARM running on full 221Mhz clock frequency?

It is already done.

> What compiler options should I use to make a program as fast as possible on SA-1110?

  -cpu-strongarm110 -O2

> 3. Is there a driver for the UDA 1341 audio codec?

I'm writing one at the moment.  My latest patch contains one that can do
playback with 44100Hz stereo bolted in but it crashes when your playback
ends.  This is work in progress.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 20:13:49 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qKsf-00062n-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 20:13:49 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4948615DE1; Fri, 12 May 2000 21:14:11 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155244AbQELS7j>;
	Fri, 12 May 2000 14:59:39 -0400
Received: by vger.rutgers.edu id <S155259AbQELS6D>;
	Fri, 12 May 2000 14:58:03 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:1565 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155433AbQELSpb>; Fri, 12 May 2000 14:45:31 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id UAA19072; Fri, 12 May 2000 20:57:05 +0200 (MET DST)
Message-Id: <200005121857.UAA19072@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: nico@cam.org
Cc: Jim@blazie.com, chris@blazie.com, linux-arm@vger.rutgers.edu
Subject: RE: sa1110 kernel boot cont.
In-Reply-To: <Pine.LNX.4.10.10005121434410.29379-200000@xanadu.gn.com>
Organization: Eric conspiracy secret labs
Date:	Fri May 12 20:57:04 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="boundary_XCmail_1.0.1_391C5400_dutein71"
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is the preamble area of a multipart message.
Mail readers that understand multipart format
should ignore this preamble.

If you are reading this text, you might want to
consider changing to a mail reader that understands
how to properly display multipart messages.
(like the cool XCmail)

--boundary_XCmail_1.0.1_391C5400_dutein71
Content-Type: text/plain
Content-Description: Main text
Content-Transfer-Encoding: 8bit

On Fri, 12 May 2000 14:37:20 -0400 (EDT), Nicolas Pitre wrote:
> On Fri, 12 May -1, Erik Mouw wrote:
>> Nicolas Pitre also wrote a memory tester to one of the arm-linux lists,
>> but I can't find it in my archive (Nico?).
> 
> I posted it to sa1100-linux.  I wish someone still has it in his archives
> because the version I posted was specially cleaned and commented...
> However I don't know if and where I put it.

Yup, found it, it is attached. My sa1100-linux archive goes back until
July 5, 1999, so it is quite large and it took me some time to find your
message.


Erik

-- 
"[Microsoft] ... guarantees 99.8% NT uptime for certain hard-/software.
 That's exactly the 3 minutes daily that my NT server needs to reboot."
                            -- ZDnet editorial



--boundary_XCmail_1.0.1_391C5400_dutein71
Content-Type: text/plain;
 name=memory.S
Content-Description: File attachment
Content-Transfer-Encoding: quoted-printable

/*
 * Memory test for the SA1100
 * (C) Nicolas Pitre <nico@cam.org>
 */

/*
 * void test_mem( unsigned long mem_start, unsigned long mem_size )
 * Full memory test.
 * Entry:  r0 =3D memory start
 *	   r1 =3D memory size (contigous)
 * Return: r0 =3D memory size
 *	   (if we reach the end, memory is OK)
 * Clubbered: all registers (can't return to C functions)
 *=20
 * Note: This code must run with data cache turned off.  Also should probab=
ly
 *	 be executed from flash, unless you test a different memory bank.
 */

	.align
	.globl	test_mem_
test_mem_:
	MOV	r9, lr			@ pr=E9serve lr
	MOV	r12, r0			@ ram_start
	MOV	r13, r1			@ ram_size

#if 1
	@ Alias memory test (we write the address at address...)
	@ Destructive memory test (content is lost)

	MOV	r8, r12
	ADD	r6, r12, r13
5:
	LDR	r5, =3D0x3ffff
	TST	r8, r5
	BNE	1f
	MOV	r0, r8
	MOV	r1, #1
	BL	puthex_
	MOV	r0, #'\r'
	BL	putc_

1:	STR	r8, [r8],#4		@ write address at address
	CMP	r8, r6
	BNE	5b

	MOV	r8, r12
	ADD	r6, r12, r13
6:
	LDR	r5, =3D0x3ffff
	TST	r8, r5
	BNE	1f
	MOV	r0, r8
	MOV	r1, #1
	BL	puthex_
	MOV	r0, #'\r'
	BL	putc_

1:	LDR	r0, [r8]
	CMP	r8, r0
	MOVNE	r1, r8
	BNE	errormem
	ADD	r8, r8, #4
	CMP	r8, r6
	BNE	6b
#endif

#if 1
	@ Cookie test (for stall bits, etc)
	@ This test preserves memory content i.e. non-destructive

	LDR	r10, =3D0x55aacc33	@ cookie
	MVN	r11, r10		@ negative cookie

	MOV	r8, r12
	ADD	r6, r12, r13
4:
	LDR	r5, =3D0x3ffff
	TST	r8, r5
	BNE	1f
	MOV	r0, r8
	MOV	r1, #1
	BL	puthex_
	MOV	r0, #'\r'
	BL	putc_

1:	LDR	r7, [r8]
   =20
	STR	r10, [r8]
	LDR	r0, [r8]
	CMP	r10, r0
	MOVNE	r1, r10
	BNE	errormem
   =20
	STR	r11, [r8]
	LDR	r0, [r8]
	CMP	r11, r0
	MOVNE	r1, r11
	BNE	errormem

	STR	r7, [r8],#4
	CMP	r8, r6
	BNE	4b
#endif

	ADR	r0, StringMem2
	BL	puts_
	MOV	r0, r13			@ return RAM size
	MOV     pc, r9

StringMem2:		.asciz	"MEM test OK\r\n"

	.align
errormem:
	/* Display faulty memory address and content
	 * Here r8 contains faulty memory address
	 *      r1 contains written value
	 *      r0 contains read value
	 */
	MOV	r6, r0			/* puthex clubbers up to r5 */
	MOV	r7, r1
	ADR 	r0, StringError1
	BL	puts_
	MOV	r0, r8
	MOV	r1, #1
	BL	puthex_
	ADR	r0, StringError2
	BL	puts_
	MOV	r0, r7
	MOV	r1, #1
	BL	puthex_
	ADR	r0, StringError3
	BL	puts_
	MOV	r0, r6
	MOV	r1, #1
	BL	puthex_
	BL	RTLF_
	B   	halt
   =20
StringError1:	.asciz	"Memory error at "
StringError2:	.asciz	": wrote "
StringError3:	.asciz	", read "


puts_:
        MOV     R3, R0
        MOV     R4, LR
1:      LDRB    R0, [R3], #1
        CMP     R0, #0
        MOVEQ   PC, R4
        BL      putc
        B       1b


puthex_:
        MOV     R3, R0
        MOV     R4, #28
        MOV     R5, LR
        CMP     R1, #0
        BEQ     1f
        MOV     R0, #'0'
        BL      putc
        MOV     R0, #'x'
        BL      putc

1:      MOV     R0, R3, LSR R4
        AND     R0, R0, #0xF
        CMP     R0, #10
        ADDGE   R0, R0, #'A' - 10
        ADDLT   R0, R0, #'0'
        BL      putc
        SUBS    R4, R4, #4
        BGE     1b
        MOV     R0, R3
        MOV     PC, R5


RTLF:
RTLF_:
        mov     r3, lr
        mov     r0, #'\r'
        bl      putc
        mov     r0, #'\n'
        bl      putc
        mov     pc, r3


halt:
	b	halt


#define SerBase		0x80050000	@ Ser3

#define UTCR0		0x00
#define UTCR1		0x04
#define UTCR2		0x08
#define UTCR3		0x0c
#define UTDR		0x14
#define UTSR0		0x1c
#define	UTSR1		0x20

#define UTSR1_TNF	0x00000004	/* Transmit FIFO Not Full */

    =20
putc:=09
putc_:
	LDR	R1, =3DSerBase		@ serial base address

	@ wait for space in fifo
1:	LDR     R2, [R1, #UTSR1]
	TST	R2, #UTSR1_TNF
	BEQ	1b
=09
        STRB	R0, [R1, #UTDR]		@ write the char
	MOV	PC, LR

ine.
--boundary_XCmail_1.0.1_391C5400_dutein71--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 20:15:09 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qKtx-00063N-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 20:15:09 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BBDFD15DFD; Fri, 12 May 2000 21:15:30 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155270AbQELS7u>;
	Fri, 12 May 2000 14:59:50 -0400
Received: by vger.rutgers.edu id <S155076AbQELS7d>;
	Fri, 12 May 2000 14:59:33 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:1576 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155903AbQELS4p>; Fri, 12 May 2000 14:56:45 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id VAA19120; Fri, 12 May 2000 21:08:11 +0200 (MET DST)
Message-Id: <200005121908.VAA19120@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: jsutherland@accelent.com
Cc: gregor-p@terratec.de, linux-arm@vger.rutgers.edu
Subject: RE: Linux on Assabet board
In-Reply-To: <B1F74F3AD483D2119F80004005A199480591FD@SERVER01>
Organization: Eric conspiracy secret labs
Date:	Fri May 12 21:08:09 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Fri, 12 May 2000 11:48:51 -0400, Jeff Sutherland wrote:
>    You must be using floating point in your encoder, correct?  600/1 would
> be something like the speed difference between a 450MHz pentium with
> hardware fpu and the floating point emulation of the StrongARM.  Caveat: if
> you need to do a lot of floating point, you picked the wrong part.  If you
> can get away with integer math, a SA1110 running full tilt at 221MHz is

Or fixed point math. BTW: We made some minor modifications (read: added 3
lines) to the kernel that allow read-buffer access from userland. JDB is
currently using it to squeeze some more speed out of his (already fast)
FFT implementation. I'll send the read buffer stuff to Nico when I have a
more or less complete patch ready.

> comparable to a K6-233, in some tests faster than a K6.  Nicolas Pitre wrote
> an MP3 _decoder_ that uses fixed point math.  On my 275MHz Netwinder it uses
> about 1% of the system bandwidth while playing MP3's.  BTW system clock

I'm not completely sure about that 1%. Rob Leslie pointed out that "time"
or "top" don't show the correct values with multi-threaded programs.

> speed is set by the boot loader, NOT by anything in the kernel.  We don't
> use Angelboot so sorry, can't help you there...
> ----
> 
> 3. Is there a driver for the UDA 1341 audio codec?
> 
> ----
> Any ideas, folks?  I'll be looking for one meeself soon...

Nico is working on one. His latest patch contains a framework, but the
comment says that it will crash your kernel.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 20:18:55 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qKxb-00064r-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 20:18:55 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A528115E09; Fri, 12 May 2000 21:19:17 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155076AbQELS7w>;
	Fri, 12 May 2000 14:59:52 -0400
Received: by vger.rutgers.edu id <S155317AbQELS7O>;
	Fri, 12 May 2000 14:59:14 -0400
Received: from p41-magpie-gui.tch.enablis.net ([194.168.180.41]:3591 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155587AbQELSxS>; Fri, 12 May 2000 14:53:18 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id UAA00442;
	Fri, 12 May 2000 20:04:45 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id UAA08373;
	Fri, 12 May 2000 20:03:18 +0100
Message-Id: <200005121903.UAA08373@raistlin.arm.linux.org.uk>
Subject: Re: Linux on Assabet board
To: nico@cam.org (Nicolas Pitre)
Date:	Fri, 12 May 2000 20:03:17 +0100 (BST)
Cc: gregor-p@terratec.de (Gregor Pogatzki),
	linux-arm@vger.rutgers.edu
In-Reply-To: <Pine.LNX.4.10.10005121458530.29406-100000@xanadu.gn.com> from "Nicolas Pitre" at May 12, 2000 03:07:14 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Nicolas Pitre writes:
> > What compiler options should I use to make a program as fast as possible on SA-1110?
> 
>   -cpu-strongarm110 -O2

-mcpu=strongarm110 -O2

   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 20:29:42 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qL82-00069o-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 20:29:42 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B1D0615DBB; Fri, 12 May 2000 21:30:04 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155297AbQELTRB>;
	Fri, 12 May 2000 15:17:01 -0400
Received: by vger.rutgers.edu id <S155386AbQELTPB>;
	Fri, 12 May 2000 15:15:01 -0400
Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]:59545 "EHLO
	dfw7-1.relay.mail.uu.net") by vger.rutgers.edu with ESMTP
	id <S155178AbQELTJZ>; Fri, 12 May 2000 15:09:25 -0400
Received: from xedia.com by dfw7sosrv11.alter.net with SMTP 
	(peer crosschecked as: madway.xedia.com [198.202.232.199])
	id QQiowz16904;
	Fri, 12 May 2000 19:21:00 GMT
Received: from tonga.xedia.com by xedia.com (4.1/SMI-4.1)
	id AA27927; Fri, 12 May 00 15:17:37 EDT
Received: by tonga.xedia.com (SMI-8.6/SMI-SVR4)
	id PAA18430; Fri, 12 May 2000 15:20:59 -0400
From: Paul Koning <pkoning@xedia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14620.22939.495285.842592@xedia.com>
Date:	Fri, 12 May 2000 15:20:59 -0400 (EDT)
To: J.A.K.Mouw@its.tudelft.nl
Cc: jsutherland@accelent.com, linux-arm@vger.rutgers.edu
Subject: RE: Linux on Assabet board
References: <B1F74F3AD483D2119F80004005A199480591FD@SERVER01>
	<200005121908.VAA19120@duteinh.et.tudelft.nl>
X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>>>>> "Erik" == Erik Mouw <J.A.K.Mouw@its.tudelft.nl> writes:

 >> comparable to a K6-233, in some tests faster than a K6.  Nicolas
 >> Pitre wrote an MP3 _decoder_ that uses fixed point math.  On my
 >> 275MHz Netwinder it uses about 1% of the system bandwidth while
 >> playing MP3's.  BTW system clock

 Erik> I'm not completely sure about that 1%. Rob Leslie pointed out
 Erik> that "time" or "top" don't show the correct values with
 Erik> multi-threaded programs.

As I understand it, in Linux a thread and a process are basically the
same thing (a thread is just a process that wasn't given a private
memory space).  So if you have three threads, ps will show all three,
and top might show any of those.  No idea what time does -- give you
the stats for the original thread that's parent to all the others?

    paul

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 20:42:35 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qLKV-0006LW-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 20:42:35 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A65CB15E0B; Fri, 12 May 2000 21:42:56 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155430AbQELTZl>;
	Fri, 12 May 2000 15:25:41 -0400
Received: by vger.rutgers.edu id <S155147AbQELTRV>;
	Fri, 12 May 2000 15:17:21 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:1593 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155021AbQELTPR>; Fri, 12 May 2000 15:15:17 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id VAA19206; Fri, 12 May 2000 21:26:53 +0200 (MET DST)
Message-Id: <200005121926.VAA19206@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: nico@cam.org
Cc: gregor-p@terratec.de, linux-arm@vger.rutgers.edu
Subject: Re: Linux on Assabet board
In-Reply-To: <Pine.LNX.4.10.10005121458530.29406-100000@xanadu.gn.com>
Organization: Eric conspiracy secret labs
Date:	Fri May 12 21:26:50 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Fri, 12 May 2000 15:07:14 -0400 (EDT), Nicolas Pitre wrote:
> On Fri, 12 May 2000, Gregor Pogatzki wrote:
>> Is there any Initialization to be done, to make the StrongARM running on full
> 221Mhz clock frequency?
> 
> It is already done.

If you want to check the current speed, get my clock scaling patch from:

  http://www.lart.tudelft.nl/lartware/port/

It is actually designed for the SA-1100 and it _will_ crash a SA-1110 if
you try to change the clock speed, but it's safe to read the current clock
speed. Apply the patch to the (2.3.99-x) kernel, enable clock scaling (as
a module) in the configuration, make modules. Download the module to your
Assabet. Insert it with: "insmod scale.o debug=1". Now check the current
clock speed with "cat /proc/scale"; this will show the current clock
divisor and the current clock speed in MHz. I'm not quite sure if the
clock speed is correct for SA-1110 CPUs, but you can look up the real
speed in the SA-1110 manual. Of course I did not test this, because I
don't have an Assabet...

>> What compiler options should I use to make a program as fast as possible on
> SA-1110?
> 
>   -cpu-strongarm110 -O2

You probably mean -mcpu=strongarm110 ;-). Or use -march=armv4
-mtune=strongarm110, allthough this should generate the same code.

Did somebody already test the new ARM backend from gcc CVS? Does it
generate better code?


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 21:16:06 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qLqw-0006oU-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 21:16:06 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2E39C15E07; Fri, 12 May 2000 22:16:28 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155356AbQELT4r>;
	Fri, 12 May 2000 15:56:47 -0400
Received: by vger.rutgers.edu id <S155176AbQELTyY>;
	Fri, 12 May 2000 15:54:24 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:2568 "EHLO
	kensington.london.uk.eu.org") by vger.rutgers.edu with ESMTP
	id <S155236AbQELThi>; Fri, 12 May 2000 15:37:38 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by kensington.london.uk.eu.org with esmtp (Exim 3.11 #1 (Debian))
	id 12qMOE-0002HX-00; Fri, 12 May 2000 21:50:30 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12qMMq-0002yV-00; Fri, 12 May 2000 21:49:04 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: Nicolas Pitre <nico@cam.org>
Cc: Gregor Pogatzki <gregor-p@terratec.de>,
	linux-arm@vger.rutgers.edu
Subject: Re: Linux on Assabet board 
In-Reply-To: Message from Nicolas Pitre <nico@cam.org> 
   of "Fri, 12 May 2000 15:07:14 EDT." <Pine.LNX.4.10.10005121458530.29406-100000@xanadu.gn.com> 
References: <Pine.LNX.4.10.10005121458530.29406-100000@xanadu.gn.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Fri, 12 May 2000 21:49:04 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12qMMq-0002yV-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>> What compiler options should I use to make a program as fast as possible on 
>SA-1110?
>
>  -cpu-strongarm110 -O2

Actually, you probably want -march=armv4 -mcpu=strongarm110.  If you are 
bothered about performance you should also consider using a recent (trunk) 
version of gcc, and turning on -fomit-frame-pointer.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 12 21:21:02 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qLvi-0006qW-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 12 May 2000 21:21:02 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A4AA415D9F; Fri, 12 May 2000 22:21:24 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155459AbQELUDN>;
	Fri, 12 May 2000 16:03:13 -0400
Received: by vger.rutgers.edu id <S155147AbQELTyh>;
	Fri, 12 May 2000 15:54:37 -0400
Received: from modemcable248.137-200-24.mtl.mc.videotron.net ([24.200.137.248]:64517
	"EHLO xanadu.gn.com") by vger.rutgers.edu with ESMTP
	id <S155401AbQELTjp>; Fri, 12 May 2000 15:39:45 -0400
Received: from localhost (nico@localhost)
	by xanadu.gn.com (8.9.3/8.9.3) with ESMTP id QAA29506;
	Fri, 12 May 2000 16:14:46 -0400
X-Authentication-Warning: xanadu.gn.com: nico owned process doing -bs
Date:	Fri, 12 May 2000 16:14:46 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
X-Sender: nico@xanadu.gn.com
To: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Cc: Gregor Pogatzki <gregor-p@terratec.de>,
	linux-arm@vger.rutgers.edu
Subject: Re: Linux on Assabet board
In-Reply-To: <200005121903.UAA08373@raistlin.arm.linux.org.uk>
Message-ID: <Pine.LNX.4.10.10005121611200.29502-100000@xanadu.gn.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Fri, 12 May 2000, Russell King - ARM Linux Admin wrote:

> Nicolas Pitre writes:
> > > What compiler options should I use to make a program as fast as possible on SA-1110?
> > 
> >   -cpu-strongarm110 -O2
> 
> -mcpu=strongarm110 -O2

Huh...  Of course.  (Do what I mean, not what I write.)


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sun May 14 15:34:24 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12qzTM-00055d-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sun, 14 May 2000 15:34:24 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4A05715EE7; Sun, 14 May 2000 16:34:49 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155624AbQENOVn>;
	Sun, 14 May 2000 10:21:43 -0400
Received: by vger.rutgers.edu id <S155622AbQENOVf>;
	Sun, 14 May 2000 10:21:35 -0400
Received: from red.csi.cam.ac.uk ([131.111.8.70]:45074 "EHLO red.csi.cam.ac.uk")
	by vger.rutgers.edu with ESMTP id <S155627AbQENOVS>;
	Sun, 14 May 2000 10:21:18 -0400
Received: from [131.111.233.240] (helo=djs61)
	by red.csi.cam.ac.uk with smtp (Exim 3.13 #1)
	id 12qzSd-000391-00
	for linux-arm@vger.rutgers.edu; Sun, 14 May 2000 15:33:39 +0100
Date:	Sun, 14 May 2000 15:19:07 +0100
From: David Seery <djs61@hermes.cam.ac.uk>
To: linux-arm@vger.rutgers.edu
Subject: Network problem with Debian installation on RiscPC
Message-ID: <bb7398be49%djs61@djs61.christs.cam.ac.uk>
X-Mailer: Messenger v1.41d for RISC OS
X-Editor: Zap 1.44 (03 Mar 2000) [TEST 2], ZapEmail 0.24 (26 Aug 1999) patch-9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Posting-Agent: RISC OS Newsbase 0.61b
User-Agent: POPstar/2.02
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello,

This may be a trivial / off-topic question; if so, I apologise.

I've just installed the Debian port on my RiscPC with the result that
everything works except a bizarre kernel panic when using (at least)
ftp and probably some other stuff too.  Everything is OK using the
ARM image at ftp.jimpick.com until I install the default Debian packages,
and after that any attempt to use apt causes a kernel panic when
logging in to the Debian ftp site.

  'kernel panic: Unknown data abort'

I also get them same behaviour when ftp'ing some other remote sites;
but others are OK.  Under X everything just hangs with the cursor
flashing in the top-left of the screen; this behaviour occurs with
gftp, gicq and ftp in an xterm.  (Oddly the same thing happens with
gcd.)

I've reinstalled everything four times now and I get the same behaviour
every time.  Initially I assumed I'd accidentally installed some
netwinder material that was causing a problem, but this does not
appear to be the case.  I've also tried compiling a fresh kernel
(2.2.13, patch rmk2) which built cleanly but crashed more or less when
trying to mount the root filesystem when I tried to use it.  This
seems very odd; I must have done something wrong.  I'm currently
using the most recent (010300) 2.2.13 lkab kernel from inkvine.fluff.org
to boot into Linux; the 2.2.14 kernel from the same source boots
but exhibits the same behaviour.  All the 2.3 kernels I have tried
hang the machine as soon as it attempts to boot the kernel.
Additionally I've also tried the original 2.0.36 kernel from
arm.linux.uk.org but this hangs on trying to mount the root filesystem.

If I boot the kernel with the command line argument init=/bin/sh (or
some other shell) then everything seems OK; I've tried selectively omitting
init scripts from /etc/init.d but none of them seem to cure the
problem.  But obviously something is getting loaded which is causing
the problem.

Does anybody have any idea what might be going on?

Many thanks,

David

-- 
David Seery                       Room H6
djs61@cam.ac.uk                   Christ's College

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sun May 14 16:13:51 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12r05X-0005Pe-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sun, 14 May 2000 16:13:51 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 65D7115EF8; Sun, 14 May 2000 17:14:16 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155908AbQENPBD>;
	Sun, 14 May 2000 11:01:03 -0400
Received: by vger.rutgers.edu id <S155904AbQENPAk>;
	Sun, 14 May 2000 11:00:40 -0400
Received: from p04-magpie-gui.tch.enablis.net ([194.168.180.4]:2458 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155644AbQENPAT>; Sun, 14 May 2000 11:00:19 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id QAA08449;
	Sun, 14 May 2000 16:12:38 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id QAA00552;
	Sun, 14 May 2000 16:10:50 +0100
Message-Id: <200005141510.QAA00552@raistlin.arm.linux.org.uk>
Subject: Re: Network problem with Debian installation on RiscPC
To: djs61@hermes.cam.ac.uk (David Seery)
Date:	Sun, 14 May 2000 16:10:50 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <bb7398be49%djs61@djs61.christs.cam.ac.uk> from "David Seery" at May 14, 2000 03:19:07 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

David Seery writes:
>   'kernel panic: Unknown data abort'

Which processor type are you using?
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sun May 14 16:21:19 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12r0Cl-0005SM-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sun, 14 May 2000 16:21:19 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id E559715F10; Sun, 14 May 2000 17:21:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155979AbQENPFF>;
	Sun, 14 May 2000 11:05:05 -0400
Received: by vger.rutgers.edu id <S155931AbQENPEl>;
	Sun, 14 May 2000 11:04:41 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:3312 "EHLO
	tazenda.demon.co.uk") by vger.rutgers.edu with ESMTP
	id <S155936AbQENPC6>; Sun, 14 May 2000 11:02:58 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by tazenda.demon.co.uk with esmtp (Exim 3.11 #1 (Debian))
	id 12r13k-0004mU-00; Sun, 14 May 2000 17:16:04 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12r11q-000465-00; Sun, 14 May 2000 17:14:06 +0100
X-Mailer: exmh version 2.1.1 10/15/1999 (debian)
To: David Seery <djs61@hermes.cam.ac.uk>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Network problem with Debian installation on RiscPC 
In-Reply-To: Message from David Seery <djs61@hermes.cam.ac.uk> 
   of "Sun, 14 May 2000 15:19:07 BST." <bb7398be49%djs61@djs61.christs.cam.ac.uk> 
References: <bb7398be49%djs61@djs61.christs.cam.ac.uk> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Sun, 14 May 2000 17:14:05 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12r11q-000465-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>  'kernel panic: Unknown data abort'

This is an ARM610 or ARM710 machine, right?

Some program - probably the ftp client - performed a bad memory access that 
the kernel didn't understand.  Was that the complete message that was 
displayed, or did it include more information that you've omitted?

The 2.3 lkab kernels shouldn't actually panic when this happens, though I 
don't know offhand whether they are likely to handle the situation properly.  
If they won't boot for you this is obviously a moot point anyway.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sun May 14 16:58:36 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12r0mp-0005oq-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sun, 14 May 2000 16:58:36 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 8335115F02; Sun, 14 May 2000 17:59:00 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155640AbQENPpq>;
	Sun, 14 May 2000 11:45:46 -0400
Received: by vger.rutgers.edu id <S155639AbQENPpa>;
	Sun, 14 May 2000 11:45:30 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:3334 "EHLO
	tazenda.demon.co.uk") by vger.rutgers.edu with ESMTP
	id <S155628AbQENPpQ>; Sun, 14 May 2000 11:45:16 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by tazenda.demon.co.uk with esmtp (Exim 3.11 #1 (Debian))
	id 12r1jn-0004sa-00; Sun, 14 May 2000 17:59:31 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12r1hx-0004vc-00; Sun, 14 May 2000 17:57:37 +0100
X-Mailer: exmh version 2.1.1 10/15/1999 (debian)
To: David Seery <djs61@hermes.cam.ac.uk>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Network problem with Debian installation on RiscPC 
In-Reply-To: Message from David Seery <djs61@hermes.cam.ac.uk> 
   of "Sun, 14 May 2000 15:19:07 BST." <bb7398be49%djs61@djs61.christs.cam.ac.uk> 
References: <bb7398be49%djs61@djs61.christs.cam.ac.uk> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Sun, 14 May 2000 17:57:37 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12r1hx-0004vc-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>  'kernel panic: Unknown data abort'

You could try a patch like this.  I haven't tested this, and I don't know if 
it's enough to get things going, but it might be worth a go.

p.

--- linux/arch/arm/mm/proc-arm6,7.S	Mon Jan 10 18:49:58 2000
+++ linux/arch/arm/mm/proc-arm6,7.S	Sun May 14 17:55:43 2000
@@ -110,7 +110,7 @@
 		add	pc, pc, r1, lsr #22		@ Now branch to the relevent processing routine
 		movs	pc, lr
 		b	Ldata_unknown
-		b	Ldata_unknown
+		b	Ldata_simple			@ swp
 		b	Ldata_unknown
 		b	Ldata_unknown
 		b	Ldata_earlyldrpost		@ ldr	rd, [rn], #m
@@ -141,7 +141,7 @@
 		add	pc, pc, r1, lsr #22		@ Now branch to the relevent processing routine
 		movs	pc, lr
 		b	Ldata_unknown
-		b	Ldata_unknown
+		b	Ldata_simple			@ swp
 		b	Ldata_unknown
 		b	Ldata_unknown
 		b	Ldata_lateldrpostconst		@ ldr	rd, [rn], #m



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sun May 14 17:05:37 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12r0td-0005uo-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sun, 14 May 2000 17:05:37 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id E584C15F15; Sun, 14 May 2000 18:06:01 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155901AbQENPw4>;
	Sun, 14 May 2000 11:52:56 -0400
Received: by vger.rutgers.edu id <S155639AbQENPwt>;
	Sun, 14 May 2000 11:52:49 -0400
Received: from p04-magpie-gui.tch.enablis.net ([194.168.180.4]:2643 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155719AbQENPwf>; Sun, 14 May 2000 11:52:35 -0400
Received: from flint.arm.linux.org.uk (root@flint [192.168.0.4])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id RAA08621;
	Sun, 14 May 2000 17:04:55 +0100
Received: (from linux@localhost)
	by flint.arm.linux.org.uk (8.9.3/8.9.3) id RAA04956;
	Sun, 14 May 2000 17:03:56 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Message-Id: <200005141603.RAA04956@flint.arm.linux.org.uk>
Subject: Re: Network problem with Debian installation on RiscPC
To: Philip.Blundell@pobox.com (Philip Blundell)
Date:	Sun, 14 May 2000 17:03:56 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <E12r1hx-0004vc-00@kings-cross.london.uk.eu.org> from "Philip Blundell" at May 14, 2000 05:57:37 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Philip Blundell writes:
> >  'kernel panic: Unknown data abort'
> 
> You could try a patch like this.  I haven't tested this, and I don't know if 
> it's enough to get things going, but it might be worth a go.
> 
> p.

Unfortunately, the latest 2.2 and 2.3 kernels do not boot with ARM610s.
Please supply the patches you're using to make them boot please.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sun May 14 18:36:17 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12r2JN-0006h2-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sun, 14 May 2000 18:36:17 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1182115F3B; Sun, 14 May 2000 19:36:42 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155362AbQENRXf>;
	Sun, 14 May 2000 13:23:35 -0400
Received: by vger.rutgers.edu id <S155595AbQENRXU>;
	Sun, 14 May 2000 13:23:20 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:3377 "EHLO
	tazenda.demon.co.uk") by vger.rutgers.edu with ESMTP
	id <S155362AbQENRS2>; Sun, 14 May 2000 13:18:28 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by tazenda.demon.co.uk with esmtp (Exim 3.11 #1 (Debian))
	id 12r3Bh-0004yZ-00; Sun, 14 May 2000 19:32:25 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12r39p-0004zS-00; Sun, 14 May 2000 19:30:29 +0100
X-Mailer: exmh version 2.1.1 10/15/1999 (debian)
To: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: Network problem with Debian installation on RiscPC 
In-Reply-To: Message from Russell King - ARM Linux Admin <linux@arm.linux.org.uk> 
   of "Sun, 14 May 2000 17:03:56 BST." <200005141603.RAA04956@flint.arm.linux.org.uk> 
References: <200005141603.RAA04956@flint.arm.linux.org.uk> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Sun, 14 May 2000 19:30:29 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12r39p-0004zS-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>Unfortunately, the latest 2.2 and 2.3 kernels do not boot with ARM610s.
>Please supply the patches you're using to make them boot please.

I don't have any working ARM610 hardware any more, I'm afraid.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 15 11:14:24 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rHtI-0005pI-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 15 May 2000 11:14:24 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id DC6CF15D84; Mon, 15 May 2000 12:14:49 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155936AbQEOKB1>;
	Mon, 15 May 2000 06:01:27 -0400
Received: by vger.rutgers.edu id <S155938AbQEOKBT>;
	Mon, 15 May 2000 06:01:19 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:2748 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S155936AbQEOKBA>; Mon, 15 May 2000 06:01:00 -0400
Received: from dutein71 by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id MAA29092; Mon, 15 May 2000 12:13:28 +0200 (MET DST)
Message-Id: <200005151013.MAA29092@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: Philip.Blundell@pobox.com
Cc: nico@cam.org, gregor-p@terratec.de, linux-arm@vger.rutgers.edu
Subject: Re: Linux on Assabet board 
In-Reply-To: <E12qMMq-0002yV-00@kings-cross.london.uk.eu.org>
Organization: Eric conspiracy secret labs
Date:	Mon May 15 12:13:27 +0200 (MDT) 2000
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.0.1 - with PGP support, PGP engine version 0.5 (IRIX)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Fri, 12 May 2000 21:49:04 +0100, Philip Blundell wrote:
> Actually, you probably want -march=armv4 -mcpu=strongarm110.  If you are 
> bothered about performance you should also consider using a recent (trunk) 
> version of gcc, and turning on -fomit-frame-pointer.

What's the difference between "-mcpu=strongarm110" and "-march=armv4
-mcpu=strongarm110"? I understand from the gcc info pages that
"-mcpu=strongarm110" enables "-march=armv4" and "-mtune=strongarm110".

Does the latest gcc snapshot generate significantly better code with the
new ARM backend?


Erik

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 15 12:35:13 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rJ9V-0006Se-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 15 May 2000 12:35:13 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7BD7F15D67; Mon, 15 May 2000 13:35:39 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155556AbQEOLVs>;
	Mon, 15 May 2000 07:21:48 -0400
Received: by vger.rutgers.edu id <S155477AbQEOLVa>;
	Mon, 15 May 2000 07:21:30 -0400
Received: from [194.216.164.17] ([194.216.164.17]:2027 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155575AbQEOLSG>; Mon, 15 May 2000 07:18:06 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2])
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12rKA2-0002tS-00
	for linux-arm@vger.rutgers.edu; Mon, 15 May 2000 12:39:50 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12rJ53-00037y-00; Mon, 15 May 2000 12:30:37 +0100
Received: from localhost ([127.0.0.1] helo=fountain.labs.futuretv.com)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12rJ52-0004UI-00; Mon, 15 May 2000 12:30:36 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
Cc: nico@cam.org, gregor-p@terratec.de, linux-arm@vger.rutgers.edu
Subject: Re: Linux on Assabet board 
In-Reply-To: Message from Erik Mouw <J.A.K.Mouw@its.tudelft.nl> 
   of "Mon May 15 12:13:27 +0200 (MDT) 2000 ." <200005151013.MAA29092@duteinh.et.tudelft.nl> 
References: <200005151013.MAA29092@duteinh.et.tudelft.nl> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Mon, 15 May 2000 12:30:36 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12rJ52-0004UI-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <200005151013.MAA29092@duteinh.et.tudelft.nl>, Erik Mouw writes:
>On Fri, 12 May 2000 21:49:04 +0100, Philip Blundell wrote:
>> Actually, you probably want -march=armv4 -mcpu=strongarm110.  If you are 
>> bothered about performance you should also consider using a recent (trunk) 
>> version of gcc, and turning on -fomit-frame-pointer.
>
>What's the difference between "-mcpu=strongarm110" and "-march=armv4
>-mcpu=strongarm110"? I understand from the gcc info pages that
>"-mcpu=strongarm110" enables "-march=armv4" and "-mtune=strongarm110".

Sorry, that was a typo in my message.  You are right that -mcpu=xxx 
is shorthand for -march=xx -mtune=yy.

>Does the latest gcc snapshot generate significantly better code with the
>new ARM backend?

Yes, though it depends on your application whether you will see much benefit.  
The kernel does measurably better in some benchmarks with the newer compiler 
as compared to gcc 2.95.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 15 17:38:37 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rNt7-0000vx-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 15 May 2000 17:38:37 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id CE4ED15D47; Mon, 15 May 2000 18:39:03 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155225AbQEOQXn>;
	Mon, 15 May 2000 12:23:43 -0400
Received: by vger.rutgers.edu id <S155268AbQEOQXc>;
	Mon, 15 May 2000 12:23:32 -0400
Received: from pn2.vsnl.net.in ([202.54.10.17]:4319 "EHLO pn2.vsnl.net.in")
	by vger.rutgers.edu with ESMTP id <S155276AbQEOQUp>;
	Mon, 15 May 2000 12:20:45 -0400
Received: from pn2.vsnl.net.in ([203.197.81.145])
	by pn2.vsnl.net.in (8.9.0/8.9.0) with ESMTP id WAA15024;
	Mon, 15 May 2000 22:00:52 +0530 (IST)
Message-ID: <39202749.10591553@pn2.vsnl.net.in>
Date:	Mon, 15 May 2000 22:05:21 +0530
From: Umesh Puranik <puranik@pn2.vsnl.net.in>
X-Mailer: Mozilla 4.5 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Cc: umesh@cirrus.stpp.soft.net
Subject: arm-linux ELF format problem
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I am trying to build a gcc cross-compiler for ARM/Linux on
a PC (Pentium III).
When I try to compile a simple c program (hello.c),
I get an error message:
ld: unsupported emulation format elf32arm

I am using the following sources to build the compiler:
binutils-2.9.5.0.41
gcc-2.95.2
linux kernel 2.2.2

I am not able to build the libraries using glibc-2.1.2 for
the same reason as above.

Could anybody tell what is going wrong? Or do I need to use
any patches?

Umesh


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 15 17:51:44 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rO5o-000110-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 15 May 2000 17:51:44 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 44CA115D45; Mon, 15 May 2000 18:52:10 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155211AbQEOQiw>;
	Mon, 15 May 2000 12:38:52 -0400
Received: by vger.rutgers.edu id <S155225AbQEOQid>;
	Mon, 15 May 2000 12:38:33 -0400
Received: from netwinder.org ([207.245.35.202]:64189 "EHLO kei.netwinder.org")
	by vger.rutgers.edu with ESMTP id <S155211AbQEOQi1>;
	Mon, 15 May 2000 12:38:27 -0400
Received: from netwinder.org ([10.1.19.121])
	by kei.netwinder.org (8.9.3/8.9.3) with ESMTP id MAA31395;
	Mon, 15 May 2000 12:50:00 -0400
Message-ID: <3920299D.7B28B8E2@netwinder.org>
Date:	Mon, 15 May 2000 12:45:17 -0400
From: Scott Bambrough <scottb@netwinder.org>
Organization: Rebel.com
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Umesh Puranik <puranik@pn2.vsnl.net.in>
Cc: linux-arm@vger.rutgers.edu, umesh@cirrus.stpp.soft.net
Subject: Re: arm-linux ELF format problem
References: <39202749.10591553@pn2.vsnl.net.in>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

The answer can be found here:

http://www.netwinder.org/~scottb/notes/Binutils-Notes-2.html#ss2.2

Umesh Puranik wrote:
> 
> I am trying to build a gcc cross-compiler for ARM/Linux on
> a PC (Pentium III).
> When I try to compile a simple c program (hello.c),
> I get an error message:
> ld: unsupported emulation format elf32arm
> 
> I am using the following sources to build the compiler:
> binutils-2.9.5.0.41
> gcc-2.95.2
> linux kernel 2.2.2
> 
> I am not able to build the libraries using glibc-2.1.2 for
> the same reason as above.
> 
> Could anybody tell what is going wrong? Or do I need to use
> any patches?
> 
> Umesh
> 
> unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
> ++                        kernel-related discussions.                      ++

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 15 21:42:19 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rRgx-0003Qt-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 15 May 2000 21:42:19 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1CA7915DDE; Mon, 15 May 2000 22:42:46 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156283AbQEOURz>;
	Mon, 15 May 2000 16:17:55 -0400
Received: by vger.rutgers.edu id <S156248AbQEOUMa>;
	Mon, 15 May 2000 16:12:30 -0400
Received: from blazie.com ([207.97.93.2]:7842 "EHLO blazie.com")
	by vger.rutgers.edu with ESMTP id <S156269AbQEOUFT>;
	Mon, 15 May 2000 16:05:19 -0400
Received: from localhost (localhost [127.0.0.1])
	by blazie.com (8.9.2/8.8.7) with ESMTP id QAA09429
	for <linux-arm@vger.rutgers.edu>; Mon, 15 May 2000 16:18:11 -0400 (EDT)
Date:	Mon, 15 May 2000 16:18:10 -0400 (EDT)
From: Chris Blazie <chris@blazie.com>
To: linux-arm@vger.rutgers.edu
Subject: shared library problem?
Message-ID: <Pine.LNX.4.04.10005151615460.9380-100000@blazie.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


        I am unable to run dynamically-linked applications on the
2.3.99-pre3 kernel I have running on our development board.  I can run
bash as init if bash is statically linked, but executing any other
application (such as ls) fails as shown below.  It looks like a problem
loading shared libraries.  Any ideas?

Thanks,
Chris


Linux version 2.3.99-pre3-rmk3-np2 (root@cassius) (gcc version 2.95.2
20000212 (re0
Architecture: Blazie Engineering Sherman
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
On node 1 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Calibrating delay loop... 124.52 BogoMIPS   
Memory: 64MB 64MB = 128MB total
Memory: 124616KB available (596K code, 414K data, 8K init)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.6
SA1100 serial driver version 1.2
ttyS0 on SA1100 UART3 (irq 17)
ttyS1 on SA1100 UART1 (irq 15)
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RAMDISK: Compressed image found at block 0
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 8k init   
bash# ls
ls: memory violation at pc=0x4000d040, lr=0x40003f60 (bad
address=0x4011aa54, code)
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
init (1): undefined instruction: pc=400cdb3c
[1] init: obsolete system call 00ffbfd8.
[1] init: obsolete system call 00ffbe34.
[1] init: obsolete system call 00ffbc90.
[1] init: obsolete system call 00ffbc0c.
[1] init: obsolete system call 00ffbaec.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 15 22:36:04 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rSWy-0003xa-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 15 May 2000 22:36:04 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1272715DFF; Mon, 15 May 2000 23:36:31 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155946AbQEOVJo>;
	Mon, 15 May 2000 17:09:44 -0400
Received: by vger.rutgers.edu id <S156030AbQEOU7L>;
	Mon, 15 May 2000 16:59:11 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:3892 "EHLO
	tazenda.demon.co.uk") by vger.rutgers.edu with ESMTP
	id <S156165AbQEOUxC>; Mon, 15 May 2000 16:53:02 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by tazenda.demon.co.uk with esmtp (Exim 3.11 #1 (Debian))
	id 12rSzu-0006LS-00; Mon, 15 May 2000 23:05:58 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12rSxg-0002tq-00; Mon, 15 May 2000 23:03:40 +0100
X-Mailer: exmh version 2.1.1 10/15/1999 (debian)
To: Chris Blazie <chris@blazie.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: shared library problem? 
In-Reply-To: Message from Chris Blazie <chris@blazie.com> 
   of "Mon, 15 May 2000 16:18:10 EDT." <Pine.LNX.4.04.10005151615460.9380-100000@blazie.com> 
References: <Pine.LNX.4.04.10005151615460.9380-100000@blazie.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Mon, 15 May 2000 23:03:40 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12rSxg-0002tq-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>        I am unable to run dynamically-linked applications on the
>2.3.99-pre3 kernel I have running on our development board.  I can run
>bash as init if bash is statically linked, but executing any other
>application (such as ls) fails as shown below.  It looks like a problem
>loading shared libraries.  Any ideas?

Seems that you have some problem with your memory management.  I doubt it's 
related to shared libraries directly.

>ls: memory violation at pc=0x4000d040, lr=0x40003f60 (bad
>address=0x4011aa54, code)

I suspect this is a bogus trap, though without knowing the `code' value it's 
hard to say for sure.

>init (1): undefined instruction: pc=400cdb3c

... and things just go completely ga-ga from that point on.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 16 08:57:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rcEI-000144-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 16 May 2000 08:57:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0CF3A15DE3; Tue, 16 May 2000 09:57:54 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155157AbQEPHnx>;
	Tue, 16 May 2000 03:43:53 -0400
Received: by vger.rutgers.edu id <S155125AbQEPHnk>;
	Tue, 16 May 2000 03:43:40 -0400
Received: from [202.30.128.201] ([202.30.128.201]:43676 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S155106AbQEPHnW>;
	Tue, 16 May 2000 03:43:22 -0400
Received: from yd01.hmec.co.kr ([192.168.129.11])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id QAA21833
	for <linux-arm@vger.rutgers.edu>; Tue, 16 May 2000 16:53:28 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id QAA08300 for <linux-arm@vger.rutgers.edu>; Tue, 16 May 2000 16:56:21 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: linux-arm@vger.rutgers.edu
Subject: Re: Cross GDB questions
Date:	Tue, 16 May 2000 16:41:11 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
References: <1000504104247A2361@wm01.hmec.co.kr>
In-Reply-To: <1000504104247A2361@wm01.hmec.co.kr>
MIME-Version: 1.0
Message-Id: <00051616540700.03592@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi!!!!

Because no one answer for my question and I have some progress in GDB/ANGEL
these days, I answer myself.

> 1. Register display
> There is no command to show registers in the both GDB 4.18 and
> gdb+dejagnu-20000426.
> Even more, I  get general pupose register value only in the current mode.
> For instance, the cpu is in USR32 mode, then I cannot get the register value in
> FIQ mode.
> 
> So I added "show_regs()" function to get GP registers and CP15 registers.
> 
> But I wonder that there is a  patch code for this Register display.
> 
I can get GP register values using "info registers", but it shows only GP
registers in  the current mode.
So to get GP register in other mode and CP15 registers, I defined more registers
in gdb/config/arm/tm-arm.h.


> 
> 2. next command, finish command
> 
> I place linux kernel image in RAM after I compiled linux kernel with -g -O
> options.  There is already Angel Image in ROM started at 0. Most of gdb
> commands are working fine.
> But with next command, the program couldn't stop at the next line and keep
> running. So I added some codes in "gdb/infrun.c:1872" for this problem as
> follows.

I downloaded gdb-4.95.1 from "sourceware.cysgnu.com", and I compiled again.
With that version, it's OK for the "next" and the "finish" command.

>
> 3. Baudrate
> With angel, I want to change baudare in runtime. Actually, there is
> "set remotebaud" command, but it doesn't seems to work with angel.

Now I can change baudrate using "target" command as follows

(gdb) target rdi /dev/cua0 57600
(gdb) load vmlinux
(gdb) target rdi /dev/cua0 19200

----------------------------------------------o00--(_)--00o-------
    Jungjun Kim       System Software Engineer
                      Application Team, Hyundai Electronics
    Office) +82-2-3459-3205
    FAX)    +82-2-3459-5843
                                               .oooO Oooo.
    mailto:sami@hmec.co.kr                     (   ) (   )
------------------------------------------------\ (---) /---------
                                                 \_) (_/

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 16 09:09:01 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rcPV-0001DP-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 16 May 2000 09:09:01 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BF76D15DD6; Tue, 16 May 2000 10:09:28 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155040AbQEPHz4>;
	Tue, 16 May 2000 03:55:56 -0400
Received: by vger.rutgers.edu id <S155043AbQEPHzj>;
	Tue, 16 May 2000 03:55:39 -0400
Received: from nanum.kaeri.re.kr ([147.43.15.12]:2155 "EHLO nanum.kaeri.re.kr")
	by vger.rutgers.edu with ESMTP id <S155040AbQEPHz1>;
	Tue, 16 May 2000 03:55:27 -0400
Received: from mail.robotics.co.kr ([147.43.73.178])
	by nanum.kaeri.re.kr (8.9.1a-H1/8.9.3) with ESMTP id RAA17346
	for <linux-arm@vger.rutgers.edu>; Tue, 16 May 2000 17:16:44 +0900 (kst)
Message-ID: <392101EA.E4CA342E@mail.robotics.co.kr>
Date:	Tue, 16 May 2000 17:08:10 +0900
From: root <sghong@mail.robotics.co.kr>
Organization: Hanwool Robotics Corp.
X-Mailer: Mozilla 4.61 [ko] (X11; I; Linux 2.2.12-20kr i686)
X-Accept-Language: ko
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: Glibc Error
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Greetings,

Now I'm trying to set up the cross-compile environment for porting Linux

on Assabet board.  The used packages are as follows.

binutils-2.9.5.0.42
gcc-2.95.2
linux-2.3.99

After compiling the above utils, I can boot the Assabet board, however I

cannot install glibc-2.1.3 with glibc-linuxthreads and crypt.  The used
compilation commands are as follows

CC=arm-linux-gcc ./configure arm-linux --build=i686-pc-linux-gnu
--prefix=/usr/local/arm/glibc/arm-glibc
--enable-add-ons=linuxthreads,crypt
--with-headers=/usr/src/linux-2.3.99/linux/include

It succeeds, but after do 'make', error messages appear as follows.

/usr/local/arm/arm-linux/bin/ld: unrecognised emulation mode: elf32arm
Supported emulations: armelf_linux armelf_linux26 armelf
collect2: ld returned 1 exit status
make[1]: *** [crt1.o] Error 1
make[1]: Leaving directory `/root/working/glibc-2.1.3/csu'
make: *** [csu/subdir_lib] Error 2

What's wrong in my steps? Plz, give me some advices :)
Thanks in advance.


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 16 11:11:06 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12reJe-0002JS-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 16 May 2000 11:11:06 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2A22215E6A; Tue, 16 May 2000 12:11:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155069AbQEPJ5w>;
	Tue, 16 May 2000 05:57:52 -0400
Received: by vger.rutgers.edu id <S155022AbQEPJ5r>;
	Tue, 16 May 2000 05:57:47 -0400
Received: from rmx452-mta.mail.com ([165.251.48.46]:37605 "EHLO
	rmx452-mta.mail.com") by vger.rutgers.edu with ESMTP
	id <S155143AbQEPJ5W>; Tue, 16 May 2000 05:57:22 -0400
Received: from web538-mc.mail.com (web538-mc.mail.com [165.251.48.172])
	by rmx452-mta.mail.com (8.9.3/8.9.3) with SMTP id GAA08928;
	Tue, 16 May 2000 06:10:01 -0400 (EDT)
Message-ID: <383357400.958471801922.JavaMail.root@web538-mc.mail.com>
Date:	Tue, 16 May 2000 06:10:01 -0400 (EDT)
From: Michael Slater <mslater@usa.com>
To: Scott Bambrough <scottb@netwinder.org>
Subject: Re: arm-linux ELF format problem
Cc: linux-arm@vger.rutgers.edu
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: mail.com
X-Originating-IP: 203.141.89.172
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello ,

I went thro the fix that is given in the site mentioned below.
I did the modification to the specs file as it said , but that doesn't seem
to make any difference.

I have the cross-compiler binary taken from

http://www-ict.its.tudelft.nl/~erik/open-source/arm-linux-cross/

do I have to compile everything afresh or can I do modifications for the
binary I have.

Cheers
Mike


------Original Message------
From: Scott Bambrough <scottb@netwinder.org>
To: Umesh Puranik <puranik@pn2.vsnl.net.in>
Sent: May 15, 2000 4:45:17 PM GMT
Subject: Re: arm-linux ELF format problem


The answer can be found here:

http://www.netwinder.org/~scottb/notes/Binutils-Notes-2.html#ss2.2

Umesh Puranik wrote:
>
> I am trying to build a gcc cross-compiler for ARM/Linux on
> a PC (Pentium III).
> When I try to compile a simple c program (hello.c),
> I get an error message:
> ld: unsupported emulation format elf32arm
>
> I am using the following sources to build the compiler:
> binutils-2.9.5.0.41
> gcc-2.95.2
> linux kernel 2.2.2
>
> I am not able to build the libraries using glibc-2.1.2 for
> the same reason as above.
>
> Could anybody tell what is going wrong? Or do I need to use
> any patches?
>
> Umesh
>
> unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for          
++
> ++                        kernel-related discussions.                     
++

--
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for          
++
++                        kernel-related discussions.                     
++

______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 16 12:52:19 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rftb-0003CX-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 16 May 2000 12:52:19 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id DA9D915DCF; Tue, 16 May 2000 13:52:46 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155217AbQEPLjD>;
	Tue, 16 May 2000 07:39:03 -0400
Received: by vger.rutgers.edu id <S155162AbQEPLiz>;
	Tue, 16 May 2000 07:38:55 -0400
Received: from [202.106.187.163] ([202.106.187.163]:48046 "HELO sina.com")
	by vger.rutgers.edu with SMTP id <S155209AbQEPLib>;
	Tue, 16 May 2000 07:38:31 -0400
Received: (qmail 29511 invoked by uid 99); 16 May 2000 09:32:43 -0000
Message-ID: <20000516093243.29510.qmail@sina.com>
From: daihbxd <daihbxd@sina.com>
To: sa1100-linux@pa.dec.com, linux-arm@vger.rutgers.edu
Cc: nanogui@linuxhacker.org;, linux@arm.linux.org.uk
Subject: problem about MCP and UCB1300
Date:	Tue May 16 17:32:43 CST 2000
X-Mailer: SinaMail 3.0Beta (FireToad)
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

hi all,
     microwindows 0.88pre7 can run on Assabet with frame-buffer and network support happily,
but there is still no touchscreen driver available,so i just can imagin what will be like to drags windows by finger.:)
     I tried to struggle for a driver,but clearly i need more hardware study.
     i used BCR_SET(CODEC_RESET|AUDIO_ON)to enable UCB1300,and set MCCR0 MCE bit,
but the mcp channel or the ucb1300 did not work,because the simple thing like to read UCB1300's ID register failed.
     anybody could give a hint,i really appreciate it.
regards


dai


===================================================================
ĐÂŔËĂâˇŃľç×ÓÓĘĎä http://mail.sina.com.cn 


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 16 20:23:27 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rmwA-0000du-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 16 May 2000 20:23:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 02BC415D56; Tue, 16 May 2000 21:23:50 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156780AbQEPS5c>;
	Tue, 16 May 2000 14:57:32 -0400
Received: by vger.rutgers.edu id <S155611AbQEPSnM>;
	Tue, 16 May 2000 14:43:12 -0400
Received: from ns.censoft.com ([208.219.23.2]:1451 "EHLO
	ns.centurysoftware.com") by vger.rutgers.edu with ESMTP
	id <S155987AbQEPSaA>; Tue, 16 May 2000 14:30:00 -0400
Received: from pcgregh (pcgregh.CenSoft.COM [208.219.23.48])
	by ns.centurysoftware.com (8.9.3/8.9.3) with SMTP id LAA05237;
	Tue, 16 May 2000 11:58:58 -0700 (MST)
Message-ID: <00d101bfbf66$a8379e90$3017dbd0@censoft.com>
From: "Greg Haerr" <greg@Censoft.com>
To: "daihbxd" <daihbxd@sina.com>, <sa1100-linux@pa.dec.com>,
	<linux-arm@vger.rutgers.edu>
Cc: <nanogui@linuxhacker.org;>, <linux@arm.linux.org.uk>
References: <20000516093243.29510.qmail@sina.com>
Subject: Re: problem about MCP and UCB1300
Date:	Tue, 16 May 2000 12:43:41 -0600
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Did you get ahold of the UCB1200 driver that we wrote at Century?
That version, although not yet completed because of polling issues, works
quite well on the ADS StrongARM box with a 640x480 LCD and the
UCB1200 input controller.

Regards,

Greg


Subject: problem about MCP and UCB1300


: hi all,
:      microwindows 0.88pre7 can run on Assabet with frame-buffer and
network support happily,
: but there is still no touchscreen driver available,so i just can imagin
what will be like to drags windows by finger.:)
:      I tried to struggle for a driver,but clearly i need more hardware
study.
:      i used BCR_SET(CODEC_RESET|AUDIO_ON)to enable UCB1300,and set MCCR0
MCE bit,
: but the mcp channel or the ucb1300 did not work,because the simple thing
like to read UCB1300's ID register failed.
:      anybody could give a hint,i really appreciate it.
: regards
:
:
: dai
:
:
: ===================================================================
: ĐÂŔËĂâˇŃľç×ÓÓĘĎä http://mail.sina.com.cn
:
:
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org
: For additional commands, e-mail: nanogui-help@linuxhacker.org
:
:


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 16 20:34:32 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rn6u-0000jB-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 16 May 2000 20:34:32 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7266315DCE; Tue, 16 May 2000 21:35:00 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155472AbQEPTCy>;
	Tue, 16 May 2000 15:02:54 -0400
Received: by vger.rutgers.edu id <S155550AbQEPSpD>;
	Tue, 16 May 2000 14:45:03 -0400
Received: from thalia.fm.intel.com ([132.233.247.11]:3112 "EHLO
	thalia.fm.intel.com") by vger.rutgers.edu with ESMTP
	id <S156143AbQEPSho>; Tue, 16 May 2000 14:37:44 -0400
Received: from SMTP (fmsmsxvs01-1.fm.intel.com [132.233.42.201])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.28 2000/05/06 00:07:11 dmccart Exp $) with SMTP id SAA20207;
	Tue, 16 May 2000 18:51:37 GMT
Received: from fmsmsx17.intel.com ([132.233.48.17]) by 132.233.48.201
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Tue, 16 May 2000 18:50:48 0000 (GMT)
Received: by fmsmsx17.fm.intel.com with Internet Mail Service (5.5.2448.0)
	id <LBS7N4AX>; Tue, 16 May 2000 11:50:46 -0700
Message-ID: <3D33CF40366DD111AC4100A0C96B22AC0870B46E@fmsmsx34.fm.intel.com>
From: "Naik, Uday" <uday.naik@intel.com>
To: "'Nicolas Pitre'" <nico@cam.org>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: ramdisk setup?
Date:	Tue, 16 May 2000 11:50:37 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Nico,

I am doing a Big endian port of linux to the IXP1200 (which is similar to
SA1100). I am at the point where the kernel is up and tries to uncompress
the ramdisk and mount it. Now all the libraries, utilities etc on the 
ramdisk need to be compiled for big endian too. For the little endian port,
I used the ramdisk posted by you on netwinder.org and it worked great. Can
you either post the source for that on netwinder.org or send me some url's
on where I can get the source. I will then build the ramdisk for big endian.

Uday


---

All opinions expressed are mine and do not reflect those of my employer.





unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 16 21:06:00 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rnbM-00013O-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 16 May 2000 21:06:00 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 24C1915D6C; Tue, 16 May 2000 22:06:28 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156314AbQEPTpU>;
	Tue, 16 May 2000 15:45:20 -0400
Received: by vger.rutgers.edu id <S155904AbQEPTZK>;
	Tue, 16 May 2000 15:25:10 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:1556
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155942AbQEPTEz>; Tue, 16 May 2000 15:04:55 -0400
Date:	Tue, 16 May 2000 15:19:12 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: "Naik, Uday" <uday.naik@intel.com>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: ramdisk setup?
In-Reply-To: <3D33CF40366DD111AC4100A0C96B22AC0870B46E@fmsmsx34.fm.intel.com>
Message-ID: <Pine.LNX.4.10.10005161508010.27116-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Tue, 16 May 2000, Naik, Uday wrote:

> Nico,
> 
> I am doing a Big endian port of linux to the IXP1200 (which is similar to
> SA1100). I am at the point where the kernel is up and tries to uncompress
> the ramdisk and mount it. Now all the libraries, utilities etc on the 
> ramdisk need to be compiled for big endian too. For the little endian port,
> I used the ramdisk posted by you on netwinder.org and it worked great. Can
> you either post the source for that on netwinder.org or send me some url's
> on where I can get the source. I will then build the ramdisk for big endian.

Well...  That'll be a job!

I based my ramdisk mostly with binaries from the Titan-VI distribution
available on ftp://ftp.netwinder.org/pub/mirrors/carleton/winder/.  SRPMs
are available too.  Also some utilities like busybox and tinylogin from
ftp.lineo.com.  Probably other source packages you should find easily on
the net too.

I wish you good luck!


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 02:23:31 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rsYd-0003Nu-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 02:23:31 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 53ACC15E11; Wed, 17 May 2000 03:23:59 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155375AbQEQBKA>;
	Tue, 16 May 2000 21:10:00 -0400
Received: by vger.rutgers.edu id <S155022AbQEQBJw>;
	Tue, 16 May 2000 21:09:52 -0400
Received: from ren.netconnect.com.au ([203.7.198.1]:4694 "HELO
	ren.netconnect.com.au") by vger.rutgers.edu with SMTP
	id <S155375AbQEQBJb>; Tue, 16 May 2000 21:09:31 -0400
Received: (qmail 6279 invoked from network); 16 May 2000 22:57:38 -0000
Received: from bcc1.clarendon.vic.edu.au (203.87.12.36)
  by mail.netconnect.com.au with SMTP; 16 May 2000 22:57:38 -0000
Received: from BCC1/SpoolDir by bcc1.clarendon.vic.edu.au (Mercury 1.43);
    17 May 100 08:53:25 +1200
Received: from SpoolDir by BCC1 (Mercury 1.43); 17 May 100 08:53:18 +1200
From: "Paul Esson" <Essonpa@bcc1.clarendon.vic.edu.au>
Organization: Ballarat & Clarendon College
To: linux-arm@vger.rutgers.edu
Date:	Wed, 17 May 2000 08:53:10 +1000
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Subject: Arm Linux CD
Message-ID: <39226E4A.28858.884F0@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Can someone make me a Arm Linux CD for my Risk PC.
Also i was wondering if you could make a PROM so that linux 
boots auto ??

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 02:51:54 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rt06-0003Yr-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 02:51:54 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7E0B415E25; Wed, 17 May 2000 03:52:22 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155388AbQEQBiL>;
	Tue, 16 May 2000 21:38:11 -0400
Received: by vger.rutgers.edu id <S155375AbQEQBhx>;
	Tue, 16 May 2000 21:37:53 -0400
Received: from kwanon.research.canon.com.au ([203.12.172.254]:33384 "HELO
	kwanon.research.canon.com.au") by vger.rutgers.edu with SMTP
	id <S155388AbQEQBhe>; Tue, 16 May 2000 21:37:34 -0400
Received: (qmail 26393 invoked from network); 17 May 2000 01:50:40 -0000
Received: from bellmann.research.canon.com.au (203.12.175.190)
  by kwanon-heat.research.canon.com.au with SMTP; 17 May 2000 01:50:40 -0000
Received: from elph.research.canon.com.au (elph.research.canon.com.au [203.12.174.253])
	by bellmann.research.canon.com.au (Postfix) with ESMTP id 924A58B10
	for <linux-arm@vger.rutgers.edu>; Wed, 17 May 2000 11:50:16 +1000 (EST)
Received: from research.canon.com.au (unknown [10.11.255.47])
	by elph.research.canon.com.au (Postfix) with ESMTP id 311173C962
	for <linux-arm@vger.rutgers.edu>; Wed, 17 May 2000 11:50:30 +1000 (EST)
Message-ID: <3921FB52.430A277A@research.canon.com.au>
Date:	Wed, 17 May 2000 11:52:18 +1000
From: Tim Lindquist <tjl@research.canon.com.au>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: Java VM
References: <39226E4A.28858.884F0@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Is there a Java VM that runs on arm linux?

Will the Blackdown implementation build for
arm linux.

Does anyone have any experience with this -
what is the performance like?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 03:43:19 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rtnr-0003sg-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 03:43:19 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id AAC6515D49; Wed, 17 May 2000 04:43:02 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155477AbQEQCYl>;
	Tue, 16 May 2000 22:24:41 -0400
Received: by vger.rutgers.edu id <S155022AbQEQCYX>;
	Tue, 16 May 2000 22:24:23 -0400
Received: from [202.30.128.201] ([202.30.128.201]:61016 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S155477AbQEQCYG>;
	Tue, 16 May 2000 22:24:06 -0400
Received: from yd01.hmec.co.kr ([192.168.129.11])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id LAA11533;
	Wed, 17 May 2000 11:35:19 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id LAA22030; Wed, 17 May 2000 11:38:13 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: suilt@21cn.com
Subject: Re: GDB baudrate
Date:	Wed, 17 May 2000 11:07:29 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
References: <1000517101804A2486@wm01.hmec.co.kr>
In-Reply-To: <1000517101804A2486@wm01.hmec.co.kr>
Cc: linux-arm@vger.rutgers.edu
MIME-Version: 1.0
Message-Id: <00051711355600.01148@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello,

The GDB 4.18 has some problems in serial implementation in ANGEL.
Expecially, it doesn't support high baudrate( like 57600, 119200)
I recommend to use GDB 4.95.x instead of fixing it.

The download site is ftp://sourceware.cygnus.com/pub/gdb/snaphots .
To compile GDB 4.95.1 with angel support, you have to change your gdb/Makefile
and execute "configure --target=arm-linux --prefix=/somewhere"  in the
gdb/rdi-share directory.

Add two files ( remote-rdi.o , rdi-share/libangelsd.a ) in Makefile. I don't
know why these two files are not included.

609: DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
610:      $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS) remote-rdi.o

783: gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
rdi-share/libangsd.a


The serial device file GDB uses is /dev/ttySx,
But I like to use serial port via /dev/cua0, so I modified source code for that
to use /dev/cua0 .
Try to use /dev/ttyS1 instead of /dev/cau1.

Related source files are as follows.

gdb/rdi-share/unixcomm.c
gdb/rdi-share/serdrv.c

Regards,

> >From suilt@21cn.com  Wed May 17 10:33:09 2000

> 
> Dear Mr.Jungjun Kim
> 
>   I found your message on the mail-list,I use Intel Assabate develop board too, when it communicates with the host through COM1,the protocol is Angle, use the command "target rdi /DEV/cau1",but when it connected, the display connected speed only at 9600. I use the command "target rdi /dev/cua1 57600", it said "can not found the device /DEV/cau1 57600",Is the some error on my operations?
> 
> BTW:where can I download the GDB 4.95.1? I can not find it at "sourceware.cysgnu.com".
> 
> My host OS :Redhat Linux 6.0
> Host : Pentium II 400, 64MB memory
> The GDB version:4.18 compile "configure -target=arm-linux-elf"
> 
> Thanks
> Best regards
> 
>  Sui Litao


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 04:45:53 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12rumP-0004Kq-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 04:45:53 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 63A2F15E32; Wed, 17 May 2000 05:46:21 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155477AbQEQDcc>;
	Tue, 16 May 2000 23:32:32 -0400
Received: by vger.rutgers.edu id <S155491AbQEQDcX>;
	Tue, 16 May 2000 23:32:23 -0400
Received: from nanum.kaeri.re.kr ([147.43.15.12]:2847 "EHLO nanum.kaeri.re.kr")
	by vger.rutgers.edu with ESMTP id <S155477AbQEQDb4>;
	Tue, 16 May 2000 23:31:56 -0400
Received: from mail.robotics.co.kr ([147.43.73.178])
	by nanum.kaeri.re.kr (8.9.1a-H1/8.9.3) with ESMTP id MAA13284
	for <linux-arm@vger.rutgers.edu>; Wed, 17 May 2000 12:53:36 +0900 (kst)
Message-ID: <392215BD.83131C8A@mail.robotics.co.kr>
Date:	Wed, 17 May 2000 12:45:01 +0900
From: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Organization: Hanwool Robotics Corp.
X-Mailer: Mozilla 4.61 [ko] (X11; I; Linux 2.2.12-20kr i686)
X-Accept-Language: ko
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: Re: Glibc error
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Greetings,

After chnaging the spec files in gcc, I can fix an error related to
elf32arm. However, another error appears as follows.
collect2: ld returned 1 exit status
make[1]: *** [libdb1.so] Error 1
make[1]: Leaving directory `/root/working/glibc-2.1.3/db'
make: *** [db/others] Error 2

>From this mailing lists, I heard that the above problem was fixed in
glibc-2.1.3, wasn't it?  To fix the error, should I use
bintuils-2.9.5.0.22 instead of binutils-2.9.5.0.42 or is there another
way to fix it?
If anyone succeeds in compiling glibc-2.1.3, give me any hints please.
Thanks in advance.

regards,

Sun-Gi Hong

E-mail : sghong@mail.robotics.co.kr



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 14:32:53 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12s3wT-0000fQ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 14:32:53 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A7D3F15D59; Wed, 17 May 2000 15:33:22 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155366AbQEQNSo>;
	Wed, 17 May 2000 09:18:44 -0400
Received: by vger.rutgers.edu id <S155261AbQEQNPY>;
	Wed, 17 May 2000 09:15:24 -0400
Received: from cirrus.stpp.soft.net ([203.129.225.66]:26155 "EHLO cirrus")
	by vger.rutgers.edu with ESMTP id <S155078AbQEQNPD>;
	Wed, 17 May 2000 09:15:03 -0400
Received: from cirrus.stpp.soft.net (umesh [198.90.171.25])
	by cirrus (8.8.7/8.8.7) with ESMTP id SAA12311;
	Wed, 17 May 2000 18:55:45 -0500
Message-ID: <39229E6D.A16BBFC5@cirrus.stpp.soft.net>
Date:	Wed, 17 May 2000 18:58:14 +0530
From: umesh <umesh@cirrus.stpp.soft.net>
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu, puranik@pn2.vsnl.net.in
Subject: glibc error - ioperm.c
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I am trying to build gcc cross toolchain for ARM/Linux using the
following:

binutils-2.9.5.0.41
gcc-2.95.2
glibc-2.1.3
kernel 2.2.1

I have built gcc (LANGUAGES="c") and without thread supports.

After that I try to build Glibc, but during 'make' it fails with the
following
error messages:

../sysdeps/unix/sysv/linux/arm/ioperm.c: In function `init_iosys':
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: `CTL_BUS' undeclared (first
use in this function)
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: (Each undeclared identifier
is reported only once
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: for each function it
appears in.)
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: initializer element is not
constant
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: (near initialization for
`iobase_name[0]')
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: `BUS_ISA' undeclared (first
use in this function)
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: initializer element is not
constant
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: (near initialization for
`iobase_name[1]')
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: `BUS_ISA_PORT_BASE'
undeclared (first use in this function)
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: initializer element is not
constant
../sysdeps/unix/sysv/linux/arm/ioperm.c:103: (near initialization for
`iobase_name[2]')
../sysdeps/unix/sysv/linux/arm/ioperm.c:104: initializer element is not
constant
../sysdeps/unix/sysv/linux/arm/ioperm.c:104: (near initialization for
`ioshift_name[0]')
../sysdeps/unix/sysv/linux/arm/ioperm.c:104: initializer element is not
constant
../sysdeps/unix/sysv/linux/arm/ioperm.c:104: (near initialization for
`ioshift_name[1]')
../sysdeps/unix/sysv/linux/arm/ioperm.c:104: `BUS_ISA_PORT_SHIFT'
undeclared (first use in this function)
../sysdeps/unix/sysv/linux/arm/ioperm.c:104: initializer element is not
constant
../sysdeps/unix/sysv/linux/arm/ioperm.c:104: (near initialization for
`ioshift_name[2]')
make[1]: *** [ioperm.o] Error 1
make: *** [misc/subdir_lib] Error 2

Does someone know what is going wrong?

Thanks.

Umesh Puranik


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 14:34:33 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12s3y5-0000fu-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 14:34:33 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2A84C15D77; Wed, 17 May 2000 15:35:03 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155078AbQEQNUz>;
	Wed, 17 May 2000 09:20:55 -0400
Received: by vger.rutgers.edu id <S155207AbQEQNUs>;
	Wed, 17 May 2000 09:20:48 -0400
Received: from thalia.fm.intel.com ([132.233.247.11]:2897 "EHLO
	thalia.fm.intel.com") by vger.rutgers.edu with ESMTP
	id <S155078AbQEQNUb>; Wed, 17 May 2000 09:20:31 -0400
Received: from SMTP (fmsmsxvs05-1.fm.intel.com [132.233.42.205])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.28 2000/05/06 00:07:11 dmccart Exp $) with SMTP id NAA09066
	for <linux-arm@vger.rutgers.edu>; Wed, 17 May 2000 13:34:28 GMT
Received: from fmsmsx28.FM.INTEL.COM ([132.233.48.28]) by 132.233.48.205
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Wed, 17 May 2000 13:33:38 0000 (GMT)
Received: by fmsmsx28.fm.intel.com with Internet Mail Service (5.5.2448.0)
	id <KFHHVPCB>; Wed, 17 May 2000 06:33:37 -0700
Message-ID: <7DAA70BEB463D211AC3E00A0C96B7AB2048D5900@orsmsx41.jf.intel.com>
From: "Bright, Norman" <norman.bright@intel.com>
To: linux-arm@vger.rutgers.edu
Subject: RE: Java VM
Date:	Wed, 17 May 2000 06:33:36 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="windows-1252"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

There is a blackdown.org port of the Java VM available to arm-linux and
there is a version of Kaffe from transvirtual that also supports arm-linux.
Links are below:

http://www.transvirtual.com/products/downloads.html
http://www.blackdown.org/java-linux/mirrors.html

Norm


-----Original Message-----
From: Tim Lindquist [mailto:tjl@research.canon.com.au]
Sent: Tuesday, May 16, 2000 6:52 PM
To: linux-arm@vger.rutgers.edu
Subject: Java VM



Is there a Java VM that runs on arm linux?

Will the Blackdown implementation build for
arm linux.

Does anyone have any experience with this -
what is the performance like?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for
++
++                        kernel-related discussions.
++


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 14:58:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12s4Kr-0000rD-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 14:58:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1D27215D6C; Wed, 17 May 2000 15:58:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155242AbQEQNoO>;
	Wed, 17 May 2000 09:44:14 -0400
Received: by vger.rutgers.edu id <S155268AbQEQNn7>;
	Wed, 17 May 2000 09:43:59 -0400
Received: from [194.216.164.17] ([194.216.164.17]:4095 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155273AbQEQNng>; Wed, 17 May 2000 09:43:36 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2] ident=mail)
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12s5Od-0002Sk-00
	for linux-arm@vger.rutgers.edu; Wed, 17 May 2000 15:06:03 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com ident=mail)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12s4JV-0004CC-00; Wed, 17 May 2000 14:56:41 +0100
Received: from localhost
	([127.0.0.1] helo=fountain.labs.futuretv.com ident=pb)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12s4JV-0002Mx-00; Wed, 17 May 2000 14:56:41 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: umesh <umesh@cirrus.stpp.soft.net>
Cc: linux-arm@vger.rutgers.edu, puranik@pn2.vsnl.net.in
Subject: Re: glibc error - ioperm.c 
In-Reply-To: Message from umesh <umesh@cirrus.stpp.soft.net> 
   of "Wed, 17 May 2000 18:58:14 +0530." <39229E6D.A16BBFC5@cirrus.stpp.soft.net> 
References: <39229E6D.A16BBFC5@cirrus.stpp.soft.net> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Wed, 17 May 2000 14:56:41 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12s4JV-0002Mx-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <39229E6D.A16BBFC5@cirrus.stpp.soft.net>, umesh writes:
>../sysdeps/unix/sysv/linux/arm/ioperm.c: In function `init_iosys':
>../sysdeps/unix/sysv/linux/arm/ioperm.c:103: `CTL_BUS' undeclared (first
>use in this function)

Your kernel headers are out of date.  Some sysctl definitions are missing.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 17:37:59 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12s6pb-0003aF-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 17:37:59 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2359015DB1; Wed, 17 May 2000 18:38:28 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155372AbQEQQW0>;
	Wed, 17 May 2000 12:22:26 -0400
Received: by vger.rutgers.edu id <S155378AbQEQQSi>;
	Wed, 17 May 2000 12:18:38 -0400
Received: from orange.csi.cam.ac.uk ([131.111.8.77]:62128 "EHLO
	orange.csi.cam.ac.uk") by vger.rutgers.edu with ESMTP
	id <S155375AbQEQQP6>; Wed, 17 May 2000 12:15:58 -0400
Received: from [131.111.233.240] (helo=djs61)
	by orange.csi.cam.ac.uk with smtp (Exim 3.13 #1)
	id 12s6hI-000076-00
	for linux-arm@vger.rutgers.edu; Wed, 17 May 2000 17:29:24 +0100
Date:	Wed, 17 May 2000 17:12:39 +0100
From: David Seery <djs61@hermes.cam.ac.uk>
To: linux-arm@vger.rutgers.edu
Subject: Re: Linux on a RiscPC 600 
Message-ID: <885a2ec049%djs61@djs61.christs.cam.ac.uk>
In-Reply-To: <E12rbFx-0003Ea-00@kings-cross.london.uk.eu.org>
X-Mailer: Messenger v1.41d for RISC OS
X-Editor: Zap 1.44 (03 Mar 2000) [TEST 2], ZapEmail 0.24 (26 Aug 1999) patch-9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Posting-Agent: RISC OS Newsbase 0.61b
User-Agent: POPstar/2.02
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On 16 May, Philip Blundell <Philip.Blundell@pobox.com> wrote:

> Ah, I see.  Well, you can download a tarball of the source that lkab is
> using from its ftp directory and give that a go.

I can't seem to get this at the moment, inkvine is refusing me
permission to access that directory.

> Check that you turned on floating point emulation when you built the
> kernel.

Ah, another quality mistake there.  I think I did have that wrong first
time round.  I still can't get it to work though.  Now it crashes
round about trying to calculate the module dependencies (the first process
it starts, I take it), with something like

Calculating module dependencies...
Unable to handle kernel paging request at virtual address 000e3390
memmap=1C3CC000, pgd=c0bcc000
*pgd=1c3d2011, *pmd=1c3d2011, *pte=00000000, *ppte=00000000
Internal error: Oops 2
CPU: 0
pc:  [<c0043d4c>]  lr: [<c0040148>]
sp:  c01afecc  ip: c01afeec  fp: c01afee8
r10: 400fed50  r9: 00000000  r8: 0000000a
r7:  c000a140  r6: c01c8a2c  r5: 000e338c  r4: 000e338c
r3:  4001dab8  r2: 400fed50  r1: c01c8a3c  r0: c000a140
Flags nzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Process init (pid 1, stackpage=c01af000)

I'm quite sure that getting this thing to build properly is not as
difficult as I'm making out, so I'm rapidly coming to the conclusion
that I'm missing something pretty elementary.  I've tried various
combinations of processor type and putting bits and pieces into the
kernel and taking them out again, and none of it seems to make a scrap
of difference, so I've attached my current .config file to this
mail.  If anyone can spot anything very wrong with it I'll be
grateful.  At the moment it's nothing much more than the basic
rpc_config defaults.

I can't now remember the ins and outs of each processor type,
and all my documentation is at home so I can't get at it,
but I tried building with the 26-bit APCS instead.  It failed
to build (looks like my arch-rpc/hardware.h file wasn't meant to
coexist with entry-armo.S?), but would it be worth trying to get
this to work?

David

-- 
David Seery                       Room H6
djs61@cam.ac.uk                   Christ's College

begin 644 .config,fff
M(PHC($%U=&]M871I8V%L;'D@9V5N97)A=&5D(&UA:V4@8V]N9FEG.B!D;VXG
M="!E9&ET"B,*0T].1DE'7T%233UY"@HC"B,@4WES=&5M(&%N9"!P<F]C97-S
M;W(@='EP90HC"B,@0T].1DE'7T%20TA?05)#(&ES(&YO="!S970*(R!#3TY&
M24=?05)#2%]!-4L@:7,@;F]T('-E=`I#3TY&24=?05)#2%]24$,]>0HC($-/
M3D9)1U]!4D-(7T5"4T$Q,3`@:7,@;F]T('-E=`HC($-/3D9)1U]&3T]40E))
M1$=%(&ES(&YO="!S970*0T].1DE'7T%20TA?04-/4DX]>0HC($-/3D9)1U])
M4T%?1$U!(&ES(&YO="!S970*0T].1DE'7T-055\S,CUY"B,@0T].1DE'7T-0
M55\R-B!I<R!N;W0@<V5T"B,@0T].1DE'7T-055]!4DTR(&ES(&YO="!S970*
M(R!#3TY&24=?0U!57T%233,@:7,@;F]T('-E=`I#3TY&24=?0U!57T%2338]
M>0HC($-/3D9)1U]#4%5?05)--R!I<R!N;W0@<V5T"B,@0T].1DE'7T-055]3
M03$Q,"!I<R!N;W0@<V5T"@HC"B,@0V]D92!M871U<FET>2!L979E;"!O<'1I
M;VYS"B,*(R!#3TY&24=?15A015))345.5$%,(&ES(&YO="!S970*(R!#3TY&
M24=?04Q)1TY-14Y47U1205`@:7,@;F]T('-E=`H*(PHC($QO861A8FQE(&UO
M9'5L92!S=7!P;W)T"B,*0T].1DE'7TU/1%5,15,]>0HC($-/3D9)1U]-3T16
M15)324].4R!I<R!N;W0@<V5T"D-/3D9)1U]+34]$/7D*"B,*(R!'96YE<F%L
M('-E='5P"B,*0T].1DE'7TY%5#UY"D-/3D9)1U]365-625!#/7D*(R!#3TY&
M24=?0E-$7U!23T-%4U-?04-#5"!I<R!N;W0@<V5T"D-/3D9)1U]365-#5$P]
M>0I#3TY&24=?3E=&4$4]>0I#3TY&24=?0DE.1DU47T%/550]>0I#3TY&24=?
M0DE.1DU47T5,1CUY"B,@0T].1DE'7T))3D9-5%]-25-#(&ES(&YO="!S970*
M(R!#3TY&24=?05)42%52(&ES(&YO="!S970*0T].1DE'7U!!4E!/4E0]>0I#
M3TY&24=?4$%24$]25%]00SUY"@HC"B,@4&QU9R!A;F0@4&QA>2!S=7!P;W)T
M"B,*(R!#3TY&24=?4$Y0(&ES(&YO="!S970*"B,*(R!";&]C:R!D979I8V5S
M"B,*0T].1DE'7T),2U]$159?1D0]>0I#3TY&24=?0DQ+7T1%5E])1$4]>0H*
M(PHC(%!L96%S92!S964@1&]C=6UE;G1A=&EO;B]I9&4N='AT(&9O<B!H96QP
M+VEN9F\@;VX@241%(&1R:79E<PHC"B,@0T].1DE'7T),2U]$159?2$1?241%
M(&ES(&YO="!S970*0T].1DE'7T),2U]$159?241%1$E32SUY"D-/3D9)1U]"
M3$M?1$567TE$14-$/7D*(R!#3TY&24=?0DQ+7T1%5E])1$5405!%(&ES(&YO
M="!S970*(R!#3TY&24=?0DQ+7T1%5E])1$5&3$]04%D@:7,@;F]T('-E=`HC
M($-/3D9)1U]"3$M?1$567TE$15-#4TD@:7,@;F]T('-E=`HC($-/3D9)1U]"
M3$M?1$567T--1#8T,"!I<R!N;W0@<V5T"B,@0T].1DE'7TE$15]#2$E04T54
M4R!I<R!N;W0@<V5T"@HC"B,@061D:71I;VYA;"!";&]C:R!$979I8V5S"B,*
M0T].1DE'7T),2U]$159?3$]/4#UY"B,@0T].1DE'7T),2U]$159?3D)$(&ES
M(&YO="!S970*(R!#3TY&24=?0DQ+7T1%5E]-1"!I<R!N;W0@<V5T"D-/3D9)
M1U]"3$M?1$567U)!33UY"D-/3D9)1U]"3$M?1$567TE.25121#UY"B,@0T].
M1DE'7T),2U]$159?6$0@:7,@;F]T('-E=`I#3TY&24=?4$%2241%7U!!4E!/
M4E0]>0HC($-/3D9)1U]005))1$4@:7,@;F]T('-E=`HC($-/3D9)1U]"3$M?
M0U!17T1!(&ES(&YO="!S970*(R!#3TY&24=?0DQ+7T1%5E](1"!I<R!N;W0@
M<V5T"@HC"B,@06-O<FXM<W!E8VEF:6,@8FQO8VL@9&5V:6-E<PHC"D-/3D9)
M1U]"3$M?1$567TE$15]#05)$4SUY"D-/3D9)1U]"3$M?1$567TE$15])0U-)
M1$4]>0I#3TY&24=?0DQ+7T1%5E])1$5?4D%0241%/7D*"B,*(R!#:&%R86-T
M97(@9&5V:6-E<PHC"D-/3D9)1U]65#UY"D-/3D9)1U]65%]#3TY33TQ%/7D*
M0T].1DE'7U-%4DE!3#UY"B,@0T].1DE'7U-%4DE!3%]#3TY33TQ%(&ES(&YO
M="!S970*(R!#3TY&24=?4T5224%,7T585$5.1$5$(&ES(&YO="!S970*0T].
M1DE'7T%43TU7241%7U-%4DE!3#UY"D-/3D9)1U]$54%,4U!?4T5224%,/7D*
M(R!#3TY&24=?4T5224%,7TY/3E-404Y$05)$(&ES(&YO="!S970*(R!#3TY&
M24=?54Y)6#DX7U!465,@:7,@;F]T('-E=`I#3TY&24=?4%))3E1%4CUM"D-/
M3D9)1U]04DE.5$527U)%041"04-+/7D*0T].1DE'7TU/55-%/7D*"B,*(R!-
M:6-E"B,*(R!#3TY&24=?051)6$Q?0E5334]54T4@:7,@;F]T('-E=`HC($-/
M3D9)1U]"55--3U5312!I<R!N;W0@<V5T"B,@0T].1DE'7TU37T)54TU/55-%
M(&ES(&YO="!S970*(R!#3TY&24=?4%--3U5312!I<R!N;W0@<V5T"B,@0T].
M1DE'7S@R0S<Q,%]-3U5312!I<R!N;W0@<V5T"B,@0T].1DE'7U!#,3$P7U!!
M1"!I<R!N;W0@<V5T"B,@0T].1DE'7U%)0S`R7U1!4$4@:7,@;F]T('-E=`HC
M($-/3D9)1U]7051#2$1/1R!I<R!N;W0@<V5T"B,@0T].1DE'7TY64D%-(&ES
M(&YO="!S970*(R!#3TY&24=?4E1#(&ES(&YO="!S970*"B,*(R!6:61E;R!&
M;W(@3&EN=7@*(PHC($-/3D9)1U]6241%3U]$158@:7,@;F]T('-E=`H*(PHC
M($IO>7-T:6-K('-U<'!O<G0*(PHC($-/3D9)1U]*3UE35$E#2R!I<R!N;W0@
M<V5T"B,@0T].1DE'7T143$L@:7,@;F]T('-E=`H*(PHC($9T87!E+"!T:&4@
M9FQO<'!Y('1A<&4@9&5V:6-E(&1R:79E<@HC"B,@0T].1DE'7T9405!%(&ES
M(&YO="!S970*0T].1DE'7U)00TU/55-%/7D*"B,*(R!#;VYS;VQE(&1R:79E
M<G,*(PI#3TY&24=?1D(]>0I#3TY&24=?1%5-35E?0T].4T],13UY"D-/3D9)
M1U]&0E]!0T]23CUY"B,@0T].1DE'7T9"7U9)4E1504P@:7,@;F]T('-E=`I#
M3TY&24=?1D)#3TY?041604Y#140]>0I#3TY&24=?1D)#3TY?349"/7D*0T].
M1DE'7T9"0T].7T-&0C(]>0I#3TY&24=?1D)#3TY?0T9"-#UY"D-/3D9)1U]&
M0D-/3E]#1D(X/7D*0T].1DE'7T9"0T].7T-&0C$V/7D*0T].1DE'7T9"0T].
M7T-&0C(T/7D*0T].1DE'7T9"0T].7T-&0C,R/7D*(R!#3TY&24=?1D)#3TY?
M049"(&ES(&YO="!S970*(R!#3TY&24=?1D)#3TY?24Q"32!I<R!N;W0@<V5T
M"B,@0T].1DE'7T9"0T].7TE03$%.,E`R(&ES(&YO="!S970*(R!#3TY&24=?
M1D)#3TY?25!,04XR4#0@:7,@;F]T('-E=`HC($-/3D9)1U]&0D-/3E])4$Q!
M3C)0."!I<R!N;W0@<V5T"B,@0T].1DE'7T9"0T].7TU!0R!I<R!N;W0@<V5T
M"B,@0T].1DE'7T9"0T].7U9'05]03$%.15,@:7,@;F]T('-E=`HC($-/3D9)
M1U]&0D-/3E]61T$@:7,@;F]T('-E=`HC($-/3D9)1U]&0D-/3E]&3TY45TE$
M5$@X7T].3%D@:7,@;F]T('-E=`I#3TY&24=?1D)#3TY?1D].5%,]>0HC($-/
M3D9)1U]&3TY47SAX."!I<R!N;W0@<V5T"B,@0T].1DE'7T9/3E1?.'@Q-B!I
M<R!N;W0@<V5T"B,@0T].1DE'7T9/3E1?4U5..'@Q-B!I<R!N;W0@<V5T"B,@
M0T].1DE'7T9/3E1?4U5.,3)X,C(@:7,@;F]T('-E=`HC($-/3D9)1U]&3TY4
M7S9X,3$@:7,@;F]T('-E=`HC($-/3D9)1U]&3TY47U!%05),7SAX."!I<R!N
M;W0@<V5T"D-/3D9)1U]&3TY47T%#3U).7SAX.#UY"@HC"B,@3F5T=V]R:VEN
M9R!O<'1I;VYS"B,*(R!#3TY&24=?4$%#2T54(&ES(&YO="!S970*(R!#3TY&
M24=?3D543$E.2R!I<R!N;W0@<V5T"B,@0T].1DE'7T9)4D5704Q,(&ES(&YO
M="!S970*(R!#3TY&24=?1DE,5$52(&ES(&YO="!S970*0T].1DE'7U5.25@]
M>0I#3TY&24=?24Y%5#UY"B,@0T].1DE'7TE07TU53%1)0T%35"!I<R!N;W0@
M<V5T"B,@0T].1DE'7TE07T%$5D%.0T5$7U)/551%4B!I<R!N;W0@<V5T"B,@
M0T].1DE'7TE07U!.4"!I<R!N;W0@<V5T"B,@0T].1DE'7TE07U)/551%4B!I
M<R!N;W0@<V5T"B,@0T].1DE'7TY%5%])4$E0(&ES(&YO="!S970*(R!#3TY&
M24=?3D547TE01U)%(&ES(&YO="!S970*(R!#3TY&24=?25!?04Q)05,@:7,@
M;F]T('-E=`HC($-/3D9)1U]364Y?0T]/2TE%4R!I<R!N;W0@<V5T"@HC"B,@
M*&ET(&ES('-A9F4@=&\@;&5A=F4@=&AE<V4@=6YT;W5C:&5D*0HC"B,@0T].
M1DE'7TE.151?4D%24"!I<R!N;W0@<V5T"B,@0T].1DE'7U-+0E],05)'12!I
M<R!N;W0@<V5T"@HC"B,@(`HC"D-/3D9)1U])4%@]>0I#3TY&24=?25!87TE.
M5$523CUY"B,@0T].1DE'7T%404Q+(&ES(&YO="!S970*"B,*(R!!;6%T975R
M(%)A9&EO('-U<'!O<G0*(PHC($-/3D9)1U](04U2041)3R!I<R!N;W0@<V5T
M"@HC"B,@27)$02!S=6)S>7-T96T@<W5P<&]R=`HC"B,@0T].1DE'7TE21$$@
M:7,@;F]T('-E=`H*(PHC($YE='=O<FL@9&5V:6-E('-U<'!O<G0*(PI#3TY&
M24=?3D541$5624-%4SUY"@HC"B,@05)#;F5T(&1E=FEC97,*(PHC($-/3D9)
M1U]!4D-.150@:7,@;F]T('-E=`HC($-/3D9)1U]$54U-62!I<R!N;W0@<V5T
M"B,@0T].1DE'7T5154%,25I%4B!I<R!N;W0@<V5T"B,@0T].1DE'7TY%5%]3
M0C$P,#`@:7,@;F]T('-E=`H*(PHC($5T:&5R;F5T("@Q,"!O<B`Q,#!-8FET
M*0HC"D-/3D9)1U].151?151(15).150]>0I#3TY&24=?05)-7T542$52,3UY
M"D-/3D9)1U]!4DU?151(15(S/7D*0T].1DE'7T%235]%5$A%4D@]>0HC($-/
M3D9)1U].151?5D5.1$]27S-#3TT@:7,@;F]T('-E=`HC($-/3D9)1U],04Y#
M12!I<R!N;W0@<V5T"B,@0T].1DE'7TY%5%]614Y$3U)?4TU#(&ES(&YO="!S
M970*(R!#3TY&24=?3D547U9%3D1/4E]204-!3"!I<R!N;W0@<V5T"B,@0T].
M1DE'7TY%5%])4T$@:7,@;F]T('-E=`HC($-/3D9)1U].151?14E302!I<R!N
M;W0@<V5T"B,@0T].1DE'7TY%5%]03T-+150@:7,@;F]T('-E=`HC($-/3D9)
M1U]&1$1)(&ES(&YO="!S970*(R!#3TY&24=?4$Q)4"!I<R!N;W0@<V5T"D-/
M3D9)1U]04%`];0H*(PHC($-#4"!C;VUP<F5S<V]R<R!F;W(@4%!0(&%R92!O
M;FQY(&)U:6QT(&%S(&UO9'5L97,N"B,*(R!#3TY&24=?4TQ)4"!I<R!N;W0@
M<V5T"B,@0T].1DE'7TY%5%]2041)3R!I<R!N;W0@<V5T"@HC"B,@5&]K96X@
M<FEN9R!D979I8V5S"B,*(R!#3TY&24=?5%(@:7,@;F]T('-E=`HC($-/3D9)
M1U].151?1D,@:7,@;F]T('-E=`H*(PHC(%=A;B!I;G1E<F9A8V5S"B,*(R!#
M3TY&24=?2$]35$534U]35C$Q(&ES(&YO="!S970*(R!#3TY&24=?0T]302!I
M<R!N;W0@<V5T"B,@0T].1DE'7U-%04Q%5D5,7S0P,C$@:7,@;F]T('-E=`HC
M($-/3D9)1U]$3$-)(&ES(&YO="!S970*(R!#3TY&24=?4T).22!I<R!N;W0@
M<V5T"@HC"B,@4T-322!S=7!P;W)T"B,*(R!#3TY&24=?4T-322!I<R!N;W0@
M<V5T"@HC"B,@4V]U;F0*(PI#3TY&24=?4T]53D0];0HC($-/3D9)1U]33U5.
M1%]%4S$S-S`@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%]%4S$S-S$@:7,@
M;F]T('-E=`HC($-/3D9)1U]33U5.1%]33TY)0U9)0D53(&ES(&YO="!S970*
M(R!#3TY&24=?4T]53D1?35-.1$-,05,@:7,@;F]T('-E=`HC($-/3D9)1U]3
M3U5.1%]-4TY$4$E.(&ES(&YO="!S970*0T].1DE'7U-/54Y$7T]34SUM"B,@
M0T].1DE'7U-/54Y$7U!!4R!I<R!N;W0@<V5T"B,@0T].1DE'7U-/54Y$7U-"
M(&ES(&YO="!S970*(R!#3TY&24=?4T]53D1?041,24(@:7,@;F]T('-E=`HC
M($-/3D9)1U]33U5.1%]'55,@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%]-
M4%4T,#$@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%]04U,@:7,@;F]T('-E
M=`HC($-/3D9)1U]33U5.1%]-4U,@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.
M1%]34T-!4$4@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%]44DE8(&ES(&YO
M="!S970*(R!#3TY&24=?4T]53D1?5DE!.#)#6%A8(&ES(&YO="!S970*(R!#
M3TY&24=?4T]53D1?34%$,38@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%]7
M059%1E)/3E0@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%]#4S0R,S(@:7,@
M;F]T('-E=`HC($-/3D9)1U]33U5.1%]/4$PS4T$R(&ES(&YO="!S970*(R!#
M3TY&24=?4T]53D1?34%522!I<R!N;W0@<V5T"B,@0T].1DE'7U-/54Y$7U-'
M04Q!6%D@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%]/4$PS4T$Q(&ES(&YO
M="!S970*(R!#3TY&24=?4T]53D1?4T]&5$]34R!I<R!N;W0@<V5T"B,@0T].
M1DE'7U-/54Y$7UE-,S@Q,B!I<R!N;W0@<V5T"B,@0T].1DE'7U-/54Y$7U9-
M241)(&ES(&YO="!S970*(R!#3TY&24=?4T]53D1?54%25#8X-3`@:7,@;F]T
M('-E=`I#3TY&24=?4T]53D1?5DE$0SUM"B,@0T].1DE'7U-/54Y$7U=!5D5!
M4E1)4U0@:7,@;F]T('-E=`HC($-/3D9)1U]33U5.1%].33(U-B!I<R!N;W0@
M<V5T"@HC"B,@061D:71I;VYA;"!L;W<@;&5V96P@<V]U;F0@9')I=F5R<PHC
M"B,@0T].1DE'7TQ/5TQ%5D5,7U-/54Y$(&ES(&YO="!S970*"B,*(R!&:6QE
M<WES=&5M<PHC"B,@0T].1DE'7U%53U1!(&ES(&YO="!S970*(R!#3TY&24=?
M05543T937T93(&ES(&YO="!S970*(R!#3TY&24=?049&4U]&4R!I<R!N;W0@
M<V5T"B,@0T].1DE'7TA&4U]&4R!I<R!N;W0@<V5T"D-/3D9)1U]&051?1E,]
M>0I#3TY&24=?35-$3U-?1E,]>0HC($-/3D9)1U]535-$3U-?1E,@:7,@;F]T
M('-E=`I#3TY&24=?5D9!5%]&4SUY"D-/3D9)1U])4T\Y-C8P7T93/7D*0T].
M1DE'7TI/3$E%5#UY"B,@0T].1DE'7TU)3DE87T93(&ES(&YO="!S970*(R!#
M3TY&24=?3E1&4U]&4R!I<R!N;W0@<V5T"B,@0T].1DE'7TA01E-?1E,@:7,@
M;F]T('-E=`I#3TY&24=?4%)/0U]&4SUY"B,@0T].1DE'7U)/34937T93(&ES
M(&YO="!S970*0T].1DE'7T585#)?1E,]>0HC($-/3D9)1U]365-67T93(&ES
M(&YO="!S970*(R!#3TY&24=?54937T93(&ES(&YO="!S970*"B,*(R!.971W
M;W)K($9I;&4@4WES=&5M<PHC"B,@0T].1DE'7T-/1$%?1E,@:7,@;F]T('-E
M=`I#3TY&24=?3D937T93/7D*0T].1DE'7U-53E)00SUY"D-/3D9)1U],3T-+
M1#UY"D-/3D9)1U]334)?1E,]>0I#3TY&24=?3D-07T93/7D*(R!#3TY&24=?
M3D-01E-?4$%#2T547U-)1TY)3D<@:7,@;F]T('-E=`HC($-/3D9)1U].0U!&
M4U])3T-43%],3T-+24Y'(&ES(&YO="!S970*(R!#3TY&24=?3D-01E-?4U12
M3TY'(&ES(&YO="!S970*(R!#3TY&24=?3D-01E-?3D937TY3(&ES(&YO="!S
M970*(R!#3TY&24=?3D-01E-?3U,R7TY3(&ES(&YO="!S970*(R!#3TY&24=?
M3D-01E-?34]53E1?4U5"1$E2(&ES(&YO="!S970*(R!#3TY&24=?3D-01E-?
M3DQ3(&ES(&YO="!S970*(R!#3TY&24=?3D-01E-?15A44D%3(&ES(&YO="!S
M970*"B,*(R!087)T:71I;VX@5'EP97,*(PHC($-/3D9)1U]005)4251)3TY?
M041604Y#140@:7,@;F]T('-E=`I#3TY&24=?35-$3U-?4$%25$E424]./7D*
M0T].1DE'7T%#3U).7U!!4E1)5$E/3CUY"D-/3D9)1U]!0T]23E]005)4251)
M3TY?041&4SUY"D-/3D9)1U]!0T]23E]005)4251)3TY?24-3/7D*0T].1DE'
M7T%#3U).7U!!4E1)5$E/3E]03U=%4E1%0SUY"D-/3D9)1U]!0T]23E]005)4
M251)3TY?4DE30TE8/7D*(R!#3TY&24=?4TU$7T1)4TM,04)%3"!I<R!N;W0@
M<V5T"B,@0T].1DE'7U-'25]$25-+3$%"14P@:7,@;F]T('-E=`I#3TY&24=?
M3DQ3/7D*"B,*(R!.871I=F4@3&%N9W5A9V4@4W5P<&]R=`HC"D-/3D9)1U].
M3%-?0T]$15!!1T5?-#,W/6T*0T].1DE'7TY,4U]#3T1%4$%'15\W,S<];0I#
M3TY&24=?3DQ37T-/1$5004=%7S<W-3UM"D-/3D9)1U].3%-?0T]$15!!1T5?
M.#4P/6T*0T].1DE'7TY,4U]#3T1%4$%'15\X-3(];0I#3TY&24=?3DQ37T-/
M1$5004=%7S@U-3UM"D-/3D9)1U].3%-?0T]$15!!1T5?.#4W/6T*0T].1DE'
M7TY,4U]#3T1%4$%'15\X-C`];0I#3TY&24=?3DQ37T-/1$5004=%7S@V,3UM
M"D-/3D9)1U].3%-?0T]$15!!1T5?.#8R/6T*0T].1DE'7TY,4U]#3T1%4$%'
M15\X-C,];0I#3TY&24=?3DQ37T-/1$5004=%7S@V-#UM"D-/3D9)1U].3%-?
M0T]$15!!1T5?.#8U/6T*0T].1DE'7TY,4U]#3T1%4$%'15\X-C8];0I#3TY&
M24=?3DQ37T-/1$5004=%7S@V.3UM"D-/3D9)1U].3%-?0T]$15!!1T5?.#<T
M/6T*0T].1DE'7TY,4U])4T\X.#4Y7S$];0I#3TY&24=?3DQ37TE33S@X-3E?
M,CUM"D-/3D9)1U].3%-?25-/.#@U.5\S/6T*0T].1DE'7TY,4U])4T\X.#4Y
M7S0];0I#3TY&24=?3DQ37TE33S@X-3E?-3UM"D-/3D9)1U].3%-?25-/.#@U
M.5\V/6T*0T].1DE'7TY,4U])4T\X.#4Y7S<];0I#3TY&24=?3DQ37TE33S@X
M-3E?.#UM"D-/3D9)1U].3%-?25-/.#@U.5\Y/6T*(R!#3TY&24=?3DQ37TE3
M3S@X-3E?,30@:7,@;F]T('-E=`HC($-/3D9)1U].3%-?25-/.#@U.5\Q-2!I
M<R!N;W0@<V5T"D-/3D9)1U].3%-?2T]).%]2/6T*"B,*(R!+97)N96P@:&%C
M:VEN9PHC"D-/3D9)1U]&4D%-15]03TE.5$52/7D*0T].1DE'7T1%0E5'7T52
M4D]24SUY"B,@0T].1DE'7T1%0E5'7U5315(@:7,@;F]T('-E=`HC($-/3D9)
M1U]$14)51U])3D9/(&ES(&YO="!S970*0T].1DE'7TU!1TE#7U-94U)1/7D*
`
end

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 18:02:22 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12s7DC-0003tF-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 18:02:22 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1220715DBD; Wed, 17 May 2000 19:02:52 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155040AbQEQQrx>;
	Wed, 17 May 2000 12:47:53 -0400
Received: by vger.rutgers.edu id <S155184AbQEQQll>;
	Wed, 17 May 2000 12:41:41 -0400
Received: from [212.41.41.61] ([212.41.41.61]:2211 "HELO
	mail.jakinternet.co.uk") by vger.rutgers.edu with SMTP
	id <S155283AbQEQQhJ>; Wed, 17 May 2000 12:37:09 -0400
Received: (qmail 14283 invoked by uid 101); 17 May 2000 16:28:34 -0000
Received: from unknown (HELO localhost) (212.41.37.105)
  by smtp.jakinternet.co.uk with SMTP; 17 May 2000 16:28:34 -0000
Date:	Wed, 17 May 2000 17:46:52 +0100
From: Luke Bosman <lukebosman@redhotant.co.uk>
To: linux-arm@vger.rutgers.edu
Subject: Re: Arm Linux CD
Message-ID: <ce7c31c049.LukeBosman@shrimpers.org.uk>
References: <39226E4A.28858.884F0@localhost>
In-Reply-To: <39226E4A.28858.884F0@localhost>
User-Agent: Messenger-Pro/2.10d (MsgServe/1.10) (RISC-OS/3.60) POPstar/2.02
X-Editor: Zap 1.44 (03 Mar 2000) [TEST 2], ZapEmail 0.24 (26 Aug 1999) patch-9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <39226E4A.28858.884F0@localhost>
          "Paul Esson" <Essonpa@bcc1.clarendon.vic.edu.au> wrote:

> Can someone make me a Arm Linux CD for my Risk PC.

Have a look at <http://www.aleph1.co.uk/armlinux/>

Luke
-- 
<http://www.shrimpers.org.uk> Southend Utd. results and stats
<http://www.prestonmethodism.org.uk/fulwood> Fulwood Methodist Church
PGP key available from http://www.shrimpers.org.uk/luke.txt
* "Le pouvoir corrompt. Le pouvoir absolu corrompt absolument."

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 17 18:44:51 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12s7sJ-0004Ke-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 17 May 2000 18:44:51 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 8DFBD15DB5; Wed, 17 May 2000 19:45:20 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155267AbQEQRa6>;
	Wed, 17 May 2000 13:30:58 -0400
Received: by vger.rutgers.edu id <S155242AbQEQRam>;
	Wed, 17 May 2000 13:30:42 -0400
Received: from [212.41.41.61] ([212.41.41.61]:1589 "HELO
	mail.jakinternet.co.uk") by vger.rutgers.edu with SMTP
	id <S155239AbQEQRa2>; Wed, 17 May 2000 13:30:28 -0400
Received: (qmail 19581 invoked by uid 101); 17 May 2000 17:21:54 -0000
Received: from user807.jakinternet.co.uk (HELO localhost) (212.41.35.40)
  by smtp.jakinternet.co.uk with SMTP; 17 May 2000 17:21:53 -0000
Date:	Wed, 17 May 2000 18:43:08 +0100
From: Luke Bosman <lukebosman@redhotant.co.uk>
Message-ID: <93a336c049.LukeBosman@shrimpers.org.uk>
User-Agent: Messenger-Pro/2.10d (MsgServe/1.10) (RISC-OS/3.60) POPstar/2.02
To: linux-arm@vger.rutgers.edu
Subject: Applications?
X-Editor: Zap 1.44 (03 Mar 2000) [TEST 2], ZapEmail 0.24 (26 Aug 1999) patch-9
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Is it possible to obtain ready-compiled applications (such as a word
processor or presentation software) for ARM Linux?

If so, where does one start looking?

Cheers,
Luke

-- 
<http://www.shrimpers.org.uk> Southend Utd. results and stats
<http://www.prestonmethodism.org.uk/fulwood> Fulwood Methodist Church
PGP key available from http://www.shrimpers.org.uk/luke.txt
* Never play leapfrog with a unicorn.

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 01:50:29 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sEWD-0007mF-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 01:50:29 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0ABAF15E2E; Thu, 18 May 2000 02:50:59 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155293AbQERAgK>;
	Wed, 17 May 2000 20:36:10 -0400
Received: by vger.rutgers.edu id <S155327AbQERAgF>;
	Wed, 17 May 2000 20:36:05 -0400
Received: from mail.uni-greifswald.de ([141.53.8.33]:3833 "EHLO
	mail.uni-greifswald.de") by vger.rutgers.edu with ESMTP
	id <S155293AbQERAfh>; Wed, 17 May 2000 20:35:37 -0400
Received: from localhost (sh990154@localhost)
	by mail.uni-greifswald.de (8.9.2/8.9.2) with SMTP id CAA23687
	for <linux-arm@vger.rutgers.edu>; Thu, 18 May 2000 02:49:08 +0200 (METDST)
Date:	Thu, 18 May 2000 02:49:07 +0200 (METDST)
From: "Hanske;Stefan" <sh990154@mail.uni-greifswald.de>
To: linux-arm@vger.rutgers.edu
Subject: long long problem
Message-ID: <Pine.GHP.4.02.10005180235480.23489-100000@mail.uni-greifswald.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hi all,

I think that the following behaviour of gcc is intended, but it's strange
that gcc uses only one register to return a long long value from a
function and expands it in a curious way to be a 64-bit value again
(something like mov r1, r0, asr #31).

The following just won't work:

	long long foo(long long test) {return test;}

	int main() {
		long long test = 0x1010101010101010;
		if (foo(test) == test) printf("I'm happy");
	}


Another thing that just won't work is the use of llseek() in defrag. I had
to use the syscall wrapper and change all the function calls to its own 
llseek() implementation to use long long * as the return value. Thats what
the kernel does. But this means that the libc llseek() won't work in every
case (when the returned value is compared to a "real" long long the
values will not match even if they should).


Does APCS definitely forbid the use of r0 & r1 as return registers for
long longs??


Thanks for any answers


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 02:42:30 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sFKX-00087w-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 02:42:30 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4288015E4A; Thu, 18 May 2000 03:43:00 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155409AbQERB20>;
	Wed, 17 May 2000 21:28:26 -0400
Received: by vger.rutgers.edu id <S155400AbQERBZX>;
	Wed, 17 May 2000 21:25:23 -0400
Received: from [202.30.128.201] ([202.30.128.201]:52804 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S155364AbQERBYx>;
	Wed, 17 May 2000 21:24:53 -0400
Received: from yd01.hmec.co.kr (localhost [127.0.0.1])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id KAA07869
	for <linux-arm@vger.rutgers.edu>; Thu, 18 May 2000 10:35:35 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id KAA23469 for <linux-arm@vger.rutgers.edu>; Thu, 18 May 2000 10:38:30 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: linux-arm@vger.rutgers.edu
Subject: Q: rom or flashrom root filesystem
Date:	Thu, 18 May 2000 10:26:42 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
MIME-Version: 1.0
Message-Id: <00051810361900.02272@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello,

I would like to want to know how I can mount root filesystem from ROM or
FlashROM which are memory-mapped.
Because of memory-mapped (Flash)ROM which are not in RAM address space,
I'm not sure it is OK to use initial ramdisk.

Anyone has experience about this problem?

Thanks,


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 06:31:47 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sIuR-0001LZ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 06:31:47 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id EBD3215D64; Thu, 18 May 2000 07:32:15 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155043AbQERFRy>;
	Thu, 18 May 2000 01:17:54 -0400
Received: by vger.rutgers.edu id <S155066AbQERFRq>;
	Thu, 18 May 2000 01:17:46 -0400
Received: from p43-magpie-gui.tch.enablis.net ([194.168.180.43]:1686 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155043AbQERFR3>; Thu, 18 May 2000 01:17:29 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id AAA23365;
	Thu, 18 May 2000 00:57:23 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id AAA02280;
	Thu, 18 May 2000 00:55:21 +0100
Message-Id: <200005172355.AAA02280@raistlin.arm.linux.org.uk>
Subject: Re: Linux on a RiscPC 600
To: djs61@hermes.cam.ac.uk (David Seery)
Date:	Thu, 18 May 2000 00:55:20 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <885a2ec049%djs61@djs61.christs.cam.ac.uk> from "David Seery" at May 17, 2000 05:12:39 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

David Seery writes:
> but I tried building with the 26-bit APCS instead.  It failed
> to build (looks like my arch-rpc/hardware.h file wasn't meant to
> coexist with entry-armo.S?), but would it be worth trying to get
> this to work?

No.  Definitely not.  The processor vectors in page 0 for interrupts
and exceptions are all entered in 32-bit mode, and some processors
do not support the 26-bit model here (StrongARM, ARM7xx I believe).
ARM6xx does however.

There is a fundamental problem though with 26-bit and that is the
mere fact that it is 26-bit, and not 32-bit.  Not enough space in
memory for everything to be reasonably positioned without imposing
stupidly small limits.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 08:24:18 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sKfK-00028b-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 08:24:18 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2882D15E71; Thu, 18 May 2000 09:24:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155115AbQERHKc>;
	Thu, 18 May 2000 03:10:32 -0400
Received: by vger.rutgers.edu id <S155066AbQERHKN>;
	Thu, 18 May 2000 03:10:13 -0400
Received: from [194.216.164.17] ([194.216.164.17]:1290 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155043AbQERHJ5>; Thu, 18 May 2000 03:09:57 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2])
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12sLjR-0003Qj-00
	for linux-arm@vger.rutgers.edu; Thu, 18 May 2000 08:32:37 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12sKeX-0007Ga-00; Thu, 18 May 2000 08:23:29 +0100
Received: from localhost ([127.0.0.1] helo=fountain.labs.futuretv.com)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12sKeX-0000AC-00; Thu, 18 May 2000 08:23:29 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: "Hanske;Stefan" <sh990154@mail.uni-greifswald.de>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: long long problem 
In-Reply-To: Message from "Hanske;Stefan" <sh990154@mail.uni-greifswald.de> 
   of "Thu, 18 May 2000 02:49:07 +0200." <Pine.GHP.4.02.10005180235480.23489-100000@mail.uni-greifswald.de> 
References: <Pine.GHP.4.02.10005180235480.23489-100000@mail.uni-greifswald.de> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Thu, 18 May 2000 08:23:29 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12sKeX-0000AC-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <Pine.GHP.4.02.10005180235480.23489-100000@mail.uni-greifswald.de>, 
"Hanske;Stefan" writes:
>The following just won't work:
>
>	long long foo(long long test) {return test;}
>
>	int main() {
>		long long test = 0x1010101010101010;
>		if (foo(test) == test) printf("I'm happy");
>	}

Pardon?  It works for me.  Here's the generated assembler.

@ Generated by gcc 2.96 19991025 (experimental) for ARM/elf
	.file	"longlong.c"
gcc2_compiled.:
.text
	.align	2
	.global	foo
	.type	 foo,function
foo:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, current_function_anonymous_args = 0
	mov	pc, lr
.Lfe1:
	.size	 foo,.Lfe1-foo
.section	.rodata
	.align	2
.LC0:
	.ascii	"I'm happy\000"
.text
	.align	2
	.global	main
	.type	 main,function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, current_function_anonymous_args = 0
	stmfd	sp!, {r4, r5, lr}
	adr	r4, .L5
	ldmia	r4, {r4-r5}
	mov	r1, r5
	mov	r0, r4
	bl	foo
	cmp	r0, r4
	ldmnefd	sp!, {r4, r5, pc}
	cmp	r1, r5
	ldr	r0, .L5+8
	ldmnefd	sp!, {r4, r5, pc}
	ldmfd	sp!, {r4, r5, lr}
	b	printf
.L6:
	.align	2
.L5:
	.word	269488144
	.word	269488144
	.word	.LC0
.Lfe2:
	.size	 main,.Lfe2-main
	.ident	"GCC: (GNU) 2.96 19991025 (experimental)"

>Another thing that just won't work is the use of llseek() in defrag.

This should be fine as well.  Are you sure you had a prototype in scope?

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 08:31:18 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sKm6-0002Bm-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 08:31:18 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 048FA15D74; Thu, 18 May 2000 09:31:48 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155268AbQERHRe>;
	Thu, 18 May 2000 03:17:34 -0400
Received: by vger.rutgers.edu id <S155261AbQERHRQ>;
	Thu, 18 May 2000 03:17:16 -0400
Received: from nanum.kaeri.re.kr ([147.43.15.12]:3041 "EHLO nanum.kaeri.re.kr")
	by vger.rutgers.edu with ESMTP id <S155230AbQERHQ7>;
	Thu, 18 May 2000 03:16:59 -0400
Received: from mail.robotics.co.kr ([147.43.73.178])
	by nanum.kaeri.re.kr (8.9.1a-H1/8.9.3) with ESMTP id QAA05681
	for <linux-arm@vger.rutgers.edu>; Thu, 18 May 2000 16:38:28 +0900 (kst)
Message-ID: <39239BF3.2BA11C26@mail.robotics.co.kr>
Date:	Thu, 18 May 2000 16:29:55 +0900
From: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Organization: Hanwool Robotics Corp.
X-Mailer: Mozilla 4.61 [ko] (X11; I; Linux 2.2.12-20kr i686)
X-Accept-Language: ko
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: [Q] What's the recent issues in Linux on Assabet?
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Greeting,

Now I finished to set up cross compile environment and to port the
kernel 2.3.99 on Assabet. As described in the title of this articale, I
want to know what the next step is. What's the recent issues in Assabet
porting now? Thank you in advance.


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 11:07:28 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sNDE-0003Tq-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 11:07:28 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 273E015D8A; Thu, 18 May 2000 12:07:59 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155230AbQERJxZ>;
	Thu, 18 May 2000 05:53:25 -0400
Received: by vger.rutgers.edu id <S155040AbQERJxI>;
	Thu, 18 May 2000 05:53:08 -0400
Received: from apple.tnrc.edu.tw ([163.28.113.1]:63816 "EHLO apple.ncku.edu.tw")
	by vger.rutgers.edu with ESMTP id <S155224AbQERJva>;
	Thu, 18 May 2000 05:51:30 -0400
Received: from sparc1.cc.ncku.edu.tw (sparc1.cc.ncku.edu.tw [140.116.5.1])
	by apple.ncku.edu.tw (8.10.1/8.10.1) with ESMTP id e4IA2s329848;
	Thu, 18 May 2000 18:02:54 +0800 (CST)
Received: from green (green.mmn.es.ncku.edu.tw [140.116.39.76])
	by sparc1.cc.ncku.edu.tw (8.8.7/8.8.7) with ESMTP id SAA05983;
	Thu, 18 May 2000 18:03:25 +0800 (CST)
Message-ID: <005401bfc0b0$9174ef00$4c27748c@mmn.es.ncku.edu.tw>
From: "green" <n9687122@dec4000.cc.ncku.edu.tw>
To: "arm-linux" <linux-arm@vger.rutgers.edu>,
	"arm-linux-kernel" <linux-arm-kernel@lists.arm.linux.org.uk>
Subject: PCMCIA network card!! Hurry up!!
Date:	Thu, 18 May 2000 18:05:10 +0800
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0051_01BFC0F3.9B5FDC80"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is a multi-part message in MIME format.

------=_NextPart_000_0051_01BFC0F3.9B5FDC80
Content-Type: text/plain;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

Dear all

I use arm-linux kernel 2.2.2-np3 on StrongARM SA1100 multimedia board.
And I got two questions.

First,
Now I want to find a PCMCIA network card which has already worked on =
this board.
Can any one suggest me which one I can use?
If there is any release driver source code, please tell me.

Second,
I want to receive the data stream of the audio in/out . How can I get =
the data??
Is there any driver on the Internet or kernel patch file have support?

Thanks a lot in advance.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

                                   ^^ green in Lab.       ncku,Taiwan

------=_NextPart_000_0051_01BFC0F3.9B5FDC80
Content-Type: text/html;
	charset="big5"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dbig5" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Dear all</DIV>
<DIV>&nbsp;</DIV>
<DIV>I use arm-linux kernel 2.2.2-np3 on StrongARM SA1100 multimedia=20
board.</DIV>
<DIV>And I got&nbsp;two questions.</DIV>
<DIV>&nbsp;</DIV>
<DIV>First,</DIV>
<DIV>Now I want to find a PCMCIA network card which has already worked =
on this=20
board.</DIV>
<DIV>Can any one suggest me which one I can use?</DIV>
<DIV>If there is any release driver&nbsp;source code, please tell =
me.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Second,</DIV>
<DIV>I want to&nbsp;receive the&nbsp;data stream of the audio in/out . =
How can I=20
get the data??</DIV>
<DIV>Is there any driver on the Internet or kernel patch file have=20
support?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks a lot in advance.</DIV>
<DIV>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
^^ green in Lab.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
ncku,Taiwan</DIV></BODY></HTML>

------=_NextPart_000_0051_01BFC0F3.9B5FDC80--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 12:11:10 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sOCs-000403-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 12:11:10 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 8472315DB6; Thu, 18 May 2000 13:11:41 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155317AbQERK5S>;
	Thu, 18 May 2000 06:57:18 -0400
Received: by vger.rutgers.edu id <S155294AbQERK5J>;
	Thu, 18 May 2000 06:57:09 -0400
Received: from p32-magpie-gui.tch.enablis.net ([194.168.180.32]:1757 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155259AbQERK45>; Thu, 18 May 2000 06:56:57 -0400
Received: from flint.arm.linux.org.uk (root@flint [192.168.0.4])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id IAA24553;
	Thu, 18 May 2000 08:18:22 +0100
Received: (from linux@localhost)
	by flint.arm.linux.org.uk (8.9.3/8.9.3) id IAA20736;
	Thu, 18 May 2000 08:17:16 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Message-Id: <200005180717.IAA20736@flint.arm.linux.org.uk>
Subject: Re: long long problem
To: sh990154@mail.uni-greifswald.de (Hanske;Stefan)
Date:	Thu, 18 May 2000 08:17:16 +0100 (BST)
Cc: linux-arm@vger.rutgers.edu
In-Reply-To: <Pine.GHP.4.02.10005180235480.23489-100000@mail.uni-greifswald.de> from "Hanske;Stefan" at May 18, 2000 02:49:07 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hanske;Stefan writes:
> I think that the following behaviour of gcc is intended, but it's strange
> that gcc uses only one register to return a long long value from a
> function and expands it in a curious way to be a 64-bit value again
> (something like mov r1, r0, asr #31).
> 
> The following just won't work:
> <code removed>

Well, I've just tested it on the old gcc 2.7.2.2 and gcc 2.95.1, and it
works correctly with both of thoes compilers.  I would suggest that you've
found a compiler bug!
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 12:32:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sOX7-0004CF-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 12:32:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 14E4115D9D; Thu, 18 May 2000 13:32:36 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155266AbQERLRv>;
	Thu, 18 May 2000 07:17:51 -0400
Received: by vger.rutgers.edu id <S155223AbQERLRg>;
	Thu, 18 May 2000 07:17:36 -0400
Received: from dns1.cyberiansoftware.com ([24.229.50.7]:2018 "HELO
	cyberiansoftware.com") by vger.rutgers.edu with SMTP
	id <S155184AbQERLOu>; Thu, 18 May 2000 07:14:50 -0400
Received: (qmail 21731 invoked from network); 18 May 2000 11:28:01 -0000
Received: from other.cyberiansoftware.com (HELO cyberiansoftware.com) (192.168.1.3)
  by cyberiansoftware.com with SMTP; 18 May 2000 11:28:01 -0000
Message-ID: <3923D3E8.8E9B2E5C@cyberiansoftware.com>
Date:	Thu, 18 May 2000 07:28:40 -0400
From: Tom Walsh <tom@cyberiansoftware.com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: ARM-LIST <linux-arm@vger.rutgers.edu>
Subject: newbie.
Content-Type: multipart/alternative;
 boundary="------------86B53A2671C143F891EF3AC3"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


--------------86B53A2671C143F891EF3AC3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hello,

    I am awaiting a evaluation board that I ordered a while back, it is
an ARM710 based board (Cirrus Logic, EDB-7500-FE-2).  I see a number of
code dumps being traded back and forth on the list.  Is the ARM assembly
language pretty much generic between, say, the StrongARM, ARM7TDMI,
ARM710, etc., platforms?

    Would this be a list that I would seek answers in getting Linux
running, and writing apps, on my eval board (it comes with a version of
the kernel on CD, but probably no development tools)?   Or, would there
be a list that is better targeted to the ARM710?

TIA,


TomW


--
Tom Walsh - WN3L - Embedded Systems Consultant
'www.openhardware.net', 'www.cyberiansoftware.com'
"Windows? No thanks, I have work to do..."



--------------86B53A2671C143F891EF3AC3
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hello,
<p>&nbsp;&nbsp;&nbsp; I am awaiting a evaluation board that I ordered a
while back, it is an ARM710 based board (Cirrus Logic, EDB-7500-FE-2).&nbsp;
I see a number of code dumps being traded back and forth on the list.&nbsp;
Is the ARM assembly language pretty much generic between, say, the StrongARM,
ARM7TDMI, ARM710, etc., platforms?
<p>&nbsp;&nbsp;&nbsp; Would this be a list that I would seek answers in
getting Linux running, and writing apps, on my eval board (it comes with
a version of the kernel on CD, but probably no development tools)?&nbsp;&nbsp;
Or, would there be a list that is better targeted to the ARM710?
<p>TIA,
<br>&nbsp;
<p>TomW
<br>&nbsp;
<pre>--&nbsp;
Tom Walsh - WN3L - Embedded Systems Consultant
'www.openhardware.net', 'www.cyberiansoftware.com'
"Windows? No thanks, I have work to do..."</pre>
&nbsp;</html>

--------------86B53A2671C143F891EF3AC3--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 12:47:35 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sOm7-0004K5-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 12:47:35 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C725115D42; Thu, 18 May 2000 13:48:05 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155040AbQERLdh>;
	Thu, 18 May 2000 07:33:37 -0400
Received: by vger.rutgers.edu id <S154981AbQERLdT>;
	Thu, 18 May 2000 07:33:19 -0400
Received: from [202.141.26.181] ([202.141.26.181]:3187 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155040AbQERLdJ>;
	Thu, 18 May 2000 07:33:09 -0400
Received: from localhost (ee96209@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id RAA10197;
	Thu, 18 May 2000 17:11:50 +0530
Date:	Thu, 18 May 2000 17:11:50 +0530 (IST)
From: Vikas Datta <ee96209@ee.iitm.ernet.in>
To: Tom Walsh <tom@cyberiansoftware.com>
Cc: ARM-LIST <linux-arm@vger.rutgers.edu>
Subject: Re: newbie.
In-Reply-To: <3923D3E8.8E9B2E5C@cyberiansoftware.com>
Message-ID: <Pine.LNX.4.10.10005181705490.9220-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello Tom,

I am also working at loading linux on the EDB-7500-FE-2 board. Basically I
have started with the  binutils-2.9.5.0.22. The kernel is about 700KB
but does not get through to the eval board successfully. I tried
downloading it using the SDT250 Toolkit. Let me know of the developments
or suggestions:)

--vikas


On Thu, 18 May 2000, Tom Walsh wrote:

> Hello,
> 
>     I am awaiting a evaluation board that I ordered a while back, it is
> an ARM710 based board (Cirrus Logic, EDB-7500-FE-2).  I see a number of
> code dumps being traded back and forth on the list.  Is the ARM assembly
> language pretty much generic between, say, the StrongARM, ARM7TDMI,
> ARM710, etc., platforms?
> 
>     Would this be a list that I would seek answers in getting Linux
> running, and writing apps, on my eval board (it comes with a version of
> the kernel on CD, but probably no development tools)?   Or, would there
> be a list that is better targeted to the ARM710?
> 
> TIA,
> 
> 
> TomW
> 
> 
> --
> Tom Walsh - WN3L - Embedded Systems Consultant
> 'www.openhardware.net', 'www.cyberiansoftware.com'
> "Windows? No thanks, I have work to do..."
> 
> 
> 



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 14:09:43 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sQ3b-0004yB-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 14:09:43 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A69A315D70; Thu, 18 May 2000 15:10:13 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155066AbQERMz6>;
	Thu, 18 May 2000 08:55:58 -0400
Received: by vger.rutgers.edu id <S155040AbQERMzl>;
	Thu, 18 May 2000 08:55:41 -0400
Received: from ice.fiftyone.com ([208.225.80.11]:2438 "EHLO ice.fiftyone.com")
	by vger.rutgers.edu with ESMTP id <S155115AbQERMzZ>;
	Thu, 18 May 2000 08:55:25 -0400
Received: from server01.asi (akron-80-187.ar51.net [208.225.80.187])
	by ice.fiftyone.com (8.9.3/8.8.7) with ESMTP id JAA12487;
	Thu, 18 May 2000 09:10:06 -0400
Received: by SERVER01 with Internet Mail Service (5.5.2448.0)
	id <KK9LVXK3>; Thu, 18 May 2000 09:09:45 -0400
Message-ID: <B1F74F3AD483D2119F80004005A19948059211@SERVER01>
From: Jeff Sutherland <jsutherland@accelent.com>
To: "'Sun-Gi Hong'" <sghong@mail.robotics.co.kr>,
	"'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: RE: [Q] What's the recent issues in Linux on Assabet?
Date:	Thu, 18 May 2000 09:09:34 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="ks_c_5601-1987"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> Greeting,
> 
> Now I finished to set up cross compile environment and to port the
> kernel 2.3.99 on Assabet. As described in the title of this 
> articale, I
> want to know what the next step is. What's the recent issues 
> in Assabet
> porting now? Thank you in advance.

Issues?  It pretty much works out of the box, just get the latest patches
from arm.linux.org.uk and ftp.netwinder.org/users/n/nico, read
linux/Documentation/arm/SA1100/Assabet and you should be all set.  You have
read the relevant docs at developer.intel.com, right?

//Jeff

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 18 16:02:16 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sRoW-0006Ee-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 18 May 2000 16:02:16 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2514D15D6C; Thu, 18 May 2000 17:02:46 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155362AbQEROrm>;
	Thu, 18 May 2000 10:47:42 -0400
Received: by vger.rutgers.edu id <S155239AbQEROod>;
	Thu, 18 May 2000 10:44:33 -0400
Received: from generic199.197.205.205.in-addr.arpa ([205.205.197.199]:2957
	"EHLO xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S155338AbQEROnx>; Thu, 18 May 2000 10:43:53 -0400
Date:	Thu, 18 May 2000 10:58:28 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: [Q] What's the recent issues in Linux on Assabet?
In-Reply-To: <39239BF3.2BA11C26@mail.robotics.co.kr>
Message-ID: <Pine.LNX.4.10.10005181052220.12949-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Thu, 18 May 2000, Sun-Gi Hong wrote:

> Greeting,
> 
> Now I finished to set up cross compile environment and to port the
> kernel 2.3.99 on Assabet. As described in the title of this articale, I
> want to know what the next step is. What's the recent issues in Assabet
> porting now? Thank you in advance.

Video works, audio playback kind of work, audio recording is about to
work, PCMCIA works (tested with networking and ATA storage), TouchScreen
is unclear (some drivers are being written), Flash access should work.

The unexplored support AFAIK are Neponset support, IRDA, USB, and probably
other things too.

If you want to get more details of what's going on, please subscribe to
the sa1100-linux@pa.dec.com mailing list.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 02:54:17 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sbzV-0005QL-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 02:54:17 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C57A815DDA; Fri, 19 May 2000 03:54:49 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155392AbQESBjh>;
	Thu, 18 May 2000 21:39:37 -0400
Received: by vger.rutgers.edu id <S155402AbQESBjA>;
	Thu, 18 May 2000 21:39:00 -0400
Received: from mailout2.hananet.net ([210.220.163.35]:51150 "EHLO
	mailout2.hananet.net") by vger.rutgers.edu with ESMTP
	id <S155427AbQESBfl>; Thu, 18 May 2000 21:35:41 -0400
Received: from pbk (UNKNOWN [211.58.238.129]) by
          mailout2.hananet.net (Netscape Messaging Server 4.15) with SMTP
          id FUSA8O01.T0E for <linux-arm@vger.rutgers.edu>; Fri, 19 May
          2000 10:46:00 +0900 
Message-ID: <006001bfc134$a89d3b40$81ee3ad3@hananet.net>
Reply-To: =?ks_c_5601-1987?B?udq5/LHUIL+ssbi/+A==?= <wave3th@baubau.com>
From: =?ks_c_5601-1987?B?udq5/LHUIL+ssbi/+A==?= <wave3th@hananet.net>
To: <linux-arm@vger.rutgers.edu>
Subject: about ARM-assemble code
Date:	Fri, 19 May 2000 10:50:49 +0900
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_005D_01BFC180.185A29C0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

This is a multi-part message in MIME format.

------=_NextPart_000_005D_01BFC180.185A29C0
Content-Type: text/plain;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

SGVsbG8sIG1hc3Rlci4NCkknbSBnbGFkIHRvIGZpbmQgdGhpcyBzaXRlLCBhbmQgdGhhbmtzLg0K
DQpJJ20gb24gc3R1ZHkgb2Yga2VybmVsLCBwb3J0aW5nIGxpbnV4IHRvIGFybS1jb3JlIHByb2Nl
c3Nvci4NCkkgcmVhZCBzb3VyY2UsIHdoaWNoIGlzIGFzc2VtYmxlIGNvZGUuICBJIGNhbid0IHVu
ZGVyc3RhbmQsIGNhbid0IGZpbmQgYW55IGRvYyBhYm91dCB0aGF0Lg0KDQpQbGVhc2UsIGd1aWRl
IG1lLg0KDQprZXJuZWwgdmVyIDIuMi4yDQovbGludXgvaW5jbHVkZS9hc20tYXJtL3Byb2MtYXJt
di8qDQoNCj09PT09PT09PT1pbiBzZW1hcGhvcmUuaD09PT09PT09PT09PT09PT09PT0NCmV4dGVy
biBpbmxpbmUgdm9pZCBkb3duKHN0cnVjdCBzZW1hcGhvcmUgKiBzZW0pDQp7DQogdW5zaWduZWQg
aW50IGNwc3IsIHRlbXA7DQoNCiBfX2FzbV9fIF9fdm9sYXRpbGVfXyAoIg0KIEAgYXRvbWljIGRv
d24gb3BlcmF0aW9uDQogbXJzICUwLCBjcHNyDQogb3JyICUxLCAlMCwgIzEyOCAgQCBkaXNhYmxl
IElSUXMNCiBiaWMgJTAsICUwLCAjMHg4MDAwMDAwMCBAIGNsZWFyIE4NCiBtc3IgY3BzciwgJTEN
CiBsZHIgJTEsIFslMl0NCiBzdWJzICUxLCAlMSwgIzENCiBvcnJtaSAlMCwgJTAsICMweDgwMDAw
MDAwIEAgc2V0IE4NCiBzdHIgJTEsIFslMl0NCiBtc3IgY3BzciwgJTANCiBtb3ZtaSByMCwgJTIN
CiBibG1pICIgU1lNQk9MX05BTUVfU1RSKF9fZG93bl9mYWlsZWQpDQogIDogIj0mciIgKGNwc3Ip
LCAiPSZyIiAodGVtcCkNCiAgOiAiciIgKHNlbSkNCiAgOiAicjAiLCAibHIiLCAiY2MiKTsNCn0N
Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KDQpoZWxwIG1l
IHJlYWRpbmcgdGhpcyBjb2RlLCAgaGF2ZSBnb29kIGx1Y2ssIHRyaW1lbmRvdXMgYWNoaWV2ZW1l
bnQuDQpnb29kIGJ5ZS4NCriuv8C9uiDBpLq4xeu9xQ0KVEVMICAwMi01MjItODM3MA0KRkFYICAw
Mi01MjItODM3MA0K

------=_NextPart_000_005D_01BFC180.185A29C0
Content-Type: text/html;
	charset="ks_c_5601-1987"
Content-Transfer-Encoding: base64

PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMCBUcmFuc2l0aW9uYWwv
L0VOIj4NCjxIVE1MPjxIRUFEPg0KPE1FVEEgY29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PWtz
X2NfNTYwMS0xOTg3IiBodHRwLWVxdWl2PUNvbnRlbnQtVHlwZT4NCjxNRVRBIGNvbnRlbnQ9Ik1T
SFRNTCA1LjAwLjI2MTQuMzUwMCIgbmFtZT1HRU5FUkFUT1I+DQo8U1RZTEU+PC9TVFlMRT4NCjwv
SEVBRD4NCjxCT0RZIGJnQ29sb3I9I2ZmZmZmZj4NCjxESVY+PEZPTlQgc2l6ZT0yPg0KPERJVj48
Rk9OVCBzaXplPTI+SGVsbG8sIG1hc3Rlci48L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9
Mj5JJ20gZ2xhZCB0byBmaW5kIHRoaXMgc2l0ZSwgYW5kIHRoYW5rcy48L0ZPTlQ+PC9ESVY+DQo8
RElWPiZuYnNwOzwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+SSdtIG9uIHN0dWR5IG9mIGtlcm5l
bCwgcG9ydGluZyBsaW51eCB0byBhcm0tY29yZSANCnByb2Nlc3Nvci48L0ZPTlQ+PC9ESVY+DQo8
RElWPjxGT05UIHNpemU9Mj5JIHJlYWQgc291cmNlLCB3aGljaCBpcyBhc3NlbWJsZSBjb2RlLiZu
YnNwOyBJIGNhbid0IA0KdW5kZXJzdGFuZCwgY2FuJ3QgZmluZCBhbnkgZG9jIGFib3V0IHRoYXQu
PC9GT05UPjwvRElWPg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPlBsZWFz
ZSwgZ3VpZGUgbWUuPC9GT05UPjwvRElWPg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+PEZPTlQg
c2l6ZT0yPmtlcm5lbCB2ZXIgMi4yLjI8L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj4v
bGludXgvaW5jbHVkZS9hc20tYXJtL3Byb2MtYXJtdi8qPC9GT05UPjwvRElWPg0KPERJVj4mbmJz
cDs8L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0yPj09PT09PT09PT1pbiBzZW1hcGhvcmUuaD09PT09
PT09PT09PT09PT09PT08L0ZPTlQ+PC9ESVY+DQo8RElWPjxGT05UIHNpemU9Mj5leHRlcm4gaW5s
aW5lIHZvaWQgZG93bihzdHJ1Y3Qgc2VtYXBob3JlICogDQpzZW0pPEJSPns8QlI+Jm5ic3A7dW5z
aWduZWQgaW50IGNwc3IsIHRlbXA7PC9GT05UPjwvRElWPg0KPERJVj4mbmJzcDs8L0RJVj4NCjxE
SVY+PEZPTlQgc2l6ZT0yPiZuYnNwO19fYXNtX18gX192b2xhdGlsZV9fICgiPEJSPiZuYnNwO0Ag
YXRvbWljIGRvd24gDQpvcGVyYXRpb248QlI+Jm5ic3A7bXJzJm5ic3A7JTAsIGNwc3I8QlI+Jm5i
c3A7b3JyJm5ic3A7JTEsICUwLCAjMTI4Jm5ic3A7Jm5ic3A7QCANCmRpc2FibGUgSVJRczxCUj4m
bmJzcDtiaWMmbmJzcDslMCwgJTAsICMweDgwMDAwMDAwJm5ic3A7QCBjbGVhciANCk48QlI+Jm5i
c3A7bXNyJm5ic3A7Y3BzciwgJTE8QlI+Jm5ic3A7bGRyJm5ic3A7JTEsIFslMl08QlI+Jm5ic3A7
c3VicyZuYnNwOyUxLCANCiUxLCAjMTxCUj4mbmJzcDtvcnJtaSZuYnNwOyUwLCAlMCwgIzB4ODAw
MDAwMDAmbmJzcDtAIHNldCANCk48QlI+Jm5ic3A7c3RyJm5ic3A7JTEsIFslMl08QlI+Jm5ic3A7
bXNyJm5ic3A7Y3BzciwgJTA8QlI+Jm5ic3A7bW92bWkmbmJzcDtyMCwgDQolMjxCUj4mbmJzcDti
bG1pJm5ic3A7IiBTWU1CT0xfTkFNRV9TVFIoX19kb3duX2ZhaWxlZCk8QlI+Jm5ic3A7Jm5ic3A7
OiANCiI9JmFtcDtyIiAoY3BzciksICI9JmFtcDtyIiAodGVtcCk8QlI+Jm5ic3A7Jm5ic3A7OiAi
ciIgKHNlbSk8QlI+Jm5ic3A7Jm5ic3A7OiANCiJyMCIsICJsciIsICJjYyIpOzxCUj59PC9GT05U
PjwvRElWPg0KPERJVj48Rk9OVCBzaXplPTI+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PC9GT05UPjwvRElWPg0KPERJVj4mbmJzcDs8L0RJVj4NCjxESVY+PEZP
TlQgc2l6ZT0yPmhlbHAgbWUgcmVhZGluZyB0aGlzIGNvZGUsJm5ic3A7IGhhdmUgZ29vZCBsdWNr
LCB0cmltZW5kb3VzIA0KYWNoaWV2ZW1lbnQuPC9GT05UPjwvRElWPg0KPERJVj48Rk9OVCBzaXpl
PTI+Z29vZCBieWUuPC9GT05UPjwvRElWPjwvRk9OVD48L0RJVj4NCjxESVY+PEZPTlQgc2l6ZT0y
Priuv8C9uiDBpLq4xeu9xTxCUj5URUwmbmJzcDsgMDItNTIyLTgzNzA8QlI+RkFYJm5ic3A7IA0K
MDItNTIyLTgzNzA8L0ZPTlQ+PC9ESVY+PC9CT0RZPjwvSFRNTD4NCg==

------=_NextPart_000_005D_01BFC180.185A29C0--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 03:19:42 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12scO6-0005d4-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 03:19:42 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 9A97B15DFA; Fri, 19 May 2000 04:20:14 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155388AbQESCFl>;
	Thu, 18 May 2000 22:05:41 -0400
Received: by vger.rutgers.edu id <S155273AbQESCFc>;
	Thu, 18 May 2000 22:05:32 -0400
Received: from mail.uni-greifswald.de ([141.53.8.33]:1323 "EHLO
	mail.uni-greifswald.de") by vger.rutgers.edu with ESMTP
	id <S155222AbQESCFX>; Thu, 18 May 2000 22:05:23 -0400
Received: from localhost (sh990154@localhost)
	by mail.uni-greifswald.de (8.9.2/8.9.2) with SMTP id EAA01130;
	Fri, 19 May 2000 04:19:13 +0200 (METDST)
Date:	Fri, 19 May 2000 04:19:12 +0200 (METDST)
From: "Hanske;Stefan" <sh990154@mail.uni-greifswald.de>
To: Philip Blundell <pb@labs.futuretv.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: long long problem 
In-Reply-To: <E12sKeX-0000AC-00@fountain.labs.futuretv.com>
Message-ID: <Pine.GHP.4.02.10005190415320.1112-100000@mail.uni-greifswald.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Thu, 18 May 2000, Philip Blundell wrote:

> In message <Pine.GHP.4.02.10005180235480.23489-100000@mail.uni-greifswald.de>, 
> "Hanske;Stefan" writes:
> >The following just won't work:
> >
> >	long long foo(long long test) {return test;}
> >
> >	int main() {
> >		long long test = 0x1010101010101010;
> >		if (foo(test) == test) printf("I'm happy");
> >	}
> 
> Pardon?  It works for me.  Here's the generated assembler.
> 

Here is what I get for a small llseek() test program using libc with
_FILE_OFFSET_BITS=64:

#include <sys/types.h>
#include <stdio.h>

int main() {
        FILE * file;
        loff_t offset;

        file = fopen("/dev/zero","r");
        offset = llseek(file, 0x1000, SEEK_SET);
        printf("The offset is: %lld.\n", offset);
}

=====>

0x20003bc <main>:       mov     r12, sp
0x20003c0 <main+4>:     stmdb   sp!, {r11, r12, lr, pc}
0x20003c4 <main+8>:     ldr     r0, [pc, #28]   ; 0x20003f4 <main+56>
0x20003c8 <main+12>:    ldr     r1, [pc, #28]   ; 0x20003f8 <main+60>
0x20003cc <main+16>:    sub     r11, r12, #4    ; 0x4
0x20003d0 <main+20>:    bl      0x20002f8 <fopen>
0x20003d4 <main+24>:    mov     r1, #4096       ; 0x1000
0x20003d8 <main+28>:    mov     r2, #0  ; 0x0
0x20003dc <main+32>:    bl      0x20002c8 <llseek>	<====
0x20003e0 <main+36>:    mov     r1, r0			<====
0x20003e4 <main+40>:    mov     r2, r1, asr #31		<====
0x20003e8 <main+44>:    ldr     r0, [pc, #c]    ; 0x20003fc <main+64>
0x20003ec <main+48>:    bl      0x20002e8 <printf>
0x20003f0 <main+52>:    ldmdb   r11, {r11, sp, pc}
0x20003f4 <main+56>:    andeq   r0, r0, #1879048192     ; 0x70000000
0x20003f8 <main+60>:    andeq   r0, r0, #2080374784     ; 0x7c000000
0x20003fc <main+64>:    andeq   r0, r0, #-2147483648    ; 0x80000000
End of assembler dump.

This is using gcc version 2.95.3 19991030 (prerelease)



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 06:24:18 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sfGk-00070n-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 06:24:18 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 62B8A15E22; Fri, 19 May 2000 07:24:50 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155230AbQESFKV>;
	Fri, 19 May 2000 01:10:21 -0400
Received: by vger.rutgers.edu id <S155227AbQESFKD>;
	Fri, 19 May 2000 01:10:03 -0400
Received: from [202.96.44.44] ([202.96.44.44]:36384 "HELO mta2.263.net")
	by vger.rutgers.edu with SMTP id <S155207AbQESFJn>;
	Fri, 19 May 2000 01:09:43 -0400
Received: by mta2.263.net (Postfix, from userid 60001)
	id AC1EF1C884A49; Fri, 19 May 2000 13:29:34 +0800 (CST)
MIME-Version: 1.0
Message-Id: <3924D13E.19856@mta2>
Date:	Fri, 19 May 2000 13:29:34 +0800 (CST)
From: daihb@263.net
To: nico@cam.org
Cc: linux-arm@vger.rutgers.edu
Subject: UDA1341,sound playing problem
X-Priority: 3
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

nicolas,
  pre8-rmk1-np3 runs on my Assabet board,and so does splay with fix-point.
  but when splay play 16bit stereo(22.1khz) files, the sound is about twice faster than normal speed,and 8bit is about four times.
  i wonder what's going wrong,the UDA1341 driver or splay?
   But the same splay can play music very happily.


/Dai 

_____________________________________________
Ę×śźÔÚĎß--ÖĐšúČËľÄÍřÉĎźŇÔ° http://www.263.net
@263.netÖĐšú×î´óľÄÔÚĎßÓĘžÖ http://freemail.263.net

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 08:34:40 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12shIu-0008ES-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 08:34:40 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 087B915E2B; Fri, 19 May 2000 09:35:12 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155305AbQESHUc>;
	Fri, 19 May 2000 03:20:32 -0400
Received: by vger.rutgers.edu id <S155267AbQESHUO>;
	Fri, 19 May 2000 03:20:14 -0400
Received: from [202.30.128.201] ([202.30.128.201]:33734 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S155115AbQESHTy>;
	Fri, 19 May 2000 03:19:54 -0400
Received: from yd01.hmec.co.kr ([192.168.129.11])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id QAA13280
	for <linux-arm@vger.rutgers.edu>; Fri, 19 May 2000 16:30:54 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id LAA02549 for <linux-arm@vger.rutgers.edu>; Fri, 19 May 2000 11:14:50 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: linux-arm@vger.rutgers.edu
Subject: RE: about ARM-assemble code
Date:	Fri, 19 May 2000 11:01:11 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
MIME-Version: 1.0
Message-Id: <00051911130800.02538@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


If you learn ARM assemble code,  it is helpful for you to read the book "ARM
Architectual Reference Manual"
You can find that book in bookstore like Amazon, etc.

But if you just are not familliar with inline assmbler, please do as I did.
First compile it, next disasemble its object file.

	arm-linux-gcc -c -g test.c
To disassemble,
	arm-linux-objdump -S test.o

Or simply,
	arm-linux-gcc -S -c test.c

 

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 10:26:24 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sj32-0000iX-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 10:26:24 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 860E015E34; Fri, 19 May 2000 11:26:56 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155392AbQESJMH>;
	Fri, 19 May 2000 05:12:07 -0400
Received: by vger.rutgers.edu id <S155327AbQESJLo>;
	Fri, 19 May 2000 05:11:44 -0400
Received: from [194.216.164.17] ([194.216.164.17]:2935 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155359AbQESJHw>; Fri, 19 May 2000 05:07:52 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2] ident=mail)
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12sk3V-0004lx-00
	for linux-arm@vger.rutgers.edu; Fri, 19 May 2000 10:30:57 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com ident=mail)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12siyb-0003cy-00; Fri, 19 May 2000 10:21:49 +0100
Received: from localhost
	([127.0.0.1] helo=fountain.labs.futuretv.com ident=pb)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12siyb-00062Z-00; Fri, 19 May 2000 10:21:49 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: "Hanske;Stefan" <sh990154@mail.uni-greifswald.de>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: long long problem 
In-Reply-To: Message from "Hanske;Stefan" <sh990154@mail.uni-greifswald.de> 
   of "Fri, 19 May 2000 04:19:12 +0200." <Pine.GHP.4.02.10005190415320.1112-100000@mail.uni-greifswald.de> 
References: <Pine.GHP.4.02.10005190415320.1112-100000@mail.uni-greifswald.de> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Fri, 19 May 2000 10:21:49 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12siyb-00062Z-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <Pine.GHP.4.02.10005190415320.1112-100000@mail.uni-greifswald.de>, "
Hanske;Stefan" writes:
>Here is what I get for a small llseek() test program using libc with
>_FILE_OFFSET_BITS=64:
>
>#include <sys/types.h>
>#include <stdio.h>
>
>int main() {
>        FILE * file;
>        loff_t offset;
>
>        file = fopen("/dev/zero","r");
>        offset = llseek(file, 0x1000, SEEK_SET);

You need lseek (which is actually lseek64 when _FILE_OFFSET_BITS=64), not 
llseek.  The latter has no prototype; if you really must use it you will need 
to provide your own declaration.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 11:19:27 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sjsN-000166-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 11:19:27 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4DECD15E2C; Fri, 19 May 2000 12:19:59 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155362AbQESKFR>;
	Fri, 19 May 2000 06:05:17 -0400
Received: by vger.rutgers.edu id <S155259AbQESKFL>;
	Fri, 19 May 2000 06:05:11 -0400
Received: from p46-magpie-gui.tch.enablis.net ([194.168.180.46]:3188 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155227AbQESKEs>; Fri, 19 May 2000 06:04:48 -0400
Received: from flint.arm.linux.org.uk (root@flint [192.168.0.4])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id JAA29539;
	Fri, 19 May 2000 09:43:14 +0100
Received: (from linux@localhost)
	by flint.arm.linux.org.uk (8.9.3/8.9.3) id JAA28032;
	Fri, 19 May 2000 09:42:06 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Message-Id: <200005190842.JAA28032@flint.arm.linux.org.uk>
Subject: Re: long long problem
To: sh990154@mail.uni-greifswald.de (Hanske;Stefan)
Date:	Fri, 19 May 2000 09:42:06 +0100 (BST)
Cc: pb@labs.futuretv.com (Philip Blundell),
	linux-arm@vger.rutgers.edu
In-Reply-To: <Pine.GHP.4.02.10005190415320.1112-100000@mail.uni-greifswald.de> from "Hanske;Stefan" at May 19, 2000 04:19:12 AM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hanske;Stefan writes:
> Here is what I get for a small llseek() test program using libc with
> _FILE_OFFSET_BITS=64:
>         file = fopen("/dev/zero","r");
>         offset = llseek(file, 0x1000, SEEK_SET);
>         printf("The offset is: %lld.\n", offset);
> 
> This is using gcc version 2.95.3 19991030 (prerelease)

Try compiling it with -Wall.  You will get warnings.  For starters,
llseek doesn't take a FILE * argument as the first parameter.  Secondly,
it returns an "int".

Try:
	file = fopen("/dev/zero", "r");
	fseeko64(file, 0x1000ULL, SEEK_SET);
	offset = ftello64(file);
	printf("The offset is %lld.\n", offset);

That appears to work as expected.  (Note that fseeko64 does not appear to
return the new file position, and, in addition you need to define
_LARGEFILE64_SOURCE).
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 14:27:08 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12smo0-0002rB-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 14:27:08 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 16CFF15E53; Fri, 19 May 2000 15:27:41 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155327AbQESNM0>;
	Fri, 19 May 2000 09:12:26 -0400
Received: by vger.rutgers.edu id <S155390AbQESNLp>;
	Fri, 19 May 2000 09:11:45 -0400
Received: from dfw7-1.relay.mail.uu.net ([199.171.54.106]:61345 "EHLO
	dfw7-1.relay.mail.uu.net") by vger.rutgers.edu with ESMTP
	id <S155422AbQESNJQ>; Fri, 19 May 2000 09:09:16 -0400
Received: from xedia.com by dfw7sosrv11.alter.net with SMTP 
	(peer crosschecked as: madway.xedia.com [198.202.232.199])
	id QQipvx24832
	for <linux-arm@vger.rutgers.edu>; Fri, 19 May 2000 13:23:07 GMT
Received: from tonga.xedia.com by xedia.com (4.1/SMI-4.1)
	id AA19415; Fri, 19 May 00 09:19:39 EDT
Received: by tonga.xedia.com (SMI-8.6/SMI-SVR4)
	id JAA29699; Fri, 19 May 2000 09:23:03 -0400
From: Paul Koning <pkoning@xedia.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <14629.16439.468521.761249@xedia.com>
Date:	Fri, 19 May 2000 09:23:03 -0400 (EDT)
To: linux-arm@vger.rutgers.edu
Subject: Re: long long problem
References: <Pine.GHP.4.02.10005190415320.1112-100000@mail.uni-greifswald.de>
	<200005190842.JAA28032@flint.arm.linux.org.uk>
X-Mailer: VM 6.72 under 21.1 (patch 9) "Canyonlands" XEmacs Lucid
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>>>>> "Russell" == Russell King <- ARM Linux Admin <linux@arm.linux.org.uk>> writes:

 Russell> Hanske;Stefan writes:
 >> Here is what I get for a small llseek() test program using libc
 >> with _FILE_OFFSET_BITS=64: file = fopen("/dev/zero","r"); offset =
 >> llseek(file, 0x1000, SEEK_SET); printf("The offset is: %lld.\n",
 >> offset);
 >> 
 >> This is using gcc version 2.95.3 19991030 (prerelease)

 Russell> Try compiling it with -Wall.  You will get warnings.  For
 Russell> starters, llseek doesn't take a FILE * argument as the first
 Russell> parameter.  Secondly, it returns an "int".

I guess it's a naming error then -- because surely naming something
"llseek" when it doesn't return a "long long int" is a misleading
thing to do...

      paul

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 15:20:16 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sndQ-0003Ny-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 15:20:16 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 9812715E71; Fri, 19 May 2000 16:20:48 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155266AbQESOGG>;
	Fri, 19 May 2000 10:06:06 -0400
Received: by vger.rutgers.edu id <S155366AbQESOF4>;
	Fri, 19 May 2000 10:05:56 -0400
Received: from [154.11.70.34] ([154.11.70.34]:22176 "EHLO xanadu.vipswitch.com")
	by vger.rutgers.edu with ESMTP id <S155400AbQESOFd>;
	Fri, 19 May 2000 10:05:33 -0400
Date:	Fri, 19 May 2000 10:15:39 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: daihb@263.net
Cc: linux-arm@vger.rutgers.edu
Subject: Re: UDA1341,sound playing problem
In-Reply-To: <3924D13E.19856@mta2>
Message-ID: <Pine.LNX.4.10.10005191014230.15546-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Fri, 19 May 2000 daihb@263.net wrote:

> nicolas,
>   pre8-rmk1-np3 runs on my Assabet board,and so does splay with fix-point.
>   but when splay play 16bit stereo(22.1khz) files, the sound is about twice faster than normal speed,and 8bit is about four times.

Different samplerates than 44100 Hz stereo aren't implemented in the
UDA1341 driver yet.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 17:21:25 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12spWf-0004cX-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 17:21:25 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 8BA3315E1C; Fri, 19 May 2000 18:21:58 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155386AbQESQHO>;
	Fri, 19 May 2000 12:07:14 -0400
Received: by vger.rutgers.edu id <S155372AbQESQHG>;
	Fri, 19 May 2000 12:07:06 -0400
Received: from [194.216.164.17] ([194.216.164.17]:3558 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155289AbQESQGq>; Fri, 19 May 2000 12:06:46 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2] ident=mail)
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12sqaw-00058P-00
	for linux-arm@vger.rutgers.edu; Fri, 19 May 2000 17:29:54 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com ident=mail)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12spW1-0005Ja-00; Fri, 19 May 2000 17:20:45 +0100
Received: from localhost
	([127.0.0.1] helo=fountain.labs.futuretv.com ident=pb)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12spW1-0008IC-00; Fri, 19 May 2000 17:20:45 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: Paul Koning <pkoning@xedia.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: long long problem 
In-Reply-To: Message from Paul Koning <pkoning@xedia.com> 
   of "Fri, 19 May 2000 09:23:03 EDT." <14629.16439.468521.761249@xedia.com> 
References: <Pine.GHP.4.02.10005190415320.1112-100000@mail.uni-greifswald.de> <200005190842.JAA28032@flint.arm.linux.org.uk>  <14629.16439.468521.761249@xedia.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Fri, 19 May 2000 17:20:44 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12spW1-0008IC-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <14629.16439.468521.761249@xedia.com>, Paul Koning writes:
>>>>>> "Russell" == Russell King <- ARM Linux Admin <linux@arm.linux.org.uk>> w
>rites:
> Russell> Try compiling it with -Wall.  You will get warnings.  For
> Russell> starters, llseek doesn't take a FILE * argument as the first
> Russell> parameter.  Secondly, it returns an "int".
>
>I guess it's a naming error then -- because surely naming something
>"llseek" when it doesn't return a "long long int" is a misleading
>thing to do...

I think Russell is mistaken; the return value of llseek() is actually loff_t, 
which is equivalent to long long.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 18:48:45 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sqtB-0005JN-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 18:48:45 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2013715D78; Fri, 19 May 2000 19:49:17 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155390AbQESRaX>;
	Fri, 19 May 2000 13:30:23 -0400
Received: by vger.rutgers.edu id <S155270AbQESRaD>;
	Fri, 19 May 2000 13:30:03 -0400
Received: from p51-magpie-gui.tch.enablis.net ([194.168.180.51]:3364 "EHLO
	caramon.arm.linux.org.uk") by vger.rutgers.edu with ESMTP
	id <S155361AbQESR3e>; Fri, 19 May 2000 13:29:34 -0400
Received: from raistlin.arm.linux.org.uk (root@raistlin [192.168.0.3])
	by caramon.arm.linux.org.uk (8.9.3/8.9.3) with ESMTP id SAA31444;
	Fri, 19 May 2000 18:43:35 +0100
From: Russell King - ARM Linux Admin <linux@arm.linux.org.uk>
Received: (from linux@localhost)
	by raistlin.arm.linux.org.uk (8.7.4/8.7.3) id SAA02066;
	Fri, 19 May 2000 18:41:10 +0100
Message-Id: <200005191741.SAA02066@raistlin.arm.linux.org.uk>
Subject: Re: long long problem
To: pb@labs.futuretv.com (Philip Blundell)
Date:	Fri, 19 May 2000 18:41:08 +0100 (BST)
Cc: pkoning@xedia.com (Paul Koning), linux-arm@vger.rutgers.edu
In-Reply-To: <E12spW1-0008IC-00@fountain.labs.futuretv.com> from "Philip Blundell" at May 19, 2000 05:20:44 PM
X-Mailer: ELM [version 2.5 PL1]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Philip Blundell writes:
> In message <14629.16439.468521.761249@xedia.com>, Paul Koning writes:
> >>>>>> "Russell" == Russell King <- ARM Linux Admin <linux@arm.linux.org.uk>> w
> >rites:
> > Russell> Try compiling it with -Wall.  You will get warnings.  For
> > Russell> starters, llseek doesn't take a FILE * argument as the first
> > Russell> parameter.  Secondly, it returns an "int".
> >
> >I guess it's a naming error then -- because surely naming something
> >"llseek" when it doesn't return a "long long int" is a misleading
> >thing to do...
> 
> I think Russell is mistaken; the return value of llseek() is actually loff_t, 
> which is equivalent to long long.

Probably - just checked my only glibc source (2.0.99) and it does return
loff_t.  However, if its not prototyped, then GCC will default it to return
an int.

Therefore, there are still two errors on the program:

1. It's passing a FILE * instead of an int as the first argument.
2. The C compiler believes, since there is no prototype to tell it otherwise,
   that llseek returns an int.

1 can be fixed by using fseeko64 - there is no fseek64 in that version of glibc,
nor the later glibc headers.

2 can be fixed merely by supplying the appropriate prototype:

	loff_t __llseek (int fd, loff_t offset, int whence);
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       linux@arm.linux.org.uk      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 19 22:51:20 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12sufw-0008JV-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 19 May 2000 22:51:20 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4EF8A15D57; Fri, 19 May 2000 23:51:53 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155115AbQESVhN>;
	Fri, 19 May 2000 17:37:13 -0400
Received: by vger.rutgers.edu id <S155362AbQESVgx>;
	Fri, 19 May 2000 17:36:53 -0400
Received: from mail.uni-greifswald.de ([141.53.8.33]:4729 "EHLO
	mail.uni-greifswald.de") by vger.rutgers.edu with ESMTP
	id <S155043AbQESVgr>; Fri, 19 May 2000 17:36:47 -0400
Received: from localhost (sh990154@localhost)
	by mail.uni-greifswald.de (8.9.2/8.9.2) with SMTP id XAA24362
	for <linux-arm@vger.rutgers.edu>; Fri, 19 May 2000 23:50:52 +0200 (METDST)
Date:	Fri, 19 May 2000 23:50:51 +0200 (METDST)
From: "Hanske;Stefan" <sh990154@mail.uni-greifswald.de>
To: linux-arm@vger.rutgers.edu
Subject: Re: long long problem
In-Reply-To: <14629.16439.468521.761249@xedia.com>
Message-ID: <Pine.GHP.4.02.10005192338550.24191-100000@mail.uni-greifswald.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Fri, 19 May 2000, Paul Koning wrote:

> >>>>> "Russell" == Russell King <- ARM Linux Admin <linux@arm.linux.org.uk>> writes:
> 
>  Russell> Hanske;Stefan writes:
>  >> Here is what I get for a small llseek() test program using libc
>  >> with _FILE_OFFSET_BITS=64: file = fopen("/dev/zero","r"); offset =
>  >> llseek(file, 0x1000, SEEK_SET); printf("The offset is: %lld.\n",
>  >> offset);
>  >> 
>  >> This is using gcc version 2.95.3 19991030 (prerelease)
> 
>  Russell> Try compiling it with -Wall.  You will get warnings.  For
>  Russell> starters, llseek doesn't take a FILE * argument as the first
>  Russell> parameter.  Secondly, it returns an "int".
> 
> I guess it's a naming error then -- because surely naming something
> "llseek" when it doesn't return a "long long int" is a misleading
> thing to do...
> 
>       paul
Might be right. But in glibc, llseek() is a week reference to lseek64(),
the compiler didn't complain about implicit declaration of function
llseek() when stdio.h was included, so I thought it would have a
prototype. Btw, when disassembling lseek64() in glibc, I found that
something similar is made to the return value there. Don't know what to do
about that. On i386-platforms it is supposed to work with glibc-2.* .

If the above solutions are ment to be portable, I'll see if I can convince
some responsible person to change the  source code.

Thank you very much.


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sat May 20 11:36:13 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12t6c9-0007vR-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sat, 20 May 2000 11:36:13 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A272015D69; Sat, 20 May 2000 12:36:46 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155904AbQETKVg>;
	Sat, 20 May 2000 06:21:36 -0400
Received: by vger.rutgers.edu id <S155909AbQETKVT>;
	Sat, 20 May 2000 06:21:19 -0400
Received: from cirrus.stpp.soft.net ([203.129.225.66]:27191 "EHLO cirrus")
	by vger.rutgers.edu with ESMTP id <S155904AbQETKU5>;
	Sat, 20 May 2000 06:20:57 -0400
Received: from cirrus.stpp.soft.net (umesh [198.90.171.25])
	by cirrus (8.8.7/8.8.7) with ESMTP id QAA11386;
	Sat, 20 May 2000 16:02:31 -0500
Message-ID: <39266A53.F9BA78E1@cirrus.stpp.soft.net>
Date:	Sat, 20 May 2000 16:04:59 +0530
From: umesh <umesh@cirrus.stpp.soft.net>
X-Mailer: Mozilla 4.5 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Cc: puranik@pn2.vsnl.net.in
Subject: libiberty and glibc problem
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I am trying to build a gcc cross-toolchain for ARM/Linux.

The cross toolchain with LANGUAGES="c" gets installed succesfully.
But when I install glibc (glibc-2.1.3), it comes out with an error
telling that
/include/gnu/stubs.h not found. I copied stubs.h from a precomipled
source
to /include/gnu, and then glibc got installed okay. I do not understand
why
did glibc not create all the files under /include/gnu? Is this related
to any configuration?

After this I start in gcc top level directory with make clean,
configure, followed by make
to create a complete cross-toolchain. However, make comes out with the
following error
message:

make[2]: Entering directory '/root/cross/gcc-2.95.2/arm-linux/libiberty'

make[2]: *** No targets specified and no makefile found. Stop.
make[2]: Leaving directory '/root/cross/gcc-2.95.2/arm-linux/libiberty'
make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory '/root/cross/gcc-2.95.2/arm-linux/libstdc++'
make: *** [al-target-libstdc++] Error 2

This is unexpected!

I have used the following configure command lines:

For gcc: (gcc-2.95.2):

./configure --target=arm-linux --prefix=/root/cross

for glibc (glib-2.1.3):

./configure arm-linux --build=i686-pc-linux-gnu
--prefix=/root/cross/arm-linux \
    --enable-add-ons --with-headers=/root/cross/linux/include

Thanks in advance!

Umesh Puranik


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 22 16:33:01 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12tuCT-0006eF-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 22 May 2000 16:33:01 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2D1D315D71; Mon, 22 May 2000 17:33:39 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155957AbQEVPaD>;
	Mon, 22 May 2000 11:30:03 -0400
Received: by vger.rutgers.edu id <S156030AbQEVPUW>;
	Mon, 22 May 2000 11:20:22 -0400
Received: from [208.242.241.39] ([208.242.241.39]:4042 "EHLO cvsftp.cotw.com")
	by vger.rutgers.edu with ESMTP id <S156199AbQEVPGZ>;
	Mon, 22 May 2000 11:06:25 -0400
Received: from cotw.com (IDENT:samcconn@ptecdev2.ptec.com [192.168.10.4])
	by cvsftp.cotw.com (8.9.3/8.9.3) with ESMTP id KAA28001
	for <linux-arm@vger.rutgers.edu>; Mon, 22 May 2000 10:06:18 -0500
Message-ID: <39294CDB.20B92ECE@cotw.com>
Date:	Mon, 22 May 2000 10:06:03 -0500
From: S A McConnell <samcconn@cotw.com>
Reply-To: samcconn@cotw.com
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: frame buffer support and ARM (configuration help)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I am developing a fb for the Link-Up Systems L7200.

I have modified the appropriate Config.in and have inserted my fb driver
into drivers/video. 

I have enabled:
  Character devices --> "Virtual terminal"
  Console drivers --> "Support Frame buffer devices"
	Frame-buffer support --> "I selected the fb dev that I am creating"


My compile works but I get a large number of "undefined reference"
errors. Where most of the missing symbols are from console.c which is
not being compiled.

/drivers/video/fbcon.c:1972: undefined reference to `update_region'
/drivers/video/fbcon.c:1972: relocation truncated to fit: R_ARM_PC24
update_region
/drivers/video/fbcon.c:2011: undefined reference to `fg_console'
/drivers/video/fbcon.c:2011: undefined reference to `vc_cons'
/drivers/video/fbcon.c:2011: undefined reference to `console_blanked'
/drivers/video/video.o: In function `fbcon_set_origin':
/drivers/video/fbcon.c:2026: undefined reference to `console_blanked'
drivers/video/video.o: In function `dummycon_init':
/drivers/video/dummycon.c:40: undefined reference to `vc_resize'
/drivers/video/dummycon.c:40: relocation truncated to fit: R_ARM_PC24
vc_resize
drivers/video/video.o: In function `fbcon_show_logo':
/drivers/video/fbcon.c:2367: undefined reference to `fg_console'

Any ideas about what I failed to do?

My goal is to get the Linux logo to appear on the LCD. I am currently
using
"Non-standard serial port support" and my console is on the L7200 serial
port.

Should I still be able to test my frame buffer driver using the above
serial connection?

Thanks,

SAM (Scott A McConnell)

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Mon May 22 21:37:54 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12tyxW-00020j-00
	for linux-arm-archive@lists.arm.linux.org.uk; Mon, 22 May 2000 21:37:54 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 51BC515D67; Mon, 22 May 2000 22:38:32 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155527AbQEVUdh>;
	Mon, 22 May 2000 16:33:37 -0400
Received: by vger.rutgers.edu id <S155990AbQEVUcL>;
	Mon, 22 May 2000 16:32:11 -0400
Received: from tazenda.demon.co.uk ([158.152.220.239]:2265 "EHLO
	tazenda.demon.co.uk") by vger.rutgers.edu with ESMTP
	id <S156145AbQEVUZ1>; Mon, 22 May 2000 16:25:27 -0400
Received: from kings-cross.london.uk.eu.org [::ffff:192.168.2.83] 
	by tazenda.demon.co.uk with esmtp (Exim 3.11 #1 (Debian))
	id 12tzQM-00042e-00; Mon, 22 May 2000 22:07:42 +0100
Received: from localhost
	([::ffff:127.0.0.1] helo=kings-cross.london.uk.eu.org ident=phil)
	by kings-cross.london.uk.eu.org with esmtp (Exim 3.11 #1)
	id 12tzPK-0000bQ-00; Mon, 22 May 2000 22:06:38 +0100
X-Mailer: exmh version 2.1.1 10/15/1999 (debian)
To: samcconn@cotw.com
Cc: linux-arm@vger.rutgers.edu
Subject: Re: frame buffer support and ARM (configuration help) 
In-Reply-To: Message from S A McConnell <samcconn@cotw.com> 
   of "Mon, 22 May 2000 10:06:03 CDT." <39294CDB.20B92ECE@cotw.com> 
References: <39294CDB.20B92ECE@cotw.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Mon, 22 May 2000 22:06:38 +0100
From: Philip Blundell <Philip.Blundell@pobox.com>
Message-Id: <E12tzPK-0000bQ-00@kings-cross.london.uk.eu.org>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

>Any ideas about what I failed to do?

Take a look at the Makefile goo in arch/arm/special.  The inclusion of 
console.o is keyed off the provision of a keyboard object.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 01:15:18 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12u2Lt-0004MG-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 01:15:18 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id AB39B15D48; Tue, 23 May 2000 02:15:55 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155910AbQEWAPb>;
	Mon, 22 May 2000 20:15:31 -0400
Received: by vger.rutgers.edu id <S155909AbQEWAPL>;
	Mon, 22 May 2000 20:15:11 -0400
Received: from thalia.fm.intel.com ([132.233.247.11]:3896 "EHLO
	thalia.fm.intel.com") by vger.rutgers.edu with ESMTP
	id <S155906AbQEWAOx>; Mon, 22 May 2000 20:14:53 -0400
Received: from SMTP (fmsmsxvs05-1.fm.intel.com [132.233.42.205])
	by thalia.fm.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.28 2000/05/06 00:07:11 dmccart Exp $) with SMTP id AAA08464
	for <linux-arm@vger.rutgers.edu>; Tue, 23 May 2000 00:15:17 GMT
Received: from fmsmsx28.FM.INTEL.COM ([132.233.48.28]) by 132.233.48.205
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Tue, 23 May 2000 00:14:27 0000 (GMT)
Received: by fmsmsx28.fm.intel.com with Internet Mail Service (5.5.2448.0)
	id <L2MKH35W>; Mon, 22 May 2000 17:14:26 -0700
Message-ID: <F55E82FBFFFBD111AC3E00A0C9B8DB7002D31B07@hdsmsx32.hd.intel.com>
From: "Chagas, Jason" <jason.chagas@intel.com>
To: linux-arm@vger.rutgers.edu
Subject: RE: GDB baudrate
Date:	Mon, 22 May 2000 17:14:22 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Take a look into the attached patch for clues on how to get GDB to support
multiple baud rates.

I hope you'll find it useful.

Jason

----------------------

Index: targetselection.itb
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/gdbtk/library/targetselection.itb,v
retrieving revision 1.1
diff -p -r1.1 targetselection.itb
*** targetselection.itb 2000/02/04 13:52:34     1.1
--- targetselection.itb 2000/04/20 20:57:16
*************** body TargetSelection::init_target_db {}
*** 123,129 ****
    # ARM Remote
    set gdb_target(rdp,pretty-name) "ARM Remote/Serial"
    set gdb_target(rdp,defbaud) "9600"
!   set gdb_target(rdp,baud-rates) {9600}
    set gdb_target(rdp,cmd) "rdp com1"
    set gdb_target(rdp,runlist) {1 1 0 1}
    set gdb_target(rdp,after_attaching) {}
--- 123,129 ----
    # ARM Remote
    set gdb_target(rdp,pretty-name) "ARM Remote/Serial"
    set gdb_target(rdp,defbaud) "9600"
!   set gdb_target(rdp,baud-rates) {9600 19200 38400 57600}
    set gdb_target(rdp,cmd) "rdp com1"
    set gdb_target(rdp,runlist) {1 1 0 1}
    set gdb_target(rdp,after_attaching) {}


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 02:38:56 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12u3eq-0004r9-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 02:38:56 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 68C2215D4B; Tue, 23 May 2000 03:39:34 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155549AbQEWBia>;
	Mon, 22 May 2000 21:38:30 -0400
Received: by vger.rutgers.edu id <S155384AbQEWBiR>;
	Mon, 22 May 2000 21:38:17 -0400
Received: from [195.188.53.122] ([195.188.53.122]:4679 "EHLO blueyonder.co.uk")
	by vger.rutgers.edu with ESMTP id <S155643AbQEWBhd>;
	Mon, 22 May 2000 21:37:33 -0400
Received: from RiscPC ([194.117.139.101]) by blueyonder.co.uk  with Microsoft SMTPSVC(5.5.1877.197.19);
	 Tue, 23 May 2000 02:37:06 +0100
MIME-Version: 1.0
From: "Jeremy Coates: Mailing Lists" <lists@co-comp.co.uk>
To: linux-arm@vger.rutgers.edu
Date:	Tue, 23 May 2000 02:34:23 +0100
Subject: Linux on CATS?
Message-ID: <49c2f4f621lists@co-comp.co.uk>
User-Agent: Pluto/2.01h (RISC-OS/4.02) POPstar/2.02
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi All,

Basically, where to get started?

Is there a website detailing the necessary stuff/proceedures to get Linux
running on a Chaltec/Simtec CATS server?

TIA,
Jeremy

-- 
                                Co-Comp, PO BOX 199, PRESTON. PR1 9SS UK
                               Turn-key computing and internet solutions
                                           Web: http://www.co-comp.co.uk
RiscStation Registered Dealer               Email: enquiry@co-comp.co.uk
Castle Registered Dealer                         Tel: +44 (0)7970 064479
Authorised RISCOS Installer                      Fax: +44 (0)7971 434612

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 08:51:28 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12u9TM-0008C9-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 08:51:28 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0EE8C15D53; Tue, 23 May 2000 09:52:07 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156169AbQEWHvW>;
	Tue, 23 May 2000 03:51:22 -0400
Received: by vger.rutgers.edu id <S156168AbQEWHvO>;
	Tue, 23 May 2000 03:51:14 -0400
Received: from nanum.kaeri.re.kr ([147.43.15.12]:4850 "EHLO nanum.kaeri.re.kr")
	by vger.rutgers.edu with ESMTP id <S156164AbQEWHuv>;
	Tue, 23 May 2000 03:50:51 -0400
Received: from mail.robotics.co.kr ([147.43.73.178])
	by nanum.kaeri.re.kr (8.9.1a-H1/8.9.3) with ESMTP id QAA04944
	for <linux-arm@vger.rutgers.edu>; Tue, 23 May 2000 16:59:03 +0900 (kst)
Message-ID: <392A383B.4F02C3AC@mail.robotics.co.kr>
Date:	Tue, 23 May 2000 16:50:19 +0900
From: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Organization: Hanwool Robotics Corp.
X-Mailer: Mozilla 4.61 [ko] (X11; I; Linux 2.2.12-20kr i686)
X-Accept-Language: ko
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: LCD backlight on Assabet BD problem
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Greetings,

Now I am trying to turn on the LCD backlight on Assabet board, however,
I don't know how to achieve this.

In /video/sa1100fb.c, there is a function of
sa1100fb_enable_lcd_controller (), and it contains the following
routines.

                if (machine_is_assabet()) {
#ifdef CONFIG_SA1100_ASSABET
                        BCR_set(BCR_LCD_ON);
#endif
                } else if (machine_is_penny()) {
#ifdef CONFIG_SA1100_PENNY
                        FpgaLcdCS1 = 0x0FF;     /* LCD Backlight to 100%

*/
                        FpgaPortI  |= LCD_ON;   /* Turn on LCD Backlight

*/
#endif
                } else if (machine_is_tifon()) {
                        GPCR = GPIO_GPIO(24);   /* cycle on/off-switch
*/
                        udelay(150);
                        GPSR = GPIO_GPIO(24);   /* turn on display */

As you can see, LCD backlight seems to work in the case of PENNY, but
Assabet does not. (Am I right?) What can I do for turning on LCD
backlight? Any ideas?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 11:00:02 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uBTm-0000ke-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 11:00:02 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 3157E15D5C; Tue, 23 May 2000 12:00:41 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156326AbQEWJ7u>;
	Tue, 23 May 2000 05:59:50 -0400
Received: by vger.rutgers.edu id <S156325AbQEWJ7o>;
	Tue, 23 May 2000 05:59:44 -0400
Received: from morrison.empeg.co.uk ([193.119.19.130]:63214 "EHLO empeg.com")
	by vger.rutgers.edu with ESMTP id <S156326AbQEWJ72>;
	Tue, 23 May 2000 05:59:28 -0400
Received: from morcheeba (morcheeba.internal.empeg.com [10.1.1.34])
	by empeg.com (8.9.3/8.9.3) with SMTP id KAA05217
	for <linux-arm@vger.rutgers.edu>; Tue, 23 May 2000 10:59:02 +0100
Message-ID: <006b01bfc49d$60a997e0$2201010a@internal.empeg.com>
From: "Hugo Fiennes" <hugo@empeg.com>
To: <linux-arm@vger.rutgers.edu>
References: <00051810361900.02272@amba>
Subject: Re: rom or flashrom root filesystem
Date:	Tue, 23 May 2000 10:57:59 +0100
Organization: empeg ltd
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> I would like to want to know how I can mount root filesystem from ROM or
> FlashROM which are memory-mapped.
> Because of memory-mapped (Flash)ROM which are not in RAM address space,
> I'm not sure it is OK to use initial ramdisk.
>
> Anyone has experience about this problem?

The empeg uses a 320k rom/flash disk (read only) for a halfway house boot
used when we upgrade the hard disk partitions/contents.

We do this just by setting the initrd start & end to point to the
appropriate place in flash (in our case I think it's 0xd00b0000 - 0xd0000000
is the base of flash in our memory map.

One thing you *do* have to patch is the code in arch/arm/setup.c which
checks to see if the initrd exists within physical RAM - obviously, it won't
in this case. Also, you can't use a compressed image as it's mounted
in-place without any RAM usage.

Hugo
empeg



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 15:07:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uFKx-0002mk-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 15:07:11 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id A228A15D4E; Tue, 23 May 2000 16:07:49 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156094AbQEWOHM>;
	Tue, 23 May 2000 10:07:12 -0400
Received: by vger.rutgers.edu id <S156062AbQEWOHF>;
	Tue, 23 May 2000 10:07:05 -0400
Received: from [205.250.170.220] ([205.250.170.220]:3600 "EHLO
	xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S156103AbQEWOGk>; Tue, 23 May 2000 10:06:40 -0400
Date:	Tue, 23 May 2000 10:05:44 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Hugo Fiennes <hugo@empeg.com>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: rom or flashrom root filesystem
In-Reply-To: <006b01bfc49d$60a997e0$2201010a@internal.empeg.com>
Message-ID: <Pine.LNX.4.10.10005231001340.21453-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Tue, 23 May 2000, Hugo Fiennes wrote:

> The empeg uses a 320k rom/flash disk (read only) for a halfway house boot
> used when we upgrade the hard disk partitions/contents.
> 
> We do this just by setting the initrd start & end to point to the
> appropriate place in flash (in our case I think it's 0xd00b0000 - 0xd0000000
> is the base of flash in our memory map.
> 
> One thing you *do* have to patch is the code in arch/arm/setup.c which
> checks to see if the initrd exists within physical RAM - obviously, it won't
> in this case. Also, you can't use a compressed image as it's mounted
> in-place without any RAM usage.

Are you sure of that?  AFAIK initrd's are never mounted in place,
compressed or not.  You need a special block device driver to mount
uncompressed filesystems directly from flash.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 15:22:43 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uFZz-0002vW-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 15:22:43 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 70A5815D97; Tue, 23 May 2000 16:23:22 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156062AbQEWOV4>;
	Tue, 23 May 2000 10:21:56 -0400
Received: by vger.rutgers.edu id <S156131AbQEWOVy>;
	Tue, 23 May 2000 10:21:54 -0400
Received: from crl.dec.com ([192.58.206.2]:2804 "EHLO crl.dec.com")
	by vger.rutgers.edu with ESMTP id <S156062AbQEWOV1>;
	Tue, 23 May 2000 10:21:27 -0400
Received: from ims.crl.dec.com (ims.crl.dec.com [16.11.0.11])
	by crl.dec.com (8.8.8/RWD-1.2) with ESMTP id KAA17880;
	Tue, 23 May 2000 10:21:12 -0400 (EDT)
Received: by ims.crl.dec.com with Internet Mail Service (5.5.2650.21)
	id <LFXQGY2H>; Tue, 23 May 2000 10:25:45 -0400
Message-ID: <D1674834F25BD3118B3208002BB90CD44402F3@YEN>
From: Jamey Hicks <jamey@crl.dec.com>
To: "'Nicolas Pitre'" <nico@cam.org>, Hugo Fiennes <hugo@empeg.com>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: rom or flashrom root filesystem
Date:	Tue, 23 May 2000 10:21:53 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Ramdisks cannot be mounted in place because the ramdisk implementation keeps
its contents in the file buffer cache.  The initrd initializes a ramdisk by
copying (and possibly uncompressing) a filesystem image from a memory region
into the ramdisks buffers.

However, to me it seems pointless to copy an initrd (compressed or not) from
flash to DRAM so that we can then import it into the file buffer cache when
the ramdisk is initialized.  The kernel complains or fails in several places
if you attempt to do this -- it has hardwared assumptions that the initrd is
in DRAM.  I think I ran into three places I had to patch to make this work.
I never submitted these patches because I didn't think they were clean
enough.  

The current code tests that the initrd is in DRAM.  I could remove this
check, and then it would work for initrd in Flash, but it would fail if you
accidentally passed in a bogus address.  Maybe that's OK, but it's less
checking than in the current kernel.  It might be better to add a data
structure describing the physical flash/rom regions corresponding to the one
describing physical DRAM regions.  (Down the slippery slope to a structure
passed from the firmware describing what hardware is on the system.  Wait,
that might be a good idea.)

-Jamey


> -----Original Message-----
> From: Nicolas Pitre [mailto:nico@cam.org]
> Sent: Tuesday, May 23, 2000 10:06 AM
> To: Hugo Fiennes
> Cc: linux-arm@vger.rutgers.edu
> Subject: Re: rom or flashrom root filesystem
> 
> 
> 
> 
> On Tue, 23 May 2000, Hugo Fiennes wrote:
> 
> > The empeg uses a 320k rom/flash disk (read only) for a 
> halfway house boot
> > used when we upgrade the hard disk partitions/contents.
> > 
> > We do this just by setting the initrd start & end to point to the
> > appropriate place in flash (in our case I think it's 
> 0xd00b0000 - 0xd0000000
> > is the base of flash in our memory map.
> > 
> > One thing you *do* have to patch is the code in 
> arch/arm/setup.c which
> > checks to see if the initrd exists within physical RAM - 
> obviously, it won't
> > in this case. Also, you can't use a compressed image as it's mounted
> > in-place without any RAM usage.
> 
> Are you sure of that?  AFAIK initrd's are never mounted in place,
> compressed or not.  You need a special block device driver to mount
> uncompressed filesystems directly from flash.
> 
> 
> Nicolas
> 
> 
> unsubscribe: body of `unsubscribe linux-arm' to 
> majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk 
> for           ++
> ++                        kernel-related discussions.         
>              ++
> 

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 15:31:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uFi5-0002zK-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 15:31:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7108615D71; Tue, 23 May 2000 16:31:44 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156131AbQEWOaS>;
	Tue, 23 May 2000 10:30:18 -0400
Received: by vger.rutgers.edu id <S156119AbQEWO35>;
	Tue, 23 May 2000 10:29:57 -0400
Received: from morrison.empeg.co.uk ([193.119.19.130]:62107 "EHLO empeg.com")
	by vger.rutgers.edu with ESMTP id <S156139AbQEWO30>;
	Tue, 23 May 2000 10:29:26 -0400
Received: from morcheeba (morcheeba.internal.empeg.com [10.1.1.34])
	by empeg.com (8.9.3/8.9.3) with SMTP id PAA17123;
	Tue, 23 May 2000 15:27:54 +0100
Message-ID: <012301bfc4c2$ee3fc780$2201010a@internal.empeg.com>
From: "Hugo Fiennes" <hugo@empeg.com>
To: "Jamey Hicks" <jamey@crl.dec.com>,
	"'Nicolas Pitre'" <nico@cam.org>
Cc: <linux-arm@vger.rutgers.edu>
References: <D1674834F25BD3118B3208002BB90CD44402F3@YEN>
Subject: Re: rom or flashrom root filesystem
Date:	Tue, 23 May 2000 15:26:48 +0100
Organization: empeg ltd
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> Ramdisks cannot be mounted in place because the ramdisk implementation
keeps
> its contents in the file buffer cache.  The initrd initializes a ramdisk
by
> copying (and possibly uncompressing) a filesystem image from a memory
region
> into the ramdisks buffers.

Ah. I guess it's slightly more memory efficient having it take the initrd
from flash directly than allocating some space, copying it to RAM, then
having it loaded into more memory in the buffer cache? Otherwise you'll have
2 copies, though one could quite possibly be thrown out after the mount.
This might have been what I was aiming for originally, it was a couple of
years ago now...

Hugo




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 15:39:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uFpp-00032P-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 15:39:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4C7B815D58; Tue, 23 May 2000 16:39:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156140AbQEWOi5>;
	Tue, 23 May 2000 10:38:57 -0400
Received: by vger.rutgers.edu id <S156119AbQEWOij>;
	Tue, 23 May 2000 10:38:39 -0400
Received: from [205.250.170.220] ([205.250.170.220]:3646 "EHLO
	xanadu.vipswitch.com") by vger.rutgers.edu with ESMTP
	id <S156139AbQEWOiY>; Tue, 23 May 2000 10:38:24 -0400
Date:	Tue, 23 May 2000 10:37:32 -0400 (EDT)
From: Nicolas Pitre <nico@cam.org>
To: Hugo Fiennes <hugo@empeg.com>
Cc: Jamey Hicks <jamey@crl.dec.com>, linux-arm@vger.rutgers.edu
Subject: Re: rom or flashrom root filesystem
In-Reply-To: <012301bfc4c2$ee3fc780$2201010a@internal.empeg.com>
Message-ID: <Pine.LNX.4.10.10005231035330.21528-100000@xanadu.vipswitch.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



On Tue, 23 May 2000, Hugo Fiennes wrote:

> > Ramdisks cannot be mounted in place because the ramdisk implementation
> keeps
> > its contents in the file buffer cache.  The initrd initializes a ramdisk
> by
> > copying (and possibly uncompressing) a filesystem image from a memory
> region
> > into the ramdisks buffers.
> 
> Ah. I guess it's slightly more memory efficient having it take the initrd
> from flash directly than allocating some space, copying it to RAM, then
> having it loaded into more memory in the buffer cache? Otherwise you'll have
> 2 copies, though one could quite possibly be thrown out after the mount.
> This might have been what I was aiming for originally, it was a couple of
> years ago now...

The initrd image is actually freed once it has been copied into the buffer
cache.  Of course this memory freeing must not occur if initrd data
initially exist in Flash.


Nicolas


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 15:47:17 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uFxl-00036e-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 15:47:17 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4A8D815D97; Tue, 23 May 2000 16:47:56 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156143AbQEWOrK>;
	Tue, 23 May 2000 10:47:10 -0400
Received: by vger.rutgers.edu id <S156146AbQEWOrF>;
	Tue, 23 May 2000 10:47:05 -0400
Received: from crl.dec.com ([192.58.206.2]:3111 "EHLO crl.dec.com")
	by vger.rutgers.edu with ESMTP id <S156188AbQEWOqf>;
	Tue, 23 May 2000 10:46:35 -0400
Received: from ims.crl.dec.com (ims.crl.dec.com [16.11.0.11])
	by crl.dec.com (8.8.8/RWD-1.2) with ESMTP id KAA18440;
	Tue, 23 May 2000 10:46:08 -0400 (EDT)
Received: by ims.crl.dec.com with Internet Mail Service (5.5.2650.21)
	id <LFXQGY28>; Tue, 23 May 2000 10:50:41 -0400
Message-ID: <D1674834F25BD3118B3208002BB90CD44402F4@YEN>
From: Jamey Hicks <jamey@crl.dec.com>
To: "'Hugo Fiennes'" <hugo@empeg.com>,
	Jamey Hicks <jamey@crl.dec.com>, "'Nicolas Pitre'" <nico@cam.org>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: rom or flashrom root filesystem
Date:	Tue, 23 May 2000 10:46:49 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

> 
> Ah. I guess it's slightly more memory efficient having it take the initrd
> from flash directly than allocating some space, copying it to RAM, then
> having it loaded into more memory in the buffer cache? Otherwise you'll
have
> 2 copies, though one could quite possibly be thrown out after the mount.

The kernel generally reclaims the memory that the initrd was in after it has
been copied into the ramdisk (this is one of the things that needs to be
patched if the initrd is in flash).

I've been working with small devices that have limited DRAM and no disk, so
the memory efficiency issue is important.

That being said, ramdisk does not make the best use of memory -- the whole
filesystem resides in DRAM whether you use it or not.  In addition, the
original images resides in Flash (although the flash image will typically be
compressed).  I think it's better to use a flash device driver so that only
the blocks of the files that are accessed are copied to DRAM.  I've used
both ext2 and cramfs -- the compressed ROM filesystem -- mounted on a flash
device driver.  There are several platform-dependent flash drivers
available.  The Memory Technology Devices group is working on a
platform-independent framework flash and other memory drivers.

-Jamey


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 17:26:30 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uHVm-000445-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 17:26:30 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C682315D7F; Tue, 23 May 2000 18:27:09 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156180AbQEWQ0H>;
	Tue, 23 May 2000 12:26:07 -0400
Received: by vger.rutgers.edu id <S156190AbQEWQY6>;
	Tue, 23 May 2000 12:24:58 -0400
Received: from POST.ICES.CMU.EDU ([128.2.205.86]:52670 "HELO post.ices.cmu.edu")
	by vger.rutgers.edu with SMTP id <S156213AbQEWQWM>;
	Tue, 23 May 2000 12:22:12 -0400
Received: from PEEBEE.REM.CMU.EDU by post.ices.cmu.edu id aa18866;
          23 May 2000 12:21 EDT
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
Date:	Tue, 23 May 2000 12:21:41 -0400
Subject: Re: LCD backlight on Assabet BD problem
From: John G Dorsey <john+@cs.cmu.edu>
To: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Cc: linux-arm@vger.rutgers.edu
MMDF-Warning:  Parse error in original version of preceding line at post.ices.cmu.edu
Message-ID: <B5502855.8E%john+@cs.cmu.edu>
In-Reply-To: <392A383B.4F02C3AC@mail.robotics.co.kr>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

on 5/23/00 3:50 AM, Sun-Gi Hong at sghong@mail.robotics.co.kr wrote:

> Now I am trying to turn on the LCD backlight on Assabet board, however,
> I don't know how to achieve this.

Toggling the backlight GPIO line won't do much on Assabet unless you've
added a power supply to your board. Sections 4.6.2.1 and 4.6.2.4 of the
Assabet user's guide both note the absence of backlight power on the design.

-jd


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 19:23:42 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uJLC-0005CG-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 19:23:42 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 946C615DA2; Tue, 23 May 2000 20:24:21 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156189AbQEWRuZ>;
	Tue, 23 May 2000 13:50:25 -0400
Received: by vger.rutgers.edu id <S156373AbQEWRlt>;
	Tue, 23 May 2000 13:41:49 -0400
Received: from [194.201.77.34] ([194.201.77.34]:48802 "HELO
	fw-maid.maidenhead.arm.com") by vger.rutgers.edu with SMTP
	id <S156479AbQEWR0w>; Tue, 23 May 2000 13:26:52 -0400
Received: by fw-maid.maidenhead.arm.com; id SAA14650; Tue, 23 May 2000 18:24:23 +0100
Received: from mhsun1.maidenhead.arm.com(192.168.2.10) by fw-maid.maidenhead.arm.com via smap (V5.0)
	id xma014640; Tue, 23 May 00 18:23:55 +0100
Received: from arm.com (IDENT:drusling@dhcp11 [192.168.2.171])
	by mhsun1.maidenhead.arm.com (8.9.3/8.9.3) with ESMTP id SAA10418;
	Tue, 23 May 2000 18:26:20 +0100 (BST)
Message-ID: <392AC093.5B0313FA@arm.com>
Date:	Tue, 23 May 2000 18:32:03 +0100
From: David A Rusling <David.Rusling@arm.com>
Reply-To: david.rusling@arm.com
Organization: ARM
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Jamey Hicks <jamey@crl.dec.com>
Cc: "'Hugo Fiennes'" <hugo@empeg.com>,
	"'Nicolas Pitre'" <nico@cam.org>, linux-arm@vger.rutgers.edu
Subject: Re: rom or flashrom root filesystem
References: <D1674834F25BD3118B3208002BB90CD44402F4@YEN>
Content-Type: multipart/alternative;
 boundary="------------A5CC68DD80BD84C11789A034"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


--------------A5CC68DD80BD84C11789A034
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I'm using ROMfs myself - albeit with a very simple block device driver.
ROM-FS sits in flash (and is /dev/rom0).  The block device driver
makes copies in memory of each block.   Yes, that's wastefull of memory
but what I will go on to do is to not actually allocate blocks but
simply leave them on the flash device.  The flash device resides someplace
in kernel memory.   Again, at the moment I copy that kernel into memory
before giving it control of the system (via a boot loader).  This is wasteful
and could/can be avoided.

I'm using a variant of pocket-linux as the basis for the system and the root
file system is kept in the application flash of the systems that I've ported
Linux to (Integrator + Prospector P1100).    The flash may contain many
things (file systems, kernels and so on).

The sources that include all of this support will be put into the free pool (by
ARM) and will include both the pocket Linux stuff and the kernel trees.     For
those of you that do not know me - I run ARM's firmware and RTOS group -
so this is no idle comment.

Dave

ps looks like I'll be going to the Olympia Linux Expo...

--
----------------------------------------------------------------------
David A Rusling                 Consulting Engineer
                                ARM Limited
                                Liberty House,
                                Moorbridge Road,
                                Maidenhead, SL6 8LT

                                Tel: UK-(0)1628-427754
                                Fax: UK-(0)1628-780551
                                e-mail: david.rusling@arm.com
----------------------------------------------------------------------



--------------A5CC68DD80BD84C11789A034
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I'm using ROMfs myself - albeit with a very simple block device driver.
<br>ROM-FS sits in flash (and is /dev/rom0).&nbsp; The block device driver
<br>makes copies in memory of each block.&nbsp;&nbsp; Yes, that's wastefull
of memory
<br>but what I will go on to do is to not actually allocate blocks but
<br>simply leave them on the flash device.&nbsp; The flash device resides
someplace
<br>in kernel memory.&nbsp;&nbsp; Again, at the moment I&nbsp;copy that
kernel into memory
<br>before giving it control of the system (via a boot loader).&nbsp; This
is wasteful
<br>and could/can be avoided.
<p>I'm using a variant of pocket-linux as the basis for the system and
the root
<br>file system is kept in the application flash of the systems that I've
ported
<br>Linux to (Integrator +&nbsp;Prospector P1100).&nbsp;&nbsp;&nbsp; The
flash may contain many
<br>things (file systems, kernels and so on).
<p>The sources that include all of this support will be put into the free
pool (by
<br>ARM) and will include both the pocket Linux stuff and the kernel trees.&nbsp;&nbsp;&nbsp;&nbsp;
For
<br>those of you that do not know me - I run ARM's firmware and RTOS group
-
<br>so this is no idle comment.
<p>Dave
<p>ps looks like I'll be going to the Olympia Linux Expo...
<pre>--&nbsp;
----------------------------------------------------------------------
David A Rusling&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Consulting Engineer
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARM Limited
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Liberty House,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Moorbridge Road,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maidenhead, SL6 8LT

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel: UK-(0)1628-427754
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax: UK-(0)1628-780551
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e-mail: david.rusling@arm.com
----------------------------------------------------------------------</pre>
&nbsp;</html>

--------------A5CC68DD80BD84C11789A034--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 23 22:21:33 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uM7J-0006xS-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 23 May 2000 22:21:33 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 724F015D62; Tue, 23 May 2000 23:22:13 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156316AbQEWVSW>;
	Tue, 23 May 2000 17:18:22 -0400
Received: by vger.rutgers.edu id <S156408AbQEWVBU>;
	Tue, 23 May 2000 17:01:20 -0400
Received: from lnsmtpbos00.lhs.com ([208.162.98.43]:1704 "HELO lhs.com")
	by vger.rutgers.edu with SMTP id <S156457AbQEWUTZ>;
	Tue, 23 May 2000 16:19:25 -0400
Received: by lhs.com(Lotus SMTP MTA v4.6.6  (890.1 7-16-1999))  id 852568E8.00706E26 ; Tue, 23 May 2000 16:28:02 -0400
X-Lotus-FromDomain: LHS
From: nmistry@lhsl.com
To: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Cc: linux-arm@vger.rutgers.edu
Message-ID: <852568E8.00706D7D.00@lhs.com>
Date:	Tue, 23 May 2000 16:04:47 -0400
Subject: Re: LCD backlight on Assabet BD problem
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Unless you obtain an AC inverter for the frontlight on the Assabet, enabling the
frontlight in software will do nothing.

After doing a bit of research (and calling intel)  i was able to find a vendor
for the inverter..

Endicott Research        (www.ergpower.com)
2601 Wayne Street
Endicott, New York 13760
607-754-9187
fax 607-754-9255

I was able to find out that they do have an inverter that supports the Sharp
LQ039Q2DS54, but every time i try to contact the engineer, he is not at his
desk!?!?  I will try again today, and see if i can get more info.. pricing..
etc..

-Nick








Sun-Gi Hong <sghong@mail.robotics.co.kr> on 05/23/2000 03:50:19 AM

To:   linux-arm@vger.rutgers.edu
cc:    (bcc: Nicholas Mistry/USER/US/LHS)

Subject:  LCD backlight on Assabet BD problem



Greetings,

Now I am trying to turn on the LCD backlight on Assabet board, however,
I don't know how to achieve this.

In /video/sa1100fb.c, there is a function of
sa1100fb_enable_lcd_controller (), and it contains the following
routines.

                if (machine_is_assabet()) {
#ifdef CONFIG_SA1100_ASSABET
                        BCR_set(BCR_LCD_ON);
#endif
                } else if (machine_is_penny()) {
#ifdef CONFIG_SA1100_PENNY
                        FpgaLcdCS1 = 0x0FF;     /* LCD Backlight to 100%

*/
                        FpgaPortI  |= LCD_ON;   /* Turn on LCD Backlight

*/
#endif
                } else if (machine_is_tifon()) {
                        GPCR = GPIO_GPIO(24);   /* cycle on/off-switch
*/
                        udelay(150);
                        GPSR = GPIO_GPIO(24);   /* turn on display */

As you can see, LCD backlight seems to work in the case of PENNY, but
Assabet does not. (Am I right?) What can I do for turning on LCD
backlight? Any ideas?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++





unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 01:39:48 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uPDA-0000N0-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 01:39:48 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id D997015DE9; Wed, 24 May 2000 02:40:27 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155580AbQEXAjX>;
	Tue, 23 May 2000 20:39:23 -0400
Received: by vger.rutgers.edu id <S155230AbQEXAjK>;
	Tue, 23 May 2000 20:39:10 -0400
Received: from [202.30.128.201] ([202.30.128.201]:43501 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S156199AbQEXAiR>;
	Tue, 23 May 2000 20:38:17 -0400
Received: from yd01.hmec.co.kr (localhost [127.0.0.1])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id JAA09127;
	Wed, 24 May 2000 09:35:34 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id JAA15013; Wed, 24 May 2000 09:37:17 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Subject: RE: cross gdb & debugging agent
Date:	Wed, 24 May 2000 09:08:18 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
References: <1000524063018A2553@wm01.hmec.co.kr>
In-Reply-To: <1000524063018A2553@wm01.hmec.co.kr>
Cc: linux-arm@vger.rutgers.edu
MIME-Version: 1.0
Message-Id: <00052409350101.08473@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


First you need to have debugging agent on target board.
I'm using ANGEL as a debugging agent, and the origianl source of ANGEL can be
found in ARM SDT.
Maybe you need to port ANGEL if you want to use it as a debugging agent.
There are some documents about porting in ARM site.
Once you get ANGEL for your target board, gdb can be connect to target board
using serial port.
   (gdb) target rdi /dev/ttyS0

And I was told that it is not difficult to implement gdb original remote
protocol.
Anyway, once you get a debugging agent for your board, you can connect to
target board and you can download linux image on the board.

Jungjun Kim

> hello,
> 
> I have downloaded the gdb 5.0 version and installed it on my Linux PC. The
> board had the ARM debugger running on it. I have also compiled the
> arm linux 2.3.99 kernel. How do I download this image into the board using
> the gdb??
> 
> Thanks,
> -lavu sridhar
> 
> On Mon, 22 May 2000, Jungjun Kim wrote:
> 
> >Hello,
> >
> >First, i'm not using ARM SDT, I'm just using GDB.
> >With GDB, you need to have ARM debugging agent running on target board.
> >If you are using ARM SDT, please check tool configuration or ask about it ARM
> >Ltd, because I don't know much about it.
> >

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 04:50:00 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uSBE-0002Fh-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 04:50:00 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BDC0315D4B; Wed, 24 May 2000 05:50:40 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155230AbQEXDtv>;
	Tue, 23 May 2000 23:49:51 -0400
Received: by vger.rutgers.edu id <S155023AbQEXDto>;
	Tue, 23 May 2000 23:49:44 -0400
Received: from lnsmtpbos00.lhs.com ([208.162.98.43]:4017 "HELO lhs.com")
	by vger.rutgers.edu with SMTP id <S155622AbQEXDtT>;
	Tue, 23 May 2000 23:49:19 -0400
Received: by lhs.com(Lotus SMTP MTA v4.6.6  (890.1 7-16-1999))  id 852568E9.0015CC15 ; Tue, 23 May 2000 23:58:05 -0400
X-Lotus-FromDomain: LHS
From: nmistry@lhsl.com
To: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Cc: linux-arm@vger.rutgers.edu, sa1100-linux@pa.dec.com
Message-ID: <852568E9.0015CA7F.00@lhs.com>
Date:	Tue, 23 May 2000 23:34:47 -0400
Subject: Re: LCD backlight on Assabet BD problem
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing



After speaking with an engineer @ ergpower I have the part needed to power the
frontlight on the Sharp LQ039Q2DS54 Display.

The part # is 8m122375
its an 8m Class DC to AC inverter

The cost per unit is $29 each, for a qty of less than 10..  there is a minimum
order amount of $100.   And a lead time of 4 weeks..

-Nick





nmistry@lhsl.com on 05/23/2000 04:04:47 PM

To:   Sun-Gi Hong <sghong@mail.robotics.co.kr>
cc:   linux-arm@vger.rutgers.edu (bcc: Nicholas Mistry/USER/US/LHS)

Subject:  Re: LCD backlight on Assabet BD problem




Unless you obtain an AC inverter for the frontlight on the Assabet, enabling the
frontlight in software will do nothing.

After doing a bit of research (and calling intel)  i was able to find a vendor
for the inverter..

Endicott Research        (www.ergpower.com)
2601 Wayne Street
Endicott, New York 13760
607-754-9187
fax 607-754-9255

I was able to find out that they do have an inverter that supports the Sharp
LQ039Q2DS54, but every time i try to contact the engineer, he is not at his
desk!?!?  I will try again today, and see if i can get more info.. pricing..
etc..

-Nick








Sun-Gi Hong <sghong@mail.robotics.co.kr> on 05/23/2000 03:50:19 AM

To:   linux-arm@vger.rutgers.edu
cc:    (bcc: Nicholas Mistry/USER/US/LHS)

Subject:  LCD backlight on Assabet BD problem



Greetings,

Now I am trying to turn on the LCD backlight on Assabet board, however,
I don't know how to achieve this.

In /video/sa1100fb.c, there is a function of
sa1100fb_enable_lcd_controller (), and it contains the following
routines.

                if (machine_is_assabet()) {
#ifdef CONFIG_SA1100_ASSABET
                        BCR_set(BCR_LCD_ON);
#endif
                } else if (machine_is_penny()) {
#ifdef CONFIG_SA1100_PENNY
                        FpgaLcdCS1 = 0x0FF;     /* LCD Backlight to 100%

*/
                        FpgaPortI  |= LCD_ON;   /* Turn on LCD Backlight

*/
#endif
                } else if (machine_is_tifon()) {
                        GPCR = GPIO_GPIO(24);   /* cycle on/off-switch
*/
                        udelay(150);
                        GPSR = GPIO_GPIO(24);   /* turn on display */

As you can see, LCD backlight seems to work in the case of PENNY, but
Assabet does not. (Am I right?) What can I do for turning on LCD
backlight? Any ideas?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++





unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++





unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 08:24:08 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uVWS-0003Xr-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 08:24:08 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id EF06715E34; Wed, 24 May 2000 09:24:47 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155242AbQEXHXz>;
	Wed, 24 May 2000 03:23:55 -0400
Received: by vger.rutgers.edu id <S155023AbQEXHXg>;
	Wed, 24 May 2000 03:23:36 -0400
Received: from nanum.kaeri.re.kr ([147.43.15.12]:3018 "EHLO nanum.kaeri.re.kr")
	by vger.rutgers.edu with ESMTP id <S155242AbQEXHXP>;
	Wed, 24 May 2000 03:23:15 -0400
Received: from mail.robotics.co.kr ([147.43.73.178])
	by nanum.kaeri.re.kr (8.9.1a-H1/8.9.3) with ESMTP id QAA20423
	for <linux-arm@vger.rutgers.edu>; Wed, 24 May 2000 16:32:02 +0900 (kst)
Message-ID: <392B8364.38563562@mail.robotics.co.kr>
Date:	Wed, 24 May 2000 16:23:16 +0900
From: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Organization: Hanwool Robotics Corp.
X-Mailer: Mozilla 4.61 [ko] (X11; I; Linux 2.2.12-20kr i686)
X-Accept-Language: ko
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: =?ISO-8859-1?Q?=18LCD?= problem again
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 8bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Thank you Nick and John for your helpful comments about the LCD problem.

Anyway the domestic vendor, Intel Korea told me as follows.

The input voltage for the backlight of the sharp LCD on Assabet is 12V.
We don`t have the datasheet either, but may require you to contact the
Sharp rep.  We noticed it`s not on the Sharp web site as  well.

and

Furthermore, just connect it with commercial 12V like as PC power
supply. In that case you can light up CFL without inverter. In PDA
desgin, you may need inverter which step up 3or 5V to 12V.

However, after connecting 12V to LCD, nothing happens so I try to
analyze the kernels, but I can't fix it.

Any ideas?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 09:33:18 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uWbO-0003zc-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 09:33:18 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 9CFE515E3F; Wed, 24 May 2000 10:33:58 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155023AbQEXIdA>;
	Wed, 24 May 2000 04:33:00 -0400
Received: by vger.rutgers.edu id <S155549AbQEXIct>;
	Wed, 24 May 2000 04:32:49 -0400
Received: from [202.141.26.181] ([202.141.26.181]:2869 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155023AbQEXIc1>;
	Wed, 24 May 2000 04:32:27 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id NAA11609;
	Wed, 24 May 2000 13:54:31 +0530
Date:	Wed, 24 May 2000 13:54:31 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: Jungjun Kim <sami@hmec.co.kr>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: cross gdb & debugging agent
In-Reply-To: <00052409350101.08473@amba>
Message-ID: <Pine.LNX.4.10.10005241351480.11123-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Thank you for the info. I have the ANGEL Debugger running on the board.
Next I tried the command u specified: but it says undefined target
commmand rdi. Next I tried the command: target remote /dev/ttyS0 , but I
get the message saying could not open connectoin with the remote target.

What is the solution to the problem?

Regards,
Lavu Sridhar

On Wed, 24 May 2000, Jungjun Kim wrote:
>
>First you need to have debugging agent on target board.
>I'm using ANGEL as a debugging agent, and the origianl source of ANGEL can be
>found in ARM SDT.
>Maybe you need to port ANGEL if you want to use it as a debugging agent.
>There are some documents about porting in ARM site.
>Once you get ANGEL for your target board, gdb can be connect to target board
>using serial port.
>   (gdb) target rdi /dev/ttyS0
>
>And I was told that it is not difficult to implement gdb original remote
>protocol.
>Anyway, once you get a debugging agent for your board, you can connect to
>target board and you can download linux image on the board.
>
>Jungjun Kim
>
>> hello,
>> 
>> I have downloaded the gdb 5.0 version and installed it on my Linux PC. The
>> board had the ARM debugger running on it. I have also compiled the
>> arm linux 2.3.99 kernel. How do I download this image into the board using
>> the gdb??


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 10:02:28 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uX3c-0004Ca-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 10:02:28 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id D280E15D59; Wed, 24 May 2000 11:03:08 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155549AbQEXJCG>;
	Wed, 24 May 2000 05:02:06 -0400
Received: by vger.rutgers.edu id <S155538AbQEXJB5>;
	Wed, 24 May 2000 05:01:57 -0400
Received: from [202.30.128.201] ([202.30.128.201]:33788 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S155023AbQEXJBs>;
	Wed, 24 May 2000 05:01:48 -0400
Received: from yd01.hmec.co.kr (localhost [127.0.0.1])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id RAA25365;
	Wed, 24 May 2000 17:59:11 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id SAA04057; Wed, 24 May 2000 18:00:56 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Subject: RE: cross gdb & debugging agent
Date:	Wed, 24 May 2000 17:49:45 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
References: <1000524172431A2563@wm01.hmec.co.kr>
In-Reply-To: <1000524172431A2563@wm01.hmec.co.kr>
Cc: linux-arm@vger.rutgers.edu
MIME-Version: 1.0
Message-Id: <00052417583400.00826@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


The reason why this happens is that gdb5.0 doesn't include RDI stuffs.
You need to change gdb/Makefile as follows,

for gdb/Makefile

    609 DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
    610        $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS) remote-rdi.o

    783 gdb$(EXEEXT): main.o libgdb.a rdi-share/libangsd.a $(ADD_DEPS) $(CDEPS)
$(TDEPLIBS)

and change directory to gdb/rdi-share, make configuration, and run 'make',
then you get libangsd.a library.

I don't know why they don't include this target .

Jungjun Kim

> Thank you for the info. I have the ANGEL Debugger running on the board.
> Next I tried the command u specified: but it says undefined target
> commmand rdi. Next I tried the command: target remote /dev/ttyS0 , but I
> get the message saying could not open connectoin with the remote target.
> 
> What is the solution to the problem?
> 
> Regards,
> Lavu Sridhar
> 
> On Wed, 24 May 2000, Jungjun Kim wrote:
> >
> >First you need to have debugging agent on target board.
> >I'm using ANGEL as a debugging agent, and the origianl source of ANGEL can be
> >found in ARM SDT.
> >Maybe you need to port ANGEL if you want to use it as a debugging agent.
> >There are some documents about porting in ARM site.
> >Once you get ANGEL for your target board, gdb can be connect to target board
> >using serial port.
> >   (gdb) target rdi /dev/ttyS0
> >
> >And I was told that it is not difficult to implement gdb original remote
> >protocol.
> >Anyway, once you get a debugging agent for your board, you can connect to
> >target board and you can download linux image on the board.
> >
> >Jungjun Kim
> >
> >> hello,
> >> 
> >> I have downloaded the gdb 5.0 version and installed it on my Linux PC. The
> >> board had the ARM debugger running on it. I have also compiled the
> >> arm linux 2.3.99 kernel. How do I download this image into the board using
> >> the gdb??
> 
> 

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 10:30:21 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uXUb-0004O7-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 10:30:21 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id BD56C15D42; Wed, 24 May 2000 11:31:01 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155347AbQEXJaJ>;
	Wed, 24 May 2000 05:30:09 -0400
Received: by vger.rutgers.edu id <S155538AbQEXJ3u>;
	Wed, 24 May 2000 05:29:50 -0400
Received: from mail-oak-1.pilot.net ([198.232.147.16]:61672 "EHLO
	mail01-oak.pilot.net") by vger.rutgers.edu with ESMTP
	id <S155347AbQEXJ3i>; Wed, 24 May 2000 05:29:38 -0400
Received: from Altera.COM (mail.altera.com [137.57.1.1]) by mail01-oak.pilot.net with ESMTP id CAA20764 for <linux-arm@vger.rutgers.edu>; Wed, 24 May 2000 02:29:53 -0700 (PDT)
Received: from sj-gw01.altera.com by Altera.COM (8.8.8+Sun/SMI-4.1)
	id CAA05441; Wed, 24 May 2000 02:31:41 -0700 (PDT)
Received: by sj-gw01.altera.com with Internet Mail Service (5.5.2650.21)
	id <L3Y6BGYZ>; Wed, 24 May 2000 02:31:12 -0700
Message-ID: <82B1591A280FD411B91200D0B75B484A38860D@sis-uk-msg01.altera.com>
From: Clive Davies <cdavies@altera.com>
To: "'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: Relocatable SWI problem in glibc
Date:	Wed, 24 May 2000 02:28:07 -0700
X-Mailer: Internet Mail Service (5.5.2650.21)
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I'm have a bit of trouble building glibc 2.1.3 for arm-linux with the linux
threads and crypt packages using a gcc cross compiler hosted on a 586
machine. All goes well with the build until it tries to compile
sysdep/unix/syscall.S. using the command line 

/usr/local/arm-linux/bin/gcc  ../sysdeps/unix/syscall.S -c  -I../include -I.
-I.. -I../libio  -I../sysdeps/arm/elf -I../crypt/sysdeps/unix
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32
-I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic  -nostdinc -isystem
/usr/local/lib/gcc-lib/arm-linux/2.95.2/include -isystem /usr/local/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h     -DASSEMBLER   -o
syscall.o 

The assembler issues an error :--

../sysdeps/unix/syscall.S: Assembler messages:
../sysdeps/unix/syscall.S:28: Error: Can not represent SWI relocation in
this object file format (0)

After preprocessing, syscall.S looks like this:-

.text;	.type __syscall_error ,%function;	
.globl      syscall     ;	
.type      syscall      ,%function ; 	
.align  4  ;	    
syscall: 	  ;	    	
	swi  __NR_syscall     ;      ;	
	cmn r0, $4096;		
	bhs   __syscall_error  (PLT) ;  
	mov 	  pc, r14   
 	.size    syscall   ,.-   syscall      

The key line is the 'swi __NR_syscall'; replacing '__NR_syscall' with a
constant value removes the error so I assume that problem is using a symbol
to define the swi number. 


I'm using "gcc version 2.95.2 19991024 (release)" and I've tried both "GNU
assembler version 2.9.5 (arm-linux) using BFD version 2.9.5.0.22" and "GNU
assembler version 000510 (arm-linux) using BFD version 000510" and I believe
that the file format is ELF

Does anyone know how to get round this? You'll have to forgive me if I've
missed something obvious, I'm a bit of a newbie to linux / the gnu tools.

TIA
Clive


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 12:20:56 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uZDc-00059S-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 12:20:56 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 105AB15D49; Wed, 24 May 2000 13:21:37 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155542AbQEXLUm>;
	Wed, 24 May 2000 07:20:42 -0400
Received: by vger.rutgers.edu id <S155549AbQEXLUY>;
	Wed, 24 May 2000 07:20:24 -0400
Received: from [194.216.164.17] ([194.216.164.17]:2199 "EHLO
	salisbury.labs.futuretv.com") by vger.rutgers.edu with ESMTP
	id <S155542AbQEXLUM>; Wed, 24 May 2000 07:20:12 -0400
Received: from zebra.labs.futuretv.com ([192.168.32.2])
	by salisbury.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12uaI8-000326-00
	for linux-arm@vger.rutgers.edu; Wed, 24 May 2000 12:29:40 +0000
Received: from [192.168.33.3] (helo=fountain.labs.futuretv.com)
	by zebra.labs.futuretv.com with esmtp (Exim 3.12 #1)
	id 12uZDE-0000wY-00; Wed, 24 May 2000 12:20:32 +0100
Received: from localhost ([127.0.0.1] helo=fountain.labs.futuretv.com)
	by fountain.labs.futuretv.com with esmtp (Exim 3.03 #1)
	id 12uZDE-0006s1-00; Wed, 24 May 2000 12:20:32 +0100
X-Mailer: exmh version 2.0.2 2/24/98 (debian) 
To: Clive Davies <cdavies@altera.com>
Cc: "'linux-arm@vger.rutgers.edu'" <linux-arm@vger.rutgers.edu>
Subject: Re: Relocatable SWI problem in glibc 
In-Reply-To: Message from Clive Davies <cdavies@altera.com> 
   of "Wed, 24 May 2000 02:28:07 PDT." <82B1591A280FD411B91200D0B75B484A38860D@sis-uk-msg01.altera.com> 
References: <82B1591A280FD411B91200D0B75B484A38860D@sis-uk-msg01.altera.com> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date:	Wed, 24 May 2000 12:20:31 +0100
From: Philip Blundell <pb@labs.futuretv.com>
Message-Id: <E12uZDE-0006s1-00@fountain.labs.futuretv.com>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

In message <82B1591A280FD411B91200D0B75B484A38860D@sis-uk-msg01.altera.com>, Cl
ive Davies writes:
>../sysdeps/unix/syscall.S: Assembler messages:
>../sysdeps/unix/syscall.S:28: Error: Can not represent SWI relocation in
>this object file format (0)

Sounds like your kernel headers are out of date.

p.



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 13:42:02 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uaU6-0005oC-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 13:42:02 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2A58115D97; Wed, 24 May 2000 14:42:43 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155222AbQEXMlk>;
	Wed, 24 May 2000 08:41:40 -0400
Received: by vger.rutgers.edu id <S155199AbQEXMlV>;
	Wed, 24 May 2000 08:41:21 -0400
Received: from [202.141.26.181] ([202.141.26.181]:4828 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155178AbQEXMlL>;
	Wed, 24 May 2000 08:41:11 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id PAA19026;
	Wed, 24 May 2000 15:05:28 +0530
Date:	Wed, 24 May 2000 15:05:28 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: Jungjun Kim <sami@hmec.co.kr>
Cc: linux-arm@vger.rutgers.edu
Subject: RE: cross gdb & debugging agent
In-Reply-To: <00052417583400.00826@amba>
Message-ID: <Pine.LNX.4.10.10005241502380.13561-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


I have made the chages in the Makefile in gdb directory. After that in
directory rdi-share i executed the following commands: 

./configure
make 

And when i gave the instruction target rdi /dev/ttyS0 in gdb, it is still
saying that it cannot recognize the rdi command.

regards,
-lavu sridhar

On Wed, 24 May 2000, Jungjun Kim wrote:

>The reason why this happens is that gdb5.0 doesn't include RDI stuffs.
>You need to change gdb/Makefile as follows,
>
>for gdb/Makefile
>
>    609 DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
>    610        $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS) remote-rdi.o
>
>    783 gdb$(EXEEXT): main.o libgdb.a rdi-share/libangsd.a $(ADD_DEPS) $(CDEPS)
>$(TDEPLIBS)
>
>and change directory to gdb/rdi-share, make configuration, and run 'make',
>then you get libangsd.a library.
>
>I don't know why they don't include this target .
>
>Jungjun Kim
>
>> Thank you for the info. I have the ANGEL Debugger running on the board.
>> Next I tried the command u specified: but it says undefined target
>> commmand rdi. Next I tried the command: target remote /dev/ttyS0 , but I
>> get the message saying could not open connectoin with the remote target.
>> 
>> What is the solution to the problem?
>> 
>> Regards,
>> Lavu Sridhar
>> 


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Wed May 24 21:13:30 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uhX0-0001pK-00
	for linux-arm-archive@lists.arm.linux.org.uk; Wed, 24 May 2000 21:13:30 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1AA8915DC4; Wed, 24 May 2000 22:14:12 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156144AbQEXUCf>;
	Wed, 24 May 2000 16:02:35 -0400
Received: by vger.rutgers.edu id <S156182AbQEXTuY>;
	Wed, 24 May 2000 15:50:24 -0400
Received: from lnsmtpbos00.lhs.com ([208.162.98.43]:4583 "HELO lhs.com")
	by vger.rutgers.edu with SMTP id <S156260AbQEXT3v>;
	Wed, 24 May 2000 15:29:51 -0400
Received: by lhs.com(Lotus SMTP MTA v4.6.6  (890.1 7-16-1999))  id 852568E9.006BED1D ; Wed, 24 May 2000 15:38:50 -0400
X-Lotus-FromDomain: LHS
From: nmistry@lhsl.com
To: Sun-Gi Hong <sghong@mail.robotics.co.kr>
Cc: linux-arm@vger.rutgers.edu
Message-ID: <852568E9.006BEC80.00@lhs.com>
Date:	Wed, 24 May 2000 15:15:26 -0400
Subject: Re: (unknown chars)LCD problem again
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


I am a bit puzzled... Which screen do you have on your Assabet?  You keep
mentioning a backlight, when the sharp screen that comes with the assabet has a
frontlight.

Not that i am trying to discount what you are saying, but after talking w/ sharp
directly they assured me the only way to power the >> frontlight <<  is by an dc
to ac inverter.     This is even mentioned in the Specs.  The screen requires
about 300 Volts to power the frontlight, which the inverter supplies.

If you do have a backlight screen, then it is very feasable that you could power
it using a 12V power supply.

It would be quite interesting if you recieved a different screen than the rest
of us..

-N





Sun-Gi Hong <sghong@mail.robotics.co.kr> on 05/24/2000 03:23:16 AM

To:   linux-arm@vger.rutgers.edu
cc:    (bcc: Nicholas Mistry/USER/US/LHS)

Subject:  LCD problem again



Thank you Nick and John for your helpful comments about the LCD problem.

Anyway the domestic vendor, Intel Korea told me as follows.

The input voltage for the backlight of the sharp LCD on Assabet is 12V.
We don`t have the datasheet either, but may require you to contact the
Sharp rep.  We noticed it`s not on the Sharp web site as  well.

and

Furthermore, just connect it with commercial 12V like as PC power
supply. In that case you can light up CFL without inverter. In PDA
desgin, you may need inverter which step up 3or 5V to 12V.

However, after connecting 12V to LCD, nothing happens so I try to
analyze the kernels, but I can't fix it.

Any ideas?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++





unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 25 01:57:49 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uly9-0004Q8-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 25 May 2000 01:57:49 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2CF7115E40; Thu, 25 May 2000 02:58:31 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156563AbQEYAi6>;
	Wed, 24 May 2000 20:38:58 -0400
Received: by vger.rutgers.edu id <S156283AbQEYAQc>;
	Wed, 24 May 2000 20:16:32 -0400
Received: from [202.30.128.201] ([202.30.128.201]:54590 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S156617AbQEYABS>;
	Wed, 24 May 2000 20:01:18 -0400
Received: from yd01.hmec.co.kr (localhost [127.0.0.1])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id IAA09301;
	Thu, 25 May 2000 08:58:40 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id JAA10067; Thu, 25 May 2000 09:00:25 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: Lavu Sridhar <ee96162@ee.iitm.ernet.in>,
	Jungjun Kim <sami@wm01.hmec.co.kr>
Subject: RE: cross gdb & debugging agent
Date:	Thu, 25 May 2000 08:54:23 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
References: <1000524183528A2567@wm01.hmec.co.kr>
In-Reply-To: <1000524183528A2567@wm01.hmec.co.kr>
MIME-Version: 1.0
Message-Id: <00052508580600.01797@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Oops,

You need to change the following lines of gdb/Makefile

    783 gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
rdi-share/libangsd.a
    784     rm -f gdb$(EXEEXT)
    785     $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) main.o libgdb.a $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) rdi-share/libangsd.a  

Jungjun Kim

> I have made the chages in the Makefile in gdb directory. After that in
> directory rdi-share i executed the following commands: 
> 
> ./configure
> make 
> 
> And when i gave the instruction target rdi /dev/ttyS0 in gdb, it is still
> saying that it cannot recognize the rdi command.
> 
> regards,
> -lavu sridhar
> 
> On Wed, 24 May 2000, Jungjun Kim wrote:
> 
> >The reason why this happens is that gdb5.0 doesn't include RDI stuffs.
> >You need to change gdb/Makefile as follows,
> >
> >for gdb/Makefile
> >
> >    609 DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
> >    610        $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS) remote-rdi.o
> >
> >    783 gdb$(EXEEXT): main.o libgdb.a rdi-share/libangsd.a $(ADD_DEPS) $(CDEPS)
> >$(TDEPLIBS)
> >
> >and change directory to gdb/rdi-share, make configuration, and run 'make',
> >then you get libangsd.a library.
> >
> >I don't know why they don't include this target .
> >
> >Jungjun Kim
> >
> >> Thank you for the info. I have the ANGEL Debugger running on the board.
> >> Next I tried the command u specified: but it says undefined target
> >> commmand rdi. Next I tried the command: target remote /dev/ttyS0 , but I
> >> get the message saying could not open connectoin with the remote target.
> >> 
> >> What is the solution to the problem?
> >> 
> >> Regards,
> >> Lavu Sridhar
> >>

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 25 06:43:57 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uqR3-000692-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 25 May 2000 06:43:57 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2D00C15E44; Thu, 25 May 2000 07:44:39 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155932AbQEYFn3>;
	Thu, 25 May 2000 01:43:29 -0400
Received: by vger.rutgers.edu id <S155936AbQEYFnJ>;
	Thu, 25 May 2000 01:43:09 -0400
Received: from [202.141.26.181] ([202.141.26.181]:2130 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155932AbQEYFm4>;
	Thu, 25 May 2000 01:42:56 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id LAA12126;
	Thu, 25 May 2000 11:13:31 +0530
Date:	Thu, 25 May 2000 11:13:31 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: Jungjun Kim <sami@hmec.co.kr>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: RE: cross gdb & debugging agent
In-Reply-To: <00052508580600.01797@amba>
Message-ID: <Pine.LNX.4.10.10005251105020.11702-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello again, I have done :
 	
	1) ./configure in gdb-5.0/
	2) changes in the Makefile in gdb-5.0/gdb/
	3) ./configure in gdb-5.0/gdb/rdi-share/
	4) make in gdb-5.0/gdb/rdi-share/
	5) make in gdb-5.0/

In the last step I have got the following error message saying that
udefined reference to some functions.

libgdb.a(remote-rdi.o): In function `arm_rdi_resume':
/home/arm/gdb-5.0/gdb/remote-rdi.c:495: undefined reference to
`arm_get_next_pc'libgdb.a(remote-rdi.o): In function
`arm_rdi_insert_breakpoint':
/home/arm/gdb-5.0/gdb/remote-rdi.c:768: undefined reference to
`arm_pc_is_thumb'/home/arm/gdb-5.0/gdb/remote-rdi.c:768: undefined
reference to `arm_pc_is_thumb$collect2: ld returned 1 exit status
make[1]: *** [gdb] Error 1

Have I got the sequence of steps right? 

Regards,
Lavu Sridhar	

-----------------------------------------------------------------------

On Thu, 25 May 2000, Jungjun Kim wrote:
>
>You need to change the following lines of gdb/Makefile
>
>    783 gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
>rdi-share/libangsd.a
>    784     rm -f gdb$(EXEEXT)
>    785     $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) main.o libgdb.a $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) rdi-share/libangsd.a  
>
>Jungjun Kim
>
>> I have made the chages in the Makefile in gdb directory. After that in
>> directory rdi-share i executed the following commands: 
>> 
>> ./configure
>> make 
>> 
>> And when i gave the instruction target rdi /dev/ttyS0 in gdb, it is still
>> saying that it cannot recognize the rdi command.
>> 
>> regards,
>> -lavu sridhar
>> 





unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 25 11:09:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uuZd-0007yI-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 25 May 2000 11:09:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 9847F15DEE; Thu, 25 May 2000 12:09:47 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155279AbQEYKIW>;
	Thu, 25 May 2000 06:08:22 -0400
Received: by vger.rutgers.edu id <S155384AbQEYKIP>;
	Thu, 25 May 2000 06:08:15 -0400
Received: from [202.141.26.181] ([202.141.26.181]:1637 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155279AbQEYKHz>;
	Thu, 25 May 2000 06:07:55 -0400
Received: from localhost (ee96209@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id PAA30289;
	Thu, 25 May 2000 15:36:27 +0530
Date:	Thu, 25 May 2000 15:36:27 +0530 (IST)
From: Vikas Datta <ee96209@ee.iitm.ernet.in>
To: Jungjun Kim <sami@hmec.co.kr>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: RE: cross gdb & debugging agent
In-Reply-To: <00052508580600.01797@amba>
Message-ID: <Pine.LNX.4.10.10005251526160.29286-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello,

I have built the kernel using bin-utils-2.95.2- and linux-2.3.99
Using gdb5.0 , i have tried :

target rdi /dev/ttyS0
load zImage

it says that this is not an executable.....
I had enabled the Kernel Support for ELF binaries while making the
kernel....am i using the wrong format? which format shd i use for the
download ?

I am using the Cirrus Logic 7500FE Development board with 16MB RAM and no
Flash SIMM, debugging through COMM1 port.

regards,
vikas datta

On Thu, 25 May 2000, Jungjun Kim wrote:

> Oops,
> 
> You need to change the following lines of gdb/Makefile
> 
>     783 gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
> rdi-share/libangsd.a
>     784     rm -f gdb$(EXEEXT)
>     785     $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) main.o libgdb.a $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES) rdi-share/libangsd.a  
> 
> Jungjun Kim
> 
> > I have made the chages in the Makefile in gdb directory. After that in
> > directory rdi-share i executed the following commands: 
> > 
> > ./configure
> > make 
> > 
> > And when i gave the instruction target rdi /dev/ttyS0 in gdb, it is still
> > saying that it cannot recognize the rdi command.
> > 
> > regards,
> > -lavu sridhar
> > 
> > On Wed, 24 May 2000, Jungjun Kim wrote:
> > 
> > >The reason why this happens is that gdb5.0 doesn't include RDI stuffs.
> > >You need to change gdb/Makefile as follows,
> > >
> > >for gdb/Makefile
> > >
> > >    609 DEPFILES = $(TDEPFILES) $(XDEPFILES) $(SER_HARDWIRE) $(NATDEPFILES) \
> > >    610        $(REMOTE_OBS) $(SIM_OBS) $(CONFIG_OBS) remote-rdi.o
> > >
> > >    783 gdb$(EXEEXT): main.o libgdb.a rdi-share/libangsd.a $(ADD_DEPS) $(CDEPS)
> > >$(TDEPLIBS)
> > >
> > >and change directory to gdb/rdi-share, make configuration, and run 'make',
> > >then you get libangsd.a library.
> > >
> > >I don't know why they don't include this target .
> > >
> > >Jungjun Kim
> > >
> > >> Thank you for the info. I have the ANGEL Debugger running on the board.
> > >> Next I tried the command u specified: but it says undefined target
> > >> commmand rdi. Next I tried the command: target remote /dev/ttyS0 , but I
> > >> get the message saying could not open connectoin with the remote target.
> > >> 
> > >> What is the solution to the problem?
> > >> 
> > >> Regards,
> > >> Lavu Sridhar
> > >>
> 
> unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
> ++                        kernel-related discussions.                      ++
> 


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 25 11:23:11 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uunH-00083m-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 25 May 2000 11:23:11 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id B455E15DEE; Thu, 25 May 2000 12:23:52 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155333AbQEYKW2>;
	Thu, 25 May 2000 06:22:28 -0400
Received: by vger.rutgers.edu id <S155279AbQEYKWT>;
	Thu, 25 May 2000 06:22:19 -0400
Received: from [202.30.128.201] ([202.30.128.201]:44020 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S155642AbQEYKWH>;
	Thu, 25 May 2000 06:22:07 -0400
Received: from yd01.hmec.co.kr (localhost [127.0.0.1])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id TAA25438;
	Thu, 25 May 2000 19:19:51 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id TAA24878; Thu, 25 May 2000 19:21:37 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Subject: RE: cross gdb & debugging agent
Date:	Thu, 25 May 2000 19:12:32 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
References: <1000525144331A2574@wm01.hmec.co.kr>
In-Reply-To: <1000525144331A2574@wm01.hmec.co.kr>
MIME-Version: 1.0
Message-Id: <00052519191400.00757@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hi,

Ok, the sequence is right.
But I think that you didn't add rdi-share/libangsd.a  library to gdb/Makefile at
line 785 as I told you.

> >
> >    783 gdb$(EXEEXT): main.o libgdb.a $(ADD_DEPS) $(CDEPS) $(TDEPLIBS)
> >rdi-share/libangsd.a
> >    784     rm -f gdb$(EXEEXT)
> >    785     $(HLDENV) $(CC_LD) $(INTERNAL_LDFLAGS) $(WIN32LDAPP) -o gdb$(EXEEXT) main.o libgdb.a
>>            $(TDEPLIBS) $(TUI_LIBRARY) $(CLIBS) $(LOADLIBES)rdi-share/libangsd.a 
> >

I think that you will make it after adding that library.

Jungjun Kim


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 25 12:08:47 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12uvVP-0008MZ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 25 May 2000 12:08:47 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 84DC915DF9; Thu, 25 May 2000 13:09:29 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155923AbQEYLHx>;
	Thu, 25 May 2000 07:07:53 -0400
Received: by vger.rutgers.edu id <S155905AbQEYLHi>;
	Thu, 25 May 2000 07:07:38 -0400
Received: from [210.222.58.3] ([210.222.58.3]:38209 "EHLO ruby.medison.co.kr")
	by vger.rutgers.edu with ESMTP id <S155909AbQEYLHW>;
	Thu, 25 May 2000 07:07:22 -0400
Received: from medison.co.kr (remote.medison.co.kr [210.222.58.253] (may be forged))
	by ruby.medison.co.kr (8.10.1/8.10.1) with ESMTP id e4PB7oE01327
	for <linux-arm@vger.rutgers.edu>; Thu, 25 May 2000 20:07:50 +0900 (KST)
Message-ID: <392D09B8.7792DD0D@medison.co.kr>
Date:	Thu, 25 May 2000 20:08:40 +0900
From: Sanggyu Nam <halite@medison.co.kr>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i686)
X-Accept-Language: ko
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: glibc-2.1.3 compile error
Content-Type: text/plain; charset=EUC-KR
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I'm trying to make tool-chain for arm-linux but I've got the problem
that compile glibc-2.1.3.

Here's thing I'm using.

binutils-2.9.5.0.42
gcc-2.95.2
glibc-2.1.3
linux-2.3.99-pre8

When compile glibc-2.1.3, below messages are shown.

../libc.so.6: undefined reference to `__ashldi3'
../libc.so.6: undefined reference to `__divdi3'
../libc.so.6: undefined reference to `__umoddi3'
../libc.so.6: undefined reference to `__udivdi3'
../libc.so.6: undefined reference to `__lshrdi3'
../libc.so.6: undefined reference to `__moddi3'
../libc.so.6: undefined reference to `__muldi3'
collect2: ld returned 1 exit status
make[1]: *** [makedb] Error 1
make[1]: Leaving directory `/devel/arm/assabet/glibc-2.1.3/db2'
make: *** [db2/others] Error 2

Please teach me the solution.
Someone said me that this error will be solved by using
binutils-2.9.5.0.22. But it cannot be solve this.
How can I compile glibc-2.1.3?



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 25 17:27:05 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12v0TR-00012n-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 25 May 2000 17:27:05 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7208F15ED5; Thu, 25 May 2000 19:24:46 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156556AbQEYRGd>;
	Thu, 25 May 2000 13:06:33 -0400
Received: by vger.rutgers.edu id <S156211AbQEYQsn>;
	Thu, 25 May 2000 12:48:43 -0400
Received: from netwinder.org ([207.245.35.202]:62148 "EHLO kei.netwinder.org")
	by vger.rutgers.edu with ESMTP id <S156190AbQEYQ3H>;
	Thu, 25 May 2000 12:29:07 -0400
Received: from netwinder.org ([10.1.19.121])
	by kei.netwinder.org (8.9.3/8.9.3) with ESMTP id MAA18568;
	Thu, 25 May 2000 12:29:20 -0400
Message-ID: <392D53AC.3818DFE0@netwinder.org>
Date:	Thu, 25 May 2000 12:24:12 -0400
From: Scott Bambrough <scottb@netwinder.org>
Organization: Rebel.com
X-Mailer: Mozilla 4.7 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Sanggyu Nam <halite@medison.co.kr>
Cc: linux-arm@vger.rutgers.edu
Subject: Re: glibc-2.1.3 compile error
References: <392D09B8.7792DD0D@medison.co.kr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

All these functions can be found in libgcc.a.  This comes with the compiler.  Is
your compiler installed correctly?

Scott

Sanggyu Nam wrote:
> 
> I'm trying to make tool-chain for arm-linux but I've got the problem
> that compile glibc-2.1.3.
> 
> Here's thing I'm using.
> 
> binutils-2.9.5.0.42
> gcc-2.95.2
> glibc-2.1.3
> linux-2.3.99-pre8
> 
> When compile glibc-2.1.3, below messages are shown.
> 
> ../libc.so.6: undefined reference to `__ashldi3'
> ../libc.so.6: undefined reference to `__divdi3'
> ../libc.so.6: undefined reference to `__umoddi3'
> ../libc.so.6: undefined reference to `__udivdi3'
> ../libc.so.6: undefined reference to `__lshrdi3'
> ../libc.so.6: undefined reference to `__moddi3'
> ../libc.so.6: undefined reference to `__muldi3'
> collect2: ld returned 1 exit status
> make[1]: *** [makedb] Error 1
> make[1]: Leaving directory `/devel/arm/assabet/glibc-2.1.3/db2'
> make: *** [db2/others] Error 2
> 
> Please teach me the solution.
> Someone said me that this error will be solved by using
> binutils-2.9.5.0.22. But it cannot be solve this.
> How can I compile glibc-2.1.3?
> 
> unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
> ++                        kernel-related discussions.                      ++

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Thu May 25 19:43:37 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12v2bZ-0003XZ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Thu, 25 May 2000 19:43:37 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 5794015E87; Thu, 25 May 2000 21:41:18 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156188AbQEYTjn>;
	Thu, 25 May 2000 15:39:43 -0400
Received: by vger.rutgers.edu id <S156106AbQEYTjY>;
	Thu, 25 May 2000 15:39:24 -0400
Received: from [202.141.26.181] ([202.141.26.181]:2205 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S156182AbQEYTjP>;
	Thu, 25 May 2000 15:39:15 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id BAA31990;
	Fri, 26 May 2000 01:07:03 +0530
Date:	Fri, 26 May 2000 01:07:03 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: Jungjun Kim <sami@hmec.co.kr>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: RE: cross gdb & debugging agent
In-Reply-To: <00052519191400.00757@amba>
Message-ID: <Pine.LNX.4.10.10005260054580.31528-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


I have got the gdb working and it is talking to the board. ie when i give
the command target rdi /dev/ttyS0 it gives the message saying that it is
connected to ARM RDI target.

Next I have compiled the linux kernel 2.3.99 using the arm-linux cross
tool chain. When I gave the command load vmlinux, it gave the following
error message:

(gdb) load vmlinux
Loading section .init, size 0x8000 lma 0xc0008000
RDI_write: data abort, no memory at specified address?
RDI_write: data abort, no memory at specified address?
Memory access error while loading section .init.

What could be the mistake?

regards,
-lavu sridhar


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 01:43:38 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12v8Dy-0001ew-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 01:43:38 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 1582315EFC; Fri, 26 May 2000 03:41:22 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155178AbQEZBjf>;
	Thu, 25 May 2000 21:39:35 -0400
Received: by vger.rutgers.edu id <S155023AbQEZBjV>;
	Thu, 25 May 2000 21:39:21 -0400
Received: from [210.222.58.3] ([210.222.58.3]:57097 "EHLO ruby.medison.co.kr")
	by vger.rutgers.edu with ESMTP id <S155586AbQEZBhc>;
	Thu, 25 May 2000 21:37:32 -0400
Received: from medison.co.kr (remote.medison.co.kr [210.222.58.253] (may be forged))
	by ruby.medison.co.kr (8.10.1/8.10.1) with ESMTP id e4Q1cEE07303
	for <linux-arm@vger.rutgers.edu>; Fri, 26 May 2000 10:38:14 +0900 (KST)
Message-ID: <392DD5B8.6F4EB791@medison.co.kr>
Date:	Fri, 26 May 2000 10:39:04 +0900
From: Sanggyu Nam <halite@medison.co.kr>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i686)
X-Accept-Language: ko
MIME-Version: 1.0
To: linux-arm@vger.rutgers.edu
Subject: gcc-2.95.2 compile error
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

I'm using gcc-2.95.2.tar.gz with gcc-2.95.2-diff-991022.gz.
After make binutils-2.9.5.0.42 with no patch, I tried command 'make
LANGUAGES="c"' but below errors are shown.

./libgcc2.c:41: stdlib.h: there's no file
./libgcc2.c:42: unistd.h: tehre's no file
make[3]: Leaving directory `/devel/arm/assabet/gcc-2.95.2/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/devel/arm/assabet/gcc-2.95.2/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/devel/arm/assabet/gcc-2.95.2/gcc'
make: *** [all-gcc] Error 2

If I use '-i' option to disregard errors, libgcc.a is made but it's not
correct. So it caused another error when compile glibc-2.1.3.
ehwn compile egcs-1.1.2 has not generated any error like this.
How can I solve this?


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 06:27:14 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vCeQ-0004j4-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 06:27:14 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C3C6E15EFC; Fri, 26 May 2000 07:27:12 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155473AbQEZFZl>;
	Fri, 26 May 2000 01:25:41 -0400
Received: by vger.rutgers.edu id <S155526AbQEZFZX>;
	Fri, 26 May 2000 01:25:23 -0400
Received: from [194.201.77.34] ([194.201.77.34]:39127 "HELO
	fw-maid.maidenhead.arm.com") by vger.rutgers.edu with SMTP
	id <S155473AbQEZFZS>; Fri, 26 May 2000 01:25:18 -0400
Received: by fw-maid.maidenhead.arm.com; id GAA21673; Fri, 26 May 2000 06:23:45 +0100
Received: from mhsun1.maidenhead.arm.com(192.168.2.10) by fw-maid.maidenhead.arm.com via smap (V5.0)
	id xma021666; Fri, 26 May 00 06:23:28 +0100
Received: from arm.com (IDENT:drusling@dhcp15 [192.168.2.175])
	by mhsun1.maidenhead.arm.com (8.9.3/8.9.3) with ESMTP id GAA05793;
	Fri, 26 May 2000 06:25:43 +0100 (BST)
Message-ID: <392E0C3B.FFD3E6F8@arm.com>
Date:	Fri, 26 May 2000 06:31:39 +0100
From: David A Rusling <David.Rusling@arm.com>
Reply-To: david.rusling@arm.com
Organization: ARM
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: ee96162@ee.iitm.ernet.in
Cc: Jungjun Kim <sami@hmec.co.kr>,
	"linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: cross gdb & debugging agent
References: <Pine.LNX.4.10.10005260054580.31528-100000@volt.ee.iitm.ernet.in>
Content-Type: multipart/alternative;
 boundary="------------53159B007534BA89E069F3BB"
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


--------------53159B007534BA89E069F3BB
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Lavu,

    I don't know the system, but from the error messages it looks
like 0xc0008000 is not in the address map for the system.  If it is  an
SA-1100 board, then the first DRAM bank has not been mapped to
its physical address (0xC0000000) but to a virtual address of
0x00000000.

Dave

Lavu Sridhar wrote:

> I have got the gdb working and it is talking to the board. ie when i give
> the command target rdi /dev/ttyS0 it gives the message saying that it is
> connected to ARM RDI target.
>
> Next I have compiled the linux kernel 2.3.99 using the arm-linux cross
> tool chain. When I gave the command load vmlinux, it gave the following
> error message:
>
> (gdb) load vmlinux
> Loading section .init, size 0x8000 lma 0xc0008000
> RDI_write: data abort, no memory at specified address?
> RDI_write: data abort, no memory at specified address?
> Memory access error while loading section .init.
>
> What could be the mistake?
>
> regards,
> -lavu sridhar
>
> unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
> ++                        kernel-related discussions.                      ++

--
----------------------------------------------------------------------
David A Rusling                 Consulting Engineer
                                ARM Limited
                                Liberty House,
                                Moorbridge Road,
                                Maidenhead, SL6 8LT

                                Tel: UK-(0)1628-427754
                                Fax: UK-(0)1628-780551
                                e-mail: david.rusling@arm.com
----------------------------------------------------------------------



--------------53159B007534BA89E069F3BB
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Lavu,
<p>&nbsp;&nbsp;&nbsp; I&nbsp;don't know the system, but from the error
messages it looks
<br>like 0xc0008000 is not in the address map for the system.&nbsp; If
it is&nbsp; an
<br>SA-1100 board, then the first DRAM&nbsp;bank has not been mapped to
<br>its physical address (0xC0000000) but to a virtual address of
<br>0x00000000.
<p>Dave
<p>Lavu Sridhar wrote:
<blockquote TYPE=CITE>I have got the gdb working and it is talking to the
board. ie when i give
<br>the command target rdi /dev/ttyS0 it gives the message saying that
it is
<br>connected to ARM RDI target.
<p>Next I have compiled the linux kernel 2.3.99 using the arm-linux cross
<br>tool chain. When I gave the command load vmlinux, it gave the following
<br>error message:
<p>(gdb) load vmlinux
<br>Loading section .init, size 0x8000 lma 0xc0008000
<br>RDI_write: data abort, no memory at specified address?
<br>RDI_write: data abort, no memory at specified address?
<br>Memory access error while loading section .init.
<p>What could be the mistake?
<p>regards,
<br>-lavu sridhar
<p>unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
<br>++&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Please use linux-arm-kernel@lists.arm.linux.org.uk
for&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ++
<br>++&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
kernel-related discussions.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
++</blockquote>

<pre>--&nbsp;
----------------------------------------------------------------------
David A Rusling&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Consulting Engineer
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARM Limited
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Liberty House,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Moorbridge Road,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Maidenhead, SL6 8LT

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Tel: UK-(0)1628-427754
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax: UK-(0)1628-780551
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; e-mail: david.rusling@arm.com
----------------------------------------------------------------------</pre>
&nbsp;</html>

--------------53159B007534BA89E069F3BB--


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 06:57:16 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vD7U-00058A-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 06:57:16 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 4A76F15EF0; Fri, 26 May 2000 07:57:11 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155542AbQEZFzk>;
	Fri, 26 May 2000 01:55:40 -0400
Received: by vger.rutgers.edu id <S155553AbQEZFzd>;
	Fri, 26 May 2000 01:55:33 -0400
Received: from [202.141.26.181] ([202.141.26.181]:2835 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155548AbQEZFzF>;
	Fri, 26 May 2000 01:55:05 -0400
Received: from localhost (ee96209@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id LAA06054;
	Fri, 26 May 2000 11:30:01 +0530
Date:	Fri, 26 May 2000 11:30:01 +0530 (IST)
From: Vikas Datta <ee96209@ee.iitm.ernet.in>
To: David A Rusling <David.Rusling@arm.com>
Cc: Lavu Sridhar <ee96162@ee.iitm.ernet.in>,
	Jungjun Kim <sami@hmec.co.kr>,
	"linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: Re: cross gdb & debugging agent
In-Reply-To: <392E0C3B.FFD3E6F8@arm.com>
Message-ID: <Pine.LNX.4.10.10005261120110.5496-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello David,

We are using the Cirrus Logic 7500FE Development board. While loading the 
.../boot/compressed/vmlinux image, i get 

Loading section .text, size 0x536e0 lma 0x10008000
RDI_write : internal error, supervisor state not accessible to monitor
RDI_write : internal error, supervisor state not accessible to monitor
Memory access error while loading .text.

I have a 16 MB DRAM and no Flash on the board, and are debugging using
gdb5.0 with target rdi /dev/ttyS0

what could be wrong....

regards,
--vikas datta

On Fri, 26 May 2000, David A Rusling wrote:

> Lavu,
> 
>     I don't know the system, but from the error messages it looks
> like 0xc0008000 is not in the address map for the system.  If it is  an
> SA-1100 board, then the first DRAM bank has not been mapped to
> its physical address (0xC0000000) but to a virtual address of
> 0x00000000.
> 
> Dave
> 
> Lavu Sridhar wrote:
> 
> > I have got the gdb working and it is talking to the board. ie when i give
> > the command target rdi /dev/ttyS0 it gives the message saying that it is
> > connected to ARM RDI target.
> >
> > Next I have compiled the linux kernel 2.3.99 using the arm-linux cross
> > tool chain. When I gave the command load vmlinux, it gave the following
> > error message:
> >
> > (gdb) load vmlinux
> > Loading section .init, size 0x8000 lma 0xc0008000
> > RDI_write: data abort, no memory at specified address?
> > RDI_write: data abort, no memory at specified address?
> > Memory access error while loading section .init.
> >
> > What could be the mistake?
> >
> > regards,
> > -lavu sridhar
> >
> > unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
> > ++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
> > ++                        kernel-related discussions.                      ++
> 
> --
> ----------------------------------------------------------------------
> David A Rusling                 Consulting Engineer
>                                 ARM Limited
>                                 Liberty House,
>                                 Moorbridge Road,
>                                 Maidenhead, SL6 8LT
> 
>                                 Tel: UK-(0)1628-427754
>                                 Fax: UK-(0)1628-780551
>                                 e-mail: david.rusling@arm.com
> ----------------------------------------------------------------------
> 
> 
> 


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 07:53:59 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vE0N-0005rs-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 07:53:59 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id F0D8415F08; Fri, 26 May 2000 08:53:57 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155579AbQEZGw0>;
	Fri, 26 May 2000 02:52:26 -0400
Received: by vger.rutgers.edu id <S155580AbQEZGwI>;
	Fri, 26 May 2000 02:52:08 -0400
Received: from leonardo.telscom.ch ([193.247.121.34]:4223 "EHLO
	leonardo.telscom.ch") by vger.rutgers.edu with ESMTP
	id <S155579AbQEZGv5>; Fri, 26 May 2000 02:51:57 -0400
Received: from telscom.ch ([193.247.121.35]) by leonardo.telscom.ch
          (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-0U10L2S100)
          with ESMTP id AAA252; Fri, 26 May 2000 08:46:37 +0200
Message-ID: <392E20DD.4E91DE02@telscom.ch>
Date:	Fri, 26 May 2000 08:59:41 +0200
From: Mathias Teikari <mathias.teikari@telscom.ch>
Organization: Telscom AG
X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Sanggyu Nam <halite@medison.co.kr>
Cc: Linux-arm@vger.rutgers.edu
Subject: Re: gcc-2.95.2 compile error
References: <392DD5B8.6F4EB791@medison.co.kr>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Looks like you haven't got the libc headers for arm targets up to date. Try the
following..

In file: gcc-2.95.2/gcc/config/arm/t-linux, add -Dinhibit_libc and
-D__gthr_posix_h to the line that starts with TARGET_LIBGCC2_CFLAGS.

That line should now look like this:
TARGET_LIBGCC2_CFLAGS = -fomit-frame-pointer -fPIC -Dinhibit_linc
-D__gthr_posix_h

Re-run configure with extra parameter --disable-threads

After you have built your glibc you can go back and rebuild the complete
compiler as usual!

    - Mathias

--
 +---------------------------------------------------------+      .--.
 | Mathias Teikari           mathias.teikari@telscom.ch    |     |o_o |
 | Ba. Sc. EE.               Office Ph: +41 (0)31 376 2030 |     |:_/ |
 | SW Development Engineer   Mobile Ph: +41 (0)76 541 9449 |    //   \ \
 | Telscom AG                Sandrainstr. 17, CH-3007 Bern |   (|     | )
 |                                                         |  /'\_   _/`\
 +---------------- http://www.telscom.ch ------------------+  \___)=(___/




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 08:08:22 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vEEI-00064N-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 08:08:22 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 6435F15EFC; Fri, 26 May 2000 09:08:21 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155579AbQEZHGu>;
	Fri, 26 May 2000 03:06:50 -0400
Received: by vger.rutgers.edu id <S155581AbQEZHGd>;
	Fri, 26 May 2000 03:06:33 -0400
Received: from [210.222.58.3] ([210.222.58.3]:38121 "EHLO ruby.medison.co.kr")
	by vger.rutgers.edu with ESMTP id <S155579AbQEZHGQ>;
	Fri, 26 May 2000 03:06:16 -0400
Received: from ihtfp (remote.medison.co.kr [210.222.58.253] (may be forged))
	by ruby.medison.co.kr (8.10.1/8.10.1) with SMTP id e4Q76rE10941;
	Fri, 26 May 2000 16:06:53 +0900 (KST)
From: "Sanggyu Nam" <halite@medison.co.kr>
To: "Mathias Teikari" <mathias.teikari@telscom.ch>
Cc: <Linux-arm@vger.rutgers.edu>
Subject: RE: gcc-2.95.2 compile error
Date:	Fri, 26 May 2000 16:07:30 +0900
Message-ID: <NDBBIEDJELOGCNNKLMILCEEECCAA.halite@medison.co.kr>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: base64
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Importance: Normal
In-Reply-To: <392E20DD.4E91DE02@telscom.ch>
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

DQpUaGFuayB5b3UgZm9yIGFuc3dlcmluZy4NCkp1c3QgYmVmb3JlIHlvdSByZXBseSwgSSBzYXcg
dGhlIHRoaW5nIGFib3V0IHRoaXMgZXJyb3IgYXQgYXJtIGxpbnV4IHNpdGUuIEFuZCBJIHRyaWVk
IGFzIHlvdSBtZW50aW9uZWQuDQpidXQgdGhlcmUncyBhbm90aGVyIGVycm9yIGhhcyBvY2N1cmVk
LA0KDQp0aGUgZXJyb3IgaXMgbGlrZSB0aGlzOw0KDQpjaGVja2luZyBpZiBjb21waWxlciBjYzFv
YmogaGFzIGJlZW4gYnVpbHQuLi4gbm8NCmxpYm9iamM6IGRpcmVjdG9yeSBub3QgZW1wdHkNCg0K
SSB1c2VkIGNvbW1hbmQgJ21ha2UgTEFOR1VBR0VTPSJjIicNCg0KLS0tLS1PcmlnaW5hbCBNZXNz
YWdlLS0tLS0NCkZyb206IG1hdGhpYXN0IFttYWlsdG86bWF0aGlhc3RdT24gQmVoYWxmIE9mIE1h
dGhpYXMgVGVpa2FyaQ0KU2VudDogRnJpZGF5LCBNYXkgMjYsIDIwMDAgNDowMCBQTQ0KVG86IFNh
bmdneXUgTmFtDQpDYzogTGludXgtYXJtQHZnZXIucnV0Z2Vycy5lZHUNClN1YmplY3Q6IFJlOiBn
Y2MtMi45NS4yIGNvbXBpbGUgZXJyb3INCg0KDQpMb29rcyBsaWtlIHlvdSBoYXZlbid0IGdvdCB0
aGUgbGliYyBoZWFkZXJzIGZvciBhcm0gdGFyZ2V0cyB1cCB0byBkYXRlLiBUcnkgdGhlDQpmb2xs
b3dpbmcuLg0KDQpJbiBmaWxlOiBnY2MtMi45NS4yL2djYy9jb25maWcvYXJtL3QtbGludXgsIGFk
ZCAtRGluaGliaXRfbGliYyBhbmQNCi1EX19ndGhyX3Bvc2l4X2ggdG8gdGhlIGxpbmUgdGhhdCBz
dGFydHMgd2l0aCBUQVJHRVRfTElCR0NDMl9DRkxBR1MuDQoNClRoYXQgbGluZSBzaG91bGQgbm93
IGxvb2sgbGlrZSB0aGlzOg0KVEFSR0VUX0xJQkdDQzJfQ0ZMQUdTID0gLWZvbWl0LWZyYW1lLXBv
aW50ZXIgLWZQSUMgLURpbmhpYml0X2xpbmMNCi1EX19ndGhyX3Bvc2l4X2gNCg0KUmUtcnVuIGNv
bmZpZ3VyZSB3aXRoIGV4dHJhIHBhcmFtZXRlciAtLWRpc2FibGUtdGhyZWFkcw0KDQpBZnRlciB5
b3UgaGF2ZSBidWlsdCB5b3VyIGdsaWJjIHlvdSBjYW4gZ28gYmFjayBhbmQgcmVidWlsZCB0aGUg
Y29tcGxldGUNCmNvbXBpbGVyIGFzIHVzdWFsIQ0KDQogICAgLSBNYXRoaWFzDQoNCi0tDQogKy0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSsg
ICAgICAuLS0uDQogfCBNYXRoaWFzIFRlaWthcmkgICAgICAgICAgIG1hdGhpYXMudGVpa2FyaUB0
ZWxzY29tLmNoICAgIHwgICAgIHxvX28gfA0KIHwgQmEuIFNjLiBFRS4gICAgICAgICAgICAgICBP
ZmZpY2UgUGg6ICs0MSAoMCkzMSAzNzYgMjAzMCB8ICAgICB8Ol8vIHwNCiB8IFNXIERldmVsb3Bt
ZW50IEVuZ2luZWVyICAgTW9iaWxlIFBoOiArNDEgKDApNzYgNTQxIDk0NDkgfCAgICAvLyAgIFwg
XA0KIHwgVGVsc2NvbSBBRyAgICAgICAgICAgICAgICBTYW5kcmFpbnN0ci4gMTcsIENILTMwMDcg
QmVybiB8ICAgKHwgICAgIHwgKQ0KIHwgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICB8ICAvJ1xfICAgXy9gXA0KICstLS0tLS0tLS0tLS0tLS0t
IGh0dHA6Ly93d3cudGVsc2NvbS5jaCAtLS0tLS0tLS0tLS0tLS0tLS0rICBcX19fKT0oX19fLw0K
DQoNCg==


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 11:23:41 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vHHI-0000Zm-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 11:23:40 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 3B46115F25; Fri, 26 May 2000 12:23:39 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155932AbQEZKVu>;
	Fri, 26 May 2000 06:21:50 -0400
Received: by vger.rutgers.edu id <S155928AbQEZKVn>;
	Fri, 26 May 2000 06:21:43 -0400
Received: from [202.141.26.181] ([202.141.26.181]:1947 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155923AbQEZKVT>;
	Fri, 26 May 2000 06:21:19 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id PAA21095;
	Fri, 26 May 2000 15:06:38 +0530
Date:	Fri, 26 May 2000 15:06:38 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: lavu30@yahoo.com
To: Jungjun Kim <sami@hmec.co.kr>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: RE: cross gdb & debugging agent
In-Reply-To: <00052609205100.01386@amba>
Message-ID: <Pine.LNX.4.10.10005261502110.20845-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello,

	I have realised that I have not set the target pc options in the
gdb. In the configure file, I have changed the target_alias to arm. Where
else should I make changes? Currently it was set to i686 architecture.

	How do you change register contents, because once i download the
image it starts executing the image. How to put breakpoints, before it
starts executing? I am using target rdi /dev/ttyS0 (first command) and
then load vmlinux (2nd command)

	Thanks for all the help,

Regards,
Lavu Sridhar

-----------------------------------------------------------

>Then GDB can download vmlinux image.
>After downloading image, maybe you need to change CPSR register if the initial
>mode is USER32 because linux should be started with SVC32 mode.
>You can see the register values by the command "info registers".
>After fixing all these things, you can run by the "continue" command.




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 13:43:39 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vJSl-0002oS-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 13:43:39 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 75F1E15F46; Fri, 26 May 2000 14:43:38 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155941AbQEZMlY>;
	Fri, 26 May 2000 08:41:24 -0400
Received: by vger.rutgers.edu id <S155991AbQEZMlO>;
	Fri, 26 May 2000 08:41:14 -0400
Received: from ns0.utdallas.edu ([129.110.10.1]:43854 "HELO ns0.utdallas.edu")
	by vger.rutgers.edu with SMTP id <S156135AbQEZMjS>;
	Fri, 26 May 2000 08:39:18 -0400
Received: from apache.utdallas.edu (apache.utdallas.edu [129.110.16.9])
	by ns0.utdallas.edu (Postfix) with ESMTP id B062F1A019D
	for <linux-arm@vger.rutgers.edu>; Fri, 26 May 2000 07:39:06 -0500 (CDT)
Received: from localhost (vasantr@localhost)
	by apache.utdallas.edu (8.9.1/8.9.1) with ESMTP id HAA28344
	for <linux-arm@vger.rutgers.edu>; Fri, 26 May 2000 07:40:12 -0500 (CDT)
X-Authentication-Warning: apache.utdallas.edu: vasantr owned process doing -bs
Date:	Fri, 26 May 2000 07:40:12 -0500 (CDT)
From: Vasant Ramasubramanian <vasantr@utdallas.edu>
To: linux-arm@vger.rutgers.edu
Subject: SA1110 Kernel
Message-ID: <Pine.GSO.4.21.0005260739220.28232-100000@apache.utdallas.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

What's the earliest kernel that works on the SA1110 CPU? Does anyone have
a working SA1110 kernel + RAMDISK they wouldn't mind sharing?

Thanks!
Vasant.


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 14:07:47 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vJq6-0003En-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 14:07:46 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 12D6115F5F; Fri, 26 May 2000 15:07:46 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156018AbQEZNDv>;
	Fri, 26 May 2000 09:03:51 -0400
Received: by vger.rutgers.edu id <S155935AbQEZND3>;
	Fri, 26 May 2000 09:03:29 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:4104 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S156174AbQEZNBz>; Fri, 26 May 2000 09:01:55 -0400
Received: from lumiere by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id PAA17315; Fri, 26 May 2000 15:02:51 +0200 (MET DST)
Message-Id: <200005261302.PAA17315@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: vasantr@utdallas.edu
Cc: linux-arm@vger.rutgers.edu
Subject: Re: SA1110 Kernel
In-Reply-To: <Pine.GSO.4.21.0005260739220.28232-100000@apache.utdallas.edu>
Organization: Eric conspiracy secret labs
Date:	Fri 26 May 2000 15:02:51 +0100 (MDT)
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.2devel - with PGP support, PGP engine version 0.5 (IRIX64)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Fri, 26 May 2000 07:40:12 -0500 (CDT), Vasant Ramasubramanian wrote:
> What's the earliest kernel that works on the SA1110 CPU? Does anyone have
> a working SA1110 kernel + RAMDISK they wouldn't mind sharing?

Nicolas Pitre's latest patch should work on Assabet. He also has a ramdisk
available on his site. Get it at:

  ftp://ftp.netwinder.org/users/n/nico/


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 15:34:14 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vLBm-0004Xo-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 15:34:14 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 634CA15F3B; Fri, 26 May 2000 16:34:13 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155923AbQEZObY>;
	Fri, 26 May 2000 10:31:24 -0400
Received: by vger.rutgers.edu id <S155538AbQEZO2g>;
	Fri, 26 May 2000 10:28:36 -0400
Received: from [202.141.26.181] ([202.141.26.181]:4244 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S155427AbQEZO2L>;
	Fri, 26 May 2000 10:28:11 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id UAA31339
	for <linux-arm@vger.rutgers.edu>; Fri, 26 May 2000 20:02:03 +0530
Date:	Fri, 26 May 2000 20:02:03 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: lavu30@yahoo.com
To: linux-arm@vger.rutgers.edu
Subject: linux on 7500fe
Message-ID: <Pine.LNX.4.10.10005261951430.30801-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello, This is wrt CL7500FE Development Board project.

I have configured the gdb 5.0 using the command :  
./configure --target arm-pc-linux-gnu     Then I have made changes in the
Makefile in gdb directory for remote rdi feature. After that I have done
make. Then I have performed the following operations:

gdb> target rdi /dev/ttyS0
gdb> load linux/vmlinux

How do I see the register contents and the response on the console,
because as of now it shows nothing, not even error messages. I have also
done the following:

gdb> target rdi /dev/ttyS0
gdb> file linux/vmlinux

Here i get the message saying symbols not found, and i get back the
prompt. But in this case the disassembly shows some kernel parameters. 

gdb> exec

does nothing. I have really no idea how to verify what is happening. Plz
suggest some ideas...Are any help files, manuals describing sequence of
steps etc for porting an image using gdb 5.0 (the gdb 4.17 manuals dont
seem to help much wrt arm processors) 

Regards,
Lavu Sridhar	

 ---------------------------------------------------------------------


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 19:26:26 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vOoU-0002z2-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 19:26:26 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 0736815F70; Fri, 26 May 2000 21:24:08 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156015AbQEZTVk>;
	Fri, 26 May 2000 15:21:40 -0400
Received: by vger.rutgers.edu id <S156030AbQEZTRp>;
	Fri, 26 May 2000 15:17:45 -0400
Received: from ns0.utdallas.edu ([129.110.10.1]:49269 "HELO ns0.utdallas.edu")
	by vger.rutgers.edu with SMTP id <S156090AbQEZTPz>;
	Fri, 26 May 2000 15:15:55 -0400
Received: from apache.utdallas.edu (apache.utdallas.edu [129.110.16.9])
	by ns0.utdallas.edu (Postfix) with ESMTP id 83F6D1A0087
	for <linux-arm@vger.rutgers.edu>; Fri, 26 May 2000 14:15:47 -0500 (CDT)
Received: from localhost (vasantr@localhost)
	by apache.utdallas.edu (8.9.1/8.9.1) with ESMTP id OAA02304
	for <linux-arm@vger.rutgers.edu>; Fri, 26 May 2000 14:16:52 -0500 (CDT)
X-Authentication-Warning: apache.utdallas.edu: vasantr owned process doing -bs
Date:	Fri, 26 May 2000 14:16:52 -0500 (CDT)
From: Vasant Ramasubramanian <vasantr@utdallas.edu>
To: linux-arm@vger.rutgers.edu
Subject: SA1110 Kernel
Message-ID: <Pine.GSO.4.21.0005261415280.2072-100000@apache.utdallas.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

The SA1110 kernel I was looking for wasn't an Assabet -- it's custom
hardware.

I just wanted to know if anyone had an SA1110 kernel + ramdisk that this
hardware might boot.

Thanks,
Vasant.


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Fri May 26 19:34:20 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vOw8-00036E-00
	for linux-arm-archive@lists.arm.linux.org.uk; Fri, 26 May 2000 19:34:20 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id F302315FF8; Fri, 26 May 2000 21:32:02 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S155953AbQEZT3m>;
	Fri, 26 May 2000 15:29:42 -0400
Received: by vger.rutgers.edu id <S155512AbQEZT32>;
	Fri, 26 May 2000 15:29:28 -0400
Received: from duteinh.et.tudelft.nl ([130.161.42.1]:4352 "EHLO
	duteinh.et.tudelft.nl") by vger.rutgers.edu with ESMTP
	id <S156100AbQEZT0n>; Fri, 26 May 2000 15:26:43 -0400
Received: from lumiere by duteinh.et.tudelft.nl (8.9.3/BB-2.0)
	id VAA18925; Fri, 26 May 2000 21:27:49 +0200 (MET DST)
Message-Id: <200005261927.VAA18925@duteinh.et.tudelft.nl>
From: Erik Mouw <J.A.K.Mouw@its.tudelft.nl>
To: vasantr@utdallas.edu
Cc: linux-arm@vger.rutgers.edu
Subject: Re: SA1110 Kernel
In-Reply-To: <Pine.GSO.4.21.0005261415280.2072-100000@apache.utdallas.edu>
Organization: Eric conspiracy secret labs
Date:	Fri 26 May 2000 21:27:48 +0100 (MDT)
X-Face:	"!Z|1XjFg!3Iw)BwM^M\k)J5KHiPddz}#/Zw%?$&Q!xqob"OA|})3_@&BTTiQERo?/^g[Z<9P4R8:5C:aqq.cw!hotLc=+u-"+1rq@9$V^8PbOUlodyi_sejt+D`iqkLpx$>.aXl%vnfPIt"LK|/%>94_Zrm8jy?`_[RKt'TuoxUxfk(gMhY(n|DBBl~c$dhO>G%6}R4+DGX3|idBm4oU&UM/XUP4I9aoN{]`ax%B?rgD(I3OJ<62Y6L
X-Mailer: XCmail 1.2devel - with PGP support, PGP engine version 0.5 (IRIX64)
X-Mailerorigin:	http://www.fsai.fh-trier.de/~schmitzj/Xclasses/XCmail/
X-Eric-Conspiracy: There is no conspiracy!
X-Loop:	erik@it.et.tudelft.nl
MIME-Version: 1.0
Content-Type:	text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

On Fri, 26 May 2000 14:16:52 -0500 (CDT), Vasant Ramasubramanian wrote:
> The SA1110 kernel I was looking for wasn't an Assabet -- it's custom
> hardware.
> 
> I just wanted to know if anyone had an SA1110 kernel + ramdisk that this
> hardware might boot.

It might help if you describe your hardware, but even then I don't think
anyone has a kernel for your custom build hardware, you just have to build
it yourself. As for the ramdisk: any ramdisk will do, I'm currently using
an old Itsy ramdisk for the LART, but Nico's ramdisk also works.


Erik

-- 
LART. 250 MIPS under one Watt. Free hardware design files.
http://www.lart.tudelft.nl/




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Sat May 27 12:29:38 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12vemg-0006mM-00
	for linux-arm-archive@lists.arm.linux.org.uk; Sat, 27 May 2000 12:29:38 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 2571315F92; Sat, 27 May 2000 13:29:38 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156136AbQE0L1O>;
	Sat, 27 May 2000 07:27:14 -0400
Received: by vger.rutgers.edu id <S155597AbQE0L06>;
	Sat, 27 May 2000 07:26:58 -0400
Received: from [202.141.26.181] ([202.141.26.181]:4235 "EHLO ee.iitm.ernet.in")
	by vger.rutgers.edu with ESMTP id <S156109AbQE0LZR>;
	Sat, 27 May 2000 07:25:17 -0400
Received: from localhost (ee96162@localhost)
	by ee.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id QAA02307;
	Sat, 27 May 2000 16:54:54 +0530
Date:	Sat, 27 May 2000 16:54:54 +0530 (IST)
From: Lavu Sridhar <ee96162@ee.iitm.ernet.in>
Reply-To: ee96162@ee.iitm.ernet.in
To: David A Rusling <David.Rusling@arm.com>,
	Jungjun Kim <sami@hmec.co.kr>
Cc: linux-arm@vger.rutgers.edu
Subject: downloading kernel image
Message-ID: <Pine.LNX.4.10.10005271654200.1421-100000@volt.ee.iitm.ernet.in>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


Hello,
	I am using the Cirrus Logic 7500FE Devlopment Board, which has ANGEL
Debugger running. I have used GDB 5.0 for loading the Linux Kernel Image
into the DRAM on my Board.

	I have configured GDB 5.0 using the command: 
configure --target=arm-elf   THEN   make   THEN   make install
(it did not require any changes in any Makefile)

	Then while compiling the kernel, I have changed the base address
to 0x00008000 as the Board maps DRAM to address 0x000000000.

	However, after this when I disassemble and see the code, it enters
an infinite loop right after 5 instructions. It is checking the contents
of the registers r0, r7, r10 .... (i have given the code below) 

Kernel Image Starting Address in DRAM is 0x8000:

0x8000  nop
0x8004  teq      r0,#0
0x8008  movne    r0,#0x69
0x800c  bne      0x8110  ; (__ret + 0xb8)
0x8010  bl       0x8118  ; (__ret + 0xc0)
0x8014  teq	 r10, #0
0x8018  moveq    r0,#0x70
0x801c  beq      0x8110  ; (__ret + 0xb8)
0x8020  bl       0x8168  ; (__ret + 0x110)
0x8024  teq      r7,#0
0x8028  moveq    r0,#0x61
0x802c  beq      0x8110  ; (__ret + 0xb8)
0x8030  bl       0x80b0  ; (__ret + 0x58)
0x8034  add      r14,pc,#0x1c ; #0x8058
0x8038  add      pc,r10,#0xc


Here it is entering an infinite loop!

0x8110  nop      
0x8114  b        0x8110  ; (__ret + 0xb8)


	Finally is there a better way of downloading the kernel vmlinux
file to my Devlopment Board with ANGEL running on it???
	
Regards,
Lavu Sridhar	

 ---------------------------------------------------------------------







unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 30 01:10:14 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12wZbq-0007Mh-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 30 May 2000 01:10:14 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id C55001629E; Tue, 30 May 2000 03:07:58 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156068AbQE3At0>;
	Mon, 29 May 2000 20:49:26 -0400
Received: by vger.rutgers.edu id <S156156AbQE3Amg>;
	Mon, 29 May 2000 20:42:36 -0400
Received: from [202.30.128.201] ([202.30.128.201]:51845 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S156533AbQE3A3l>;
	Mon, 29 May 2000 20:29:41 -0400
Received: from yd01.hmec.co.kr (localhost [127.0.0.1])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id JAA03735;
	Tue, 30 May 2000 09:28:31 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id JAA17564; Tue, 30 May 2000 09:30:19 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: ee96162@ee.iitm.ernet.in
Subject: Fwd: RE: cross gdb & debugging agent
Date:	Tue, 30 May 2000 09:20:18 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
Cc: linux-arm@vger.rutgers.edu
MIME-Version: 1.0
Message-Id: <00053009275300.00743@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


I'm sorry maybe mail system has some problem. and the following is my reply.

---------- forwarding ----------
Subject: RE: cross gdb & debugging agent
Date: Fri, 26 May 2000 08:39:04 +0900
From: Jungjun Kim <sami@hmec.co.kr>


You can figure out this problem if you know how ANGEL looks RAM address space.
I mean that you need to make link vmlinux again with defferent base address
offset, not 0xc0008000.
You can change base address by editing linux/arch/arm/Makefile .
But I'm not sure this is the right way.

To conserve this base address, 0xc0008000, you have to change ANGEL's vitual
address space by modifing page table in order to map 0xc0000000 to your
physical ram address space.

Then GDB can download vmlinux image.
After downloading image, maybe you need to change CPSR register if the initial
mode is USER32 because linux should be started with SVC32 mode.
You can see the register values by the command "info registers".
After fixing all these things, you can run by the "continue" command.

However there is still problem to use gdb/angel as linux kernel debugger because
there is the problem in interworking between ANGEL and linux.
Because ANGEL and linux have it's own exception table and current linux doen't
have any way to know ANGEL, maybe running linux can write it's own data to ANGEL
code/data area, or exclude ANGEL code/data area by setting it's own pagetable.
I mean that you have to prepare the way to ANGEL from linux when the running
linux reaches breakpoint in order to use debuggin kernel.
If you want to use ANGEL just as bootloader, this won't be a problem.

Jungjun Kim



> I have got the gdb working and it is talking to the board. ie when i give
>the command target rdi /dev/ttyS0 it gives the message saying that it is
>connected to ARM RDI target. 
> 
> Next I have compiled the linux kernel 2.3.99 using the arm-linux cross
> tool chain. When I gave the command load vmlinux, it gave the following
> error message:
> 
> (gdb) load vmlinux
> Loading section .init, size 0x8000 lma 0xc0008000
> RDI_write: data abort, no memory at specified address?
> RDI_write: data abort, no memory at specified address?
> Memory access error while loading section .init.
> 
> What could be the mistake?
> 
> regards,
> -lavu sridhar
-------------------------------------------------------

-- 

----------------------------------------------o00--(_)--00o-------
    Jungjun Kim       System Software Engineer
                      Application Team, Hyundai Electronics
    Office) +82-2-3459-3205
    FAX)    +82-2-3459-5843
                                               .oooO Oooo.
    mailto:sami@hmec.co.kr                     (   ) (   )
------------------------------------------------\ (---) /---------
                                                 \_) (_/

unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 30 02:14:01 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12wabZ-0008Bm-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 30 May 2000 02:14:01 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 7C1BF15DE7; Tue, 30 May 2000 04:11:45 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156199AbQE3CIP>;
	Mon, 29 May 2000 22:08:15 -0400
Received: by vger.rutgers.edu id <S156230AbQE3CEu>;
	Mon, 29 May 2000 22:04:50 -0400
Received: from media4.mediahub.com.sg ([203.126.201.94]:46536 "EHLO
	media4.mediahub.com.sg") by vger.rutgers.edu with ESMTP
	id <S156255AbQE3CCq> convert rfc822-to-8bit; Mon, 29 May 2000 22:02:46 -0400
Received: from op.com.sg (ppp130.dyn102.pacific.net.sg [210.24.102.130])
          by media4.mediahub.com.sg (8.9.3/8.9.3) with SMTP
	  id KAA19010 for <linux-arm@vger.rutgers.edu>; Tue, 30 May 2000 10:06:51 +0800 (SGT)
X-SMTP-TO: <linux-arm@vger.rutgers.edu>
Received: from hoang.pacific.net.sg [192.168.1.33] by op.com.sg [127.0.0.1] with SMTP (MDaemon.v2.7.SP3.R) for <linux-arm@vger.rutgers.edu>; Tue, 30 May 2000 09:41:19 +0800
Received: by hoang.pacific.net.sg with Microsoft Mail
	id <01BFCA21.3660AC60@hoang.pacific.net.sg>; Tue, 30 May 2000 10:24:18 +0800
Message-ID: <01BFCA21.3660AC60@hoang.pacific.net.sg>
From: Nguyen Xuan Hoang <hoang_nguyen@op.com.sg>
To: "'linux-arm-kernel@lists.arm.linux.org.uk'" <linux-arm-kernel@lists.arm.linux.org.uk>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: linux for Assabet
Date:	Tue, 30 May 2000 10:24:11 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8BIT
X-MDaemon-Deliver-To: linux-arm@vger.rutgers.edu
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

  Dear All,

   I am using Binutils-2.9.1.0.25.tar.gz and Egcs-1.1.2.tar.gz(apply patch egcs-1.1.2-arm-diff-990325.gz) to build the toolchain. 

    I could use :
	- Glibc-2.1.2 with "Add-ons" glibc-linuxthreads-2.1.1.tar.gz and glib-crypt-2.0.111.tar.gz  to compiler GLIBC
	- Linux-2.2.2.tart.gz (with patch-2.2.2-rm5.gz and diff-2.2.2-rm5-np3.gz) to compiler the kernel for SA1100 Assabet.

   How ever I could not compiler the kernel for SA1110 Assabet, following the the guide from www.cs.cmu.edu/~werable/software/assabet.html. I did download:

	- linux-2.299-pre8.tar.gz 
	- patch-2.3.99-pre8-rmk1.gz
	- diff-2.3.99-pre8-rmk1.np3.gz
     
     Below is the sequence I did:

           %mkdir  linux-2.3.99    
           %cd   linux-2.3.99
	% tar xvfz  /home/arm_gz/linux-2.3.99-pre8.tar.gz
	% cd linux
	% gzip -dc /home/arm_gz/patch-2.3.99-pre8-rmk1.gz | patch -p1
	%gzip -dc /home/arm_gz/diff-2.3.99-pre8-rmk1-np3.gz | patch -p1
	% make assabet-config
	% make config
	% make dep
	% make zImage

		There's error here:
		
		arm-linux-gcc -D__KERNEL__ -I/embedded/arm/linux-2.3.99/linux/include -Wall -Wstrict-prototypes -O2  -fno-strict-aliasing -pipe -g -mshort-load-bytes -		msoft-float -march=armv4 -mtune=strongarm110  -c -o init/main.o init/main.c

		{standard input}: Assembler message:
		{standard input}:3912: Error: Bad arguments to instruction
		make: ***[init/main.o] Error 1

Could anyone pls give me advice why it happen? What kernel I should use?  Thanks for any answer.

Best regards
Hoang



unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 30 02:15:03 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12wacZ-0008CV-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 30 May 2000 02:15:03 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 85559162E0; Tue, 30 May 2000 04:12:40 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156230AbQE3CIZ>;
	Mon, 29 May 2000 22:08:25 -0400
Received: by vger.rutgers.edu id <S156259AbQE3CFM>;
	Mon, 29 May 2000 22:05:12 -0400
Received: from media4.mediahub.com.sg ([203.126.201.94]:46546 "EHLO
	media4.mediahub.com.sg") by vger.rutgers.edu with ESMTP
	id <S156364AbQE3CE0> convert rfc822-to-8bit; Mon, 29 May 2000 22:04:26 -0400
Received: from op.com.sg (ppp130.dyn102.pacific.net.sg [210.24.102.130])
          by media4.mediahub.com.sg (8.9.3/8.9.3) with SMTP
	  id KAA21222 for <linux-arm@vger.rutgers.edu>; Tue, 30 May 2000 10:08:44 +0800 (SGT)
X-SMTP-TO: <linux-arm@vger.rutgers.edu>
Received: from hoang.pacific.net.sg [192.168.1.33] by op.com.sg [127.0.0.1] with SMTP (MDaemon.v2.7.SP3.R) for <linux-arm@vger.rutgers.edu>; Tue, 30 May 2000 09:43:34 +0800
Received: by hoang.pacific.net.sg with Microsoft Mail
	id <01BFCA21.8702C360@hoang.pacific.net.sg>; Tue, 30 May 2000 10:26:33 +0800
Message-ID: <01BFCA21.8702C360@hoang.pacific.net.sg>
From: Nguyen Xuan Hoang <hoang_nguyen@op.com.sg>
To: "'linux-arm-kernel@lists.arm.linux.org.uk'" <linux-arm-kernel@lists.arm.linux.org.uk>
Cc: "linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
Subject: gdb for embedded linux
Date:	Tue, 30 May 2000 10:26:32 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8BIT
X-MDaemon-Deliver-To: linux-arm@vger.rutgers.edu
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Dear All,

I am trying to find out it is possible to debug linux kernel on an embedded system by using gdb ? what is the disadvantage of gdb comparing with ICE?
if I want to debug low level function (e.x: interrupt,DMA,...) can I use gdb? 

Thank for any reply
Hoang




unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 30 04:52:13 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12wd4f-0001va-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 30 May 2000 04:52:13 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id 43A6415DED; Tue, 30 May 2000 06:49:57 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156297AbQE3Eql>;
	Tue, 30 May 2000 00:46:41 -0400
Received: by vger.rutgers.edu id <S156227AbQE3Eq1>;
	Tue, 30 May 2000 00:46:27 -0400
Received: from [202.30.128.201] ([202.30.128.201]:61814 "EHLO mail.hmec.co.kr")
	by vger.rutgers.edu with ESMTP id <S156436AbQE3Epl>;
	Tue, 30 May 2000 00:45:41 -0400
Received: from yd01.hmec.co.kr (localhost [127.0.0.1])
	by mail.hmec.co.kr (8.9.3/8.9.3) with ESMTP id NAA10526;
	Tue, 30 May 2000 13:43:10 +0900 (KST)
Received: from amba (IDENT:sami@[192.168.202.149]) by yd01.hmec.co.kr (8.9.1/8.9.1) with SMTP id NAA08153; Tue, 30 May 2000 13:45:00 +0900 (KST)
From: Jungjun Kim <sami@hmec.co.kr>
Reply-To: sami@hmec.co.kr
To: Vikas Datta <ee96209@ee.iitm.ernet.in>
Subject: Re: cross gdb & debugging agent
Date:	Tue, 30 May 2000 13:30:23 +0900
X-Mailer: KMail [version 1.0.28]
Content-Type:	text/plain; charset=US-ASCII
Cc: David A Rusling <David.Rusling@arm.com>,
	Lavu Sridhar <ee96162@ee.iitm.ernet.in>,
	"linux-arm@vger.rutgers.edu" <linux-arm@vger.rutgers.edu>
References: <1000526150001A2587@wm01.hmec.co.kr>
In-Reply-To: <1000526150001A2587@wm01.hmec.co.kr>
MIME-Version: 1.0
Message-Id: <00053013423401.01011@amba>
Content-Transfer-Encoding: 7BIT
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing

Hello,

It looks like ANGEL cannot load image onto 0x10008000.
Basically ANGEL has private memory map which defines memory address space it can
use. So I think that you need to port ANGEL if the address(0x10008000) is in
DRAM space.


Jungjun Kim

> Loading section .text, size 0x536e0 lma 0x10008000
> RDI_write : internal error, supervisor state not accessible to monitor
> RDI_write : internal error, supervisor state not accessible to monitor
> Memory access error while loading .text.
> 
> I have a 16 MB DRAM and no Flash on the board, and are debugging using
> gdb5.0 with target rdi /dev/ttyS0
> 
> what could be wrong....


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


From owner-linux-arm-outgoing@vger.rutgers.edu Tue May 30 15:01:32 2000
Received: from [193.189.224.13] (helo=source.rfc822.org)
	by www.linux.org.uk with esmtp (Exim 3.13 #1)
	id 12wmaK-0003eZ-00
	for linux-arm-archive@lists.arm.linux.org.uk; Tue, 30 May 2000 15:01:32 +0100
Received: from vger.rutgers.edu (vger.rutgers.edu [128.6.190.2])
	by source.rfc822.org (Postfix) with ESMTP
	id AE18B163FC; Tue, 30 May 2000 16:59:15 +0200 (CEST)
Received: by vger.rutgers.edu via listexpand id <S156447AbQE3OmP>;
	Tue, 30 May 2000 10:42:15 -0400
Received: by vger.rutgers.edu id <S156522AbQE3Oln>;
	Tue, 30 May 2000 10:41:43 -0400
Received: from netwinder.org ([207.245.35.202]:61399 "EHLO kei.netwinder.org")
	by vger.rutgers.edu with ESMTP id <S156684AbQE3Oit>;
	Tue, 30 May 2000 10:38:49 -0400
Received: from localhost (stewart@localhost)
	by kei.netwinder.org (8.9.3/8.9.3) with ESMTP id KAA30519;
	Tue, 30 May 2000 10:40:26 -0400
Date:	Tue, 30 May 2000 10:40:26 -0400 (EDT)
From: Rod Stewart <stewart@netwinder.org>
To: libc-alpha@sourceware.cygnus.com, gcc@gcc.gnu.org,
	linux-arm@vger.rutgers.edu, binutils@sourceware.cygnus.com,
	gdb@sourceware.cygnus.com
Subject: [Comments?] Nightly build of GNU tool chains. (fwd)
Message-ID: <Pine.LNX.4.10.10005301036440.30482-100000@kei.netwinder.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-linux-arm@vger.rutgers.edu
Precedence: bulk
X-Loop:	majordomo@vger.rutgers.edu
X-Orcpt: rfc822;linux-arm-outgoing


We, at Rebel.com, are now running nightly builds of some of the GNU tool
chains from CVS.  Currently we are building the following tool chains:
	GNU Binary Utilities (binutils)
	GNU C Library (glibc)
	GNU Compiler Collection (egcs/gcc)
	GNU Debugger (gdb)

At present we are building RPMs and SRPMs, as well as running the
testsuites for each project.  To begin with we are targeting
armv3l-unknown-linux-gnu, and armv4l-unknown-linux-gnu architectures for
versioned glibc hosts.  Although the source rpms should rebuild on most
Linux systems.

The files from each build are available from the web page for each
project. These include the rpms and srpms, log files of the builds, along
with the testsuite output and summaries.
	http://www.netwinder.org/build  (main project page)
	http://www.netwinder.org/build/binutils.html
	http://www.netwinder.org/build/gcc.html
	http://www.netwinder.org/build/gdb.html
	http://www.netwinder.org/build/glibc.html

	ftp://ftp.netwinder.org/pub/build/autobuild/ 
		(scripts used, poorly documented)
	http://www.netwinder.org/cvsweb/cvsweb.cgi/pub/autobuild/ 
		(scripts in CVS, usually current :))

These pages are based off similar work done by CodeSourcery,
http://www.codesourcery.com/gcc-snapshots.html for GCC targeting
i386-pc-linux-gnu.

Send any comment/suggestions to: build@netwinder.org.

The web pages were written by Ralph Siemsen and Scott Bambrough.  
Blame me for the build scripts, Rod m. Stewart.  Sponsored by 
Rebel.com, http:/www.rebel.com


For those who care: 
Warranty

	The NetWinder.Org AutoBuild system is an automated process which
runs on a daily basis. There is absolutely no quality control on these
RPMs. Use these RPMs at your own risk.

	Rebel.com and NetWinder.Org provide absolutely no warranty,
including the implied warranties of merchantability or fitness for a
particular purpose, for any code generated by the AutoBuild system.
Additionally Rebel.com and NetWinder.Org provide no support for these
RPMs. All questions regarding these RPMs, or suggestions for their
improvement should be directed to build@netwinder.org.


Enjoy,
-Rms


unsubscribe: body of `unsubscribe linux-arm' to majordomo@vger.rutgers.edu
++        Please use linux-arm-kernel@lists.arm.linux.org.uk for           ++
++                        kernel-related discussions.                      ++


