From owner-freebsd-arm@FreeBSD.ORG Fri May 10 05:22:09 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CF65B4A3 for ; Fri, 10 May 2013 05:22:09 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x232.google.com (mail-ea0-x232.google.com [IPv6:2a00:1450:4013:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD45DAF for ; Fri, 10 May 2013 05:22:09 +0000 (UTC) Received: by mail-ea0-f178.google.com with SMTP id q15so57444ead.9 for ; Thu, 09 May 2013 22:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=UvuWNbJLY2OmvEFtBZvvkCuC06UgQJSyDgtzUOH21K8=; b=H/ZB4exlLBRyGpQVwM+Fnp3vLORqn+BIB+KwuQas0w++uZjtY2WMI0cPKx1b7WD12q Ku3vQv9rGchuTqbDwQ5uYF+KvLVpHTOiJ0yJ5xSp2PRQ3Um5L1EhFzo7esOPH/BmwAxF 8hu0KWxI83czLcboQnvJ6MTW+yndVvK5rIB2GMSD16p0+4eBMa9aMmjWtzox8y6M5CV6 J2hQoYLPgyJdx7HKP7eIIvSNW/Db4ORT3XRiqysqesanzygQ3+h6g46SBWbxI1FCm2+e 2mOfS1amM5CwSd3wvLZLWSe5ZYuC2z6Wbg+fzQctlLTM6wspNLOKBS1a7TV9ujlRsYFV 8GJA== MIME-Version: 1.0 X-Received: by 10.14.42.9 with SMTP id i9mr37146595eeb.18.1368163328534; Thu, 09 May 2013 22:22:08 -0700 (PDT) Received: by 10.14.130.66 with HTTP; Thu, 9 May 2013 22:22:08 -0700 (PDT) In-Reply-To: <20130510024232.GA10543@thinkbsd.divinix.org> References: <20130510024232.GA10543@thinkbsd.divinix.org> Date: Thu, 9 May 2013 22:22:08 -0700 Message-ID: Subject: Re: Connecting to Beablebone From: hiren panchasara To: John Hixson Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 May 2013 05:22:09 -0000 On Thu, May 9, 2013 at 7:42 PM, John Hixson 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 wrote: >> > >> > >> > >> > On Fri, May 10, 2013 at 9:47 AM, hiren panchasara >> > 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: at usbus0 >> >> umodem0: > >> 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