Re: Trouble "Transferring control to Linux (at address 00000000)"

2009-06-30 Thread Mikhail Zaturenskiy
> Check the clock-frequency of the CPM BRG node.  If u-boot isn't setting the > memory, it's probably not setting this either. I set the CPM BRG "clock-frequency = <153609>" (value obtained from u-boot's 'brginfo' command), set my CPU "clock-frequency = <1>" (down from 13000) to match

ppc405ex + gigabit ethernet

2009-06-30 Thread Lada Podivin
Hi, I benchmarked performance of my network, which contains ppc405EX (Kilauea board, kernel 2.6.30 from Denx) connected with a linux desktop via gigabit ethernet. I used the netperf tool: netperf -t UDP_STREAM -H 192.168.1.1 -- -m 32768 So I was sending UDP packets to the desktop. The resulting

Re: Trouble "Transferring control to Linux (at address 00000000)"

2009-06-30 Thread Mikhail Zaturenskiy
> I'll still try to figure out how to get u-boot to fill all this in. Got it... thanks to "http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg05111.html"; I made sure that CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP were both present in "u-boot-2009.03/include/configs/EP88x.h". Then

Re: Can't boot 2.6.30 powerpc kernel under qemu.

2009-06-30 Thread Michael Ellerman
On Tue, 2009-06-30 at 20:50 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2009-06-30 at 10:24 +1000, Michael Ellerman wrote: > > On Mon, 2009-06-29 at 18:34 -0500, Rob Landley wrote: > > > Which suggested that the problem was the new > > > CONFIG_PPC_OF_BOOT_TRAMPOLINE > > > symbol wasn't set, a

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Grant Likely
On Tue, Jun 30, 2009 at 2:59 AM, Mark Brown wrote: > On Mon, Jun 29, 2009 at 08:26:12PM -0400, Jon Smirl wrote: > >> Does your touchscreen driver use this mutex? Or was this mutex needed >> just for the AC97 driver? > > It's in the register accesses so everything accessing the chip registers > will

[PATCH] powerpc/86xx: Enable XMC site on GE Fanuc SBC310

2009-06-30 Thread Martyn Welch
This patch enables the XMC (PCIe daughter card) site on the SBC310. STG enter the description for the patch above. Signed-off-by: Martyn Welch --- arch/powerpc/boot/dts/gef_sbc310.dts | 37 ++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/arch

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Jon Smirl
On Tue, Jun 30, 2009 at 2:18 AM, Wolfram Sang wrote: Wolfram, do you have any way to test the on the Phytec hardware? The WM9712 on the baseboard supports a touchscreen, is it brought out to a header? > Hi Grant, > > On Mon, Jun 29, 2009 at 05:42:21PM -0600, Grant Likely wrote: >> From: Grant Li

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Mark Brown
On Tue, Jun 30, 2009 at 09:42:06AM -0400, Jon Smirl wrote: > Wolfram, do you have any way to test the on the Phytec hardware? The > WM9712 on the baseboard supports a touchscreen, is it brought out to a > header? You can probably test adequately by writing a dummy AC97 driver that sits in a threa

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Jon Smirl
On Tue, Jun 30, 2009 at 12:50 PM, Grant Likely wrote: > On Tue, Jun 30, 2009 at 12:18 AM, Wolfram Sang wrote: >>> + >>> +     /* Force clear the data valid bit */ >>> +     in_be32(&psc_dma->psc_regs->ac97_data); >>> + >> >> No mutex involved here. I think this is either a separate patch or it need

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Grant Likely
On Tue, Jun 30, 2009 at 12:33 PM, Jon Smirl wrote: > On Tue, Jun 30, 2009 at 12:50 PM, Grant Likely > wrote: >> On Tue, Jun 30, 2009 at 12:18 AM, Wolfram Sang wrote: + +     /* Force clear the data valid bit */ +     in_be32(&psc_dma->psc_regs->ac97_data); + >>> >>> No mutex in

Re: USB Host support on MPC8536DS

2009-06-30 Thread Kumar Gala
On Jun 30, 2009, at 2:03 AM, Felix Radensky wrote: Hi, Is USB host functionality supported by mainline kernel on MPC8536DS ? Are there any limitations (e.g not all host ports supported, etc.) ? It should be. If you have any issues let us know and we can see if we can help out. - k

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Grant Likely
On Tue, Jun 30, 2009 at 12:18 AM, Wolfram Sang wrote: >> + >> +     /* Force clear the data valid bit */ >> +     in_be32(&psc_dma->psc_regs->ac97_data); >> + > > No mutex involved here. I think this is either a seperate patch or it needs at > least to be mentioned in the patch description. Oops,

Re: Direct MII connection between MPC8313 and VIRTEX FPGA

2009-06-30 Thread Grant Likely
On Tue, Jun 30, 2009 at 2:35 AM, Frank Prepelica wrote: >> What kernel version are you using? > > We are using kernel version 2.6.24. I've searched for "current speed" in > version 2.6.28.7 and I've found that string. > >> Yes, you need to modify the DTB.  You have a back to back MII >> connection

Re: [PATCH] powerpc: Fix spin_event_timeout() to be robust over context switches

2009-06-30 Thread Timur Tabi
On Mon, Jun 29, 2009 at 6:40 PM, Grant Likely wrote: > From: Grant Likely > > Current implementation of spin_event_timeout can be interrupted by an > IRQ or context switch after testing the condition, but before checking > the timeout.  This can cause the loop to report a timeout when the > condit

[PATCH] powerpc/86xx: Correct reading of information presented in cpuinfo

2009-06-30 Thread Martyn Welch
/proc/cpuinfo should be showing the boards revision and the revision of the FPGA fitted. The functions currently used to access this information as incorrect. Additionally the VME geographical address of the PPC9A and it's status as system contoller are available in the board registers. Show th

Preemption question (4xx related)

2009-06-30 Thread Felix Radensky
Hi, Preemption is disabled on the vast majority of powerpc targets. Are there any known problems in this area ? I'd like to enable CONFIG_PREEMPT_VOLUNTARY on AMCC 405EX target, to increase application responsiveness. Is it a bad idea ? -- View this message in context: http://www.nabble.com/Pre

Re: Can't boot 2.6.30 powerpc kernel under qemu.

2009-06-30 Thread Benjamin Herrenschmidt
On Tue, 2009-06-30 at 10:24 +1000, Michael Ellerman wrote: > On Mon, 2009-06-29 at 18:34 -0500, Rob Landley wrote: > > Which suggested that the problem was the new CONFIG_PPC_OF_BOOT_TRAMPOLINE > > symbol wasn't set, and once I switched that on it started working again. > > What defconfig are you

Re: Inline Assembly queries

2009-06-30 Thread Benjamin Herrenschmidt
On Tue, 2009-06-30 at 10:57 +0530, kernel mailz wrote: > Hi Scott, > I agree with you, kind of understand that it is required. > But buddy unless you see some construct work or by adding the > construct a visible difference is there, the concept is just piece of > theory. In this case you'd rather

Re: Inline Assembly queries

2009-06-30 Thread Benjamin Herrenschmidt
On Mon, 2009-06-29 at 16:57 +0100, David Howells wrote: > kernel mailz wrote: > > > asm("sync"); > > Isn't gcc free to discard this as it has no dependencies, no indicated side > effects, and isn't required to be kept? I think this should probably be: > > asm volatile("sync"); It should

Re: Can't boot 2.6.30 powerpc kernel under qemu.

2009-06-30 Thread Benjamin Herrenschmidt
On Mon, 2009-06-29 at 18:34 -0500, Rob Landley wrote: > > Which suggested that the problem was the new > CONFIG_PPC_OF_BOOT_TRAMPOLINE > symbol wasn't set, and once I switched that on it started working > again. Ah, I might have forgot to set it to default y... > > linuxppc-dev@lists.ozlabs.org

Re: Inline Assembly queries

2009-06-30 Thread Paul Mackerras
kernel mailz writes: > Consider atomic_add and atomic_add_return in kernel code. > I am not able to figure out why "memory" is added in latter The "memory" indicates that gcc should not reorder accesses to memory from one side of the asm to the other. The reason for putting it on the atomic ops

Re: Inline Assembly queries

2009-06-30 Thread Andrew Haley
kernel mailz wrote: > Consider atomic_add and atomic_add_return in kernel code. > > On Tue, Jun 30, 2009 at 2:59 AM, Ian Lance Taylor wrote: >> kernel mailz writes: >> >>> I tried a small example >>> >>> int *p = 0x1000; >>> int a = *p; >>> asm("sync":::"memory"); >>> a = *p; >>> >>> and >>> >>>

Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver

2009-06-30 Thread Mark Brown
On Mon, Jun 29, 2009 at 08:26:12PM -0400, Jon Smirl wrote: > Does your touchscreen driver use this mutex? Or was this mutex needed > just for the AC97 driver? It's in the register accesses so everything accessing the chip registers will use it. ___ Linu

AW: Direct MII connection between MPC8313 and VIRTEX FPGA

2009-06-30 Thread Frank Prepelica
> What kernel version are you using? We are using kernel version 2.6.24. I've searched for "current speed" in version 2.6.28.7 and I've found that string. > Yes, you need to modify the DTB. You have a back to back MII > connection, not a phy, so you do *not* want to have a PHY node in the > dev

Re: PCI device support in Open Firmware (device tree syntax)

2009-06-30 Thread Johnny Hung
2009/6/30 Marco Stornelli : > 2009/6/30 Johnny Hung : >> Thanks for your reply. So there are no PCI device resource info in >> flat device tree. >> How do PCI device resources be assign in general case or is there any >> example? >> I am so confusing, would you please give me detailed describle? >

USB Host support on MPC8536DS

2009-06-30 Thread Felix Radensky
Hi, Is USB host functionality supported by mainline kernel on MPC8536DS ? Are there any limitations (e.g not all host ports supported, etc.) ? Thanks a lot. Felix. -- View this message in context: http://www.nabble.com/USB-Host-support-on-MPC8536DS-tp24267110p24267110.html Sent from the linux