From owner-freebsd-arm@FreeBSD.ORG Tue Sep 4 22:17:32 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 D5B76106566B for ; Tue, 4 Sep 2012 22:17:32 +0000 (UTC) (envelope-from hans.stimer@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id A68E18FC0C for ; Tue, 4 Sep 2012 22:17:32 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so10217631pbb.13 for ; Tue, 04 Sep 2012 15:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:subject:x-mailer:mime-version:content-type; bh=gzlrtUxjPgzbVOncPi/5k3hhDjihuOlNA4s+Jt1vysU=; b=BsZEAcafzOwGdJ4uxpcssie4j2OugwFT7ez7GhrCm+YZuK9Wy+wCY9a3A7lT0RPJab Fk8hyyaVzY9k+TBtDfLSgB88DMJjDPrj4l9o3X64ZWJB5Nhu9n6n8kKtqRDEGRq7spRm wyGgv2kcvvaIU6U+bPoWAJ/RiY9VXBTbsFZyMfvGAbss3ts9GaXencBAeyZw4408kJED shvTDAY2rH8aZNXE9rvlIWepTssWv5pH2UhhyL2C5Fr7nlFfOjC41QYEYsmpeJ3os0G0 Gsqlh1BGy+pCqKPwsb1UlDhuyrTUpF0vQtBipYFuEBoKrycgMq2ThTzlG/TgXrpHmGSl 3gpQ== Received: by 10.68.242.42 with SMTP id wn10mr38363778pbc.105.1346797052296; Tue, 04 Sep 2012 15:17:32 -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 ka4sm13033748pbc.61.2012.09.04.15.17.30 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 15:17:31 -0700 (PDT) Date: Tue, 4 Sep 2012 15:17:29 -0700 From: Hans Stimer To: arm@freebsd.org Message-ID: 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: Subject: 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: Tue, 04 Sep 2012 22:17:32 -0000 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 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 > >