From owner-freebsd-arm@FreeBSD.ORG Fri May 10 02:42:44 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A3ED17D8 for ; Fri, 10 May 2013 02:42:44 +0000 (UTC) (envelope-from john@ixsystems.com) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 82B0821F for ; Fri, 10 May 2013 02:42:44 +0000 (UTC) Received: from localhost (mail.ixsystems.com [10.2.55.1]) by mail.iXsystems.com (Postfix) with ESMTP id 938D1FB21; Thu, 9 May 2013 19:42:43 -0700 (PDT) Received: from mail.iXsystems.com ([10.2.55.1]) by localhost (mail.ixsystems.com [10.2.55.1]) (maiad, port 10024) with ESMTP id 81811-09; Thu, 9 May 2013 19:42:34 -0700 (PDT) Received: from thinkbsd.divinix.org (unknown [10.8.0.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 2000AFB10; Thu, 9 May 2013 19:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ixsystems.com; s=newknight0; t=1368153754; bh=An2vwtVq2xNqAyx9QTCLh7uJJk8N9yiErP69hMzm1qU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=uxZNtoyH9XiaYjgHQdPaYcM7GmIeUTRlfUfdWMjQ6T0Mf+jniP/ISm4XH4kJ1CWqr f8X2hYlLvkiOdJuCXJAH9hGyITjoKq9JXtJ7tF8j0Hzoj+knBb6aWWuJ7ZhhWI6xVD qEkN2geKNhkf+1O5Nd0KoZdq/3vFQAseo70sT6sI= Date: Thu, 9 May 2013 19:42:32 -0700 From: John Hixson To: hiren panchasara Subject: Re: Connecting to Beablebone Message-ID: <20130510024232.GA10543@thinkbsd.divinix.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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 02:42:44 -0000 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 - John