From owner-freebsd-arm@FreeBSD.ORG Sun Jul 1 04:36:13 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 2C8091065675; Sun, 1 Jul 2012 04:36:13 +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 E44E68FC1A; Sun, 1 Jul 2012 04:36:12 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q614a6Vv016910; Sun, 1 Jul 2012 00:36:06 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q614a6tj016909; Sun, 1 Jul 2012 04:36:06 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 1 Jul 2012 04:36:06 GMT Message-Id: <201207010436.q614a6tj016909@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: Sun, 01 Jul 2012 04:36:13 -0000 TB --- 2012-07-01 03:10:01 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-07-01 03:10:01 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-07-01 03:10:01 - starting HEAD tinderbox run for arm/arm TB --- 2012-07-01 03:10:01 - cleaning the object tree TB --- 2012-07-01 03:14:01 - cvsupping the source tree TB --- 2012-07-01 03:14:01 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-07-01 03:14:39 - building world TB --- 2012-07-01 03:14:39 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 03:14:39 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 03:14:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 03:14:39 - SRCCONF=/dev/null TB --- 2012-07-01 03:14:39 - TARGET=arm TB --- 2012-07-01 03:14:39 - TARGET_ARCH=arm TB --- 2012-07-01 03:14:39 - TZ=UTC TB --- 2012-07-01 03:14:39 - __MAKE_CONF=/dev/null TB --- 2012-07-01 03:14:39 - cd /src TB --- 2012-07-01 03:14:39 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 03:14:39 UTC 2012 >>> 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 Sun Jul 1 04:17:57 UTC 2012 TB --- 2012-07-01 04:17:57 - cd /src/sys/arm/conf TB --- 2012-07-01 04:17:57 - /usr/sbin/config -m AVILA TB --- 2012-07-01 04:17:57 - skipping AVILA kernel TB --- 2012-07-01 04:17:57 - cd /src/sys/arm/conf TB --- 2012-07-01 04:17:57 - /usr/sbin/config -m BWCT TB --- 2012-07-01 04:17:57 - building BWCT kernel TB --- 2012-07-01 04:17:57 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 04:17:57 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 04:17:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 04:17:57 - SRCCONF=/dev/null TB --- 2012-07-01 04:17:57 - TARGET=arm TB --- 2012-07-01 04:17:57 - TARGET_ARCH=arm TB --- 2012-07-01 04:17:57 - TZ=UTC TB --- 2012-07-01 04:17:57 - __MAKE_CONF=/dev/null TB --- 2012-07-01 04:17:57 - cd /src TB --- 2012-07-01 04:17:57 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Sun Jul 1 04:17:57 UTC 2012 >>> 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 Sun Jul 1 04:20:10 UTC 2012 TB --- 2012-07-01 04:20:10 - cd /src/sys/arm/conf TB --- 2012-07-01 04:20:10 - /usr/sbin/config -m CAMBRIA TB --- 2012-07-01 04:20:10 - skipping CAMBRIA kernel TB --- 2012-07-01 04:20:10 - cd /src/sys/arm/conf TB --- 2012-07-01 04:20:10 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-07-01 04:20:10 - building CNS11XXNAS kernel TB --- 2012-07-01 04:20:10 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 04:20:10 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 04:20:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 04:20:10 - SRCCONF=/dev/null TB --- 2012-07-01 04:20:10 - TARGET=arm TB --- 2012-07-01 04:20:10 - TARGET_ARCH=arm TB --- 2012-07-01 04:20:10 - TZ=UTC TB --- 2012-07-01 04:20:10 - __MAKE_CONF=/dev/null TB --- 2012-07-01 04:20:10 - cd /src TB --- 2012-07-01 04:20:10 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Sun Jul 1 04:20:10 UTC 2012 >>> 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 Sun Jul 1 04:22:38 UTC 2012 TB --- 2012-07-01 04:22:38 - cd /src/sys/arm/conf TB --- 2012-07-01 04:22:38 - /usr/sbin/config -m CRB TB --- 2012-07-01 04:22:38 - skipping CRB kernel TB --- 2012-07-01 04:22:38 - cd /src/sys/arm/conf TB --- 2012-07-01 04:22:38 - /usr/sbin/config -m DB-78XXX TB --- 2012-07-01 04:22:38 - building DB-78XXX kernel TB --- 2012-07-01 04:22:38 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 04:22:38 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 04:22:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 04:22:38 - SRCCONF=/dev/null TB --- 2012-07-01 04:22:38 - TARGET=arm TB --- 2012-07-01 04:22:38 - TARGET_ARCH=arm TB --- 2012-07-01 04:22:38 - TZ=UTC TB --- 2012-07-01 04:22:38 - __MAKE_CONF=/dev/null TB --- 2012-07-01 04:22:38 - cd /src TB --- 2012-07-01 04:22:38 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Sun Jul 1 04:22:38 UTC 2012 >>> 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 DB-78XXX completed on Sun Jul 1 04:25:28 UTC 2012 TB --- 2012-07-01 04:25:28 - cd /src/sys/arm/conf TB --- 2012-07-01 04:25:28 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-07-01 04:25:28 - building DB-88F5XXX kernel TB --- 2012-07-01 04:25:28 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 04:25:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 04:25:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 04:25:28 - SRCCONF=/dev/null TB --- 2012-07-01 04:25:28 - TARGET=arm TB --- 2012-07-01 04:25:28 - TARGET_ARCH=arm TB --- 2012-07-01 04:25:28 - TZ=UTC TB --- 2012-07-01 04:25:28 - __MAKE_CONF=/dev/null TB --- 2012-07-01 04:25:28 - cd /src TB --- 2012-07-01 04:25:28 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Sun Jul 1 04:25:28 UTC 2012 >>> 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 DB-88F5XXX completed on Sun Jul 1 04:28:10 UTC 2012 TB --- 2012-07-01 04:28:10 - cd /src/sys/arm/conf TB --- 2012-07-01 04:28:10 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-07-01 04:28:10 - building DB-88F6XXX kernel TB --- 2012-07-01 04:28:10 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 04:28:10 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 04:28:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 04:28:10 - SRCCONF=/dev/null TB --- 2012-07-01 04:28:10 - TARGET=arm TB --- 2012-07-01 04:28:10 - TARGET_ARCH=arm TB --- 2012-07-01 04:28:10 - TZ=UTC TB --- 2012-07-01 04:28:10 - __MAKE_CONF=/dev/null TB --- 2012-07-01 04:28:10 - cd /src TB --- 2012-07-01 04:28:10 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Sun Jul 1 04:28:10 UTC 2012 >>> 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 DB-88F6XXX completed on Sun Jul 1 04:31:03 UTC 2012 TB --- 2012-07-01 04:31:03 - cd /src/sys/arm/conf TB --- 2012-07-01 04:31:03 - /usr/sbin/config -m DOCKSTAR TB --- 2012-07-01 04:31:03 - building DOCKSTAR kernel TB --- 2012-07-01 04:31:03 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 04:31:03 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 04:31:03 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 04:31:03 - SRCCONF=/dev/null TB --- 2012-07-01 04:31:03 - TARGET=arm TB --- 2012-07-01 04:31:03 - TARGET_ARCH=arm TB --- 2012-07-01 04:31:03 - TZ=UTC TB --- 2012-07-01 04:31:03 - __MAKE_CONF=/dev/null TB --- 2012-07-01 04:31:03 - cd /src TB --- 2012-07-01 04:31:03 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Sun Jul 1 04:31:03 UTC 2012 >>> 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 Sun Jul 1 04:33:37 UTC 2012 TB --- 2012-07-01 04:33:37 - cd /src/sys/arm/conf TB --- 2012-07-01 04:33:37 - /usr/sbin/config -m EP80219 TB --- 2012-07-01 04:33:37 - skipping EP80219 kernel TB --- 2012-07-01 04:33:37 - cd /src/sys/arm/conf TB --- 2012-07-01 04:33:37 - /usr/sbin/config -m ETHERNUT5 TB --- 2012-07-01 04:33:38 - building ETHERNUT5 kernel TB --- 2012-07-01 04:33:38 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 04:33:38 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 04:33:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 04:33:38 - SRCCONF=/dev/null TB --- 2012-07-01 04:33:38 - TARGET=arm TB --- 2012-07-01 04:33:38 - TARGET_ARCH=arm TB --- 2012-07-01 04:33:38 - TZ=UTC TB --- 2012-07-01 04:33:38 - __MAKE_CONF=/dev/null TB --- 2012-07-01 04:33:38 - cd /src TB --- 2012-07-01 04:33:38 - /usr/bin/make -B buildkernel KERNCONF=ETHERNUT5 >>> Kernel build for ETHERNUT5 started on Sun Jul 1 04:33:38 UTC 2012 >>> 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 -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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=arm9 -mno-apcs-frame -ffreestanding -Werror /src/sys/geom/geom_kern.c cc -mlittle-endian -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -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=arm9 -mno-apcs-frame -ffreestanding -Werror /src/sys/geom/geom_map.c cc1: warnings being treated as errors /src/sys/geom/geom_map.c: In function 'g_map_parse_part': /src/sys/geom/geom_map.c:327: warning: format '%lx' expects type 'long unsigned int', but argument 2 has type 'off_t' [-Wformat] /src/sys/geom/geom_map.c:327: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'off_t' [-Wformat] /src/sys/geom/geom_map.c:327: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'off_t' [-Wformat] /src/sys/geom/geom_map.c:327: warning: format '%lx' expects type 'long unsigned int', but argument 5 has type 'off_t' [-Wformat] *** Error code 1 Stop in /obj/arm.arm/src/sys/ETHERNUT5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-07-01 04:36:06 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-07-01 04:36:06 - ERROR: failed to build ETHERNUT5 kernel TB --- 2012-07-01 04:36:06 - 3286.76 user 706.73 system 5164.99 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Sun Jul 1 13:23:30 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 B5975106564A; Sun, 1 Jul 2012 13:23:30 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 16F078FC18; Sun, 1 Jul 2012 13:23:30 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id q61DNTXU085857; Sun, 1 Jul 2012 13:23:29 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q61DNTI3085856; Sun, 1 Jul 2012 13:23:29 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 1 Jul 2012 13:23:29 GMT Message-Id: <201207011323.q61DNTI3085856@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_9 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: Sun, 01 Jul 2012 13:23:30 -0000 TB --- 2012-07-01 11:20:00 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-07-01 11:20:00 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-07-01 11:20:00 - starting RELENG_9 tinderbox run for arm/arm TB --- 2012-07-01 11:20:00 - cleaning the object tree TB --- 2012-07-01 11:20:00 - cvsupping the source tree TB --- 2012-07-01 11:20:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/arm/arm/supfile TB --- 2012-07-01 11:21:09 - building world TB --- 2012-07-01 11:21:09 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 11:21:09 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 11:21:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 11:21:09 - SRCCONF=/dev/null TB --- 2012-07-01 11:21:09 - TARGET=arm TB --- 2012-07-01 11:21:09 - TARGET_ARCH=arm TB --- 2012-07-01 11:21:09 - TZ=UTC TB --- 2012-07-01 11:21:09 - __MAKE_CONF=/dev/null TB --- 2012-07-01 11:21:09 - cd /src TB --- 2012-07-01 11:21:09 - /usr/bin/make -B buildworld >>> World build started on Sun Jul 1 11:21:10 UTC 2012 >>> 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 Sun Jul 1 12:34:28 UTC 2012 TB --- 2012-07-01 12:34:28 - cd /src/sys/arm/conf TB --- 2012-07-01 12:34:28 - /usr/sbin/config -m AVILA TB --- 2012-07-01 12:34:28 - building AVILA kernel TB --- 2012-07-01 12:34:28 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:34:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:34:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:34:28 - SRCCONF=/dev/null TB --- 2012-07-01 12:34:28 - TARGET=arm TB --- 2012-07-01 12:34:28 - TARGET_ARCH=arm TB --- 2012-07-01 12:34:28 - TZ=UTC TB --- 2012-07-01 12:34:28 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:34:28 - cd /src TB --- 2012-07-01 12:34:28 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Sun Jul 1 12:34:28 UTC 2012 >>> 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 Sun Jul 1 12:39:19 UTC 2012 TB --- 2012-07-01 12:39:19 - cd /src/sys/arm/conf TB --- 2012-07-01 12:39:19 - /usr/sbin/config -m BWCT TB --- 2012-07-01 12:39:19 - building BWCT kernel TB --- 2012-07-01 12:39:19 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:39:19 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:39:19 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:39:19 - SRCCONF=/dev/null TB --- 2012-07-01 12:39:19 - TARGET=arm TB --- 2012-07-01 12:39:19 - TARGET_ARCH=arm TB --- 2012-07-01 12:39:19 - TZ=UTC TB --- 2012-07-01 12:39:19 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:39:19 - cd /src TB --- 2012-07-01 12:39:19 - /usr/bin/make -B buildkernel KERNCONF=BWCT >>> Kernel build for BWCT started on Sun Jul 1 12:39:19 UTC 2012 >>> 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 Sun Jul 1 12:42:28 UTC 2012 TB --- 2012-07-01 12:42:28 - cd /src/sys/arm/conf TB --- 2012-07-01 12:42:28 - /usr/sbin/config -m CAMBRIA TB --- 2012-07-01 12:42:28 - building CAMBRIA kernel TB --- 2012-07-01 12:42:28 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:42:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:42:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:42:28 - SRCCONF=/dev/null TB --- 2012-07-01 12:42:28 - TARGET=arm TB --- 2012-07-01 12:42:28 - TARGET_ARCH=arm TB --- 2012-07-01 12:42:28 - TZ=UTC TB --- 2012-07-01 12:42:28 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:42:28 - cd /src TB --- 2012-07-01 12:42:28 - /usr/bin/make -B buildkernel KERNCONF=CAMBRIA >>> Kernel build for CAMBRIA started on Sun Jul 1 12:42:28 UTC 2012 >>> 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 Sun Jul 1 12:46:48 UTC 2012 TB --- 2012-07-01 12:46:48 - cd /src/sys/arm/conf TB --- 2012-07-01 12:46:48 - /usr/sbin/config -m CNS11XXNAS TB --- 2012-07-01 12:46:49 - building CNS11XXNAS kernel TB --- 2012-07-01 12:46:49 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:46:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:46:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:46:49 - SRCCONF=/dev/null TB --- 2012-07-01 12:46:49 - TARGET=arm TB --- 2012-07-01 12:46:49 - TARGET_ARCH=arm TB --- 2012-07-01 12:46:49 - TZ=UTC TB --- 2012-07-01 12:46:49 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:46:49 - cd /src TB --- 2012-07-01 12:46:49 - /usr/bin/make -B buildkernel KERNCONF=CNS11XXNAS >>> Kernel build for CNS11XXNAS started on Sun Jul 1 12:46:49 UTC 2012 >>> 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 Sun Jul 1 12:50:20 UTC 2012 TB --- 2012-07-01 12:50:20 - cd /src/sys/arm/conf TB --- 2012-07-01 12:50:20 - /usr/sbin/config -m CRB TB --- 2012-07-01 12:50:20 - building CRB kernel TB --- 2012-07-01 12:50:20 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:50:20 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:50:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:50:20 - SRCCONF=/dev/null TB --- 2012-07-01 12:50:20 - TARGET=arm TB --- 2012-07-01 12:50:20 - TARGET_ARCH=arm TB --- 2012-07-01 12:50:20 - TZ=UTC TB --- 2012-07-01 12:50:20 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:50:20 - cd /src TB --- 2012-07-01 12:50:20 - /usr/bin/make -B buildkernel KERNCONF=CRB >>> Kernel build for CRB started on Sun Jul 1 12:50:20 UTC 2012 >>> 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 Sun Jul 1 12:55:08 UTC 2012 TB --- 2012-07-01 12:55:08 - cd /src/sys/arm/conf TB --- 2012-07-01 12:55:08 - /usr/sbin/config -m DB-78XXX TB --- 2012-07-01 12:55:08 - building DB-78XXX kernel TB --- 2012-07-01 12:55:08 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:55:08 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:55:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:55:08 - SRCCONF=/dev/null TB --- 2012-07-01 12:55:08 - TARGET=arm TB --- 2012-07-01 12:55:08 - TARGET_ARCH=arm TB --- 2012-07-01 12:55:08 - TZ=UTC TB --- 2012-07-01 12:55:08 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:55:08 - cd /src TB --- 2012-07-01 12:55:08 - /usr/bin/make -B buildkernel KERNCONF=DB-78XXX >>> Kernel build for DB-78XXX started on Sun Jul 1 12:55:08 UTC 2012 >>> 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 DB-78XXX completed on Sun Jul 1 12:58:49 UTC 2012 TB --- 2012-07-01 12:58:49 - cd /src/sys/arm/conf TB --- 2012-07-01 12:58:49 - /usr/sbin/config -m DB-88F5XXX TB --- 2012-07-01 12:58:49 - building DB-88F5XXX kernel TB --- 2012-07-01 12:58:49 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 12:58:49 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 12:58:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 12:58:49 - SRCCONF=/dev/null TB --- 2012-07-01 12:58:49 - TARGET=arm TB --- 2012-07-01 12:58:49 - TARGET_ARCH=arm TB --- 2012-07-01 12:58:49 - TZ=UTC TB --- 2012-07-01 12:58:49 - __MAKE_CONF=/dev/null TB --- 2012-07-01 12:58:49 - cd /src TB --- 2012-07-01 12:58:49 - /usr/bin/make -B buildkernel KERNCONF=DB-88F5XXX >>> Kernel build for DB-88F5XXX started on Sun Jul 1 12:58:49 UTC 2012 >>> 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 DB-88F5XXX completed on Sun Jul 1 13:02:21 UTC 2012 TB --- 2012-07-01 13:02:21 - cd /src/sys/arm/conf TB --- 2012-07-01 13:02:21 - /usr/sbin/config -m DB-88F6XXX TB --- 2012-07-01 13:02:21 - building DB-88F6XXX kernel TB --- 2012-07-01 13:02:21 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 13:02:21 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 13:02:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 13:02:21 - SRCCONF=/dev/null TB --- 2012-07-01 13:02:21 - TARGET=arm TB --- 2012-07-01 13:02:21 - TARGET_ARCH=arm TB --- 2012-07-01 13:02:21 - TZ=UTC TB --- 2012-07-01 13:02:21 - __MAKE_CONF=/dev/null TB --- 2012-07-01 13:02:21 - cd /src TB --- 2012-07-01 13:02:21 - /usr/bin/make -B buildkernel KERNCONF=DB-88F6XXX >>> Kernel build for DB-88F6XXX started on Sun Jul 1 13:02:21 UTC 2012 >>> 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 DB-88F6XXX completed on Sun Jul 1 13:06:18 UTC 2012 TB --- 2012-07-01 13:06:18 - cd /src/sys/arm/conf TB --- 2012-07-01 13:06:18 - /usr/sbin/config -m DOCKSTAR TB --- 2012-07-01 13:06:18 - building DOCKSTAR kernel TB --- 2012-07-01 13:06:18 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 13:06:18 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 13:06:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 13:06:18 - SRCCONF=/dev/null TB --- 2012-07-01 13:06:18 - TARGET=arm TB --- 2012-07-01 13:06:18 - TARGET_ARCH=arm TB --- 2012-07-01 13:06:18 - TZ=UTC TB --- 2012-07-01 13:06:18 - __MAKE_CONF=/dev/null TB --- 2012-07-01 13:06:18 - cd /src TB --- 2012-07-01 13:06:18 - /usr/bin/make -B buildkernel KERNCONF=DOCKSTAR >>> Kernel build for DOCKSTAR started on Sun Jul 1 13:06:18 UTC 2012 >>> 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 Sun Jul 1 13:09:53 UTC 2012 TB --- 2012-07-01 13:09:53 - cd /src/sys/arm/conf TB --- 2012-07-01 13:09:53 - /usr/sbin/config -m EP80219 TB --- 2012-07-01 13:09:53 - building EP80219 kernel TB --- 2012-07-01 13:09:53 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 13:09:53 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 13:09:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 13:09:53 - SRCCONF=/dev/null TB --- 2012-07-01 13:09:53 - TARGET=arm TB --- 2012-07-01 13:09:53 - TARGET_ARCH=arm TB --- 2012-07-01 13:09:53 - TZ=UTC TB --- 2012-07-01 13:09:53 - __MAKE_CONF=/dev/null TB --- 2012-07-01 13:09:53 - cd /src TB --- 2012-07-01 13:09:53 - /usr/bin/make -B buildkernel KERNCONF=EP80219 >>> Kernel build for EP80219 started on Sun Jul 1 13:09:53 UTC 2012 >>> 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 Sun Jul 1 13:13:58 UTC 2012 TB --- 2012-07-01 13:13:58 - cd /src/sys/arm/conf TB --- 2012-07-01 13:13:58 - /usr/sbin/config -m ETHERNUT5 TB --- 2012-07-01 13:13:58 - building ETHERNUT5 kernel TB --- 2012-07-01 13:13:58 - CROSS_BUILD_TESTING=YES TB --- 2012-07-01 13:13:58 - MAKEOBJDIRPREFIX=/obj TB --- 2012-07-01 13:13:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-07-01 13:13:58 - SRCCONF=/dev/null TB --- 2012-07-01 13:13:58 - TARGET=arm TB --- 2012-07-01 13:13:58 - TARGET_ARCH=arm TB --- 2012-07-01 13:13:58 - TZ=UTC TB --- 2012-07-01 13:13:58 - __MAKE_CONF=/dev/null TB --- 2012-07-01 13:13:58 - cd /src TB --- 2012-07-01 13:13:58 - /usr/bin/make -B buildkernel KERNCONF=ETHERNUT5 >>> Kernel build for ETHERNUT5 started on Sun Jul 1 13:13:58 UTC 2012 >>> 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 -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/arm.arm/src/sys/ETHERNUT5/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/ETHERNUT5 -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 -fdiagnostics-show-option -c /src/sys/modules/mps/../../dev/mps/mps_config.c cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/arm.arm/src/sys/ETHERNUT5/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/ETHERNUT5 -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 -fdiagnostics-show-option -c /src/sys/modules/mps/../../dev/mps/mps_mapping.c cc -O -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /obj/arm.arm/src/sys/ETHERNUT5/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/ETHERNUT5 -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 -fdiagnostics-show-option -c /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c: In function 'mpssas_fw_work': /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c:336: error: 'struct mps_softc' has no member named 'WD_available' /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c:337: error: 'struct mps_softc' has no member named 'WD_available' /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c:481: error: 'struct mps_softc' has no member named 'WD_available' /src/sys/modules/mps/../../dev/mps/mps_sas_lsi.c:485: error: 'struct mps_softc' has no member named 'WD_available' *** Error code 1 Stop in /src/sys/modules/mps. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/arm.arm/src/sys/ETHERNUT5. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-07-01 13:23:29 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-07-01 13:23:29 - ERROR: failed to build ETHERNUT5 kernel TB --- 2012-07-01 13:23:29 - 4536.52 user 928.44 system 7408.43 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Mon Jul 2 11:07:06 2012 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 A305510656E6 for ; Mon, 2 Jul 2012 11:07:06 +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 8CF488FC20 for ; Mon, 2 Jul 2012 11:07:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q62B76Ns012542 for ; Mon, 2 Jul 2012 11:07:06 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q62B75VW012540 for freebsd-arm@FreeBSD.org; Mon, 2 Jul 2012 11:07:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Jul 2012 11:07:05 GMT Message-Id: <201207021107.q62B75VW012540@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, 02 Jul 2012 11:07:06 -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/166256 arm build fail in pmap.c o arm/162159 arm [panic] USB errors leading to panic on DockStar 9.0-RC o arm/161110 arm /usr/src/sys/arm/include/signal.h is bad o arm/161044 arm devel/icu does not build on arm o arm/158950 arm arm/sheevaplug fails fsx when mmap operations are enab o arm/156814 arm OpenRD Ultimate does not boot on DB-88F6XXX or SHEEVAP 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/154227 arm [geli] using GELI leads to panic 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 14 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon Jul 2 16:47:31 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 C7C85106564A; Mon, 2 Jul 2012 16:47:31 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9B0778FC14; Mon, 2 Jul 2012 16:47:31 +0000 (UTC) Received: from sa-nc-common-101.static.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mail.xcllnt.net (8.14.5/8.14.5) with ESMTP id q62GlMaj005108 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 2 Jul 2012 09:47:30 -0700 (PDT) (envelope-from marcel@xcllnt.net) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/mixed; boundary="Apple-Mail=_074765FA-A8EC-435F-BBA2-37458D24AF08" From: Marcel Moolenaar In-Reply-To: <370956AA-D028-4C44-B808-3160F0193069@bsdimp.com> Date: Mon, 2 Jul 2012 09:47:26 -0700 Message-Id: References: <201207010656.q616ufcY071880@svn.freebsd.org> <370956AA-D028-4C44-B808-3160F0193069@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1278) Cc: arm@freebsd.org, Warner Losh Subject: Re: svn commit: r237883 - in head/sys/arm: at91 conf 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, 02 Jul 2012 16:47:31 -0000 --Apple-Mail=_074765FA-A8EC-435F-BBA2-37458D24AF08 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Jul 1, 2012, at 2:41 PM, Warner Losh wrote: >=20 >> I can port that to FreeBSD. Shall I make some patches for people >> to look at? >=20 > Sure. I'd love to see it. I'd be happy to preview any partial work = if you want early feedbac. See attached. It's fully functional and in production @Juniper. I hope = the last sync with FreeBSD didn't break anything. The change to sys/arm/include/cpufunc.h is needed to avoid a name class in cxgdb(4). That driver defines a structure field called intr_disable, which under ARM is renamed due to intr_disable being a macro. Turning it into an inline-function resulted in undefined symbols for I32_bit and F32_bit. Since those names are pretty bad to begin with, I added ARM_CPSR_I32 and ARM_CPSR_F32. BTW: we may be able to fix the duplicate symbol problem by using weak = symbols. For example, we have 10 definitions of "initarm". We can make them = unique, by renaming the functions and add a weak alias called "initarm". E.g, in sys/arm/mv/mv_machdep.c, rename initarm to mv_initarm() and add a weak alias for mv_initarm called initarm. When building for Marvell SoCs, initarm will resolve to mv_initarm. When building LINT, we only have to provide a non-weak dummy definition for initarm (and all the others that follow the same model) and we're good = to go. Maybe the dummy function could be used as a trampoline even that = resolves at runtime which of the SoC-specific initarm functions is to be called based on the SoC Id? --=20 Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_074765FA-A8EC-435F-BBA2-37458D24AF08 Content-Disposition: attachment; filename=arm.diff Content-Type: application/octet-stream; name="arm.diff" Content-Transfer-Encoding: 7bit Index: sys/arm/arm/cpufunc.c =================================================================== --- sys/arm/arm/cpufunc.c (revision 238362) +++ sys/arm/arm/cpufunc.c (working copy) @@ -74,7 +74,7 @@ __FBSDID("$FreeBSD$"); #include #endif -#if defined(CPU_XSCALE_81342) +#if defined(CPU_XSCALE_81342) && !defined(CPU_XSCALE_80321) #include #endif Index: sys/arm/conf/Makefile =================================================================== --- sys/arm/conf/Makefile (revision 0) +++ sys/arm/conf/Makefile (revision 0) @@ -0,0 +1,5 @@ +# $FreeBSD$ + +TARGET=arm + +.include "${.CURDIR}/../../conf/makeLINT.mk" Index: sys/arm/conf/NOTES =================================================================== --- sys/arm/conf/NOTES (revision 0) +++ sys/arm/conf/NOTES (revision 0) @@ -0,0 +1,85 @@ +# $FreeBSD$ + +cpu CPU_ARM9 +cpu CPU_ARM9E +cpu CPU_FA526 +cpu CPU_SA1100 +cpu CPU_SA1110 +cpu CPU_XSCALE_80219 +cpu CPU_XSCALE_80321 +cpu CPU_XSCALE_81342 +cpu CPU_XSCALE_IXP425 +cpu CPU_XSCALE_IXP435 +cpu CPU_XSCALE_PXA2X0 + +files "../at91/files.at91" +files "../at91/files.at91sam9" +files "../econa/files.econa" +files "../mv/files.mv" +files "../mv/discovery/files.db78xxx" +files "../mv/kirkwood/files.kirkwood" +files "../mv/kirkwood/files.sheevaplug" +files "../mv/orion/files.db88f5xxx" +files "../mv/orion/files.ts7800" +files "../s3c2xx0/files.s3c2xx0" +files "../sa11x0/files.sa11x0" +files "../xscale/i80321/files.ep80219" +files "../xscale/i80321/files.i80219" +files "../xscale/i80321/files.i80321" +files "../xscale/i80321/files.iq31244" +files "../xscale/i8134x/files.crb" +files "../xscale/i8134x/files.i81342" +files "../xscale/ixp425/files.avila" +files "../xscale/ixp425/files.ixp425" +files "../xscale/pxa/files.pxa" + +options PHYSADDR=0x00000000 +options KERNPHYSADDR=0x00000000 +options KERNVIRTADDR=0xc0000000 + +makeoptions LDFLAGS="-zmuldefs" +makeoptions KERNPHYSADDR=0x00000000 +makeoptions KERNVIRTADDR=0xc0000000 + +options FDT + +options SOC_MV_DISCOVERY +options SOC_MV_KIRKWOOD +options SOC_MV_ORION + +device pci + +device at91_board_bwct +device at91_board_hl200 +device at91_board_hl201 +device at91_board_kb920x +device at91_board_qila9g20 +device at91_board_sam9g20ek +device at91_board_tsc4370 +device board_ln2410sbc + +nooptions SMP +nooptions MAXCPU + +nooptions COMPAT_FREEBSD4 + +nodevice fdc +nodevice sym +nodevice ukbd + +nodevice sc +nodevice blank_saver +nodevice daemon_saver +nodevice dragon_saver +nodevice fade_saver +nodevice fire_saver +nodevice green_saver +nodevice logo_saver +nodevice rain_saver +nodevice snake_saver +nodevice star_saver +nodevice warp_saver + +nodevice pcii +nodevice snd_cmi +nodevice tnt4882 Index: sys/arm/include/cpufunc.h =================================================================== --- sys/arm/include/cpufunc.h (revision 238362) +++ sys/arm/include/cpufunc.h (working copy) @@ -579,20 +579,36 @@ __set_cpsr_c(u_int bic, u_int eor) return ret; } +#define ARM_CPSR_F32 (1 << 6) /* FIQ disable */ +#define ARM_CPSR_I32 (1 << 7) /* IRQ disable */ + #define disable_interrupts(mask) \ - (__set_cpsr_c((mask) & (I32_bit | F32_bit), \ - (mask) & (I32_bit | F32_bit))) + (__set_cpsr_c((mask) & (ARM_CPSR_I32 | ARM_CPSR_F32), \ + (mask) & (ARM_CPSR_I32 | ARM_CPSR_F32))) #define enable_interrupts(mask) \ - (__set_cpsr_c((mask) & (I32_bit | F32_bit), 0)) + (__set_cpsr_c((mask) & (ARM_CPSR_I32 | ARM_CPSR_F32), 0)) #define restore_interrupts(old_cpsr) \ - (__set_cpsr_c((I32_bit | F32_bit), (old_cpsr) & (I32_bit | F32_bit))) + (__set_cpsr_c((ARM_CPSR_I32 | ARM_CPSR_F32), \ + (old_cpsr) & (ARM_CPSR_I32 | ARM_CPSR_F32))) -#define intr_disable() \ - disable_interrupts(I32_bit | F32_bit) -#define intr_restore(s) \ - restore_interrupts(s) +static __inline register_t +intr_disable(void) +{ + register_t s; + + s = disable_interrupts(ARM_CPSR_I32 | ARM_CPSR_F32); + return (s); +} + +static __inline void +intr_restore(register_t s) +{ + + restore_interrupts(s); +} + /* Functions to manipulate the CPSR. */ u_int SetCPSR(u_int bic, u_int eor); u_int GetCPSR(void); Index: sys/arm/mv/mvreg.h =================================================================== --- sys/arm/mv/mvreg.h (revision 238362) +++ sys/arm/mv/mvreg.h (working copy) @@ -294,11 +294,10 @@ #define SAMPLE_AT_RESET 0x10 #elif defined(SOC_MV_KIRKWOOD) #define SAMPLE_AT_RESET 0x30 -#elif defined(SOC_MV_DISCOVERY) +#endif +#if defined(SOC_MV_DISCOVERY) #define SAMPLE_AT_RESET_LO 0x30 #define SAMPLE_AT_RESET_HI 0x34 -#else -#error SOC_MV_XX not defined #endif /* Index: sys/arm/mv/mvwin.h =================================================================== --- sys/arm/mv/mvwin.h (revision 238362) +++ sys/arm/mv/mvwin.h (working copy) @@ -173,6 +173,8 @@ #define MV_WIN_PCIE_MEM_ATTR 0x59 #define MV_WIN_PCIE_IO_TARGET 4 #define MV_WIN_PCIE_IO_ATTR 0x51 +#endif +#if defined(SOC_MV_ORION) #define MV_WIN_PCI_MEM_TARGET 3 #define MV_WIN_PCI_MEM_ATTR 0x59 #define MV_WIN_PCI_IO_TARGET 3 --Apple-Mail=_074765FA-A8EC-435F-BBA2-37458D24AF08-- From owner-freebsd-arm@FreeBSD.ORG Tue Jul 3 12:58:38 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E9341106566B for ; Tue, 3 Jul 2012 12:58:38 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from mail.kirov.so-ups.ru (mail.kirov.so-ups.ru [178.74.170.1]) by mx1.freebsd.org (Postfix) with ESMTP id 949A28FC0A for ; Tue, 3 Jul 2012 12:58:38 +0000 (UTC) Received: from kas30pipe.localhost (localhost.kirov.so-ups.ru [127.0.0.1]) by mail.kirov.so-ups.ru (Postfix) with SMTP id A90CFB8026 for ; Tue, 3 Jul 2012 16:58:37 +0400 (MSK) Received: from kirov.so-ups.ru (unknown [172.21.81.1]) by mail.kirov.so-ups.ru (Postfix) with ESMTP id A3EECB8024 for ; Tue, 3 Jul 2012 16:58:37 +0400 (MSK) Received: by ns.kirov.so-ups.ru (Postfix, from userid 1010) id A0F36BA074; Tue, 3 Jul 2012 16:58:37 +0400 (MSK) Received: from [127.0.0.1] (unknown [10.118.3.52]) by ns.kirov.so-ups.ru (Postfix) with ESMTP id 6E614BA054 for ; Tue, 3 Jul 2012 16:58:37 +0400 (MSK) Message-ID: <4FF2EC7D.3020302@FreeBSD.org> Date: Tue, 03 Jul 2012 16:58:37 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: freebsd-arm@freebsd.org X-Enigmail-Version: 1.4.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8A402E642C478E23955F8C96" X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0284], KAS30/Release X-SpamTest-Info: Not protected Subject: [CFT] Loader changes 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, 03 Jul 2012 12:58:39 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A402E642C478E23955F8C96 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Hi All, can somebody, who have an ability, test changes to the ubldr on a powerpc= ? I prepared the patch: http://people.freebsd.org/~ae/arm_boot.diff the main goal is unification of the code to work with partition tables. The same code is used for the uboot, i386, userboot loaders. Also this implementation is much closer to full GPT support, it can check CRC and backup GPT header and table. Some initial support fo= r different sector sizes added. --=20 WBR, Andrey V. Elsukov --=20 WBR, Andrey V. Elsukov --------------enig8A402E642C478E23955F8C96 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJP8ux9AAoJEAHF6gQQyKF6FnIH/jMQC69zDO9PMMWB3HC4ZDxC Vwka1tTjQvPmDeVVRiA/53LeL44nxusgM3SdHfOQFnX2Pg4KioX+THPEBhhip5Pk HKp3CvkSbhw1qNpqieOAjQ9V+aNIHhNVw9/BKyXMopYcodlYdM5RZTthMKOdi7L0 34HnVv0D8caFd60YwL64dWeBmOH1gq/vRARRZeTiPTRTv4bO37yrFZIaFKIT1jOS BjFGyiLxj3d/oxWAPCtEsdWfzVY0hkFhx7UNTTKRAT+8goFHA9cxs/ur+SBQ5auV KJ5keOLWffIOJgOQ+10ezYGnwmYBlGpGwUO+pCctFMLQ5x8ivO623P2OdReV68U= =JwV7 -----END PGP SIGNATURE----- --------------enig8A402E642C478E23955F8C96-- From owner-freebsd-arm@FreeBSD.ORG Wed Jul 4 23:52:10 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 910461065677; Wed, 4 Jul 2012 23:52:10 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 600E88FC15; Wed, 4 Jul 2012 23:52:10 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q64Nq1XQ094886; Wed, 4 Jul 2012 23:52:01 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id yunp5iazfpxkkd8vin95xexc8n; Wed, 04 Jul 2012 23:52:01 +0000 (UTC) (envelope-from kientzle@freebsd.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/mixed; boundary="Apple-Mail=_17CC2F48-3F88-47CD-B4C1-D054BE658922" From: Tim Kientzle In-Reply-To: <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> Date: Wed, 4 Jul 2012 16:51:59 -0700 Message-Id: References: <1340921715.1110.100.camel@revolution.hippie.lan> <3AB368CC-BE8B-4058-A342-763B8C073800@bsdimp.com> <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1278) Cc: arm@freebsd.org, Warner Losh Subject: TARGET_ARCH=armv6 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, 04 Jul 2012 23:52:10 -0000 --Apple-Mail=_17CC2F48-3F88-47CD-B4C1-D054BE658922 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Attached patch adds full support to the projects/armv6 tree for building with TARGET_ARCH=3Darmv6 (*instead of* TARGET_CPUTYPE). I intend to commit this to the armv6 tree after I finish some more test = builds (likely a few days). Most of this is copied from Warner's work[0], though I've filled in a few additional pieces. To wit: * GCC defaults to arm1176jz-s processor instead of StrongARM * GCC defines __FreeBSD_ARCH_armv6__ and sys/param.h sets MACHINE_ARCH = to armv6 when it sees this. This persists the 'armv6' architecture = setting through native rebuilds. * gas defaults to ARM_ARCH_V6K * uname -p returns 'armv6' * make -V MACHINE_ARCH defaults to 'armv6' * WANT_TP_ADDRESS is now assumed for any processor < ARMv6K (as set by = the compiler's CPU settings) The other renaming and refactoring I proposed recently isn't yet = complete here; I want to make sure this is stable and get it committed = before I churn the tree again. ;-) Cheers, Tim [0] I have removed the EXT_COMP part of Warner's patches; they're = unrelated to what I'm trying to accomplish here. --Apple-Mail=_17CC2F48-3F88-47CD-B4C1-D054BE658922 Content-Disposition: attachment; filename=armv6-target-arch.patch Content-Type: application/octet-stream; name="armv6-target-arch.patch" Content-Transfer-Encoding: 7bit Index: usr.bin/xlint/Makefile.inc =================================================================== --- usr.bin/xlint/Makefile.inc (revision 237743) +++ usr.bin/xlint/Makefile.inc (working copy) @@ -8,7 +8,7 @@ # These assignments duplicate much of the functionality of # MACHINE_CPUARCH, but there's no easy way to export make functions... .if defined(TARGET_ARCH) -TARGET_CPUARCH= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/} +TARGET_CPUARCH= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/} .else TARGET_CPUARCH= ${MACHINE_CPUARCH} TARGET_ARCH= ${MACHINE_ARCH} Index: gnu/usr.bin/cc/Makefile.inc =================================================================== --- gnu/usr.bin/cc/Makefile.inc (revision 237743) +++ gnu/usr.bin/cc/Makefile.inc (working copy) @@ -26,9 +26,12 @@ CFLAGS+= -DCROSS_COMPILE .endif -.if ${TARGET_ARCH} == "armeb" +.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" CFLAGS += -DTARGET_ENDIAN_DEFAULT=MASK_BIG_END .endif +.if ${TARGET_ARCH} == "armv6" || ${TARGET_ARCH} == "armv6eb" +CFLAGS += -DFREEBSD_ARCH_armv6 +.endif .if ${TARGET_CPUARCH} == "mips" .if ${TARGET_ARCH:Mmips*el} != "" Index: gnu/usr.bin/cc/Makefile.tgt =================================================================== --- gnu/usr.bin/cc/Makefile.tgt (revision 237743) +++ gnu/usr.bin/cc/Makefile.tgt (working copy) @@ -4,7 +4,7 @@ # MACHINE_CPUARCH, but there's no easy way to export make functions... .if defined(TARGET_ARCH) -TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/:C/powerpc64/powerpc/} +TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/} .else TARGET_CPUARCH=${MACHINE_CPUARCH} .endif @@ -17,7 +17,7 @@ .if ${TARGET_ARCH} == "sparc64" TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc .endif -.if ${TARGET_ARCH} == "armeb" || \ +.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" || \ (${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips*el} == "") TARGET_BIG_ENDIAN=t .endif Index: gnu/usr.bin/binutils/ld/Makefile.arm =================================================================== --- gnu/usr.bin/binutils/ld/Makefile.arm (revision 237743) +++ gnu/usr.bin/binutils/ld/Makefile.arm (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -.if ${TARGET_ARCH} == "armeb" +.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" NATIVE_EMULATION= armelfb_fbsd .else NATIVE_EMULATION= armelf_fbsd Index: gnu/usr.bin/binutils/libbfd/Makefile.arm =================================================================== --- gnu/usr.bin/binutils/libbfd/Makefile.arm (revision 237743) +++ gnu/usr.bin/binutils/libbfd/Makefile.arm (working copy) @@ -1,6 +1,6 @@ # $FreeBSD$ -.if ${TARGET_ARCH} == "armeb" +.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" DEFAULT_VECTOR= bfd_elf32_bigarm_vec .else DEFAULT_VECTOR= bfd_elf32_littlearm_vec @@ -14,7 +14,7 @@ elflink.c VECS+= ${DEFAULT_VECTOR} -.if ${TARGET_ARCH} == "armeb" +.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" VECS+= bfd_elf32_littlearm_vec .else VECS+= bfd_elf32_bigarm_vec Index: gnu/usr.bin/binutils/as/Makefile =================================================================== --- gnu/usr.bin/binutils/as/Makefile (revision 237743) +++ gnu/usr.bin/binutils/as/Makefile (working copy) @@ -42,6 +42,10 @@ # DEO: why not used? #SRCS+= itbl-ops.c +.if ${TARGET_ARCH} == "armv6" || ${TARGET_ARCH} == "armv6eb" +CFLAGS+= -DCPU_DEFAULT=ARM_ARCH_V6K +.endif + .if ${TARGET_CPUARCH} == "mips" SRCS+= itbl-ops.c itbl-parse.y itbl-lex.l .if ${TARGET_ARCH:Mmips64*} != "" Index: gnu/usr.bin/binutils/Makefile.inc0 =================================================================== --- gnu/usr.bin/binutils/Makefile.inc0 (revision 237743) +++ gnu/usr.bin/binutils/Makefile.inc0 (working copy) @@ -7,7 +7,7 @@ VERSION= "2.17.50 [FreeBSD] 2007-07-03" .if defined(TARGET_ARCH) -TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/:C/powerpc64/powerpc/} +TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/} .else TARGET_CPUARCH=${MACHINE_CPUARCH} .endif @@ -16,7 +16,7 @@ TARGET_OS?= freebsd BINUTILS_ARCH=${TARGET_ARCH:C/amd64/x86_64/} TARGET_TUPLE?= ${BINUTILS_ARCH}-${TARGET_VENDOR}-${TARGET_OS} -.if ${TARGET_ARCH} == "armeb" || \ +.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" || \ (${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips*el} == "") TARGET_BIG_ENDIAN=t .endif Index: gnu/usr.bin/gdb/Makefile.inc =================================================================== --- gnu/usr.bin/gdb/Makefile.inc (revision 237743) +++ gnu/usr.bin/gdb/Makefile.inc (working copy) @@ -20,7 +20,7 @@ # MACHINE_CPUARCH, but there's no easy way to export make functions... .if defined(TARGET_ARCH) -TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/:C/powerpc64/powerpc/} +TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/} .else TARGET_CPUARCH=${MACHINE_CPUARCH} .endif Index: share/mk/sys.mk =================================================================== --- share/mk/sys.mk (revision 237743) +++ share/mk/sys.mk (working copy) @@ -13,7 +13,7 @@ # and/or endian. This is called MACHINE_CPU in NetBSD, but that's used # for something different in FreeBSD. # -MACHINE_CPUARCH=${MACHINE_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/:C/powerpc64/powerpc/} +MACHINE_CPUARCH=${MACHINE_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/} .endif # If the special target .POSIX appears (without prerequisites or Index: share/mk/bsd.endian.mk =================================================================== --- share/mk/bsd.endian.mk (revision 237743) +++ share/mk/bsd.endian.mk (working copy) @@ -4,12 +4,14 @@ ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "ia64" || \ ${MACHINE_ARCH} == "arm" || \ + ${MACHINE_ARCH} == "armv6" || \ ${MACHINE_ARCH:Mmips*el} != "" TARGET_ENDIANNESS= 1234 .elif ${MACHINE_ARCH} == "powerpc" || \ ${MACHINE_ARCH} == "powerpc64" || \ ${MACHINE_ARCH} == "sparc64" || \ ${MACHINE_ARCH} == "armeb" || \ + ${MACHINE_ARCH} == "armv6eb" || \ ${MACHINE_ARCH:Mmips*} != "" TARGET_ENDIANNESS= 4321 .endif Index: Makefile =================================================================== --- Makefile (revision 237743) +++ Makefile (working copy) @@ -135,7 +135,7 @@ _TARGET_ARCH= ${TARGET:S/pc98/i386/} .elif !defined(TARGET) && defined(TARGET_ARCH) && \ ${TARGET_ARCH} != ${MACHINE_ARCH} -_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/} +_TARGET= ${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/} .endif # Legacy names, for another transition period mips:mips(n32|64)?eb -> mips:mips\1 .if defined(TARGET) && defined(TARGET_ARCH) && \ @@ -329,7 +329,7 @@ # .if make(universe) || make(universe_kernels) || make(tinderbox) || make(targets) TARGETS?=amd64 arm i386 ia64 mips pc98 powerpc sparc64 -TARGET_ARCHES_arm?= arm armeb +TARGET_ARCHES_arm?= arm armeb armv6 armv6eb TARGET_ARCHES_mips?= mipsel mips mips64el mips64 mipsn32 TARGET_ARCHES_powerpc?= powerpc powerpc64 TARGET_ARCHES_pc98?= i386 Index: contrib/gcc/config/arm/freebsd.h =================================================================== --- contrib/gcc/config/arm/freebsd.h (revision 237743) +++ contrib/gcc/config/arm/freebsd.h (working copy) @@ -55,8 +55,6 @@ /************************[ Target stuff ]***********************************/ -#undef TARGET_VERSION -#define TARGET_VERSION fprintf (stderr, " (FreeBSD/StrongARM ELF)"); #ifndef TARGET_ENDIAN_DEFAULT #define TARGET_ENDIAN_DEFAULT 0 @@ -86,8 +84,22 @@ /* We use the GCC defaults here. */ #undef WCHAR_TYPE +#if defined(FREEBSD_ARCH_armv6) #undef SUBTARGET_CPU_DEFAULT +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm1176jzs +#undef FBSD_TARGET_CPU_CPP_BUILTINS +#define FBSD_TARGET_CPU_CPP_BUILTINS() \ + do { \ + builtin_define ("__FreeBSD_ARCH_armv6__"); \ + } while (0) +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (FreeBSD/armv6 ELF)"); +#else +#undef SUBTARGET_CPU_DEFAULT #define SUBTARGET_CPU_DEFAULT TARGET_CPU_strongarm +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (FreeBSD/StrongARM ELF)"); +#endif /* FreeBSD does its profiling differently to the Acorn compiler. We don't need a word following the mcount call; and to skip it Index: contrib/binutils/config.sub =================================================================== --- contrib/binutils/config.sub (revision 237743) +++ contrib/binutils/config.sub (working copy) @@ -241,7 +241,7 @@ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ + | arc | arm | arm[bl]e | arme[lb] | armv[23456] | armv[345][lb] | avr | avr32 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ Index: contrib/binutils/bfd/config.bfd =================================================================== --- contrib/binutils/bfd/config.bfd (revision 237743) +++ contrib/binutils/bfd/config.bfd (working copy) @@ -277,6 +277,14 @@ targ_defvec=bfd_elf32_bigarm_vec targ_selvecs=bfd_elf32_littlearm_vec ;; + armv6eb-*-freebsd*) + targ_defvec=bfd_elf32_bigarm_vec + targ_selvecs=bfd_elf32_littlearm_vec + ;; + armv6-*-freebsd*) + targ_defvec=bfd_elf32_littlearm_vec + targ_selvecs=bfd_elf32_bigarm_vec + ;; arm-*-elf | arm-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \ arm*-*-uclinux* | arm-*-kfreebsd*-gnu | \ arm*-*-eabi* ) Index: Makefile.inc1 =================================================================== --- Makefile.inc1 (revision 237743) +++ Makefile.inc1 (working copy) @@ -136,7 +136,7 @@ VERSION+= ${OSRELDATE} .endif -KNOWN_ARCHES?= amd64 arm armeb/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64 +KNOWN_ARCHES?= amd64 arm armeb/arm armv6/arm armv6eb/arm i386 i386/pc98 ia64 mips mipsel/mips mips64el/mips mips64/mips mipsn32el/mips mipsn32/mips powerpc powerpc64/powerpc sparc64 .if ${TARGET} == ${TARGET_ARCH} _t= ${TARGET} .else Index: sys/arm/xscale/std.xscale =================================================================== --- sys/arm/xscale/std.xscale (revision 237743) +++ sys/arm/xscale/std.xscale (working copy) @@ -1,4 +1,3 @@ # $FreeBSD$ options ARM_CACHE_LOCK_ENABLE options NO_EVENTTIMERS -options ARM_WANT_TP_ADDRESS Index: sys/arm/arm/cpufunc_asm_armv7.S =================================================================== --- sys/arm/arm/cpufunc_asm_armv7.S (revision 237743) +++ sys/arm/arm/cpufunc_asm_armv7.S (working copy) @@ -32,6 +32,8 @@ #include __FBSDID("$FreeBSD$"); + .cpu cortex-a8 + .Lcoherency_level: .word _C_LABEL(arm_cache_loc) .Lcache_type: Index: sys/arm/mv/std.mv =================================================================== --- sys/arm/mv/std.mv (revision 237743) +++ sys/arm/mv/std.mv (working copy) @@ -3,4 +3,3 @@ files "../mv/files.mv" cpu CPU_ARM9E makeoptions CONF_CFLAGS="-march=armv5te" -options ARM_WANT_TP_ADDRESS Index: sys/arm/include/asmacros.h =================================================================== --- sys/arm/include/asmacros.h (revision 237743) +++ sys/arm/include/asmacros.h (working copy) @@ -40,6 +40,8 @@ #ifndef _MACHINE_ASMACROS_H_ #define _MACHINE_ASMACROS_H_ +#include + #ifdef _KERNEL #ifdef LOCORE Index: sys/arm/include/sysarch.h =================================================================== --- sys/arm/include/sysarch.h (revision 237743) +++ sys/arm/include/sysarch.h (working copy) @@ -51,7 +51,13 @@ * of ldr/str rm,[rn, #4]). */ -#ifdef ARM_WANT_TP_ADDRESS +/* ARM_TP_ADDRESS is needed for processors that don't support + * the exclusive-access opcodes introduced with ARMv6K. */ +/* TODO: #if !defined(_HAVE_ARMv6K_INSTRUCTIONS) */ +#if !defined (__ARM_ARCH_7__) && \ + !defined (__ARM_ARCH_7A__) && \ + !defined (__ARM_ARCH_6K__) && \ + !defined (__ARM_ARCH_6ZK__) #define ARM_TP_ADDRESS (ARM_VECTORS_HIGH + 0x1000) #define ARM_RAS_START (ARM_TP_ADDRESS + 4) #define ARM_RAS_END (ARM_TP_ADDRESS + 8) Index: sys/arm/include/asm.h =================================================================== --- sys/arm/include/asm.h (revision 237743) +++ sys/arm/include/asm.h (working copy) @@ -130,49 +130,52 @@ .stabs __STRING(_/**/sym),1,0,0,0 #endif /* __STDC__ */ +/* Exactly one of the __ARM_ARCH_*__ macros will be defined by the compiler. */ +/* The _ARM_ARCH_* macros are deprecated and will be removed soon. */ +/* This should be moved into another header so it can be used in + * both asm and C code. machine/asm.h cannot be included in C code. */ #if defined (__ARM_ARCH_7__) || defined (__ARM_ARCH_7A__) #define _ARM_ARCH_7 +#define _HAVE_ARMv7_INSTRUCTIONS 1 #endif -#if defined(_ARM_ARCH_7) || defined (__ARM_ARCH_6__) || \ - defined (__ARM_ARCH_6J__) +#if defined (_HAVE_ARMv7_INSTRUCTIONS) || defined (__ARM_ARCH_6__) || \ + defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6K__) || \ + defined (__ARM_ARCH_6Z__) || defined (__ARM_ARCH_6ZK__) #define _ARM_ARCH_6 +#define _HAVE_ARMv6_INSTRUCTIONS 1 #endif -#if defined (_ARM_ARCH_6) || defined (__ARM_ARCH_5__) || \ - defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || \ +#if defined (_HAVE_ARMv6_INSTRUCTIONS) || defined (__ARM_ARCH_5TE__) || \ defined (__ARM_ARCH_5TEJ__) || defined (__ARM_ARCH_5E__) -#define _ARM_ARCH_5 +#define _ARM_ARCH_5E +#define _HAVE_ARMv5E_INSTRUCTIONS 1 #endif -#if defined (_ARM_ARCH_6) || defined(__ARM_ARCH_5TE__) || \ - defined(__ARM_ARCH_5TEJ__) || defined(__ARM_ARCH_5E__) -#define _ARM_ARCH_5E +#if defined (_HAVE_ARMv5E_INSTRUCTIONS) || defined (__ARM_ARCH_5__) || \ + defined (__ARM_ARCH_5T__) +#define _ARM_ARCH_5 +#define _HAVE_ARMv5_INSTRUCTIONS 1 #endif -#if defined (_ARM_ARCH_5) || defined (__ARM_ARCH_4T__) +#if defined (_HAVE_ARMv5_INSTRUCTIONS) || defined (__ARM_ARCH_4T__) #define _ARM_ARCH_4T +#define _HAVE_ARMv4T_INSTRUCTIONS 1 #endif +/* FreeBSD requires ARMv4, so this is always set. */ +#define _HAVE_ARMv4_INSTRUCTIONS 1 -#if defined (_ARM_ARCH_4T) +#if defined (_HAVE_ARMv4T_INSTRUCTIONS) # define RET bx lr # define RETeq bxeq lr # define RETne bxne lr -# ifdef __STDC__ -# define RETc(c) bx##c lr -# else -# define RETc(c) bx/**/c lr -# endif +# define RETc(c) bx##c lr #else # define RET mov pc, lr # define RETeq moveq pc, lr # define RETne movne pc, lr -# ifdef __STDC__ -# define RETc(c) mov##c pc, lr -# else -# define RETc(c) mov/**/c pc, lr -# endif +# define RETc(c) mov##c pc, lr #endif #endif /* !_MACHINE_ASM_H_ */ Index: sys/arm/include/param.h =================================================================== --- sys/arm/include/param.h (revision 237743) +++ sys/arm/include/param.h (working copy) @@ -56,8 +56,12 @@ #define MACHINE "arm" #endif #ifndef MACHINE_ARCH +#ifdef __FreeBSD_ARCH_armv6__ +#define MACHINE_ARCH "armv6" +#else #define MACHINE_ARCH "arm" #endif +#endif #define MID_MACHINE MID_ARM6 #if defined(SMP) || defined(KLD_MODULE) Index: sys/arm/include/atomic.h =================================================================== --- sys/arm/include/atomic.h (revision 237743) +++ sys/arm/include/atomic.h (working copy) @@ -58,14 +58,24 @@ #define F32_bit (1 << 6) /* FIQ disable */ #endif -/* XXX: Rethink for userland later as those won't be defined */ -#if ARM_ARCH_6 || ARM_ARCH_7A - +/* + * It would be nice to use _HAVE_ARMv6_INSTRUCTIONS from machine/asm.h + * here, but that header can't be included here because this is C + * code. I would like to move the _HAVE_ARMv6_INSTRUCTIONS definition + * out of asm.h so it can be used in both asm and C code. - kientzle@ + */ +#if defined (__ARM_ARCH_7__) || \ + defined (__ARM_ARCH_7A__) || \ + defined (__ARM_ARCH_6__) || \ + defined (__ARM_ARCH_6J__) || \ + defined (__ARM_ARCH_6K__) || \ + defined (__ARM_ARCH_6Z__) || \ + defined (__ARM_ARCH_6ZK__) static __inline void __do_dmb(void) { -#if ARM_ARCH_7A +#if defined (__ARM_ARCH_7__) || defined (__ARM_ARCH_7A__) __asm __volatile("dmb" : : : "memory"); #else __asm __volatile("mcr p15, 0, r0, c7, c10, 5" : : : "memory"); Index: sys/arm/econa/std.econa =================================================================== --- sys/arm/econa/std.econa (revision 237743) +++ sys/arm/econa/std.econa (working copy) @@ -14,4 +14,3 @@ options STARTUP_PAGETABLE_ADDR=0x00100000 options NO_EVENTTIMERS -options ARM_WANT_TP_ADDRESS Index: sys/arm/s3c2xx0/std.s3c2410 =================================================================== --- sys/arm/s3c2xx0/std.s3c2410 (revision 237743) +++ sys/arm/s3c2xx0/std.s3c2410 (working copy) @@ -5,4 +5,3 @@ makeoptions CONF_CFLAGS=-mcpu=arm920t options NO_EVENTTIMERS -options ARM_WANT_TP_ADDRESS Index: sys/arm/ti/std.ti =================================================================== --- sys/arm/ti/std.ti (revision 237743) +++ sys/arm/ti/std.ti (working copy) @@ -1,8 +1,5 @@ # $FreeBSD$ -# This should be armv7-a but current gcc doesn't support it -makeoptions CONF_CFLAGS=-D_ARM_ARCH_6 - cpu CPU_CORTEXA files "../ti/files.ti" Index: sys/arm/sa11x0/std.sa11x0 =================================================================== --- sys/arm/sa11x0/std.sa11x0 (revision 237743) +++ sys/arm/sa11x0/std.sa11x0 (working copy) @@ -6,4 +6,3 @@ makeoptions KERNPHYSADDR=0xc0000000 makeoptions KERNVIRTADDR=0xc0000000 options NO_EVENTTIMERS -options ARM_WANT_TP_ADDRESS Index: sys/arm/lpc/std.lpc =================================================================== --- sys/arm/lpc/std.lpc (revision 237743) +++ sys/arm/lpc/std.lpc (working copy) @@ -12,4 +12,3 @@ options KERNPHYSADDR=0x80100000 makeoptions KERNVIRTADDR=0xc0100000 options KERNVIRTADDR=0xc0100000 -options ARM_WANT_TP_ADDRESS Index: sys/arm/at91/std.at91 =================================================================== --- sys/arm/at91/std.at91 (revision 237743) +++ sys/arm/at91/std.at91 (working copy) @@ -5,4 +5,3 @@ makeoptions CONF_CFLAGS=-mcpu=arm9 options PHYSADDR=0x20000000 options NO_EVENTTIMERS -options ARM_WANT_TP_ADDRESS Index: sys/arm/at91/std.at91sam9 =================================================================== --- sys/arm/at91/std.at91sam9 (revision 237743) +++ sys/arm/at91/std.at91sam9 (working copy) @@ -8,5 +8,4 @@ device at91sam9g20 device at91sam9260 options NO_EVENTTIMERS -options ARM_WANT_TP_ADDRESS Index: sys/conf/kmod.mk =================================================================== --- sys/conf/kmod.mk (revision 237743) +++ sys/conf/kmod.mk (working copy) @@ -61,7 +61,7 @@ # # backwards compat option for older systems. -MACHINE_CPUARCH?=${MACHINE_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/:C/powerpc64/powerpc/} +MACHINE_CPUARCH?=${MACHINE_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/} AWK?= awk KMODLOAD?= /sbin/kldload Index: sys/conf/kern.pre.mk =================================================================== --- sys/conf/kern.pre.mk (revision 237743) +++ sys/conf/kern.pre.mk (working copy) @@ -6,7 +6,7 @@ .include # backwards compat option for older systems. -MACHINE_CPUARCH?=${MACHINE_ARCH:C/mips(n32|64)?(el)?/mips/:C/armeb/arm/:C/powerpc64/powerpc/} +MACHINE_CPUARCH?=${MACHINE_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb)?/arm/:C/powerpc64/powerpc/} # Can be overridden by makeoptions or /etc/make.conf KERNEL_KO?= kernel --Apple-Mail=_17CC2F48-3F88-47CD-B4C1-D054BE658922 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_17CC2F48-3F88-47CD-B4C1-D054BE658922-- From owner-freebsd-arm@FreeBSD.ORG Thu Jul 5 23:49:43 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 166531065670 for ; Thu, 5 Jul 2012 23:49:43 +0000 (UTC) (envelope-from r.neese@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id C0B568FC0A for ; Thu, 5 Jul 2012 23:49:42 +0000 (UTC) Received: by ggnm2 with SMTP id m2so9376744ggn.13 for ; Thu, 05 Jul 2012 16:49:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=Fcmc6wGvNEZkePsVcSmA2VaPVUlbHukC/oXgcoAe6KE=; b=afE0EXA2QZq55DaRXDGCbLCarJxFHICmqy/FUaM1xEcGMwffhl3B5DgwXX18D0uQp3 xHNOIn0qIWjWzfILnSkJM4iCppSjqUB3wJvOGD25gVtD9gmBjhJEKt/I6M62nb5XY1Pq ItJEt2e7u7hCIVceasiQsfY+ib4hjRdkpn6r47m34P3B8TsOPXz4+345m8dmGSYkeu2K QHqxFa+B3ExZiw0e935dMKKZhkV998bgVX567w0h9MSWFQMtdeCJ/Xy1dlm83dgb5VCm AVRgMRkEup/wKN73zMiaqwbJ+ZVylj8ckT9qOKkQ729E8ywHsbNZBwGpQwHfUeDEpguK IFwA== Received: by 10.236.74.198 with SMTP id x46mr33903668yhd.7.1341532182071; Thu, 05 Jul 2012 16:49:42 -0700 (PDT) Received: from [127.0.0.1] ([97.100.0.41]) by mx.google.com with ESMTPS id z19sm21193788anh.22.2012.07.05.16.49.40 (version=SSLv3 cipher=OTHER); Thu, 05 Jul 2012 16:49:41 -0700 (PDT) Message-ID: <4FF62816.3030906@gmail.com> Date: Thu, 05 Jul 2012 19:49:42 -0400 From: Richard E Neese User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Content-Type: multipart/mixed; boundary="------------080903000701070407080304" Subject: patch for dreamplug on arm 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: Thu, 05 Jul 2012 23:49:43 -0000 This is a multi-part message in MIME format. --------------080903000701070407080304 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit this is a svn diff of head with dreamplug files included --------------080903000701070407080304 Content-Type: text/plain; charset=windows-1252; name="dreamplug.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="dreamplug.diff" Index: sys/boot/fdt/dts/dreamplug.dts =================================================================== --- sys/boot/fdt/dts/dreamplug.dts (revision 0) +++ sys/boot/fdt/dts/dreamplug.dts (working copy) @@ -0,0 +1,306 @@ +/* + * Copyright (c) 2010 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Semihalf under sponsorship from + * the FreeBSD Foundation. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * Marvell DreamPlug Device Tree Source. + * + * $FreeBSD:$ + */ + +/dts-v1/; + +/ { + model = "mrvl,DreamPlug"; + compatible = "DreamPlug"; + #address-cells = <1>; + #size-cells = <1>; + + aliases { + ethernet0 = &enet0; + ethernet1 = &enet1; + mpp = &MPP; + serial0 = &serial0; + serial1 = &serial1; + soc = &SOC; + sram = &SRAM; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "ARM,88FR131"; + reg = <0x0>; + d-cache-line-size = <32>; // 32 bytes + i-cache-line-size = <32>; // 32 bytes + d-cache-size = <0x4000>; // L1, 16K + i-cache-size = <0x4000>; // L1, 16K + timebase-frequency = <0>; + bus-frequency = <0>; + clock-frequency = <0>; + }; + }; + + memory { + device_type = "memory"; + reg = <0x0 0x20000000>; // 512M at 0x0 + }; + + localbus@f1000000 { + #address-cells = <2>; + #size-cells = <1>; + compatible = "mrvl,lbc"; + + /* This reflects CPU decode windows setup. */ + ranges = <0x0 0x0f 0xf9300000 0x00100000 + 0x1 0x1e 0xfa000000 0x00100000 + 0x2 0x1d 0xfa100000 0x02000000 + 0x3 0x1b 0xfc100000 0x00000400>; + + nor@0,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "cfi-flash"; + reg = <0x0 0x0 0x00100000>; + bank-width = <2>; + device-width = <1>; + }; + + led@1,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "led"; + reg = <0x1 0x0 0x00100000>; + }; + + nor@2,0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "cfi-flash"; + reg = <0x2 0x0 0x02000000>; + bank-width = <2>; + device-width = <1>; + }; + + nand@3,0 { + #address-cells = <1>; + #size-cells = <1>; + reg = <0x3 0x0 0x00100000>; + bank-width = <2>; + device-width = <1>; + }; + }; + + SOC: soc88f6281@f1000000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + ranges = <0x0 0xf1000000 0x00100000>; + bus-frequency = <0>; + + PIC: pic@20200 { + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <1>; + reg = <0x20200 0x3c>; + compatible = "mrvl,pic"; + }; + + timer@20300 { + compatible = "mrvl,timer"; + reg = <0x20300 0x30>; + interrupts = <1>; + interrupt-parent = <&PIC>; + mrvl,has-wdt; + }; + + MPP: mpp@10000 { + #pin-cells = <2>; + compatible = "mrvl,mpp"; + reg = <0x10000 0x34>; + pin-count = <50>; + pin-map = < + 0 1 /* MPP[0]: NF_IO[2] */ + 1 1 /* MPP[1]: NF_IO[3] */ + 2 1 /* MPP[2]: NF_IO[4] */ + 3 1 /* MPP[3]: NF_IO[5] */ + 4 1 /* MPP[4]: NF_IO[6] */ + 5 1 /* MPP[5]: NF_IO[7] */ + 6 1 /* MPP[6]: SYSRST_OUTn */ + 8 2 /* MPP[8]: UA0_RTS */ + 9 2 /* MPP[9]: UA0_CTS */ + 10 3 /* MPP[10]: UA0_TXD */ + 11 3 /* MPP[11]: UA0_RXD */ + 12 1 /* MPP[12]: SD_CLK */ + 13 1 /* MPP[13]: SD_CMD */ + 14 1 /* MPP[14]: SD_D[0] */ + 15 1 /* MPP[15]: SD_D[1] */ + 16 1 /* MPP[16]: SD_D[2] */ + 17 1 /* MPP[17]: SD_D[3] */ + 18 1 /* MPP[18]: NF_IO[0] */ + 19 1 /* MPP[19]: NF_IO[1] */ + 29 1 >; /* MPP[29]: TSMP[9] */ + }; + + GPIO: gpio@10100 { + #gpio-cells = <3>; + compatible = "mrvl,gpio"; + reg = <0x10100 0x20>; + gpio-controller; + interrupts = <35 36 37 38 39 40 41>; + interrupt-parent = <&PIC>; + }; + + rtc@10300 { + compatible = "mrvl,rtc"; + reg = <0x10300 0x08>; + }; + + twsi@11000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "mrvl,twsi"; + reg = <0x11000 0x20>; + interrupts = <43>; + interrupt-parent = <&PIC>; + }; + + enet0: ethernet@72000 { + #address-cells = <1>; + #size-cells = <1>; + model = "V2"; + compatible = "mrvl,ge"; + reg = <0x72000 0x2000>; + ranges = <0x0 0x72000 0x2000>; + local-mac-address = [ 00 00 00 00 00 00 ]; + interrupts = <12 13 14 11 46>; + interrupt-parent = <&PIC>; + phy-handle = <&phy0>; + + mdio@0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "mrvl,mdio"; + + phy0: ethernet-phy@0 { + reg = <0x0>; + }; + phy1: ethernet-phy@1 { + reg = <0x1>; + }; + + }; + }; + + enet1: ethernet@74000 { + #address-cells = <1>; + #size-cells = <1>; + model = "V2"; + compatible = "mrvl,ge"; + reg = <0x74000 0x02000>; + ranges = <0x0 0x74000 0x2000>; + local-mac-address = [ 00 00 00 00 00 00 ]; + interrupts = <16 17 18 15 47>; + interrupt-parent = <&PIC>; + phy-handle = <&phy1>; + }; + + + serial0: serial@12000 { + compatible = "ns16550"; + reg = <0x12000 0x20>; + reg-shift = <2>; + clock-frequency = <0>; + interrupts = <33>; + interrupt-parent = <&PIC>; + }; + + serial1: serial@12100 { + compatible = "ns16550"; + reg = <0x12100 0x20>; + reg-shift = <2>; + clock-frequency = <0>; + interrupts = <34>; + interrupt-parent = <&PIC>; + }; + + crypto@30000 { + compatible = "mrvl,cesa"; + reg = <0x30000 0x10000>; + interrupts = <22>; + interrupt-parent = <&PIC>; + + sram-handle = <&SRAM>; + }; + + usb@50000 { + compatible = "mrvl,usb-ehci", "usb-ehci"; + reg = <0x50000 0x1000>; + interrupts = <48 19>; + interrupt-parent = <&PIC>; + }; + + xor@60000 { + compatible = "mrvl,xor"; + reg = <0x60000 0x1000>; + interrupts = <5 6 7 8>; + interrupt-parent = <&PIC>; + }; + + sata@80000 { + compatible = "mrvl,sata"; + reg = <0x80000 0x6000>; + interrupts = <21>; + interrupt-parent = <&PIC>; + gpios = <&GPIO 29 1 0x00030000 /* GPIO[29]: IN_POL_LOW, IRQ (edge) */ + &GPIO 34 2 0x00000000>; /* GPIO[34]: OUT */ + }; + + sdio@90000 { + compatible = "mrvl,sdio"; + reg = <0x90000 0x134>; + interrupts = <28>; + interrupt-parent = <&PIC>; + + gpios = <&GPIO 29 1 0x00030000 /* GPIO[29]: IN_POL_LOW, IRQ (edge) */ + &GPIO 34 2 0x00000000>; /* GPIO[34]: OUT */ + + }; + }; + + SRAM: sram@fd000000 { + compatible = "mrvl,cesa-sram"; + reg = <0xfd000000 0x00100000>; + }; + + chosen { + stdin = "serial0"; + stdout = "serial0"; + }; +}; Index: sys/arm/mv/kirkwood/files.dreamplug =================================================================== --- sys/arm/mv/kirkwood/files.dreamplug (revision 0) +++ sys/arm/mv/kirkwood/files.dreamplug (working copy) @@ -0,0 +1,4 @@ +# $FreeBSD:$ + +include "arm/mv/kirkwood/files.kirkwood" +arm/mv/kirkwood/dreamplug.c standard Index: sys/arm/mv/kirkwood/dreamplug.c =================================================================== --- sys/arm/mv/kirkwood/dreamplug.c (revision 0) +++ sys/arm/mv/kirkwood/dreamplug.c (working copy) @@ -0,0 +1,44 @@ +/*- + * Copyright (c) 2010 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Semihalf under sponsorship from + * the FreeBSD Foundation. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +__FBSDID("$FreeBSD:$"); + +#include +#include + +#include + +int +fdt_pci_devmap(phandle_t node, struct pmap_devmap *devmap, vm_offset_t io_va, + vm_offset_t mem_va) +{ + + return (0); +} Index: sys/arm/mv/kirkwood/std.dreamplug =================================================================== --- sys/arm/mv/kirkwood/std.dreamplug (revision 0) +++ sys/arm/mv/kirkwood/std.dreamplug (working copy) @@ -0,0 +1,5 @@ +# $FreeBSD:$ + +include "../mv/std.mv" +include "../mv/kirkwood/std.kirkwood" +files "../mv/kirkwood/files.dreamplug" Index: sys/arm/conf/DREAMPLUG =================================================================== --- sys/arm/conf/DREAMPLUG (revision 0) +++ sys/arm/conf/DREAMPLUG (working copy) @@ -0,0 +1,164 @@ +# +# Custom kernel for Marvell DreamPlug devices. +# +# $FreeBSD:$ +# + +ident DREAMPLUG +include "../mv/kirkwood/std.dreamplug" + +options SOC_MV_KIRKWOOD +makeoptions MODULES_OVERRIDE="" + +#makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols +makeoptions WERROR="-Werror" + +options SCHED_4BSD #4BSD scheduler +options INET #InterNETworking +options INET6 #IPv6 communications protocols +options FFS #Berkeley Fast Filesystem +options NFSCL #New Network Filesystem Client +options NFSLOCKD #Network Lock Manager +options NFS_ROOT #NFS usable as /, requires NFSCL +options BOOTP +options BOOTP_NFSROOT +options BOOTP_NFSV3 +options BOOTP_WIRED_TO=mge0 + +# Root fs on USB device +#options ROOTDEVNAME=\"ufs:/dev/da0a\" + +options SYSVSHM #SYSV-style shared memory +options SYSVMSG #SYSV-style message queues +options SYSVSEM #SYSV-style semaphores +options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions +options MUTEX_NOINLINE +options RWLOCK_NOINLINE +options NO_FFS_SNAPSHOT +options NO_SWAPPING + +# Debugging +options ALT_BREAK_TO_DEBUGGER +options DDB +#options DEADLKRES #Enable the deadlock resolver +options DIAGNOSTIC +#options INVARIANTS #Enable calls of extra sanity checking +#options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS +options KDB +options WITNESS #Enable checks to detect deadlocks and cycles +options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed +#options WITNESS_KDB + +# Pseudo devices +device random +device pty +device loop + +# Serial ports +device uart + +# Networking +device ether +device mge # Marvell Gigabit Ethernet controller +device mii +device e1000phy +device bpf +options HZ=1000 +options DEVICE_POLLING +device vlan + +device cesa # Marvell security engine +device crypto +device cryptodev + +# USB +options USB_DEBUG # enable debug msgs +device usb +device ehci +device umass +device scbus +device pass +device da + +# Flattened Device Tree +options FDT +options FDT_DTB_STATIC +makeoptions FDT_DTS_FILE=dreamplug.dts + +# IPSec +device enc +options IPSEC +options IPSEC_NAT_T +options TCP_SIGNATURE #include support for RFC 2385 + +# IPFW support +options IPFIREWALL +options IPFIREWALL_DEFAULT_TO_ACCEPT +options IPFIREWALL_FORWARD +options IPFIREWALL_VERBOSE +options IPFIREWALL_VERBOSE_LIMIT=100 +options DUMMYNET +options IPDIVERT + +# Partition support +#options GEOM_PART_MBR +#options GEOM_PART_BSD +options GEOM_PART_GPT +options GEOM_LABEL +options GEOM_ELI + +# UFS +options UFS_ACL +options UFS_DIRHASH +options SOFTUPDATES + +# FAT support +options MSDOSFS + +# Misc FSs +options PROCFS +options PSEUDOFS + +# Sound +device sound +device snd_uaudio + +# I2C (TWSI) +device iic +device iicbus + +# SATA +device mvs + +# altq(9). Enable the base part of the hooks with the ALTQ option. +# Individual disciplines must be built into the base system and can not be +# loaded as modules at this point. ALTQ requires a stable TSC so if yours is +# broken or changes with CPU throttling then you must also have the ALTQ_NOPCC +# option. +options ALTQ +options ALTQ_CBQ # Class Based Queueing +options ALTQ_RED # Random Early Detection +options ALTQ_RIO # RED In/Out +options ALTQ_HFSC # Hierarchical Packet Scheduler +options ALTQ_CDNR # Traffic conditioner +options ALTQ_PRIQ # Priority Queueing +options ALTQ_NOPCC # Required if the TSC is unusable +#options ALTQ_DEBUG + +# MROUTING enables the kernel multicast packet forwarder, which works +# with mrouted and XORP. +options MROUTING # Multicast routing + +# Add device Polling +options DEVICE_POLLING + +# Add multiple route table support +options ROUTETABLES=16 + +# eliminating data copies on socket reads and writes. +# man 9 zero_copy +options ZERO_COPY_SOCKETS + +#Enable the use of the IP forward feature +#Reduce PPS +#options IPFIREWALL_FORWARD --------------080903000701070407080304-- From owner-freebsd-arm@FreeBSD.ORG Sat Jul 7 05:26:38 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 85FE41065673; Sat, 7 Jul 2012 05:26:38 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 5153F8FC12; Sat, 7 Jul 2012 05:26:38 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q675QSfq008795; Sat, 7 Jul 2012 05:26:28 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id 38brj299kdvf4k8g7e8wkh4xfa; Sat, 07 Jul 2012 05:26:28 +0000 (UTC) (envelope-from kientzle@freebsd.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Fri, 6 Jul 2012 22:26:28 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <6F881AF6-7E8C-4459-82F3-C5E7DA4C2E6C@freebsd.org> References: <1340921715.1110.100.camel@revolution.hippie.lan> <3AB368CC-BE8B-4058-A342-763B8C073800@bsdimp.com> <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1278) Cc: arm@freebsd.org, Warner Losh Subject: Re: TARGET_ARCH=armv6 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, 07 Jul 2012 05:26:38 -0000 On Jul 4, 2012, at 4:51 PM, Tim Kientzle wrote: > Attached patch adds full support to the projects/armv6 tree for > building with TARGET_ARCH=3Darmv6 (*instead of* TARGET_CPUTYPE). >=20 > I intend to commit this to the armv6 tree after I finish some more = test builds (likely a few days). >=20 > Most of this is copied from Warner's work[0], though I've filled in a > few additional pieces. To wit: > * GCC defaults to arm1176jz-s processor instead of StrongARM > * GCC defines __FreeBSD_ARCH_armv6__ and sys/param.h sets = MACHINE_ARCH to armv6 when it sees this. This persists the 'armv6' = architecture setting through native rebuilds. > * gas defaults to ARM_ARCH_V6K > * uname -p returns 'armv6' > * make -V MACHINE_ARCH defaults to 'armv6' > * WANT_TP_ADDRESS is now assumed for any processor < ARMv6K (as set by = the compiler's CPU settings) >=20 > The other renaming and refactoring I proposed recently isn't yet = complete here; I want to make sure this is stable and get it committed = before I churn the tree again. ;-) Hoping to commit this weekend. Any feedback or testing would be much appreciated. I would also appreciate help with fixing clang: * Right now, TARGET_ARCH=3Darmv6 doesn't build clang. * clang doesn't support armv6-unknown-freebsd10.0 * I have no idea how to use clang to cross-build the armv6 tree = (which will obviously be needed if clang is ever going to replace gcc). Tim From owner-freebsd-arm@FreeBSD.ORG Sat Jul 7 06:05:11 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 3132F1065678 for ; Sat, 7 Jul 2012 06:05:11 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id DEA5E8FC08 for ; Sat, 7 Jul 2012 06:05:10 +0000 (UTC) Received: by obbun3 with SMTP id un3so20256137obb.13 for ; Fri, 06 Jul 2012 23:05:10 -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 :message-id:references:to:x-mailer:x-gm-message-state; bh=TKsAuws2HE4c+wh6nCMbEkkLNEDyxOFgYFH0tm1tAUc=; b=KkYiSCF63DIhbxtrS2rfim/tU14wFeH4pw50JKZ6bnFpNEz7aG61BBgoBO15dEJ5i8 1zap/rezIngInT5RscVJqYZoiIbSbNuBnztT8PRgX3kS3u4lmX/KJPX5WLuhR79hducj DGktKZsssOnr5kF5oGiB0v4gN1TimnDVaZZLhqxAbAD6/GSBfgSRW6HKgZtAF9pSAlfV V+O+Xq3X5plCTqwnojaBEgjxmgYeJ1DYE/9XECEqGEQHVoTXsRC/3dRzQIUYf7M/yR7W 7WOQfv7rpFah7wmT+EvqjAnIVb3MSukHBlOA/Jh8qEchJi+i4TH+n4iXR3BVS/5rApHO 13iQ== Received: by 10.50.237.71 with SMTP id va7mr4170814igc.6.1341641110137; Fri, 06 Jul 2012 23:05:10 -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 z7sm4131856igb.3.2012.07.06.23.05.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jul 2012 23:05:09 -0700 (PDT) Sender: Warner Losh Mime-Version: 1.0 (Apple Message framework v1084) From: Warner Losh In-Reply-To: Date: Sat, 7 Jul 2012 00:05:07 -0600 Message-Id: References: <1340921715.1110.100.camel@revolution.hippie.lan> <3AB368CC-BE8B-4058-A342-763B8C073800@bsdimp.com> <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQlOYM4w2PuFikFCfH/Yq3/O8/yatRrQs87fOYr5oFu05RpQgi9LpzYivbKYEcYzgniaM9dg Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: arm@freebsd.org, Warner Losh Subject: Re: TARGET_ARCH=armv6 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, 07 Jul 2012 06:05:11 -0000 On Jul 4, 2012, at 5:51 PM, Tim Kientzle wrote: > This looks good enough to commit to the projects/armv6 branch. Warner From owner-freebsd-arm@FreeBSD.ORG Sat Jul 7 19:24:16 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 92555106564A for ; Sat, 7 Jul 2012 19:24:16 +0000 (UTC) (envelope-from kientzle@freebsd.org) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 68C238FC08 for ; Sat, 7 Jul 2012 19:24:16 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id q67JOEA7011848; Sat, 7 Jul 2012 19:24:14 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id te7m4xaytijntk4ce3233qcj2i; Sat, 07 Jul 2012 19:24:14 +0000 (UTC) (envelope-from kientzle@freebsd.org) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: Date: Sat, 7 Jul 2012 12:24:14 -0700 Content-Transfer-Encoding: 7bit Message-Id: <3A793074-C6CE-4795-9D10-7EF33E2F4479@freebsd.org> References: <1340921715.1110.100.camel@revolution.hippie.lan> <3AB368CC-BE8B-4058-A342-763B8C073800@bsdimp.com> <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> To: Warner Losh X-Mailer: Apple Mail (2.1278) Cc: arm@freebsd.org, Warner Losh Subject: Re: TARGET_ARCH=armv6 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, 07 Jul 2012 19:24:16 -0000 On Jul 6, 2012, at 11:05 PM, Warner Losh wrote: > > On Jul 4, 2012, at 5:51 PM, Tim Kientzle wrote: > >> > > This looks good enough to commit to the projects/armv6 branch. Done. Please try TARGET_ARCH=armv6 and let me know what breaks. I just found that native "make buildworld" miscompiles rtld. Fortunately, disassembling the good and bad versions only shows a few differences, so I'm tracking those down. Tim From owner-freebsd-arm@FreeBSD.ORG Sat Jul 7 21:38:59 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 0594A1065677 for ; Sat, 7 Jul 2012 21:38:59 +0000 (UTC) (envelope-from imp@bsdimp.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 873A38FC15 for ; Sat, 7 Jul 2012 21:38:58 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so18012087pbb.13 for ; Sat, 07 Jul 2012 14:38:58 -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=+C5Kg+qHd1VNuSyY5/upnDFsTtzayE4bgqovn7txpok=; b=dYG+J1IOkA3aL5Cs48nzXOgn7xDyWwSSanQ8GeLOLmuHZUDrWg5X0EZRUnyEzC/taN WkyX2B1RbxeckzrWMKQokqQEULA5G+0E5XBbKJgLcR5UwsZdC9Uydo/CXZ13ykNT/yw9 Cb6Osgyu+0R1ebj/GWl/jgLh+sChKuxadyOrJRgkHEICk+yoqUnPyV4s4xaxqpzaVFXi jN0pwW/C8bvduHQ2zNB58sQjk0M9cSLZW+MJ6NpZnKpw0fJ+IGryQvdOltUC+DzYYonQ D9x+M3WJP0JCwbtYd3RmADtwdqmZeeslbku2mkWJVTrMYscwuvBqDjNuGU8hQs4CUlzd GYrw== Received: by 10.68.193.195 with SMTP id hq3mr47682151pbc.30.1341697138065; Sat, 07 Jul 2012 14:38:58 -0700 (PDT) Received: from [10.0.0.63] (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id pe8sm21168242pbc.76.2012.07.07.14.38.57 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 07 Jul 2012 14:38:57 -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: <3A793074-C6CE-4795-9D10-7EF33E2F4479@freebsd.org> Date: Sat, 7 Jul 2012 15:38:52 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <7D5A585B-BDEA-476D-9818-044EAD395986@bsdimp.com> References: <1340921715.1110.100.camel@revolution.hippie.lan> <3AB368CC-BE8B-4058-A342-763B8C073800@bsdimp.com> <576FE101-93B7-46D6-B38D-A28EF18CFFC2@freebsd.org> <3A793074-C6CE-4795-9D10-7EF33E2F4479@freebsd.org> To: Tim Kientzle X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQml3fViQS4wP/G9FgoyByCrtYTaRDKuM4NU0z57dIvZAsVcSBJqFbSyMrs6CBKECLBJItW2 Cc: arm@freebsd.org, Warner Losh Subject: Re: TARGET_ARCH=armv6 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, 07 Jul 2012 21:38:59 -0000 On Jul 7, 2012, at 1:24 PM, Tim Kientzle wrote: >=20 > On Jul 6, 2012, at 11:05 PM, Warner Losh wrote: >=20 >>=20 >> On Jul 4, 2012, at 5:51 PM, Tim Kientzle wrote: >>=20 >>> >>=20 >> This looks good enough to commit to the projects/armv6 branch. >=20 > Done. >=20 > Please try TARGET_ARCH=3Darmv6 and let me know > what breaks. I just found that native "make buildworld" > miscompiles rtld. Fortunately, disassembling the good > and bad versions only shows a few differences, so I'm > tracking those down. Thanks Tim! That's awesome. I'm glad you had the time and energy to = drive this to completion!=20 Warner