From owner-freebsd-arm@FreeBSD.ORG Sun Aug 30 15:54:21 2009 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 76B9D106566B for ; Sun, 30 Aug 2009 15:54:21 +0000 (UTC) (envelope-from gballet@gmail.com) Received: from mail-bw0-f206.google.com (mail-bw0-f206.google.com [209.85.218.206]) by mx1.freebsd.org (Postfix) with ESMTP id 09A998FC15 for ; Sun, 30 Aug 2009 15:54:20 +0000 (UTC) Received: by bwz2 with SMTP id 2so2233340bwz.43 for ; Sun, 30 Aug 2009 08:54:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=s7N/F257KiKupWThvJDBeOwHT+0dkTLiY+LZCxs2mng=; b=IjggznoxybjBLJy7fqnnXFURL+hKwefejlF+9XUYh2KBF+TW9PBtUSJL08lcwvkmZv syfWRDA8HjGni4b5pLzjBDz3GxLL9OwMZXacGwgfwJsCQc/yl1/H56e1L8v7+6h/DYzc txu79LDPrSTWShtWcMaikvdIfLRw+rneQlQsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=CjmB9t6IXDr90xF/u3Kl0ChkAdK/SHug/+ki0/RKLHdbHUggs/wz0199soEduPtNFL jIEdTkGFUXe2tBXyoIkljrodpkhiHsVZXUVT600ujrGr6z9lLDdFrgqv9H6VfZSKLxCM z0WScP3yyqyqLyZS57QthTAvwC6ijuUJEjPIc= MIME-Version: 1.0 Received: by 10.204.23.77 with SMTP id q13mr3328463bkb.14.1251647659848; Sun, 30 Aug 2009 08:54:19 -0700 (PDT) Date: Sun, 30 Aug 2009 17:54:19 +0200 Message-ID: From: Guillaume Ballet To: freebsd-arm@freebsd.org, heiner_ej@yahoo.de Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: support for Omap3530 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, 30 Aug 2009 15:54:21 -0000 > Hi, > do you have a kernel configuration ? Which loader do you use ? Do you > boot from SD ? I'm at the point to learn nanobsd to generate a boot > image. I hope the board will boot it with u-boot from SD. I am indeed booting from the SD card with u-boot, and then with a simplistic custom loader. I plan on porting loader(8) but the kernel is too time consuming for the moment. I remember reading some slides by Rafal Jaworowski on how to have u-boot run loader(8), but I didn't have the time yet to investigate if this went further. Once the capability exists, I guess it is fairly easy to tell loader(8) to fetch the kernel on a FAT partition. It would save me a lot of typing for sure :P Regarding the kernel configuration, I am not at a stage where the kernel finishes booting, so it won't be of much use to you at the moment. I will keep you posted when I manage to the end of the kernel init. Guillaume From owner-freebsd-arm@FreeBSD.ORG Mon Aug 31 11:07:01 2009 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 EDA801065670 for ; Mon, 31 Aug 2009 11:07:01 +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 DC2598FC13 for ; Mon, 31 Aug 2009 11:07:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7VB71HJ070486 for ; Mon, 31 Aug 2009 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7VB71kq070482 for freebsd-arm@FreeBSD.org; Mon, 31 Aug 2009 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Aug 2009 11:07:01 GMT Message-Id: <200908311107.n7VB71kq070482@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, 31 Aug 2009 11:07:02 -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/134368 arm [patch] nslu2_led driver for the LEDs on the NSLU2 o arm/134338 arm [patch] Lock GPIO accesses on ixp425 o arm/134092 arm [patch] NSLU.hints contains wrong hints for on board n 3 problems total. From owner-freebsd-arm@FreeBSD.ORG Wed Sep 2 16:49:12 2009 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 8F22E106568D for ; Wed, 2 Sep 2009 16:49:12 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4A6A08FC14 for ; Wed, 2 Sep 2009 16:49:12 +0000 (UTC) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.14.3/8.14.3) with ESMTP id n82GnBK3072784 for ; Wed, 2 Sep 2009 11:49:11 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1251910151; bh=C2aBaDp3bNY5uijqysp5k65/gHjaAR8ggusHGJfVWg0=; h=Date:From:Message-Id:To:Subject; b=VU0rpMJP/fcYMbfWHi387zSA75Ro6I9id/WtqW6JA2If/XGdy5ZO5qA/OxTr6krKc xnOfMVQWSDebXyeVsII0+0iKe7vIv551LruDfx7UwvXaUO90w8NgWtZIB6Gp+odNDu PGVUxaXpz8xju1mWbNasF96MjgYOJfkqMFk1bl6g= Received: (from tinguely@localhost) by casselton.net (8.14.3/8.14.2/Submit) id n82GnBb1072783 for freebsd-arm@freebsd.org; Wed, 2 Sep 2009 11:49:11 -0500 (CDT) (envelope-from tinguely) Date: Wed, 2 Sep 2009 11:49:11 -0500 (CDT) From: Mark Tinguely Message-Id: <200909021649.n82GnBb1072783@casselton.net> To: freebsd-arm@freebsd.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.2 (casselton.net [127.0.0.1]); Wed, 02 Sep 2009 11:49:11 -0500 (CDT) Subject: remove dangling allocations 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, 02 Sep 2009 16:49:12 -0000 Without the pressure of getting something to work for FreeBSD 8.0, I would like to revisit this issue. Revisions 181296 and 195779 added cache fixes, and I think we should also remove a couple dangling allocations. Without removing the dangling allocation, the next time we map that page, our cache fixing code will think these pages are still used somewhere else and will unnecessarially turn off caching. As the system runs for days, more and more pages could dangle and performance could suffer. Removing the dangling allocation, may allow future simplification of the cache fixing code. Index: arm/arm/vm_machdep.c =================================================================== --- arm/arm/vm_machdep.c (revision 196359) +++ arm/arm/vm_machdep.c (working copy) @@ -172,6 +172,9 @@ sf_buf_free(struct sf_buf *sf) if (sf->ref_count == 0) { TAILQ_INSERT_TAIL(&sf_buf_freelist, sf, free_entry); nsfbufsused--; + pmap_kremove(sf->kva); + sf->m = NULL; + LIST_REMOVE(sf, list_entry); if (sf_buf_alloc_want > 0) wakeup_one(&sf_buf_freelist); } @@ -452,9 +455,12 @@ arm_unmap_nocache(void *addr, vm_size_t size) size = round_page(size); i = (raddr - arm_nocache_startaddr) / (PAGE_SIZE); - for (; size > 0; size -= PAGE_SIZE, i++) + for (; size > 0; size -= PAGE_SIZE, i++) { arm_nocache_allocated[i / BITS_PER_INT] &= ~(1 << (i % BITS_PER_INT)); + pmap_kremove(raddr); + raddr += PAGE_SIZE; + } } #ifdef ARM_USE_SMALL_ALLOC From owner-freebsd-arm@FreeBSD.ORG Thu Sep 3 13:16:21 2009 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 654971065696 for ; Thu, 3 Sep 2009 13:16:21 +0000 (UTC) (envelope-from don@donhayford.com) Received: from rehobot.2ip.com (rehobot.2ip.com [75.125.216.154]) by mx1.freebsd.org (Postfix) with ESMTP id 409F48FC13 for ; Thu, 3 Sep 2009 13:16:20 +0000 (UTC) Received: from d47-69-178-97.try.wideopenwest.com ([69.47.97.178]:36017 helo=[192.168.1.105]) by rehobot.2ip.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MeVt5-0003Mm-Uf; Fri, 21 Aug 2009 08:18:44 -0700 Message-ID: <4A8EBAD5.9070300@donhayford.com> Date: Fri, 21 Aug 2009 11:18:45 -0400 From: Donald T Hayford User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Rafael Mentz Aquino References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - rehobot.2ip.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - donhayford.com Cc: freebsd-arm@freebsd.org Subject: Re: Marvel Sheevaplug 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, 03 Sep 2009 13:16:21 -0000 Rafael Mentz Aquino wrote: > Marvell>> dhcp > BOOTP broadcast 1 > *** Unhandled DHCP Option in OFFER/ACK: 52 > *** Unhandled DHCP Option in OFFER/ACK: 52 > DHCP client bound to address 192.168.2.103 > Marvell>> set serverip 192.168.2.10 > Marvell>> tftpboot 90000 kernel.bin > Using egiga0 device > TFTP from server 192.168.2.10; our IP address is 192.168.2.103 > Filename 'kernel.bin'. > Load address: 0x90000 > Loading: ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ################################################################# > ############# > done > Bytes transferred = 2728820 (29a374 hex) > Marvell>> go 90000 > ## Starting application at 0x00090000 ... > Try a load address of 0x900000, not 0x90000. Regards, Don