Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-08-21 Thread Matvejchikov Ilya
> No, the DTS files don't need to be updated -- u-boot (or whatever > firmware you use, or the bootwrapper) needs to fill in the frequency. u-boot doesn't contains any related code for this moment... I think we need to add some code that adds "clock-frequency" property for the "fsl,cpm-brg" compat

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-08-19 Thread Scott Wood
On Tue, Aug 19, 2008 at 03:13:54PM +0400, Matvejchikov Ilya wrote: > Hi all, > > The problem was in incorrect (not full) brg-node definition. Instead of > [EMAIL PROTECTED] { > compatible = "fsl,cpm-brg", "fsl,cpm2-brg"; > reg = <119f0 10 115f0 10>; > }; > there must be: > [EMAIL PROTECTE

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-08-19 Thread Matvejchikov Ilya
Hi all, The problem was in incorrect (not full) brg-node definition. Instead of [EMAIL PROTECTED] { compatible = "fsl,cpm-brg", "fsl,cpm2-brg"; reg = <119f0 10 115f0 10>; }; there must be: [EMAIL PROTECTED] { compatible = "fsl,cpm-brg", "fsl,cpm2-brg"; reg = <119f0 10 115f0 10>;

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-07-30 Thread Scott Wood
On Wed, Jul 30, 2008 at 01:37:43PM +0400, Matvejchikov Ilya wrote: > smc1: [EMAIL PROTECTED] { > device_type = "serial"; > compatible = "fsl,cpm2-smc-uart"; > reg = <11a80 20 0 40>; >

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-07-30 Thread Ben Gardiner
Scott Wood wrote: On Tue, Jul 29, 2008 at 11:33:47AM -0400, Ben Gardiner wrote: CPU clock-frequency <- 0x3f940aa (67MHz) CPU timebase-frequency <- 0x1fce17 (2MHz) CPU bus-frequency <- 0x1fce170 (33MHz) Try commenting out calls to cpm_setbrg(), to see if the frequency is bad. -Scott

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-07-30 Thread Matvejchikov Ilya
> Did you use CONFIG_PPC_CPM_NEW_BINDING in 2.6.25? It became mandatory in > 2.6.26. Also, try commenting out cpm_setbrg() calls in case the > frequency is not being set properly. Yes, this option was enabled. Nothing changed with empty cpm_setbrg() function :( > 2.6.26 introduced the allocatio

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-07-29 Thread Scott Wood
On Tue, Jul 29, 2008 at 10:36:30PM +0400, Matvejchikov Ilya wrote: > Have you tired to run 2.6.25 kernel? With 2.6.25.4 my console works > fine! I suspect there is something like a regression Did you use CONFIG_PPC_CPM_NEW_BINDING in 2.6.25? It became mandatory in 2.6.26. Also, try commentin

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-07-29 Thread Scott Wood
On Tue, Jul 29, 2008 at 11:33:47AM -0400, Ben Gardiner wrote: > And my serial console output is stopping around the same point as > Matvejchikov. I have baud 9600, so I'm guessing that it's cutoff because > of this (please excuse me if this is wrong). NB: the console=ttyS0 > bootarg is there to

Re: No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-07-29 Thread Matvejchikov Ilya
Hello Ben, Have you tired to run 2.6.25 kernel? With 2.6.25.4 my console works fine! I suspect there is something like a regression Ilya. ___ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-em

No output from SMC1 console with the 2.6.26 kernel (8xx based board)

2008-07-29 Thread Ben Gardiner
In 'Re: No output from SMC1 console with the 2.6.26 kernel (PQ2FADS basedboard)' Matvejchikov Ilya wrote: No, it's not working for me :( My pins is configured by u-boot so I disable init_ioports() function call. Moreover the udbg0 console forks fine... I have no output at all after "udbg_put