From owner-freebsd-arm@FreeBSD.ORG Wed Sep 5 01:07:58 2012 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BECF41065679 for ; Wed, 5 Sep 2012 01:07:58 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7738FC0A for ; Wed, 5 Sep 2012 01:07:58 +0000 (UTC) Received: by iayy25 with SMTP id y25so371236iay.13 for ; Tue, 04 Sep 2012 18:07:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=lrQPQLzXPS9mXqvBnlsSUDORlfMVe/Pi4NuWZDgXuqM=; b=f4CX+Osl9tE1a3GsMkk2SS1RxJQsQXqBCKSZPMaGIhCyO9QJXIZ/hsqxk2ZCAIGgrf M3aJ6xsYPHRYZ8y7Hp0TfTcy7Z62xK+jVXtBKXgSEu+AoehGFrUr03T15oFXmIUAw+QY fpiAkvR79X9DgcXJkRsscFdXkQSpMPqKoNuP0x8CclDWeP2U6Lj8rY8W35QT3pvIwVup 0uZ5dzyNTQQJH8V+bAMjYLKpKwYeL3EKeZiRILUqqLRDbxwAoMQ+LFkxEU/FyaTh5NvY +hCXkhEkXdSsAHO2FmZ4w65gx1TGMNiwsIfQ6KqYc5WNu7Vwpa9vieSttKYXutUULA1F 2iLQ== Received: by 10.50.207.35 with SMTP id lt3mr15892817igc.49.1346807277656; Tue, 04 Sep 2012 18:07:57 -0700 (PDT) Received: from 63.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id ey10sm29328473igb.17.2012.09.04.18.07.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Sep 2012 18:07:56 -0700 (PDT) Sender: Warner Losh Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 4 Sep 2012 19:07:55 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com> References: To: Hans Stimer X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlWJrbNHfuQYBAFUaC7SYgdK/MrkCWvFb7BiPk8CcFWPJfj3PBR37RiA0r9mwEqE+c1lOPv 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 01:07:58 -0000 On Sep 4, 2012, at 4:17 PM, Hans Stimer wrote: > I'm running into problems getting FreeBSD working on the BeagleBone. >=20 > I followed the instructions here = https://github.com/kientzle/freebsd-beaglebone >=20 > I didn't get any errors, but the BB isn't responding at the terminal: >=20 >> # 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 >=20 >=20 > It appears that volumes were created properly on the SD card: >=20 >> # 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 >>=20 >=20 >=20 > And as best I can tell, the right files are in place: >=20 >> # 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 >>=20 >> # 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 >>=20 >>=20 >=20 >=20 > I checked the logs, and this one stood out: >=20 >> # less _.uboot.build.log=20 >> 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=3D0x80100000 -DCONFIG_SPL_TEXT_BASE=3D0x402F0400 = -I/usr/home/hans/extern/freebsd-beaglebone/u-boot/include -fno-builtin = -ffreestanding -nostdinc -isystem include -pipe -DCONFIG_ARM -D__ARM__ = -marm -mabi=3Daapcs-linux -mno-thumb-interwork -march=3Darmv5 -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 >>=20 >>=20 >=20 >=20 > _______________________________________________ > 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"