From owner-freebsd-arm@FreeBSD.ORG Sun Apr 1 18:19:28 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 8343B106566B; Sun, 1 Apr 2012 18:19:28 +0000 (UTC) (envelope-from adutkowski@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id E7B158FC14; Sun, 1 Apr 2012 18:19:27 +0000 (UTC) Received: by eekd17 with SMTP id d17so614662eek.13 for ; Sun, 01 Apr 2012 11:19:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sqOExnJQYiSMRk1zQj385ak9qtJOTz0ewibwOMylOgs=; b=jmv4sfro2ilgsz0+Poqx4n5jzsXo8WTdQr0iim12IFBK/lI8t4XyQ5OCiyXrhb29ir CMwFM/azzcyth47CvPc71WmlXuj3qzaZfSKyeAe7yo8/aUq8Nxd/wFSmer0nuaOhV2p5 GGtbPGBhEEaugOFMV3lfgtcaLIenCRV1AKtj8NywUht2ct4ZxcyPLYvGFQ5+WNci82xg zuuO5MbAoYnUyz8lAkd4nQPvEQ9625k24OFDGi1NWHbkw+7L5ixJf22Fzj+/r7GmJ3WL PV++OOr7oOFk9TsxDmTGXmRmvdY5CeqMg46ouJ8bAXERoF79+RdiPQS2qoCmj5enDV+V 4hAg== MIME-Version: 1.0 Received: by 10.213.17.205 with SMTP id t13mr371287eba.4.1333304366692; Sun, 01 Apr 2012 11:19:26 -0700 (PDT) Received: by 10.213.16.133 with HTTP; Sun, 1 Apr 2012 11:19:26 -0700 (PDT) Date: Sun, 1 Apr 2012 20:19:26 +0200 Message-ID: From: Aleksander Dutkowski To: freebsd-arm@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: [GSoC] [ARM] arm cleanup - my own proposal 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: Sun, 01 Apr 2012 18:19:28 -0000 hello! after few weeks searching for interesting idea for me, I've decided to propose my own one. It is already mentioned on IdeasPage: - ARM cleanup Why I have chosen this one? I am very interested in embedded world. Now I am working on porting FBSD to at91sam9g45 - I will be much more motivated working on arm fbsd project than any other. Why should you let me do that project? While working on freebsd/arm I've noticed places that could be optimized, or separated, i.e. at91_samsize() should be declared for each board separately - now, this function has if-else and checks, which board is he running on. I would like to identify and fix that bugs, so the code will be more efficient and clear. Moreover, I think there should be a tutorial/framework for adding new boards or SoCs, so I will be simplier. I am currently reading the code in sys/arm/at91 and searching for improvements but I will be very pleased, if you send me your insights. The first question is - should I cleanup only at91 branch or more? I am quite familiar with at91 right now. The second - how to test the code? Some of boards could be tested in qemu, I could buy board with at91rm9200 for example, if I'm in. But maybe I will find here people with their own boards, they could help me testing? I havs sbc6045 board with at91sam9g45 SoC but it hasn't fbsd support yet (I'm working on it now :) ) I also thought about reducing kernel size for embedded, if arm cleanup won't fit. -- regards Aleksander Dutkowski http://ping.kti.gda.pl/~aleek From owner-freebsd-arm@FreeBSD.ORG Mon Apr 2 11:07:03 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 CAB8410656D5 for ; Mon, 2 Apr 2012 11:07:03 +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 B441F8FC24 for ; Mon, 2 Apr 2012 11:07:03 +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 q32B73R9046725 for ; Mon, 2 Apr 2012 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q32B73sr046723 for freebsd-arm@FreeBSD.org; Mon, 2 Apr 2012 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 2 Apr 2012 11:07:03 GMT Message-Id: <201204021107.q32B73sr046723@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 Apr 2012 11:07:03 -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/160431 arm [busdma] [patch] Disable interrupts during busdma cach 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/156496 arm [patch] Minor bugfixes and enhancements to mmc and mmc o arm/155894 arm [patch] Enable at91 booting from SDHC (high capacity) o arm/155214 arm [patch] MMC/SD IO slow on Atmel ARM with modern large o arm/154227 arm [geli] using GELI leads to panic on ARM o arm/154189 arm lang/perl5.12 doesn't build on arm o arm/153380 arm Panic / translation fault with wlan on ARM o arm/150581 arm [irq] Unknown error generates IRQ address decoding err o arm/149288 arm mail/dovecot causes panic during configure on Sheevapl o arm/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 p arm/134338 arm [patch] Lock GPIO accesses on ixp425 17 problems total. From owner-freebsd-arm@FreeBSD.ORG Fri Apr 6 15:20:23 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 567A5106566C; Fri, 6 Apr 2012 15:20:23 +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 1A83B8FC15; Fri, 6 Apr 2012 15:20:22 +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 q36FKM3h007508; Fri, 6 Apr 2012 11:20:22 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q36FKMSE007507; Fri, 6 Apr 2012 15:20:22 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 6 Apr 2012 15:20:22 GMT Message-Id: <201204061520.q36FKMSE007507@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: Fri, 06 Apr 2012 15:20:23 -0000 TB --- 2012-04-06 14:10:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-04-06 14:10:00 - 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-04-06 14:10:00 - starting HEAD tinderbox run for arm/arm TB --- 2012-04-06 14:10:00 - cleaning the object tree TB --- 2012-04-06 14:10:00 - cvsupping the source tree TB --- 2012-04-06 14:10:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2012-04-06 14:16:21 - building world TB --- 2012-04-06 14:16:21 - CROSS_BUILD_TESTING=YES TB --- 2012-04-06 14:16:21 - MAKEOBJDIRPREFIX=/obj TB --- 2012-04-06 14:16:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-04-06 14:16:21 - SRCCONF=/dev/null TB --- 2012-04-06 14:16:21 - TARGET=arm TB --- 2012-04-06 14:16:21 - TARGET_ARCH=arm TB --- 2012-04-06 14:16:21 - TZ=UTC TB --- 2012-04-06 14:16:21 - __MAKE_CONF=/dev/null TB --- 2012-04-06 14:16:21 - cd /src TB --- 2012-04-06 14:16:21 - /usr/bin/make -B buildworld >>> World build started on Fri Apr 6 14:16:22 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 Fri Apr 6 15:18:15 UTC 2012 TB --- 2012-04-06 15:18:15 - cd /src/sys/arm/conf TB --- 2012-04-06 15:18:15 - /usr/sbin/config -m AVILA TB --- 2012-04-06 15:18:15 - building AVILA kernel TB --- 2012-04-06 15:18:15 - CROSS_BUILD_TESTING=YES TB --- 2012-04-06 15:18:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-04-06 15:18:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-04-06 15:18:15 - SRCCONF=/dev/null TB --- 2012-04-06 15:18:15 - TARGET=arm TB --- 2012-04-06 15:18:15 - TARGET_ARCH=arm TB --- 2012-04-06 15:18:15 - TZ=UTC TB --- 2012-04-06 15:18:15 - __MAKE_CONF=/dev/null TB --- 2012-04-06 15:18:15 - cd /src TB --- 2012-04-06 15:18:15 - /usr/bin/make -B buildkernel KERNCONF=AVILA >>> Kernel build for AVILA started on Fri Apr 6 15:18:15 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 -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -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=xscale -ffreestanding -Werror /src/sys/libkern/strtoul.c cc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -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=xscale -ffreestanding -Werror /src/sys/libkern/strtouq.c cc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -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=xscale -ffreestanding -Werror /src/sys/libkern/strvalid.c cc -mbig-endian -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -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=xscale -ffreestanding -Werror /src/sys/net/bpf.c /src/sys/net/bpf.c: In function 'bpf_setf': /src/sys/net/bpf.c:1683: error: 'need_upgrade' undeclared (first use in this function) /src/sys/net/bpf.c:1683: error: (Each undeclared identifier is reported only once /src/sys/net/bpf.c:1683: error: for each function it appears in.) *** Error code 1 Stop in /obj/arm.arm/src/sys/AVILA. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-04-06 15:20:22 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-04-06 15:20:22 - ERROR: failed to build AVILA kernel TB --- 2012-04-06 15:20:22 - 2562.33 user 580.77 system 4221.29 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full