compact flash driver

2006-05-30 Thread John Wu
Dear sir Do you have compact flash card driver supported in u-boot.I need it.If you don't have it .Can you tell me how the CF card initialize if you know how to initialize it?

undefined symbols of modules

2006-05-30 Thread Josef Angermeier
Hello, when i try to compile my kernel extension as modul, i get some undefined references. But a look in System.map shows, that the relevant symbols are defined in the main kernel. Why then those undefined references ? Any hint is appreciated! bye Josef make ARCH=ppc -C linux modules

undefined symbols of modules

2006-05-30 Thread Eugene Surovegin
On Tue, May 30, 2006 at 09:45:46AM +0200, Josef Angermeier wrote: Hello, when i try to compile my kernel extension as modul, i get some undefined references. But a look in System.map shows, that the relevant symbols are defined in the main kernel. Why then those undefined references ?

LXT973 support (dual PHY with single MDIO)

2006-05-30 Thread Laurent Pinchart
Hi everybody, I'm trying to bring up the two ethernet ports on a LXT973 dual-PHY chip. I've declared two FCC platform devices, which are detected and handled by the driver/net/fs_enet driver. My issue comes from MDIO support. The LXT973 has a single MDIO port which answers to two addresses,

LXT973 support (dual PHY with single MDIO)

2006-05-30 Thread Wojciech Kromer
I'm sucesfully using this chip with denx.de 2.4.25 kernel and single MDIO port. You need to change auto PHY-addr detection method. By default it detects both PHYs on same addr.

[SOLVED] LXT973 support (dual PHY with single MDIO)

2006-05-30 Thread Laurent Pinchart
Hi, once again, posting to a mailing list helped me solving my problem. It should have been obvious that the MDIO bus is really a bus, and can as such support several devices. The issue was that the drivers/net/fs_enet driver set bus-phy_mask to ~0x9, and the LXT973 uses addresses 0 and 1.

Can't get CoralP drivers to work

2006-05-30 Thread [EMAIL PROTECTED]
In message 1402.194.3.133.184.114040.squirrel at webmail.enib.fr you wrote: This seems ok to me but I don't have any video signal. My screen remains blank. What's your boot arguments? Where is your console device, on the serial port or on the frame buffer? My boot arguments :

Linux kernel thread with Linux 2.6.x

2006-05-30 Thread Laurent Lagrange
Hi, Thanks for your answer, but a tasklet runs in interrupt context (in_interrupt() != 0) so it doesn't support schedule() call included in down semaphore function. Any other idea ? Laurent. -Message d'origine- De : Thiago Galesi [mailto:thiagogalesi at gmail.com] Envoy? : lun. 29

fs_enet segfaults when adding network interface to bridge

2006-05-30 Thread Laurent Pinchart
Hi everybody, I ran into a segfault in the fs_enet driver when adding the network interface to an ethernet bridge. This only happens when the interface is down. - Kernel version - Linux tbox-cp11 2.6.17-rc3-g7f02f290-dirty #549 Tue May 30 13:25:37 CEST 2006 ppc unknown (from main

Linux kernel thread with Linux 2.6.x

2006-05-30 Thread Jörn Engel
On Tue, 30 May 2006 11:46:09 +0200, Laurent Lagrange wrote: Thanks for your answer, but a tasklet runs in interrupt context (in_interrupt() != 0) so it doesn't support schedule() call included in down semaphore function. Do you have code you can show? J?rn -- Data expands to fill the

Can't get CoralP drivers to work

2006-05-30 Thread [EMAIL PROTECTED]
Does the 8270 swap bytes on the PCI bus? The CoralP drivers are written for the 5200, which assumes any PCI card to be little-endian, and thus swaps bytes. That is, if you write a 32-bit word, say 0x01020304, the 5200 PCI will actually write 0x04030201. So if 8270 does *not* swap bytes

fs_enet turns promiscous mode off in restart()

2006-05-30 Thread Laurent Pinchart
Hi everybody, I'm having an issue with promiscuous mode in the fs_enet driver. The restart() function in drivers/net/fs_enet/mac-fcc.c writes to the FPSMR register: W32(fccp, fcc_fpsmr, FCC_PSMR_ENCRC); This disable promiscuous mode. Shouldn't set_multicast_list() be called at the end of

Linux kernel thread with Linux 2.6.x

2006-05-30 Thread [EMAIL PROTECTED]
Hi, do you have to use the semaphore or does a spinlock also meet your needs? If you are in kernel 2.4 you can use one of the task_queues (e.g the scheduler queue, timer and immediate queue also run at irq context) but that won't have a better speed than your solution because it also gets the

MPC8270 on Microsys PM827 Kernel 2.6 Oops: kernel access of bad area, sig: 11 [#1]

2006-05-30 Thread Behre, Frederik - LT
Hello I compile my kernel with pm82x_deconfig and PCI disabled. Did I forgot something ?? After error Oops: kernel access of bad area, sig: 11 [#1] the Board restarts. Thanks for Helping Freddy U-Boot 1.1.4 (May 15 2006 - 09:13:13) MPC8260 Reset Status: External Soft, External Hard

fs_enet segfaults when adding network interface to bridge

2006-05-30 Thread Vitaly Bordug
On Tue, 30 May 2006 13:51:11 +0200 Laurent Pinchart laurent.pinchart at tbox.biz wrote: Hi everybody, I ran into a segfault in the fs_enet driver when adding the network interface to an ethernet bridge. This only happens when the interface is down. - Kernel version - Linux

fs_enet segfaults when adding network interface to bridge

2006-05-30 Thread Laurent Pinchart
Hi everybody, I ran into a segfault in the fs_enet driver when adding the network interface to an ethernet bridge. This only happens when the interface is down. - Kernel version - Linux tbox-cp11 2.6.17-rc3-g7f02f290-dirty #549 Tue May 30 13:25:37 CEST 2006 ppc unknown

regarding mvme6100 on kernel 2.6.13

2006-05-30 Thread Kiran Kumar.A
Hi all, I'm porting mvme6100 for 2.6.13. But its hanging after Now Booting the kernel.. Can anybody guide me in this regard. thanks and regards -- ___ Search for businesses by name, location, or phone number. -Lycos Yellow Pages

[SOLVED] LXT973 support (dual PHY with single MDIO)

2006-05-30 Thread Vitaly Bordug
On Tue, 30 May 2006 11:28:48 +0200 Laurent Pinchart laurent.pinchart at tbox.biz wrote: Hi, once again, posting to a mailing list helped me solving my problem. It should have been obvious that the MDIO bus is really a bus, and can as such support several devices. The issue was that the

regarding mvme6100 on kernel 2.6.13

2006-05-30 Thread Brent Cook
On Tuesday 30 May 2006 09:09, Kiran Kumar.A wrote: Hi all, I'm porting mvme6100 for 2.6.13. But its hanging after Now Booting the kernel.. Can anybody guide me in this regard. thanks and regards Eh, it's probably not hanging at all - you're just not seeing anything because the device

Setting ID cache enable in the same mtspr instruction

2006-05-30 Thread Mark A. Greer
On Mon, May 29, 2006 at 02:15:14PM +0200, Roger Larsson wrote: Is the patch reversed? Sure looks like it. diff -Naur old new patch And what about comments, are they all still valid? enable and invalidate caches is now only Data cache... In cases when I am writing code like this I try

execve of /sbin/init fails

2006-05-30 Thread Anantharaman Chetan-W16155
Anantharaman -- next part -- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060530/09c64124/attachment.htm

Can't get CoralP drivers to work

2006-05-30 Thread Wolfgang Denk
In message 1664.194.3.133.184.1148981963.squirrel at webmail.enib.fr you wrote: This is the first time I try to use framebuffer graphics, so I'm new with it. Can the framebuffer work from a serial console on a platform without keyboard ? Yes, it can. We used it on a couple of MPC5200

MPC8270 on Microsys PM827 Kernel 2.6 Oops: kernel access of bad area, sig: 11 [#1]

2006-05-30 Thread Wolfgang Denk
In message CC692F5386B0AA47A62B7484A7CA2B6D02B52CB0 at frmx1.litef.de you wrote: I compile my kernel with pm82x_deconfig and PCI disabled. ... MPC8260 Reset Status: External Soft, External Hard Why do you use pm82x_deconfig with a MPC8260 processor? You should use pm826_deconfig

execve of /sbin/init fails

2006-05-30 Thread [EMAIL PROTECTED]
Anantharaman Chetan-W16155

execve of /sbin/init fails

2006-05-30 Thread Andy Gospodarek
You could also try compiling init statically. I've had success with that in the past until I figured out what the actual problem was. On 5/30/06, Anantharaman Chetan-W16155 Chetan.S.Anantharaman at motorola.com wrote: Hi, I am trying to bring up a custom board with a PPC405 processor

execve of /sbin/init fails

2006-05-30 Thread Steve Iribarne (GMail)
On 5/30/06, Anantharaman Chetan-W16155 Chetan.S.Anantharaman at motorola.com wrote: Hi, I am trying to bring up a custom board with a PPC405 processor running Linux 2.4.20 (MontaVista Release) and am having problems with the call to execve(/sbin/init, argv_init, envp_init) not returning

fs_enet segfaults when adding network interface to bridge

2006-05-30 Thread Andy Fleming
On May 30, 2006, at 08:39, Laurent Pinchart wrote: Hi everybody, I ran into a segfault in the fs_enet driver when adding the network interface to an ethernet bridge. This only happens when the interface is down. - Kernel version - Linux tbox-cp11 2.6.17-rc3-g7f02f290-dirty

Linux kernel thread with Linux 2.6.x

2006-05-30 Thread Andy Fleming
Couldn't you use a work_queue? For the PHY Layer, the MDIO transactions can't occur at interrupt time (they need to be interruptible), so the interrupt handler calls schedule_work() to get the interrupt handled. I'm not sure how much faster it is (if at all), but it's another method, and

execve of /sbin/init fails

2006-05-30 Thread Andy Gospodarek
On 5/30/06, Steve Iribarne (GMail) netstv at gmail.com wrote: On 5/30/06, Anantharaman Chetan-W16155 Chetan.S.Anantharaman at motorola.com wrote: Hi, I am trying to bring up a custom board with a PPC405 processor running Linux 2.4.20 (MontaVista Release) and am having problems

execve of /sbin/init fails

2006-05-30 Thread Anantharaman Chetan-W16155
Thanks for your reply. Yes, the file /sbin/init is in the ramdisk file system with execute permissions on it. I am running Busybox (how can I check the version?), but my /sbin/init is not Busybox's init. One thing I'd like to mention is, I have used the same ramdisk filesystem and the same

[SOLVED] LXT973 support (dual PHY with single MDIO)

2006-05-30 Thread Andy Fleming
On May 30, 2006, at 09:22, Vitaly Bordug wrote: On Tue, 30 May 2006 11:28:48 +0200 Laurent Pinchart laurent.pinchart at tbox.biz wrote: Hi, once again, posting to a mailing list helped me solving my problem. It should have been obvious that the MDIO bus is really a bus, and can as

PPC exception 0x320

2006-05-30 Thread Becky Bruce
Jeanwelly, I'd really like to help you here, but you still haven't explained what you mean by PPC alarmed exception 0x320. Since there is no such exception that I'm aware of on the 750, I'm trying very hard to figure out what you mean, and it's impossible for me to do that without more