Re: Oops: of_platform_serial_probe

2007-11-20 Thread Clemens Koller
>> @@ -36,6 +36,10 @@ static int __devinit of_platform_serial_setup(struct >> of_device *ofdev, >> memset(port, 0, sizeof *port); >> spd = of_get_property(np, "current-speed", NULL); >> clk = of_get_property(np, "clock-frequency", NULL); >> + if (!spd) { >> +

Re: Oops: of_platform_serial_probe

2007-11-20 Thread Arnd Bergmann
On Tuesday 20 November 2007, Clemens Koller wrote: > The device tree is the default one which comes with the kernel: > paulus.git/arch/powerpc/boot/dts/mpc8540ads.dts > which contains: > >                 [EMAIL PROTECTED] { >                          device_type = "serial"; >                    

Re: Oops: of_platform_serial_probe

2007-11-20 Thread Clemens Koller
Hi, Arnd! Arnd Bergmann schrieb: > On Monday 19 November 2007, Clemens Koller wrote: >> Unable to handle kernel paging request for data at address 0x >> Faulting instruction address: 0xc018f03c >> Oops: Kernel access of bad area, sig: 11 [#1] >> MPC85xx ADS >> Modules linked in: >> NIP: c

Re: Oops: of_platform_serial_probe

2007-11-19 Thread Arnd Bergmann
On Monday 19 November 2007, Clemens Koller wrote: > Unable to handle kernel paging request for data at address 0x > Faulting instruction address: 0xc018f03c > Oops: Kernel access of bad area, sig: 11 [#1] > MPC85xx ADS > Modules linked in: > NIP: c018f03c LR: c018f00c CTR: c00127b4 > REGS:

Re: Oops: of_platform_serial_probe

2007-11-19 Thread Timur Tabi
Clemens Koller wrote: > Timur Tabi schrieb: > > Clemens Koller wrote: > > > >> I guess I didn't configure the OF serial right in the .dts but it still > >> shouldn't crash. My .config is attached. > > > > Try disabling CONFIG_SERIAL_OF_PLATFORM. I don't think it means what > > you think it

Re: Oops: of_platform_serial_probe

2007-11-19 Thread Clemens Koller
Timur Tabi schrieb: > Clemens Koller wrote: > >> I guess I didn't configure the OF serial right in the .dts but it still >> shouldn't crash. My .config is attached. > > Try disabling CONFIG_SERIAL_OF_PLATFORM. I don't think it means what > you think it means. Thanks, disabling CONFIG_SERIA

Re: Oops: of_platform_serial_probe

2007-11-19 Thread Timur Tabi
Clemens Koller wrote: > I guess I didn't configure the OF serial right in the .dts but it still > shouldn't crash. My .config is attached. Try disabling CONFIG_SERIAL_OF_PLATFORM. I don't think it means what you think it means. -- Timur Tabi Linux Kernel Developer @ Freescale

Oops: of_platform_serial_probe

2007-11-19 Thread Clemens Koller
Hi, I just ran into this in paulus.git: => bootm fe50 ## Booting image at fe50 ... Image Name: Linux-2.6.24-rc2-ge6a5c27f Created: 2007-11-19 13:06:38 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size:1951325 Bytes = 1.9 MB Load Address: