From owner-freebsd-arm@FreeBSD.ORG Fri May 10 02:12:16 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 AABDE18D for ; Fri, 10 May 2013 02:12:16 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x231.google.com (mail-ea0-x231.google.com [IPv6:2a00:1450:4013:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id 45A2110B for ; Fri, 10 May 2013 02:12:16 +0000 (UTC) Received: by mail-ea0-f177.google.com with SMTP id o10so1879483eaj.36 for ; Thu, 09 May 2013 19:12:15 -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=tFTTb5mSaJpH3H7HDhaa5Kv2kZ72/jLZ2oQVRXY7y+M=; b=UbdDSq0EQWBnmdMzbKzQ9HXESCM/5Ruj/N4lY242ROdZB9OuppwPcGr0Y75xtNFseA YHuPEAobM+fmNBA77YpSvi4/RDqjJpdZJJLKAJR11J5O3OrzSmMva9s1jl/ZJUWgJsFt vhc98+cIhbyG6gc3y+RDL9c7iFACryBiWEQK7Rpt2tLzfW8nC8QE6hABUKiFpLAu2THd Z5CHYc8PLpqcFNOLITQLHBW40mDkOAhPPsrsMAiroF8hCHJkUfZnPC4wJOt3m6f7GzqI WtwYOSxhRHfucU7fFSZCSda82wOVj1I9yZG1Zp8YcEqSltcpPw1+ooflgLdTBVn+Eg2y WHgg== MIME-Version: 1.0 X-Received: by 10.15.52.70 with SMTP id o46mr35970525eew.14.1368151935381; Thu, 09 May 2013 19:12:15 -0700 (PDT) Received: by 10.14.130.66 with HTTP; Thu, 9 May 2013 19:12:15 -0700 (PDT) In-Reply-To: References: Date: Thu, 9 May 2013 19:12:15 -0700 Message-ID: Subject: Re: Connecting to Beablebone From: hiren panchasara To: Ganbold Tsagaankhuu 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 02:12:16 -0000 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 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > >