Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Sep 2012 20:19:18 -0700
From:      Hans Stimer <hans.stimer@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        arm@freebsd.org
Subject:   Re: freebsd-beaglebone install problem
Message-ID:  <39787E1DC71F4739B78636D9293A09B7@gmail.com>
In-Reply-To: <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com>
References:  <DD05E72B9F474BFE96B6A4B050D2A18A@gmail.com> <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)"
> > 
> 
> 
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39787E1DC71F4739B78636D9293A09B7>