Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2013 22:22:08 -0700
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        John Hixson <john@ixsystems.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Connecting to Beablebone
Message-ID:  <CALCpEUGKYkOcGRTdVwvZoO1gm23XmnVV3SwkNzJVXvnBMK%2BM=g@mail.gmail.com>
In-Reply-To: <20130510024232.GA10543@thinkbsd.divinix.org>
References:  <CALCpEUGGUjZkciUARw-54qEnbN%2BFequ_iQ46gEcw4G=Td%2BMsiw@mail.gmail.com> <CAGtf9xNs1M=Jz=G2EMNyeowzD33sUEZ3ukUnCe_2sAAhXyMk-Q@mail.gmail.com> <CALCpEUG2gA1a=qxHTYg7utsjePFBY4b%2B%2BHuJdkvfsU1zqAOGuw@mail.gmail.com> <20130510024232.GA10543@thinkbsd.divinix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 9, 2013 at 7:42 PM, John Hixson <john@ixsystems.com> wrote:
> On Thu, May 09, 2013 at 07:12:15PM -0700, hiren panchasara wrote:
>> On Thu, May 9, 2013 at 6:51 PM, Ganbold Tsagaankhuu <ganbold@gmail.com> wrote:
>> >
>> >
>> >
>> > On Fri, May 10, 2013 at 9:47 AM, hiren panchasara
>> > <hiren.panchasara@gmail.com> wrote:
>> >>
>> >> Hi list,
>> >>
>> >> I've built img using crotchet scripts (great work!) a few days back
>> >> from HEAD and followed instructions at
>> >> https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack.
>> >>
>> >> Now,
>> >>
>> >> After powering up I connected the debug USB cable from BB to my laptop
>> >> (running HEAD).
>> >>
>> >> dmesg shows:
>> >>
>> >> ugen0.5: <Texas Instruments> at usbus0
>> >> umodem0: <Texas Instruments AM335x USB, class 2/0, rev 2.00/0.00, addr
>> >> 5> on usbus0
>> >> umodem0: data interface 1, has no CM over data, has no break
>> >>
>> >> /dev shows following new entries:
>> >>
>> >> crw-rw----  1 uucp    dialer     0x97 May  9 18:13 cuaU0
>> >> crw-rw----  1 uucp    dialer     0x98 May  9 18:13 cuaU0.init
>> >> crw-rw----  1 uucp    dialer     0x99 May  9 18:13 cuaU0.lock
>> >> crw-------  1 root    wheel      0x94 May  9 18:13 ttyU0
>> >> crw-------  1 root    wheel      0x95 May  9 18:13 ttyU0.init
>> >> crw-------  1 root    wheel      0x96 May  9 18:13 ttyU0.lock
>> >> lrwxr-xr-x  1 root    wheel        9B May  9 18:13 ugen0.5 -> usb/0.5.0
>> >> crw-rw-rw-  1 root    wheel       0xe May  9 18:11 null
>> >> crw-------  1 root    wheel      0x1b May  9 18:10 bpf
>> >>
>> >> Trying to connecting to it:
>> >>
>> >> % sudo cu -l /dev/cuaU0
>> >> Connected
>> >
>> >
>> >
>> > No need to set speed?
>>
>> This is what I had:
>>
>> % sudo stty -f /dev/ttyU0
>> speed 9600 baud;
>> lflags: echoe echoke echoctl
>> oflags: tab0
>> cflags: cs8 -parenb
>>
>> I tried setting to different ones without success:
>>
>> flymockour-l7%  sudo stty -f /dev/ttyU0
>> speed 115200 baud;
>> lflags: -icanon -isig -echo echoe echok echoke echoctl
>> iflags: -icrnl -ixany -imaxbel ignpar
>> oflags: -opost -onlcr tab0
>> cflags: cs8 -parenb -hupcl clocal
>>
>> Thanks,
>> Hiren
>> >
>> > Ganbold
>> >
>> >
>> >>
>> >>
>> >> Its stays stuck there without doing anything. Same with ttyU0. Is that
>> >> not how you connect to this thing?
>> >>
>> >> In my quest of understanding /dev entries, I found: ttyU0 is actual
>> >> tty device and cuaU0 is a callback device?
>> >>
>> >> Also,  I am not getting those blue usb lights turned on. Not sure if
>> >> that means something.
>> >>
>> >> I am sure I must be doing something really silly. Any help would be great.
>> >>
>> >> cheers,
>> >> Hiren
>> >> _______________________________________________
>
>
> I got one of these and it works fine:
>
> http://www.adafruit.com/products/954

Thanks John, I guess I am ordering that one :-)

cheers,
Hiren
>
> - John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUGKYkOcGRTdVwvZoO1gm23XmnVV3SwkNzJVXvnBMK%2BM=g>