Mounting a USB flash stick based root FS directly.

2009-07-19 Thread Dushara Jayasinghe
c8349. Thanks in advance. Dushara Jayasinghe ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

RE: Can't load module spi_mpc83xx : No such device

2009-03-02 Thread Dushara Jayasinghe
Hi All, > Linus' tree is still lacking few patches for spi_mpc83xx driver, the > patches makes spi_mpc83xx work with the device tree directly. I modified the spi_mpc83xx to work with the device tree using mpc52xx_psc_spi.c as a guide. However, the device->dev->platform_data member is NULL (I th

Can't load module spi_mpc83xx : No such device

2009-02-26 Thread Dushara Jayasinghe
Hi all, I'm using linux version 2.6.29-rc5. I've compiled the SPI diver (spi_mpc83xx.c) as a module, but it fails the load with a "No such device" error. I've managed to track it down to platform_driver_probe() in drivers/base/platform.c which returns -ENODEV because a device list is empty.

RE: soc vs localbus for flash in device tree

2009-02-23 Thread Dushara Jayasinghe
> > Does the flash node HAVE to be within a localbus node or can it > reside within the soc node? I've been basing my work on mpc834x_mds.dts > > And hence haven't defined a localbus node. > > > > I'm also working on a custom board based on MPC8349EMDS, and have based > my dts off of mpc834x_mds.d

soc vs localbus for flash in device tree

2009-02-23 Thread Dushara Jayasinghe
Hi, I'm working on the kernel version Linux-2.6.29-rc5 with U-Boot 1.2.0-g88e21e7b-dirty. Does the flash node HAVE to be within a localbus node or can it reside within the soc node? I've been basing my work on mpc834x_mds.dts And hence haven't defined a localbus node. BTW is there a way to sea

RE: Newby trying to get Ethernet going on MPC83xx series device.

2009-02-22 Thread Dushara Jayasinghe
> -Original Message- > From: linuxppc-dev-bounces+dusharaj=optiscan@ozlabs.org > [mailto:linuxppc-dev-bounces+dusharaj=optiscan@ozlabs.org] On > Behalf Of Dushara Jayasinghe > Sent: Friday, 20 February 2009 6:18 PM > To: 'Michael Bergandi' > Cc: l

RE: Newby trying to get Ethernet going on MPC83xx series device.

2009-02-19 Thread Dushara Jayasinghe
Sorry, I'm a late comer here, but I might have an idea. First off, I don't see below what kernel version you are using? I may have missed it somewhere. [dj] Sorry I should have mentioned that earlier. I'm using 2.6.29-rc5 (pulled couple of days ago) Hmm, well, the first thing I catch is this is

RE: Newby trying to get Ethernet going on MPC83xx series device.

2009-02-19 Thread Dushara Jayasinghe
"gmii"; }; Any clues as to where I should start looking? BTW, I assume CCing all those who replied to me is accepted/expected conduct or should I avoid this and just write to the list? Also is top posting ok? I haven't figured out how to enable '>'

RE: Newby trying to get Ethernet going on MPC83xx series device.

2009-02-18 Thread Dushara Jayasinghe
;t know if this is broken? From: Aggrwal Poonam-B10812 [mailto:poonam.aggr...@freescale.com] Sent: Thursday, 19 February 2009 5:49 PM To: Li Yang-R58472; Dushara Jayasinghe; linuxppc-dev@ozlabs.org Subject: RE: Newby trying to get Ethernet going on MPC83xx series device. Can you look into your board

RE: Newby trying to get Ethernet going on MPC83xx series device.

2009-02-18 Thread Dushara Jayasinghe
Thanks for the swift response. > > I also found that both gfar_init (in gianfar.c) and > > gfar_mdio_init (in gianfar_mii.c) are called but the probe > > handlers of either of these devices are not executed. > > > > What am I missing? > Don't find any obvious problem. I suggest you to debug

Newby trying to get Ethernet going on MPC83xx series device.

2009-02-18 Thread Dushara Jayasinghe
Hi I'm having difficulty getting an Ethernet device up on a dev board with an MPX8349 controller. The contents of my .dts file are as follows (based on mpc8349emitx.dts): soc8...@e000 { ... m...@24520 { #address-cells = <1>;