From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 03:29:21 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 EDB9398A for ; Sun, 30 Dec 2012 03:29:21 +0000 (UTC) (envelope-from tim@kientzle.com) 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 A37888FC12 for ; Sun, 30 Dec 2012 03:29:21 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qBU3SjLj002371; Sun, 30 Dec 2012 03:28:45 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id nmja7gfa8swvjtet9y8ihz9ira; Sun, 30 Dec 2012 03:28:45 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: FreeBSD on Raspberry Pi 512MB (with U-Boot + ubldr) Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Tim Kientzle In-Reply-To: <50DF7A65.7090604@bluezbox.com> Date: Sat, 29 Dec 2012 19:28:43 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <7F539D6B-583E-4E74-9F08-3717B827F1B8@kientzle.com> References: <3988C1622A974F19A9D3888F0334FF10@ad.peach.ne.jp> <046DA83A0A7B4B489B3FD4471A3ACD98@ad.peach.ne.jp> <50DF7A65.7090604@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.1283) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 03:29:22 -0000 On Dec 29, 2012, at 3:19 PM, Oleksandr Tymoshenko wrote: > On 12/29/2012 2:38 PM, Tim Kientzle wrote: >> On Dec 1, 2012, at 3:26 AM, Daisuke Aoyama wrote: >>=20 >>>> You can try my test version from: >>>> http://www.peach.ne.jp/archives/rpi/freebsd-pi-20121201.img.gz >>>>=20 >>>> SHA256 (freebsd-pi-20121130.img.gz) =3D = a4159301e2d7564ef065aa4c3d6afaef3284cc3ace1ae7c146aaea9e18ec0457 >>>> SHA256 (freebsd-pi-20121201.img.gz) =3D = 7a0b8bcda7f70c39b259811c12854fcf856af7e18436e9beb0c2fa25a7fdb0e0 >>>>=20 >>>> Using config is here: >>>> http://www.peach.ne.jp/archives/rpi/config/RPI-B-test3 >>> If you have a problem such as "Unrecognized filesystem type", please = try this version: >>>=20 >>> http://www.peach.ne.jp/archives/rpi/test/uboot-20121201.img >>> SHA256 (uboot-20121201.img) =3D = 9218f3ce3a09b012eb250c044df9ed835929c207f3c3f89b21bfe249ef639a0f >>>=20 >>> Rename it to uboot.img, then copy it to the SD you created. >> Could you please send me the patches you used for this >=20 > I might be wrong but I think it just disables HS mode for SDHCI. > Something like this: > http://people.freebsd.org/~gonzo/patches/u-boot-pi-nohs.diff >=20 Thank you! That's what I was looking for. My scripts are now updated to support the new boot process. In particular, they build U-Boot from source, build the VideoCore elements, and properly assemble all of the new boot bits. https://github.com/kientzle/freebsd-beaglebone The following config.sh should be sufficient to build a working RaspberryPi image from -CURRENT: ----------------------------- board_setup RaspberryPi SD_SIZE=3D$((1500 * MB)) #INSTALL_USR_SRC=3Dyes #INSTALL_USR_PORTS=3Dyes ----------------------------- Tim From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 11:33:04 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 838C51C7 for ; Sun, 30 Dec 2012 11:33:04 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 293978FC08 for ; Sun, 30 Dec 2012 11:33:02 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id qBUBWtnA003552 for ; Sun, 30 Dec 2012 06:32:55 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Sun, 30 Dec 2012 06:33:00 -0500 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: BeagleBone USB - more info Message-ID: <20121230063300.6978cf9c@ivory.wynn.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 11:33:04 -0000 Greeting- On the off case that someone is working on USB on the beaglebone I want to let you know that with the current ARM kernel the USB port does not even get powered up. I noted that none of the USB devices that I plugged into the BeagleBone ever show POWER when booted in FreeBSD 10, but their power lights come on when booted in Angstrom Linux. I hope this information can help move the USB on BeagleBone along a little. I can provide access to a BeagleBone if anyone needs it for development. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6924 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 13:11:11 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 046D05FC; Sun, 30 Dec 2012 13:11:11 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id A8F3A8FC0A; Sun, 30 Dec 2012 13:11:10 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TpIPw-0003dt-2h; Sun, 30 Dec 2012 13:55:04 +0100 Received: from h253044.upc-h.chello.nl ([62.194.253.44] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TpIPv-0007Mt-Jr; Sun, 30 Dec 2012 13:55:03 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org, freebsd-arm@freebsd.org Date: Sun, 30 Dec 2012 13:55:02 +0100 Subject: nandfs filling up MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: User-Agent: Opera Mail/12.12 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.0 X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.1 X-Scan-Signature: ba572e8a3bde05b4b19613c12a9e49fc X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 13:11:11 -0000 Hi, I just noticed my nandfs is filling up on a clean install. Running a sheevaplug. FreeBSD sh10.klop.ws 10.0-CURRENT FreeBSD 10.0-CURRENT #10: Sat Dec 15 18:26:46 CET 2012 root@mailjail.klop.ws:/usr/obj/arm.arm/usr/src/sys/SHEEVAPLUG arm From the daily messages to root. Disk status: Filesystem Size Used Avail Capacity Mounted on root@sh10:/var/mail # grep gnand root /dev/gnand0s.root 503M 286M 216M 57% / /dev/gnand0s.root 503M 299M 203M 59% / /dev/gnand0s.root 503M 316M 187M 63% / /dev/gnand0s.root 503M 329M 173M 65% / /dev/gnand0s.root 503M 341M 161M 68% / /dev/gnand0s.root 503M 341M 161M 68% / /dev/gnand0s.root 503M 353M 149M 70% / /dev/gnand0s.root 503M 363M 139M 72% / /dev/gnand0s.root 503M 375M 127M 75% / /dev/gnand0s.root 503M 388M 114M 77% / /dev/gnand0s.root 503M 399M 103M 79% / /dev/gnand0s.root 503M 412M 91M 82% / /dev/gnand0s.root 503M 423M 79M 84% / /dev/gnand0s.root 503M 435M 68M 86% / /dev/gnand0s.root 503M 446M 57M 89% / I did not activate any useful daemons. root@sh10:/var/mail # cat /etc/rc.conf hostname="sh10.klop.ws" ifconfig_DEFAULT="DHCP" fsck_y_enable="YES" background_fsck="NO" sshd_enable="YES" ntpd_enable="YES" ntpd_sync_on_start="YES" I just rebooted the machine to make sure no deleted files are still open. Df still shows 51MB available while du only shows 227MB in use. What can be happening here? Ronald. From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 14:12:09 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 59587646 for ; Sun, 30 Dec 2012 14:12:09 +0000 (UTC) (envelope-from ticso@cicely7.cicely.de) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) by mx1.freebsd.org (Postfix) with ESMTP id B88108FC08 for ; Sun, 30 Dec 2012 14:12:08 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id qBUE18M3056856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 30 Dec 2012 15:01:08 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id qBUE137A025324 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 30 Dec 2012 15:01:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id qBUE13Cb040767; Sun, 30 Dec 2012 15:01:03 +0100 (CET) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id qBUE12Sa040766; Sun, 30 Dec 2012 15:01:02 +0100 (CET) (envelope-from ticso) Date: Sun, 30 Dec 2012 15:01:02 +0100 From: Bernd Walter To: Thomas Skibo Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) Message-ID: <20121230140102.GA40637@cicely7.cicely.de> References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50DF555B.9060601@sbcglobal.net> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Dec 2012 14:12:09 -0000 On Sat, Dec 29, 2012 at 12:40:59PM -0800, Thomas Skibo wrote: > > Hello. > > I have been tinkering with this for several weeks: I booted FreeBSD > on a Zedboard (a low-cost evaluation board for the Xilinx Zynq-7000 SoC). That's very exciting because I hope to get two parallella boards next year from their kickstarter event. > It was just a matter of coming up with a device tree file, implementing > a UART driver, attaching the generic sdhci driver to the Zynq's SD > hardware, and adding a new CPU id. I don't have an ethernet driver yet > but I've started on it. > > I created an sdhci_fdt driver based on sdhci_pci.c. It should be > useful for other platforms. I won't be surprised if somebody points > out there is one already. > > One thing that stumped me for a while is that the interrupt controller > driver, gic.c, does not initialize the priority mask register > (GICC_PMR). The boot-loader left it at zero which masked all > interrupts. For now, I plug 0xff into it in my initarm_late_init() > function in zynq7_machdep.c. > > I'll provide my source soon. I want to do a few clean-ups of course > and I'll take any feed-back on my naming conventions and how I organized > the files. > -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 14:18:00 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 8D3D8812; Sun, 30 Dec 2012 14:18:00 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 102958FC12; Sun, 30 Dec 2012 14:17:59 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TpJiA-0001LT-7N; Sun, 30 Dec 2012 15:17:58 +0100 Received: from h253044.upc-h.chello.nl ([62.194.253.44] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TpJi9-0000IN-HO; Sun, 30 Dec 2012 15:17:57 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org, freebsd-arm@freebsd.org, "Mateusz Guzik" Subject: Re: nandfs filling up References: Date: Sun, 30 Dec 2012 15:17:56 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.12 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: + X-Spam-Score: 1.1 X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_20, URI_HEX autolearn=disabled version=3.3.1 X-Scan-Signature: 448baf4759cd3283a5930955cc61e1db X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 14:18:00 -0000 Mateusz, I found this similar issue from last november. http://freebsd.1045724.n5.nabble.com/NANDFS-eats-itself-up-td5764878.html Do you have anything new about this? I'm willing to test anything. Regards, Ronald. On Sun, 30 Dec 2012 13:55:02 +0100, Ronald Klop wrote: > Hi, > > I just noticed my nandfs is filling up on a clean install. > Running a sheevaplug. > FreeBSD sh10.klop.ws 10.0-CURRENT FreeBSD 10.0-CURRENT #10: Sat Dec 15 > 18:26:46 CET 2012 > root@mailjail.klop.ws:/usr/obj/arm.arm/usr/src/sys/SHEEVAPLUG arm > > From the daily messages to root. > Disk status: > Filesystem Size Used Avail Capacity Mounted on > root@sh10:/var/mail # grep gnand root > /dev/gnand0s.root 503M 286M 216M 57% / > /dev/gnand0s.root 503M 299M 203M 59% / > /dev/gnand0s.root 503M 316M 187M 63% / > /dev/gnand0s.root 503M 329M 173M 65% / > /dev/gnand0s.root 503M 341M 161M 68% / > /dev/gnand0s.root 503M 341M 161M 68% / > /dev/gnand0s.root 503M 353M 149M 70% / > /dev/gnand0s.root 503M 363M 139M 72% / > /dev/gnand0s.root 503M 375M 127M 75% / > /dev/gnand0s.root 503M 388M 114M 77% / > /dev/gnand0s.root 503M 399M 103M 79% / > /dev/gnand0s.root 503M 412M 91M 82% / > /dev/gnand0s.root 503M 423M 79M 84% / > /dev/gnand0s.root 503M 435M 68M 86% / > /dev/gnand0s.root 503M 446M 57M 89% / > > I did not activate any useful daemons. > root@sh10:/var/mail # cat /etc/rc.conf > hostname="sh10.klop.ws" > ifconfig_DEFAULT="DHCP" > > fsck_y_enable="YES" > background_fsck="NO" > > sshd_enable="YES" > ntpd_enable="YES" > ntpd_sync_on_start="YES" > > I just rebooted the machine to make sure no deleted files are still open. > Df still shows 51MB available while du only shows 227MB in use. > What can be happening here? > > Ronald. > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 18:13:41 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 DF2576DF for ; Sun, 30 Dec 2012 18:13:41 +0000 (UTC) (envelope-from ThomasSkibo@sbcglobal.net) Received: from nm17-vm0.access.bullet.mail.mud.yahoo.com (nm17-vm0.access.bullet.mail.mud.yahoo.com [66.94.236.21]) by mx1.freebsd.org (Postfix) with ESMTP id 868758FC08 for ; Sun, 30 Dec 2012 18:13:40 +0000 (UTC) Received: from [66.94.237.197] by nm17.access.bullet.mail.mud.yahoo.com with NNFMP; 30 Dec 2012 18:10:58 -0000 Received: from [68.142.198.107] by tm8.access.bullet.mail.mud.yahoo.com with NNFMP; 30 Dec 2012 18:10:58 -0000 Received: from [127.0.0.1] by smtp112.sbc.mail.mud.yahoo.com with NNFMP; 30 Dec 2012 18:10:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1356891058; bh=9q8qIa7AWfSutjHBQB0xpd/uhqe6Vuru1XcBQVM4YSA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=s6MkRThofrp3d3OkJHa+X7afOBMMnM1HoaKULidnAIxJOX8asSGy3jOihzp+YBF7qPDPMBWS3EU7BFvtFBvK/S9fpS8ZJzMoFTylu9PTX0hlI5ZoeRU6VhtujBkvIacvH3LOLGG+9yq4Ddpcew4PbUX0WqnaBP8bi0XNkF+assY= X-Yahoo-Newman-Id: 93263.69557.bm@smtp112.sbc.mail.mud.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: amhmFo4VM1mdMnM3Fm4GtMVJGNgeP9NTFYrb6qLWwscu8Af qISfkQydtS.2oLJyGFPgvjMW4jS.kQNUuT20satvK3ccBG7ua_V99CRHrGV7 3XK1Ie8yQ5wj5L_Fi5LsSDgD4GqDzB3fu24fIDndZeEOIXeXOrdR6GYcwWn_ A0G7ifgFtBlR0RNK6hjliOB2IBE01k8cNe4DOEhNl8Bt97s1LDNePfYhGeCF 99pxQSlH2iNfdNBmsHsn2PdxUiv1Q0rsq8ATYrGtZN4dHU8eNntI6wN8A4yb gcl5eTiX6DM9quz92QGxZTSEKpkK5gc6erXJbwjdbkA7MIA_0TGXC5bLYUtF Pbd1XvCQjy5N1vfh7gAgScvft__inN3Kk4jD2.iTVdD.ejrnmHgn14sHTqzW 6b4Yx3Md5y38n3Hun.peLe6.Rz7XtaPmxuF.LYbmGeIaTWiV__2rcZxwZPyB Hv6tywTaAaY7mG1L3aJP6P2Vz2x9QAeJsO2DSBBBsX7.cZtUtBwZpXPT5ddu O4pejPbtjLCygUerIRHNSqaPpBqPereCKz_xxBhJypcWds0wOqi29ZFhsA5e bkjZq X-Yahoo-SMTP: tUxoRneswBA21azLM.3ybMESf0mC2bFhTbmt0VU5ervH0kqi5lo- Received: from [192.168.1.9] (ThomasSkibo@71.139.179.229 with plain) by smtp112.sbc.mail.mud.yahoo.com with SMTP; 30 Dec 2012 10:10:58 -0800 PST Message-ID: <50E083B0.2030209@sbcglobal.net> Date: Sun, 30 Dec 2012 10:10:56 -0800 From: Thomas Skibo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Warner Losh , freebsd-arm@freebsd.org Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> <6285A410-0470-4A75-9067-7C524831A8DA@bsdimp.com> In-Reply-To: <6285A410-0470-4A75-9067-7C524831A8DA@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 18:13:41 -0000 On 12/29/12 12:49 PM, Warner Losh wrote: > Cool! > > But don't be a tease! Share the code :) > I've put the source code up at http://www.thomasskibo.com/zedbsd --Thomas -- -------- Thomas Skibo ThomasSkibo@sbcglobal.net From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 18:21:38 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 462FEA0F; Sun, 30 Dec 2012 18:21:38 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id C724A8FC08; Sun, 30 Dec 2012 18:21:37 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBUILbMs076137; Sun, 30 Dec 2012 11:21:37 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qBUILXIv084724; Sun, 30 Dec 2012 11:21:33 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: Call for testing and review, busdma changes From: Ian Lepore To: Scott Long In-Reply-To: <2D98F70D-4031-4860-BABB-1F4663896234@yahoo.com> References: <1355077061.87661.320.camel@revolution.hippie.lan> <1355085250.87661.345.camel@revolution.hippie.lan> <1356381775.1129.181.camel@revolution.hippie.lan> <1356390225.1129.217.camel@revolution.hippie.lan> <2D98F70D-4031-4860-BABB-1F4663896234@yahoo.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 30 Dec 2012 11:21:33 -0700 Message-ID: <1356891693.54953.31.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 30 Dec 2012 18:39:55 +0000 Cc: powerpc@freebsd.org, marcel@freebsd.org, mips@freebsd.org, John Baldwin , "mav@freebsd.org Motin" , "attilio@FreeBSD.org Rao" , Jeff Roberson , sparc64@freebsd.org, arm@freebsd.org, kib@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 18:21:38 -0000 On Mon, 2012-12-24 at 22:13 -0500, Scott Long wrote: > >>> > >>> Still unresolved is what to do about the remaining cases -- attempts to > >>> do dma in arbitrary buffers not obtained from bus_dmamem_alloc() which > >>> are not aligned and padded appropriately. There was some discussion a > >>> while back, but no clear resolution. I decided not to get bogged down > >>> by that fact and to fix the mbuf and allocated-buffer situations that we > >>> know how to deal with for now. > >> > > Why would these allocations not be handled as normal dynamic buffers > would with bus_dmamap_load()? > > Scott That's my point -- for "normal dynamic buffers" (that is, they weren't obtained from bus_dmamem_alloc() and they aren't mbufs) which can have arbitrary alignment and padding in relation to cache line boundaries -- we don't handle them correctly now unless they're accidentally already aligned and sized to the right boundaries. What's unresolved is how to handle them correctly if they're not aligned/padded, that is, what to do about them that avoids needing a partial cacheline flush at sync time. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 18:26: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 4E795B2E for ; Sun, 30 Dec 2012 18:26:13 +0000 (UTC) (envelope-from scott4long@yahoo.com) Received: from nm3-vm0.bullet.mail.bf1.yahoo.com (nm3-vm0.bullet.mail.bf1.yahoo.com [98.139.212.154]) by mx1.freebsd.org (Postfix) with ESMTP id E9CCB8FC17 for ; Sun, 30 Dec 2012 18:26:12 +0000 (UTC) Received: from [98.139.212.144] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 30 Dec 2012 18:23:15 -0000 Received: from [98.139.211.161] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 30 Dec 2012 18:23:14 -0000 Received: from [127.0.0.1] by smtp218.mail.bf1.yahoo.com with NNFMP; 30 Dec 2012 18:23:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1356891794; bh=aQikHoh3iRhB0ugZltL00Av3n8BidDAaxqutBqlcXws=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=0Abgj6ZaJs6W3BzC3y+bpmSA3qoQgVYZx3rCuJ7z2BGezcVpG/HTb0GV8TRK8yplfxf8fP6L0LKs2Ep9PdKk0VBWomd1A3JnrJIueWvby13MYbqKQagoOJzNref71o4y/PoFeoTP3e9Lve1hVQu6tGdfLNY+MAmLYRC2qv72gjw= X-Yahoo-Newman-Id: 957165.61229.bm@smtp218.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: GTgpwDIVM1mAXIqTAHCqTGsphgy8mZCs0IqZ67iLbIZ9g7h 9tOoC80117cgOO14mQbz.9qXgzlfJvi7gKnfzOW8kCf5fkrdcZf3NLHWrdmn KwztSwTf9XFo0u6SG4vFR4uUHSPRuR9R2HPjyMnVTt7xxJFXYJeVaj0FRPVi Zc7Wqn7ZRYT3m6.RHQMaK4w1Tnyz94fB4DMpXQJu5FnWbTV9iybZn9NWSgoq bgvyqP44EMeXlkYNw4e.9GQexvDCUICUsyr3haVwjrBC5ASl8wQVuhFXMc.m EeNmtaHnTdeI2PK_3yusuKkldRc40KOw.vrr1tYfucOOPO9hMxt60e4ArwVZ SncC4rdwxdfdQiXOEELh2xU_pVvhjhFEGZMm7dtjDCSxBfSb0wzFKP4vvInI LQOnUakQovuviwk3.uDZXYAEinyHIEY7SNP5q_HOTy.5mWj8kcbZJ0wXVOIy 6MPcqd9jlORhk1g-- X-Yahoo-SMTP: clhABp.swBB7fs.LwIJpv3jkWgo2NU8- Received: from [10.64.26.18] (scott4long@69.53.237.126 with plain) by smtp218.mail.bf1.yahoo.com with SMTP; 30 Dec 2012 10:23:14 -0800 PST Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Call for testing and review, busdma changes From: Scott Long In-Reply-To: <1356891693.54953.31.camel@revolution.hippie.lan> Date: Sun, 30 Dec 2012 11:23:11 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <30DCC8A9-8E26-4500-AF33-2D81981B554F@yahoo.com> References: <1355077061.87661.320.camel@revolution.hippie.lan> <1355085250.87661.345.camel@revolution.hippie.lan> <1356381775.1129.181.camel@revolution.hippie.lan> <1356390225.1129.217.camel@revolution.hippie.lan> <2D98F70D-4031-4860-BABB-1F4663896234@yahoo.com> <1356891693.54953.31.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1499) X-Mailman-Approved-At: Sun, 30 Dec 2012 19:17:53 +0000 Cc: powerpc@freebsd.org, marcel@freebsd.org, mips@freebsd.org, John Baldwin , "mav@freebsd.org Motin" , "attilio@FreeBSD.org Rao" , Jeff Roberson , sparc64@freebsd.org, arm@freebsd.org, kib@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 18:26:13 -0000 On Dec 30, 2012, at 11:21 AM, Ian Lepore = wrote: > On Mon, 2012-12-24 at 22:13 -0500, Scott Long wrote: >>>>>=20 >>>>> Still unresolved is what to do about the remaining cases -- = attempts to >>>>> do dma in arbitrary buffers not obtained from bus_dmamem_alloc() = which >>>>> are not aligned and padded appropriately. There was some = discussion a >>>>> while back, but no clear resolution. I decided not to get bogged = down >>>>> by that fact and to fix the mbuf and allocated-buffer situations = that we >>>>> know how to deal with for now. >>>>=20 >>=20 >> Why would these allocations not be handled as normal dynamic buffers >> would with bus_dmamap_load()? >>=20 >> Scott >=20 > That's my point -- for "normal dynamic buffers" (that is, they weren't > obtained from bus_dmamem_alloc() and they aren't mbufs) which can have > arbitrary alignment and padding in relation to cache line boundaries = -- > we don't handle them correctly now unless they're accidentally already > aligned and sized to the right boundaries. What's unresolved is how = to > handle them correctly if they're not aligned/padded, that is, what to = do > about them that avoids needing a partial cacheline flush at sync time. >=20 Alignment is already handled. Scott From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 18:28:42 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 7C5DCD08; Sun, 30 Dec 2012 18:28:42 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4258FC0A; Sun, 30 Dec 2012 18:28:41 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBUISebg076182; Sun, 30 Dec 2012 11:28:41 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qBUISbWD084746; Sun, 30 Dec 2012 11:28:37 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: Call for testing and review, busdma changes From: Ian Lepore To: Scott Long In-Reply-To: <30DCC8A9-8E26-4500-AF33-2D81981B554F@yahoo.com> References: <1355077061.87661.320.camel@revolution.hippie.lan> <1355085250.87661.345.camel@revolution.hippie.lan> <1356381775.1129.181.camel@revolution.hippie.lan> <1356390225.1129.217.camel@revolution.hippie.lan> <2D98F70D-4031-4860-BABB-1F4663896234@yahoo.com> <1356891693.54953.31.camel@revolution.hippie.lan> <30DCC8A9-8E26-4500-AF33-2D81981B554F@yahoo.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 30 Dec 2012 11:28:37 -0700 Message-ID: <1356892117.54953.37.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 30 Dec 2012 19:25:02 +0000 Cc: powerpc@freebsd.org, marcel@freebsd.org, mips@freebsd.org, John Baldwin , "mav@freebsd.org Motin" , "attilio@FreeBSD.org Rao" , Jeff Roberson , sparc64@freebsd.org, arm@freebsd.org, kib@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 18:28:42 -0000 On Sun, 2012-12-30 at 11:23 -0700, Scott Long wrote: > On Dec 30, 2012, at 11:21 AM, Ian Lepore wrote: > > > On Mon, 2012-12-24 at 22:13 -0500, Scott Long wrote: > >>>>> > >>>>> Still unresolved is what to do about the remaining cases -- attempts to > >>>>> do dma in arbitrary buffers not obtained from bus_dmamem_alloc() which > >>>>> are not aligned and padded appropriately. There was some discussion a > >>>>> while back, but no clear resolution. I decided not to get bogged down > >>>>> by that fact and to fix the mbuf and allocated-buffer situations that we > >>>>> know how to deal with for now. > >>>> > >> > >> Why would these allocations not be handled as normal dynamic buffers > >> would with bus_dmamap_load()? > >> > >> Scott > > > > That's my point -- for "normal dynamic buffers" (that is, they weren't > > obtained from bus_dmamem_alloc() and they aren't mbufs) which can have > > arbitrary alignment and padding in relation to cache line boundaries -- > > we don't handle them correctly now unless they're accidentally already > > aligned and sized to the right boundaries. What's unresolved is how to > > handle them correctly if they're not aligned/padded, that is, what to do > > about them that avoids needing a partial cacheline flush at sync time. > > > > Alignment is already handled. > > Scott > No it's not. -- Ian From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 20:05:02 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 B2ADCECA for ; Sun, 30 Dec 2012 20:05:02 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp-out3.electric.net (smtp-out3.electric.net [72.35.12.186]) by mx1.freebsd.org (Postfix) with ESMTP id 8BBFA8FC12 for ; Sun, 30 Dec 2012 20:05:01 +0000 (UTC) Received: from [204.11.168.155] (helo=securemail.onebox.com) by skoda.electric.net with esmtp (Exim 4.77) (envelope-from ) id 1TpOgo-0000vC-VQ for freebsd-arm@freebsd.org; Sun, 30 Dec 2012 11:36:54 -0800 Received: from localhost (unverified [121.90.50.207]) by securemail.onebox.com (Rockliffe SMTPRA 9.3.1) with ESMTP id ; Sun, 30 Dec 2012 14:36:55 -0500 Date: Mon, 31 Dec 2012 08:36:46 +1300 From: Andrew Turner To: Thomas Skibo Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) Message-ID: <20121231083646.2cbde309@fubar.geek.nz> In-Reply-To: <50E083B0.2030209@sbcglobal.net> References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> <6285A410-0470-4A75-9067-7C524831A8DA@bsdimp.com> <50E083B0.2030209@sbcglobal.net> Organization: SMTP: smtp.paradise.net.nz X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; i386-portbld-freebsd8.1) X-Pirate: Arrrr Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 20:05:02 -0000 On Sun, 30 Dec 2012 10:10:56 -0800 Thomas Skibo wrote: > > > On 12/29/12 12:49 PM, Warner Losh wrote: > > Cool! > > > > But don't be a tease! Share the code :) > > > > I've put the source code up at http://www.thomasskibo.com/zedbsd > > --Thomas > A few notes: * How hard is it to pull out the Zynq parts of the dts into a separate file and include it? The idea is then the dts will only contain the zedboard parts. I've done this with tegra20-paz00.dts which includes the common tegra20.dtsi. * You don't need to add the zynq7_uart or zynq7_sdhci config options. These can be named "uart" and "sdhci" respectively. By including files.zynq7 the build system knows you are building for a Zynq. * You don't need "makeoption ARM_LITTLE_ENDIAN" in std.zynq7, it should also be removed from the Ti code. Otherwise, from my brief look at the code, it looks good. Andrew From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 21:48:03 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 85A1A792 for ; Sun, 30 Dec 2012 21:48:03 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 021258FC0C for ; Sun, 30 Dec 2012 21:48:02 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TpQjg-0000bX-5w for freebsd-arm@freebsd.org; Sun, 30 Dec 2012 22:48:00 +0100 Received: from h253044.upc-h.chello.nl ([62.194.253.44] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TpQjg-000398-66 for freebsd-arm@freebsd.org; Sun, 30 Dec 2012 22:48:00 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Subject: Re: sheevaplug nand type not recognized? References: <1355353104.87661.468.camel@revolution.hippie.lan> <1355355431.87661.472.camel@revolution.hippie.lan> Date: Sun, 30 Dec 2012 22:47:58 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: <1355355431.87661.472.camel@revolution.hippie.lan> User-Agent: Opera Mail/12.12 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: 0.8 X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.1 X-Scan-Signature: d3d6c6694e059b137bd8e4e2c0542d46 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 21:48:03 -0000 On Thu, 13 Dec 2012 00:37:11 +0100, Ian Lepore wrote: > On Thu, 2012-12-13 at 00:16 +0100, Ronald Klop wrote: >> On Wed, 12 Dec 2012 23:58:24 +0100, Ian Lepore >> wrote: >> >> > On Wed, 2012-12-12 at 23:41 +0100, Ronald Klop wrote: >> >> Hello, >> >> >> >> I just compiled a FreeBSD-10-current (src from 22 Nov.) kernel+world >> and >> >> installed it on a usb stick. >> >> It has NAND support compiled in, but I see no nand devices in /dev. >> >> Dmesg does not list a lnand0 device like the example in >> >> http://wiki.freebsd.org/NAND#NAND_Framework. >> >> >> >> Booting Debian finds this: >> >> ... >> >> NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND >> 512MiB >> >> 3,3V 8-bit) >> >> Scanning device for bad blocks >> >> Bad eraseblock 168 at 0x000001500000 >> >> Bad eraseblock 169 at 0x000001520000 >> >> Bad eraseblock 1193 at 0x000009520000 >> >> 2 cmdlinepart partitions found on MTD device orion_nand >> >> Creating 2 MTD partitions on "orion_nand": >> >> 0x000000100000-0x000000500000 : "uImage" >> >> 0x000000500000-0x000020000000 : "rootfs" >> >> UBI: attaching mtd1 to ubi0 >> >> ... >> >> >> >> I don't see this Samsung version in sys/dev/nand/nand_id.c. >> >> Would it be easy to add it? I understand the manufacturer id and chip >> >> id, >> >> but I don't know what I should change more. >> > >> > That looks like the same chip that's in my DreamPlug 1001N, the >> attached >> > diff should fix it for you. >> > >> > -- Ian >> > >> >> Supernice! >> >> nand0: mem 0xf9300000-0xf93fffff on localbus0 >> nandbus0: on nand0 >> lnand0: on nandbus0 >> lnand0: No BBT found. Prescan chip... >> ##lnand0: Bad block(168) >> lnand0: Bad block(169) >> ##########lnand0: Bad block(1193) >> ############################# >> >> >> root@sh10:~ # ls -l /dev/*nand* >> crw-r----- 1 root operator 0x2f Dec 12 23:09 /dev/gnand.raw0 >> crw-r----- 1 root operator 0x33 Dec 12 23:09 /dev/gnand.raw0s.root >> crw-r----- 1 root operator 0x32 Dec 12 23:09 /dev/gnand.raw0s.u-boot >> crw-r----- 1 root operator 0x2e Dec 12 23:09 /dev/gnand0 >> crw-r----- 1 root operator 0x31 Dec 12 23:09 /dev/gnand0s.root >> crw-r----- 1 root operator 0x30 Dec 12 23:09 /dev/gnand0s.u-boot >> crw-rw-rw- 1 root wheel 0x19 Dec 12 23:09 /dev/nand0.0 >> >> Now I can't go to sleep without playing some more with it. :-) >> >> Cheers, >> Ronald. > > Heh. Be careful. My dreamplug 1001N is a brick because I typed a > command in the wrong window and wiped the nand on it, and I haven't had > any success trying to use openocd to flash it (or even get it to boot as > a one-shot). > > -- Ian Hi, What would be needed to get the support for this NAND chip committed? Ronald. From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 22:00:29 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 DF39CA91 for ; Sun, 30 Dec 2012 22:00:29 +0000 (UTC) (envelope-from ronald@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.78]) by mx1.freebsd.org (Postfix) with ESMTP id 907408FC16 for ; Sun, 30 Dec 2012 22:00:29 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1TpQvi-0001Yo-G9 for freebsd-arm@freebsd.org; Sun, 30 Dec 2012 23:00:27 +0100 Received: from h253044.upc-h.chello.nl ([62.194.253.44] helo=pinky) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1TpQvi-0003L0-GW for freebsd-arm@freebsd.org; Sun, 30 Dec 2012 23:00:26 +0100 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-arm@freebsd.org Date: Sun, 30 Dec 2012 23:00:25 +0100 Subject: nand partitioning and fdt/dts? MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: User-Agent: Opera Mail/12.12 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.0 X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.1 X-Scan-Signature: 258bd43c1b7c380ff6f1b27dffaa1ebc X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 22:00:29 -0000 Hi, I configured my SheevaPlug like this: http://wiki.freebsd.org/NAND#Static_NAND_partitioning Now I'm running with this little local patch. Index: sys/boot/fdt/dts/sheevaplug.dts =================================================================== --- sys/boot/fdt/dts/sheevaplug.dts (revision 244271) +++ sys/boot/fdt/dts/sheevaplug.dts (working copy) @@ -95,7 +95,12 @@ }; slice@200000 { - reg = <0x200000 0x1fe00000>; + reg = <0x200000 0x600000>; + label = "fbsd-boot"; + }; + + slice@800000 { + reg = <0x800000 0x1f800000>; label = "root"; }; }; Not a problem, but I wonder why the config in wiki is different to the config in svn. Can somebody explain this? Is there a better way to load the kernel than the fbsd-boot slice in nand? I could imagine a bootloader loading the kernel from the 'root' slice, but can't find any information how to configure that (if it already exists). Regards, Ronald. From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 23:03:42 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 68DAB665 for ; Sun, 30 Dec 2012 23:03:42 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4478FC08 for ; Sun, 30 Dec 2012 23:03:41 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id qBUN3eW4040016 for ; Sun, 30 Dec 2012 18:03:40 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Sun, 30 Dec 2012 18:03:40 -0500 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: What is this nand thing? Message-ID: <20121230180340.031a5945@ivory.wynn.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 23:03:42 -0000 Greeting- What is this nand that I am reading about on the list? I have a feeling it is not a NAND GATE we are speaking of. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6924 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Sun Dec 30 23:21:32 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 5B268CBC for ; Sun, 30 Dec 2012 23:21:32 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 020558FC14 for ; Sun, 30 Dec 2012 23:21:27 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBUNLRlP079157 for ; Sun, 30 Dec 2012 16:21:27 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qBUNLO48084917; Sun, 30 Dec 2012 16:21:24 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: What is this nand thing? From: Ian Lepore To: Brett Wynkoop In-Reply-To: <20121230180340.031a5945@ivory.wynn.com> References: <20121230180340.031a5945@ivory.wynn.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 30 Dec 2012 16:21:24 -0700 Message-ID: <1356909684.54953.81.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 23:21:32 -0000 On Sun, 2012-12-30 at 18:03 -0500, Brett Wynkoop wrote: > Greeting- > > What is this nand that I am reading about on the list? I have a > feeling it is not a NAND GATE we are speaking of. > > -Brett > Nand flash storage. It's the same stuff that's in an sdcard or a usb thumb drive. Some embedded systems have the bare storage chip on the board, without the microcontrollers found in sdcards et. al. The nand subsystem in freebsd is an in-kernel implementation of what those microcontrollers do (ecc calculations, managing bad blocks, in general the sort of thing that makes a bare chip into a mass storage device). The nandfs is a filesystem specially tailored for the needs of nand storage (and that's really about all I know about it; I'm unclear on how it stores its metadata and how the garbage collection stuff works). -- Ian From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 00:20: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 5AB41852 for ; Mon, 31 Dec 2012 00:20:43 +0000 (UTC) (envelope-from freebsd-arm@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id F17078FC08 for ; Mon, 31 Dec 2012 00:20:42 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id qBV0Kb3p041665; Sun, 30 Dec 2012 19:20:37 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Sun, 30 Dec 2012 19:20:37 -0500 From: Brett Wynkoop To: Ian Lepore Subject: Re: What is this nand thing? Message-ID: <20121230192037.07fb3e4d@ivory.wynn.com> In-Reply-To: <1356909684.54953.81.camel@revolution.hippie.lan> References: <20121230180340.031a5945@ivory.wynn.com> <1356909684.54953.81.camel@revolution.hippie.lan> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 00:20:43 -0000 On Sun, 30 Dec 2012 16:21:24 -0700 Ian Lepore wrote: > The nandfs is a filesystem specially tailored for the needs of nand > storage (and that's really about all I know about it; I'm unclear on > how it stores its metadata and how the garbage collection stuff > works). > > -- Ian Ian- Thank you very much for the good briefing on nand and nandfs. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6924 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 02:09:24 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 7A980A3A for ; Mon, 31 Dec 2012 02:09:24 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 35BC88FC14 for ; Mon, 31 Dec 2012 02:09:23 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id qBV29Mj2042692 for ; Sun, 30 Dec 2012 21:09:22 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Sun, 30 Dec 2012 21:09:22 -0500 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: BeagleBone swap problems Message-ID: <20121230210922.3db468ed@ivory.wynn.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 02:09:24 -0000 Greeting- It looks like something in head is giving swapping a problem. I am swapping on a file /usr/swap/0 since the system runs out of memory trying to build the kernel. This happened trying to rebuild the kernel. swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 The system is non-responsive and I guess I will have to drop to the debugger and reset. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6924 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 02:19:09 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 1F94FB04 for ; Mon, 31 Dec 2012 02:19:09 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id BDFD78FC08 for ; Mon, 31 Dec 2012 02:19:08 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBV2J7t2080933 for ; Sun, 30 Dec 2012 19:19:07 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qBV2J5Hj085005; Sun, 30 Dec 2012 19:19:05 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: BeagleBone swap problems From: Ian Lepore To: Brett Wynkoop In-Reply-To: <20121230210922.3db468ed@ivory.wynn.com> References: <20121230210922.3db468ed@ivory.wynn.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 30 Dec 2012 19:19:05 -0700 Message-ID: <1356920345.54953.107.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 02:19:09 -0000 On Sun, 2012-12-30 at 21:09 -0500, Brett Wynkoop wrote: > Greeting- > > It looks like something in head is giving swapping a problem. I am > swapping on a file /usr/swap/0 since the system runs out of memory > trying to build the kernel. > > This happened trying to rebuild the kernel. > > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 17323, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 19458, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 2397, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 28667, size: 8192 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > swap_pager: indefinite wait buffer: bufobj: 0, blkno: 23547, size: 4096 > > The system is non-responsive and I guess I will have to drop to the > debugger and reset. You shouldn't run out of memory building a kernel on a board with 256mb. Did you define MALLOC_PRODUCTION in make.conf when you built world? If not, then all your binaries are using way more memory than they need to. -- Ian From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 03:15:00 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 A718E6A5 for ; Mon, 31 Dec 2012 03:15:00 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4D83B8FC08 for ; Mon, 31 Dec 2012 03:14:59 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id qBV3EtPo043669; Sun, 30 Dec 2012 22:14:56 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Sun, 30 Dec 2012 22:14:55 -0500 From: Brett Wynkoop To: Ian Lepore Subject: Re: BeagleBone swap problems Message-ID: <20121230221455.76db829e@ivory.wynn.com> In-Reply-To: <1356920345.54953.107.camel@revolution.hippie.lan> References: <20121230210922.3db468ed@ivory.wynn.com> <1356920345.54953.107.camel@revolution.hippie.lan> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 03:15:00 -0000 On Sun, 30 Dec 2012 19:19:05 -0700 Ian Lepore wrote: > You shouldn't run out of memory building a kernel on a board with > 256mb. Did you define MALLOC_PRODUCTION in make.conf when you built > world? If not, then all your binaries are using way more memory than > they need to. > > -- Ian Greeting- I am not sure I built world using Tim's script and have not rebuilt since. I will have to check his script. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6924 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 03:19:26 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 3050A70F for ; Mon, 31 Dec 2012 03:19:26 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 3B8E38FC0A for ; Mon, 31 Dec 2012 03:19:18 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBV3JH68081528 for ; Sun, 30 Dec 2012 20:19:18 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qBV3JFlh085037; Sun, 30 Dec 2012 20:19:15 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: nand partitioning and fdt/dts? From: Ian Lepore To: Ronald Klop In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Sun, 30 Dec 2012 20:19:15 -0700 Message-ID: <1356923955.54953.114.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 03:19:26 -0000 On Sun, 2012-12-30 at 23:00 +0100, Ronald Klop wrote: > Hi, > > I configured my SheevaPlug like this: > http://wiki.freebsd.org/NAND#Static_NAND_partitioning > > Now I'm running with this little local patch. > Index: sys/boot/fdt/dts/sheevaplug.dts > =================================================================== > --- sys/boot/fdt/dts/sheevaplug.dts (revision 244271) > +++ sys/boot/fdt/dts/sheevaplug.dts (working copy) > @@ -95,7 +95,12 @@ > }; > > slice@200000 { > - reg = <0x200000 0x1fe00000>; > + reg = <0x200000 0x600000>; > + label = "fbsd-boot"; > + }; > + > + slice@800000 { > + reg = <0x800000 0x1f800000>; > label = "root"; > }; > }; > > Not a problem, but I wonder why the config in wiki is different to the > config in svn. > Can somebody explain this? > Is there a better way to load the kernel than the fbsd-boot slice in nand? > I could imagine a bootloader loading the kernel from the 'root' slice, but > can't find any information how to configure that (if it already exists). > > Regards, > Ronald. In theory you should be able to use /boot/ubldr as the thing that lives in the fbsd-boot partition, and it knows how to find /boot/kernel on the root filesystem. I have to say "in theory" because I can't test it on my DreamPlugs. I've lost the original u-boot on both of them and have a different one that I found on the web installed. Sadly, it doesn't have the "bootelf" command built in, so I can load ubldr but not launch it. Oh wait, I just realized: ubldr probably doesn't know about nandfs. -- Ian From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 03:45:39 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 435C0161 for ; Mon, 31 Dec 2012 03:45:39 +0000 (UTC) (envelope-from shurd@sasktel.net) Received: from mail111c7.megamailservers.com (mail111c7.megamailservers.com [69.49.98.211]) by mx1.freebsd.org (Postfix) with ESMTP id BE46F8FC08 for ; Mon, 31 Dec 2012 03:45:38 +0000 (UTC) X-Authenticated-User: hurds.sasktel.net Received: from stephen.hurd.local (ip70-187-145-241.oc.oc.cox.net [70.187.145.241]) (authenticated bits=0) by mail111c7.megamailservers.com (8.13.6/8.13.1) with ESMTP id qBV3jRnA011133 for ; Sun, 30 Dec 2012 22:45:28 -0500 Message-ID: <50E10A56.9080209@sasktel.net> Date: Sun, 30 Dec 2012 19:45:26 -0800 From: Stephen Hurd User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121022 Firefox/16.0 SeaMonkey/2.13.1 MIME-Version: 1.0 To: "freebsd-arm@freebsd.org" Subject: Raspberry Pi packages Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-CSC: 0 X-CHA: v=1.1 cv=2sEl+nYIWn3GVGOYG7vvzr4q0iGv5BXujfxzLqGOH1s= c=1 sm=1 a=sd1-78TbSwQA:10 a=YxfxW3ofkq8A:10 a=8nJEP1OIZ-IA:10 a=qWhSLQ/2FgUpSQgLv9E1tw==:17 a=q9b4y6aNAAAA:8 a=YAPwbr9O1vrLWsgGxAcA:9 a=wPNLvfGTeEIA:10 a=C-osODuVoKoA:10 a=9pKPzGm0_IUA:10 a=qWhSLQ/2FgUpSQgLv9E1tw==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A020203.50E10A58.0079, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 03:45:39 -0000 I've uploaded the packages I've built so far to here... not all use defaults (I tend to disable NLS for example) but they should be usable. http://wd1cks.org/RPi/packages/ From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 09:45:56 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 72E81F11 for ; Mon, 31 Dec 2012 09:45:56 +0000 (UTC) (envelope-from br@www01.runexis.ru) Received: from www01.runexis.ru (www01.runexis.ru [80.253.8.195]) by mx1.freebsd.org (Postfix) with ESMTP id 227CB8FC0C for ; Mon, 31 Dec 2012 09:45:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=www01.runexis.ru) by www01.runexis.ru with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Tpc1a-000DZy-Od; Mon, 31 Dec 2012 13:51:14 +0400 Received: (from br@localhost) by www01.runexis.ru (8.14.5/8.14.5/Submit) id qBV9pDul052201; Mon, 31 Dec 2012 13:51:13 +0400 (MSK) (envelope-from br) Date: Mon, 31 Dec 2012 13:51:13 +0400 From: Ruslan Bukin To: Thomas Skibo Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) Message-ID: <20121231095113.GA52133@jail.io> References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50DF555B.9060601@sbcglobal.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 09:45:56 -0000 On Sat, Dec 29, 2012 at 12:40:59PM -0800, Thomas Skibo wrote: > One thing that stumped me for a while is that the interrupt controller > driver, gic.c, does not initialize the priority mask register > (GICC_PMR). The boot-loader left it at zero which masked all > interrupts. For now, I plug 0xff into it in my initarm_late_init() > function in zynq7_machdep.c. the same issue with Exynos. Thanks! -Ruslan From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 11:06:41 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 8E028B32 for ; Mon, 31 Dec 2012 11:06:41 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 588598FC19 for ; Mon, 31 Dec 2012 11:06:41 +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 qBVB6fOD080796 for ; Mon, 31 Dec 2012 11:06:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBVB6e3t080794 for freebsd-arm@FreeBSD.org; Mon, 31 Dec 2012 11:06:40 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 31 Dec 2012 11:06:40 GMT Message-Id: <201212311106.qBVB6e3t080794@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 Subject: Current problem reports assigned to freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 11:06:41 -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/174461 arm [patch] Fix off-by-one in arm9/arm10 cache maintenance o arm/173617 arm Dreamplug exhibits eSATA file corruption using network o kern/171096 arm [arm][xscale][ixp]Allow 16bit access on PCI bus 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/155894 arm [patch] Enable at91 booting from SDHC (high capacity) p 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 16 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 12:13:51 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 7A13F511 for ; Mon, 31 Dec 2012 12:13:51 +0000 (UTC) (envelope-from br@www01.runexis.ru) Received: from www01.runexis.ru (www01.runexis.ru [80.253.8.195]) by mx1.freebsd.org (Postfix) with ESMTP id 2378A8FC0A for ; Mon, 31 Dec 2012 12:13:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=www01.runexis.ru) by www01.runexis.ru with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TpeKs-000ELy-PS; Mon, 31 Dec 2012 16:19:18 +0400 Received: (from br@localhost) by www01.runexis.ru (8.14.5/8.14.5/Submit) id qBVCJH1M055171; Mon, 31 Dec 2012 16:19:17 +0400 (MSK) (envelope-from br) Date: Mon, 31 Dec 2012 16:19:17 +0400 From: Ruslan Bukin To: Thomas Skibo Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) Message-ID: <20121231121917.GA55152@jail.io> References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> <6285A410-0470-4A75-9067-7C524831A8DA@bsdimp.com> <50E083B0.2030209@sbcglobal.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50E083B0.2030209@sbcglobal.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 12:13:51 -0000 may be patch have to contain Index: sys/dev/mmc/mmc.c =================================================================== --- sys/dev/mmc/mmc.c (revision 244902) +++ sys/dev/mmc/mmc.c (working copy) @@ -1732,3 +1732,4 @@ DRIVER_MODULE(mmc, at91_mci, mmc_driver, mmc_devclass, NULL, NULL); DRIVER_MODULE(mmc, sdhci_pci, mmc_driver, mmc_devclass, NULL, NULL); DRIVER_MODULE(mmc, sdhci_bcm, mmc_driver, mmc_devclass, NULL, NULL); +DRIVER_MODULE(mmc, sdhci_fdt, mmc_driver, mmc_devclass, NULL, NULL); On Sun, Dec 30, 2012 at 10:10:56AM -0800, Thomas Skibo wrote: > > > On 12/29/12 12:49 PM, Warner Losh wrote: > > Cool! > > > > But don't be a tease! Share the code :) > > > > I've put the source code up at http://www.thomasskibo.com/zedbsd > > --Thomas > > -- > -------- > Thomas Skibo > ThomasSkibo@sbcglobal.net > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 14:35:58 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 0136AE85 for ; Mon, 31 Dec 2012 14:35:57 +0000 (UTC) (envelope-from ThomasSkibo@sbcglobal.net) Received: from nm24-vm0.access.bullet.mail.mud.yahoo.com (nm24-vm0.access.bullet.mail.mud.yahoo.com [66.94.236.143]) by mx1.freebsd.org (Postfix) with ESMTP id 89B5D8FC14 for ; Mon, 31 Dec 2012 14:35:57 +0000 (UTC) Received: from [66.94.237.199] by nm24.access.bullet.mail.mud.yahoo.com with NNFMP; 31 Dec 2012 14:32:46 -0000 Received: from [98.138.84.172] by tm10.access.bullet.mail.mud.yahoo.com with NNFMP; 31 Dec 2012 14:32:46 -0000 Received: from [127.0.0.1] by smtp106.sbc.mail.ne1.yahoo.com with NNFMP; 31 Dec 2012 14:32:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1356964366; bh=S4qOsBaZo6VMpz5+D1YgH1oEtRMCN1yFVdvAreIJ0WM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=SBNCYgey2BbnCLMJnE9Kcr1H/bUfBp46vvf+1ZMiAxBJ9oJT/bwSlCD9G13c4yWXJeDkk8wIdAnSXpqB6akP2tG/AMjCOZDTof65YK3vN/JERdsSLMvoxLrZwAPfEjsWUbREInhCWYqyEUg2WQo7f6NRuFxQwqSWTO6dUADOxXw= X-Yahoo-Newman-Id: 456114.79281.bm@smtp106.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: zlCJWxUVM1lsAG4rbGW9gBdu0Xa30a2b6JUjSJPkmISQPsh 9j_5q1NaViJdoIn4z_HYMedp2hNDgJoS8QuB6H.Bp4c2j63SUUvYOn1bcFwW ZWI4WbwUqgY21KsfMX_2e3CJrSUYE8hsNMBX0fg2FA.D8tKog8.tDq1sDULz QMoMy.mq6j8JsWIrw7M1whhHZPh7m2YffCmJR_7Z6JSNiFwEfm3Asfwn8sno DA5kj.fI9MVHRjkwjoBuEQ_W3vxnY3YNgihuRGT0nHlOgIzDLZd4zLBOdYF4 R5HhtH6GDIYOgxzyND8wv6aUXvtpkCwlzd53YI5Aew893nKSK9_3s0cdtyoC FLC2cibh.phukCHTpmoPS4dhhrioL3gtftDviPJWwhbjpIf3kJisi2pAUPiY TqfF2Ad6so4fnEA3pZp0oWd9a1X7aAqjA92odFHlGZdrriKb1nDPDQPzRgRx t_dm01ArxSnAuOiv9.sjacOXMTz1IMMx17doj9g-- X-Yahoo-SMTP: tUxoRneswBA21azLM.3ybMESf0mC2bFhTbmt0VU5ervH0kqi5lo- Received: from [192.168.1.9] (ThomasSkibo@71.139.179.229 with plain) by smtp106.sbc.mail.ne1.yahoo.com with SMTP; 31 Dec 2012 06:32:46 -0800 PST Message-ID: <50E1A20C.70509@sbcglobal.net> Date: Mon, 31 Dec 2012 06:32:44 -0800 From: Thomas Skibo User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Ruslan Bukin Subject: Re: FreeBSD on Zedboard (Xilinx Zynq-7000) References: <50DF4BD9.8080601@sbcglobal.net> <50DF555B.9060601@sbcglobal.net> <6285A410-0470-4A75-9067-7C524831A8DA@bsdimp.com> <50E083B0.2030209@sbcglobal.net> <20121231121917.GA55152@jail.io> In-Reply-To: <20121231121917.GA55152@jail.io> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 14:35:58 -0000 Oops. That slipped through the cracks. Sorry about that. I've updated the patch. --Thomas On 12/31/12 4:19 AM, Ruslan Bukin wrote: > may be patch have to contain > > Index: sys/dev/mmc/mmc.c > =================================================================== > --- sys/dev/mmc/mmc.c (revision 244902) > +++ sys/dev/mmc/mmc.c (working copy) > @@ -1732,3 +1732,4 @@ > DRIVER_MODULE(mmc, at91_mci, mmc_driver, mmc_devclass, NULL, NULL); > DRIVER_MODULE(mmc, sdhci_pci, mmc_driver, mmc_devclass, NULL, NULL); > DRIVER_MODULE(mmc, sdhci_bcm, mmc_driver, mmc_devclass, NULL, NULL); > +DRIVER_MODULE(mmc, sdhci_fdt, mmc_driver, mmc_devclass, NULL, NULL); > -- -------- Thomas Skibo ThomasSkibo@sbcglobal.net From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 18:48:40 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 D994BFC for ; Mon, 31 Dec 2012 18:48:40 +0000 (UTC) (envelope-from tim@kientzle.com) 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 AA4368FC0C for ; Mon, 31 Dec 2012 18:48:39 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qBVImcWl015078; Mon, 31 Dec 2012 18:48:38 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id v38mdc4upx3676hamdvufr6zre; Mon, 31 Dec 2012 18:48:38 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: FreeBSD on Raspberry Pi 512MB (with U-Boot + ubldr) From: Tim Kientzle In-Reply-To: Date: Mon, 31 Dec 2012 10:48:37 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3988C1622A974F19A9D3888F0334FF10@ad.peach.ne.jp> <046DA83A0A7B4B489B3FD4471A3ACD98@ad.peach.ne.jp> <50DF7A65.7090604@bluezbox.com> <7F539D6B-583E-4E74-9F08-3717B827F1B8@kientzle.com> To: Dave Cheney , freebsd-arm@freebsd.org X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 18:48:40 -0000 Thanks for the reminder. I had intended to re-enable devd. I just committed that change. I'm reluctant to use SYNCDHCP because of the boot-time consequences. It should only be needed by people attaching their RPi to fairly sophisticated networks, which I doubt will be the norm. However, there are a couple of all-purpose hooks for local customizations. 1) Provide your own rc.conf as work/overlay/etc/rc.conf The contents of work/overlay are copied on top of the image after the script has done all of the routine build steps. You can build or copy this file within your config.sh. 2) Define a customize_freebsd_partition function. This function always runs exactly last, just before the FreeBSD partition is unmounted. For example, you can add the following lines to your config.sh: customize_freebsd_partition ( ) { echo 'ifconfig_ue0=3D"SYNCDHCP"' >> $1/etc/rc.conf } ($1 is the root of the mounted FreeBSD partition at this point in time.) I think the above is all documented in config.sh.sample; do you see any way to improve that documentation? Tim On Dec 30, 2012, at 9:10 PM, Dave Cheney wrote: > Hi Tim, >=20 > I tried to build a Pi image using your latest scripts but ran into a > problem DHCP'ing the image. It might be because devd is not enabled by > default, but irrespective, could I encourage you to use SYNCDHCP on > the Pi images ? >=20 > Cheers >=20 > Dave >=20 > On Sun, Dec 30, 2012 at 2:28 PM, Tim Kientzle = wrote: >>=20 >> On Dec 29, 2012, at 3:19 PM, Oleksandr Tymoshenko wrote: >>=20 >>> On 12/29/2012 2:38 PM, Tim Kientzle wrote: >>>> On Dec 1, 2012, at 3:26 AM, Daisuke Aoyama wrote: >>>>=20 >>>>>> You can try my test version from: >>>>>> http://www.peach.ne.jp/archives/rpi/freebsd-pi-20121201.img.gz >>>>>>=20 >>>>>> SHA256 (freebsd-pi-20121130.img.gz) =3D = a4159301e2d7564ef065aa4c3d6afaef3284cc3ace1ae7c146aaea9e18ec0457 >>>>>> SHA256 (freebsd-pi-20121201.img.gz) =3D = 7a0b8bcda7f70c39b259811c12854fcf856af7e18436e9beb0c2fa25a7fdb0e0 >>>>>>=20 >>>>>> Using config is here: >>>>>> http://www.peach.ne.jp/archives/rpi/config/RPI-B-test3 >>>>> If you have a problem such as "Unrecognized filesystem type", = please try this version: >>>>>=20 >>>>> http://www.peach.ne.jp/archives/rpi/test/uboot-20121201.img >>>>> SHA256 (uboot-20121201.img) =3D = 9218f3ce3a09b012eb250c044df9ed835929c207f3c3f89b21bfe249ef639a0f >>>>>=20 >>>>> Rename it to uboot.img, then copy it to the SD you created. >>>> Could you please send me the patches you used for this >>>=20 >>> I might be wrong but I think it just disables HS mode for SDHCI. >>> Something like this: >>> http://people.freebsd.org/~gonzo/patches/u-boot-pi-nohs.diff >>>=20 >>=20 >> Thank you! That's what I was looking for. >>=20 >> My scripts are now updated to support the new boot >> process. In particular, they build U-Boot from source, >> build the VideoCore elements, and properly assemble >> all of the new boot bits. >>=20 >> https://github.com/kientzle/freebsd-beaglebone >>=20 >> The following config.sh should be sufficient to build a >> working RaspberryPi image from -CURRENT: >>=20 >> ----------------------------- >> board_setup RaspberryPi >> SD_SIZE=3D$((1500 * MB)) >> #INSTALL_USR_SRC=3Dyes >> #INSTALL_USR_PORTS=3Dyes >> ----------------------------- >>=20 >> Tim >>=20 >> _______________________________________________ >> freebsd-arm@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to = "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 19:05:09 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 90133269 for ; Mon, 31 Dec 2012 19:05:09 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id E1BE28FC08 for ; Mon, 31 Dec 2012 19:05:01 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qBVJ4sMr091686 for ; Mon, 31 Dec 2012 12:04:54 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qBVJ4qoK085911; Mon, 31 Dec 2012 12:04:52 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: FreeBSD on Raspberry Pi 512MB (with U-Boot + ubldr) From: Ian Lepore To: Tim Kientzle In-Reply-To: References: <3988C1622A974F19A9D3888F0334FF10@ad.peach.ne.jp> <046DA83A0A7B4B489B3FD4471A3ACD98@ad.peach.ne.jp> <50DF7A65.7090604@bluezbox.com> <7F539D6B-583E-4E74-9F08-3717B827F1B8@kientzle.com> Content-Type: text/plain; charset="us-ascii" Date: Mon, 31 Dec 2012 12:04:52 -0700 Message-ID: <1356980692.54953.127.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 19:05:09 -0000 Just an FYI, you can use a combination of ifconfig_foo=SYNCDHCP and background_dhclient=YES to get the effect of launching dhclient from rc rather than from devd, and still have it launch in background to avoid delaying the startup. I'm not saying that's what you should do, I still think devd is the way to go, especially on a platform with usb keyboards and whatnot. Just letting folks know that freebsd's dhcp startup is more flexible than ever these days. -- Ian On Mon, 2012-12-31 at 10:48 -0800, Tim Kientzle wrote: > Thanks for the reminder. I had intended to re-enable devd. > I just committed that change. > > I'm reluctant to use SYNCDHCP because of the boot-time > consequences. It should only be needed by people attaching > their RPi to fairly sophisticated networks, which I doubt will > be the norm. > > However, there are a couple of all-purpose hooks for > local customizations. > > 1) Provide your own rc.conf as work/overlay/etc/rc.conf > > The contents of work/overlay are copied on top of the image > after the script has done all of the routine build steps. > You can build or copy this file within your config.sh. > > 2) Define a customize_freebsd_partition function. > > This function always runs exactly last, just before the > FreeBSD partition is unmounted. > > For example, you can add the following lines to your config.sh: > > customize_freebsd_partition ( ) { > echo 'ifconfig_ue0="SYNCDHCP"' >> $1/etc/rc.conf > } > > ($1 is the root of the mounted FreeBSD partition at > this point in time.) > > I think the above is all documented in config.sh.sample; > do you see any way to improve that documentation? > > Tim > > > On Dec 30, 2012, at 9:10 PM, Dave Cheney wrote: > > > Hi Tim, > > > > I tried to build a Pi image using your latest scripts but ran into a > > problem DHCP'ing the image. It might be because devd is not enabled by > > default, but irrespective, could I encourage you to use SYNCDHCP on > > the Pi images ? > > > > Cheers > > > > Dave > > > > On Sun, Dec 30, 2012 at 2:28 PM, Tim Kientzle wrote: > >> > >> On Dec 29, 2012, at 3:19 PM, Oleksandr Tymoshenko wrote: > >> > >>> On 12/29/2012 2:38 PM, Tim Kientzle wrote: > >>>> On Dec 1, 2012, at 3:26 AM, Daisuke Aoyama wrote: > >>>> > >>>>>> You can try my test version from: > >>>>>> http://www.peach.ne.jp/archives/rpi/freebsd-pi-20121201.img.gz > >>>>>> > >>>>>> SHA256 (freebsd-pi-20121130.img.gz) = a4159301e2d7564ef065aa4c3d6afaef3284cc3ace1ae7c146aaea9e18ec0457 > >>>>>> SHA256 (freebsd-pi-20121201.img.gz) = 7a0b8bcda7f70c39b259811c12854fcf856af7e18436e9beb0c2fa25a7fdb0e0 > >>>>>> > >>>>>> Using config is here: > >>>>>> http://www.peach.ne.jp/archives/rpi/config/RPI-B-test3 > >>>>> If you have a problem such as "Unrecognized filesystem type", please try this version: > >>>>> > >>>>> http://www.peach.ne.jp/archives/rpi/test/uboot-20121201.img > >>>>> SHA256 (uboot-20121201.img) = 9218f3ce3a09b012eb250c044df9ed835929c207f3c3f89b21bfe249ef639a0f > >>>>> > >>>>> Rename it to uboot.img, then copy it to the SD you created. > >>>> Could you please send me the patches you used for this > >>> > >>> I might be wrong but I think it just disables HS mode for SDHCI. > >>> Something like this: > >>> http://people.freebsd.org/~gonzo/patches/u-boot-pi-nohs.diff > >>> > >> > >> Thank you! That's what I was looking for. > >> > >> My scripts are now updated to support the new boot > >> process. In particular, they build U-Boot from source, > >> build the VideoCore elements, and properly assemble > >> all of the new boot bits. > >> > >> https://github.com/kientzle/freebsd-beaglebone > >> > >> The following config.sh should be sufficient to build a > >> working RaspberryPi image from -CURRENT: > >> > >> ----------------------------- > >> board_setup RaspberryPi > >> SD_SIZE=$((1500 * MB)) > >> #INSTALL_USR_SRC=yes > >> #INSTALL_USR_PORTS=yes > >> ----------------------------- > >> > >> Tim > >> > >> _______________________________________________ > >> freebsd-arm@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-arm > >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 20:10:51 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 1702F946 for ; Mon, 31 Dec 2012 20:10:51 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (ip-2-1-0-2.r03.asbnva02.us.ce.gin.ntt.net [IPv6:2001:418:0:5000::16]) by mx1.freebsd.org (Postfix) with ESMTP id B1ECF8FC0C for ; Mon, 31 Dec 2012 20:10:50 +0000 (UTC) Received: from wonderland.m5p.com (localhost [IPv6:::1]) by mailhost.m5p.com (8.14.5/8.14.5) with ESMTP id qBVKAieL051873 for ; Mon, 31 Dec 2012 15:10:49 -0500 (EST) (envelope-from george+freebsd@m5p.com) Message-ID: <50E1F144.8080700@m5p.com> Date: Mon, 31 Dec 2012 15:10:44 -0500 From: George Mitchell User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20121125 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: FreeBSD on Raspberry Pi 512MB (with U-Boot + ubldr) References: <3988C1622A974F19A9D3888F0334FF10@ad.peach.ne.jp> <046DA83A0A7B4B489B3FD4471A3ACD98@ad.peach.ne.jp> <50DF7A65.7090604@bluezbox.com> <7F539D6B-583E-4E74-9F08-3717B827F1B8@kientzle.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 on 10.100.0.3 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (mailhost.m5p.com [IPv6:::1]); Mon, 31 Dec 2012 15:10:50 -0500 (EST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 20:10:51 -0000 On 12/31/12 13:48, Tim Kientzle wrote: > Thanks for the reminder. I had intended to re-enable devd. > I just committed that change. > > I'm reluctant to use SYNCDHCP because of the boot-time > consequences. It should only be needed by people attaching > their RPi to fairly sophisticated networks, which I doubt will > be the norm. [...] Count me as one vote for enabling devd vs. using SYNCDHCP. And thanks to everybody helping make FreeBSD work on the Pi! -- George Mitchell From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 20:38:09 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 CD350AE2 for ; Mon, 31 Dec 2012 20:38:09 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 707B28FC0A for ; Mon, 31 Dec 2012 20:38:09 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id qBVKc8Ao057041 for ; Mon, 31 Dec 2012 15:38:08 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Mon, 31 Dec 2012 15:38:08 -0500 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: irc #bsdmips Message-ID: <20121231153808.719e8a0c@ivory.wynn.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 20:38:09 -0000 Greeting- No idea what is going on, but every efnet IRC server I try to connect to says that cherry.wynn.com is banned. Ideas guys? I have tried using TOR as well and no joy there either. I wonder if efnet is unhappy because cherry.wynn.com is running a TOR node? -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6924 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 21:10:01 2012 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ACB21DF for ; Mon, 31 Dec 2012 21:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 4D31A8FC12 for ; Mon, 31 Dec 2012 21:10:01 +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 qBVLA1Bk010663 for ; Mon, 31 Dec 2012 21:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qBVLA1AP010662; Mon, 31 Dec 2012 21:10:01 GMT (envelope-from gnats) Date: Mon, 31 Dec 2012 21:10:01 GMT Message-Id: <201212312110.qBVLA1AP010662@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org Cc: From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: arm/160431: commit references a PR X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2012 21:10:01 -0000 The following reply was made to PR arm/160431; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: arm/160431: commit references a PR Date: Mon, 31 Dec 2012 21:00:46 +0000 (UTC) Author: gonzo Date: Mon Dec 31 21:00:38 2012 New Revision: 244912 URL: http://svnweb.freebsd.org/changeset/base/244912 Log: Merge r234561 from busdma_machdep.c to ARMv6 version of busdma: Interrupts must be disabled while handling a partial cache line flush, as otherwise the interrupt handling code may modify data in the non-DMA part of the cache line while we have it stashed away in the temporary stack buffer, then we end up restoring a stale value. PR: 160431 Submitted by: Ian Lepore Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/arm/busdma_machdep-v6.c ============================================================================== --- head/sys/arm/arm/busdma_machdep-v6.c Mon Dec 31 16:52:52 2012 (r244911) +++ head/sys/arm/arm/busdma_machdep-v6.c Mon Dec 31 21:00:38 2012 (r244912) @@ -1347,35 +1347,49 @@ _bus_dmamap_sync(bus_dma_tag_t dmat, bus while (sl != NULL) { /* write back the unaligned portions */ vm_paddr_t physaddr; + register_t s = 0; + buf = sl->vaddr; len = sl->datacount; physaddr = sl->busaddr; bbuf = buf & ~arm_dcache_align_mask; ebuf = buf + len; physaddr = physaddr & ~arm_dcache_align_mask; - unalign = buf & arm_dcache_align_mask; - if (unalign) { - memcpy(_tmp_cl, (void *)bbuf, unalign); - len += unalign; /* inv entire cache line */ - } - unalign = ebuf & arm_dcache_align_mask; - if (unalign) { - unalign = arm_dcache_align - unalign; - memcpy(_tmp_clend, (void *)ebuf, unalign); - len += unalign; /* inv entire cache line */ + + + if ((buf & arm_dcache_align_mask) || + (ebuf & arm_dcache_align_mask)) { + s = intr_disable(); + unalign = buf & arm_dcache_align_mask; + if (unalign) { + memcpy(_tmp_cl, (void *)bbuf, unalign); + len += unalign; /* inv entire cache line */ + } + + unalign = ebuf & arm_dcache_align_mask; + if (unalign) { + unalign = arm_dcache_align - unalign; + memcpy(_tmp_clend, (void *)ebuf, unalign); + len += unalign; /* inv entire cache line */ + } } - /* inv are cache length aligned */ + + /* inv are cache length aligned */ cpu_dcache_inv_range(bbuf, len); l2cache_inv_range(bbuf, physaddr, len); - unalign = (vm_offset_t)buf & arm_dcache_align_mask; - if (unalign) { - memcpy((void *)bbuf, _tmp_cl, unalign); - } - unalign = ebuf & arm_dcache_align_mask; - if (unalign) { - unalign = arm_dcache_align - unalign; - memcpy((void *)ebuf, _tmp_clend, unalign); + if ((buf & arm_dcache_align_mask) || + (ebuf & arm_dcache_align_mask)) { + unalign = (vm_offset_t)buf & arm_dcache_align_mask; + if (unalign) + memcpy((void *)bbuf, _tmp_cl, unalign); + + unalign = ebuf & arm_dcache_align_mask; + if (unalign) + memcpy((void *)ebuf, _tmp_clend, + arm_dcache_align - unalign); + + intr_restore(s); } sl = STAILQ_NEXT(sl, slinks); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 21:39:54 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 1A5756BC for ; Mon, 31 Dec 2012 21:39:54 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) by mx1.freebsd.org (Postfix) with ESMTP id B41518FC08 for ; Mon, 31 Dec 2012 21:39:53 +0000 (UTC) Received: from [88.198.91.248] (helo=[IPv6:::1]) by id.bluezbox.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1Tpn5E-000IO0-Kx for freebsd-arm@freebsd.org; Mon, 31 Dec 2012 13:39:46 -0800 Message-ID: <50E2061C.7050206@bluezbox.com> Date: Mon, 31 Dec 2012 13:39:40 -0800 From: Oleksandr Tymoshenko User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: Re: irc #bsdmips References: <20121231153808.719e8a0c@ivory.wynn.com> In-Reply-To: <20121231153808.719e8a0c@ivory.wynn.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: gonzo@id.bluezbox.com X-Spam-Level: -- X-Spam-Report: Spam detection software, running on the system "id.bluezbox.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: On 12/31/2012 12:38 PM, Brett Wynkoop wrote: > Greeting- > > No idea what is going on, but every efnet IRC server I try to connect > to says that cherry.wynn.com is banned. Ideas guys? > > I have tried using TOR as well and no joy there either. I wonder if > efnet is unhappy because cherry.wynn.com is running a TOR node? > EFNet is having problems: https://twitter.com/nixhead/status/285856011372347392 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 21:39:54 -0000 On 12/31/2012 12:38 PM, Brett Wynkoop wrote: > Greeting- > > No idea what is going on, but every efnet IRC server I try to connect > to says that cherry.wynn.com is banned. Ideas guys? > > I have tried using TOR as well and no joy there either. I wonder if > efnet is unhappy because cherry.wynn.com is running a TOR node? > EFNet is having problems: https://twitter.com/nixhead/status/285856011372347392 From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 22:13:22 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 0B552C9F for ; Mon, 31 Dec 2012 22:13:22 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from mail.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3FF8FC0C for ; Mon, 31 Dec 2012 22:13:21 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by mail.wynn.com (8.14.3/8.12.6) with ESMTP id qBVMDFRf057985; Mon, 31 Dec 2012 17:13:15 -0500 (EST) (envelope-from wynkoop@wynn.com) Date: Mon, 31 Dec 2012 17:13:15 -0500 From: Brett Wynkoop To: Oleksandr Tymoshenko Subject: Re: irc #bsdmips Message-ID: <20121231171315.072bb8d4@ivory.wynn.com> In-Reply-To: <50E2061C.7050206@bluezbox.com> References: <20121231153808.719e8a0c@ivory.wynn.com> <50E2061C.7050206@bluezbox.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 22:13:22 -0000 On Mon, 31 Dec 2012 13:39:40 -0800 Oleksandr Tymoshenko wrote: > EFNet is having problems: > https://twitter.com/nixhead/status/285856011372347392 I should have emailed sooner. I pissed away hours trying to figure it out. Since I could not attach to any efnet I figured it was my client until I attached to an irc server on my own net. Thanks! -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6924 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Mon Dec 31 23:25:20 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 ED9E9779; Mon, 31 Dec 2012 23:25:20 +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 AAC658FC0A; Mon, 31 Dec 2012 23:25:20 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id qBVNPJ4V016683; Mon, 31 Dec 2012 23:25:19 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id w2fch3ceeq2n6n7t94dp8t2kqn; Mon, 31 Dec 2012 23:25:19 +0000 (UTC) (envelope-from kientzle@freebsd.org) From: Tim Kientzle Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: CFT: Overhauled CPSW driver for BeagleBone Date: Mon, 31 Dec 2012 15:25:15 -0800 Message-Id: <53026BDB-88DA-4869-99B3-B63D34667451@freebsd.org> To: freebsd-arm@freebsd.org, freebsd-current Current Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 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 Dec 2012 23:25:21 -0000 I've made some progress reworking the CPSW driver for BeagleBone and would appreciate any feedback: https://github.com/kientzle/cpsw I believe I've resolved the most pressing stability problems; the driver properly survives cables being unplugged and replugged, modules being loaded and unloaded while the network is busy, etc. The most obvious remaining issue: TX interrupts still just stop occasionally. But the watchdog now consistently detects and resets everything within a few seconds, so that's much less of a headache. I hope to commit this to FreeBSD-CURRENT within the week. Tim