Date: Fri, 19 Apr 2013 09:51:19 -0600 From: Warner Losh <imp@bsdimp.com> To: Pablo Ribalta Lorenzo <rlp@semihalf.com> Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD in Pandaboard panics in boot Message-ID: <632D0DCE-48B7-4A41-803B-E6207031E7BC@bsdimp.com> In-Reply-To: <51711E08.7030904@semihalf.com>
index | next in thread | previous in thread | raw e-mail
I'm having big issues with WITNESS. Also the stack traceback code is busterated lately, so try gcc instead of clang. Warner On Apr 19, 2013, at 4:35 AM, Pablo Ribalta Lorenzo wrote: > Hi guys, > > I'm trying to boot FreeBSD over Pandaboard for one of my projects, but I'm stuck with an issue that it's blocking me and > I'd like to see if someone can provide some insight. > > My setup goes as it follows: > ============================ > > - Pandaboard with SD card. > > - SD card correctly formated: > > First partition: > o U-Boot > o MLO > o FreeBSD kernel image > > - FreeBSD kernel image was built from: > o SVN Revision: 248896 > o Using: make buildkernel TARGET_ARCH=arm CPUTYPE=armv6 KERNCONF=PANDABOARD -j5 -DCLANG_IS_CC=no > > - U-Boot and MLO were built from: > o origin: git://git.linaro.org/boot/u-boot-linaro-stable.git > o Commit ID: 30dd996a40c7673258bd5743c0813230d92abc7c > > > The problem is the following: > ============================= > > When Pandaboard is reseted I stop the autoboot and try to load the kernel image from tftpboot, which succeeds. However, when I > try to run it in the address where it's loaded, it panics right at the beginning of the kernel boot. > > I also tried booting the kernel from the SD card, with identical result. Also with different versions from the source tree, > and I always get the same panic in the same place. > > Am I doing something wrong? Maybe somebody can give me a hand. > > > Here are some logs of what I see: > ================================= > > /Panda # tftpboot 0x80200000 users/rlp/pandaboard/kernel.bin > Waiting for Ethernet connection... done. > Using sms0 device > TFTP from server 10.2.0.1; our IP address is 10.2.0.98 > Filename 'users/rlp/pandaboard/kernel.bin'. > Load address: 0x80200000 > Loading: ################################################################# > ################################################################# > ################################################################# > ################################################################# > ####################################### > done > Bytes transferred = 4380644 (42d7e4 hex) > Panda # go 0x80200000 > ## Starting application at 0x80200000 ... > KDB: debugger backends: ddb > KDB: current backend: ddb > Copyright (c) 1992-2013 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 10.0-CURRENT #2 r+8cd94da: Thu Apr 18 16:23:24 CEST 2013 > rlp@gilgamesh.semihalf.com:/home/rlp/obj-superpages/arm.arm/home/rlp/freebsd-arm-superpages/sys/PANDABOARD arm > FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 > CPU: Cortex A9-r1 rev 2 (Cortex-A core) > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext > WB disabled EABT branch prediction enabled > LoUU:2 LoC:1 LoUIS:2 > Cache level 1: > 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc > 32KB/32B 4-way instruction cache Read-Alloc > real memory = 1073741824 (1024 MB) > avail memory = 1034764288 (986 MB) > panic: Cannot allocate L1 KVM > KDB: enter: panic > [ thread pid 0 tid 0 ] > Stopped at kdb_enter+0x48: ldrb r15, [r15, r15, ror r15]! > db> bt > Tracing pid 0 tid 0 td 0xc064b460 > _end() at 0xc0660b34 > scp=0xc0660b34 rlv=0xc054e78c (db_trace_thread+0x34) > rsp=0xc0660b18 rfp=0xc064a4fc > Bad frame pointer: 0xc064a4fc > db>// > / > > -- > Pozdrawiam, > Pablo Ribalta Lorenzo > > _______________________________________________ > 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"help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?632D0DCE-48B7-4A41-803B-E6207031E7BC>
