From owner-freebsd-arm@FreeBSD.ORG Wed Sep 5 03:19:22 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BD4C106566C for ; Wed, 5 Sep 2012 03:19:22 +0000 (UTC) (envelope-from hans.stimer@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 25BA18FC0A for ; Wed, 5 Sep 2012 03:19:21 +0000 (UTC) Received: by dadr6 with SMTP id r6so32520dad.13 for ; Tue, 04 Sep 2012 20:19:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type; bh=iXF0Zw/hCsxPmtd+Mei3Uw1gRyBvvpkSLHaOCT94G40=; b=gBVxBDPpUVt5BoSAY4i75xPrOZEP/hM4j6fg0mDTu/UKJyBQAdog7AwLCeYJBMsxlA qZq1KhE9NZ0IM2OyAGpf/gQWzjc51HNyXDnFX4zt1nWZVUd8g1IDwhui3a8NNWjIW+rA AYyn19WWHqyvNb93Tiae89/YbhMnfWuhzFeLWTcxPFXXdCQrlh+hpeEScd6/7CrxFNxn fUz9+XfQgrjdC21pEw1k60PpSEvaVm5PEpGyyOWjdUPddpx/3ghpWi2wGOy9BYBsJU+j y2OCW0q+T0UQQJ7iJyTQBkCmARXn/FmmJYxr1b7q0CeruCfZiMTCVwAq+cwkXqfdsbPQ sCRg== Received: by 10.68.237.38 with SMTP id uz6mr51457340pbc.23.1346815161508; Tue, 04 Sep 2012 20:19:21 -0700 (PDT) Received: from [10.0.1.134] (70-90-170-37-ca.sfba.hfc.comcastbusiness.net. [70.90.170.37]) by mx.google.com with ESMTPS id jz10sm425268pbc.8.2012.09.04.20.19.19 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 20:19:20 -0700 (PDT) Date: Tue, 4 Sep 2012 20:19:18 -0700 From: Hans Stimer To: Warner Losh Message-ID: <39787E1DC71F4739B78636D9293A09B7@gmail.com> In-Reply-To: <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com> References: <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com> X-Mailer: sparrow 1.6.3 (build 1172) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: arm@freebsd.org Subject: Re: freebsd-beaglebone install problem X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 03:19:22 -0000 Any idea how to diagnose? btw - tried same image in another BB and got the same result. On Tuesday, September 4, 2012 at 6:07 PM, Warner Losh wrote: > > On Sep 4, 2012, at 4:17 PM, Hans Stimer wrote: > > > I'm running into problems getting FreeBSD working on the BeagleBone. > > > > I followed the instructions here https://github.com/kientzle/freebsd-beaglebone > > > > I didn't get any errors, but the BB isn't responding at the terminal: > > > > > # cu -l /dev/ttyU1 -s 115200 > > > Connected > > > CCCCCCCC > > > > > > > > > > Oh xmodem, I know ye well. This means that the card is in some recovery mode or another... > > Warner > > > > > > > It appears that volumes were created properly on the SD card: > > > > > # fdisk -s /dev/da1 > > > /dev/da1: 474 cyl 255 hd 63 sec > > > Part Start Size Type Flags > > > 1: 66 4092 0x0c 0x80 > > > 2: 4158 7613001 0xa5 0x00 > > > > > > > > > > > And as best I can tell, the right files are in place: > > > > > # ls -laG /mnt/fat > > > total 761 > > > drwxr-xr-x 1 root wheel 16384 Dec 31 1979 . > > > drwxr-xr-x 4 root wheel 512 Sep 4 14:47 .. > > > drwxr-xr-x 1 root wheel 512 Sep 4 14:31 .Trashes > > > -rwxr-xr-x 1 root wheel 4096 Sep 4 14:31 ._.Trashes > > > drwxr-xr-x 1 root wheel 512 Sep 4 14:31 .fseventsd > > > -rwxr-xr-x 1 root wheel 13320 Sep 4 10:06 LOADER.HEL > > > -rwxr-xr-x 1 root wheel 738490 Sep 4 10:06 UBLDR > > > -rwxr-xr-x 1 root wheel 118 Sep 4 10:06 UENV.TXT > > > > > > # ls -laG /mnt/ufs > > > total 4216 > > > drwxr-xr-x 18 hans hans 1024 Sep 4 10:07 . > > > drwxr-xr-x 4 root wheel 512 Sep 4 14:47 .. > > > -rw-r--r-- 2 root wheel 1005 Sep 4 10:07 .cshrc > > > -rw-r--r-- 2 root wheel 247 Sep 4 10:07 .profile > > > drwxrwxr-x 2 root operator 512 Sep 4 10:06 .snap > > > -r-------- 1 root wheel 4194304 Sep 4 10:06 .sujournal > > > -r--r--r-- 1 root wheel 6194 Sep 4 10:07 COPYRIGHT > > > drwxr-xr-x 2 root wheel 1024 Sep 4 10:06 bin > > > drwxr-xr-x 7 root wheel 512 Sep 4 10:07 boot > > > dr-xr-xr-x 2 root wheel 512 Sep 4 10:06 dev > > > drwxr-xr-x 20 hans hans 2048 Sep 4 10:07 etc > > > drwxr-xr-x 3 root wheel 1536 Sep 4 10:06 lib > > > drwxr-xr-x 3 root wheel 512 Sep 4 10:06 libexec > > > drwxr-xr-x 2 root wheel 512 Sep 4 10:06 media > > > drwxr-xr-x 2 root wheel 512 Sep 4 10:06 mnt > > > dr-xr-xr-x 2 root wheel 512 Sep 4 10:06 proc > > > drwxr-xr-x 2 root wheel 2560 Sep 4 10:06 rescue > > > drwxr-xr-x 2 root wheel 512 Sep 4 10:07 root > > > drwxr-xr-x 2 root wheel 2560 Sep 4 10:07 sbin > > > lrwxr-xr-x 1 root wheel 11 Sep 4 10:07 sys -> usr/src/sys > > > drwxrwxrwt 2 root wheel 512 Sep 4 10:06 tmp > > > drwxr-xr-x 14 root wheel 512 Sep 4 10:06 usr > > > drwxr-xr-x 23 root wheel 512 Sep 4 10:06 var > > > > > > > > > > > I checked the logs, and this one stood out: > > > > > # less _.uboot.build.log > > > Generating include/autoconf.mk > > > include/common.h:43:20: error: stdarg.h: No such file or directory > > > In file included from include/image.h:36, > > > from include/common.h:117: > > > include/compiler.h:8:20: error: stddef.h: No such file or directory > > > Generating include/autoconf.mk.dep > > > include/common.h:43:20: error: stdarg.h: No such file or directory > > > In file included from include/image.h:36, > > > from include/common.h:117: > > > include/compiler.h:8:20: error: stddef.h: No such file or directory > > > arm-freebsd-gcc -DDO_DEPS_ONLY \ > > > -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x80100000 -DCONFIG_SPL_TEXT_BASE=0x402F0400 -I/usr/home/hans/extern/freebsd-beaglebone/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe -DCONFIG_ARM -D__ARM__ -marm -mabi=aapcs-linux -mno-thumb-interwork -march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector -Wno-format-nonliteral -Wno-format-security \ > > > -o lib/asm-offsets.s lib/asm-offsets.c -c -S > > > In file included from lib/asm-offsets.c:18: > > > include/common.h:43:20: error: stdarg.h: No such file or directory > > > In file included from include/image.h:36, > > > from include/common.h:117, > > > from lib/asm-offsets.c:18: > > > include/compiler.h:8:20: error: stddef.h: No such file or directory > > > In file included from lib/asm-offsets.c:18: > > > include/common.h:687: error: expected declaration specifiers or '...' before 'va_list' > > > In file included from lib/asm-offsets.c:18: > > > include/common.h:719: error: expected declaration specifiers or '...' before 'va_list' > > > gmake: *** [lib/asm-offsets.s] Error 1 > > > > > > > > > > > _______________________________________________ > > freebsd-arm@freebsd.org (mailto: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 (mailto:freebsd-arm-unsubscribe@freebsd.org)" > > > > >