From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 1 18:19:28 2012 Return-Path: Delivered-To: freebsd-hackers@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-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD 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