From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 9 11:06:45 2013 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 59FACD7E for ; Mon, 9 Sep 2013 11:06:45 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 46C5429E9 for ; Mon, 9 Sep 2013 11:06:45 +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 r89B6jWm002484 for ; Mon, 9 Sep 2013 11:06:45 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r89B6iME001775 for freebsd-embedded@FreeBSD.org; Mon, 9 Sep 2013 11:06:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Sep 2013 11:06:44 GMT Message-Id: <201309091106.r89B6iME001775@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-embedded@FreeBSD.org Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 11:06:45 -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 misc/52256 embedded [picobsd] picobsd build script does not read in user/s o kern/42728 embedded [picobsd] many problems in src/usr.sbin/ppp/* after c 2 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 9 19:50:20 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 696D5681 for ; Mon, 9 Sep 2013 19:50:20 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm23-vm1.bullet.mail.bf1.yahoo.com (nm23-vm1.bullet.mail.bf1.yahoo.com [98.139.213.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D46382FC6 for ; Mon, 9 Sep 2013 19:50:19 +0000 (UTC) Received: from [98.139.212.145] by nm23.bullet.mail.bf1.yahoo.com with NNFMP; 09 Sep 2013 19:50:17 -0000 Received: from [98.139.211.160] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 09 Sep 2013 19:50:17 -0000 Received: from [127.0.0.1] by smtp217.mail.bf1.yahoo.com with NNFMP; 09 Sep 2013 19:50:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1378756217; bh=Ee8E0qMtJi0q739yJmveF4Yy7uprKm1hkiYIy9yqlfo=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=iBm/WbEZ7oDVQkMU2RR3Rr/a/DAlCJ7Pd0IuwAuYu3/HXlOE6jwm8G81IrCa9pzWhkEEuV91Uxa1IHtzSMiJOwMPrgcmm2XiTG/E21jl6I75F8FdS66QtsltooLsPwgULTChJvmqVzNHCwJBsQ5vvjLhNil/rwNQRhhxivuDJVY= X-Yahoo-Newman-Id: 905225.29310.bm@smtp217.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: tpT1yGoVM1nk1mwX47vkyYCVRPxwQ3uwblYsx2n9WyEPvWs PfbY0DLqRTrrK1xTJE1yNRlr4ukU0kdf1tPqUcPh_JaQwGO0gLeKQbxKp4lk Kc8W5J7cf.LCBvGQDk0BdotHE29O7aJYa11Jth4k85YiOEgkacHRtsMGbkNI 1jkx9nXfQMvcqEGcCX_oo7OFTaCnMwVw6WfWc..AVIHhxl521t9CLwEtiQit Fe6mnSZC_pPPZ9NmwTsmkuOCln01sgZ2uiTpcBFDL_bws3v.I81cRJU2s5dk hj5MJphHAXp2fU3A4c4EdNoFo9sNN3Yq1xyOrKPcKBzYr0Bp0tEoi9BNIRgq oxiaF49pYra3jMoLxyHAV_RnDf3zMVrUfHW8cx_IThLMgdKnMcfOS8TU.H8C 7b_65OYtOqu.ftiq1DVWcbYG.xhBzafRQvJnyigB1bxmMOxjdJOSE.nJAD7Z udqIO1lRJM8DgqVcPN0en_9J1v4kRUlKQJDmfOi5bzQ.olHQ.4_.3uLZdYEr PGDu8OxbWdxKiDd7qeo4sK4TFoB0rhP_dwzQkmkmDJuezDFjHVgvGAzP_FL4 aWdZbwGCbKPxlTFaktu4w1iC3EaIhu8pG_73SNkm.UraNAoTcWT6ayBhRLIo pfd2GlHsekkaK_V0h7BB3qQpHPQOPGMTC8G_vA1QFHHvoftkmmLDtMEI6r4x N4ZeoJEvjTiob3539KB.VGvlZIoM- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [10.73.160.242] (sean_bruno@209.131.62.116 with ) by smtp217.mail.bf1.yahoo.com with SMTP; 09 Sep 2013 12:50:17 -0700 PDT Subject: Re: Buffalo Airstation build support [update] From: Sean Bruno To: sbruno@freebsd.org In-Reply-To: <1378494822.48894.9.camel@localhost> References: <1378494822.48894.9.camel@localhost> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-+l+uzGWBdSt3uQCyFl5y" Date: Mon, 09 Sep 2013 12:50:16 -0700 Message-ID: <1378756216.76655.12.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-embedded X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 19:50:20 -0000 --=-+l+uzGWBdSt3uQCyFl5y Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Fri, 2013-09-06 at 12:13 -0700, Sean Bruno wrote: >=20 > Implement support for Buffalo, "OpenWRT Friendly" Atheros Mips 24k > board > in the wifi builder. >=20 > I'm still working on the kernconf, but the wifi builder support will > create and image called /tftpboot/wzr300hp-tftp.bin that is accepted > by > the router when pushed in via tftp and uboot following the > instructions > at: > http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#oem.installation.using.t= he.tftp.method >=20 >=20 Thanks to Hiren doing the Picostation work, this Buffalo is now running! I'm going through the GPIO pins today, if I don't get any other outstanding issues. Item1: UBoot is not giving me a functional rootfs partition. I emulated the OpenWRT behavior to get it working. Item2: there are 2 16M Flash devices. Linux seems to concatenate them into one device. I'm looking at spi(4) to see if it has that type of capabilities. Item3: Unable to cfg_save. I don't think I have the cfg part mapped correctly: dd: /dev/map/cfg: Input/output error 0+1 records in 0+0 records out 0 bytes transferred in 0.250469 secs (0 bytes/sec) New kerconf: http://people.freebsd.org/~sbruno/WZR-300HP New kernconf.hints http://people.freebsd.org/~sbruno/WZR-300HP.hints dmesg: http://people.freebsd.org/~sbruno/buffalo_wzr_300hp_dmesg.txt FreeBSD Wifi Builder Diffs: http://people.freebsd.org/~sbruno/buffalo_airstation_support.txt --=-+l+uzGWBdSt3uQCyFl5y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJSLiZxAAoJEBkJRdwI6BaHXB0H/3gt9u3C2ejlp2qCIAnvDpkR pohus6FVuP0kZcudgDVp/bUZkyNnn4daur2vmPFnE0rNBGT4g6i/rGCLKq9whAme p9OY96YVhjfNUb2NJ9/BW2bmfedzd4pzkbtnCXo5CAcw77a+EF6u+/L5ja//hoOx pZjNdZrOkj2TQ4TpJ9UZHWMQhJjXlAu2RnZojiKGxKs0MqKOgAwdo0WMh6dv/6mX f8K0njrOLqz95yJAGYB4RcYq2JLjivZRtiiAarO0X0qdtGK8UK/84DyxEATOTGMr O8DchgEUhnI3pGQlVshEUd6ItzYEYbQ/PoOHlysW+0AbCr9hv/pDhHQfyTBGIdw= =m4IW -----END PGP SIGNATURE----- --=-+l+uzGWBdSt3uQCyFl5y-- From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 9 21:24:21 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 37ED4DDF; Mon, 9 Sep 2013 21:24:21 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A4335254D; Mon, 9 Sep 2013 21:24:20 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id ez12so4013357wid.9 for ; Mon, 09 Sep 2013 14:24:19 -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:message-id:subject :from:to:cc:content-type; bh=QFJkh8HoaKwhCECjoT/frg/yXN5GW94ALRoJmkdvDN8=; b=OLgSRNZ8fyeH87DF1V52OiCtertCXk/Dq3QwvTTfHWkmH1pQGX5b9ojPmcGwiBM3u0 F2Rao9JX0f9yNelgbe5bhZpBseqKKh/GEbWlIodyk2z5a7VPE7IEAM3HbKZZob4Ly9Hp 4yUnx3+AeRlf+PKq5zZQT6GrVukxVmL4ERHCJdhLqj7JIWIb/VrkfpQmG7ECWBHx9Lc3 i6169euJ15IU7sHr3o1fWIC2Qzw/4s97Ncb3T++GKYnd5g6XlfQlxYz6lzgnrufxqD6f 84MyozPPWHbb2EwwjCXKVH81rrC1wiT2/Cjd4HPW9EFaPYmLukVUt6QX9gKHxlGz/5lV gRtg== MIME-Version: 1.0 X-Received: by 10.180.87.38 with SMTP id u6mr10105467wiz.0.1378761859045; Mon, 09 Sep 2013 14:24:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.73.133 with HTTP; Mon, 9 Sep 2013 14:24:18 -0700 (PDT) In-Reply-To: <1378756216.76655.12.camel@localhost> References: <1378494822.48894.9.camel@localhost> <1378756216.76655.12.camel@localhost> Date: Mon, 9 Sep 2013 14:24:18 -0700 X-Google-Sender-Auth: zIFL91lvefGgwOeJ28iVBIQQ0a4 Message-ID: Subject: Re: Buffalo Airstation build support [update] From: Adrian Chadd To: Sean Bruno Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-embedded X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Sep 2013 21:24:21 -0000 Hm, can you use a static GEOM config to stripe them? -adrian On 9 September 2013 12:50, Sean Bruno wrote: > On Fri, 2013-09-06 at 12:13 -0700, Sean Bruno wrote: > > > > > Implement support for Buffalo, "OpenWRT Friendly" Atheros Mips 24k > > board > > in the wifi builder. > > > > I'm still working on the kernconf, but the wifi builder support will > > create and image called /tftpboot/wzr300hp-tftp.bin that is accepted > > by > > the router when pushed in via tftp and uboot following the > > instructions > > at: > > > http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h#oem.installation.using.the.tftp.method > > > > > > Thanks to Hiren doing the Picostation work, this Buffalo is now running! > > I'm going through the GPIO pins today, if I don't get any other > outstanding issues. > > Item1: UBoot is not giving me a functional rootfs partition. I > emulated the OpenWRT behavior to get it working. > > Item2: there are 2 16M Flash devices. Linux seems to concatenate them > into one device. I'm looking at spi(4) to see if it has that type of > capabilities. > > Item3: Unable to cfg_save. I don't think I have the cfg part mapped > correctly: > > dd: /dev/map/cfg: Input/output error > 0+1 records in > 0+0 records out > 0 bytes transferred in 0.250469 secs (0 bytes/sec) > > New kerconf: > http://people.freebsd.org/~sbruno/WZR-300HP > > New kernconf.hints > http://people.freebsd.org/~sbruno/WZR-300HP.hints > > dmesg: > http://people.freebsd.org/~sbruno/buffalo_wzr_300hp_dmesg.txt > > FreeBSD Wifi Builder Diffs: > http://people.freebsd.org/~sbruno/buffalo_airstation_support.txt > From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 10 22:39:30 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4595C65B for ; Tue, 10 Sep 2013 22:39:30 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm46-vm2.bullet.mail.gq1.yahoo.com (nm46-vm2.bullet.mail.gq1.yahoo.com [67.195.87.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E1E412397 for ; Tue, 10 Sep 2013 22:39:29 +0000 (UTC) Received: from [98.137.12.58] by nm46.bullet.mail.gq1.yahoo.com with NNFMP; 10 Sep 2013 22:39:23 -0000 Received: from [98.136.164.75] by tm3.bullet.mail.gq1.yahoo.com with NNFMP; 10 Sep 2013 22:39:23 -0000 Received: from [127.0.0.1] by smtp237.mail.gq1.yahoo.com with NNFMP; 10 Sep 2013 22:39:23 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1378852763; bh=tTNY3z3n5LDozX7ZSXeR2Gj1+5zafrOf5Y++35hX+uk=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=aGmceh8Cv6Ml71WLge17LrHhZ3jgQxP4TefXRzd2CDzKbTTSswCvjVoaYugd5invggHjDQOhuIlcJZTt507BzyDDpdkl0ch4z25DuXizM6VAyY+Cr9OtcvrJqFYLBoOhmkVWH5K7K/x6B8l+qnzYhsVk0TsrWBKtmb1ETpDxte4= X-Yahoo-Newman-Id: 82129.26784.bm@smtp237.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Vfv9Ec8VM1lJY1sszkkf9tOWyH31XgubhFgGp99inWRWo4T yXev325DhySTEg_4UNoKgIDwhnZskHuVfxKVCEkhLPiGQTHi2HQ9yLsPbkPm 9RJYyre.f7l3GhRfu9PDMRjlmF4gY2kzPiKjWNc9cxQePLbB6ZRkm7DQM5vt flFnI3FefRKP8Cpb1NUdN2p8XESayMU49ag8KcvHKXFnEE03fWJBLEBqT31a vu6qiTpL_UmLTaE0bSd2ayFb0GN6WCNXQlc2xxm2.X4IjNm05R2b_86OMNbu 4xlssOJwJYZCjqAIeCh1KlH4PAS3xuExj7Re0eEcWHYl8P_4TsUOAXj8opSO s4VZVU8ZGrEj1ch8VkSXLkLeZ_qUIL4IjFL45YNyQ0ptZJAZwP_Dm35fE8eV wEaMP.UDY5lcuNBuRL_3mMwQ4yIu35XYjfntUoSse9ANIXzQ78hP1_M..9S4 D83MmVKvu9MUkvlpkjySJpopf_7vzQ1lfyV1J9cfq8Pq.V73ZVHNMrWpCohX 65v0UlNzySFo.MWcTk7Viq9BZ_pMf7TvbeFcx73XS6a4fCDyFFNdFbKzJN0g kcktb9_1cszH1p7YPOEILOnOamzKkdV5iKwpEYkC0AavsHchU9qPbHzAh2_. F1n1_3of2Igk- X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [10.73.160.242] (sean_bruno@209.131.62.116 with ) by smtp237.mail.gq1.yahoo.com with SMTP; 10 Sep 2013 22:39:23 +0000 UTC Subject: [Patch] Add default /dev/gpioc0 device if not specified From: Sean Bruno To: freebsd-embedded Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-utyV5n9zgtBQCvvStT/U" Date: Tue, 10 Sep 2013 15:39:22 -0700 Message-ID: <1378852762.95925.30.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2013 22:39:30 -0000 --=-utyV5n9zgtBQCvvStT/U Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable http://people.freebsd.org/~sbruno/gpioctl_add_default.txt Because I'm lazy. Any objections? Sean --=-utyV5n9zgtBQCvvStT/U Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJSL5+aAAoJEBkJRdwI6BaH3ikH/il9itwXaKoOORxiBngubXVz OvZ0iQdbdrMvxOVXS3sP+FtJfcDdizGaX6skFnHe6bvQ9KULNaHGlHqWzbGf7907 DimvujKrwKb3T0Dv/NroWfB/CTJ1dDIHHLOQ5O53uHpEb4KrviHxdwBle6+C9kSB bXqyzHGmhS/EFvS/d8NngiHOZbgUiHTCwMfHfhNODAbEIdDlnENN9cuzpIx5HCSq gIhM0jjl3y+LdCoLQ6JwiB63j+wDqQMrfpaImLkNz92bQzQOq8026i7Q8fG9WL1/ TfTfKktfdJWevVZzZsMYwNQ9hXdaJAhLWnKybd4/rtvFv9Cv4xHbEsqEZjzV3Iw= =YoNh -----END PGP SIGNATURE----- --=-utyV5n9zgtBQCvvStT/U-- From owner-freebsd-embedded@FreeBSD.ORG Tue Sep 10 23:11:30 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F3D6BFDB; Tue, 10 Sep 2013 23:11:29 +0000 (UTC) (envelope-from gonzo@id.bluezbox.com) Received: from id.bluezbox.com (id.bluezbox.com [88.198.91.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A8BA3259B; Tue, 10 Sep 2013 23:11:29 +0000 (UTC) Received: from [207.81.161.55] (helo=[192.168.1.65]) by id.bluezbox.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1VJX5a-0008SW-Rx; Tue, 10 Sep 2013 16:11:20 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [Patch] Add default /dev/gpioc0 device if not specified From: Oleksandr Tymoshenko In-Reply-To: <1378852762.95925.30.camel@localhost> Date: Tue, 10 Sep 2013 16:11:00 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1378852762.95925.30.camel@localhost> To: sbruno@freebsd.org X-Mailer: Apple Mail (2.1508) 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-09-10, at 3:39 PM, Sean Bruno wrote: > http://people.freebsd.org/~sbruno/gpioctl_add_default.txt > > Because I'm lazy. Any objections? No objections, go for it. I ment to do it for quite some time but never got around to it. [...] 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] Cc: freebsd-embedded X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2013 23:11:30 -0000 On 2013-09-10, at 3:39 PM, Sean Bruno wrote: > http://people.freebsd.org/~sbruno/gpioctl_add_default.txt >=20 > Because I'm lazy. Any objections? No objections, go for it. I ment to do it for quite some time but never = got around to it. From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 02:50:31 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6FCEA90; Wed, 11 Sep 2013 02:50:31 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B77582ED3; Wed, 11 Sep 2013 02:50:30 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hj3so1549636wib.7 for ; Tue, 10 Sep 2013 19:50:29 -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=nnv9hQcUHMoBgd4wX4PZzZiBs7Sbg1vC06XxVEsd6rk=; b=udeLlf5kz24SCBTD1up79TghX39NcxYhvfJtkNCAVKQ704wnyzfaMQxIcd8lVPRXqI RgnRinNLq617EQOH1nhPD9gh3mXkYrgZFmQ5NXfZThS1QCMR9n/xXAWsKK6rQvuz581C RhX1R4b0Hk2h4OmjDpe1ZR65chZYwvj/z9j29izSeIaXtQV/ZMMdDgp1td5JVhdI5jzH cgKcmQCuLcZxN+7nWtDVL5iTpT6f53fitZa4IheqGz/wYqQ9AaRs9h5QjiqPqRktI9Ij kRCtj0jb/wuCxlYAuaxBer3Vqe1Zesx/VCEfX5cvBH9LEvztsOPEoFSfHBmX3Tb67vDr 0xnA== MIME-Version: 1.0 X-Received: by 10.181.12.16 with SMTP id em16mr15280484wid.36.1378867829173; Tue, 10 Sep 2013 19:50:29 -0700 (PDT) Received: by 10.216.75.140 with HTTP; Tue, 10 Sep 2013 19:50:29 -0700 (PDT) In-Reply-To: References: <1378852762.95925.30.camel@localhost> Date: Tue, 10 Sep 2013 23:50:29 -0300 Message-ID: Subject: Re: [Patch] Add default /dev/gpioc0 device if not specified From: Luiz Otavio O Souza To: Oleksandr Tymoshenko Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-embedded X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 02:50:31 -0000 On 10 September 2013 20:11, Oleksandr Tymoshenko wrote: > > On 2013-09-10, at 3:39 PM, Sean Bruno wrote: > > > http://people.freebsd.org/~sbruno/gpioctl_add_default.txt > > > > Because I'm lazy. Any objections? > > No objections, go for it. +1 Luiz From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 03:12:01 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D20752F for ; Wed, 11 Sep 2013 03:12:01 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2382C20AA for ; Wed, 11 Sep 2013 03:12:00 +0000 (UTC) Received: by mail-pd0-f174.google.com with SMTP id y13so8610132pdi.33 for ; Tue, 10 Sep 2013 20:12:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=bYdYcDZ1xigAIj1TRFlmxneKIMI+QbFk8yu6OVKsnEU=; b=JL+uOrYzLRzxpkzJhO8qpmhd/DYr4sryZIYG2iI/tiq0TKs8B1G/Kcgb6fko3WTdxc ClATdPtFiDAPhZUAfnElE46uOHgg6A5xtxlrOKiIHhzUxdiGZZ8tqX/41LVC5mKSsdKr U9vIFm8jfyJEhE5lfTV87xsLfzUPdMKo4ipdJ1y2/tW+3o4hItWaaVQgjTfJbUJgSyVl mL2j+sQ3W1NgsO0VtM3GqEcpGezQm6PW3sToPkKovkC4djdz1sQei2fyXF7b62f5zxGs /oiFuR5TRya3Nq+bv1+QOHdFsbsE4LN5iqbhUOwZe9MrVwCnoD5yf7vEClC8LE/LVmXt r14A== X-Gm-Message-State: ALoCoQlRG5e2nMThSw8XuiDES0GdkFaKFx12Z2yFkUJonZCDKXN5dSxnWpyf3/8RnOsAIQan2IVH X-Received: by 10.68.181.132 with SMTP id dw4mr661654pbc.179.1378869120043; Tue, 10 Sep 2013 20:12:00 -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 ia5sm26474440pbc.42.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 20:11:59 -0700 (PDT) Sender: Warner Losh Subject: Re: [Patch] Add default /dev/gpioc0 device if not specified Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Tue, 10 Sep 2013 21:11:57 -0600 Content-Transfer-Encoding: 7bit Message-Id: <754E5325-7199-4B2E-A4C0-AC4E3D92DB48@bsdimp.com> References: <1378852762.95925.30.camel@localhost> To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.1085) Cc: Oleksandr Tymoshenko , freebsd-embedded X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 03:12:01 -0000 On Sep 10, 2013, at 8:50 PM, Luiz Otavio O Souza wrote: > On 10 September 2013 20:11, Oleksandr Tymoshenko wrote: > >> >> On 2013-09-10, at 3:39 PM, Sean Bruno wrote: >> >>> http://people.freebsd.org/~sbruno/gpioctl_add_default.txt >>> >>> Because I'm lazy. Any objections? >> >> No objections, go for it. > > +1 +1 I'm too lazy to commit it for you :) Warner From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 03:12:59 2013 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 27BD0572 for ; Wed, 11 Sep 2013 03:12:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 018D120B4 for ; Wed, 11 Sep 2013 03:12:58 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id r10so8578603pdi.13 for ; Tue, 10 Sep 2013 20:12:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:content-type :content-transfer-encoding:subject:date:references:to:message-id :mime-version; bh=+XjpleOpP+oV71RAaZF7qbNyEUtAnP2nTEQrBZFzcVk=; b=jtoOAIaoso5Jln0vLHso4mHM0LnYE0osRVV7z4au3EsnIu1H1S+z9kFbQZ6Q4oMiBx gZs9ol4cJPTE5dTl7XZaOn0AoaRh9Of5o7yMxhIX2vfWCUfQ1wGhiJvJEzv9XWe5Rfg/ dXO5DjFzX/KSkSJ5HZWOQmu+bSyVequTuI/XySySgm8lIFtgfY2P9Bfa21Dsj7J0eeGg Q+cWqbxpm1N486x1ZnBHKFJt/AgvOC3/SE8TNQ58TJp+0qBNdLLzNxtHVDIB9YxQFdz7 Wl868RVvq0M7cGjcvIZATW0PRR7bsTWtOBWlg9YREGyuF7c4uNq4dhYpnNf+NtcJksok IGBw== X-Gm-Message-State: ALoCoQmfvWuIFCtgnchHrF4l3Wtd+bSyrA3XL7DKA1tc6naZ4HuM74cg5h4j4nW5MqTmbRS4JF/q X-Received: by 10.66.121.234 with SMTP id ln10mr1189813pab.20.1378869172790; Tue, 10 Sep 2013 20:12:52 -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 ia5sm26474440pbc.42.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Sep 2013 20:12:52 -0700 (PDT) Sender: Warner Losh From: Warner Losh Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Fwd: CVS commit: src/lib/csu Date: Tue, 10 Sep 2013 21:12:51 -0600 References: <24478.1378868144@splode.eterna.com.au> To: embedded@freebsd.org, "freebsd-arm@freebsd.org" Message-Id: <38D6DE4E-C4E3-4239-A198-51D6AC7711AC@bsdimp.com> Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 03:12:59 -0000 Perhaps we should do it too... I also like this elf-notes.html idea too... Warner Begin forwarded message: > From: matthew green > Date: September 10, 2013 8:55:44 PM MDT > To: source-changes-d@NetBSD.org > Cc: matt@NetBSD.org > Subject: re: CVS commit: src/lib/csu > > >> Module Name: src >> Committed By: matt >> Date: Tue Sep 10 16:45:33 UTC 2013 >> >> Modified Files: >> src/lib/csu: Makefile >> src/lib/csu/arch/earm: Makefile.inc >> src/lib/csu/common: Makefile.inc sysident.S sysident_assym.cf >> >> Log Message: >> Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH for >> which a program was compiled. > > please update this doc: > > http://www.netbsd.org/docs/kernel/elf-notes.html > > and perhaps remove the link to cgd while you're at it ;) > > thanks. > > > .mrg. From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 03:37:33 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5F965A64 for ; Wed, 11 Sep 2013 03:37:33 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 375DD221D for ; Wed, 11 Sep 2013 03:37:33 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rr4so8428828pbb.20 for ; Tue, 10 Sep 2013 20:37:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=CqNitHaEXF6ugWuRjjGdyyqc4ggdWaJpnBR2otANQo4=; b=p1GiHBncNAk/nLy7ZZYp/QAK5/KjWE0+7QsC22Ppp0B84PCcZfTB7Q/yl8WXVOeE5S rNqZouVlIAMUQTaVihdeHKdyYyH3PUHqIOlSWKowwL3W1viP8SLZMP7/Mhf/iZCNN5r6 Oe8SDqmSXewh2K7XkMXPHE+bbYyPMBii32FRk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=CqNitHaEXF6ugWuRjjGdyyqc4ggdWaJpnBR2otANQo4=; b=JAhP84R1+vne6+VDQkqFrlU2lKyCdjzeOCS8gEnECW+4jJ+8zQAMyRoUt/09nen+9X IngQtE6Cz1Oj7c0tq89gKFh9iLjd+r+6IeOv5lXZytOjwpR4C7pUDD/r/9xxUNizzXW7 Kt/Y66Z3kfAgLulMYbDFwOXTOy5E7UN1lCqws8SaJTVbWyMbFDgRptWvFFgqXON4WnzK 5gfI7XQAqivA4MKjOVSXdMAhXWJWgp8fiHXniJ7rTqBjDQgMd/3il+JCLfDA0s/Ao12j XUquhGrqkutgSEVwOeCSdD3obWU3jROu2wkG18FHBhf2lFoAiYaYZX92CLmc4pDTUmJt oywQ== X-Gm-Message-State: ALoCoQkq1vkV8tww4Cgst3munQ0J4bt1naIdYev4m6DbuFvgD61cqJcik1ejP8sraLAMFz4CSe3e X-Received: by 10.66.255.104 with SMTP id ap8mr1191076pad.53.1378870652746; Tue, 10 Sep 2013 20:37:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.6.3 with HTTP; Tue, 10 Sep 2013 20:37:01 -0700 (PDT) In-Reply-To: <1378852762.95925.30.camel@localhost> References: <1378852762.95925.30.camel@localhost> From: Eitan Adler Date: Tue, 10 Sep 2013 23:37:01 -0400 Message-ID: Subject: Re: [Patch] Add default /dev/gpioc0 device if not specified To: Sean Bruno Content-Type: text/plain; charset=UTF-8 Cc: freebsd-embedded X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 03:37:33 -0000 On Tue, Sep 10, 2013 at 6:39 PM, Sean Bruno wrote: > http://people.freebsd.org/~sbruno/gpioctl_add_default.txt > > Because I'm lazy. Any objections? lazyness is good. -- Eitan Adler From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 08:21:27 2013 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ED21F457; Wed, 11 Sep 2013 08:21:27 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from nibbler.fubar.geek.nz (nibbler.fubar.geek.nz [199.48.134.198]) by mx1.freebsd.org (Postfix) with ESMTP id CDBCD2C99; Wed, 11 Sep 2013 08:21:24 +0000 (UTC) Received: from bender.Home (97e5e46b.skybroadband.com [151.229.228.107]) by nibbler.fubar.geek.nz (Postfix) with ESMTPSA id 4E5A75DFFE; Wed, 11 Sep 2013 08:21:23 +0000 (UTC) Date: Wed, 11 Sep 2013 09:21:15 +0100 From: Andrew Turner To: Warner Losh Subject: Re: CVS commit: src/lib/csu Message-ID: <20130911092115.139716ce@bender.Home> In-Reply-To: <38D6DE4E-C4E3-4239-A198-51D6AC7711AC@bsdimp.com> References: <24478.1378868144@splode.eterna.com.au> <38D6DE4E-C4E3-4239-A198-51D6AC7711AC@bsdimp.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/7I9gKVU3Ja9d2NG/i=iDi=g" Cc: "freebsd-arm@freebsd.org" , embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 08:21:28 -0000 --MP_/7I9gKVU3Ja9d2NG/i=iDi=g Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, 10 Sep 2013 21:12:51 -0600 Warner Losh wrote: > Perhaps we should do it too... I also like this elf-notes.html idea > too... Something like the patch I've attached from the thread at [1]? It adds a MACHINE_ARCH note type. Andrew [1] http://lists.freebsd.org/pipermail/freebsd-arch/2013-July/014482.html > Warner > > Begin forwarded message: > > > From: matthew green > > Date: September 10, 2013 8:55:44 PM MDT > > To: source-changes-d@NetBSD.org > > Cc: matt@NetBSD.org > > Subject: re: CVS commit: src/lib/csu > > > > > >> Module Name: src > >> Committed By: matt > >> Date: Tue Sep 10 16:45:33 UTC 2013 > >> > >> Modified Files: > >> src/lib/csu: Makefile > >> src/lib/csu/arch/earm: Makefile.inc > >> src/lib/csu/common: Makefile.inc sysident.S > >> sysident_assym.cf > >> > >> Log Message: > >> Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH > >> for which a program was compiled. > > > > please update this doc: > > > > http://www.netbsd.org/docs/kernel/elf-notes.html > > > > and perhaps remove the link to cgd while you're at it ;) > > > > thanks. > > > > > > .mrg. > > _______________________________________________ > 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" > > --MP_/7I9gKVU3Ja9d2NG/i=iDi=g Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=machine_arch_note.diff Index: lib/csu/common/crtbrand.c =================================================================== --- lib/csu/common/crtbrand.c (revision 252514) +++ lib/csu/common/crtbrand.c (working copy) @@ -64,3 +64,17 @@ .name = NOTE_FREEBSD_VENDOR, .desc = __FreeBSD_version }; + +static const struct { + int32_t namesz; + int32_t descsz; + int32_t type; + char name[sizeof(NOTE_FREEBSD_VENDOR)]; + char desc[sizeof(MACHINE_ARCH)]; +} archtag __attribute__ ((section (NOTE_SECTION), aligned(4))) __used = { + .namesz = sizeof(NOTE_FREEBSD_VENDOR), + .descsz = sizeof(MACHINE_ARCH), + .type = ARCH_NOTETYPE, + .name = NOTE_FREEBSD_VENDOR, + .desc = MACHINE_ARCH +}; Index: lib/csu/common/notes.h =================================================================== --- lib/csu/common/notes.h (revision 252514) +++ lib/csu/common/notes.h (working copy) @@ -34,5 +34,6 @@ #define ABI_NOTETYPE 1 #define CRT_NOINIT_NOTETYPE 2 +#define ARCH_NOTETYPE 3 #endif --MP_/7I9gKVU3Ja9d2NG/i=iDi=g-- From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 19:38:13 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 16BE64E9; Wed, 11 Sep 2013 19:38:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E2E8D22D8; Wed, 11 Sep 2013 19:38:12 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id B0452B946; Wed, 11 Sep 2013 15:38:11 -0400 (EDT) From: John Baldwin To: freebsd-embedded@freebsd.org Subject: Re: CVS commit: src/lib/csu Date: Wed, 11 Sep 2013 10:49:50 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: <24478.1378868144@splode.eterna.com.au> <38D6DE4E-C4E3-4239-A198-51D6AC7711AC@bsdimp.com> <20130911092115.139716ce@bender.Home> In-Reply-To: <20130911092115.139716ce@bender.Home> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201309111049.51003.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 11 Sep 2013 15:38:12 -0400 (EDT) Cc: "freebsd-arm@freebsd.org" , embedded@freebsd.org, Andrew Turner X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 19:38:13 -0000 On Wednesday, September 11, 2013 4:21:15 am Andrew Turner wrote: > On Tue, 10 Sep 2013 21:12:51 -0600 > Warner Losh wrote: > > > Perhaps we should do it too... I also like this elf-notes.html idea > > too... > > Something like the patch I've attached from the thread at [1]? It adds > a MACHINE_ARCH note type. bapt@ will want this for pkgng. It might be nice to go whole hog and store the entire triple (MACHINE, MACHINE_ARCH, MACHINE_CPUARCH). -- John Baldwin From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 19:51:08 2013 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id ECD6DD16 for ; Wed, 11 Sep 2013 19:51:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BAB2D23D1 for ; Wed, 11 Sep 2013 19:51:08 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id c10so20728411ieb.3 for ; Wed, 11 Sep 2013 12:51:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=yGIfMjAVRR5BvVdoYNkZ1fITvq8DCGABPN6kR8EgnIU=; b=UF8kpYhoLbzyBaPLdEKz1BD26ubl2v2VU2zUJgmd/68fXZA7CxsQGbuPnwjyCcOSEv YdSSMeU+4kTycjPunWHIwr3X3YDNck7bPEkhY6YPC7DX+eMYRqKK5/KtmcGLlUzW5ImF 47FYiV1eMvUtdfDTsaWxDrJGNoUIfR7ydPDmrnNlswgepy5P8dei958nImIJnG9YE0kU y0Wsi+GKBt6SJhTaFyDGcLrA2z7JXjSFbE/AWDBIM5Ok3zu7zUITnBea8oIDRK+yx8YD 6ZiFQy8D+6S+BFXrKkoAhEnZFKwyng5pEeh6flKNaqGh5ogvKq6csrlmRRbdpMzwmXpD OVXw== X-Gm-Message-State: ALoCoQmQTmuF6DJB7uYMRaV26YUTNlTe78tLg/p0vwBt54umaYV9EBYrLw9xEBn2PBrDwP8c0bkN X-Received: by 10.50.106.102 with SMTP id gt6mr12504869igb.46.1378929067829; Wed, 11 Sep 2013 12:51:07 -0700 (PDT) Received: from [10.30.101.53] ([209.117.142.2]) by mx.google.com with ESMTPSA id ih14sm4255842igb.7.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 11 Sep 2013 12:51:07 -0700 (PDT) Sender: Warner Losh Subject: Re: CVS commit: src/lib/csu Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <201309111049.51003.jhb@freebsd.org> Date: Wed, 11 Sep 2013 13:51:04 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <18371758-4A05-4C7B-AF7B-AD07AC9529F0@bsdimp.com> References: <24478.1378868144@splode.eterna.com.au> <38D6DE4E-C4E3-4239-A198-51D6AC7711AC@bsdimp.com> <20130911092115.139716ce@bender.Home> <201309111049.51003.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1085) Cc: "freebsd-arm@freebsd.org" , embedded@freebsd.org, freebsd-embedded@freebsd.org, Andrew Turner X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 19:51:09 -0000 On Sep 11, 2013, at 8:49 AM, John Baldwin wrote: > On Wednesday, September 11, 2013 4:21:15 am Andrew Turner wrote: >> On Tue, 10 Sep 2013 21:12:51 -0600 >> Warner Losh wrote: >>=20 >>> Perhaps we should do it too... I also like this elf-notes.html idea >>> too... >>=20 >> Something like the patch I've attached from the thread at [1]? It = adds >> a MACHINE_ARCH note type. >=20 > bapt@ will want this for pkgng. It might be nice to go whole hog and = store > the entire triple (MACHINE, MACHINE_ARCH, MACHINE_CPUARCH). MACHINE is just the kernel interface, might be only mildly useful to = pkgng. MACHINE_ARCH is useful since it uniquely defines the ABI we're using, by = definition. MACHINE_CPUARCH can be derived from MACHINE_ARCH and isn't actually = useful to pkgng at all. It is a build-time value to select which files = from our tree to build with. Warner From owner-freebsd-embedded@FreeBSD.ORG Wed Sep 11 19:56:52 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A7485E25; Wed, 11 Sep 2013 19:56:52 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1BD2400; Wed, 11 Sep 2013 19:56:51 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 0BD825837F; Wed, 11 Sep 2013 14:56:45 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id S8IIJz6OFn9X; Wed, 11 Sep 2013 14:56:44 -0500 (CDT) Received: from terminus.icecube.wisc.edu (terminus.icecube.wisc.edu [172.16.223.97]) by mail.icecube.wisc.edu (Postfix) with ESMTP id DCC465830A; Wed, 11 Sep 2013 14:56:44 -0500 (CDT) Message-ID: <5230CAFC.3060503@freebsd.org> Date: Wed, 11 Sep 2013 14:56:44 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130906 Thunderbird/17.0.8 MIME-Version: 1.0 To: Warner Losh Subject: Re: CVS commit: src/lib/csu References: <24478.1378868144@splode.eterna.com.au> <38D6DE4E-C4E3-4239-A198-51D6AC7711AC@bsdimp.com> <20130911092115.139716ce@bender.Home> <201309111049.51003.jhb@freebsd.org> <18371758-4A05-4C7B-AF7B-AD07AC9529F0@bsdimp.com> In-Reply-To: <18371758-4A05-4C7B-AF7B-AD07AC9529F0@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" , embedded@freebsd.org, freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 19:56:52 -0000 On 09/11/13 14:51, Warner Losh wrote: > On Sep 11, 2013, at 8:49 AM, John Baldwin wrote: > >> On Wednesday, September 11, 2013 4:21:15 am Andrew Turner wrote: >>> On Tue, 10 Sep 2013 21:12:51 -0600 >>> Warner Losh wrote: >>> >>>> Perhaps we should do it too... I also like this elf-notes.html idea >>>> too... >>> Something like the patch I've attached from the thread at [1]? It adds >>> a MACHINE_ARCH note type. >> bapt@ will want this for pkgng. It might be nice to go whole hog and store >> the entire triple (MACHINE, MACHINE_ARCH, MACHINE_CPUARCH). > MACHINE is just the kernel interface, might be only mildly useful to pkgng. > MACHINE_ARCH is useful since it uniquely defines the ABI we're using, by definition. > MACHINE_CPUARCH can be derived from MACHINE_ARCH and isn't actually useful to pkgng at all. It is a build-time value to select which files from our tree to build with. > > Warner > So the last time we had this discussion, the consensus was that we add a sysctl with the list of all supported emulations in terms of MACHINE_ARCH. This is probably about 10 minutes of work aside from how to handle Linux emulations. Is this worth doing for 10.0? -Nathan From owner-freebsd-embedded@FreeBSD.ORG Thu Sep 12 19:10:00 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A2B8982C for ; Thu, 12 Sep 2013 19:10:00 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm48-vm1.bullet.mail.bf1.yahoo.com (nm48-vm1.bullet.mail.bf1.yahoo.com [216.109.115.156]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 275802D70 for ; Thu, 12 Sep 2013 19:10:00 +0000 (UTC) Received: from [66.196.81.174] by nm48.bullet.mail.bf1.yahoo.com with NNFMP; 12 Sep 2013 19:07:12 -0000 Received: from [68.142.230.72] by tm20.bullet.mail.bf1.yahoo.com with NNFMP; 12 Sep 2013 19:07:12 -0000 Received: from [127.0.0.1] by smtp229.mail.bf1.yahoo.com with NNFMP; 12 Sep 2013 19:07:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1379012832; bh=1fNEFVRrfDRHSg2SH5eNCbOosLmeJleuLIyr+lRP3vs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=sbVxxqcfdEu2a+rqqt/8NNHB2bcOG7aGXG0js+qTwBdCbwupud8OEeQMl9O6YumXSWHarNkz3fqfYB5zVDwm7FszEBLQ/Vdm5QL5we6yD6hFLkWzYYIGiPoEGFXZvZLZPIAB8qRdDvPiLN0JXpd69e8zr2OjRrJ7DUDG9z5KusA= X-Yahoo-Newman-Id: 859868.39418.bm@smtp229.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: qWhjv1QVM1le.32pXbI79rM3onSTawNF6UP8z8DsxI53QyK MV.xyX50JvU8cl1B2Gdw_SZQv5XXwH7npxqA5gtpaDOXyoGyVHNCFcnEc.up Z_69VoY3zUFB1HDeqwHp6CFnKF4rG_zCcc1yB4gmkTm5CbkR9TfMrGzv1r6p 0s2vR1PvAdcKKSrpbi0qr9Gy.8FBQgFYsNT6fyfbeWiiOrEZlXTo6apKLJnD ezrZqkHKXCWM8rBGpBOhRB3poxV36b6eoSCtJSkfkW1MbB6V4OCj5wM1BEM8 EVhMdoW2kKbVEsPWDZ670li5.r_ECyrKWXdX_F7G2v2JlfiYRNO8rremsB06 vo1VybsQv_v9ZJczsiWwYDwjEXgcusR7iqG3YXg0q_NScAhA5qd98EMt2.8l RDtlXj8zR4nYDRS4TjQlOnUwuhxGhv2gB11UeIBFcjlDwyVCbsW_bi94f87s SABIbt3UbaozD18mXvzRCsTfsn9esxGmyYZ3VRep0rOpFhy.cpSri1iifREI RWBC_PRHF5CKWi8XwYjRalw5Cf84fDBRFJ4JzRvo8grixZzl1Qkv16JEYQDW oFHvIfPzV.F029ySx_FVAtIZ8YKdIDxQ92R3mDk4jroR848dCtSEr1bwsG.8 fVau5g.E8Tx_S1lVLMyTcm6qtPO2jBN0g X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [10.32.76.233] (sean_bruno@72.254.14.75 with ) by smtp229.mail.bf1.yahoo.com with SMTP; 12 Sep 2013 19:07:12 +0000 UTC Subject: [CFT] gpio.4 From: Sean Bruno To: freebsd-embedded Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Td/LzidkFcv+r/k/EVbz" Date: Thu, 12 Sep 2013 11:36:00 -0700 Message-ID: <1379010960.1635.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Sep 2013 19:10:00 -0000 --=-Td/LzidkFcv+r/k/EVbz Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable http://people.freebsd.org/~sbruno/gpio.4.txt More or less, this is a braindump of what I learned when mucking around with the Atheros 24k mips hardware. PLEASE review this as I've found a bunch of *other* GPIO interfaces strewn about the code and tried to document what I found. I *only* went into detail on the hints and interfaces that I've directly been playing with, but I documented the existence of other GPIO interfaces on ARM/MIPS/POWERPC I don't think its fair to ask people to learn this *every* time when reading the code. :-) Thanks to gjb and adrian for some initial review, comments and feedback. Sean --=-Td/LzidkFcv+r/k/EVbz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (FreeBSD) iQEcBAABAgAGBQJSMgmGAAoJEBkJRdwI6BaHnw0H/RrGckenycsweQ6tSKiOHd2o kFm4Um5mXaVHinOh6xs8sga0wapmxA5z0z/mBNXpP82QC6kjKqFvzeHssbXpJeTg 6e88XkNQPaXqD+jVhNVV8rfWvHOBOm8IGZN3xVyIoCcm8yDrU5BmLj9QfgcaZyqI 8Xt6Zh0zGCrmiZHD+cQ3BjZ7sc4pUin9A2uPERqwDnSBr3bLU0ONwQDkBGLICQqx N93+ENYjcvRwkxW8EYMDXrO5JtNnByTNV7QVp5johVSwU6GtvgfwafV+YvJtV9Ld Va5ovRJtF7l/zDRW+gXGR+1TBk75HnucaoOGgDuQJATlIV+zm6VxmJuMGC1VmEs= =byFH -----END PGP SIGNATURE----- --=-Td/LzidkFcv+r/k/EVbz--