Suresh Kumar wrote:
>> have you got a ttyAMA0 on your platform?
>
> I dont know what is ttyAMA0 mean?

Its the serial console device node name the 'getty' tries to open to show the 
login prompt. It seems you are using the platform config from 
our 'OSELAS.BSP-Pengutronix-Generic' BSP. This one is prepared for 
the 'versatilepb' platform and uses 'ttyAMA0' for its serial tty devices. 
Most ARM based platforms are using a different name for their serial devices. 
So, you must at least know the serial tty device node name, _your_ platform 
is using.

When you are using NFS root there is a trick to get this name very easy: Open 
the file 'platform..../root/etc/init.d/udev' (the one your target will use at 
runtime via NFS) and comment out the line that mounts the tmpfs on top of the 
dev/ directory (currently this line looks like this: "mount -n -t tmpfs tmpfs 
$udev_root -o mode=755").

Now, simply start your target again and you will get all its device nodes on 
your host in 'platform..../root/dev' instead. Search for the correct serial 
tty device node name and change it in your platform config (via 'ptxdist 
platformconfig' -> "console options" --> (ttyAMA0) console name) and replace 
the 'ttyAMA0' with the correct name of your target's serial tty device node 
name.

To activate the new setting on your target, you must run 'ptxdist clean 
initmethod-bbinit; ptxdist go' after changing it. This will 
replace/regenerate the 'inittab' for your target with the new device node 
name.

jbe

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

--
ptxdist mailing list
[email protected]

Reply via email to