Re: [PATCH 7/8] powerpc/5200: Refactor mpc5200 interrupt controller driver

2009-01-26 Thread Wolfgang Grandegger
Grant Likely wrote: > On Sun, Jan 25, 2009 at 1:06 PM, Wolfgang Grandegger > wrote: >> Grant Likely wrote: >>> From: Grant Likely >>> >>> Rework the mpc5200-pic driver to simplify it and fix up the setting >>> of desc->status when set_type is called for internal IRQs (so they >>> are reported as

Need help creating Device tree source for custom MPC8548 board

2009-01-26 Thread Pieter
Hi all I have inherited a cusom MPC 8548 board and am currently in the processes of porting to U-Boot 2008 and Linux 2.6.27. The board worked using U-boot 1.2 and linux 2.6.24 not using FDT. I have completed the U-boot source and am able to boot up to the point where control is handed to Linux k

Re: Need help creating Device tree source for custom MPC8548 board

2009-01-26 Thread Wolfgang Grandegger
Pieter wrote: > Hi all > > I have inherited a cusom MPC 8548 board and am currently in the > processes of porting to U-Boot 2008 and Linux 2.6.27. The board worked > using U-boot 1.2 and linux 2.6.24 not using FDT. > > I have completed the U-boot source and am able to boot up to the point > wher

Re: [PATCH 7/8] powerpc/5200: Refactor mpc5200 interrupt controller driver

2009-01-26 Thread Wolfram Sang
Hi Grant, > I chose to line them up because in my opinion it is easier to follow > the pattern with them written in horizontal columns instead of in > vertical blocks. I also think the original coding style is easier to read. Kind regards, Wolfram -- Dipl.-Ing. Wolfram Sang | http://www.

Re: [PATCH 1/8] powerpc/5200: update device tree binding documentation

2009-01-26 Thread Wolfram Sang
> >> +system-frequency Fsystem frequency; source of all > > > > Fsystem? Typo? > > Not really, that's the name of the clock in the MP5200 user guide. > I'll clarify what I've written here though. That will be helpful. > > The unit would be nice here, too, I think. > > Unit? Do you mean st

Help needed with initramfs

2009-01-26 Thread Jean-Michel Hautbois
Hi everybody ! I have a working Kernel with a NFS mounted root filesystem. I am trying to use my root file system, but with the use of initramfs. Compiling the kernel is not a problem, but when booting, I have the following error: "Insufficient memory for kernel at address 0! (_start=0040, u

Booting uncompressed kernel image

2009-01-26 Thread Matteo Fortini
Hi all, I built an uncompressed uImage using mkimage --no-gzip -C none in the wrapper scripts. Only, u-boot recognizes it as uncompressed and launches the kernel properly (it's around 4MB), but in the end linux just prints OK and stops. Has anyone done the same? Thanks , Matteo ___

Booting uncompressed kernel image

2009-01-26 Thread Matteo Fortini
Hi all, I built an uncompressed uImage using mkimage --no-gzip -C none in the wrapper scripts. Only, u-boot recognizes it as uncompressed and launches the kernel properly (it's around 4MB), but in the end linux just prints OK and stops. Has anyone done the same? Thanks , Matteo

Re: Need help creating Device tree source for custom MPC8548 board

2009-01-26 Thread Pieter
Wolfgang Grandegger wrote: > Pieter wrote: > >> Hi all >> >> I have inherited a cusom MPC 8548 board and am currently in the >> processes of porting to U-Boot 2008 and Linux 2.6.27. The board worked >> using U-boot 1.2 and linux 2.6.24 not using FDT. >> >> I have completed the U-boot source and

Re: Booting uncompressed kernel image

2009-01-26 Thread Luotao Fu
Matteo Fortini wrote: > Hi all, > I built an uncompressed uImage using mkimage --no-gzip -C none in the > wrapper scripts. > Only, u-boot recognizes it as uncompressed and launches the kernel > properly (it's around 4MB), but in the end linux just prints > OK and stops. Powerpc make compress the bi

Dynamic-ftrace not working in PlayStation3

2009-01-26 Thread Remis Lima Baima
Hi to all. I was tracing a bug in the snd_usb_audio driver (PlayStation 3, Kernel 2.6.29-rc2, git://git.kernel.org/pub/scm/linux/kernel/git/geoff/ps3-linux.git) and for that I tried to use the "dynamic ftrace" to get less debug output. But it did not work at all. Ftrace (without the "dynamic ftrace

Re: Help needed with initramfs

2009-01-26 Thread Scott Wood
On Mon, Jan 26, 2009 at 11:17:05AM +0100, Jean-Michel Hautbois wrote: > I have a working Kernel with a NFS mounted root filesystem. > I am trying to use my root file system, but with the use of initramfs. > > Compiling the kernel is not a problem, but when booting, I have the > following error: >

Re: [PATCH 7/8] powerpc/5200: Refactor mpc5200 interrupt controller driver

2009-01-26 Thread Matt Sealey
> Well, I don't want to debate coding style rules. I also sometimes just > shake my head. But this rules I actually find useful because it allows > the GDB to point to the line == expression, apart from readability. If > you don't stick to the coding style rules, you have to explain to the > mainta

[PATCH] gianfar: Revive VLAN support

2009-01-26 Thread Anton Vorontsov
commit 77ecaf2d5a8bfd548eed3f05c1c2e6573d5de4ba ("gianfar: Fix VLAN HW feature related frame/buffer size calculation") wrongly removed priv->vlgrp assignment, and now priv->vlgrp is always NULL. This patch fixes the issue, plus fixes following sparse warning introduced by the same commit: gianfar.

Re: [PATCH] gianfar: Revive VLAN support

2009-01-26 Thread Andy Fleming
On Jan 26, 2009, at 2:50 PM, Anton Vorontsov wrote: commit 77ecaf2d5a8bfd548eed3f05c1c2e6573d5de4ba ("gianfar: Fix VLAN HW feature related frame/buffer size calculation") wrongly removed priv->vlgrp assignment, and now priv->vlgrp is always NULL. This patch fixes the issue, plus fixes followin

Re: [PATCH] powerpc/mpc8313erdb: fix kernel panic because mdio device is not probed

2009-01-26 Thread Kumar Gala
On Jan 21, 2009, at 3:46 AM, Li Yang wrote: Probe the new mdio node added by b31a1d8b. Fix kernel panic problem when gianfar driver wants to get the of_platform_device of that mdio. Signed-off-by: Li Yang --- Supersede the patch to add "simple-bus" to gianfar node to fix this problem.

Re: [PATCH 10/10] mmc: Add OpenFirmware bindings for SDHCI driver

2009-01-26 Thread M. Warner Losh
In message: <497c09d9.50...@genesi-usa.com> Matt Sealey writes: : Anton Vorontsov wrote: : > : > If unsure, say Y. : > : > +config MMC_SDHCI_OF : > + tristate "SDHCI support on OpenFirmware platforms" : > + depends on MMC_SDHCI && PPC_OF : > + help : > + This select

Re: [PATCH] gianfar: Revive VLAN support

2009-01-26 Thread David Miller
From: Andy Fleming Date: Mon, 26 Jan 2009 15:07:37 -0600 > > On Jan 26, 2009, at 2:50 PM, Anton Vorontsov wrote: > > > commit 77ecaf2d5a8bfd548eed3f05c1c2e6573d5de4ba ("gianfar: Fix VLAN > > HW feature related frame/buffer size calculation") wrongly removed > > priv->vlgrp assignment, and now p

Re: Booting uncompressed kernel image

2009-01-26 Thread Wolfgang Denk
Dear Matteo Fortini, In message <497d9bc...@mta.it> you wrote: > > I built an uncompressed uImage using mkimage --no-gzip -C none in the > wrapper scripts. Hm... you must be using a funny version of mkimage, then. The cod in mainline will bail out on "--no-gzip". Best regards, Wolfgang Denk -

Re: Ebony DTS compile error

2009-01-26 Thread David Gibson
On Sat, Jan 24, 2009 at 02:47:01AM +0100, Wolfgang Denk wrote: > Dear Rob Gubler, > > in message you > wrote: > > > > I'm an ELDK 4.2 user. I'm trying to compile the ebony.dts file included in > > the 2.6.24 kernel but the Device Tree Compiler, dtc, complains of a syntax > > error. > > Yes, th

RE: [PATCH] gianfar: Revive VLAN support

2009-01-26 Thread Haruki Dai
> -Original Message- > From: Fleming Andy-AFLEMING > Sent: Monday, January 26, 2009 3:08 PM > To: Anton Vorontsov > Cc: Jeff Garzik; David Miller; Haruki Dai-R35557; net...@vger.kernel.org; > linuxppc-dev@ozlabs.org > Subject: Re: [PATCH] gianfar: Revive VLAN support > > > On Jan 26, 2009

Please pull from 'merge' branch for 2.6.29

2009-01-26 Thread Kumar Gala
Please pull from 'merge' branch of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc.git merge to receive the following updates: arch/powerpc/boot/dts/mpc8313erdb.dts |2 arch/powerpc/boot/dts/mpc8572ds.dts |2 arch/powerpc/configs/83xx/asp8347_

any luck with wireless USB adaptors?

2009-01-26 Thread Mike Timmons
I'm running 2.6.24 with Freescale's lite5200 as my base. I'm interested in this USB adaptor for wireless USB, but my web search does not make me confident that my effort will yield fruit. Can anyone direct me to a good source outlining success stories with wireless USB adaptors? At present I'm

Re: any luck with wireless USB adaptors?

2009-01-26 Thread Jon Smirl
On Mon, Jan 26, 2009 at 10:39 PM, Mike Timmons wrote: > I'm running 2.6.24 with Freescale's lite5200 as my base. I'm interested in > this USB adaptor for wireless USB, but my web search does not make me > confident that my effort will yield fruit. I just turned on all wireless drivers in my mpc52

[PATCH] powerpc/5200: Bugfix for PCI mapping of memory and IMMR

2009-01-26 Thread Grant Likely
From: Grant Likely This patch ensures that memory gets properly mapped into the PCI address space. Without this patch, the memory window BAR is left at whatever value happened to be loaded into the BAR when Linux was booted. Without this patch, memory could end up getting mapped at any of the 1

Re: any luck with wireless USB adaptors?

2009-01-26 Thread Grant Likely
On Mon, Jan 26, 2009 at 8:39 PM, Mike Timmons wrote: > I'm running 2.6.24 with Freescale's lite5200 as my base. I'm interested in > this USB adaptor for wireless USB, but my web search does not make me > confident that my effort will yield fruit. > > Can anyone direct me to a good source outlining

Re: any luck with wireless USB adaptors?

2009-01-26 Thread Mike Timmons
Thanks. Yes, USB wi fi is what I'm after. I did find the driver I needed after enabling the WLAN80211 and EXPERIMENTAL options. The device discovery appears to work, and with wireless tools I can iwconfig and see my interface. QUESTION: when I "ifoncfig wlan0 up" it results in an attempt to