From owner-freebsd-embedded@FreeBSD.ORG Mon Jan 9 11:07:01 2012 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6831B106564A for ; Mon, 9 Jan 2012 11:07:01 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9E58FC24 for ; Mon, 9 Jan 2012 11:07:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q09B71Na042139 for ; Mon, 9 Jan 2012 11:07:01 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q09B70Vr042137 for freebsd-embedded@FreeBSD.org; Mon, 9 Jan 2012 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Jan 2012 11:07:00 GMT Message-Id: <201201091107.q09B70Vr042137@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 Cc: Subject: Current problem reports assigned to freebsd-embedded@FreeBSD.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2012 11:07:01 -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 Wed Jan 11 06:24:33 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C301D106564A; Wed, 11 Jan 2012 06:24:33 +0000 (UTC) (envelope-from rea@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id 6D4CC8FC13; Wed, 11 Jan 2012 06:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codelabs.ru; s=two; h=Sender:Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=IgxnitJxIsnZHhEmbFeBujpa2Zh5xbZSDIIWW9t3yNo=; b=ZX8FhbbALdmGk34BdzQ/D4ST/h1R1CnhXpbFe7Vh+UEd+E7MScI8Gm/sp6bv+azOc/sXZOG4bS5Mb+eZLP0qSY9AZzdcBVs/Jm5z+QSMRC91zqFHUvf10A3hoQdOJiLAL8wiUGS6I4g6o7EKtWraNkQCgue7MNHhgZaD5suHKL918TL2u8OFV/Rfmb5AFma5azuZJhPHqraHXuUfgSCeFYUmLRgVkPPVUosmabsxNz5CzL5ovWSoVsg9RgULWL3fPC86kj7Nn+Mmxsp4+MAMXYgY7FkMKJZ8p1482bSPLb0TECaQO711y9qt11Cq3MoIul2DcTxZZ8SzgnSOTuOiog==; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1RkrLc-000EMY-VN; Wed, 11 Jan 2012 09:07:45 +0300 Date: Wed, 11 Jan 2012 10:07:42 +0400 From: Eygene Ryabinkin To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-embedded@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="N6OI5UwltL9FF6Nb" Content-Disposition: inline Sender: rea@codelabs.ru Cc: Subject: Anyone is currently using the rc_fast_and_loose rc.conf variable? X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 06:24:33 -0000 --N6OI5UwltL9FF6Nb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Good day. Sorry for cross-posting, but this question is really belongs to all three lists. Crawling over the rc.d scripts I had found the rc_fast_and_loose variable that affects the way rc.d scripts are processed inside /etc/rc script. There are some problems with certain rc.d script and this variable: they are described in my post to freebsd-rc@, http://lists.freebsd.org/pipermail/freebsd-rc/2011-December/002617.html The question is: does anyone uses rc_fast_and_loose? It seems to be undocumented and not referenced in any scripts and/or manuals. There are at least two ways of proceeding: fix rc.d scripts to work with fast_and_loose and just to eliminate it from rc.subr, so it will be good to know if the second way won't hurt anyone. Thanks. --=20 Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] --N6OI5UwltL9FF6Nb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iF4EAREIAAYFAk8NJy4ACgkQFq+eroFS7PsS6QEAl/9GSxkeQJbrLOxhG7qXYCF/ QDFzE+vXd4kouHq59b8BAIhu2QkyAo2/h+SLx/J/qd5cydJywlXukJtW0DtskgGc =6N7m -----END PGP SIGNATURE----- --N6OI5UwltL9FF6Nb-- From owner-freebsd-embedded@FreeBSD.ORG Wed Jan 11 20:46:02 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6D5106566B for ; Wed, 11 Jan 2012 20:46:02 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id C70778FC0A for ; Wed, 11 Jan 2012 20:46:01 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:1d3e:4d27:b4ee:e1e2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 0FF404AC2D for ; Thu, 12 Jan 2012 00:46:00 +0400 (MSK) Date: Thu, 12 Jan 2012 00:45:55 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <615267607.20120112004555@serebryakov.spb.ru> To: freebsd-embedded@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Stripping down embedded kernel -- MII PHY & ATA sub-drivers X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 20:46:02 -0000 Hello, Freebsd-embedded. Is it possible to build kernel with only needed MII and ATA (legacy ATA) drivers? For example, my Sokeris net5501 has only one MII PHY (for vrX, Generic IEEE 802.3u media interface) and only one ATA controller (AMD CS5536 UDMA100 controller). So it doesn't need all these sub-drivers, and it looks like a lot of objects (several megabytes). --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-embedded@FreeBSD.ORG Wed Jan 11 20:49:34 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F720106566B for ; Wed, 11 Jan 2012 20:49:34 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 581418FC08 for ; Wed, 11 Jan 2012 20:49:34 +0000 (UTC) Received: from omta06.emeryville.ca.mail.comcast.net ([76.96.30.51]) by qmta06.emeryville.ca.mail.comcast.net with comcast id LLNB1i00616AWCUA6LcQeA; Wed, 11 Jan 2012 20:36:24 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta06.emeryville.ca.mail.comcast.net with comcast id LLcN1i01H4NgCEG8SLcPGJ; Wed, 11 Jan 2012 20:36:23 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q0BKaKns027790 for ; Wed, 11 Jan 2012 13:36:20 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: freebsd-embedded@freebsd.org Content-Type: text/plain Date: Wed, 11 Jan 2012 13:36:20 -0700 Message-Id: <1326314180.2419.100.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: make buildenv tweak X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 20:49:34 -0000 The following little patch enhances 'make buildenv' quite a bit for me. Once I have a cross-build environment built out that I'm going to be working in for a while, I hand-copy a statically-linked bash into chroot/bin/ and export BUILDENV_SHELL=/bin/bash and life is good. Of course it also works with /bin/csh if that's your favorite. Index: Makefile.inc1 =================================================================== RCS file: /local/base/FreeBSD-CVS/src/Makefile.inc1,v retrieving revision 1.721 diff -u -p -r1.721 Makefile.inc1 --- Makefile.inc1 6 Jan 2012 00:34:27 -0000 1.721 +++ Makefile.inc1 11 Jan 2012 20:24:22 -0000 @@ -19,6 +19,7 @@ # list # TARGET="machine" to crossbuild world for a different machine type # TARGET_ARCH= may be required when a TARGET supports multiple endians +# BUILDENV_SHELL= shell to launch for the buildenv target (def:/bin/sh) # # The intended user-driven targets are: @@ -556,9 +557,10 @@ buildworld_epilogue: buildenvvars: @echo ${WMAKEENV:Q} +BUILDENV_SHELL?=/bin/sh buildenv: @echo Entering world for ${TARGET_ARCH}:${TARGET} - @cd ${.CURDIR} && env ${WMAKEENV} sh || true + @cd ${.CURDIR} && env ${WMAKEENV} ${BUILDENV_SHELL} || true TOOLCHAIN_TGTS= ${WMAKE_TGTS:N_depend:Neverything:Nbuild32} toolchain: ${TOOLCHAIN_TGTS} From owner-freebsd-embedded@FreeBSD.ORG Wed Jan 11 21:13:10 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78C4D106564A; Wed, 11 Jan 2012 21:13:10 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 38A0C8FC14; Wed, 11 Jan 2012 21:13:10 +0000 (UTC) Received: by iazz13 with SMTP id z13so2433016iaz.13 for ; Wed, 11 Jan 2012 13:13:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UyH1F3rdMbg/Ae2UcJlX8oF3CdblWRZ+14OHU+X+B0k=; b=phmZkM5qjPkFQz/rV0G/KwZWGXnLtCYzyaa4tMFNkHKs/tAikJrX5NbN/RO5TrFN3A 92rOdMYik/pvWUtLxkTaZn3vEEIsksUHRlY2ufs1GxXrLPIDsXQycFbEYXzOGd3Zug+H pzfu6zdLdroltMLCdn7gi97TiCoyEFtyUFPbE= MIME-Version: 1.0 Received: by 10.42.246.71 with SMTP id lx7mr619479icb.54.1326316389895; Wed, 11 Jan 2012 13:13:09 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.42.243.65 with HTTP; Wed, 11 Jan 2012 13:13:09 -0800 (PST) In-Reply-To: <615267607.20120112004555@serebryakov.spb.ru> References: <615267607.20120112004555@serebryakov.spb.ru> Date: Wed, 11 Jan 2012 13:13:09 -0800 X-Google-Sender-Auth: i9KBoeUb6nGCRFg1ETTEQfRfhfY Message-ID: From: Adrian Chadd To: lev@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-embedded@freebsd.org Subject: Re: Stripping down embedded kernel -- MII PHY & ATA sub-drivers X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 21:13:10 -0000 Hi, 2012/1/11 Lev Serebryakov : > Hello, Freebsd-embedded. > > =A0Is it possible to build kernel with only needed MII and ATA (legacy > ATA) drivers? For example, my Sokeris net5501 has only one MII PHY (for > vrX, Generic IEEE 802.3u media interface) and only one ATA controller > (AMD CS5536 UDMA100 controller). So it doesn't need all these > sub-drivers, and it looks like a lot of objects (several megabytes). It _should_ only be including the phy's you require, right? (eg, if you only include drivers as modules, and "miibus", it shouldn't link in any files.) In terms of ATA controller though - that's a good question. I haven't yet looked at breaking out the ATA controller code into chipset stuff. Maybe that's a good mini project for you :) Adrian From owner-freebsd-embedded@FreeBSD.ORG Wed Jan 11 22:03:54 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6B46106566B; Wed, 11 Jan 2012 22:03:54 +0000 (UTC) (envelope-from ray@ddteam.net) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 058A08FC0A; Wed, 11 Jan 2012 22:03:53 +0000 (UTC) Received: by eekd49 with SMTP id d49so613932eek.13 for ; Wed, 11 Jan 2012 14:03:53 -0800 (PST) Received: by 10.14.10.213 with SMTP id 61mr322394eev.102.1326319432819; Wed, 11 Jan 2012 14:03:52 -0800 (PST) Received: from rnote.ddteam.net (222-234-133-95.pool.ukrtel.net. [95.133.234.222]) by mx.google.com with ESMTPS id s16sm11134281eef.2.2012.01.11.14.03.50 (version=SSLv3 cipher=OTHER); Wed, 11 Jan 2012 14:03:51 -0800 (PST) Date: Thu, 12 Jan 2012 00:03:43 +0200 From: Aleksandr Rybalko To: Adrian Chadd Message-Id: <20120112000343.83ba5630.ray@ddteam.net> In-Reply-To: References: <615267607.20120112004555@serebryakov.spb.ru> X-Mailer: Sylpheed 3.1.2 (GTK+ 2.24.5; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: freebsd-embedded@freebsd.org Subject: Re: Stripping down embedded kernel -- MII PHY & ATA sub-drivers X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jan 2012 22:03:54 -0000 On Wed, 11 Jan 2012 13:13:09 -0800 Adrian Chadd wrote: > Hi, > > 2012/1/11 Lev Serebryakov : > > Hello, Freebsd-embedded. > > > >  Is it possible to build kernel with only needed MII and ATA (legacy > > ATA) drivers? For example, my Sokeris net5501 has only one MII PHY > > (for vrX, Generic IEEE 802.3u media interface) and only one ATA > > controller (AMD CS5536 UDMA100 controller). So it doesn't need all > > these sub-drivers, and it looks like a lot of objects (several > > megabytes). > > It _should_ only be including the phy's you require, right? (eg, if > you only include drivers as modules, and "miibus", it shouldn't link > in any files.) > > In terms of ATA controller though - that's a good question. I haven't > yet looked at breaking out the ATA controller code into chipset stuff. > Maybe that's a good mini project for you :) Hi embeddeders! :) All that good info located in sys/conf/files PHY's defined as: phydrrv.c miibus | phydrv so if you need only one phy, enable device mii # instead of miibus device phydrv same for ata/ahci (I don't remember exact, just look into that file) also some interesting info for such case may by located in sys/conf/files.${target_arch} > > > Adrian > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to > "freebsd-embedded-unsubscribe@freebsd.org" WBW -- Aleksandr Rybalko