From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 01:10:39 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 06F4B76F for ; Sun, 7 Jul 2013 01:10:39 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by mx1.freebsd.org (Postfix) with ESMTP id CD59C1BBE for ; Sun, 7 Jul 2013 01:10:38 +0000 (UTC) Received: by mail-ob0-f173.google.com with SMTP id wc20so4187588obb.4 for ; Sat, 06 Jul 2013 18:10:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=DyhOjZwyv5JN4dsSleXq5hU5cQcuYht75znQWHLnAg4=; b=KbobAQ4VDms+eb/m3nNwZ1olFrCSkbKYCgQYYabSwR16JPZ0/jz4sNy03VjXya5BS3 ELr/UCz0RvXoXyx6X3DCUjXj8fx2FTMPhlIR0vvpdaQKubwpxp0ZKuF8mn9u/V88ziTL 1cOQVDZfiKvFTb0DAUj2Bu7ZFyiGjIEQT359dLcd3Ixkuwp3N551WxzUW6ckqJUrlu5s zlSucAk4OOzgpx7bEdBxl3ETPU7P7bx0spNQFcth+7T2SCArad4DdjHyljGZXgXVpp42 mOuQu63p/En93gsCcYQPnhI7rPEA/pHda4Yc7GGqjwxQPiEkm39gOSRUvOEBxPvYwJgq ZfNg== MIME-Version: 1.0 X-Received: by 10.60.83.75 with SMTP id o11mr16173993oey.45.1373159432570; Sat, 06 Jul 2013 18:10:32 -0700 (PDT) Received: by 10.182.111.67 with HTTP; Sat, 6 Jul 2013 18:10:32 -0700 (PDT) Date: Sat, 6 Jul 2013 19:10:32 -0600 Message-ID: Subject: Booting Beagleboard Black From: Tom Everett To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQknFrm5Kc2pIhPgjBtUoJouzJyz+9X0NkbabHLS9jjbadFSKVlsgVGr+w8dyWL5Zuo9Kn5D Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 07 Jul 2013 01:10:39 -0000 I've built a kernel using crochet, and copied the resulting .img file to a micro SD card. I followed the simple instructions here: https://github.com/kientzle/crochet-freebsd/tree/master/board/BeagleBone When I reset the board using the reset button on the BBB, I get three blue lights lit on the USB, and nothing happens. Can anyone give a BBB newb a hand? -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 01:17:30 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8DB6393B for ; Sun, 7 Jul 2013 01:17:30 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ee0-x232.google.com (mail-ee0-x232.google.com [IPv6:2a00:1450:4013:c00::232]) by mx1.freebsd.org (Postfix) with ESMTP id 2AC4E1BE0 for ; Sun, 7 Jul 2013 01:17:30 +0000 (UTC) Received: by mail-ee0-f50.google.com with SMTP id d49so2108785eek.9 for ; Sat, 06 Jul 2013 18:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=z4G9a8K9L0dJ0jsrVu3otWsiIdpuAUe7hp2x3d4Sqdc=; b=OFC5IZHrRDbFVvLWqHP5voMwrDH8fbHL/kPcF3RawOBird0iEt2ZWpznI07wyNdegL 5hm5X/JUHNcYQ5r1Daart218qg5xx5yV+GwXEJ14+WberE6hiJ6uUWZaWV/9nQOCmsgx Hc78NgIP/QDbyaFY5J4guT3+7WXxnZEOIoQqFP4ziVnOB522Y7SQWAKK+EAZ7w19Zu8W 2RHfJxHFRhPigyPwsu8M0fnarNDoDqQ2oQmpIXEtOi3ScqQ/7Et3jrEvW3nUdBBmqXba jxChc05RI8UHFhFG+A0OraUiC6cRIHcWpcoD96w28YxmOUCaos1mhC+BKqT0LLk9wVRF u/zg== MIME-Version: 1.0 X-Received: by 10.14.47.196 with SMTP id t44mr7457147eeb.18.1373159848644; Sat, 06 Jul 2013 18:17:28 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Sat, 6 Jul 2013 18:17:28 -0700 (PDT) In-Reply-To: References: Date: Sat, 6 Jul 2013 18:17:28 -0700 Message-ID: Subject: Re: Booting Beagleboard Black From: hiren panchasara To: Tom Everett Content-Type: text/plain; charset=UTF-8 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, 07 Jul 2013 01:17:30 -0000 On Sat, Jul 6, 2013 at 6:10 PM, Tom Everett wrote: > I've built a kernel using crochet, and copied the resulting .img file to a > micro SD card. I followed the simple instructions here: > > https://github.com/kientzle/crochet-freebsd/tree/master/board/BeagleBone > > When I reset the board using the reset button on the BBB, I get three blue > lights lit on the USB, and nothing happens. Can anyone give a BBB newb a > hand? So, you need to hold the boot button for a few (2 to 3) seconds before powering it on. That way it will boot from the sd card. Locate boot button: http://learn.adafruit.com/beaglebone-black-installing-operating-systems/flashing-the-beaglebone-black cheers, Hiren > > > -- > A better world shall emerge based on faith and understanding - Douglas > MacArthur > _______________________________________________ > 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 Jul 7 01:22:08 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 32FBD993 for ; Sun, 7 Jul 2013 01:22:08 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id EAC141BF2 for ; Sun, 7 Jul 2013 01:22:07 +0000 (UTC) Received: from zidane.cc.vt.edu (zidane.cc.vt.edu [198.82.163.227]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id r671LU5T013424; Sat, 6 Jul 2013 21:21:30 -0400 Received: from auth3.smtp.vt.edu (auth3.smtp.vt.edu [198.82.161.152]) by zidane.cc.vt.edu (MOS 4.3.3-GA) with ESMTP id YRY26002; Sat, 6 Jul 2013 21:21:30 -0400 X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu 0 none X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu 0 none Received: from gromit.chumby.lan (c-98-249-9-133.hsd1.va.comcast.net [98.249.9.133]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id r671LSnB031959 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 6 Jul 2013 21:21:29 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Booting Beagleboard Black From: Paul Mather In-Reply-To: Date: Sat, 6 Jul 2013 21:21:28 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> References: To: Tom Everett X-Mailer: Apple Mail (2.1508) 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, 07 Jul 2013 01:22:08 -0000 On Jul 6, 2013, at 9:10 PM, Tom Everett wrote: > I've built a kernel using crochet, and copied the resulting .img file = to a > micro SD card. I followed the simple instructions here: >=20 > = https://github.com/kientzle/crochet-freebsd/tree/master/board/BeagleBone >=20 > When I reset the board using the reset button on the BBB, I get three = blue > lights lit on the USB, and nothing happens. Can anyone give a BBB = newb a > hand? You're holding down the wrong button. :-) You need to hold down the = user boot switch at the other end, near the micro SD card. See = https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack for details. (See = http://learn.adafruit.com/system/assets/assets/000/008/680/original/Beagle= BoneBlack.jpeg?1369065340 for location of button.) BTW, is it possible to put a boot loader on the eMMC so that it will = always try and boot FreeBSD from the micro SD card? Alternatively, is = it possible to make the FreeBSD boot loader/layout on the BeagleBone = Black compatible with the Angstrom boot loader? It appears to look for = an ext2 file system if the micro SD card is present. Would a BeagleBone = Black image that uses ext2 be bootable by the resident Angstrom system? Cheers, Paul. From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 01:41:51 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0DA54E8C for ; Sun, 7 Jul 2013 01:41:51 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) by mx1.freebsd.org (Postfix) with ESMTP id D0B561C4F for ; Sun, 7 Jul 2013 01:41:50 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id h1so4895647oag.5 for ; Sat, 06 Jul 2013 18:41:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=hCI/TyvDWtFkCkpIlUIhV+6LU311/pQ+Rg95W91WWes=; b=ph9mYqcGupIHcsnp2WokpyRLnL6eTpDz9gD4H9jhi4ZcXHLAd26BVTalQhDJGdQy29 TcrCyoL77SZsTNm+DznaIhuMQEfdz8RKYEIfPWZS1hAIP/3HpXIsmrf1F1MJ3vsWdYQK osigI6KK/kgWlzEDb3Bipo/xLrX9+OuJ9ZK3qzeEh2tOADeOFX4zC3RF1NqNM1msqpyC 3jZeNLej9pSAWTy33gf3fhk+MUKrKldifT1AxyGZXgthsGI05RrjNVkE0uSubbcsQH3e M9KAGHGBAqg/SnwKhLNMKElE6QSlWUMA1C3JQQY8QnHT2NRqVpJdND72m5BwHg4oFv2l flTQ== MIME-Version: 1.0 X-Received: by 10.182.66.137 with SMTP id f9mr9800777obt.24.1373161304034; Sat, 06 Jul 2013 18:41:44 -0700 (PDT) Received: by 10.182.111.67 with HTTP; Sat, 6 Jul 2013 18:41:43 -0700 (PDT) In-Reply-To: <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> References: <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> Date: Sat, 6 Jul 2013 19:41:43 -0600 Message-ID: Subject: Re: Booting Beagleboard Black From: Tom Everett To: Paul Mather X-Gm-Message-State: ALoCoQmMJqDUxr9sNeRUQVXSi+X43yaebUfFEmRlgI+A0cdr67TOI1+woW+uBu4afb2ORv7QGryf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 07 Jul 2013 01:41:51 -0000 Thanks everyone. I tried the instructions here. https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack . Specifically 1 - unplug the usb and sd card 2 - plug in sd 3 - hold down "user/boot" button located by the sd connection, at the FAR end of the board from the other two buttons 4 - plug in USB 5 - observe power light go on 6 - release "user/boot" button The power light stays on, but nothing else happens. Perhaps my .img file is not correct, is there somewhere I can download a "known to work" .img file? On Sat, Jul 6, 2013 at 7:21 PM, Paul Mather wrote: > > On Jul 6, 2013, at 9:10 PM, Tom Everett wrote: > > > I've built a kernel using crochet, and copied the resulting .img file to > a > > micro SD card. I followed the simple instructions here: > > > > https://github.com/kientzle/crochet-freebsd/tree/master/board/BeagleBone > > > > When I reset the board using the reset button on the BBB, I get three > blue > > lights lit on the USB, and nothing happens. Can anyone give a BBB newb a > > hand? > > You're holding down the wrong button. :-) You need to hold down the user > boot switch at the other end, near the micro SD card. See > https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack for details. (See > http://learn.adafruit.com/system/assets/assets/000/008/680/original/BeagleBoneBlack.jpeg?1369065340for location of button.) > > BTW, is it possible to put a boot loader on the eMMC so that it will > always try and boot FreeBSD from the micro SD card? Alternatively, is it > possible to make the FreeBSD boot loader/layout on the BeagleBone Black > compatible with the Angstrom boot loader? It appears to look for an ext2 > file system if the micro SD card is present. Would a BeagleBone Black > image that uses ext2 be bootable by the resident Angstrom system? > > Cheers, > > Paul. > > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 02:06:08 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E40ADDD for ; Sun, 7 Jul 2013 02:06:08 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id A37151CA8 for ; Sun, 7 Jul 2013 02:06:08 +0000 (UTC) Received: from dagger.cc.vt.edu (dagger.cc.vt.edu [198.82.163.114]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id r6721Ctk022432; Sat, 6 Jul 2013 22:05:37 -0400 Received: from auth3.smtp.vt.edu (auth3.smtp.vt.edu [198.82.161.152]) by dagger.cc.vt.edu (MOS 4.3.3-GA) with ESMTP id CEU69852; Sat, 6 Jul 2013 22:05:37 -0400 X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu 0 none X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu 0 none Received: from [128.173.35.196] ([128.173.35.196]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id r6725Zwd004896 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 6 Jul 2013 22:05:37 -0400 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: Booting Beagleboard Black From: Paul Mather In-Reply-To: Date: Sat, 6 Jul 2013 22:05:35 -0400 Message-Id: <44AB19F7-A0D3-4F0C-A1F4-66AA49283387@gromit.dlib.vt.edu> References: <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> To: Tom Everett X-Mailer: Apple Mail (2.1508) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 07 Jul 2013 02:06:09 -0000 On Jul 6, 2013, at 9:41 PM, Tom Everett wrote: > Thanks everyone. I tried the instructions here. = https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack . >=20 > Specifically >=20 > 1 - unplug the usb and sd card > 2 - plug in sd > 3 - hold down "user/boot" button located by the sd connection, at the = FAR end of the board from the other two buttons > 4 - plug in USB > 5 - observe power light go on > 6 - release "user/boot" button >=20 > The power light stays on, but nothing else happens. Perhaps my .img = file is not correct, is there somewhere I can download a "known to work" = .img file? Do you have a USB to serial cable to monitor what is happening during = the startup? Something like http://www.adafruit.com/products/954 is = very handy. It can help let you know whether it is booting the right = image, or how far it is getting in the boot sequence. I've managed to boot a Crochet-produced image on my BeagleBone Black, so = I know it is possible. Cheers, Paul.= From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 02:08:53 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7343F134 for ; Sun, 7 Jul 2013 02:08:53 +0000 (UTC) (envelope-from tom@0x544745.com) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) by mx1.freebsd.org (Postfix) with ESMTP id 3FCBD1CBA for ; Sun, 7 Jul 2013 02:08:52 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id k14so4861799oag.40 for ; Sat, 06 Jul 2013 19:08:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=NwJkD791utqu6u+d8assiHcx57e3oaFmYhpCW4R0pbA=; b=fNWTLle3KaTIlv55EFPJOy/5tdnwjsA5WPnZMKc3YDbY9vtTB8kc5/2BkNLSlCemCR FpcS7WvF32Etg3XmGtYGbDBnT5ZozQhGD3nSAZ2iy8ITk/QTYWRqw2Tf/wnacAALoFtz Shx7lXDgHw0q49PP9ZOCgVYDUjwSRpHF0UaAhcnsJY5Aa7168zeoAOak8pknR1WSmhBB LVFF0scRs8+kGA64Dxljx0v90Vju46OIVm1v+PBj/lD/r9zfXnAD7/Py3a/5AxpilHWH lrCqckRROz75vJBj+GjCX13yabkY8nhUp/T+LR/nT2Enk7utJaxunhEqdGFrDZ/JFsnp Jk5g== MIME-Version: 1.0 X-Received: by 10.60.83.75 with SMTP id o11mr16250107oey.45.1373162926133; Sat, 06 Jul 2013 19:08:46 -0700 (PDT) Received: by 10.182.111.67 with HTTP; Sat, 6 Jul 2013 19:08:46 -0700 (PDT) In-Reply-To: <44AB19F7-A0D3-4F0C-A1F4-66AA49283387@gromit.dlib.vt.edu> References: <97D78167-9428-4005-89EE-15A78F74BE46@gromit.dlib.vt.edu> <44AB19F7-A0D3-4F0C-A1F4-66AA49283387@gromit.dlib.vt.edu> Date: Sat, 6 Jul 2013 20:08:46 -0600 Message-ID: Subject: Re: Booting Beagleboard Black From: Tom Everett To: Paul Mather X-Gm-Message-State: ALoCoQkZ9IkRWyHvtY1W02fKZjVpOSXnUGjFuBo3hOlgU6q0rg8IePRqUlfe9rJ2IrwqcyUbzWbt Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 07 Jul 2013 02:08:53 -0000 I have just now ordered that cable. Thanks for the link. On Sat, Jul 6, 2013 at 8:05 PM, Paul Mather wrote: > On Jul 6, 2013, at 9:41 PM, Tom Everett wrote: > > Thanks everyone. I tried the instructions here. > https://wiki.freebsd.org/FreeBSD/arm/BeagleBoneBlack . > > Specifically > > 1 - unplug the usb and sd card > 2 - plug in sd > 3 - hold down "user/boot" button located by the sd connection, at the FAR > end of the board from the other two buttons > 4 - plug in USB > 5 - observe power light go on > 6 - release "user/boot" button > > The power light stays on, but nothing else happens. Perhaps my .img file > is not correct, is there somewhere I can download a "known to work" .img > file? > > > Do you have a USB to serial cable to monitor what is happening during the > startup? Something like http://www.adafruit.com/products/954 is very > handy. It can help let you know whether it is booting the right image, or > how far it is getting in the boot sequence. > > I've managed to boot a Crochet-produced image on my BeagleBone Black, so I > know it is possible. > > Cheers, > > Paul. > -- A better world shall emerge based on faith and understanding - Douglas MacArthur From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 02:59:36 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D59FA6BE for ; Sun, 7 Jul 2013 02:59:36 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 72E131D75 for ; Sun, 7 Jul 2013 02:59:35 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id r672xXsH030777; Sat, 6 Jul 2013 22:59:34 -0400 (EDT) (envelope-from wynkoop@wynn.com) Date: Sat, 6 Jul 2013 22:59:33 -0400 From: Brett Wynkoop To: Brett Wynkoop Subject: Re: Most recent R-PI kernel refuses to build Message-ID: <20130706225933.6aa3cdbd@ivory.wynn.com> In-Reply-To: <20130706000926.1a545c66@ivory.wynn.com> References: <20130704150959.76adeedf@ivory.wynn.com> <20130704233621.08d61bfe@ivory.wynn.com> <20130706000926.1a545c66@ivory.wynn.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.19; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD ARM List 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, 07 Jul 2013 02:59:36 -0000 Greeting- Looks like it always fails at the same place on sigabort. Any ideas? -Brett -------------------------------------------------------------- >>> stage 4.2: building libraries -------------------------------------------------------------- cd /export/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/export/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/export/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/export/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/export/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD 10.0-CURRENT armv6 1000026" INSTALL="sh /export/src/tools/install.sh" PATH=/usr/obj/export/src/tmp/legacy/usr/sbin:/usr/obj/export/src/tmp/legacy/usr/bin:/usr/obj/export/src/tmp/legacy/usr/games:/usr/obj/export/src/tmp/legacy/bin:/usr/obj/export/src/tmp/usr/sbin:/usr/obj/export/src/tmp/usr/bin:/usr/obj/export/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= RANLIB=ranlib STRINGS= COMPILER_TYPE=clang /usr/obj/export/src/make.arm/make -f Makefile.inc1 DESTDIR=/usr/obj/export/src/tmp -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PROFILE libraries cd /export/src && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _prereq_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _startup_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _prebuild_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _generic_libs ===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install) cc -O -pipe -DHAVE_CONFIG_H -I/export/src/gnu/lib/libssp/libssp_nonshared/.. -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include -fPIC -DPIC -fvisibility=hidden -std=gnu99 -Qunused-arguments -c /export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp/ssp-local.c -o ssp-local.o *** Signal 6 Stop. make: stopped in /export/src/gnu/lib/libssp/libssp_nonshared *** Error code 1 Stop. make: stopped in /export/src *** Error code 1 Stop. make: stopped in /export/src *** Error code 1 Stop. make: stopped in /export/src *** [buildworld] Error code 1 Stop in /export/src. -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 A free people ought to be armed. - George Washington From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 03:18:03 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DD837932 for ; Sun, 7 Jul 2013 03:18:03 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 610271EFF for ; Sun, 7 Jul 2013 03:18:02 +0000 (UTC) Received: from server.rulingia.com (c220-239-237-213.belrs5.nsw.optusnet.com.au [220.239.237.213]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id r673Hf4r018567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 7 Jul 2013 13:17:42 +1000 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id r673HXTB090416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Jul 2013 13:17:34 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id r673HW6t090414; Sun, 7 Jul 2013 13:17:32 +1000 (EST) (envelope-from peter) Date: Sun, 7 Jul 2013 13:17:32 +1000 From: Peter Jeremy To: Hans Petter Selasky Subject: USB Performance on Raspberry Pi Message-ID: <20130707031732.GS39302@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sdEQJo40s7ofW8iR" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp 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: Sun, 07 Jul 2013 03:18:03 -0000 --sdEQJo40s7ofW8iR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Hans, USB performance on the Raspberry Pi is rather lacking. This is important because pretty much everything goes via USB. Do you have any suggestions on how to fix the bottlenecks? I suspect one is that FreeBSD is using PIO, whereas Linux is using DMA. I've previously commented about the sawtooth pattern in ping times: 64 bytes from 192.168.123.231: icmp_seq=3D6 ttl=3D64 time=3D2.701 ms 64 bytes from 192.168.123.231: icmp_seq=3D7 ttl=3D64 time=3D1.465 ms 64 bytes from 192.168.123.231: icmp_seq=3D8 ttl=3D64 time=3D10.589 ms 64 bytes from 192.168.123.231: icmp_seq=3D9 ttl=3D64 time=3D9.688 ms 64 bytes from 192.168.123.231: icmp_seq=3D10 ttl=3D64 time=3D8.673 ms 64 bytes from 192.168.123.231: icmp_seq=3D11 ttl=3D64 time=3D7.330 ms 64 bytes from 192.168.123.231: icmp_seq=3D12 ttl=3D64 time=3D6.857 ms 64 bytes from 192.168.123.231: icmp_seq=3D13 ttl=3D64 time=3D5.946 ms 64 bytes from 192.168.123.231: icmp_seq=3D14 ttl=3D64 time=3D3.955 ms 64 bytes from 192.168.123.231: icmp_seq=3D15 ttl=3D64 time=3D2.079 ms 64 bytes from 192.168.123.231: icmp_seq=3D16 ttl=3D64 time=3D1.072 ms Whereas pinging a Linux RPi gives: round-trip min/avg/max/stddev =3D 0.276/0.373/0.455/0.049 ms yongari@ gave me same patches for the SMSC NIC but they didn't have any noticable effect. And the network throughput is also well below what Linux can achieve. If I connect an external USB disk to a Linux RPi, I get 20.6 MBps read. The same disk on FreeBSD RPi gives 6.3 MBps - with ~50% interrupt time. --=20 Peter Jeremy --sdEQJo40s7ofW8iR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlHY3cwACgkQ/opHv/APuIfCeQCgnwSDmyW8bWL8IdUKIt0h2vgd StMAnRlieQOpcxqRFIWGza9bkgUc9HgC =A3BZ -----END PGP SIGNATURE----- --sdEQJo40s7ofW8iR-- From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 03:18:38 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C6066970 for ; Sun, 7 Jul 2013 03:18:38 +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 75D7F1F02 for ; Sun, 7 Jul 2013 03:18:38 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.65]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1UvfUe-000MJW-3y; Sat, 06 Jul 2013 20:18:37 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Booting Beagleboard Black From: Oleksandr Tymoshenko In-Reply-To: Date: Sat, 6 Jul 2013 20:18:12 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <49BADE26-2E93-4FFC-9563-63F6B556FA1D@bluezbox.com> References: To: hiren panchasara X-Mailer: Apple Mail (2.1503) 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 2013-07-06, at 6:17 PM, hiren panchasara wrote: > On Sat, Jul 6, 2013 at 6:10 PM, Tom Everett wrote: >> I've built a kernel using crochet, and copied the resulting .img file to a >> micro SD card. I followed the simple instructions here: >> >> https://github.com/kientzle/crochet-freebsd/tree/master/board/BeagleBone >> >> When I reset the board using the reset button on the BBB, I get three blue >> lights lit on the USB, and nothing happens. Can anyone give a BBB newb a >> hand? > > So, you need to hold the boot button for a few (2 to 3) seconds before > powering it on. That way it will boot from the sd card. > > Locate boot button: > http://learn.adafruit.com/beaglebone-black-installing-operating-systems/flashing-the-beaglebone-black [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: khubla.com] -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] 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, 07 Jul 2013 03:18:38 -0000 On 2013-07-06, at 6:17 PM, hiren panchasara = wrote: > On Sat, Jul 6, 2013 at 6:10 PM, Tom Everett wrote: >> I've built a kernel using crochet, and copied the resulting .img file = to a >> micro SD card. I followed the simple instructions here: >>=20 >> = https://github.com/kientzle/crochet-freebsd/tree/master/board/BeagleBone >>=20 >> When I reset the board using the reset button on the BBB, I get three = blue >> lights lit on the USB, and nothing happens. Can anyone give a BBB = newb a >> hand? >=20 > So, you need to hold the boot button for a few (2 to 3) seconds before > powering it on. That way it will boot from the sd card. >=20 > Locate boot button: > = http://learn.adafruit.com/beaglebone-black-installing-operating-systems/fl= ashing-the-beaglebone-black I just nuked partition table on MMC1 (internal memory card). It made = zero-stage=20 boot loader boot from external SD card. You can do it by breaking to = u-boot prompt and executing following sequence # mmc dev 1 # mmc erase 0 512 Do it only if you 100% sure you know what you're doing and you don't = have any=20 data you need on mmc1. I don't think this command can inflict = irreparable =20 damage since you can always re-flash internal MMC card. =20 From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 03:23:25 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B868D9D1 for ; Sun, 7 Jul 2013 03:23:25 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE111F1B for ; Sun, 7 Jul 2013 03:23:25 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id k13so7759959iea.18 for ; Sat, 06 Jul 2013 20:23:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=UkzhFxYc+qwxDC3YJknjeaw/GNAL6bfc7/vn60ixFT8=; b=m2xh5d4+qLt40+0RZkwk7FhAFMkX+37UlcKOnx8FSvOSTU7h094bKRJtZecY/b19Nu Sv2k0fGxYamQMhBPW1q6zH1OcFMLjRABlNuh224j6w9iBAFBrwSbOwh6/9tlLJOF69jT 2Y1CqYEGEcu0X2zsR6Q+sDSpCxjMofd6wyF+fZfsz+dlbiWIa3p+F5OJC/RDNyszVhVT d0bby/jzyE60OODuncMatlZOfPSD08m1yUeMS8tpSbKB8LaywWaTrWhUWXmyrIv6SEa/ lr5FL29cFo3EPlPKGY3/140a+Rp+Ui32Agl4ur5WYq7qsewYyRKc5WJxWhrpS1BbHI4H LV3w== X-Received: by 10.50.114.229 with SMTP id jj5mr6758385igb.36.1373167404680; Sat, 06 Jul 2013 20:23:24 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id w5sm21922078igz.10.2013.07.06.20.23.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Jul 2013 20:23:23 -0700 (PDT) Sender: Warner Losh Subject: Re: USB Performance on Raspberry Pi Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <20130707031732.GS39302@server.rulingia.com> Date: Sat, 6 Jul 2013 21:23:22 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20130707031732.GS39302@server.rulingia.com> To: Peter Jeremy X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQmFb+LW8+rswxBgkwg6j1UnNLeLOatkTSnDUfA0vIlStYGB9bRvcz4Xa7I/JDtnpSlvFa7n Cc: freebsd-arm@freebsd.org, Hans Petter Selasky 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, 07 Jul 2013 03:23:25 -0000 On Jul 6, 2013, at 9:17 PM, Peter Jeremy wrote: > Hi Hans, >=20 > USB performance on the Raspberry Pi is rather lacking. This is = important > because pretty much everything goes via USB. Do you have any = suggestions > on how to fix the bottlenecks? I suspect one is that FreeBSD is using > PIO, whereas Linux is using DMA. >=20 > I've previously commented about the sawtooth pattern in ping times: > 64 bytes from 192.168.123.231: icmp_seq=3D6 ttl=3D64 time=3D2.701 ms > 64 bytes from 192.168.123.231: icmp_seq=3D7 ttl=3D64 time=3D1.465 ms > 64 bytes from 192.168.123.231: icmp_seq=3D8 ttl=3D64 time=3D10.589 ms > 64 bytes from 192.168.123.231: icmp_seq=3D9 ttl=3D64 time=3D9.688 ms > 64 bytes from 192.168.123.231: icmp_seq=3D10 ttl=3D64 time=3D8.673 ms > 64 bytes from 192.168.123.231: icmp_seq=3D11 ttl=3D64 time=3D7.330 ms > 64 bytes from 192.168.123.231: icmp_seq=3D12 ttl=3D64 time=3D6.857 ms > 64 bytes from 192.168.123.231: icmp_seq=3D13 ttl=3D64 time=3D5.946 ms > 64 bytes from 192.168.123.231: icmp_seq=3D14 ttl=3D64 time=3D3.955 ms > 64 bytes from 192.168.123.231: icmp_seq=3D15 ttl=3D64 time=3D2.079 ms > 64 bytes from 192.168.123.231: icmp_seq=3D16 ttl=3D64 time=3D1.072 ms >=20 > Whereas pinging a Linux RPi gives: > round-trip min/avg/max/stddev =3D 0.276/0.373/0.455/0.049 ms >=20 > yongari@ gave me same patches for the SMSC NIC but they didn't have > any noticable effect. >=20 > And the network throughput is also well below what Linux can achieve. >=20 > If I connect an external USB disk to a Linux RPi, I get 20.6 MBps > read. The same disk on FreeBSD RPi gives 6.3 MBps - with ~50% > interrupt time. sure sounds a lot like the USB polling issues... Maybe we have a = problem with the USB controller generating the proper interrupts, or = some interrupt delivery problem? Warner= From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 03:31:49 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CF920B2C for ; Sun, 7 Jul 2013 03:31:49 +0000 (UTC) (envelope-from freebsd-arm@wynn.com) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6FECB1F4A for ; Sun, 7 Jul 2013 03:31:48 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id r673VmWY031052; Sat, 6 Jul 2013 23:31:48 -0400 (EDT) (envelope-from freebsd-arm@wynn.com) Date: Sat, 6 Jul 2013 23:31:47 -0400 From: Brett Wynkoop To: Brett Wynkoop Subject: Re: Most recent R-PI kernel refuses to build Message-ID: <20130706233147.2e51fe34@ivory.wynn.com> In-Reply-To: <20130706000926.1a545c66@ivory.wynn.com> References: <20130704150959.76adeedf@ivory.wynn.com> <20130704233621.08d61bfe@ivory.wynn.com> <20130706000926.1a545c66@ivory.wynn.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.19; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD ARM List 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, 07 Jul 2013 03:31:49 -0000 Greeting- Looks like it always fails at the same place on sigabort. Any ideas? -Brett -------------------------------------------------------------- >>> stage 4.2: building libraries -------------------------------------------------------------- cd /export/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/export/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/export/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/export/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/export/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD 10.0-CURRENT armv6 1000026" INSTALL="sh /export/src/tools/install.sh" PATH=/usr/obj/export/src/tmp/legacy/usr/sbin:/usr/obj/export/src/tmp/legacy/usr/bin:/usr/obj/export/src/tmp/legacy/usr/games:/usr/obj/export/src/tmp/legacy/bin:/usr/obj/export/src/tmp/usr/sbin:/usr/obj/export/src/tmp/usr/bin:/usr/obj/export/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= RANLIB=ranlib STRINGS= COMPILER_TYPE=clang /usr/obj/export/src/make.arm/make -f Makefile.inc1 DESTDIR=/usr/obj/export/src/tmp -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PROFILE libraries cd /export/src && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _prereq_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _startup_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _prebuild_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _generic_libs ===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install) cc -O -pipe -DHAVE_CONFIG_H -I/export/src/gnu/lib/libssp/libssp_nonshared/.. -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include -fPIC -DPIC -fvisibility=hidden -std=gnu99 -Qunused-arguments -c /export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp/ssp-local.c -o ssp-local.o *** Signal 6 Stop. make: stopped in /export/src/gnu/lib/libssp/libssp_nonshared *** Error code 1 Stop. make: stopped in /export/src *** Error code 1 Stop. make: stopped in /export/src *** Error code 1 Stop. make: stopped in /export/src *** [buildworld] Error code 1 Stop in /export/src. -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 A free people ought to be armed. - George Washington From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 03:32:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D28B9B72 for ; Sun, 7 Jul 2013 03:32:35 +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 572811F54 for ; Sun, 7 Jul 2013 03:32:35 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.65]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1UvfiA-000G2A-Jf; Sat, 06 Jul 2013 20:32:33 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: USB Performance on Raspberry Pi From: Oleksandr Tymoshenko In-Reply-To: Date: Sat, 6 Jul 2013 20:32:11 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <433DF541-8C6C-4A51-9277-01F2B99F2077@bluezbox.com> References: <20130707031732.GS39302@server.rulingia.com> To: Warner Losh X-Mailer: Apple Mail (2.1503) 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 2013-07-06, at 8:23 PM, Warner Losh wrote: > > On Jul 6, 2013, at 9:17 PM, Peter Jeremy wrote: > >> Hi Hans, >> >> USB performance on the Raspberry Pi is rather lacking. This is important >> because pretty much everything goes via USB. Do you have any suggestions >> on how to fix the bottlenecks? I suspect one is that FreeBSD is using >> PIO, whereas Linux is using DMA. >> >> I've previously commented about the sawtooth pattern in ping times: >> 64 bytes from 192.168.123.231: icmp_seq=6 ttl=64 time=2.701 ms >> 64 bytes from 192.168.123.231: icmp_seq=7 ttl=64 time=1.465 ms >> 64 bytes from 192.168.123.231: icmp_seq=8 ttl=64 time=10.589 ms >> 64 bytes from 192.168.123.231: icmp_seq=9 ttl=64 time=9.688 ms >> 64 bytes from 192.168.123.231: icmp_seq=10 ttl=64 time=8.673 ms >> 64 bytes from 192.168.123.231: icmp_seq=11 ttl=64 time=7.330 ms >> 64 bytes from 192.168.123.231: icmp_seq=12 ttl=64 time=6.857 ms >> 64 bytes from 192.168.123.231: icmp_seq=13 ttl=64 time=5.946 ms >> 64 bytes from 192.168.123.231: icmp_seq=14 ttl=64 time=3.955 ms >> 64 bytes from 192.168.123.231: icmp_seq=15 ttl=64 time=2.079 ms >> 64 bytes from 192.168.123.231: icmp_seq=16 ttl=64 time=1.072 ms >> >> Whereas pinging a Linux RPi gives: >> round-trip min/avg/max/stddev = 0.276/0.373/0.455/0.049 ms >> >> yongari@ gave me same patches for the SMSC NIC but they didn't have >> any noticable effect. >> >> And the network throughput is also well below what Linux can achieve. >> >> If I connect an external USB disk to a Linux RPi, I get 20.6 MBps >> read. The same disk on FreeBSD RPi gives 6.3 MBps - with ~50% >> interrupt time. > > sure sounds a lot like the USB polling issues... Maybe we have a problem with the USB controller generating the proper interrupts, or some interrupt delivery problem? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bsdimp.com] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: freebsd-arm@freebsd.org, Hans Petter Selasky 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, 07 Jul 2013 03:32:35 -0000 On 2013-07-06, at 8:23 PM, Warner Losh wrote: >=20 > On Jul 6, 2013, at 9:17 PM, Peter Jeremy wrote: >=20 >> Hi Hans, >>=20 >> USB performance on the Raspberry Pi is rather lacking. This is = important >> because pretty much everything goes via USB. Do you have any = suggestions >> on how to fix the bottlenecks? I suspect one is that FreeBSD is = using >> PIO, whereas Linux is using DMA. >>=20 >> I've previously commented about the sawtooth pattern in ping times: >> 64 bytes from 192.168.123.231: icmp_seq=3D6 ttl=3D64 time=3D2.701 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D7 ttl=3D64 time=3D1.465 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D8 ttl=3D64 time=3D10.589 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D9 ttl=3D64 time=3D9.688 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D10 ttl=3D64 time=3D8.673 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D11 ttl=3D64 time=3D7.330 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D12 ttl=3D64 time=3D6.857 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D13 ttl=3D64 time=3D5.946 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D14 ttl=3D64 time=3D3.955 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D15 ttl=3D64 time=3D2.079 ms >> 64 bytes from 192.168.123.231: icmp_seq=3D16 ttl=3D64 time=3D1.072 ms >>=20 >> Whereas pinging a Linux RPi gives: >> round-trip min/avg/max/stddev =3D 0.276/0.373/0.455/0.049 ms >>=20 >> yongari@ gave me same patches for the SMSC NIC but they didn't have >> any noticable effect. >>=20 >> And the network throughput is also well below what Linux can achieve. >>=20 >> If I connect an external USB disk to a Linux RPi, I get 20.6 MBps >> read. The same disk on FreeBSD RPi gives 6.3 MBps - with ~50% >> interrupt time. >=20 > sure sounds a lot like the USB polling issues... Maybe we have a = problem with the USB controller generating the proper interrupts, or = some interrupt delivery problem? We use PIO mode which is *really* slow. Linux uses DMA mode. I have this=20= half-baked patch I've been sitting on for months: http://people.freebsd.org/~gonzo/patches/dwc_otg-dma-nosplit.diff There seems to be stability issues under heavy load and SPLIT = transactions=20 does not work which affects USB keyboards. I didn't have enough = time/motivation=20 to finish it :(=20= From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 03:42:48 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7426AC11 for ; Sun, 7 Jul 2013 03:42:48 +0000 (UTC) (envelope-from freebsd-arm@wynn.com) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6541F84 for ; Sun, 7 Jul 2013 03:42:45 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id r673gfab031129; Sat, 6 Jul 2013 23:42:41 -0400 (EDT) (envelope-from freebsd-arm@wynn.com) Date: Sat, 6 Jul 2013 23:42:41 -0400 From: Brett Wynkoop To: Brett Wynkoop Subject: Re: Most recent R-PI kernel refuses to build Message-ID: <20130706234241.7457dd23@ivory.wynn.com> In-Reply-To: <20130706000926.1a545c66@ivory.wynn.com> References: <20130704150959.76adeedf@ivory.wynn.com> <20130704233621.08d61bfe@ivory.wynn.com> <20130706000926.1a545c66@ivory.wynn.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.19; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD ARM List 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, 07 Jul 2013 03:42:48 -0000 Greeting- Looks like it always fails at the same place on sigabort. Any ideas? -Brett -------------------------------------------------------------- >>> stage 4.2: building libraries -------------------------------------------------------------- cd /export/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/export/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/export/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/export/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/export/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD 10.0-CURRENT armv6 1000026" INSTALL="sh /export/src/tools/install.sh" PATH=/usr/obj/export/src/tmp/legacy/usr/sbin:/usr/obj/export/src/tmp/legacy/usr/bin:/usr/obj/export/src/tmp/legacy/usr/games:/usr/obj/export/src/tmp/legacy/bin:/usr/obj/export/src/tmp/usr/sbin:/usr/obj/export/src/tmp/usr/bin:/usr/obj/export/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= RANLIB=ranlib STRINGS= COMPILER_TYPE=clang /usr/obj/export/src/make.arm/make -f Makefile.inc1 DESTDIR=/usr/obj/export/src/tmp -DNO_FSCHG -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PROFILE libraries cd /export/src && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _prereq_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _startup_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _prebuild_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 _generic_libs ===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install) cc -O -pipe -DHAVE_CONFIG_H -I/export/src/gnu/lib/libssp/libssp_nonshared/.. -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/include -fPIC -DPIC -fvisibility=hidden -std=gnu99 -Qunused-arguments -c /export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/libssp/ssp-local.c -o ssp-local.o *** Signal 6 Stop. make: stopped in /export/src/gnu/lib/libssp/libssp_nonshared *** Error code 1 Stop. make: stopped in /export/src *** Error code 1 Stop. make: stopped in /export/src *** Error code 1 Stop. make: stopped in /export/src *** [buildworld] Error code 1 Stop in /export/src. -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 A free people ought to be armed. - George Washington From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 04:11:58 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 68B6ED0F for ; Sun, 7 Jul 2013 04:11:58 +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 04E5F1FF4 for ; Sun, 7 Jul 2013 04:11:57 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.65]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1UvgKH-000D8G-5x; Sat, 06 Jul 2013 21:11:56 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Most recent R-PI kernel refuses to build From: Oleksandr Tymoshenko In-Reply-To: <20130706234241.7457dd23@ivory.wynn.com> Date: Sat, 6 Jul 2013 21:11:34 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7F2CA1D0-9CA5-49DF-BE1B-AFC87C0A7219@bluezbox.com> References: <20130704150959.76adeedf@ivory.wynn.com> <20130704233621.08d61bfe@ivory.wynn.com> <20130706000926.1a545c66@ivory.wynn.com> <20130706234241.7457dd23@ivory.wynn.com> To: Brett Wynkoop X-Mailer: Apple Mail (2.1503) 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 2013-07-06, at 8:42 PM, Brett Wynkoop wrote: > > Greeting- > > Looks like it always fails at the same place on sigabort. Any ideas? What's the amount of memory on build machine? [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: wynn.com] -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] Cc: FreeBSD ARM List 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, 07 Jul 2013 04:11:58 -0000 On 2013-07-06, at 8:42 PM, Brett Wynkoop wrote: >=20 > Greeting- >=20 > Looks like it always fails at the same place on sigabort. Any ideas? What's the amount of memory on build machine? >=20 > -Brett >=20 > -------------------------------------------------------------- >>>> stage 4.2: building libraries > -------------------------------------------------------------- > cd /export/src; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Darmv6 > MACHINE=3Darm CPUTYPE=3D > GROFF_BIN_PATH=3D/usr/obj/export/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=3D/usr/obj/export/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=3D/usr/obj/export/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=3D/usr/obj/export/src/tmp _LDSCRIPTROOT=3D > VERSION=3D"FreeBSD 10.0-CURRENT armv6 1000026" > INSTALL=3D"sh /export/src/tools/install.sh" > = PATH=3D/usr/obj/export/src/tmp/legacy/usr/sbin:/usr/obj/export/src/tmp/leg= acy/usr/bin:/usr/obj/export/src/tmp/legacy/usr/games:/usr/obj/export/src/t= mp/legacy/bin:/usr/obj/export/src/tmp/usr/sbin:/usr/obj/export/src/tmp/usr= /bin:/usr/obj/export/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin > CC=3D"cc " CXX=3D"c++ " CPP=3D"cpp " AS=3D"as" AR=3D"ar" LD=3D"ld" = NM=3Dnm > OBJDUMP=3D RANLIB=3Dranlib STRINGS=3D > COMPILER_TYPE=3Dclang /usr/obj/export/src/make.arm/make -f = Makefile.inc1 > DESTDIR=3D/usr/obj/export/src/tmp -DNO_FSCHG -DWITHOUT_HTML > -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN -DNO_PROFILE libraries > cd /export/src && /usr/obj/export/src/make.arm/make -f Makefile.inc1 > _prereq_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 > _startup_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 > _prebuild_libs && /usr/obj/export/src/make.arm/make -f Makefile.inc1 > _generic_libs =3D=3D=3D> gnu/lib/libssp/libssp_nonshared > (obj,depend,all,install) cc -O -pipe -DHAVE_CONFIG_H > -I/export/src/gnu/lib/libssp/libssp_nonshared/.. > = -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/= libssp > = -I/export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/= include > -fPIC -DPIC -fvisibility=3Dhidden -std=3Dgnu99 -Qunused-arguments > -c = /export/src/gnu/lib/libssp/libssp_nonshared/../../../../contrib/gcclibs/li= bssp/ssp-local.c > -o ssp-local.o *** Signal 6 >=20 > Stop. > make: stopped in /export/src/gnu/lib/libssp/libssp_nonshared > *** Error code 1 >=20 > Stop. > make: stopped in /export/src > *** Error code 1 >=20 > Stop. > make: stopped in /export/src > *** Error code 1 >=20 > Stop. > make: stopped in /export/src > *** [buildworld] Error code 1 >=20 > Stop in /export/src. >=20 >=20 > --=20 >=20 > wynkoop@wynn.com = http://prd4.wynn.com/wynkoop/pgp-keys.txt > 917-642-6925 > 718-717-5435 >=20 > A free people ought to be armed. - George Washington >=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" >=20 From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 04:51:48 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4D411952 for ; Sun, 7 Jul 2013 04:51:48 +0000 (UTC) (envelope-from freebsd-arm@wynn.com) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 00CDF10EA for ; Sun, 7 Jul 2013 04:51:47 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id r674pX5M031649; Sun, 7 Jul 2013 00:51:34 -0400 (EDT) (envelope-from freebsd-arm@wynn.com) Date: Sun, 7 Jul 2013 00:51:33 -0400 From: Brett Wynkoop To: Oleksandr Tymoshenko Subject: Re: Most recent R-PI kernel refuses to build Message-ID: <20130707005133.3854da72@ivory.wynn.com> In-Reply-To: <7F2CA1D0-9CA5-49DF-BE1B-AFC87C0A7219@bluezbox.com> References: <20130704150959.76adeedf@ivory.wynn.com> <20130704233621.08d61bfe@ivory.wynn.com> <20130706000926.1a545c66@ivory.wynn.com> <20130706234241.7457dd23@ivory.wynn.com> <7F2CA1D0-9CA5-49DF-BE1B-AFC87C0A7219@bluezbox.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.19; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD ARM List 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, 07 Jul 2013 04:51:48 -0000 On Sat, 6 Jul 2013 21:11:34 -0700 Oleksandr Tymoshenko wrote: > > On 2013-07-06, at 8:42 PM, Brett Wynkoop wrote: > ideas? > > What's the amount of memory on build machine? > Greeting- It is a 512MB Pi with 512Mb swap and it is using less than 6M of swap. I have built world on the box in the past, but not since March or April. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Sun Jul 7 07:45:35 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 97F1740A for ; Sun, 7 Jul 2013 07:45:35 +0000 (UTC) (envelope-from hans.petter.selasky@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id 03B26160A for ; Sun, 7 Jul 2013 07:45:34 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id AEC8A7A170; Sun, 7 Jul 2013 09:26:57 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 97E728ED850; Sun, 7 Jul 2013 09:26:57 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VeLbhjdcaVqx; Sun, 7 Jul 2013 09:26:56 +0200 (CEST) Received: from mail.lockless.no (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id F41178ED84F; Sun, 7 Jul 2013 09:26:55 +0200 (CEST) Subject: RE: USB Performance on Raspberry Pi From: =?utf-8?Q?Hans_Petter_Selasky?= To: =?utf-8?Q?Peter_Jeremy?= , =?utf-8?Q?Hans_Petter_Selasky?= , =?utf-8?Q?Oleksandr_Tymoshenko?= Date: Sun, 7 Jul 2013 09:26:55 +0200 Mime-Version: 1.0 In-Reply-To: <20130707031732.GS39302@server.rulingia.com> References: <20130707031732.GS39302@server.rulingia.com> X-Priority: 3 (Normal) X-Mailer: Zarafa 7.1.4-41394 Message-Id: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?utf-8?Q?freebsd-arm=40freebsd=2Eorg?= 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, 07 Jul 2013 07:45:35 -0000 Hi,=0D=0A=0D=0AThe DWC OTG hardware DMA API for doing USB transfers is si= mply crap, custom made and non-standard compared to XHCI/UHCI/OHCI and EH= CI. I`ve chosen stability over throughput. Be glad the driver in the tree= works reliably for BULK/CONTROL/INTERRUPT transfer types and all USB spe= eds.=0D=0A=0D=0APing times are high because we use a 10ms timer to poll U= SB transfers. This is due to some design decisions made by the Synopsys g= uys, called a single shared fifo. Other chipset makers do this part compl= etely different.=0D=0A=0D=0AIf you look at the linux USB mailing list you= will see a lot of error reports regarding the DWC OTG and raspberry PI, = for example in-ability to use USB audio devices, which even under Linux's= DMA support require 8000 IRQ/s. The main reason we are getting low throu= ghput is because the internal bus of the ARM core they use in the RPi is = slow. Maybe there are some knobs to beef it up or adjust the clocks=3F=0D= =0A=0D=0A--HPS=0D=0A=20=0D=0A-----Original message-----=0D=0A> From:Peter= Jeremy >=0D=0A> Sent: Su= nday 7th July 2013 5:18=0D=0A> To: Hans Petter Selasky >=0D=0A> Cc: freebsd-arm@freebsd.org =20=0D=0A> Subject: USB Performance on Raspberry Pi= =0D=0A>=20=0D=0A> Hi Hans,=0D=0A>=20=0D=0A> USB performance on the Raspbe= rry Pi is rather lacking. This is important=0D=0A> because pretty much e= verything goes via USB. Do you have any suggestions=0D=0A> on how to fix= the bottlenecks=3F I suspect one is that FreeBSD is using=0D=0A> PIO, w= hereas Linux is using DMA.=0D=0A>=20=0D=0A> I've previously commented abo= ut the sawtooth pattern in ping times:=0D=0A> 64 bytes from 192.168.123.2= 31: icmp_seq=3D6 ttl=3D64 time=3D2.701 ms=0D=0A> 64 bytes from 192.168.12= 3.231: icmp_seq=3D7 ttl=3D64 time=3D1.465 ms=0D=0A> 64 bytes from 192.168= =2E123.231: icmp_seq=3D8 ttl=3D64 time=3D10.589 ms=0D=0A> 64 bytes from 1= 92.168.123.231: icmp_seq=3D9 ttl=3D64 time=3D9.688 ms=0D=0A> 64 bytes fro= m 192.168.123.231: icmp_seq=3D10 ttl=3D64 time=3D8.673 ms=0D=0A> 64 bytes= from 192.168.123.231: icmp_seq=3D11 ttl=3D64 time=3D7.330 ms=0D=0A> 64 b= ytes from 192.168.123.231: icmp_seq=3D12 ttl=3D64 time=3D6.857 ms=0D=0A> = 64 bytes from 192.168.123.231: icmp_seq=3D13 ttl=3D64 time=3D5.946 ms=0D=0A= > 64 bytes from 192.168.123.231: icmp_seq=3D14 ttl=3D64 time=3D3.955 ms=0D= =0A> 64 bytes from 192.168.123.231: icmp_seq=3D15 ttl=3D64 time=3D2.079 m= s=0D=0A> 64 bytes from 192.168.123.231: icmp_seq=3D16 ttl=3D64 time=3D1.0= 72 ms=0D=0A>=20=0D=0A> Whereas pinging a Linux RPi gives:=0D=0A> round-tr= ip min/avg/max/stddev =3D 0.276/0.373/0.455/0.049 ms=0D=0A>=20=0D=0A> yon= gari@ gave me same patches for the SMSC NIC but they didn't have=0D=0A> a= ny noticable effect.=0D=0A>=20=0D=0A> And the network throughput is also = well below what Linux can achieve.=0D=0A>=20=0D=0A> If I connect an exter= nal USB disk to a Linux RPi, I get 20.6 MBps=0D=0A> read. The same disk = on FreeBSD RPi gives 6.3 MBps - with =CB=9C50%=0D=0A> interrupt time.=0D=0A= >=20=0D=0A> --=20=0D=0A> Peter Jeremy=0D=0A>=20=0D=0A=0D=0A From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 05:20:57 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 47C3E2FB for ; Mon, 8 Jul 2013 05:20:57 +0000 (UTC) (envelope-from beattidp@ieee.org) Received: from mail28c40.carrierzone.com (mail92c40.carrierzone.com [209.235.156.232]) by mx1.freebsd.org (Postfix) with ESMTP id 0AFD51886 for ; Mon, 8 Jul 2013 05:20:55 +0000 (UTC) X-Authenticated-User: douglas.hytherion.com Received: from [192.168.0.114] (75-169-17-71.slkc.qwest.net [75.169.17.71]) (authenticated bits=0) by mail28c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id r6856Qa5014826; Mon, 8 Jul 2013 05:06:28 +0000 From: Douglas Beattie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Sun, 7 Jul 2013 23:06:26 -0600 Subject: NFS root on BeagleBone Black To: freebsd-arm@freebsd.org Message-Id: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-CSC: 0 X-CHA: v=2.0 cv=G5ir5aY5 c=1 sm=1 a=QH74cCGCLv9v+F+JjM4yLg==:17 a=ONEJXaA8-E4A:10 a=kj9zAlcOel0A:10 a=o83nqyVRAAAA:8 a=39upzztlqLgA:10 a=zn2f7dn1AAAA:8 a=DlOy9Xx6AAAA:8 a=uhlOL7uRojv0FxRHpEcA:9 a=CjuIK1q_8ugA:10 a=A4rZ4fTmhmQHnvC-:21 a=uR7PaQ0dK_Pw1Q7p:21 a=QH74cCGCLv9v+F+JjM4yLg==:117 X-CTCH-RefID: str=0001.0A020209.51DA48D4.004C, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 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, 08 Jul 2013 05:20:57 -0000 Working with the BeagleBone Black, I'm hoping to achieve boot to NFS = root. Thinking I'm fairly far along, I'm stuck with an 'error 19' at the final = steps of booting the kernel. Here's a little background -- any hints would be = appreciated. On FreeBSD 9.1, I have a TFTP server, plus an NFS export on the same = folder; here are a few snippets from the console, which confirm this. [bsd03: /root/oss/crochet-freebsd]# tail -n2 /etc/inetd.conf=20 tftp dgram udp wait root /usr/libexec/tftpd tftpd -l = -s /opt/tftpboot tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -l = -s /opt/tftpboot [bsd03: /root/oss/crochet-freebsd]# cat /etc/exports /opt/tftpboot -maproot=3D0 -alldirs -network 192.168.0.0 -mask = 255.255.255.0 [bsd03: /root/oss/crochet-freebsd]# showmount -e Exports list on localhost: /opt/tftpboot 192.168.0.0=20 I have built (using the excellent crochet facility) and can boot FreeBSD = from the microSD card, and I have verified that I can NFS mount the exported = folder. Then, I created a custom kernel configuration, BEAGLEBONENFSROOT, with just a couple changes, as follows: options NFS_ROOT #NFS usable as /, requires NFSCL options = ROOTDEVNAME=3D\"nfs:192.168.0.198:/opt/tftpboot/beaglebone\" And, then I built the kernel from the command line, with DESTDIR into my = target folder for NFS root, doing all the make targets in turn; buildworld, = buildkernel, installkernel, installworld, distrib-dirs, distribution ... So, since I already have U-Boot available, starting from there, I booted = and entered a few commands as shown below, such that: U-Boot# setenv serverip 192.168.0.198 U-Boot# setenv bootfile beaglebone/boot/kernel/kernel U-Boot# dhcp U-Boot# bootelf And it does boot my kernel via TFTP, and make it all the way to the = point where it tries to mount the NFS root, but dies and drops to 'mountroot>' prompt (where I = try the same mount, but to no avail). For reference, here's the console output of the = results ... U-Boot SPL 2013.04 (Jul 04 2013 - 21:33:25) OMAP SD/MMC: 0 reading bb-uboot.img reading bb-uboot.img U-Boot 2013.04 (Jul 04 2013 - 21:33:25) I2C: ready DRAM: 512 MiB WARNING: Caches not enabled MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment musb-hdrc: ConfigData=3D0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, = SoftConn) musb-hdrc: MHDRC RTL version 2.0=20 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Peripheral mode controller at 47401000 using PIO, IRQ 0 musb-hdrc: ConfigData=3D0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, = SoftConn) musb-hdrc: MHDRC RTL version 2.0=20 musb-hdrc: setup fifo_mode 4 musb-hdrc: 28/31 max ep, 16384/16384 memory USB Host mode controller at 47401800 using PIO, IRQ 0 Net: not set. Validating first E-fuse MAC cpsw, usb_ether Hit any key to stop autoboot: 0 U-Boot# =20 U-Boot# setenv serverip 192.168.0.198 U-Boot# setenv bootfile beaglebone/boot/kernel/kernel U-Boot# dhcp link up on port 0, speed 100, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.0.123 Using cpsw device TFTP from server 192.168.0.198; our IP address is 192.168.0.123 Filename 'beaglebone/boot/kernel/kernel'. Load address: 0x88000000 Loading: = ################################################################# = ################################################################# = ################################################################# = ################################################################# = ################################################################# ######################## 824.2 KiB/s done Bytes transferred =3D 5119286 (4e1d36 hex) U-Boot# bootelf ## Starting application at 0xc0200100 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights = reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #1 r252709: Sun Jul 7 19:02:13 UTC 2013 = root@fbsd91-vm03.midnight-engineer.org:/usr/src/_head/obj/arm.armv6/usr/sr= c/_head/sys/BEAGLEBONENFSROOT arm FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. CPU: Cortex A8-r3 rev 2 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:2 LoUIS:1=20 Cache level 1:=20 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2:=20 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory =3D 268435456 (256 MB) avail memory =3D 252329984 (240 MB) Texas Instruments AM3358 Processor, Revision ES1.1 random device not loaded; using insecure entropy simplebus0: on fdtbus0 aintc0: mem 0x48200000-0x48200fff on = simplebus0 aintc0: Revision 5.0 ti_scm0: mem 0x44e10000-0x44e11fff on simplebus0 am335x_prcm0: mem = 0x44e00000-0x44e012ff on simplebus0 am335x_prcm0: Clocks: System 24.0 MHz, CPU 550 MHz am335x_dmtimer0: mem = 0x44e05000-0x44e05fff,0x44e31000-0x44e31fff,0x48040000-0x48040fff,0x480420= 00-0x48042fff,0x48044000-0x48044fff,0x48046000-0x48046fff,0x48048000-0x480= 48fff,0x4804a000-0x4804afff irq 66,67,68,69,92,93,94,95 on simplebus0 Timecounter "AM335x Timecounter" frequency 24000000 Hz quality 1000 Event timer "AM335x Eventtimer0" frequency 24000000 Hz quality 1000 gpio0: mem = 0x44e07000-0x44e07fff,0x4804c000-0x4804cfff,0x481ac000-0x481acfff,0x481ae0= 00-0x481aefff irq 96,97,98,99,32,33,62,63 on simplebus0 gpioc0: on gpio0 gpiobus0: on gpio0 uart0: <16750 or compatible> mem 0x44e09000-0x44e09fff irq 72 on = simplebus0 uart0: console (115384,n,8,1) ti_edma30: mem = 0x49000000-0x490fffff,0x49800000-0x498fffff,0x49900000-0x499fffff,0x49a000= 00-0x49afffff irq 12,13,14 on simplebus0 ti_edma30: EDMA revision 40014c00 ti_mmchs0: mem = 0x48060000-0x48060fff irq 64 on simplebus0 mmc0: on ti_mmchs0 cpsw0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a103fff irq = 40,41,42,43 on simplebus0 cpsw0: CPSW SS Version 1.12 (0) cpsw0: Initial queue size TX=3D128 RX=3D384 cpsw0: Ethernet address: c8:a0:30:c4:2c:6f miibus0: on cpsw0 smscphy0: PHY 0 on miibus0 smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto iichb0: mem 0x44e0b000-0x44e0bfff irq 70 on = simplebus0 iichb0: I2C revision 4.0 iicbus0: on iichb0 iic0: on iicbus0 am335x_pmic0: at addr 0x24 on iicbus0 am335x_pwm0: mem = 0x48300000-0x483000ff,0x48300100-0x4830017f,0x48300180-0x483001ff,0x483002= 00-0x4830025f irq 86,58 on simplebus0 Timecounters tick every 10.000 msec ti_mmchs_update_ios: TWL unimplemented mmcsd0: 4GB at mmc0 = 25.0MHz/4bit/1-block am335x_pmic0: Unknown PMIC powered by AC WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from nfs:192.168.0.198:/opt/tftpboot/beaglebone = []... mountroot: waiting for device 192.168.0.198:/opt/tftpboot/beaglebone ... Mounting from nfs:192.168.0.198:/opt/tftpboot/beaglebone failed with = error 19. Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> nfs:192.168.0.198:/opt/tftpboot/beaglebone Trying to mount root from nfs:192.168.0.198:/opt/tftpboot/beaglebone = []... mountroot: waiting for device 192.168.0.198:/opt/tftpboot/beaglebone ... Mounting from nfs:192.168.0.198:/opt/tftpboot/beaglebone failed with = error 19. That's it -- I'm excited that it made it this far, but not sure what = that 'error 19' means, or if there's a simple fix or workaround. I've done builds and = boot into NFS root for Android (at a past employer) but haven't yet achieved it on = FreeBSD. -- Douglas Beattie http://www.hytherion.com/beattidp/ From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 05:43:48 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF743529 for ; Mon, 8 Jul 2013 05:43:48 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id AA093191E for ; Mon, 8 Jul 2013 05:43:48 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r685hgGq003081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Jul 2013 22:43:42 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r685hgJ1003080; Sun, 7 Jul 2013 22:43:42 -0700 (PDT) (envelope-from jmg) Date: Sun, 7 Jul 2013 22:43:42 -0700 From: John-Mark Gurney To: Douglas Beattie Subject: Re: NFS root on BeagleBone Black Message-ID: <20130708054342.GB26412@funkthat.com> Mail-Followup-To: Douglas Beattie , freebsd-arm@freebsd.org References: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sun, 07 Jul 2013 22:43:42 -0700 (PDT) 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, 08 Jul 2013 05:43:48 -0000 Douglas Beattie wrote this message on Sun, Jul 07, 2013 at 23:06 -0600: > Working with the BeagleBone Black, I'm hoping to achieve boot to NFS root. > Thinking I'm fairly far along, I'm stuck with an 'error 19' at the final steps of > booting the kernel. Here's a little background -- any hints would be appreciated. > > On FreeBSD 9.1, I have a TFTP server, plus an NFS export on the same folder; > here are a few snippets from the console, which confirm this. > > [bsd03: /root/oss/crochet-freebsd]# tail -n2 /etc/inetd.conf > tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /opt/tftpboot > tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -l -s /opt/tftpboot > [bsd03: /root/oss/crochet-freebsd]# cat /etc/exports > /opt/tftpboot -maproot=0 -alldirs -network 192.168.0.0 -mask 255.255.255.0 > [bsd03: /root/oss/crochet-freebsd]# showmount -e > Exports list on localhost: > /opt/tftpboot 192.168.0.0 > > I have built (using the excellent crochet facility) and can boot FreeBSD from > the microSD card, and I have verified that I can NFS mount the exported folder. > > Then, I created a custom kernel configuration, BEAGLEBONENFSROOT, with > just a couple changes, as follows: > > options NFS_ROOT #NFS usable as /, requires NFSCL > options ROOTDEVNAME=\"nfs:192.168.0.198:/opt/tftpboot/beaglebone\" Do you have: options BOOTP in your kernel to give the interface an ip address? I don't see anything in your dmesg about the kernel trying to get an ip address before it tries to nfs mount root. There isn't any communication from U-Boot to the kernel on what the ip address is suppose to be... The kernel needs to rediscover it itself. Hope this helps. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 05:43:50 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 526A552A for ; Mon, 8 Jul 2013 05:43:50 +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 E9942191F for ; Mon, 8 Jul 2013 05:43:49 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.65]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1Uw4EV-0004aY-1y; Sun, 07 Jul 2013 22:43:36 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: NFS root on BeagleBone Black From: Oleksandr Tymoshenko In-Reply-To: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> Date: Sun, 7 Jul 2013 22:43:12 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> To: Douglas Beattie X-Mailer: Apple Mail (2.1503) 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 2013-07-07, at 10:06 PM, Douglas Beattie wrote: > Working with the BeagleBone Black, I'm hoping to achieve boot to NFS root. > Thinking I'm fairly far along, I'm stuck with an 'error 19' at the final steps of > booting the kernel. Here's a little background -- any hints would be appreciated. > > On FreeBSD 9.1, I have a TFTP server, plus an NFS export on the same folder; > here are a few snippets from the console, which confirm this. > > [bsd03: /root/oss/crochet-freebsd]# tail -n2 /etc/inetd.conf > tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /opt/tftpboot > tftp dgram udp6 wait root /usr/libexec/tftpd tftpd -l -s /opt/tftpboot > [bsd03: /root/oss/crochet-freebsd]# cat /etc/exports > /opt/tftpboot -maproot=0 -alldirs -network 192.168.0.0 -mask 255.255.255.0 > [bsd03: /root/oss/crochet-freebsd]# showmount -e > Exports list on localhost: > /opt/tftpboot 192.168.0.0 > > I have built (using the excellent crochet facility) and can boot FreeBSD from > the microSD card, and I have verified that I can NFS mount the exported folder. > > Then, I created a custom kernel configuration, BEAGLEBONENFSROOT, with > just a couple changes, as follows: > > options NFS_ROOT #NFS usable as /, requires NFSCL > options ROOTDEVNAME=\"nfs:192.168.0.198:/opt/tftpboot/beaglebone\" > > And, then I built the kernel from the command line, with DESTDIR into my target > folder for NFS root, doing all the make targets in turn; buildworld, buildkernel, > installkernel, installworld, distrib-dirs, distribution ... [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ieee.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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, 08 Jul 2013 05:43:50 -0000 On 2013-07-07, at 10:06 PM, Douglas Beattie wrote: > Working with the BeagleBone Black, I'm hoping to achieve boot to NFS = root. > Thinking I'm fairly far along, I'm stuck with an 'error 19' at the = final steps of > booting the kernel. Here's a little background -- any hints would be = appreciated. >=20 > On FreeBSD 9.1, I have a TFTP server, plus an NFS export on the same = folder; > here are a few snippets from the console, which confirm this. >=20 > [bsd03: /root/oss/crochet-freebsd]# tail -n2 /etc/inetd.conf=20 > tftp dgram udp wait root /usr/libexec/tftpd tftpd = -l -s /opt/tftpboot > tftp dgram udp6 wait root /usr/libexec/tftpd tftpd = -l -s /opt/tftpboot > [bsd03: /root/oss/crochet-freebsd]# cat /etc/exports > /opt/tftpboot -maproot=3D0 -alldirs -network 192.168.0.0 -mask = 255.255.255.0 > [bsd03: /root/oss/crochet-freebsd]# showmount -e > Exports list on localhost: > /opt/tftpboot 192.168.0.0=20 >=20 > I have built (using the excellent crochet facility) and can boot = FreeBSD from > the microSD card, and I have verified that I can NFS mount the = exported folder. >=20 > Then, I created a custom kernel configuration, BEAGLEBONENFSROOT, with > just a couple changes, as follows: >=20 > options NFS_ROOT #NFS usable as /, requires = NFSCL > options = ROOTDEVNAME=3D\"nfs:192.168.0.198:/opt/tftpboot/beaglebone\" >=20 > And, then I built the kernel from the command line, with DESTDIR into = my target > folder for NFS root, doing all the make targets in turn; buildworld, = buildkernel, > installkernel, installworld, distrib-dirs, distribution ... I'm not 100% sure but it might be NFS version mismatch. AFAIR we have now both NFSv3 and NFSv4 in kernel. NFSv3 prefix is oldnfs, NFSv4 prefix = is nfs (or is it newnfs too?). NFSv3 is enabled by NFSCLIENT. Make sure you = server NFS and client NFS versions are synced.=20 From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 05:49:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 45B925FA for ; Mon, 8 Jul 2013 05:49:30 +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 EF11E1959 for ; Mon, 8 Jul 2013 05:49:29 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.65]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1Uw4KE-0004dg-RU; Sun, 07 Jul 2013 22:49:28 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: NFS root on BeagleBone Black From: Oleksandr Tymoshenko In-Reply-To: Date: Sun, 7 Jul 2013 22:49:08 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7E3BAAE7-45FD-428F-9AAA-5C2E2E51D6DA@bluezbox.com> References: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> To: Douglas Beattie X-Mailer: Apple Mail (2.1503) 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 2013-07-07, at 10:43 PM, Oleksandr Tymoshenko wrote: > > On 2013-07-07, at 10:06 PM, Douglas Beattie wrote: > .. skipped... > I'm not 100% sure but it might be NFS version mismatch. AFAIR we have > now both NFSv3 and NFSv4 in kernel. NFSv3 prefix is oldnfs, NFSv4 prefix is nfs > (or is it newnfs too?). NFSv3 is enabled by NFSCLIENT. Make sure you server NFS > and client NFS versions are synced. [...] 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] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bluezbox.com] 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, 08 Jul 2013 05:49:30 -0000 On 2013-07-07, at 10:43 PM, Oleksandr Tymoshenko = wrote: >=20 > On 2013-07-07, at 10:06 PM, Douglas Beattie wrote: >=20 .. skipped... > I'm not 100% sure but it might be NFS version mismatch. AFAIR we have > now both NFSv3 and NFSv4 in kernel. NFSv3 prefix is oldnfs, NFSv4 = prefix is nfs > (or is it newnfs too?). NFSv3 is enabled by NFSCLIENT. Make sure you = server NFS > and client NFS versions are synced.=20 FWIW here is my kernel config for NFS root (my NFS server is -CURRENT): # NFS support options NFSCL options NFSLOCKD # Uncomment this for NFS root options NFS_ROOT #NFS usable as /, requires NFSCL options BOOTP_NFSROOT options BOOTP_COMPAT options BOOTP options BOOTP_NFSV3 options BOOTP_WIRED_TO=3Dcpsw0= From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 06:01:38 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 12553A23 for ; Mon, 8 Jul 2013 06:01:38 +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 B7DD519C8 for ; Mon, 8 Jul 2013 06:01:37 +0000 (UTC) Received: from [207.6.254.8] (helo=[192.168.1.65]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1Uw4Vy-0004kY-Ad; Sun, 07 Jul 2013 23:01:36 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Most recent R-PI kernel refuses to build From: Oleksandr Tymoshenko In-Reply-To: <20130707005133.3854da72@ivory.wynn.com> Date: Sun, 7 Jul 2013 23:01:16 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <6FB70295-2099-49DC-9546-376079A3B9D8@bluezbox.com> References: <20130704150959.76adeedf@ivory.wynn.com> <20130704233621.08d61bfe@ivory.wynn.com> <20130706000926.1a545c66@ivory.wynn.com> <20130706234241.7457dd23@ivory.wynn.com> <7F2CA1D0-9CA5-49DF-BE1B-AFC87C0A7219@bluezbox.com> <20130707005133.3854da72@ivory.wynn.com> To: Brett Wynkoop X-Mailer: Apple Mail (2.1503) 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 2013-07-06, at 9:51 PM, Brett Wynkoop wrote: > On Sat, 6 Jul 2013 21:11:34 -0700 > Oleksandr Tymoshenko wrote: > >> >> On 2013-07-06, at 8:42 PM, Brett Wynkoop wrote: >> ideas? >> >> What's the amount of memory on build machine? >> > > Greeting- > > It is a 512MB Pi with 512Mb swap and it is using less than 6M of swap. > I have built world on the box in the past, but not since March or April. [...] 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] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: bluezbox.com] Cc: FreeBSD ARM List 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, 08 Jul 2013 06:01:38 -0000 On 2013-07-06, at 9:51 PM, Brett Wynkoop wrote: > On Sat, 6 Jul 2013 21:11:34 -0700 > Oleksandr Tymoshenko wrote: >=20 >>=20 >> On 2013-07-06, at 8:42 PM, Brett Wynkoop = wrote: >> ideas? >>=20 >> What's the amount of memory on build machine? >>=20 >=20 > Greeting- >=20 > It is a 512MB Pi with 512Mb swap and it is using less than 6M of swap. > I have built world on the box in the past, but not since March or = April. Hi, How old is kernel/world running on your Raspberry Pi? Are they circa = March/April=20 too? If so I suggest getting more up to date version either by = cross-compiling=20 and making new image or by fetching one of pre-built images. I believe=20= some people produce them on regular basis. For instance: http://www.db.net/downloads/ From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 11:41:08 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 081EF53F for ; Mon, 8 Jul 2013 11:41:08 +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 D51851480 for ; Mon, 8 Jul 2013 11:41:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r68BeXfa053981 for ; Mon, 8 Jul 2013 11:41:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r68B6Xw0046071 for freebsd-arm@FreeBSD.org; Mon, 8 Jul 2013 11:06:33 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Jul 2013 11:06:33 GMT Message-Id: <201307081106.r68B6Xw0046071@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, 08 Jul 2013 11:41:08 -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/180080 arm Unmapped buffers on ARMv7 big-RAM boards o arm/179688 arm [patch] [rpi] serial console eats some characters at m o arm/179561 arm Compilation issue for lighttpd on raspberry pi o arm/179532 arm wireless networking on ARM o arm/178495 arm buildworld fail on arm/raspberry pi o arm/177687 arm gdb gets installed but does not know the EABI version o arm/177686 arm assertion failed in ld-elf.so.1 when invoking telnet w o arm/177685 arm [kernel] [patch] Correct return type and usage of at91 o arm/177538 arm tunefs(8) and mount(8) can not access a newfs(8)'d fil o arm/176424 arm Compiler warning, TARGET_ARCH=armv6, make MALLOC_PRODU o arm/175803 arm building xdev for arm failing o arm/175605 arm please fix build binutils-2.23.1 in raspberry pi 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/134368 arm [new driver] [patch] nslu2_led driver for the LEDs on p arm/134338 arm [patch] Lock GPIO accesses on ixp425 27 problems total. From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 12:09:15 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 41F6C244 for ; Mon, 8 Jul 2013 12:09:15 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by mx1.freebsd.org (Postfix) with ESMTP id D226E1C67 for ; Mon, 8 Jul 2013 12:09:14 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id t56so3528948wes.7 for ; Mon, 08 Jul 2013 05:09:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=a+zDffftJsqi7JI4ptez/Q8Aqv+RF23PKV1pEbNZlm4=; b=HeYGsWnh9DKH74RLp4o8gqe1fppnJIp2ozWmHY1HRv9GUONcupNmLk9LolChduXul+ lePd49m6VjmETO2+aP64kOY6cqiyjskogiyHxvmx+/c7mh2tMNDvFHTI5hK7Lq2gVaSn wEPz2utODE5u8XzhYDyG7nJFZdhO+BdsN7S33O4CGUYTXGH6DkTMjJv47p7viy01WlWC 6Lt9AX9h8AsiGet9kdeYtEsnAV+T7/J4irOv3PcJ3OLA1wPZmGoro0DEwRYYttKD6Cql Vyw/rcDd+ebbcCAzDb4D8ajls93g+3KWSo1RtFgG9/gHLkKp5mDiBqiZWPACYsckR/Pe gy/A== X-Received: by 10.180.99.67 with SMTP id eo3mr11332947wib.35.1373285346813; Mon, 08 Jul 2013 05:09:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Mon, 8 Jul 2013 05:08:26 -0700 (PDT) X-Originating-IP: [124.90.189.225] From: XiaoQI Ge Date: Mon, 8 Jul 2013 20:08:26 +0800 Message-ID: Subject: I want to buy a wireless card To: freebsd-arm@freebsd.org, freebsd-wireless@freebsd.org X-Gm-Message-State: ALoCoQk9ISz4GMJREbe6h3/F1rUq+sygF/dc78baAuH8kTK7AWf4inivrYr/DZs3bkheTv9NGbmJ Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 08 Jul 2013 12:09:15 -0000 I want to buy a wireless card, users CubieBoard (ARM) Internet connection I want to buy a wireless card, but if_rum seems only say that they support WN321G, do not know or not to support [WN321G +] The wireless network card, http://www.tp-link.com.cn/product_28.html === Or is there a cheaper USB wireless network adapter recommend it? Thank you === Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ Gtalk/E-Mail :ghw@7axu.com From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 15:01:59 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2D0265E0 for ; Mon, 8 Jul 2013 15:01:59 +0000 (UTC) (envelope-from freebsd-arm@wynn.com) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id DC0421785 for ; Mon, 8 Jul 2013 15:01:58 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id r68F1mVJ048810; Mon, 8 Jul 2013 11:01:48 -0400 (EDT) (envelope-from freebsd-arm@wynn.com) Date: Mon, 8 Jul 2013 11:01:47 -0400 From: Brett Wynkoop To: Oleksandr Tymoshenko Subject: Re: Most recent R-PI kernel refuses to build Message-ID: <20130708110147.1a6efb34@ivory.wynn.com> In-Reply-To: <6FB70295-2099-49DC-9546-376079A3B9D8@bluezbox.com> References: <20130704150959.76adeedf@ivory.wynn.com> <20130704233621.08d61bfe@ivory.wynn.com> <20130706000926.1a545c66@ivory.wynn.com> <20130706234241.7457dd23@ivory.wynn.com> <7F2CA1D0-9CA5-49DF-BE1B-AFC87C0A7219@bluezbox.com> <20130707005133.3854da72@ivory.wynn.com> <6FB70295-2099-49DC-9546-376079A3B9D8@bluezbox.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.19; x86_64-apple-darwin10.8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD ARM List 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, 08 Jul 2013 15:01:59 -0000 Greeting- Yep the running world and kernel on the Pi is from the March-April time frame. Ok guess it is time to start a cross compile. Good thing I just got a new 9.1 x86 box on line. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 "If ever a time should come, when vain and aspiring men shall possess the highest seats in Government, our country will stand in need of its experienced patriots to prevent its ruin." -- Samuel Adams, letter to James Warren (24 October 1780) From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 16:00:48 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 050FB74F for ; Mon, 8 Jul 2013 16:00:48 +0000 (UTC) (envelope-from wynkoop@wynn.com) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id A49531A13 for ; Mon, 8 Jul 2013 16:00:47 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id r68G0kiR049364 for ; Mon, 8 Jul 2013 12:00:46 -0400 (EDT) (envelope-from wynkoop@wynn.com) Date: Mon, 8 Jul 2013 12:00:46 -0400 From: Brett Wynkoop To: freebsd-arm@freebsd.org Subject: crochet question Message-ID: <20130708120046.4ad7cb3d@ivory.wynn.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.19; 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, 08 Jul 2013 16:00:48 -0000 Greeting- Since my Pi is refusing to build world at this point I was about to take Gonzo's suggestion to start over from scratch. I went to grab Tim's latest script to find it is now called crochet and at a different location. Looking at the crochet readme on the web page it seems that a swap partation is no longer created. Is this correct? I actually prefer swapping to a raw partation over swapping to files. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 17:57:32 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 218766A0 for ; Mon, 8 Jul 2013 17:57:32 +0000 (UTC) (envelope-from sjk4015@gmail.com) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id F1F7F1F12 for ; Mon, 8 Jul 2013 17:57:31 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id mc8so4555224pbc.4 for ; Mon, 08 Jul 2013 10:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Rk/PZD54OcQe02TH5DI0lHMe8PJ4tcDCjFFzvofOVaw=; b=Lr3bqpeUpTQrNa27l4jitxx7bcU/6/7Nna/hgMUZuj+kUkNCzzLALiNHr1C25E3ksz 3lZUtWS0oj7GjDUjGDvTH5tka1x3TlzemRuC64ZHHkzZPljXw3N36Lh6vTklO6kLZEI7 n39JH6TlLWbIstDRnkskTUpbZlo5epNLXH4LbcW/QrVchESieKQzRsOmjEUc7n9KhwTu CAoEAg8BfLm9xikCEhJp29XKitRB+AC9FNz+UMKl4c1wO6sZmhgLsVJGemRvSl3fAknQ NrKVtkVzwRs+215mXSrjUkmUngUejFzXffdyhBtHWfdpJvH2HhsGJYH5nyxqCA16+vxO lY7g== MIME-Version: 1.0 X-Received: by 10.66.183.196 with SMTP id eo4mr23840763pac.156.1373306251827; Mon, 08 Jul 2013 10:57:31 -0700 (PDT) Sender: sjk4015@gmail.com Received: by 10.68.92.165 with HTTP; Mon, 8 Jul 2013 10:57:31 -0700 (PDT) In-Reply-To: <20130708120046.4ad7cb3d@ivory.wynn.com> References: <20130708120046.4ad7cb3d@ivory.wynn.com> Date: Mon, 8 Jul 2013 13:57:31 -0400 X-Google-Sender-Auth: v7w59aCGIr1Y2hNGp8Ii6mDxcKE Message-ID: Subject: Re: crochet question From: Steven Kreuzer To: Brett Wynkoop Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 08 Jul 2013 17:57:32 -0000 On Mon, Jul 8, 2013 at 12:00 PM, Brett Wynkoop wrote: > Looking at the crochet readme on the web page it seems that a swap > partation is no longer created. Is this correct? I actually prefer > swapping to a raw partation over swapping to files. Creating the swap partition is an option you define in the config file you pass to crochet.sh Add something like 'option SwapFile 256mb' to your config.sh From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 18:21:16 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 40589279 for ; Mon, 8 Jul 2013 18:21:16 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-qc0-f173.google.com (mail-qc0-f173.google.com [209.85.216.173]) by mx1.freebsd.org (Postfix) with ESMTP id 063E1109E for ; Mon, 8 Jul 2013 18:21:15 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id l10so2452681qcy.32 for ; Mon, 08 Jul 2013 11:21:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=MqmS99hPNdUgAS8QuzCexijFNHtmVhk9HtvEDPOG7TI=; b=SdXm6PRvVy33ppwE6YZ++qBHp4pt6yqzcf2SWgXlKb1F50bOARwCKm2/cshoDQXIBk Q8hdffTeKt0U2q9yTsjfCEgjQrNoK5jpeCz9u7NrCZFMWVxvzIq6s1YlYfPoI8SygKsS zRypyOLdg8Lz6aAZsNPZgDj88sCSCySwCDFBwmC3P4vYP+S1A7JfmvSWxxo498vKydFA dT0z8liypQtzH6hxStf65lKXATe030nZFSEwzrj3zdOKDD/8Gd+wTEvJoxIuUoUDyfc3 H0PnZOC9ExO1D2kMFERIne6RIm6srjHuHFCVaIROwHWUCtrboYgCuAvzxd20Y+7C6l54 BGTQ== MIME-Version: 1.0 X-Received: by 10.224.60.133 with SMTP id p5mr19471995qah.101.1373307669478; Mon, 08 Jul 2013 11:21:09 -0700 (PDT) Received: by 10.49.84.168 with HTTP; Mon, 8 Jul 2013 11:21:09 -0700 (PDT) In-Reply-To: <20130706013348.GP39302@server.rulingia.com> References: <20130706013348.GP39302@server.rulingia.com> Date: Tue, 9 Jul 2013 02:21:09 +0800 Message-ID: Subject: Re: buildworld failure on arm/armv6 using gcc From: Alie Tan To: Peter Jeremy X-Gm-Message-State: ALoCoQnCLKfl5920CXdokGqu6Ev8uqMpacbGBFnq5CCmjTcHG7rWMMOAxwMrgboihSiu+h2sZeKK Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 08 Jul 2013 18:21:16 -0000 On Sat, Jul 6, 2013 at 9:33 AM, Peter Jeremy wrote: > I'm getting the following error trying to build either r252698 > (natively) or r252781 (cross) for my RPi with gcc (ie > WITHOUT_CLANG=yes). > > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__cmpxchg': > named_atomic.c:(.text+0xf0): undefined reference to > `__sync_val_compare_and_swap_8' > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__add': > named_atomic.c:(.text+0x174): undefined reference to > `__sync_add_and_fetch_8' > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libsvn_subr/libsvn_subr.a(named_atomic.o): > In function `svn_named_atomic__write': > named_atomic.c:(.text+0x1c0): undefined reference to > `__sync_lock_test_and_set_8' > /usr/obj/usr/src/usr.bin/svn/svn/../lib/libapr/libapr.a(builtins.o): In > function `apr_atomic_dec32': > builtins.c:(.text+0x90): undefined reference to `__sync_sub_and_fetch_4' > *** Error code 1 > > Tinberbox build are succeeding but I gather they are using clang. > I've looked back through the archives and there were similar build > issues on both ARM & MIPS in mid April and MIPS in mid June but I > can't find what the fix was. > I am getting this issue today. Are you able to solve the issue? > > -- > Peter Jeremy > From owner-freebsd-arm@FreeBSD.ORG Mon Jul 8 18:36:16 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D1DB977E for ; Mon, 8 Jul 2013 18:36:16 +0000 (UTC) (envelope-from beattidp@ieee.org) Received: from mail22c40.carrierzone.com (mail91c40.carrierzone.com [209.235.156.231]) by mx1.freebsd.org (Postfix) with ESMTP id 677FE117E for ; Mon, 8 Jul 2013 18:36:15 +0000 (UTC) X-Authenticated-User: douglas.hytherion.com Received: from [192.168.0.114] (75-169-17-71.slkc.qwest.net [75.169.17.71]) (authenticated bits=0) by mail22c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id r68HbLpO027792; Mon, 8 Jul 2013 17:37:23 +0000 Subject: Re: NFS root on BeagleBone Black Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Douglas Beattie In-Reply-To: <20130708054342.GB26412@funkthat.com> Date: Mon, 8 Jul 2013 11:37:21 -0600 Content-Transfer-Encoding: 7bit Message-Id: References: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> <20130708054342.GB26412@funkthat.com> To: John-Mark Gurney , Oleksandr Tymoshenko X-Mailer: Apple Mail (2.1283) X-CSC: 0 X-CHA: v=2.0 cv=RPEE6fe+ c=1 sm=1 a=QH74cCGCLv9v+F+JjM4yLg==:17 a=MBMVG3oL1wwA:10 a=ONEJXaA8-E4A:10 a=kj9zAlcOel0A:10 a=o83nqyVRAAAA:8 a=BylB1hYzb_8A:10 a=IqgaevIMAAAA:8 a=DlOy9Xx6AAAA:8 a=8MOz2NTTJ9rmotZEvHcA:9 a=CjuIK1q_8ugA:10 a=uEJnEaZt4sIA:10 a=M2ilE35d0hjmwE8p:21 a=uzwGtA6W7_nA3-Lw:21 a=QH74cCGCLv9v+F+JjM4yLg==:117 X-CTCH-RefID: str=0001.0A020201.51DAF8D4.0136, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 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, 08 Jul 2013 18:36:16 -0000 On Jul 7, 2013, at 11:43 PM, John-Mark Gurney wrote: > Douglas Beattie wrote this message on Sun, Jul 07, 2013 at 23:06 -0600: >> >> options NFS_ROOT #NFS usable as /, requires NFSCL >> options ROOTDEVNAME=\"nfs:192.168.0.198:/opt/tftpboot/beaglebone\" > > Do you have: > options BOOTP > > in your kernel to give the interface an ip address? I don't see > anything in your dmesg about the kernel trying to get an ip address > before it tries to nfs mount root. > > There isn't any communication from U-Boot to the kernel on what the ip > address is suppose to be... The kernel needs to rediscover it itself. I tried enabling 'BOOTP' and related options at first, but reverted to only 'NFS_ROOT', since I don't have a BOOTP service. On 2013-07-07, at 10:43 PM, Oleksandr Tymoshenko wrote: > > FWIW here is my kernel config for NFS root (my NFS server is -CURRENT): > # NFS support > options NFSCL > options NFSLOCKD > > # Uncomment this for NFS root > options NFS_ROOT #NFS usable as /, requires NFSCL > options BOOTP_NFSROOT > options BOOTP_COMPAT > options BOOTP > options BOOTP_NFSV3 > options BOOTP_WIRED_TO=cpsw0 > Exactly as I had it in the first place, but it got stuck endlessly like this: ... bootpc_init: wired to interface 'cpsw0' Sending DHCP Discover packet from interface cpsw0 (c8:a0:30:c4:2c:6f) cpsw0: link state changed to DOWN cpsw0: link state changed to UP DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 DHCP/BOOTP timeout for server 255.255.255.255 Perhaps I can tell it explicitly where the DHCP server is located? (of course it's the gateway, 192.168.0.1). - - - - - - - - - Thank you for the suggestions so far. Incidentally, I purchased a BeagleBone Black in hopes of working with and watching FreeBSD stabilize on it, and then using it for the main DHCP server on my home LAN, possibly also with BIND for LAN-local machine lookups. -- Douglas Beattie http://www.hytherion.com/beattidp/ From owner-freebsd-arm@FreeBSD.ORG Tue Jul 9 01:59:00 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 62E5755F; Tue, 9 Jul 2013 01:59:00 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 304131C94; Tue, 9 Jul 2013 01:59:00 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id ar20so11360867iec.21 for ; Mon, 08 Jul 2013 18:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CQAVWmJWuEgqXyU0G4k6Lhk7giKNHbrzFTirE8ZkJm0=; b=tzyV/CP9TiewaVVchGbKAqGKBVFo0JqveS4J4Ja71w87RzaBaZ4Gc3qanIY3jbzNsh rY7KMW1D2M92lMeWCVepOxblz8hoCGxEhvO49yyGvx8mZQjsAWZHtvPelGVl5yGOxsrw eNnuaSuUb211IHsythe+otx6fb9CUdSXJu1Uac2srDou1cxENw4POLA/vMaUqK3jX2R5 JbCWVqOSsm2SljFhwlkgjCJByzQIvcBDCR7dF4tYaHL2spWOQ9duelDz31lJQNemWtIo 0afT1Uw0u2bv2TdQzvFTeLedPAhwaliMMiBvV4yhFkdlXyCio2Bm1RzuFvP1vPK8VP9Y exnQ== MIME-Version: 1.0 X-Received: by 10.50.107.2 with SMTP id gy2mr33085791igb.5.1373335139784; Mon, 08 Jul 2013 18:58:59 -0700 (PDT) Received: by 10.64.235.239 with HTTP; Mon, 8 Jul 2013 18:58:59 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Jul 2013 09:58:59 +0800 Message-ID: Subject: Re: I want to buy a wireless card From: Ganbold Tsagaankhuu To: XiaoQI Ge Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" , freebsd-wireless@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: Tue, 09 Jul 2013 01:59:00 -0000 On Mon, Jul 8, 2013 at 8:08 PM, XiaoQI Ge wrote: > I want to buy a wireless card, users CubieBoard (ARM) Internet connection > > I want to buy a wireless card, but if_rum seems only say that they support > WN321G, do not know or not to support [WN321G +] The wireless network card, > http://www.tp-link.com.cn/product_28.html > > === > Or is there a cheaper USB wireless network adapter recommend it? > I have Ralink based usb wifi (WLI-UC-GNM) like http://detail.tmall.com/item.htm?spm=a220m.1000858.1000725.15.3wfRJm&id=9672376 635&user_id=667433668&is_b=1&cat_id=2&q=buffalo+usb&rn=827b20043c8cb505bf428bbc 70d5a4c8 if_run in head should support it if I'm not mistaken and good thing is it supports AP mode. But I didn't test it yet on Cubieboard. Ganbold > > Thank you > === > Regards. > By: XiaoQI Ge; PGP:8B09D5F7 > WWW: https://www.7axu.com/ > Gtalk/E-Mail :ghw@7axu.com > _______________________________________________ > 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 Tue Jul 9 08:20:58 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 58E97316 for ; Tue, 9 Jul 2013 08:20:58 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) by mx1.freebsd.org (Postfix) with ESMTP id 19AC51F9A for ; Tue, 9 Jul 2013 08:20:57 +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 1UwSv4-00007J-Hh; Tue, 09 Jul 2013 10:05:08 +0200 Received: from [81.21.138.17] (helo=ronaldradial.versatec.local) by smtp.greenhost.nl with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UwSv4-0004XS-Qm; Tue, 09 Jul 2013 10:05:06 +0200 Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: "John-Mark Gurney" , "Oleksandr Tymoshenko" , "Douglas Beattie" Subject: Re: NFS root on BeagleBone Black References: <0D94186F-F592-44C4-9F76-9E4B4B487468@ieee.org> <20130708054342.GB26412@funkthat.com> Date: Tue, 09 Jul 2013 10:05:04 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.16 (Win32) X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: - X-Spam-Score: -1.9 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.1 X-Scan-Signature: 5a1627636b35b65657045ef62631cd80 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: Tue, 09 Jul 2013 08:20:58 -0000 On Mon, 08 Jul 2013 19:37:21 +0200, Douglas Beattie wrote: > On Jul 7, 2013, at 11:43 PM, John-Mark Gurney wrote: > >> Douglas Beattie wrote this message on Sun, Jul 07, 2013 at 23:06 -0600: >>> >>> options NFS_ROOT #NFS usable as /, requires >>> NFSCL >>> options >>> ROOTDEVNAME=\"nfs:192.168.0.198:/opt/tftpboot/beaglebone\" >> >> Do you have: >> options BOOTP >> >> in your kernel to give the interface an ip address? I don't see >> anything in your dmesg about the kernel trying to get an ip address >> before it tries to nfs mount root. >> >> There isn't any communication from U-Boot to the kernel on what the ip >> address is suppose to be... The kernel needs to rediscover it itself. > > > > I tried enabling 'BOOTP' and related options at first, but reverted to > only 'NFS_ROOT', since I don't have a BOOTP service. Isn't BOOTP about the same protocol as DHCP? Oh no, wait. http://en.wikipedia.org/wiki/Bootstrap_Protocol 'Most DHCP servers also function as BOOTP servers.' Maybe you can just hardcode its IP. Ronald. From owner-freebsd-arm@FreeBSD.ORG Tue Jul 9 13:24:38 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DE2C282F; Tue, 9 Jul 2013 13:24:38 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id B42FA1FB8; Tue, 9 Jul 2013 13:24:38 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r69DObpg025341; Tue, 9 Jul 2013 09:24:37 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r69DOb6Z025339; Tue, 9 Jul 2013 13:24:37 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 9 Jul 2013 13:24:37 GMT Message-Id: <201307091324.r69DOb6Z025339@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jul 2013 13:24:38 -0000 TB --- 2013-07-09 10:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-09 10:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-09 10:10:19 - starting HEAD tinderbox run for arm/arm TB --- 2013-07-09 10:10:19 - cleaning the object tree TB --- 2013-07-09 10:10:19 - /usr/local/bin/svn stat /src TB --- 2013-07-09 10:10:24 - At svn revision 253088 TB --- 2013-07-09 10:10:25 - building world TB --- 2013-07-09 10:10:25 - CROSS_BUILD_TESTING=YES TB --- 2013-07-09 10:10:25 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-09 10:10:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-09 10:10:25 - SRCCONF=/dev/null TB --- 2013-07-09 10:10:25 - TARGET=arm TB --- 2013-07-09 10:10:25 - TARGET_ARCH=arm TB --- 2013-07-09 10:10:25 - TZ=UTC TB --- 2013-07-09 10:10:25 - __MAKE_CONF=/dev/null TB --- 2013-07-09 10:10:25 - cd /src TB --- 2013-07-09 10:10:25 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Tue Jul 9 10:10:33 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Jul 9 13:11:49 UTC 2013 TB --- 2013-07-09 13:11:49 - generating LINT kernel config TB --- 2013-07-09 13:11:49 - cd /src/sys/arm/conf TB --- 2013-07-09 13:11:49 - /usr/bin/make -B LINT TB --- 2013-07-09 13:11:49 - cd /src/sys/arm/conf TB --- 2013-07-09 13:11:49 - /usr/sbin/config -m LINT TB --- 2013-07-09 13:11:49 - building LINT kernel TB --- 2013-07-09 13:11:49 - CROSS_BUILD_TESTING=YES TB --- 2013-07-09 13:11:49 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-09 13:11:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-09 13:11:49 - SRCCONF=/dev/null TB --- 2013-07-09 13:11:49 - TARGET=arm TB --- 2013-07-09 13:11:49 - TARGET_ARCH=arm TB --- 2013-07-09 13:11:49 - TZ=UTC TB --- 2013-07-09 13:11:49 - __MAKE_CONF=/dev/null TB --- 2013-07-09 13:11:49 - cd /src TB --- 2013-07-09 13:11:49 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jul 9 13:11:49 UTC 2013 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /src/sys/net/vnet.h:127:2: note: expanded from macro 'SYSCTL_VNET_PCPUSTAT' CTASSERT(sizeof(type) == sizeof(VNET(array))); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /src/sys/sys/systm.h:100:21: note: expanded from macro 'CTASSERT' #define CTASSERT(x) _Static_assert(x, "compile-time assertion failed") ^ ~ 1 error generated. *** Error code 1 Stop. make: stopped in /obj/arm.arm/src/sys/LINT *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-09 13:24:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-09 13:24:37 - ERROR: failed to build LINT kernel TB --- 2013-07-09 13:24:37 - 9212.61 user 1629.68 system 11658.05 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Tue Jul 9 21:38:37 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 59D42598; Tue, 9 Jul 2013 21:38:37 +0000 (UTC) (envelope-from jkwilborn@gmail.com) Received: from mail-pd0-x234.google.com (mail-pd0-x234.google.com [IPv6:2607:f8b0:400e:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id 31E401E79; Tue, 9 Jul 2013 21:38:37 +0000 (UTC) Received: by mail-pd0-f180.google.com with SMTP id 10so5597180pdi.39 for ; Tue, 09 Jul 2013 14:38:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Q/CmZ8+DCqYJc4NIgyoKtrAB/WdXa6+z7zjvUbIuFuQ=; b=EJodENiAqHxD/WTabUf659B3nslkZnXCfT1MrxJtyQhd6Plnz+SwkOzPOloLVupXY5 hQr2wtBUJ/AP4Wmd4y8D/gmAp4FHTqjiq91lJUBHTrWYndTl3OhdSgjx/elnFo/lAD0b jtlRqf8mdIUrIU31pTQDnNnyoiyzYmNIsn3JYiX8AYxXBPSZZ3bzT2Qgklchwd8etapO Oi76bZ+YXHAXmV61FAwE5ea8UmY6Oo7AjBqhsGly+bYZ0Iep7Cdvj67/Q25XMgdwHF39 F9Z3Yq7f4fZkB23W2CyYwri5+BHSEGUXpP4E2O/5+B4AGrX6ftpFVI1mrsWpDzLzZ/fc heiA== MIME-Version: 1.0 X-Received: by 10.66.153.140 with SMTP id vg12mr29867553pab.170.1373405916166; Tue, 09 Jul 2013 14:38:36 -0700 (PDT) Received: by 10.66.26.241 with HTTP; Tue, 9 Jul 2013 14:38:36 -0700 (PDT) In-Reply-To: References: Date: Tue, 9 Jul 2013 14:38:36 -0700 Message-ID: Subject: Re: I want to buy a wireless card From: Jack Wilborn To: Ganbold Tsagaankhuu Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" , freebsd-wireless@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: Tue, 09 Jul 2013 21:38:37 -0000 I would like to hear how you do with addition of a wifi USB dongle. You have happened to pick one of the hardest items to get working in Linux. Seems most of the wifi cards are proprietary in nature so you can't get the firmware to make them operate. You need to look at the newest and see if they are on the Debian list of supported devices. I have one of them that is a PCI card that is supported, if you like I'll dig up the number from TP-Link. But it's not a USB it's a PCI. I can't think if I have a USB one around or not, seems like I could never get the firmware to operate it properly. So that why I'm interested in if you make it operate properly and completely. It was my first problem with Linux and is still around even though I've learned to look up what they support or not, but I don't know how to really do it for the smaller embedded CPU's. Will be listening. Jack On Mon, Jul 8, 2013 at 6:58 PM, Ganbold Tsagaankhuu wrote: > On Mon, Jul 8, 2013 at 8:08 PM, XiaoQI Ge wrote: > > > I want to buy a wireless card, users CubieBoard (ARM) Internet connection > > > > I want to buy a wireless card, but if_rum seems only say that they > support > > WN321G, do not know or not to support [WN321G +] The wireless network > card, > > http://www.tp-link.com.cn/product_28.html > > > > === > > Or is there a cheaper USB wireless network adapter recommend it? > > > > > I have Ralink based usb wifi (WLI-UC-GNM) like > > http://detail.tmall.com/item.htm?spm=a220m.1000858.1000725.15.3wfRJm&id=9672376 > > 635&user_id=667433668&is_b=1&cat_id=2&q=buffalo+usb&rn=827b20043c8cb505bf428bbc > 70d5a4c8 > > if_run in head should support it if I'm not mistaken and good thing is it > supports AP mode. > But I didn't test it yet on Cubieboard. > > Ganbold > > > > > > > Thank you > > === > > Regards. > > By: XiaoQI Ge; PGP:8B09D5F7 > > WWW: https://www.7axu.com/ > > Gtalk/E-Mail :ghw@7axu.com > > _______________________________________________ > > 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 Wed Jul 10 02:42:19 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B5A0DCA0; Wed, 10 Jul 2013 02:42:19 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 8263F1D34; Wed, 10 Jul 2013 02:42:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=iTk5TkU5W7YeqzSCc+JR4fcDQ0Nyk0y24Yqn5uvUlms=; b=Oxb4WCXhB4zb+Xwxa2XSbyCoiQhswtRZoSU5AlMw2JFGCXmV8VZFqBWb3S1J6hSsbtVyzb3xmNNAoOhm1Fe4IhitVxBr07GrP0sTQCd+QoIxQ7UK1Piv9bYqoFHRDnP1frlGtyMPb0fb+L7nz8DoL3RpI8Unn7qB7NUm4PchH9A=; Received: from [182.7.54.108] (port=55682 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80.1) (envelope-from ) id 1UwkMD-003nss-Ah; Tue, 09 Jul 2013 20:42:18 -0600 Date: Wed, 10 Jul 2013 10:42:08 +0800 From: Erich Dollansky To: Jack Wilborn Subject: Re: I want to buy a wireless card Message-ID: <20130710104208.2ef72fdd@X220.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-arm@freebsd.org" , freebsd-wireless@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: Wed, 10 Jul 2013 02:42:19 -0000 Hi, On Tue, 9 Jul 2013 14:38:36 -0700 Jack Wilborn wrote: > I would like to hear how you do with addition of a wifi USB dongle. > You have happened to pick one of the hardest items to get working in > Linux. Seems most of the wifi cards are proprietary in nature so you > can't get the firmware to make them operate. You need to look at the > newest and see if they are on the Debian list of supported devices. > I have one of them that is a PCI card that is supported, if you like > I'll dig up the number from TP-Link. But it's not a USB it's a PCI. > I can't think if I have a USB one around or not, seems like I could > never get the firmware to operate it properly. So that why I'm > interested in if you make it operate properly and completely. It was > my first problem with Linux and is still around even though I've > learned to look up what they support or not, but I don't know how to > really do it for the smaller embedded CPU's. > > Will be listening. > where should be the problem? Just check with man what the drivers support. His problem might be ARM. But loading the firmware via ARM should not be that different. Erich > Jack > > > On Mon, Jul 8, 2013 at 6:58 PM, Ganbold Tsagaankhuu > wrote: > > > On Mon, Jul 8, 2013 at 8:08 PM, XiaoQI Ge wrote: > > > > > I want to buy a wireless card, users CubieBoard (ARM) Internet > > > connection > > > > > > I want to buy a wireless card, but if_rum seems only say that they > > support > > > WN321G, do not know or not to support [WN321G +] The wireless > > > network > > card, > > > http://www.tp-link.com.cn/product_28.html > > > > > > === > > > Or is there a cheaper USB wireless network adapter recommend it? > > > > > > > > > I have Ralink based usb wifi (WLI-UC-GNM) like > > > > http://detail.tmall.com/item.htm?spm=a220m.1000858.1000725.15.3wfRJm&id=9672376 > > > > 635&user_id=667433668&is_b=1&cat_id=2&q=buffalo+usb&rn=827b20043c8cb505bf428bbc > > 70d5a4c8 > > > > if_run in head should support it if I'm not mistaken and good thing > > is it supports AP mode. > > But I didn't test it yet on Cubieboard. > > > > Ganbold > > > > > > > > > > > > Thank you > > > === > > > Regards. > > > By: XiaoQI Ge; PGP:8B09D5F7 > > > WWW: https://www.7axu.com/ > > > Gtalk/E-Mail :ghw@7axu.com > > > _______________________________________________ > > > 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" > > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to > "freebsd-wireless-unsubscribe@freebsd.org" From owner-freebsd-arm@FreeBSD.ORG Wed Jul 10 08:34:44 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 13D9593 for ; Wed, 10 Jul 2013 08:34:44 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 563F11BFA for ; Wed, 10 Jul 2013 08:34:42 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id n11so5652238wgh.33 for ; Wed, 10 Jul 2013 01:34:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=U2dt+tTJ7sneC1IFmLTTwPyI+qEyu0DWmiu2X2sAhus=; b=bNmwbR41JUvh/iYgRs2+qAeiJBpkJGtcyOpIHqnpf0rWSb8t1y1o1duvq+DYlumj3e ABuiwJ3tl2ymCfvRDUx58+gW3utUQzT1wd+/TuSrjSaIJq0VKE8ShBxULTyjXlPjiah8 B6Q9lhBWrWfDYEWi0zvAAfzLf/qFYWmyz2eEN0yiOGahThbOlV1u5qiXQ10x/ffjQbBT txLp8hENsUOMuL2hVbxlaSchPP7N7fN8m15Cl+e1RRDy56vWp5pVEkOOn6SE1V6kKQ2I SfcRfE8PsB1xrnimx+hAHZnOiPr8cEJgozUybDhla1Jx6BR8+M1RlQX9MUc74XzkXEUQ PZiQ== X-Received: by 10.194.91.194 with SMTP id cg2mr17907686wjb.53.1373445275690; Wed, 10 Jul 2013 01:34:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 01:33:55 -0700 (PDT) X-Originating-IP: [204.124.83.131] From: XiaoQI Ge Date: Wed, 10 Jul 2013 16:33:55 +0800 Message-ID: Subject: if_run compilation fails (Cubieboard) To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQml/FBQmwahkxoM7T3ef8/n4M1WgWcfz7uGhdoI9XEfG6B0rHz2oDJfLhJeGJTuRvH/JiyY Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 10 Jul 2013 08:34:44 -0000 hello all I tried to if_run compiled into the kernel, but prompt an error, the error message is as follows: TION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/aintc.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/bus_space.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/common.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror /usr/src/sys/arm/allwinner/a10_machdep.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror config.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror env.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror hints.c cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror vnode_if.c :> hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c cat /usr/src/sys/conf/ldscript.arm|sed s/KERNPHYSADDR/0x40200000/g| sed s/KERNVIRTADDR/0xc0200000/g > ldscript.arm MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh CUBIEBOARD1G svn: E155036: The working copy at '/usr/src' is too old (format 29) to work with client version '1.8.0 (r1490375)' (expects format 31). You need to upgrade the working copy first. cc -c -O -pipe -std=3Dc99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror vers.c linking kernel.debug if_run.o: In function `run_load_microcode': /usr/src/sys/dev/usb/wlan/if_run.c:979: undefined reference to `firmware_get' /usr/src/sys/dev/usb/wlan/if_run.c:1059: undefined reference to `firmware_put' runfw.o: In function `runfw_fw_modevent': /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:31: undefined reference to `firmware_unregister' /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:23: undefined reference to `firmware_register' *** Error code 1 Stop. make: stopped in /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G *** Error code 1 Stop. make: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src =3D=3D=3D My kernel configuration file Riga: device wlan device wlan_wep device wlan_ccmp device wlan_tkip device =E2=80=8B=E2=80=8B run device wlan_amrr device runfw Please help me From owner-freebsd-arm@FreeBSD.ORG Wed Jul 10 08:47:56 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 036293F9 for ; Wed, 10 Jul 2013 08:47:56 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-ea0-x233.google.com (mail-ea0-x233.google.com [IPv6:2a00:1450:4013:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 93F5B1C9A for ; Wed, 10 Jul 2013 08:47:55 +0000 (UTC) Received: by mail-ea0-f179.google.com with SMTP id b15so4764730eae.24 for ; Wed, 10 Jul 2013 01:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6Y4phW9t+TVRb3o2D992mFsFomSIc+lYoArr5T7unjw=; b=R6Ow44UeXOa9qcu+z4pS+q5YC1XFhPS9ogSWV3rOr7rvlL9jelkSA1ryLg8epn8eyg Th5R4KScvwLzCGDBFkO7P7BKw82JBsLfIrSA6kr91jlWEiQda0wU6KKzh13lAZHgASha HApl8kLvP56/eqUFP/mwAfN9OMAQ8ZbiSOJmZna6iJXZQ9u5D1FWx1wjjOQH7Vk40+DM 7BKZLwWYr2jhrv2cMTn1kSmqkTd/tFxOW2JIK64TyDSJ+ObySOQ3iN+8rZHre0nbgd9x sitRVqafTWJPmRMq5kfjseDo6mZvFeizxFDkDDUQj8A2Z5dXSguWKN4794qBOcpCsPwo UY7A== MIME-Version: 1.0 X-Received: by 10.14.47.196 with SMTP id t44mr23888375eeb.18.1373446074498; Wed, 10 Jul 2013 01:47:54 -0700 (PDT) Received: by 10.14.119.203 with HTTP; Wed, 10 Jul 2013 01:47:54 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Jul 2013 01:47:54 -0700 Message-ID: Subject: Re: if_run compilation fails (Cubieboard) From: hiren panchasara To: XiaoQI Ge Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arm 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: Wed, 10 Jul 2013 08:47:56 -0000 On Wed, Jul 10, 2013 at 1:33 AM, XiaoQI Ge wrote: > hello all > I tried to if_run compiled into the kernel, but prompt an error, the error > message is as follows: > > TION_HEADERS -include opt_global.h -ffreestanding -Werror > /usr/src/sys/arm/allwinner/aintc.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > /usr/src/sys/arm/allwinner/bus_space.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > /usr/src/sys/arm/allwinner/common.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > /usr/src/sys/arm/allwinner/a10_machdep.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > config.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > env.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > hints.c > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > vnode_if.c > :> hack.c > cc -shared -nostdlib hack.c -o hack.So > rm -f hack.c > cat /usr/src/sys/conf/ldscript.arm|sed s/KERNPHYSADDR/0x40200000/g| sed > s/KERNVIRTADDR/0xc0200000/g > ldscript.arm > MAKE=make sh /usr/src/sys/conf/newvers.sh CUBIEBOARD1G > svn: E155036: The working copy at '/usr/src' > is too old (format 29) to work with client version '1.8.0 (r1490375)' > (expects format 31). You need to upgrade the working copy first. > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > -Wmissing-include-dirs -fdiagnostics-show-option > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding -Werror > vers.c > linking kernel.debug > if_run.o: In function `run_load_microcode': > /usr/src/sys/dev/usb/wlan/if_run.c:979: undefined reference to > `firmware_get' > /usr/src/sys/dev/usb/wlan/if_run.c:1059: undefined reference to > `firmware_put' > runfw.o: In function `runfw_fw_modevent': > /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:31: undefined > reference to `firmware_unregister' > /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:23: undefined > reference to `firmware_register' > *** Error code 1 > > Stop. > make: stopped in /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G > *** Error code 1 > > Stop. > make: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > > === > My kernel configuration file Riga: > > device wlan > device wlan_wep > device wlan_ccmp > device wlan_tkip > > device > > run > device wlan_amrr > device runfw You also need "device firmware" here? (guessing from the errors you are getting: Undefined reference to `firmware_register') cheers, Hiren > > Please help me > _______________________________________________ > 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 Wed Jul 10 10:12:26 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 790E1F2F for ; Wed, 10 Jul 2013 10:12:26 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mx1.freebsd.org (Postfix) with ESMTP id 017931112 for ; Wed, 10 Jul 2013 10:12:25 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id l18so5815234wgh.14 for ; Wed, 10 Jul 2013 03:12:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=QIBM1LEzhvZr89iu+sEuTWFC8iLC5qVNf3HmE9NbQlk=; b=SFC2kQYufdFdp0dEFgSynuWHZvkFVAgTlsHhmaKyEyy7XC3PEXeP3zKjeUtIqaq8Gh xCF6ARcrV9pY+hBdqvp4ddnBqPU4Qf5Tid/T/Z7SoDzKnAC4ztn7TNPF2DRPEFC2zlMI wUiEqlhuW4Wom4MgUvhIfeaGrCxnWT4qULKX1sVgR9n+Z6ZzMx/FwFVEx1g4p5wiVvSV H0hfmxuRp+kvkq/jMv3/2Y2/O2FGDg/oKHxXbvf2CxeQ0xxWnFGYUFM+HaI/VLQFFcNg h0D9S66H5Z457h1X/fPPZGh6HWgzBx9m9oHHI1qG0J8gVp+YqH/ja/giftKh25/hxC2N Q40g== X-Received: by 10.180.82.196 with SMTP id k4mr19116711wiy.0.1373451144335; Wed, 10 Jul 2013 03:12:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 03:11:44 -0700 (PDT) X-Originating-IP: [124.90.191.174] In-Reply-To: References: From: XiaoQI Ge Date: Wed, 10 Jul 2013 18:11:44 +0800 Message-ID: Subject: Re: if_run compilation fails (Cubieboard) To: hiren panchasara X-Gm-Message-State: ALoCoQkHC1UEg/DBdnB/kvOzeTF4bWAxTzF64lVGbvQO11/IOanamcvlVzVM8td/beM9JMAuCzV4 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-arm 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: Wed, 10 Jul 2013 10:12:26 -0000 Thank you, I'll try again -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/10 hiren panchasara > On Wed, Jul 10, 2013 at 1:33 AM, XiaoQI Ge wrote: > > hello all > > I tried to if_run compiled into the kernel, but prompt an error, the > error > > message is as follows: > > > > TION_HEADERS -include opt_global.h -ffreestanding -Werror > > /usr/src/sys/arm/allwinner/aintc.c > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > /usr/src/sys/arm/allwinner/bus_space.c > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > /usr/src/sys/arm/allwinner/common.c > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > /usr/src/sys/arm/allwinner/a10_machdep.c > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > config.c > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > env.c > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > hints.c > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > vnode_if.c > > :> hack.c > > cc -shared -nostdlib hack.c -o hack.So > > rm -f hack.c > > cat /usr/src/sys/conf/ldscript.arm|sed s/KERNPHYSADDR/0x40200000/g| sed > > s/KERNVIRTADDR/0xc0200000/g > ldscript.arm > > MAKE=make sh /usr/src/sys/conf/newvers.sh CUBIEBOARD1G > > svn: E155036: The working copy at '/usr/src' > > is too old (format 29) to work with client version '1.8.0 (r1490375)' > > (expects format 31). You need to upgrade the working copy first. > > > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > -Wmissing-include-dirs -fdiagnostics-show-option > > -Wno-error-tautological-compare -Wno-error-empty-body > > -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -ffreestanding > -Werror > > vers.c > > linking kernel.debug > > if_run.o: In function `run_load_microcode': > > /usr/src/sys/dev/usb/wlan/if_run.c:979: undefined reference to > > `firmware_get' > > /usr/src/sys/dev/usb/wlan/if_run.c:1059: undefined reference to > > `firmware_put' > > runfw.o: In function `runfw_fw_modevent': > > /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:31: undefined > > reference to `firmware_unregister' > > /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G/runfw.c:23: undefined > > reference to `firmware_register' > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/src > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/src > > > > === > > My kernel configuration file Riga: > > > > device wlan > > device wlan_wep > > device wlan_ccmp > > device wlan_tkip > > > > device > > > > run > > device wlan_amrr > > device runfw > > You also need "device firmware" here? (guessing from the errors you > are getting: Undefined reference to `firmware_register') > > cheers, > Hiren > > > > Please help me > > _______________________________________________ > > 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 Wed Jul 10 10:13:09 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 313E0F7B for ; Wed, 10 Jul 2013 10:13:09 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1.freebsd.org (Postfix) with ESMTP id C2D26111B for ; Wed, 10 Jul 2013 10:13:08 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id a12so5656711wgh.28 for ; Wed, 10 Jul 2013 03:13:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=o+q8ATFcRL4FNWcHqW3MkpzqUOmfp+VxOQmYeDUZOWU=; b=Q12mPY3m2Wuo0r3btsF+8u96fvUjcpm2DPY5c3IVU/70VZwKWzUfO7WEmcT/6lAiaD z2oVMMUF5DQ2A+jiB7/BiIPUcie495iA3wFGpcUlvw9h/36UzDfFz+JNsvOKahuMm2PI xWkeuBSSdacwxZ7//103jI1BgGe+h3KG7ASyytNgVUelVu6CeM4kRNjXJF9WKWduWKvf HzqwRw6nBT+IW4Xbx17wUE7dUzsqUP37T4JxRDF/Vz/ePZFUZ+7Hp99Gpov9GobPol9s wS9+wFaZymllznHZwGKdMdXYhcedlhbdDkxDZ0/ng1Nt9X7HLNdi5y2wpHr70bzfy+o1 whqQ== X-Received: by 10.194.91.194 with SMTP id cg2mr18137232wjb.53.1373451182265; Wed, 10 Jul 2013 03:13:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 03:12:22 -0700 (PDT) X-Originating-IP: [124.90.191.174] From: XiaoQI Ge Date: Wed, 10 Jul 2013 18:12:22 +0800 Message-ID: Subject: My cubieboard startup, automatic restart To: freebsd-arm@freebsd.org X-Gm-Message-State: ALoCoQlC8XYBf5gasUhW7OSZcCbRVl4HkZPg3/SYdPU++e/OsJ5sSeBWm4iVidMVLtLFSP91xIL0 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 10 Jul 2013 10:13:09 -0000 I've compiled a kernel (svn update to the latest) Start when the resumption of direct Error message: sun4i#mmcinfo Device: SUNXI SD/MMC Manufacturer ID: 36 OEM: 414f Name: Tran Speed: 50000000 Rd Block Len: 512 SD version 2.0 High Capacity: No Capacity: 240.8 MiB Bus Width: 4-bit sun4i#fatload mmc 0 0x40200000 kernel reading kernel 4860454 bytes read in 218 ms (21.3 MiB/s) sun4i#go 0x40201000 ## Starting application at 0x40201000 ... data abort MAYBE you should read doc/README.arm-unaligned-accesses pc : [<40201010>] lr : [<5ff827d4>] sp : 5fe61e30 ip : 00000000 fp : 00000000 r10: 00000003 r9 : 00000000 r8 : 5fe61f68 r7 : 5ffb98a4 r6 : 00000001 r5 : 5fe63224 r4 : 40201000 r3 : 00000000 r2 : 5fe63224 r1 : 5fe63224 r0 : 00000001 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... resetting ... U-Boot SPL 2012.10-04259-g832a8e5 (Nov 09 2012 - 10:06:24) DRAM: 512MB SUNXI SD/MMC: 0 From owner-freebsd-arm@FreeBSD.ORG Thu Jul 11 02:21:38 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6B7F7A5F for ; Thu, 11 Jul 2013 02:21:38 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by mx1.freebsd.org (Postfix) with ESMTP id 046DB1A46 for ; Thu, 11 Jul 2013 02:21:36 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id ey16so7003713wid.4 for ; Wed, 10 Jul 2013 19:21:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=MD0rKkjfKrhiSGxJ05wlA0whb85jnXSDJAR6vtDrtcE=; b=aY9lrJVUj7BYQZ+8vu8lze81TeYkLFHNaBjGhF7JiG1pTqvghS5yBKsxd9uhrpi4zR EPKKUB83Q03j+bO0zR8TrSbAt3kNF2bcLwUzRncO2kssv+uKrQ2AHXbKsOJqkBJ7hC1q N1TUMTmIb0IkYnl3AZouYA75wwTVXbGgbPo441SfdPOH95xPG8rkOsYLp+blUVOq3mDh jVDij8wzDbg+ZWlJLXFbYSSsZFwY2r17t8pl2ybGhM27qezc2GRIz29auO+ccmdqN7mz RPAYpSeBPOro75gN6SmZdZQQZCFipC8FXYlL3sVL5Sup3BvsgDOhgVDk2gdOewFyzY2O 8uEA== X-Received: by 10.194.7.137 with SMTP id j9mr20012407wja.11.1373505981338; Wed, 10 Jul 2013 18:26:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 18:25:41 -0700 (PDT) X-Originating-IP: [149.154.65.84] In-Reply-To: References: From: XiaoQI Ge Date: Thu, 11 Jul 2013 09:25:41 +0800 Message-ID: Subject: Re: My cubieboard startup, automatic restart To: freebsd-arm X-Gm-Message-State: ALoCoQkQxM9ngbn4egx/RldNECL2976ph5fqFE0NEByQL7SnGFEc7nPbqz6QVcesUevPs8w7nsqs Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 11 Jul 2013 02:21:38 -0000 I opened the WITH_FDT = yes, can now start, but not recognize my USB disk Error message: mountroot> ? List of GEOM managed disk devices: mountroot> ufs:/dev/da0s2 Trying to mount root from ufs:/dev/da0s2 []... mountroot: waiting for device /dev/da0s2 ... Mounting from ufs:/dev/da0s2 failed with error 19. mountroot> ? List of GEOM managed disk devices: -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/10 XiaoQI Ge > I've compiled a kernel (svn update to the latest) > Start when the resumption of direct > > Error message: > > sun4i#mmcinfo > Device: SUNXI SD/MMC > Manufacturer ID: 36 > OEM: 414f > Name: > Tran Speed: 50000000 > Rd Block Len: 512 > SD version 2.0 > High Capacity: No > Capacity: 240.8 MiB > Bus Width: 4-bit > sun4i#fatload mmc 0 0x40200000 kernel > reading kernel > 4860454 bytes read in 218 ms (21.3 MiB/s) > sun4i#go 0x40201000 > ## Starting application at 0x40201000 ... > data abort > > MAYBE you should read doc/README.arm-unaligned-accesses > > pc : [<40201010>] lr : [<5ff827d4>] > sp : 5fe61e30 ip : 00000000 fp : 00000000 > r10: 00000003 r9 : 00000000 r8 : 5fe61f68 > r7 : 5ffb98a4 r6 : 00000001 r5 : 5fe63224 r4 : 40201000 > r3 : 00000000 r2 : 5fe63224 r1 : 5fe63224 r0 : 00000001 > Flags: nZCv IRQs off FIQs off Mode SVC_32 > Resetting CPU ... > > resetting ... > > U-Boot SPL 2012.10-04259-g832a8e5 (Nov 09 2012 - 10:06:24) > DRAM: 512MB > SUNXI SD/MMC: 0 > From owner-freebsd-arm@FreeBSD.ORG Thu Jul 11 04:19:52 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C222A396 for ; Thu, 11 Jul 2013 04:19:52 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE5F1F25 for ; Thu, 11 Jul 2013 04:19:51 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b12so6663986wgh.7 for ; Wed, 10 Jul 2013 21:19:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=zU5lolv8alc2h68euQZd9TNIeUG+AZxeoe50hWFqb40=; b=kGGF38964NhdOrVlbR1u9IQlazRiXze4DX5es3zHZxinj4OeIermpRCiZowGjz5oxL ru1JWi3v+gt1RZyOJh1MrLBzPlJrnlzrej0EmIs0MPxcAvUQODPRzeaYdLqu83GnWa6y KIic6VvdH86KQik3/PIe2REXImZd5ZqukphTf2jBVxJDpvkWH9BN0vGKCNR0zcgGFHzV DBi7dnmpSJiq6NbUrK2rhHlZoroq2pRctJTIQqqxwPYd91dU9heJpo3fOGFZ/+YVjZT2 yG7Ae9eAxB6Jn9qhbMNcKYpRuD83lB5W4AYmlLj76fEoj0oRmUVwDD4BOne6/1FlGyWZ MQsQ== X-Received: by 10.194.216.99 with SMTP id op3mr20430815wjc.52.1373515938596; Wed, 10 Jul 2013 21:12:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 21:11:38 -0700 (PDT) X-Originating-IP: [115.236.45.226] In-Reply-To: References: From: XiaoQI Ge Date: Thu, 11 Jul 2013 12:11:38 +0800 Message-ID: Subject: Re: My cubieboard startup, automatic restart To: freebsd-arm X-Gm-Message-State: ALoCoQkz/KqNgmAX8ILixHDVJWxAGOkt1KFH7mQvhwXRvXTejwRFybBlvtECYN9p9PVUG6xRbM+D Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 11 Jul 2013 04:19:52 -0000 ## Starting application at 0x40200000 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #0: Thu Jul 11 20:05:44 CST 2013 root@FreeBSD.7axu.com:/usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G arm FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. CPU: Cortex A8-r3 rev 2 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:2 LoUIS:1 Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory = 536870912 (512 MB) avail memory = 512954368 (489 MB) random device not loaded; using insecure entropy simplebus0: on fdtbus0 aintc0: mem 0x1c20400-0x1c207ff on simplebus0 a10_ccm0: mem 0x1c20000-0x1c203ff on simplebus0 a10_timer0: mem 0x1c20c00-0x1c20c8f irq 22 on simplebus0 Event timer "a10_timer Eventtimer" frequency 24000000 Hz quality 1000 Timecounter "a10_timer timer0" frequency 24000000 Hz quality 1000 a10wd0: mem 0x1c20c90-0x1c20c97 on simplebus0 gpio0: mem 0x1c20800-0x1c20bff irq 28 on simplebus0 gpioc0: on gpio0 gpiobus0: on gpio0 ehci0: mem 0x1c14000-0x1c14fff irq 39 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: mem 0x1c1c000-0x1c1cfff irq 40 on simplebus0 usbus1: EHCI version 1.0 usbus1 on ehci1 uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 1 on simplebus0 uart0: console (115200,n,8,1) Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 WARNING: WITNESS option enabled, expect reduced performance. ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1: on usbus0 uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered Trying to mount root from ufs:/dev/da0s2 []... mountroot: waiting for device /dev/da0s2 ... Mounting from ufs:/dev/da0s2 failed with error 19. Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/11 XiaoQI Ge > I opened the WITH_FDT = yes, can now start, but not recognize my USB disk > Error message: > > mountroot> ? > > List of GEOM managed disk devices: > > > mountroot> ufs:/dev/da0s2 > Trying to mount root from ufs:/dev/da0s2 []... > mountroot: waiting for device /dev/da0s2 ... > Mounting from ufs:/dev/da0s2 failed with error 19. > > mountroot> ? > > List of GEOM managed disk devices: > > -- > Regards. > By: XiaoQI Ge; PGP:8B09D5F7 > WWW: https://www.7axu.com/ > > > > 2013/7/10 XiaoQI Ge > >> I've compiled a kernel (svn update to the latest) >> Start when the resumption of direct >> >> Error message: >> >> sun4i#mmcinfo >> Device: SUNXI SD/MMC >> Manufacturer ID: 36 >> OEM: 414f >> Name: >> Tran Speed: 50000000 >> Rd Block Len: 512 >> SD version 2.0 >> High Capacity: No >> Capacity: 240.8 MiB >> Bus Width: 4-bit >> sun4i#fatload mmc 0 0x40200000 kernel >> reading kernel >> 4860454 bytes read in 218 ms (21.3 MiB/s) >> sun4i#go 0x40201000 >> ## Starting application at 0x40201000 ... >> data abort >> >> MAYBE you should read doc/README.arm-unaligned-accesses >> >> pc : [<40201010>] lr : [<5ff827d4>] >> sp : 5fe61e30 ip : 00000000 fp : 00000000 >> r10: 00000003 r9 : 00000000 r8 : 5fe61f68 >> r7 : 5ffb98a4 r6 : 00000001 r5 : 5fe63224 r4 : 40201000 >> r3 : 00000000 r2 : 5fe63224 r1 : 5fe63224 r0 : 00000001 >> Flags: nZCv IRQs off FIQs off Mode SVC_32 >> Resetting CPU ... >> >> resetting ... >> >> U-Boot SPL 2012.10-04259-g832a8e5 (Nov 09 2012 - 10:06:24) >> DRAM: 512MB >> SUNXI SD/MMC: 0 >> > > From owner-freebsd-arm@FreeBSD.ORG Thu Jul 11 11:19:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9CB3F22A for ; Thu, 11 Jul 2013 11:19:12 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx1.freebsd.org (Postfix) with ESMTP id 35C1C129D for ; Thu, 11 Jul 2013 11:19:11 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id u53so6860647wes.37 for ; Thu, 11 Jul 2013 04:19:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=6Ffbs9jCGBlQLfbqlVxhdy/tGxPWkkTOOrjuY7Wik1M=; b=TnuugYBCc/kavoFKar7838mHuOl3mJbJOwXHsr5/nHgpdl7tVrXbEsMLKVr+bFNm2/ vu71qrUySO4/cpsAubhGJDkpQtQGmnOJumQ0b5QaPeBy4HLaAXslcRF9MlujNTb+l0l3 yM7a+kXqhpi/lRkE80SHanLlA4giJyXhRB1wkMtR20Umwn4NOExVIKfNUzBvFCpkp0Fp pssxdGSliuLkSFcQcViIzoXPbONVg1n0kYheSX13Xh2DuJ7I86dVpmMN/2kzDMQtoHHH Tqs6IXJzNoi0RO1ytLL6u4axTpow07XrJLAz3vpu433MtkDCkrRacoVbCpRsKLoVxjBY iILg== X-Received: by 10.180.185.148 with SMTP id fc20mr20105201wic.0.1373541545468; Thu, 11 Jul 2013 04:19:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Thu, 11 Jul 2013 04:18:24 -0700 (PDT) X-Originating-IP: [115.236.45.226] In-Reply-To: References: From: XiaoQI Ge Date: Thu, 11 Jul 2013 19:18:24 +0800 Message-ID: Subject: Re: My cubieboard startup, automatic restart To: freebsd-arm X-Gm-Message-State: ALoCoQkk3VaZAcRjwl7aM519k4y0rdwvov7P2d375qWoJ9Tl1uH3sHzKnvIKtJfDO4CawL3inqX+ Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Thu, 11 Jul 2013 11:19:12 -0000 Or so === # # Starting application at 0x40201000 ... data abort MAYBE you should read doc / README.arm-unaligned-accesses pc: [<40201010>] lr: [<5ff827d4>] sp: 5fe61e30 ip: 00000000 fp: 00000000 r10: 00000003 r9: 00000000 r8: 5fe61f68 r7: 5ffb98a4 r6: 00000001 r5: 5fe63224 r4: 40201000 r3: 00000000 r2: 5fe63224 r1: 5fe63224 r0: 00000001 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... === How to solve it -DWITH_ARM_EABI WITH_FDT = yes -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/10 XiaoQI Ge > I've compiled a kernel (svn update to the latest) > Start when the resumption of direct > > Error message: > > sun4i#mmcinfo > Device: SUNXI SD/MMC > Manufacturer ID: 36 > OEM: 414f > Name: > Tran Speed: 50000000 > Rd Block Len: 512 > SD version 2.0 > High Capacity: No > Capacity: 240.8 MiB > Bus Width: 4-bit > sun4i#fatload mmc 0 0x40200000 kernel > reading kernel > 4860454 bytes read in 218 ms (21.3 MiB/s) > sun4i#go 0x40201000 > ## Starting application at 0x40201000 ... > data abort > > MAYBE you should read doc/README.arm-unaligned-accesses > > pc : [<40201010>] lr : [<5ff827d4>] > sp : 5fe61e30 ip : 00000000 fp : 00000000 > r10: 00000003 r9 : 00000000 r8 : 5fe61f68 > r7 : 5ffb98a4 r6 : 00000001 r5 : 5fe63224 r4 : 40201000 > r3 : 00000000 r2 : 5fe63224 r1 : 5fe63224 r0 : 00000001 > Flags: nZCv IRQs off FIQs off Mode SVC_32 > Resetting CPU ... > > resetting ... > > U-Boot SPL 2012.10-04259-g832a8e5 (Nov 09 2012 - 10:06:24) > DRAM: 512MB > SUNXI SD/MMC: 0 > From owner-freebsd-arm@FreeBSD.ORG Fri Jul 12 03:07:55 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1FBDFD6C for ; Fri, 12 Jul 2013 03:07:55 +0000 (UTC) (envelope-from alie@afflemedialab.com) Received: from mail-qe0-f50.google.com (mail-qe0-f50.google.com [209.85.128.50]) by mx1.freebsd.org (Postfix) with ESMTP id DBAEC160F for ; Fri, 12 Jul 2013 03:07:54 +0000 (UTC) Received: by mail-qe0-f50.google.com with SMTP id f6so4789062qej.23 for ; Thu, 11 Jul 2013 20:07:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=sa8VAJKeOgQy9GQD+Yb1Dir3+9EA073/1phwurfRpCQ=; b=UbVxlCpbVw2Hq4PBdtzcbSG6sRkdkasKZGCUumJKBBzbfIDkQ2biy9xSibROrVtkYg HrkVi0TDc0/iKPTLVQZYUNp8vznzLXfi8xrZr6vLSo4HBp2z9wY9yyxL/dngDD/c6xin GmCvJqUi21Bsc5WnHFsk4k2bP6nHMktuiU07XE1qZDjlSpKHj5HUIzY/FXpzwRugCjV5 f3anO4ewLUbXpe5S4oeCprLIzqaEsVOZcZIRpv6m7TBuFB1fWpY49VYqLcTt73JBY049 3iLWsh1YwmRNphPECrOE5N+W8HfSpplkjUFOHcS7d37mNgBbubhQfCtj5WiJJcUpoEln 4VWA== MIME-Version: 1.0 X-Received: by 10.224.136.193 with SMTP id s1mr36403310qat.15.1373598468619; Thu, 11 Jul 2013 20:07:48 -0700 (PDT) Received: by 10.49.84.168 with HTTP; Thu, 11 Jul 2013 20:07:48 -0700 (PDT) Date: Fri, 12 Jul 2013 11:07:48 +0800 Message-ID: Subject: Unable to build lang/perl5.14 on Raspberry Pi From: Alie Tan To: "freebsd-arm@freebsd.org" X-Gm-Message-State: ALoCoQmlEOdPLY1cN9RsCqiEP0eA9IPtk6s8Xx2oxUpnSgD5bGlNCa3PskgcaeRqDeBvL6jdCNUo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Fri, 12 Jul 2013 03:07:55 -0000 Hi, Anyone having issue building lang/perl5.14 on Raspberry Pi with stock gcc4.2.1? /usr/ports/lang/perl5.14 # make install clean ===> Building for perl-5.14.4 LD_LIBRARY_PATH=/usr/ports/lang/perl5.14/work/perl-5.14.4 ./miniperl -Ilib -Idist/Cwd -Idist/Cwd/lib pod/perlmodlib.PL -q longjmp botch. *** Signal 6 Stop. make: stopped in /usr/ports/lang/perl5.14/work/perl-5.14.4 *** Error code 1 Stop. make: stopped in /usr/ports/lang/perl5.14 *** Error code 1 Stop. make: stopped in /usr/ports/lang/perl5.14 Regards, Alie T From owner-freebsd-arm@FreeBSD.ORG Fri Jul 12 03:31:20 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C4B3A705 for ; Fri, 12 Jul 2013 03:31:20 +0000 (UTC) (envelope-from freebsd-arm@wynn.com) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) by mx1.freebsd.org (Postfix) with ESMTP id 86B1E16F4 for ; Fri, 12 Jul 2013 03:31:20 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id r6C3VBY5092642; Thu, 11 Jul 2013 23:31:11 -0400 (EDT) (envelope-from freebsd-arm@wynn.com) Date: Thu, 11 Jul 2013 23:31:10 -0400 From: Brett Wynkoop To: Alie Tan Subject: Re: Unable to build lang/perl5.14 on Raspberry Pi Message-ID: <20130711233110.3c8dabeb@ivory.wynn.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.19; 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: Fri, 12 Jul 2013 03:31:20 -0000 On Fri, 12 Jul 2013 11:07:48 +0800 Alie Tan wrote: > Hi, > > Anyone having issue building lang/perl5.14 on Raspberry Pi with stock > gcc4.2.1? root@fbsd-pi:~ # pkg info | grep perl | grep 5.14 perl-5.14.2_2 Practical Extraction and Report Language root@fbsd-pi:~ # root@fbsd-pi:~ # gcc -v Using built-in specs. Target: armv6-undermydesk-freebsd Configured with: FreeBSD/armv6 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] root@fbsd-pi:~ # My system was last updated in March: root@fbsd-pi:~ # uname -a FreeBSD fbsd-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Fri Mar 8 02:58:35 UTC 2013 root@fbsd-pi:/usr/src/sys/arm/compile/RPI-B-TMPFS arm root@fbsd-pi:~ # At that time I built the perl shown above. Now I am in the sad position of not being able to build world natively. Things might be different for me if I were running current and not March. -Brett -- wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 718-717-5435 I would never invade the United States. There would be a gun behind every blade of grass. --Isoroku Yamamoto From owner-freebsd-arm@FreeBSD.ORG Fri Jul 12 04:09:55 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5A9D4157 for ; Fri, 12 Jul 2013 04:09:55 +0000 (UTC) (envelope-from ctrachte@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) by mx1.freebsd.org (Postfix) with ESMTP id DB4331864 for ; Fri, 12 Jul 2013 04:09:54 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id x10so7250715lbi.5 for ; Thu, 11 Jul 2013 21:09:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ylEH4KDoDfolC3GY4BUee7bLmNvV2hVNKBoPQX2Nwug=; b=cbbfw7e0P7mgY0uCjt3VNZwaAgCXle7hLInU9vdEXxrbYH4YxxaQPZbbDXo4h4hF0Y mHq8mxRMqSHYFWDfafiVCYzJm2pMHRuinCFuiO7jOgnwWdqvBTlb1nhuFFThzU1VhDbN 9wK3xANWCxjJkdtvLiH2PEx5WEwXpnL9/tFIVFkHHx1ugjhEbj7y0mZGUmh1OW4UTnVY d22KTyQfAO6QetuSSJ/s83HMF10hHFWfMpUpPKQnPqw4M27i4KLGFyZ/bIY0ppgFvfPm ZtKEgeGIaxcVv/wPK83EQho2P3rjxofCWBNqhFdYh17Oc6sBsQtpURCH/9Nr5R0l5Tbr qRHQ== MIME-Version: 1.0 X-Received: by 10.152.37.138 with SMTP id y10mr18502950laj.40.1373602193658; Thu, 11 Jul 2013 21:09:53 -0700 (PDT) Received: by 10.152.133.171 with HTTP; Thu, 11 Jul 2013 21:09:53 -0700 (PDT) In-Reply-To: References: Date: Thu, 11 Jul 2013 21:09:53 -0700 Message-ID: Subject: Re: Unable to build lang/perl5.14 on Raspberry Pi From: Carl Trachte To: Alie Tan Content-Type: text/plain; charset=UTF-8 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: Fri, 12 Jul 2013 04:09:55 -0000 I wasn't able to build it from ports. My run stopped in a manner similar to yours. On a different image I had it (perl 5.14) running from a package I installed from here: http://dev.bsdrp.net/pkg/freebsd:10:arm:32:el:oabi:softfp/All/ I forget whether I installed the perl in his Latest folder or one of the ones in All. Either way, it was 5.14 and it worked. I don't know if it would serve the building of other ports and what not (apologies for my ignorance). Carl T. On Thu, Jul 11, 2013 at 8:07 PM, Alie Tan wrote: > Hi, > > Anyone having issue building lang/perl5.14 on Raspberry Pi with stock > gcc4.2.1? > > /usr/ports/lang/perl5.14 # make install clean ===> Building for > perl-5.14.4 LD_LIBRARY_PATH=/usr/ports/lang/perl5.14/work/perl-5.14.4 > ./miniperl -Ilib -Idist/Cwd -Idist/Cwd/lib pod/perlmodlib.PL -q longjmp > botch. *** Signal 6 Stop. make: stopped in > /usr/ports/lang/perl5.14/work/perl-5.14.4 *** Error code 1 Stop. make: > stopped in /usr/ports/lang/perl5.14 *** Error code 1 Stop. make: stopped > in /usr/ports/lang/perl5.14 > > > Regards, > Alie T > _______________________________________________ > 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 Fri Jul 12 05:40:17 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 22D87F46; Fri, 12 Jul 2013 05:40:17 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id C9CCC1AC1; Fri, 12 Jul 2013 05:40:16 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r6C5eG0U009825; Fri, 12 Jul 2013 01:40:16 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r6C5eF4E009818; Fri, 12 Jul 2013 05:40:15 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Jul 2013 05:40:15 GMT Message-Id: <201307120540.r6C5eF4E009818@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 05:40:17 -0000 TB --- 2013-07-12 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 04:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-12 04:10:19 - starting HEAD tinderbox run for arm/arm TB --- 2013-07-12 04:10:19 - cleaning the object tree TB --- 2013-07-12 04:10:19 - /usr/local/bin/svn stat /src TB --- 2013-07-12 04:10:23 - At svn revision 253248 TB --- 2013-07-12 04:10:24 - building world TB --- 2013-07-12 04:10:24 - CROSS_BUILD_TESTING=YES TB --- 2013-07-12 04:10:24 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-12 04:10:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-12 04:10:24 - SRCCONF=/dev/null TB --- 2013-07-12 04:10:24 - TARGET=arm TB --- 2013-07-12 04:10:24 - TARGET_ARCH=arm TB --- 2013-07-12 04:10:24 - TZ=UTC TB --- 2013-07-12 04:10:24 - __MAKE_CONF=/dev/null TB --- 2013-07-12 04:10:24 - cd /src TB --- 2013-07-12 04:10:24 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Fri Jul 12 04:10:32 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] ^~~~~~~~~~~~ /obj/arm.arm/src/tmp/usr/include/math.h:128:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /obj/arm.arm/src/tmp/usr/include/math.h:91:2: note: expanded from macro '__fp_type_select' __builtin_types_compatible_p(__typeof(x), long double), ld(x), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. *** Error code 1 Stop. make: stopped in /src/gnu/lib/libstdc++ *** Error code 1 Stop. make: stopped in /src/gnu/lib *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-12 05:40:15 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-12 05:40:15 - ERROR: failed to build world TB --- 2013-07-12 05:40:15 - 4327.65 user 679.95 system 5396.15 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jul 12 08:42:01 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3D5344CC; Fri, 12 Jul 2013 08:42:01 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id E3DCD1668; Fri, 12 Jul 2013 08:42:00 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r6C8g0Rm069310; Fri, 12 Jul 2013 04:42:00 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r6C8g0WE069309; Fri, 12 Jul 2013 08:42:00 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Jul 2013 08:42:00 GMT Message-Id: <201307120842.r6C8g0WE069309@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 08:42:01 -0000 TB --- 2013-07-12 07:10:22 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 07:10:22 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-12 07:10:22 - starting HEAD tinderbox run for arm/arm TB --- 2013-07-12 07:10:22 - cleaning the object tree TB --- 2013-07-12 07:12:13 - /usr/local/bin/svn stat /src TB --- 2013-07-12 07:12:17 - At svn revision 253253 TB --- 2013-07-12 07:12:18 - building world TB --- 2013-07-12 07:12:18 - CROSS_BUILD_TESTING=YES TB --- 2013-07-12 07:12:18 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-12 07:12:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-12 07:12:18 - SRCCONF=/dev/null TB --- 2013-07-12 07:12:18 - TARGET=arm TB --- 2013-07-12 07:12:18 - TARGET_ARCH=arm TB --- 2013-07-12 07:12:18 - TZ=UTC TB --- 2013-07-12 07:12:18 - __MAKE_CONF=/dev/null TB --- 2013-07-12 07:12:18 - cd /src TB --- 2013-07-12 07:12:18 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Fri Jul 12 07:12:25 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] ^~~~~~~~~~~~ /obj/arm.arm/src/tmp/usr/include/math.h:128:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /obj/arm.arm/src/tmp/usr/include/math.h:91:2: note: expanded from macro '__fp_type_select' __builtin_types_compatible_p(__typeof(x), long double), ld(x), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. *** Error code 1 Stop. make: stopped in /src/gnu/lib/libstdc++ *** Error code 1 Stop. make: stopped in /src/gnu/lib *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-12 08:42:00 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-12 08:42:00 - ERROR: failed to build world TB --- 2013-07-12 08:42:00 - 4342.61 user 732.15 system 5498.02 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jul 12 09:06:33 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C83D0252 for ; Fri, 12 Jul 2013 09:06:33 +0000 (UTC) (envelope-from iz-rpi03@hs-karlsruhe.de) Received: from smtp.hs-karlsruhe.de (smtp.HS-Karlsruhe.DE [193.196.64.25]) by mx1.freebsd.org (Postfix) with ESMTP id 8F86E1815 for ; Fri, 12 Jul 2013 09:06:33 +0000 (UTC) Received: from iz-wera01.hs-karlsruhe.de ([193.196.65.46]) by smtp.hs-karlsruhe.de with esmtp (Exim 4.80.1) (envelope-from ) id 1UxZJA-007qy6-Kx; Fri, 12 Jul 2013 11:06:32 +0200 X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.5 From: Ralf Wenk To: Alie Tan Subject: Re: Unable to build lang/perl5.14 on Raspberry Pi In-reply-to: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 12 Jul 2013 10:23:24 +0200 Message-Id: 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: Fri, 12 Jul 2013 09:06:33 -0000 I just compiled lang/perl5.16 with gccversion='4.2.1 20070831 patched [FreeBSD]' Ralf > Hi, > > Anyone having issue building lang/perl5.14 on Raspberry Pi with stock > gcc4.2.1? > > /usr/ports/lang/perl5.14 # make install clean ===> Building for > perl-5.14.4 LD_LIBRARY_PATH=/usr/ports/lang/perl5.14/work/perl-5.14.4 > ./miniperl -Ilib -Idist/Cwd -Idist/Cwd/lib pod/perlmodlib.PL -q longjmp > botch. *** Signal 6 Stop. make: stopped in > /usr/ports/lang/perl5.14/work/perl-5.14.4 *** Error code 1 Stop. make: > stopped in /usr/ports/lang/perl5.14 *** Error code 1 Stop. make: stopped > in /usr/ports/lang/perl5.14 > > > Regards, > Alie T From owner-freebsd-arm@FreeBSD.ORG Fri Jul 12 11:50:55 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6F3DAFB2; Fri, 12 Jul 2013 11:50:55 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 21C9E1F3F; Fri, 12 Jul 2013 11:50:54 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id r6CBos6e015657; Fri, 12 Jul 2013 07:50:54 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id r6CBosbb015656; Fri, 12 Jul 2013 11:50:54 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 12 Jul 2013 11:50:54 GMT Message-Id: <201307121150.r6CBosbb015656@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [head tinderbox] failure on arm/arm Precedence: bulk X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jul 2013 11:50:55 -0000 TB --- 2013-07-12 10:20:16 - tinderbox 2.10 running on freebsd-current.sentex.ca TB --- 2013-07-12 10:20:16 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2013-07-12 10:20:16 - starting HEAD tinderbox run for arm/arm TB --- 2013-07-12 10:20:16 - cleaning the object tree TB --- 2013-07-12 10:22:39 - /usr/local/bin/svn stat /src TB --- 2013-07-12 10:22:43 - At svn revision 253259 TB --- 2013-07-12 10:22:44 - building world TB --- 2013-07-12 10:22:44 - CROSS_BUILD_TESTING=YES TB --- 2013-07-12 10:22:44 - MAKEOBJDIRPREFIX=/obj TB --- 2013-07-12 10:22:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2013-07-12 10:22:44 - SRCCONF=/dev/null TB --- 2013-07-12 10:22:44 - TARGET=arm TB --- 2013-07-12 10:22:44 - TARGET_ARCH=arm TB --- 2013-07-12 10:22:44 - TZ=UTC TB --- 2013-07-12 10:22:44 - __MAKE_CONF=/dev/null TB --- 2013-07-12 10:22:44 - cd /src TB --- 2013-07-12 10:22:44 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Fri Jul 12 10:22:50 UTC 2013 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] ^~~~~~~~~~~~ /obj/arm.arm/src/tmp/usr/include/math.h:128:20: note: expanded from macro 'signbit' #define signbit(x) __fp_type_select(x, __signbitf, __signbit, __signbitl) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /obj/arm.arm/src/tmp/usr/include/math.h:91:2: note: expanded from macro '__fp_type_select' __builtin_types_compatible_p(__typeof(x), long double), ld(x), \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6 errors generated. *** Error code 1 Stop. make: stopped in /src/gnu/lib/libstdc++ *** Error code 1 Stop. make: stopped in /src/gnu/lib *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop. make: stopped in /src *** Error code 1 Stop in /src. TB --- 2013-07-12 11:50:54 - WARNING: /usr/bin/make returned exit code 1 TB --- 2013-07-12 11:50:54 - ERROR: failed to build world TB --- 2013-07-12 11:50:54 - 4337.52 user 714.24 system 5437.82 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full From owner-freebsd-arm@FreeBSD.ORG Fri Jul 12 23:04:59 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B639A423 for ; Fri, 12 Jul 2013 23:04:59 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 62D9215F2 for ; Fri, 12 Jul 2013 23:04:58 +0000 (UTC) Received: from server.rulingia.com (c220-239-237-213.belrs5.nsw.optusnet.com.au [220.239.237.213]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id r6CN4u2X068149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 13 Jul 2013 09:04:56 +1000 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.7/8.14.7) with ESMTP id r6CN4owa033177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sat, 13 Jul 2013 09:04:50 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.7/8.14.7/Submit) id r6CN4olc033176 for freebsd-arm@freebsd.org; Sat, 13 Jul 2013 09:04:50 +1000 (EST) (envelope-from peter) Date: Sat, 13 Jul 2013 09:04:50 +1000 From: Peter Jeremy To: freebsd-arm@freebsd.org Subject: Unable to build ports/ports-mgmt/pkg Message-ID: <20130712230450.GE23426@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) 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: Fri, 12 Jul 2013 23:04:59 -0000 --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Posted here because this seems to be ARM-specific] If I try to build ports/ports-mgmt/pkg on my RPi (running -current r252897 built with gcc), I get: root@rpi1:/usr/ports/ports-mgmt/pkg # make =3D=3D=3D> License BSD accepted by the user =3D=3D=3D> Fetching all distfiles required by pkg-1.1.4 for building =3D=3D=3D> Extracting for pkg-1.1.4 =3D=3D=3D> License BSD accepted by the user =3D=3D=3D> Fetching all distfiles required by pkg-1.1.4 for building =3D> SHA256 Checksum OK for pkg-1.1.4.tar.xz. =3D=3D=3D> Patching for pkg-1.1.4 =3D=3D=3D> Configuring for pkg-1.1.4 =3D=3D=3D> FreeBSD 10 autotools fix applied to /usr/obj/usr/ports/ports-m= gmt/pkg/work/pkg-1.1.4/external/libyaml/configure =3D=3D=3D> FreeBSD 10 autotools fix applied to /usr/obj/usr/ports/ports-m= gmt/pkg/work/pkg-1.1.4/external/libyaml/aclocal.m4 =3D=3D=3D> Building for pkg-1.1.4 =3D=3D=3D> License BSD accepted by the user =3D=3D=3D> Fetching all distfiles required by pkg-1.1.4 for building make: don't know how to make check-build-conflicts. Stop make: stopped in /usr/obj/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4 *** [/usr/obj/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4/work/.extract_done.pk= g._usr_local] Error code 2 make: stopped in /usr/obj/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4 1 error make: stopped in /usr/obj/usr/ports/ports-mgmt/pkg/work/pkg-1.1.4 *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/pkg *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/pkg root@rpi1:/usr/ports/ports-mgmt/pkg #=20 If I try the same thing on my amd64 system (running -current r252340), I ge= t: # make =3D=3D=3D> License BSD accepted by the user =3D=3D=3D> Fetching all distfiles required by pkg-1.1.4 for building =3D=3D=3D> Extracting for pkg-1.1.4 =3D=3D=3D> License BSD accepted by the user =3D=3D=3D> Fetching all distfiles required by pkg-1.1.4 for building =3D> SHA256 Checksum OK for pkg-1.1.4.tar.xz. =3D=3D=3D> Patching for pkg-1.1.4 =3D=3D=3D> Configuring for pkg-1.1.4 =3D=3D=3D> FreeBSD 10 autotools fix applied to /tank/obj/usr/ports/ports-= mgmt/pkg/work/pkg-1.1.4/external/libyaml/aclocal.m4 =3D=3D=3D> FreeBSD 10 autotools fix applied to /tank/obj/usr/ports/ports-= mgmt/pkg/work/pkg-1.1.4/external/libyaml/configure =3D=3D=3D> Building for pkg-1.1.4 --- Doxyfile --- sed -e 's,%%PKGVERSION%%,1.1.4,' Doxyfile.in > Doxyfile --- all --- =2E.. It looks like the RPi build is getting confused about what stage it's in. Note that manually running "make check-build-conflicts" succeeds. Does anyone have any ideas? --=20 Peter Jeremy --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlHgi5IACgkQ/opHv/APuIfgxwCcD322/LtAFuIZ2vEZMAmoz/MQ nRkAniQIo9bmKB01/Eiz6DzdyEN0atJG =05qs -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--