[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] early printk support for microblaze



Hi John,

At Fri, 20 Feb 2004 07:59:05 +1000,
John Williams wrote:
[...]
> Yasushi SHOJI wrote:
[...]
> > somehow, early printk doesn't eat what it prints out. I checked other
> > implementation but couldn't find a way to fix it. if anyone know,
> > please let me know!
> 
> I'm not quite sure what you mean - can you explain a bit more?

I meant:

hermit> b                                                                       
Copying kernel...done.                                                          
Linux version 2.4.24-uc0 (yashi@wat) (gcc version 2.95.3-4 Xilinx EDK 6.1 Build 
EDK_G.11) #7 Fri Feb 20 05:12:37 JST 2004                                       
Enabling early printk.                                                          
On node 0 totalpages: 4096                                                      
zone(0): 4096 pages.                                                            
zone(1): 0 pages.                                                               
zone(2): 0 pages.                                                               
CPU: MICROBLAZE                                                                 
Kernel command line:                                                            
Disabling Linux version 2.4.24-uc0 (yashi@wat) (gcc version 2.95.3-4 Xilinx EDK 
6.1 Build EDK_G.11) #7 Fri Feb 20 05:12:37 JST 2004                             
Enabling early printk.                                                          
On node 0 totalpages: 4096                                                      
zone(0): 4096 pages.                                                            
zone(1): 0 pages.                                                               
zone(2): 0 pages.                                                               
CPU: MICROBLAZE                                                                 
Kernel command line:                                                            
Disabling early printk.


if you apply the patch it produce boot log like the above. note that
the top part of boot log is duplicated. The reason I said was that I
misunderstood what CON_PRINTBUFFER is for.

it might be better to redirect early printk's out put to debug uart if
the platform has one.  what do you think?

regards,
--
          yashi
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/