From owner-freebsd-arm@FreeBSD.ORG Wed Aug 11 10:18:34 2010 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 8BFC01065670 for ; Wed, 11 Aug 2010 10:18:34 +0000 (UTC) (envelope-from ben.r.gray@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1B9628FC14 for ; Wed, 11 Aug 2010 10:18:33 +0000 (UTC) Received: by wyj26 with SMTP id 26so15195713wyj.13 for ; Wed, 11 Aug 2010 03:18:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HgHM2dCWaXmvyC8kxEvXCyXPkyiszk06Wri14qzbAUI=; b=sNkAM/sbUNigG+OgyOXvkj9Au2cxcEemPmR2e3dQQfD4cwXFX1maW+4SrEF6wihFEq 1a/Rp6x2IapkeI8bGWrMJDj1/gJSlrQBijRc5zxwomF4bqMFDXF5cpiVe8CWu5Rl1YyV qvKXdWNyQcOpCBhsrNmjIZCLH8bJo4djW4QRc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=BpUYeIbEwbOQ1wZm7MbzmfpnAsawHaFVunGNi3hKoxf0TygSvyX2pbAOdYz5Rpbg7Y EfkcAiYPu9gKWJQrIGOwyJhSOfd6fH0rm2vHwa7NjB1ugXwU009D3mSaeK2uU8yCJDjf VdYRuj6kRruCWn7V6QCIp6HBmOEQnvPaQYLgs= Received: by 10.227.141.136 with SMTP id m8mr16031110wbu.227.1281521913019; Wed, 11 Aug 2010 03:18:33 -0700 (PDT) Received: from Bens-MBP.local (ip-80-238-8-128.bskyb.com [80.238.8.128]) by mx.google.com with ESMTPS id h37sm3963366wej.23.2010.08.11.03.18.31 (version=SSLv3 cipher=RC4-MD5); Wed, 11 Aug 2010 03:18:32 -0700 (PDT) Message-ID: <4C6278F7.3020208@gmail.com> Date: Wed, 11 Aug 2010 11:18:31 +0100 From: Ben Gray User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) MIME-Version: 1.0 To: Guillaume Ballet References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org Subject: Re: Some of my files for the FreeBSD port 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, 11 Aug 2010 10:18:34 -0000 Hi Guillaume, Thanks very for much for your pmap changes, mine were very much hacks that I patched in as I came across problems. Also the code on google project page is a couple of weeks out of date, so I'll sync that up with my local copy tonight. Not too much has changed but I've written the following addition drivers which are untested: - I2C bus driver - The outlines of a TPS65950 I2C device driver - System control module (SCM) driver for pad configuration - USB EHCI driver I'll endeavour also to add some stuff to the wiki about how I boot via uboot. Lastly I'm mounting the rootfs from the MMC card, the mount seems to work fine and it can find the init file in the path. So the MMC driver looks like it's working ok, but it's certainly possible that the seg fault I'm seeing in init could be caused by some bug in reading the actual init file binary. I'll drop you another email when I think everything is up on googlecode. Cheers, Ben. > Hello, > > I have looked a bit more at the code you published on google code. I > didn't have much time tonight, so I looked at your bus code, and your > interrupt code. I see you're not creating a device for the interrupt > controller, although I don't think it's the cause for your ordering > problem anymore. Still, I enclosed the file I had written - it's a bit > different from yours and maybe you'll find something interesting in > it. I'm also sending you the pmap.c that I used, maybe you'll find > some difference that could explain why you can't get past init. > > I have more files, but you seem to be much more ahead in the support > than I am. I'll compare it to your files and see if I can bring > something. > > Also, could you please send me what I need to test your code on my > side? I'd like to see if I can help more with the init bug. I was > using the rescue init/shell in a ramdisk, but if you managed to get > MMC then it might be possible to run gdb from the init prompt! I'm > really happy that you work on it too, so that support for the board > can come up faster! I'm also working with other omap3530 boards at > work, like the Gumstix overo, so I can test it on different platforms. > > Cheers, > Guillaume >