montavista gcc3.2.1 and USB hotplug (405GP platform)

2003-10-02 Thread Dan Kegel
Philippe Villet wrote: > We were compiling Montavista 2.4.18 linuk kernel for our own platform > based on IBM405GP and a PIIX4 South Bridge. > Support for usbcore, usb-uhci and hid (keyboard an mouse support) is set > in the kernel and it works fine when we compile this kernel with > gcc 2.95. Now

Cross compiling : problem linking

2003-10-02 Thread Wolfgang Denk
Dear Stephane, in message <2C1BAF8F8E1DD611862B0002A5D4C3FC01BC068F at renexch3.rennes.thmulti.com> you wrote: > > Wolfgang, you've got my agreement to put the following in the FAQ > if it's not already. AFAIK it's not. > This code is for accessing hardware registers from *userland*. > You nee

Cross compiling : problem linking

2003-10-02 Thread Fillod Stephane
Note to the list: sorry for the RFC2822 > Do you know the replacement for iopl to work on PowerPC? There's no such crap on PowerPC. No separate IO bus either. > Final goal is a kernel module, but now I'm writing a test program in > user space (standalone, dynamic compiled). Okay, let's use ES

Queston about Walnut

2003-10-02 Thread Jacky Lam
Dear all, I get a IBM 405 GP evaluation board recently. After I compile the toolchain and kernel 2.4.22 using the crosstools. I try to boot the kernel on the board by u-boot. I follow the instruction of uboot to create a uImage as follows: powerpc-405-linux-gnu-objcopy -O binary -R .note

Cross compiling : problem linking

2003-10-02 Thread Wolfgang Denk
In message <1065104646.13376.8.camel at toni> you wrote: > > > Without more information (i. e. what sort of code this is and how you > > intend it to run - stdandalone, in kernel or in user context) nobody > > can help you. > > Final goal is a kernel module, but now I'm writing a test program in

Linux 2_4_devel kernel hangs after control transferred from u-boot

2003-10-02 Thread Dan Malek
Matt Porter wrote: > That should save him some time. Any other ports to standard boards > you have laying around? :) I'll take a look. My Dad is visiting so I had to clean up the house. I'll never find anything again :-) I have one for the Cogent 8245 board, too..but, that's just like a Sa

Linux 2_4_devel kernel hangs after control transferred from u-boot

2003-10-02 Thread Wolfgang Denk
In message you wrote: > > I am trying to get a linux kernel to build and run on a Cogent CSB272 > (IBM PPC 405GP processor) running a U-boot 0.4.0 bootloader. I can tftp > a uImage into ram and it passes check, but when I run bootm it > uncompresses the kernel and hangs after it starts executing

Cross compiling : problem linking

2003-10-02 Thread Wolfgang Denk
In message <1065101196.10206.7.camel at toni> you wrote: > > Reduced the error to: > > toni rt_mod # make > ppc_4xx-gcc -g -O -Werror -c -o rt_mod.o rt_mod.c > ppc_4xx-gcc -nostartfiles -fno-exceptions -fno-builtin -o rt_mod > rt_mod.o > /opt/eldk/usr/ppc-linux/bin/ld: warning: cannot find entr

Where to Put Ethernet MAC Addresses?

2003-10-02 Thread ARIBAUD Albert
> > See for instance . That's what URL-retyping does, I guess. :) It was . Sorry, and thanks to Gary and Stephane for pointing this out. Albert. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

Cross compiling : problem linking

2003-10-02 Thread Wolfgang Denk
In message <1065099415.10206.5.camel at toni> you wrote: > > I try to cross compile a small test program for the EP505 board. I use > ELDK as compiler set. > > When using this compile command: > > ppc_4xx-gcc -O -v -nostdlib -nostartfiles -mno-eabi -fno-exceptions \ > -fno-builtin -Wl,-Tscript.ld,

Cross compiling : problem linking

2003-10-02 Thread Toni Van Remortel
Reduced the error to: toni rt_mod # make ppc_4xx-gcc -g -O -Werror -c -o rt_mod.o rt_mod.c ppc_4xx-gcc -nostartfiles -fno-exceptions -fno-builtin -o rt_mod rt_mod.o /opt/eldk/usr/ppc-linux/bin/ld: warning: cannot find entry symbol _start; defaulting to 1184 rt_mod.o: In function `block_wav

Cross compiling : problem linking

2003-10-02 Thread Toni Van Remortel
Hi all, I try to cross compile a small test program for the EP505 board. I use ELDK as compiler set. When using this compile command: ppc_4xx-gcc -O -v -nostdlib -nostartfiles -mno-eabi -fno-exceptions \ -fno-builtin -Wl,-Tscript.ld,-N -o rt_mod rt_mod.c I get after a while: /opt/eldk/usr/ppc

Linux 2_4_devel kernel hangs after control transferred from u-boot

2003-10-02 Thread Stuart Vivian
Hi all, I am trying to get a linux kernel to build and run on a Cogent CSB272 (IBM PPC 405GP processor) running a U-boot 0.4.0 bootloader. I can tftp a uImage into ram and it passes check, but when I run bootm it uncompresses the kernel and hangs after it starts executing the kernel at address 0x

spurious serial console hangup in 2.4.23-pre2 and later

2003-10-02 Thread Guy M. Streeter
I'm using a board with a GT-64260 implementing the serial console. In kernels later than 2.4.23-pre1, the console hangs in the middle of the login procedure. I have placed debug printks in the driver's open, close and hangup routines, and I find two differences in the newer kernels: 1. Early in i

Queston about Walnut

2003-10-02 Thread Wolfgang Denk
In message <000e01c388dc$eb525510$0202a8c0 at homevl9biy3v7e> you wrote: > > > Who gave you such (obviously wrong) instructions? > > I take the example of u-boot to create the "uImage" and download it > to the board. Please show me which U-Boot document uses 0x0040 as load or entry po

pci on MBX860

2003-10-02 Thread [EMAIL PROTECTED]
Hi, Does anyone have any experience with pci on the MBX860 board ? I run kernel 2.4.20 from www.denx.de but encountered compilation problems after trying to configure pci. this is the output of what I got: kernel configuration: I have enabled General setup-> QSpan PCI and then while compili

Linux 2_4_devel kernel hangs after control transferred from u-boot

2003-10-02 Thread Dan Malek
Matt Porter wrote: > Hrm, it used to be that everybody said their board was "just like > a Sandpoint". I guess walnut is like that in the 4xx world. :) I did the port for this board over a year ago and gave it to a few people that were going to "finish it and check it in"I guess that didn't

Linux 2_4_devel kernel hangs after control transferred from u-boot

2003-10-02 Thread Matt Porter
On Thu, Oct 02, 2003 at 01:00:26PM -0400, Dan Malek wrote: > > Matt Porter wrote: > > > Hrm, it used to be that everybody said their board was "just like > > a Sandpoint". I guess walnut is like that in the 4xx world. :) > > I did the port for this board over a year ago and gave it to a > few peo

Problem of concurrency in arch/ppc/8260_io/uart.c

2003-10-02 Thread Tom Rini
On Wed, Oct 01, 2003 at 11:03:42PM -0700, Dan Kegel wrote: > Tom Rini wrote: > >>Commited where? I can't see it in > >>http://ppc.bitkeeper.com:8080/linuxppc_2_4_devel > > > > > >It's in the linuxppc-2.4 tree. I'll try and get it to Marcelo in time > >for 2.4.21-pre7. > > Say, how up to date is M

Queston about Walnut

2003-10-02 Thread Wolfgang Denk
In message <012801c388c5$f4378540$2803050a at JackyLam> you wrote: > > I get a IBM 405 GP evaluation board recently. After I compile the > toolchain and kernel 2.4.22 using the crosstools. I try to boot the kernel > on the board by u-boot. I follow the instruction of uboot to create a uImage >

Problem of concurrency in arch/ppc/8260_io/uart.c

2003-10-02 Thread Robin Gilks
Tom Rini wrote: > On Thu, Oct 02, 2003 at 12:17:10AM +0200, Joakim Tjernlund wrote: > >It's in the linuxppc-2.4 tree. I'll try and get it to Marcelo in time >for 2.4.21-pre7. Ahh, found it in http://ppc.bkbits.net:8080/linuxppc-2.4. I did look in http://ppc.bitkeeper.com:8080

Where to Put Ethernet MAC Addresses?

2003-10-02 Thread ARIBAUD Albert
> -Message d'origine- > De : owner-linuxppc-embedded at lists.linuxppc.org > [mailto:owner-linuxppc-embedded at lists.linuxppc.org]De la part > de Howard, > Marc > Envoy? : mercredi 1 octobre 2003 22:44 > ? : 'Dan Malek'; Kent Borg > Cc : linuxppc-embedded at lists.linuxppc.org > Objet : R

Linux 2_4_devel kernel hangs after control transferred from u-boot

2003-10-02 Thread Matt Porter
On Thu, Oct 02, 2003 at 02:29:18PM +0100, Stuart Vivian wrote: > > Hi all, > > I am trying to get a linux kernel to build and run on a Cogent CSB272 > (IBM PPC 405GP processor) running a U-boot 0.4.0 bootloader. I can tftp > a uImage into ram and it passes check, but when I run bootm it > uncompre

Problem of concurrency in arch/ppc/8260_io/uart.c

2003-10-02 Thread Wolfgang Denk
In message <20031001235158.GD17768 at ip68-0-152-218.tc.ph.cox.net> you wrote: > > For the moment it's "whatever you have now is probably fine". For > 2.4.23 I would like to get most of _devel cleaned out, wrt 8xx. This > will probably leave out some 'new' boards that Wolfgang sent out a long >

Problem of concurrency in arch/ppc/8260_io/uart.c

2003-10-02 Thread Joakim Tjernlund
> > > It's in the linuxppc-2.4 tree. I'll try and get it to Marcelo in time > > > for 2.4.21-pre7. > > > > Ahh, found it in http://ppc.bkbits.net:8080/linuxppc-2.4. I did look in > > http://ppc.bitkeeper.com:8080/linuxppc_2_4 but it is not there. Is this > > tree obsolete? > > It's not preferred