Re: About IRQ enabling

Stuart MENEFY <[email protected]> Wed, 13 Oct 2004 17:49:28 +0100
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Organization STMicroelectronics (Bristol)
Message-ID <[email protected]>
Fabio

On Wed, 13 Oct 2004 10:34:42 +0000 Fabio Giovagnini <[email protected]> wrote:
> I try to explain my problem. 
[ File system contents deleted]
> 
> My embedded kernel command line is
> console=ttySC1,115200
> 
> When I run the kernel I can see some messages from busybox, but at the end I 
> read 
> free IRQ 72,  free IRQ 75 and after a bit of time nothing more happen?

I assume what you are seeing is the end of the message:
  Trying to free IRQ 72
which is printed if something tries to free an irq (by calling free_irq()) 
which doesn't have an attached handler.

If so, you need to find out what IRQs 72 and 75 are in your system.

> Do I have to create /dev/ttySCx (x = 0,1,2) and make the symbolic link to 
> ttySC1? if yes, what are the major and minor numbers?

You shouldn't need to as BusyBox will run (reasonably) happily just using
/dev/console. However if you want to, just look in Documentation/devices.txt:

204 char        Low-density serial ports
                  8 = /dev/ttySC0               SCI serial port (SuperH) - port 0
                  9 = /dev/ttySC1               SCI serial port (SuperH) - port 1
                 10 = /dev/ttySC2               SCI serial port (SuperH) - port 2
                 11 = /dev/ttySC3               SCI serial port (SuperH) - port 3

So ttySC0 is major 204, minor 8.

Hope this helps

Stuart
-- 
Stuart Menefy                                        [email protected]
STMicroelectronics Ltd                      ST Intranet: linux.bri.st.com
Bristol, UK                        Rest of the World: www.superhlinux.com
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBbVyY61BlSKQGbXkRAs0RAJsEBKoZAFZxUfUqpOjChixb2FZRgQCfVRbp
wipimbsRdqRoacErpARkRqk=
=73UE
-----END PGP SIGNATURE-----