From owner-freebsd-arm@FreeBSD.ORG Mon May 16 11:06:58 2011 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E232A1065679 for ; Mon, 16 May 2011 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D04A98FC14 for ; Mon, 16 May 2011 11:06:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4GB6wmY071153 for ; Mon, 16 May 2011 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4GB6vWt071151 for freebsd-arm@FreeBSD.org; Mon, 16 May 2011 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 May 2011 11:06:57 GMT Message-Id: <201105161106.p4GB6vWt071151@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-arm@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org 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: Mon, 16 May 2011 11:06:59 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o arm/156814 arm OpenRD Ultimate does not boot on DB-88F6XXX or SHEEVAP o arm/156771 arm FreeBSD/arm fails to build trampoline code with clang o arm/156496 arm [patch] Minor bugfixes and enhancements to mmc and mmc o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) o arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154306 arm named crashes with signal 11 o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/154189 arm lang/perl5.12 doesn't build on arm o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 p arm/134338 arm [patch] Lock GPIO accesses on ixp425 13 problems total. From owner-freebsd-arm@FreeBSD.ORG Tue May 17 14:43:46 2011 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 BB39E106566C; Tue, 17 May 2011 14:43:46 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 85D878FC12; Tue, 17 May 2011 14:43:46 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p4HEhjl6098524; Tue, 17 May 2011 10:43:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p4HEhjkA098523; Tue, 17 May 2011 14:43:45 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 17 May 2011 14:43:45 GMT Message-Id: <201105171443.p4HEhjkA098523@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2011 14:43:46 -0000 TB --- 2011-05-17 13:50:00 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-05-17 13:50:00 - starting HEAD tinderbox run for arm/arm TB --- 2011-05-17 13:50:00 - cleaning the object tree TB --- 2011-05-17 13:50:16 - cvsupping the source tree TB --- 2011-05-17 13:50:16 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2011-05-17 13:51:03 - building world TB --- 2011-05-17 13:51:03 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-17 13:51:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-17 13:51:03 - TARGET=arm TB --- 2011-05-17 13:51:03 - TARGET_ARCH=arm TB --- 2011-05-17 13:51:03 - TZ=UTC TB --- 2011-05-17 13:51:03 - __MAKE_CONF=/dev/null TB --- 2011-05-17 13:51:03 - cd /src TB --- 2011-05-17 13:51:03 - /usr/bin/make -B buildworld >>> World build started on Tue May 17 13:51:03 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue May 17 14:43:07 UTC 2011 TB --- 2011-05-17 14:43:07 - WARNING: no kernel config for LINT TB --- 2011-05-17 14:43:07 - cd /src/sys/arm/conf TB --- 2011-05-17 14:43:07 - /usr/sbin/config -m AVILA TB --- 2011-05-17 14:43:07 - building AVILA kernel TB --- 2011-05-17 14:43:07 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-17 14:43:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-17 14:43:07 - TARGET=arm TB --- 2011-05-17 14:43:07 - TARGET_ARCH=arm TB --- 2011-05-17 14:43:07 - TZ=UTC TB --- 2011-05-17 14:43:07 - __MAKE_CONF=/dev/null TB --- 2011-05-17 14:43:07 - cd /src TB --- 2011-05-17 14:43:07 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Tue May 17 14:43:07 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/ath_hal/ar5212/ar5212_gpio.c -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal cc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/ath_hal/ar5212/ar5212_interrupts.c -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal cc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/ath_hal/ar5212/ar5212_keycache.c -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal cc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcpu=xscale -ffreestanding -Werror /src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal /src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c: In function 'ar5212GetCapability': /src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c:860: error: 'pcap' undeclared (first use in this function) /src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c:860: error: (Each undeclared identifier is reported only once /src/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c:860: error: for each function it appears in.) *** Error code 1 Stop in /obj/arm.arm/src/sys/AVILA. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-05-17 14:43:44 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-05-17 14:43:44 - ERROR: failed to build AVILA kernel TB --- 2011-05-17 14:43:44 - 2316.28 user 650.51 system 3224.22 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Tue May 17 18:00:25 2011 Return-Path: Delivered-To: freebsd-arm@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41068106566C for ; Tue, 17 May 2011 18:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A475B8FC19 for ; Tue, 17 May 2011 18:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4HI0Nie000984 for ; Tue, 17 May 2011 18:00:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4HI0Na0000983; Tue, 17 May 2011 18:00:23 GMT (envelope-from gnats) Date: Tue, 17 May 2011 18:00:23 GMT Message-Id: <201105171800.p4HI0Na0000983@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org From: Freddy DISSAUX Cc: Subject: Re: arm/156814: OpenRD Ultimate does not boot on DB-88F6XXX or SHEEVAPLUG kernel configurations X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Freddy DISSAUX List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2011 18:00:25 -0000 The following reply was made to PR arm/156814; it has been noted by GNATS. From: Freddy DISSAUX To: bug-followup@FreeBSD.org, vancorte@biologie.ens.fr Cc: Subject: Re: arm/156814: OpenRD Ultimate does not boot on DB-88F6XXX or SHEEVAPLUG kernel configurations Date: Tue, 17 May 2011 19:40:08 +0200 Hello, My dmesg: KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2011 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 9.0-CURRENT #0: Thu May 5 08:17:13 UTC 2011 root@openrd.bsdsx.fr:/usr/obj/usr/src/sys/OPENRD arm WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. module mvs already present! CPU: Feroceon 88FR131 rev 1 (Marvell core) DC enabled IC enabled WB enabled EABT branch prediction enabled 16KB/32B 4-way Instruction cache 16KB/32B 4-way write-back-locking-C Data cache real memory = 536870912 (512 MB) avail memory = 518627328 (494 MB) SOC: Marvell 88F6281 rev A0, TClock 200MHz simplebus0: on fdtbus0 ic0: mem 0xf1020200-0xf102023b on simplebus0 timer0: mem 0xf1020300-0xf102032f irq 1 on simplebus0 Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 gpio0: mem 0xf1010100-0xf101011f irq 35,36,37,38,39,40,41 on simplebus0 rtc0: mem 0xf1010300-0xf1010307 on simplebus0 twsi0: mem 0xf1011000-0xf101101f irq 43 on simplebus0 iicbus0: on twsi0 iic0: on iicbus0 mge0: mem 0xf1072000-0xf1073fff irq 12,13,14,11,46 on simplebus0 mge0: Ethernet address: 00:50:43:01:db:4d miibus0: on mge0 e1000phy0: PHY 8 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto mge1: mem 0xf1076000-0xf1077fff irq 16,17,18,15,47 on simplebus0 mge1: Ethernet address: 00:50:43:01:db:4e miibus1: on mge1 e1000phy1: PHY 24 on miibus1 e1000phy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto uart0: <16550 or compatible> mem 0xf1012000-0xf101201f irq 33 on simplebus0 uart0: console (1066,n,8,1) uart1: <16550 or compatible> mem 0xf1012100-0xf101211f irq 34 on simplebus0 ehci0: mem 0xf1050000-0xf1050fff irq 48,19 on simplebus0 usbus0: EHCI version 1.0 usbus0: set host controller mode usbus0: on ehci0 sata0: mem 0xf1080000-0xf1085fff irq 21 on simplebus0 ata0: on sata0 ata1: on sata0 pcib0: mem 0xf1040000-0xf1041fff irq 44 on fdtbus0 pcib0: PCI IO/Memory space exhausted device_attach: pcib0 attach returned 12 Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 ad0: 238475MB at ata0-master UDMA100 SATA 3Gb/s WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. ugen0.1: at usbus0 uhub0: on usbus0 uhub0: 1 port with 1 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 uhub1: on usbus0 Root mount waiting for: usbus0 uhub1: 7 ports with 7 removable, self powered ugen0.3: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x0000 Root mount waiting for: usbus0 Root mount waiting for: usbus0 umass0:0:0:-1: Attached to scbus0 Trying to mount root from ufs:/dev/ad0s1g []... da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 953MB (1952256 512 byte sectors: 64H 32S/T 953C) GEOM: da0: geometry does not match label (255h,63s != 64h,32s). lock order reversal: 1st 0xc35b10b0 pmap (pmap) @ /usr/src/sys/arm/arm/pmap.c:922 2nd 0xc0d76dc0 vm page queue mutex (vm page queue mutex) @ /usr/src/sys/arm/arm/pmap.c:1618 KDB: stack backtrace: db_md_set_watchpoint() at db_md_set_watchpoint+0x18 scp=0xc0b2d4ec rlv=0xc0924d20 (X_db_sym_numargs+0x178) rsp=0xcf7917dc rfp=0xcf7918f8 r10=0xc356a318 r9=0x00000652 r8=0xc0d46184 r7=0xc356a110 r6=0xffffffff r5=0xc0b5994c r4=0xcf7917e4 X_db_sym_numargs() at X_db_sym_numargs+0x154 scp=0xc0924cfc rlv=0xc0a186f8 (kdb_backtrace+0x3c) rsp=0xcf7918fc rfp=0xcf79190c r4=0xc0c16ec0 kdb_backtrace() at kdb_backtrace+0x10 scp=0xc0a186cc rlv=0xc0a2945c (witness_display_spinlock+0xac) rsp=0xcf791910 rfp=0xcf791924 r4=0x00000001 witness_display_spinlock() at witness_display_spinlock+0x64 scp=0xc0a29414 rlv=0xc0a29f84 (witness_checkorder+0x5f4) rsp=0xcf791928 rfp=0xcf791970 r5=0xc0d76dc0 r4=0x00000000 witness_checkorder() at witness_checkorder+0x10 scp=0xc0a299a0 rlv=0xc09e18a4 (_mtx_lock_flags+0x34) rsp=0xcf791974 rfp=0xcf79199c r10=0xc0d82680 r9=0x00008000 r8=0x00000652 r7=0xc0b95f68 r6=0x00000000 r5=0x00000000 r4=0xc0d76dc0 _mtx_lock_flags() at _mtx_lock_flags+0x10 scp=0xc09e1880 rlv=0xc0b32db4 (pmap_extract+0x2c0) rsp=0xcf7919a0 rfp=0xcf7919c8 r10=0x00000012 r8=0x00000000 r7=0xc0f3aa6c r6=0xc35b10b0 r5=0xc0f3aa3c r4=0xc183d01c pmap_extract() at pmap_extract+0x1ac scp=0xc0b32ca0 rlv=0xc0b37674 (pmap_release+0xdc8) rsp=0xcf7919cc rfp=0xcf791a48 r10=0x00000000 r9=0x00000000 r8=0xc38a6800 r7=0xc35b10b0 r6=0x00000000 r5=0xc38a4e90 r4=0x01f1500e pmap_release() at pmap_release+0x298 scp=0xc0b36b44 rlv=0xc0b37c48 (pmap_enter_object+0xa0) rsp=0xcf791a4c rfp=0xcf791a80 r10=0xc35b10b0 r9=0x00000005 r8=0xc0f3aa3c r7=0x00000000 r6=0x0000006b r5=0xc0f3aa3c r4=0x00000001 pmap_enter_object() at pmap_enter_object+0x10 scp=0xc0b37bb8 rlv=0xc0b1581c (vm_map_pmap_enter+0x220) rsp=0xcf791a84 rfp=0xcf791ad0 r10=0x00000000 r9=0x00000000 r8=0x00000000 r7=0x0000006b r6=0x00000000 r5=0x00000000 r4=0x0000000f vm_map_pmap_enter() at vm_map_pmap_enter+0x14 scp=0xc0b15610 rlv=0xc0b15e50 (vm_map_insert+0x298) rsp=0xcf791ad4 rfp=0xcf791b20 r10=0xc0e90b28 r9=0xc35b1000 r8=0x00000000 r7=0x00000000 r6=0x00000000 r5=0x00000000 r4=0x00000000 vm_map_insert() at vm_map_insert+0x10 scp=0xc0b15bc8 rlv=0xc09b07d4 (elf32_remove_brand_entry+0x510) rsp=0xcf791b24 rfp=0xcf791b68 r10=0x00073000 r9=0x00008000 r8=0xc35b1000 r7=0x00000000 r6=0x00000000 r5=0x00000005 r4=0x00000000 elf32_remove_brand_entry() at elf32_remove_brand_entry+0x2c8 scp=0xc09b058c rlv=0xc09b08e8 (elf32_remove_brand_entry+0x624) rsp=0xcf791b6c rfp=0xcf791bac r10=0x0006ae00 r9=0x00008000 r8=0xc0e90b28 r7=0x00000000 r6=0x0006ae00 r5=0xfffff000 r4=0x00073000 elf32_remove_brand_entry() at elf32_remove_brand_entry+0x554 scp=0xc09b0818 rlv=0xc09b1f28 (elf32_brand_inuse+0x61c) rsp=0xcf791bb0 rfp=0xcf791c4c r10=0xcf795034 r9=0x00000000 r8=0xc0bff9a8 r7=0xcf795000 r6=0xcf791cec r5=0x00000000 r4=0x00008000 elf32_brand_inuse() at elf32_brand_inuse+0xb4 scp=0xc09b19c0 rlv=0xc09c83d8 (kern_execve+0x278) rsp=0xcf791c50 rfp=0xcf791de4 r10=0x00000000 r9=0xc35af000 r8=0xcf791cec r7=0x00000000 r6=0xc0c08070 r5=0x00000000 r4=0x00000001 kern_execve() at kern_execve+0x10 scp=0xc09c8170 rlv=0xc09c8fac (execve+0x48) rsp=0xcf791de8 rfp=0xcf791e28 r10=0xbffffffd r9=0xc35ac000 r8=0xc0be7070 r7=0xc0be707a r6=0xbffffff2 r5=0xcf791dec r4=0xc35af000 execve() at execve+0x10 scp=0xc09c8f74 rlv=0xc09b2dac (exec_shell_imgact+0x914) rsp=0xcf791e2c rfp=0xcf791e80 r5=0xbfffffe4 r4=0xbfffffe8 exec_shell_imgact() at exec_shell_imgact+0x738 scp=0xc09b2bd0 rlv=0xc09cb3b8 (fork_exit+0x64) rsp=0xcf791e84 rfp=0xcf791ea8 r10=0xc09b2bc0 r9=0x00000000 r8=0x00000000 r7=0xcf791eac r6=0xc35ac000 r5=0xc0d82680 r4=0xc35af000 fork_exit() at fork_exit+0x10 scp=0xc09cb364 rlv=0xc0b3c25c (fork_trampoline+0x14) rsp=0xcf791eac rfp=0x00000000 r10=0x00000000 r8=0x00000000 r7=0x00000000 r6=0x00000000 r5=0x00000000 r4=0xc09b2bc0 lock order reversal: 1st 0xc35b0a78 pmap (pmap) @ /usr/src/sys/arm/arm/pmap.c:922 2nd 0xc0d815a4 vm object (uma object) @ /usr/src/sys/vm/uma_core.c:1026 KDB: stack backtrace: db_md_set_watchpoint() at db_md_set_watchpoint+0x18 scp=0xc0b2d4ec rlv=0xc0924d20 (X_db_sym_numargs+0x178) rsp=0xd2001964 rfp=0xd2001a80 r10=0xc356a318 r9=0x00000402 r8=0xc0d46184 r7=0xc356aa68 r6=0xffffffff r5=0xc0b5994c r4=0xd200196c X_db_sym_numargs() at X_db_sym_numargs+0x154 scp=0xc0924cfc rlv=0xc0a186f8 (kdb_backtrace+0x3c) rsp=0xd2001a84 rfp=0xd2001a94 r4=0xc0c16ec0 kdb_backtrace() at kdb_backtrace+0x10 scp=0xc0a186cc rlv=0xc0a2945c (witness_display_spinlock+0xac) rsp=0xd2001a98 rfp=0xd2001aac r4=0x00000001 witness_display_spinlock() at witness_display_spinlock+0x64 scp=0xc0a29414 rlv=0xc0a29f84 (witness_checkorder+0x5f4) rsp=0xd2001ab0 rfp=0xd2001af8 r5=0xc0d815a4 r4=0x00000000 witness_checkorder() at witness_checkorder+0x10 scp=0xc0a299a0 rlv=0xc09e18a4 (_mtx_lock_flags+0x34) rsp=0xd2001afc rfp=0xd2001b24 r10=0xc0d82680 r9=0xc0ea06e0 r8=0x00000402 r7=0xc0b92c14 r6=0x00000000 r5=0x00000000 r4=0xc0d815a4 _mtx_lock_flags() at _mtx_lock_flags+0x10 scp=0xc09e1880 rlv=0xc0b0be24 (uma_print_zone+0x2a0) rsp=0xd2001b28 rfp=0xd2001b64 r10=0x00001000 r8=0x00000101 r7=0x00000000 r6=0xc0ea06e0 r5=0xc0ea1600 r4=0xc0ea1600 uma_print_zone() at uma_print_zone+0x274 scp=0xc0b0bdf8 rlv=0xc0b0d7ec (uma_zcreate+0xd0) rsp=0xd2001b68 rfp=0xd2001ba4 r10=0xc0b0bde8 r9=0xc0ea06e0 r8=0x00000101 r7=0x00000000 r6=0xc0ea06e0 r5=0x00000001 r4=0xc0ea1600 uma_zcreate() at uma_zcreate+0x70 scp=0xc0b0d78c rlv=0xc0b0dd64 (uma_prealloc+0x198) rsp=0xd2001ba8 rfp=0xd2001bc8 r10=0xc0e97c48 r9=0x00000080 r8=0xc0ea06e0 r7=0x00000000 r6=0xc0ea06e0 r5=0x00000201 r4=0xc0ea1600 uma_prealloc() at uma_prealloc+0xd4 scp=0xc0b0dca0 rlv=0xc0b0de14 (uma_prealloc+0x248) rsp=0xd2001bcc rfp=0xd2001be4 r7=0x00000069 r6=0xc0ea06e0 r5=0x00000001 r4=0xc0ea1600 uma_prealloc() at uma_prealloc+0x21c scp=0xc0b0dde8 rlv=0xc0b0f094 (uma_zalloc_arg+0x32c) rsp=0xd2001be8 rfp=0xd2001c2c r6=0xc183dde8 r5=0x00000069 r4=0x00000069 uma_zalloc_arg() at uma_zalloc_arg+0x10 scp=0xc0b0ed78 rlv=0xc0b37578 (pmap_release+0xccc) rsp=0xd2001c30 rfp=0xd2001cac r10=0x00000000 r9=0x00000000 r8=0xc38a7000 r7=0xc35b0a78 r6=0x00000000 r5=0xc38a4c44 r4=0x01f3b00e pmap_release() at pmap_release+0x298 scp=0xc0b36b44 rlv=0xc0b37d3c (pmap_enter+0x70) rsp=0xd2001cb0 rfp=0xd2001ce0 r10=0x00000005 r9=0xc0d76dc0 r8=0xc0f3b584 r7=0x00023000 r6=0x00000000 r5=0xc35b0a78 r4=0xc0b95f68 pmap_enter() at pmap_enter+0x10 scp=0xc0b37cdc rlv=0xc0b12070 (vm_fault_hold+0x159c) rsp=0xd2001ce4 rfp=0xd2001e0c r10=0xd2001eac r9=0xc3854870 r8=0xc0e90b28 r7=0xc0f3b584 r6=0x00023000 r5=0xc35b09c8 r4=0x00000000 vm_fault_hold() at vm_fault_hold+0x10 scp=0xc0b10ae4 rlv=0xc0b1274c (vm_fault+0x20) rsp=0xd2001e10 rfp=0xd2001e20 r10=0xd2001eac r9=0xc3854870 r8=0xc3853000 r7=0x00000000 r6=0x00023000 r5=0xc35b09c8 r4=0xc38548f8 vm_fault() at vm_fault+0x10 scp=0xc0b1273c rlv=0xc0b3c788 (prefetch_abort_handler+0x140) rsp=0xd2001e24 rfp=0xd2001ea8 prefetch_abort_handler() at prefetch_abort_handler+0x10 scp=0xc0b3c658 rlv=0xc0b2ef78 (address_exception_entry+0x50) rsp=0xd2001eac rfp=0xbfffe86c r10=0x00000019 r9=0x00000012 r8=0x0006ad28 r7=0x0006a848 r6=0x00000001 r5=0xffff1004 r4=0x0007ae28 mge0: link state changed to UP From owner-freebsd-arm@FreeBSD.ORG Tue May 17 20:31:27 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E18F5106564A; Tue, 17 May 2011 20:31:27 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by mx1.freebsd.org (Postfix) with ESMTP id A9C8E8FC16; Tue, 17 May 2011 20:31:27 +0000 (UTC) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 8BA2A200DD; Tue, 17 May 2011 16:31:26 -0400 (EDT) Received: from frontend2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 17 May 2011 16:31:26 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=smtpout; bh=6xd+X9/0UoH19CnDQwpnt7YtVAk=; b=cgz2o3p5DPFVjrnX2W7z8GFgGxUUrEsMHG67tFMsPxpiQTb4uH/qOdIqPbJBK02wJNFSnDXFXYuM2dvxOXXJzXEyWNG6qZNIt/DK782NPjFP7WalgBQMeF0Q9Wm8vTXKliVBptzJ19B6vlu72LxUTff8W7JZvtjT3LYpLVEw/10= X-Sasl-enc: S4vCWwi6p9i2DyrO5gqGgk5k6jSvs4UYEuwWCrw75gJl 1305664285 Received: from localhost (222-154-122-100.jetstream.xtra.co.nz [222.154.122.100]) by mail.messagingengine.com (Postfix) with ESMTPA id 5F00D446A2C; Tue, 17 May 2011 16:31:25 -0400 (EDT) Date: Wed, 18 May 2011 08:31:17 +1200 From: Andrew Turner To: Mark Murray Message-ID: <20110518083117.761cf4c7@fubar.geek.nz> In-Reply-To: References: <20110425163549.2bcc8551@fubar.geek.nz> <20110425170105.37c7d853@fubar.geek.nz> <20110426035423.1b4b592c@fubar.geek.nz> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: OMAP3 patch 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, 17 May 2011 20:31:28 -0000 On Sat, 07 May 2011 12:17:10 +0100 Mark Murray wrote: > Did this. Didn't work: > > [graveyard] /usr/src 12:08 pm # cu -t -s 115200 -l /dev/cuaU0 > Connected > > > Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27) > Beagle xM Rev A > Reading boot sector > Loading u-boot.bin from mmc It appears you have a Beagleboard-xM. I haven't had a chance to test booting on the xM yet so it may be broken. The xM also needs a driver written to enable the USB host hardware. > U-Boot 2010.03-dirty (Aug 20 2010 - 20:50:46) > > OMAP3630/3730-GP ES2.0, CPU-OPP2, L3-165MHz, > OMAP3 Beagle board + LPDDR/NAND > I2C: ready > DRAM: 512 MB > NAND: 256 MiB > *** Warning - bad CRC or NAND, using default environment > > In: serial > Out: serial > Err: serial > > Probing for expansion boards, if none are connected you'll see a > harmless I2C error. > > No EEPROM on expansion board > Beagle xM Rev A > Die ID #7f4c00011ff00000015739eb0c00b026 > Hit any key to stop autoboot: 0 > mmc1 is available > The user button is currently NOT pressed. > reading boot.scr > > ** Unable to read "boot.scr" from mmc 1:1 ** > reading user.scr > > ** Unable to read "user.scr" from mmc 1:1 ** > reading uImage > > 3994161 bytes read > Booting from mmc ... > ## Booting kernel from Legacy Image at 80200000 ... > Image Name: FreeBSD > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 3994097 Bytes = 3.8 MB > Load Address: 80200000 > Entry Point: 802000e0 > Verifying Checksum ... OK > XIP Kernel Image ... OK These addresses are interesting. I don't think XIP will work. You can try to load the image to a different address in U-Boot or build FreeBSD to run at a different address. Andrew From owner-freebsd-arm@FreeBSD.ORG Tue May 17 21:37:48 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B329106566B for ; Tue, 17 May 2011 21:37:48 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id 03B018FC17 for ; Tue, 17 May 2011 21:37:47 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id p4HL0drq095117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 May 2011 23:00:40 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.4/8.14.4) with ESMTP id p4HL0adF043762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 May 2011 23:00:36 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id p4HL0ZLv016023; Tue, 17 May 2011 23:00:35 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id p4HL0YKQ016022; Tue, 17 May 2011 23:00:34 +0200 (CEST) (envelope-from ticso) Date: Tue, 17 May 2011 23:00:34 +0200 From: Bernd Walter To: Greg Ansley Message-ID: <20110517210034.GK7176@cicely7.cicely.de> References: <4C531E13.1070008@ansley.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C531E13.1070008@ansley.com> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org Subject: Re: at91sam9260: Patches X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2011 21:37:48 -0000 On Fri, Jul 30, 2010 at 02:46:43PM -0400, Greg Ansley wrote: > The following diff on top of my previous diff adds support for the > AT91SAM9260 chip and Atmel AT91SAM9260-EK Evaluation card. > > Using config file SAM9G20EK you can boot on both the 9260 and 9G20 based > development cards with the same binary. Are your changes already in current? I'm asking because I have a test board using a 9G45 CPU, which has many things in common with the 9G20. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Wed May 18 10:35:09 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 133FD1065672 for ; Wed, 18 May 2011 10:35:09 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) by mx1.freebsd.org (Postfix) with ESMTP id 5739E8FC0A for ; Wed, 18 May 2011 10:35:06 +0000 (UTC) Received: from uucp by gromit.grondar.org with local-rmail (Exim 4.73 (FreeBSD)) (envelope-from ) id 1QMe5p-000MQd-Or for freebsd-arm@freebsd.org; Wed, 18 May 2011 11:35:05 +0100 Received: from localhost ([127.0.0.1] helo=groundzero.grondar.org) by groundzero.grondar.org with esmtp (Exim 4.75 (FreeBSD)) (envelope-from ) id 1QMe3i-000MGW-0x; Wed, 18 May 2011 11:32:54 +0100 To: Andrew Turner In-reply-to: <20110518083117.761cf4c7@fubar.geek.nz> References: <20110425163549.2bcc8551@fubar.geek.nz> <20110425170105.37c7d853@fubar.geek.nz> <20110426035423.1b4b592c@fubar.geek.nz> <20110518083117.761cf4c7@fubar.geek.nz> From: Mark Murray Date: Wed, 18 May 2011 11:32:53 +0100 Message-Id: Cc: freebsd-arm@freebsd.org Subject: Re: OMAP3 patch 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, 18 May 2011 10:35:09 -0000 Andrew Turner writes: > On Sat, 07 May 2011 12:17:10 +0100 > Mark Murray wrote: > > > Did this. Didn't work: > > > > [graveyard] /usr/src 12:08 pm # cu -t -s 115200 -l /dev/cuaU0 > > Connected > > > > > > Texas Instruments X-Loader 1.4.4ss (Aug 19 2010 - 02:49:27) > > Beagle xM Rev A > > Reading boot sector > > Loading u-boot.bin from mmc > It appears you have a Beagleboard-xM. I haven't had a chance to test > booting on the xM yet so it may be broken. Oh bother :-) Yes I have an -xM. > The xM also needs a driver written to enable the USB host hardware. I've seen some traffic on that sobject recently. > > ** Unable to read "user.scr" from mmc 1:1 ** > > reading uImage > > > > 3994161 bytes read > > Booting from mmc ... > > ## Booting kernel from Legacy Image at 80200000 ... > > Image Name: FreeBSD > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 3994097 Bytes = 3.8 MB > > Load Address: 80200000 > > Entry Point: 802000e0 > > Verifying Checksum ... OK > > XIP Kernel Image ... OK > These addresses are interesting. I don't think XIP will work. You can > try to load the image to a different address in U-Boot or build FreeBSD > to run at a different address. Erm, OK. :-) Suggestions of where to look to find alternatives? Try what instead of XIP? Thanks! M -- Mark R V Murray Cert APS(Open) Dip Phys(Open) BSc Open(Open) BSc(Hons)(Open) Pi: 132511160 From owner-freebsd-arm@FreeBSD.ORG Wed May 18 12:27:28 2011 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 3FCB8106566B; Wed, 18 May 2011 12:27:28 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id EBD938FC13; Wed, 18 May 2011 12:27:27 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p4ICRR67042427; Wed, 18 May 2011 08:27:27 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p4ICRRUO042370; Wed, 18 May 2011 12:27:27 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 18 May 2011 12:27:27 GMT Message-Id: <201105181227.p4ICRRUO042370@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 May 2011 12:27:28 -0000 TB --- 2011-05-18 11:00:01 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-05-18 11:00:01 - starting HEAD tinderbox run for arm/arm TB --- 2011-05-18 11:00:01 - cleaning the object tree TB --- 2011-05-18 11:00:15 - cvsupping the source tree TB --- 2011-05-18 11:00:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2011-05-18 11:01:16 - building world TB --- 2011-05-18 11:01:16 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 11:01:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 11:01:16 - TARGET=arm TB --- 2011-05-18 11:01:16 - TARGET_ARCH=arm TB --- 2011-05-18 11:01:16 - TZ=UTC TB --- 2011-05-18 11:01:16 - __MAKE_CONF=/dev/null TB --- 2011-05-18 11:01:16 - cd /src TB --- 2011-05-18 11:01:16 - /usr/bin/make -B buildworld >>> World build started on Wed May 18 11:01:17 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Wed May 18 11:53:20 UTC 2011 TB --- 2011-05-18 11:53:20 - WARNING: no kernel config for LINT TB --- 2011-05-18 11:53:20 - cd /src/sys/arm/conf TB --- 2011-05-18 11:53:20 - /usr/sbin/config -m AVILA TB --- 2011-05-18 11:53:20 - building AVILA kernel TB --- 2011-05-18 11:53:20 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 11:53:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 11:53:20 - TARGET=arm TB --- 2011-05-18 11:53:20 - TARGET_ARCH=arm TB --- 2011-05-18 11:53:20 - TZ=UTC TB --- 2011-05-18 11:53:20 - __MAKE_CONF=/dev/null TB --- 2011-05-18 11:53:20 - cd /src TB --- 2011-05-18 11:53:20 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Wed May 18 11:53:20 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for AVILA completed on Wed May 18 11:56:07 UTC 2011 TB --- 2011-05-18 11:56:07 - cd /src/sys/arm/conf TB --- 2011-05-18 11:56:07 - /usr/sbin/config -m BWCT TB --- 2011-05-18 11:56:07 - building BWCT kernel TB --- 2011-05-18 11:56:07 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 11:56:07 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 11:56:07 - TARGET=arm TB --- 2011-05-18 11:56:07 - TARGET_ARCH=arm TB --- 2011-05-18 11:56:07 - TZ=UTC TB --- 2011-05-18 11:56:07 - __MAKE_CONF=/dev/null TB --- 2011-05-18 11:56:07 - cd /src TB --- 2011-05-18 11:56:07 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Wed May 18 11:56:07 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for BWCT completed on Wed May 18 11:58:02 UTC 2011 TB --- 2011-05-18 11:58:02 - cd /src/sys/arm/conf TB --- 2011-05-18 11:58:02 - /usr/sbin/config -m CAMBRIA TB --- 2011-05-18 11:58:02 - building CAMBRIA kernel TB --- 2011-05-18 11:58:02 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 11:58:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 11:58:02 - TARGET=arm TB --- 2011-05-18 11:58:02 - TARGET_ARCH=arm TB --- 2011-05-18 11:58:02 - TZ=UTC TB --- 2011-05-18 11:58:02 - __MAKE_CONF=/dev/null TB --- 2011-05-18 11:58:02 - cd /src TB --- 2011-05-18 11:58:02 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Wed May 18 11:58:03 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CAMBRIA completed on Wed May 18 12:00:45 UTC 2011 TB --- 2011-05-18 12:00:45 - cd /src/sys/arm/conf TB --- 2011-05-18 12:00:45 - /usr/sbin/config -m CNS11XXNAS TB --- 2011-05-18 12:00:45 - building CNS11XXNAS kernel TB --- 2011-05-18 12:00:45 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:00:45 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:00:45 - TARGET=arm TB --- 2011-05-18 12:00:45 - TARGET_ARCH=arm TB --- 2011-05-18 12:00:45 - TZ=UTC TB --- 2011-05-18 12:00:45 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:00:45 - cd /src TB --- 2011-05-18 12:00:45 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Wed May 18 12:00:45 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CNS11XXNAS completed on Wed May 18 12:03:01 UTC 2011 TB --- 2011-05-18 12:03:01 - cd /src/sys/arm/conf TB --- 2011-05-18 12:03:01 - /usr/sbin/config -m CRB TB --- 2011-05-18 12:03:01 - building CRB kernel TB --- 2011-05-18 12:03:01 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:03:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:03:01 - TARGET=arm TB --- 2011-05-18 12:03:01 - TARGET_ARCH=arm TB --- 2011-05-18 12:03:01 - TZ=UTC TB --- 2011-05-18 12:03:01 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:03:01 - cd /src TB --- 2011-05-18 12:03:01 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Wed May 18 12:03:01 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for CRB completed on Wed May 18 12:06:05 UTC 2011 TB --- 2011-05-18 12:06:05 - cd /src/sys/arm/conf TB --- 2011-05-18 12:06:05 - /usr/sbin/config -m DOCKSTAR TB --- 2011-05-18 12:06:05 - building DOCKSTAR kernel TB --- 2011-05-18 12:06:05 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:06:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:06:05 - TARGET=arm TB --- 2011-05-18 12:06:05 - TARGET_ARCH=arm TB --- 2011-05-18 12:06:05 - TZ=UTC TB --- 2011-05-18 12:06:05 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:06:05 - cd /src TB --- 2011-05-18 12:06:05 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Wed May 18 12:06:05 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for DOCKSTAR completed on Wed May 18 12:08:25 UTC 2011 TB --- 2011-05-18 12:08:25 - cd /src/sys/arm/conf TB --- 2011-05-18 12:08:25 - /usr/sbin/config -m EP80219 TB --- 2011-05-18 12:08:25 - building EP80219 kernel TB --- 2011-05-18 12:08:25 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:08:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:08:25 - TARGET=arm TB --- 2011-05-18 12:08:25 - TARGET_ARCH=arm TB --- 2011-05-18 12:08:25 - TZ=UTC TB --- 2011-05-18 12:08:25 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:08:25 - cd /src TB --- 2011-05-18 12:08:25 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Wed May 18 12:08:25 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for EP80219 completed on Wed May 18 12:11:02 UTC 2011 TB --- 2011-05-18 12:11:02 - WARNING: no kernel config for GENERIC TB --- 2011-05-18 12:11:02 - cd /src/sys/arm/conf TB --- 2011-05-18 12:11:02 - /usr/sbin/config -m GUMSTIX TB --- 2011-05-18 12:11:02 - building GUMSTIX kernel TB --- 2011-05-18 12:11:02 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:11:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:11:02 - TARGET=arm TB --- 2011-05-18 12:11:02 - TARGET_ARCH=arm TB --- 2011-05-18 12:11:02 - TZ=UTC TB --- 2011-05-18 12:11:02 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:11:02 - cd /src TB --- 2011-05-18 12:11:02 - /usr/bin/make -B buildkernel KERNCONF=GUMSTIX >>> Kernel build for GUMSTIX started on Wed May 18 12:11:02 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for GUMSTIX completed on Wed May 18 12:13:04 UTC 2011 TB --- 2011-05-18 12:13:04 - cd /src/sys/arm/conf TB --- 2011-05-18 12:13:04 - /usr/sbin/config -m HL200 TB --- 2011-05-18 12:13:06 - building HL200 kernel TB --- 2011-05-18 12:13:06 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:13:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:13:06 - TARGET=arm TB --- 2011-05-18 12:13:06 - TARGET_ARCH=arm TB --- 2011-05-18 12:13:06 - TZ=UTC TB --- 2011-05-18 12:13:06 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:13:06 - cd /src TB --- 2011-05-18 12:13:06 - /usr/bin/make -B buildkernel KERNCONF=HL200 >>> Kernel build for HL200 started on Wed May 18 12:13:06 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for HL200 completed on Wed May 18 12:15:30 UTC 2011 TB --- 2011-05-18 12:15:30 - cd /src/sys/arm/conf TB --- 2011-05-18 12:15:30 - /usr/sbin/config -m HL201 TB --- 2011-05-18 12:15:30 - building HL201 kernel TB --- 2011-05-18 12:15:30 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:15:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:15:30 - TARGET=arm TB --- 2011-05-18 12:15:30 - TARGET_ARCH=arm TB --- 2011-05-18 12:15:30 - TZ=UTC TB --- 2011-05-18 12:15:30 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:15:30 - cd /src TB --- 2011-05-18 12:15:30 - /usr/bin/make -B buildkernel KERNCONF=HL201 >>> Kernel build for HL201 started on Wed May 18 12:15:31 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for HL201 completed on Wed May 18 12:17:37 UTC 2011 TB --- 2011-05-18 12:17:37 - cd /src/sys/arm/conf TB --- 2011-05-18 12:17:37 - /usr/sbin/config -m IQ31244 TB --- 2011-05-18 12:17:37 - building IQ31244 kernel TB --- 2011-05-18 12:17:37 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:17:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:17:37 - TARGET=arm TB --- 2011-05-18 12:17:37 - TARGET_ARCH=arm TB --- 2011-05-18 12:17:37 - TZ=UTC TB --- 2011-05-18 12:17:37 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:17:37 - cd /src TB --- 2011-05-18 12:17:37 - /usr/bin/make -B buildkernel KERNCONF=IQ31244 >>> Kernel build for IQ31244 started on Wed May 18 12:17:37 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for IQ31244 completed on Wed May 18 12:20:35 UTC 2011 TB --- 2011-05-18 12:20:35 - cd /src/sys/arm/conf TB --- 2011-05-18 12:20:35 - /usr/sbin/config -m KB920X TB --- 2011-05-18 12:20:35 - building KB920X kernel TB --- 2011-05-18 12:20:35 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-18 12:20:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-18 12:20:35 - TARGET=arm TB --- 2011-05-18 12:20:35 - TARGET_ARCH=arm TB --- 2011-05-18 12:20:35 - TZ=UTC TB --- 2011-05-18 12:20:35 - __MAKE_CONF=/dev/null TB --- 2011-05-18 12:20:35 - cd /src TB --- 2011-05-18 12:20:35 - /usr/bin/make -B buildkernel KERNCONF=KB920X >>> Kernel build for KB920X started on Wed May 18 12:20:35 UTC 2011 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] awk -f /src/sys/conf/kmod_syms.awk ng_bt3c.kld export_syms | xargs -J% objcopy % ng_bt3c.kld ld -Bshareable -d -warn-common -o ng_bt3c.ko.debug ng_bt3c.kld objcopy --only-keep-debug ng_bt3c.ko.debug ng_bt3c.ko.symbols objcopy --strip-debug --add-gnu-debuglink=ng_bt3c.ko.symbols ng_bt3c.ko.debug ng_bt3c.ko ===> netgraph/bluetooth/ubt (all) cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/include -I/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt -DHAVE_KERNEL_OPTION_HEADERS -include /obj/arm.arm/src/sys/KB920X/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/obj/arm.arm/src/sys/KB920X -mcpu=arm9 -ffreestanding -std=iso9899:1999 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -c /src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c /src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c: In function 'ubt_probe': /src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c:419: error: 'struct usb_attach_arg' has no member named 'use_generic' *** Error code 1 Stop in /src/sys/modules/netgraph/bluetooth/ubt. *** Error code 1 Stop in /src/sys/modules/netgraph/bluetooth. *** Error code 1 Stop in /src/sys/modules/netgraph. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/arm.arm/src/sys/KB920X. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-05-18 12:27:26 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-05-18 12:27:26 - ERROR: failed to build KB920X kernel TB --- 2011-05-18 12:27:26 - 3900.62 user 938.16 system 5245.41 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri May 20 23:34:07 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E76E5106566B; Fri, 20 May 2011 23:34:07 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3F5978FC0C; Fri, 20 May 2011 23:34:06 +0000 (UTC) Received: by bwz12 with SMTP id 12so4742544bwz.13 for ; Fri, 20 May 2011 16:34:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer; bh=dGtb197qGGIaKQASPQvaomsCXgzlCjzIJEot0yg2zdw=; b=QoNHSWRNG7kwSWN0m61kFuireEzkSywMrgx4eqwCQ/5sLd0c1AmtoPhcc5KNqvy2PJ Yw9ywdiuBt73pvQGRvziSH7ZW9BeA+ASd4QOojZmhhERXlfmUo2qcLzazNmAMYzSPMVr hfON7U0g5eVm2mQODjET/zV7eCjc27jL2GvvI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=X8ebut4Et2SZUQPfwIUw40UE+4wVd3rpj4KMRfmKFS9httJgf7eRMyY/lB+fOvQZQM qrnqk/V1keTRg434KxW/HYx0CKQylgtOEwa/UxXLae7ybegiSihDqv4iz8PdKSSgaUM7 FaIgVr5cdDQPxfWXVQeLazs4AGDpkXcWM7myA= Received: by 10.204.80.223 with SMTP id u31mr139642bkk.121.1305934445917; Fri, 20 May 2011 16:34:05 -0700 (PDT) Received: from [192.168.123.4] (cpe-109-60-66-194.zg3.cable.xnet.hr [109.60.66.194]) by mx.google.com with ESMTPS id q24sm2423690bks.21.2011.05.20.16.34.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 May 2011 16:34:04 -0700 (PDT) From: Damjan Marion Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sat, 21 May 2011 01:34:02 +0200 Message-Id: To: freebsd-arm@freebsd.org, freebsd-hackers@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Cc: Subject: vm_fault when accessing PCI address space 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: Fri, 20 May 2011 23:34:08 -0000 Hi, I'm made some progress on porting existing marvell orion ARM code=20 to work on 88F5181L SoC which have embedded PCI controller. PCI driver detects resources and recognizes Atheros wlan card,=20 however when driver tries to access 1st register with bus_space_write_4 vm_fault happens: vm_fault(0xc0e4f000, e8007000, 2, 0) -> 1 Fatal kernel mode data abort: 'Translation Fault (S)' trapframe: 0xc0d3faa4 FSR=3D00000005, FAR=3De800704c, spsr=3D600000d3 r0 =3D00000000, r1 =3De8000000, r2 =3D0000704c, r3 =3D00000003 r4 =3Dc13cd000, r5 =3Dc0c4bd60, r6 =3Dc0bece04, r7 =3Dc12dd000 r8 =3D00000023, r9 =3Dc0d074c8, r10=3Dc0d3fba4, r11=3Dc0d3fb00 r12=3D00000000, ssp=3Dc0d3faf0, slr=3Dc095f830, pc =3Dc0bece04 [ thread pid 0 tid 100000 ] Stopped at generic_bs_w_4: str r3, [r1, r2] 0xe8000000 is PCI mem space. I can see that PCI driver (mv_pci.c) = allocates this resource: pcib0: mem = 0xf1030000-0xf1031fff irq 0 on fdtbus0 pci0: on pcib0 mv_pcib_alloc_resource: start=3D0xe8000000 end=3D0xe800ffff = count=3D0x00010000 flags=3D0x00 What can be the reason for this vm_fault?=20 Thanks for any hint or idea, Damjan From owner-freebsd-arm@FreeBSD.ORG Sat May 21 06:46:21 2011 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 688A7106566B; Sat, 21 May 2011 06:46:21 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 22F5E8FC14; Sat, 21 May 2011 06:46:20 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.4) with ESMTP id p4L6kJtR067333; Sat, 21 May 2011 02:46:20 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.4/Submit) id p4L6kJFH067321; Sat, 21 May 2011 06:46:19 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 21 May 2011 06:46:19 GMT Message-Id: <201105210646.p4L6kJFH067321@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on arm/arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2011 06:46:21 -0000 TB --- 2011-05-21 06:10:01 - tinderbox 2.7 running on freebsd-current.sentex.ca TB --- 2011-05-21 06:10:01 - starting HEAD tinderbox run for arm/arm TB --- 2011-05-21 06:10:01 - cleaning the object tree TB --- 2011-05-21 06:10:18 - cvsupping the source tree TB --- 2011-05-21 06:10:18 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2011-05-21 06:11:35 - building world TB --- 2011-05-21 06:11:35 - MAKEOBJDIRPREFIX=/obj TB --- 2011-05-21 06:11:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-05-21 06:11:35 - TARGET=arm TB --- 2011-05-21 06:11:35 - TARGET_ARCH=arm TB --- 2011-05-21 06:11:35 - TZ=UTC TB --- 2011-05-21 06:11:35 - __MAKE_CONF=/dev/null TB --- 2011-05-21 06:11:35 - cd /src TB --- 2011-05-21 06:11:35 - /usr/bin/make -B buildworld >>> World build started on Sat May 21 06:11:35 UTC 2011 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. -I/src/gnu/usr.bin/binutils/ld -I/src/gnu/usr.bin/binutils/ld/../libbfd -I/obj/arm.arm/src/gnu/usr.bin/binutils/ld/../libbfd -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DTARGET=\"arm-unknown-freebsd\" -DDEFAULT_EMULATION=\"armelf_fbsd\" -DSCRIPTDIR=\"/usr/libdata\" -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" -DTARGET_SYSTEM_ROOT=\"\" -DTOOLBINDIR=\"//usr/bin/libexec\" -D_GNU_SOURCE -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldlang.c cc -O -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. -I/src/gnu/usr.bin/binutils/ld -I/src/gnu/usr.bin/binutils/ld/../libbfd -I/obj/arm.arm/src/gnu/usr.bin/binutils/ld/../libbfd -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DTARGET=\"arm-unknown-freebsd\" -DDEFAULT_EMULATION=\"armelf_fbsd\" -DSCRIPTDIR=\"/usr/libdata\" -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" -DTARGET_SYSTEM_ROOT=\"\" -DTOOLBINDIR=\"//usr/bin/libexec\" -D_GNU_SOURCE -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c ldlex.c cc -O -pipe -DBFD_DEFAULT_TARGET_SIZE=32 -I. -I/src/gnu/usr.bin/binutils/ld -I/src/gnu/usr.bin/binutils/ld/../libbfd -I/obj/arm.arm/src/gnu/usr.bin/binutils/ld/../libbfd -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DTARGET=\"arm-unknown-freebsd\" -DDEFAULT_EMULATION=\"armelf_fbsd\" -DSCRIPTDIR=\"/usr/libdata\" -DBFD_VERSION_STRING=\""2.17.50 [FreeBSD] 2007-07-03"\" -DBINDIR=\"/usr/bin\" -DTARGET_SYSTEM_ROOT=\"\" -DTOOLBINDIR=\"//usr/bin/libexec\" -D_GNU_SOURCE -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldmain.c /src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldmain.c: In function 'main': /src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld/ldmain.c:185: internal compiler error: in var_ann, at tree-flow-inline.h:128 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. *** Error code 1 Stop in /src/gnu/usr.bin/binutils/ld. *** Error code 1 Stop in /src/gnu/usr.bin/binutils. *** Error code 1 Stop in /src/gnu/usr.bin. *** Error code 1 Stop in /src/gnu. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-05-21 06:46:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-05-21 06:46:19 - ERROR: failed to build world TB --- 2011-05-21 06:46:19 - 1449.23 user 480.12 system 2178.75 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sat May 21 08:27:37 2011 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07AC91065674; Sat, 21 May 2011 08:27:37 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id C4A318FC0A; Sat, 21 May 2011 08:27:36 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.messagingengine.com (Postfix) with ESMTP id BB00C20595; Sat, 21 May 2011 04:27:35 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute4.internal (MEProxy); Sat, 21 May 2011 04:27:35 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=smtpout; bh=j0PKu2UXgjAj15BEKelQTALsUCU=; b=Ijlq0OFgycWrCc6OgQhcFFVrsFcnmQrO8MMFOe6hz733U1CYb6SJTQ/M1af6ZievweuU+0Uwe9+mW2u0PEP1/By4xCh00JQZMSZaNkgp+UvCbwmqKWoz7gZYg7X7Iiih/1Bjv3qMfvGlRfPA1kcXFLrW45WjRivTLNn9mU64LUs= X-Sasl-enc: Y1tydHM/qyK89Meh7KnKkIsn90hcnOI0pg+aTKWJOZbS 1305966455 Received: from localhost (222-154-122-100.jetstream.xtra.co.nz [222.154.122.100]) by mail.messagingengine.com (Postfix) with ESMTPA id 7CB814021FF; Sat, 21 May 2011 04:27:34 -0400 (EDT) Date: Sat, 21 May 2011 20:27:34 +1200 From: Andrew Turner To: Mark Murray Message-ID: <20110521202734.51d042e6@fubar.geek.nz> In-Reply-To: References: <20110425163549.2bcc8551@fubar.geek.nz> <20110425170105.37c7d853@fubar.geek.nz> <20110426035423.1b4b592c@fubar.geek.nz> <20110518083117.761cf4c7@fubar.geek.nz> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; i386-portbld-freebsd8.0) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Cc: freebsd-arm@freebsd.org Subject: Re: OMAP3 patch 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: Sat, 21 May 2011 08:27:37 -0000 On Wed, 18 May 2011 11:32:53 +0100 Mark Murray wrote: > Andrew Turner writes: > > It appears you have a Beagleboard-xM. I haven't had a chance to test > > booting on the xM yet so it may be broken. >=20 > Oh bother :-) Yes I have an -xM. =46rom a software point of view the DM3730 in the -xM and the OMAP3530 are almost identical. The main differences between the boards are the peripherals. I've tested the same binary on both now and it boots (see below). > > The xM also needs a driver written to enable the USB host hardware. >=20 > I've seen some traffic on that sobject recently. The 4 USB Host connectors are attached to a USB PHY that is enabled via the TPS65950 chip's LED interface. The only requirement to get USB working should be to set the appropriate line high. Alternatively you could try to get the USB OTG working as a host if you have the appropriate cable. >=20 > > > ** Unable to read "user.scr" from mmc 1:1 ** > > > reading uImage > > >=20 > > > 3994161 bytes read > > > Booting from mmc ... > > > ## Booting kernel from Legacy Image at 80200000 ... > > > Image Name: FreeBSD > > > Image Type: ARM Linux Kernel Image (uncompressed) > > > Data Size: 3994097 Bytes =3D 3.8 MB > > > Load Address: 80200000 > > > Entry Point: 802000e0 > > > Verifying Checksum ... OK > > > XIP Kernel Image ... OK > > These addresses are interesting. I don't think XIP will work. You > > can try to load the image to a different address in U-Boot or build > > FreeBSD to run at a different address. >=20 > Erm, OK. :-) >=20 > Suggestions of where to look to find alternatives? I've put an updated copy of std.omap3 at [1]. Place it in sys/arm/cortexa8/omap3. With it I've managed to get FreeBSD to the mountroot prompt. Because the kernel is running from a different address you will need to do a full buildkernel. I've updated the kernel build script at [2] to be smarter about setting the load address (i.e. not hard coded). As far as I can tell U-Boot uses memmove to copy the kernel from where it is loaded to where it will be run from. This means the requirements for the kernel's load address are: * Don't overwrite the U-Boot code * Be different from the loadaddr U-Boot variable > Try what instead of XIP? Normally U-Boot will load the kernel to $loadaddr then copy it to the correct location. There is a short header with the information it needs to do this. When this $loadaddr and the value printed after "Load Address:" are the same no copy takes place. Andrew [1] http://fubar.geek.nz/files/freebsd/omap/std.omap3 [2] http://fubar.geek.nz/files/freebsd/omap/build_beagle.sh From owner-freebsd-arm@FreeBSD.ORG Sat May 21 17:05:22 2011 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 090B6106564A; Sat, 21 May 2011 17:05:22 +0000 (UTC) (envelope-from john@thinlinx.com) Received: from omr1.networksolutionsemail.com (omr1.networksolutionsemail.com [205.178.146.51]) by mx1.freebsd.org (Postfix) with ESMTP id CF2B98FC16; Sat, 21 May 2011 17:05:20 +0000 (UTC) Received: from cm-omr13 (mail.networksolutionsemail.com [205.178.146.50]) by omr1.networksolutionsemail.com (8.13.6/8.13.6) with ESMTP id p4LGnLCd012435; Sat, 21 May 2011 12:49:21 -0400 X-Authenticated-IP: 120.151.213.137 Received: from [120.151.213.137] ([120.151.213.137:60727] helo=[192.168.25.1]) by cm-omr13 (envelope-from ) (ecelerity 2.2.2.41 r(31179/31189)) with ESMTP id 69/3C-28449-F0DE7DD4; Sat, 21 May 2011 12:49:21 -0400 From: John Nicholls To: freebsd-arm@FreeBSD.org, Mark Murray , Andrew Turner Content-Type: text/plain Date: Sun, 22 May 2011 02:47:48 +1000 Message-Id: <1305996468.21869.9.camel@xeon.thinmesh.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: Subject: Beagleboard Kernel Development - Load Kernel in 2 seconds 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: Sat, 21 May 2011 17:05:22 -0000 To help speed up Kernel development I have sent some developers a new version of u-boot that uses the USB device to transfer the Kernel instead of booting it off the SD card The Kernel loads over the USB device port in about 2 seconds. If anybody wants a copy of the u-boot binary and the instructions to use it just email me. We can't use tftp from u-boot as there is no u-boot support on the BeafleboardXM for the combo USB Host / Ethernet chip...