how to add ttymxc0 device in arm ubuntu rootfs filesystem

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


On Tue, Jun 16, 2009, savita at 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

 For a login console, you want to create a /etc/event.d/ttymxc0 file
   # 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

   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.

Loïc Minier

More information about the ubuntu-devel mailing list