how to add ttymxc0 device in arm ubuntu rootfs filesystem

Loïc Minier loic.minier at ubuntu.com
Wed Jun 17 12:28:21 BST 2009


        Hi

On Tue, Jun 16, 2009, savita at iwavesystems.com wrote:
> i want to add ttymxc0 console device in arm ubuntu rootfs filesystem. can
> anybody tell me what all things i have to add and which is the proper
> place to add.

 So for the kernel console side, what you are doing seems about right; I
 use console=ttymxc0,115200 and not console=ttymxc0,115200n8 but I think
 both should work.  Make sure you disable hw flow control in your serial
 client.

 For a login console, you want to create a /etc/event.d/ttymxc0 file
 with:
   # ttymxc0 - getty
   #
   # This service maintains a getty on ttymxc0 from the point the system is
   # started until it is shut down again.

   start on runlevel 2
   start on runlevel 3

   stop on runlevel 0
   stop on runlevel 1
   stop on runlevel 4
   stop on runlevel 5
   stop on runlevel 6

   respawn
   exec /sbin/getty -L 115200 ttymxc0 vt100

 Given that you're seeing the kernel boot messages in full up to
 starting init, I think the console / client are correctly configured;
 I'd check your NFS export is setup properly.

   Cheers
-- 
Loïc Minier



More information about the ubuntu-devel mailing list