In your config did you enable the omap serial driver? (ttyO2)
otherwise you may just have the older "generic" serial driver
enabled.. (ttyS2)..
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
Nope, it's a capital O, as in the letter after P.
Have a look at arch/arm/plat-omap/include/plat/omap-serial.h for the following:
/*
* Use tty device name as ttyO, [O -> OMAP]
* in bootargs we specify as console=ttyO0 if uart1
* is used as console uart.
*/
#define OMAP_SERIAL_NAME "ttyO"
>
> Ian
>
>> ...
>>
>> Is there a known solution for that? May I should attach more details?
>
> In your config did you enable the omap serial driver? (ttyO2)
> otherwise you may just have the older "generic" serial driver
> enabled.. (ttyS2)..
>
> Regards,
>
> --
> Robert Nelson
> http://www.rcn-ee.com/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beagle Board" group.
> To post to this group, send email to beagl...@googlegroups.com.
> To unsubscribe from this group, send email to
> beagleboard...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/beagleboard?hl=en.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Beagle Board" group.
> To post to this group, send email to beagl...@googlegroups.com.
> To unsubscribe from this group, send email to
> beagleboard...@googlegroups.com.
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks
That message just reiterates what Robert already said.
Maybe this is a udev problem? If your network comes up, SSH into the
board and poke around...
> On Aug 5, 4:08 pm, Robert Nelson<robertcnel...@gmail.com> wrote:
>> On Fri, Aug 5, 2011 at 9:01 AM, gerard_mp<gerardmar...@gmail.com> wrote:
>>> Hello,
>>
>>> I've successfully built Kernel 3.0, using the patches provided in meta-
>>> texasinstruments GIT repo. I've also built U-boot 2011.06 (also with
>>> some patches from the same repo). Finally, I've build a base file
>>> system using build-root. Everything seems to work well, Kernel shows
>>> all messages, network turns up, but when it is to launch getty for
>>> login prompt, it stucks forever showing each second:
>>
>>> can't open /dev/ttyO2: No such file or directory
>>> can't open /dev/ttyO2: No such file or directory
>>> ...
>>
>>> Is there a known solution for that? May I should attach more details?
>>
>> In your config did you enable the omap serial driver? (ttyO2)
>> otherwise you may just have the older "generic" serial driver
>> enabled.. (ttyS2)..
>>
>> Regards,
>>
>> --
>> Robert Nelsonhttp://www.rcn-ee.com/
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
Hogwash. From my BeagleBoard, running Yocto with 2.6.37 kernel:
root@beagleboard:~# ls -l /dev/tty*
crw-rw-rw- 1 root tty 5, 0 Jul 26 13:23 /dev/tty
crw--w---- 1 root root 4, 0 Jul 26 13:23 /dev/tty0
crw--w--w- 1 root root 4, 1 Aug 4 00:26 /dev/tty1
crw--w---- 1 root tty 4, 10 Jul 26 13:23 /dev/tty10
crw--w---- 1 root tty 4, 11 Jul 26 13:23 /dev/tty11
crw--w---- 1 root tty 4, 12 Jul 26 13:23 /dev/tty12
crw--w---- 1 root tty 4, 13 Jul 26 13:23 /dev/tty13
crw--w---- 1 root tty 4, 14 Jul 26 13:23 /dev/tty14
crw--w---- 1 root tty 4, 15 Jul 26 13:23 /dev/tty15
crw--w---- 1 root tty 4, 16 Jul 26 13:23 /dev/tty16
crw--w---- 1 root tty 4, 17 Jul 26 13:23 /dev/tty17
crw--w---- 1 root tty 4, 18 Jul 26 13:23 /dev/tty18
crw--w---- 1 root tty 4, 19 Jul 26 13:23 /dev/tty19
crw--w---- 1 root tty 4, 2 Jul 26 13:23 /dev/tty2
...
crw--w---- 1 root tty 4, 63 Jul 26 13:23 /dev/tty63
crw--w---- 1 root tty 4, 7 Jul 26 13:23 /dev/tty7
crw--w---- 1 root tty 4, 8 Jul 26 13:23 /dev/tty8
crw--w---- 1 root tty 4, 9 Jul 26 13:23 /dev/tty9
crw------- 1 root root 253, 0 Aug 4 00:26 /dev/ttyO0
crw-rw---- 1 root dialout 253, 1 Jul 26 13:23 /dev/ttyO1
crw-rw---- 1 root dialout 253, 2 Jul 26 13:23 /dev/ttyO2
crw-rw---- 1 root dialout 4, 64 Jul 26 13:23 /dev/ttyS0
crw-rw---- 1 root dialout 4, 65 Jul 26 13:23 /dev/ttyS1
crw-rw---- 1 root dialout 4, 66 Jul 26 13:23 /dev/ttyS2
crw-rw---- 1 root dialout 4, 67 Jul 26 13:23 /dev/ttyS3
These devices are all created by udev when the system boots. If you're
not getting a list like this, it's a udev problem.
> On 05/08/11 15:38, Ian Key wrote:
>>
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> *From:* Robert Nelson <robert...@gmail.com>
>> *To:* beagl...@googlegroups.com
>> *Sent:* Friday, 5 August 2011, 15:08
>> *Subject:* Re: [beagleboard] "can't open /dev/ttyO2: No such file or directory"
> --
> You received this message because you are subscribed to the Google Groups "Beagle Board" group.
> To post to this group, send email to beagl...@googlegroups.com.
> To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
--
Kernel: Linux-3.3.0-rc1-00287-gacb42a3
And roofs made with buildroot: Linux-3.3.0-rc1-00287-gacb42a3
[ 5.314727] EXT3-fs (mmcblk0p2): using internal journal
[ 5.325714] EXT3-fs (mmcblk0p2): recovery complete
[ 5.330902] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[ 5.338928] VFS: Mounted root (ext3 filesystem) on device 179:2.
[ 5.345916] Freeing init memory: 304K
Starting logging: OK
Initializing random number generator...
done.
Starting network...
run-parts: /etc/network/if-post-up.d: No such file or directory
Starting network time protocol daemon: ntpd.
Starting dropbear sshd:
OK
can't open /dev/ttyO2: No such file or directory
can't open /dev/ttyO2: No such file or directory