[linux-cirrus] Re: cannot create console on AMBA PL010 ttyAM0 device (ts7250)

Hi Chris -

----- Original Message -----
From: Christopher Friedt <cfriedt@xxxxxxxxxxxxxxxxxx>
Date: Friday, April 20, 2007 7:52 am
Subject: [linux-cirrus] cannot create console on AMBA PL010 ttyAM0
device (ts7250)
To: linux-cirrus@xxxxxxxxxxxxx
Cc: Jesse Off <joff@xxxxxxxxxxxxxxx>

> I'm currently experimenting with a 2.6.20.6 kernel and my ts7250, 
> along 
> with all of the patches that lennart pushed upstream (thanks again 
> lennart) & the physmap that breton gave a while ago (thanks again 
> breton). I'm using the latest cvs version of the yaffs sources too.
> 
> In any event,
> 
> what is happening is that when I specify exec -c "console=ttyAM0 
> root=/dev/mtdblock1 init=/bin/ash" the kernel boots beautifully - 
> albeit 
> using /dev/console as the console (according to 'tty'), and I jump 
> directly into ash (and it says that job control is disabled :P)
> 
> Then, when I specify exec -c "console=ttyAM0,115200 
> root=/dev/mtdblock1 
> init=/bin/ash", I receive several lines of non-ascii garbage.

Are you sure you have applied:
http://svn.wantstofly.org/kernel/ep93xx-serial-uartbaud.diff
http://svn.wantstofly.org/kernel/ep93xx-serial-clocks.diff
I think the last one is only needed if you want to use ttyAM1 or ttyAM2,
but I definitely needed the uartbaud.diff on my TS-7250.  Maybe that
should go upstream?

> Calibrating delay loop... 49.86 BogoMIPS (lpj=249344) 

> ep93xx: PLL1 running at 400 MHz, PLL2 at 192 MHz 
> ep93xx: FCLK 200 MHz, HCLK 100 MHz, PCLK 50 MHz 

Your CPU is still (inadvertently) running in FastBus mode, using HCLK at
100 MHz.  Should be 99 BogoMIPS or so.  Try the patch at:
http://www.freelists.org/archives/linux-cirrus/02-2007/msg00016.html
and see the thread for background.

Regards, ...... Charlie

Other related posts: