From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 8 11:06:53 2010 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 5B9C81065676 for ; Mon, 8 Feb 2010 11:06:53 +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 4B0618FC0A for ; Mon, 8 Feb 2010 11:06:53 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o18B6rj9087337 for ; Mon, 8 Feb 2010 11:06:53 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o18B6qxj087335 for freebsd-embedded@FreeBSD.org; Mon, 8 Feb 2010 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Feb 2010 11:06:52 GMT Message-Id: <201002081106.o18B6qxj087335@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, 08 Feb 2010 11:06:53 -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/136889 embedded [nanobsd] [path] nanobsd error reporting and other ref o misc/135588 embedded [nanobsd] simple patch for adding amd64 support 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 4 problems total. From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 8 21:14:06 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 590C71065672 for ; Mon, 8 Feb 2010 21:14:06 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id ECDE98FC24 for ; Mon, 8 Feb 2010 21:14:05 +0000 (UTC) Received: from lightning.wonkity.com (lightning.wonkity.com [10.0.0.8]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o18LE5Rq002882 for ; Mon, 8 Feb 2010 14:14:05 -0700 (MST) (envelope-from wblock@lightning.wonkity.com) Received: from lightning.wonkity.com (localhost [127.0.0.1]) by lightning.wonkity.com (8.14.4/8.14.4) with ESMTP id o18LE56p041367 for ; Mon, 8 Feb 2010 14:14:05 -0700 (MST) (envelope-from wblock@lightning.wonkity.com) Received: from localhost (wblock@localhost) by lightning.wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id o18LE5SJ041364 for ; Mon, 8 Feb 2010 14:14:05 -0700 (MST) (envelope-from wblock@lightning.wonkity.com) Date: Mon, 8 Feb 2010 14:14:05 -0700 (MST) From: Warren Block To: embedded@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [10.0.0.1]); Mon, 08 Feb 2010 14:14:05 -0700 (MST) Cc: Subject: Arduino on FreeBSD, native and WINE 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, 08 Feb 2010 21:14:06 -0000 Some notes on installing the Arduino environment, either native or in WINE. The native install seems quite a bit faster than WINE, maybe due to my jdk and avr-gcc being built with cputype set. But the WINE install is functional. A fresh Seeduino would not talk to the FreeBSD system initally. RX and LEDs flashed, sometimes continuously, but no response. After connecting to a Windows system and downloading a single sketch, it now works fine on FreeBSD. Just finicky, hidden firmware update to FTDI chip by the Windows driver, user error? No idea. ---- Arduino FreeBSD Native Setup Required ports (RUN_DEPENDS): java/jdk16 (probably diablo-jre16 would be adequate) comms/rxtx devel/avr-binutils devel/avrdude devel/avr-libc Download Linux file (3.7M): http://arduino.googlecode.com/files/arduino-0018.tgz Extract to a convenient directory, let's say ~/ ln -sf /usr/local/jdk1.6.0/jre/lib/i386/librxtxSerial.so ~/arduino-0018/lib/ mkdir -p ~/arduino-0018/hardware/tools/avr/ ln -sf /usr/local/bin/ ~/arduino-0018/hardware/tools/avr/bin ln -sf /usr/local/etc/ ~/arduino-0018/hardware/tools/avr/etc Add user to dialer group for access to serial port: (as root) pw usermod myuser -G dialer To run, ~/arduino/arduino Edit settings in ~/.arduino/preferences.txt: serial.port=/dev/cuaU0 launcher=/usr/local/bin/firefox Use cuaU0 above for USB, or cuau0 for a real serial port. ---- Arduino in WINE on FreeBSD Required ports: emulators/wine (well, obviously) Download Windows file (85.8M): http://arduino.googlecode.com/files/arduino-0018.zip Unzip ~/.wine/drive_c Create a link to the serial port: ln -sf /dev/cuaU0 ~/.wine/dosdevices/com4 Add user to dialer group for access to serial port: (as root) pw usermod myuser -G dialer To run, wine ~/.wine/drive_c/arduino-0018/arduino.exe -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 8 21:43:29 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEA531065672 for ; Mon, 8 Feb 2010 21:43:29 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (l95h.icis.pcz.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 3B3FA8FC1D for ; Mon, 8 Feb 2010 21:43:28 +0000 (UTC) Received: from freebsd.czest.pl (l95h.icis.pcz.pl [212.87.224.105]) by freebsd.czest.pl (8.14.2/8.14.2) with ESMTP id o18LvPRX075619; Mon, 8 Feb 2010 22:57:25 +0100 (CET) (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.2/8.14.2/Submit) id o18LvPvW075618; Mon, 8 Feb 2010 22:57:25 +0100 (CET) (envelope-from wkoszek) Date: Mon, 8 Feb 2010 22:57:25 +0100 From: "Wojciech A. Koszek" To: Warren Block Message-ID: <20100208215725.GE97611@FreeBSD.org> Mail-Followup-To: Warren Block , embedded@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-3.0 (freebsd.czest.pl [212.87.224.105]); Mon, 08 Feb 2010 22:57:25 +0100 (CET) Cc: embedded@freebsd.org Subject: Re: Arduino on FreeBSD, native and WINE 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, 08 Feb 2010 21:43:29 -0000 On Mon, Feb 08, 2010 at 02:14:05PM -0700, Warren Block wrote: > Some notes on installing the Arduino environment, either native or in WINE. > Warren, Would you be willing to put following information in the FreeBSD wiki? -- Wojciech A. Koszek wkoszek@FreeBSD.org http://FreeBSD.czest.pl/~wkoszek/ From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 8 22:12:38 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3ACC51065695; Mon, 8 Feb 2010 22:12:38 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D15688FC1C; Mon, 8 Feb 2010 22:12:37 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o18MCbon003133; Mon, 8 Feb 2010 15:12:37 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o18MCbNi003130; Mon, 8 Feb 2010 15:12:37 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 8 Feb 2010 15:12:37 -0700 (MST) From: Warren Block To: "Wojciech A. Koszek" In-Reply-To: <20100208215725.GE97611@FreeBSD.org> Message-ID: References: <20100208215725.GE97611@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Mon, 08 Feb 2010 15:12:37 -0700 (MST) Cc: embedded@freebsd.org Subject: Re: Arduino on FreeBSD, native and WINE 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, 08 Feb 2010 22:12:38 -0000 On Mon, 8 Feb 2010, Wojciech A. Koszek wrote: > On Mon, Feb 08, 2010 at 02:14:05PM -0700, Warren Block wrote: >> Some notes on installing the Arduino environment, either native or in WINE. >> > > Would you be willing to put following information in the FreeBSD wiki? Sure. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 8 22:32:40 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DEEC10656F6 for ; Mon, 8 Feb 2010 22:32:40 +0000 (UTC) (envelope-from henrik@brixandersen.dk) Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id D5AED8FC1C for ; Mon, 8 Feb 2010 22:32:39 +0000 (UTC) Received: from druadan.brixandersen.dk (0x55534f5f.adsl.cybercity.dk [85.83.79.95]) by solow.pil.dk (Postfix) with ESMTPA id 3C6851CC0E3 for ; Mon, 8 Feb 2010 23:17:34 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) From: Henrik Brix Andersen In-Reply-To: <20100208215725.GE97611@FreeBSD.org> Date: Mon, 8 Feb 2010 23:17:34 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3D589B8A-3F93-423F-BAFC-676006A2DB72@brixandersen.dk> References: <20100208215725.GE97611@FreeBSD.org> To: embedded@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: Subject: Re: Arduino on FreeBSD, native and WINE 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, 08 Feb 2010 22:32:40 -0000 On Feb 8, 2010, at 22:57, Wojciech A. Koszek wrote: > On Mon, Feb 08, 2010 at 02:14:05PM -0700, Warren Block wrote: >> Some notes on installing the Arduino environment, either native or in = WINE. >>=20 >=20 > Warren, >=20 > Would you be willing to put following information in the FreeBSD wiki? Sounds like a FreeBSD port for this would be easy to do... Brix --=20 Henrik Brix Andersen From owner-freebsd-embedded@FreeBSD.ORG Tue Feb 9 00:05:06 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23A04106566B for ; Tue, 9 Feb 2010 00:05:06 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D11458FC0C for ; Tue, 9 Feb 2010 00:05:05 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1904xsc003572; Mon, 8 Feb 2010 17:04:59 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1904xef003569; Mon, 8 Feb 2010 17:04:59 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 8 Feb 2010 17:04:59 -0700 (MST) From: Warren Block To: Henrik Brix Andersen In-Reply-To: <3D589B8A-3F93-423F-BAFC-676006A2DB72@brixandersen.dk> Message-ID: References: <20100208215725.GE97611@FreeBSD.org> <3D589B8A-3F93-423F-BAFC-676006A2DB72@brixandersen.dk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Mon, 08 Feb 2010 17:04:59 -0700 (MST) Cc: embedded@freebsd.org Subject: Re: Arduino on FreeBSD, native and WINE 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: Tue, 09 Feb 2010 00:05:06 -0000 On Mon, 8 Feb 2010, Henrik Brix Andersen wrote: > On Feb 8, 2010, at 22:57, Wojciech A. Koszek wrote: >> On Mon, Feb 08, 2010 at 02:14:05PM -0700, Warren Block wrote: >>> Some notes on installing the Arduino environment, either native or in WINE. >>> >> >> Warren, >> >> Would you be willing to put following information in the FreeBSD wiki? > > Sounds like a FreeBSD port for this would be easy to do... That's what I had in mind while writing notes. A meta-port for the tools would be easy. A full port including the java stuff brings up questions of where to put everything. Somebody better at ports might have no trouble. Oh, and I should add that it seems you have to cd to the arduino directory before running it, or give a --directory option: cd ~/arduino ./arduino or ~/arduino/arduino --directory ~/arduino -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Tue Feb 9 15:27:58 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C32106566B for ; Tue, 9 Feb 2010 15:27:58 +0000 (UTC) (envelope-from sjk4015@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 5979E8FC13 for ; Tue, 9 Feb 2010 15:27:58 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so964673qwd.7 for ; Tue, 09 Feb 2010 07:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=XiOMtHDbQfRzVH84+16bHc374RshgcqS5sFIEFc42a4=; b=WouTByxnbhhI/aurOJLBERkqz5j7Cq72k+BMilwrcBov5ibIbNrZ7jKjIsbjlIjGXh RAt+biMc8itucM5OxPxUlSyTIhiI/JFWIsRpP+SG4YTHZgmoyv4gB8srvMXwGE6xIPsP v4Q1VIRBoCEqxoq2rojJGlZSvaDfVDCku7cRg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=AkNoyojLHVStalhd/9gcQZSqPkidhMoeTFEscT5w9KNYA0f0U9uBBAuWDm9Ts4NCGJ JYbWu2dh6VPRp+/f9QJNjFMdg28tTGfKmBR6H4cPHWEqyqN0N19QkoWfP8bPGvR/etdG PS36Y/cEmsDMYzjVfz/vauDShucv+NwQ5R3yQ= Received: by 10.224.59.70 with SMTP id k6mr3143129qah.243.1265727829180; Tue, 09 Feb 2010 07:03:49 -0800 (PST) Received: from stevenmac.hudson-trading.com (smtp.hudson-trading.com [209.249.190.9]) by mx.google.com with ESMTPS id 8sm476089qwj.11.2010.02.09.07.03.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Feb 2010 07:03:47 -0800 (PST) Sender: Steven Kreuzer Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) From: Steven Kreuzer In-Reply-To: Date: Tue, 9 Feb 2010 10:03:43 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20100208215725.GE97611@FreeBSD.org> <3D589B8A-3F93-423F-BAFC-676006A2DB72@brixandersen.dk> To: embedded@freebsd.org X-Mailer: Apple Mail (2.1077) Cc: Subject: Re: Arduino on FreeBSD, native and WINE 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: Tue, 09 Feb 2010 15:27:58 -0000 On Feb 8, 2010, at 7:04 PM, Warren Block wrote: > On Mon, 8 Feb 2010, Henrik Brix Andersen wrote: >=20 >> On Feb 8, 2010, at 22:57, Wojciech A. Koszek wrote: >>> On Mon, Feb 08, 2010 at 02:14:05PM -0700, Warren Block wrote: >>>> Some notes on installing the Arduino environment, either native or = in WINE. >>>>=20 >>>=20 >>> Warren, >>>=20 >>> Would you be willing to put following information in the FreeBSD = wiki? >>=20 >> Sounds like a FreeBSD port for this would be easy to do... Making a port of the Arduino IDE is something that has been on my list = for a while now. I maintain the processing port, which is essentially = the same thing so it shouldn't be to difficult to do. If you are interested in giving it a try, please let me know and we can = collaborate together on this. -- Steven Kreuzer http://www.exit2shell.com/~skreuzer From owner-freebsd-embedded@FreeBSD.ORG Tue Feb 9 18:50:38 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE12D1065670 for ; Tue, 9 Feb 2010 18:50:38 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 835DE8FC08 for ; Tue, 9 Feb 2010 18:50:38 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o19Ioblo010820 for ; Tue, 9 Feb 2010 11:50:37 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o19Iob1I010817 for ; Tue, 9 Feb 2010 11:50:37 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Tue, 9 Feb 2010 11:50:37 -0700 (MST) From: Warren Block To: embedded@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Tue, 09 Feb 2010 11:50:38 -0700 (MST) Cc: Subject: simavr 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: Tue, 09 Feb 2010 18:50:39 -0000 Speaking of things that need to be ported... New AVR simulator: http://gitorious.org/simavr LCD 44780 output (SDL/OpenGL!): http://gitorious.org/~luki/simavr/lukis-simavr/commit/74f174c6a1339e88b85a14da3f832e38ddb1d75b Running on OpenBSD: http://groups.google.com/group/simavr/browse_thread/thread/f87336c3e0f05e9 -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Thu Feb 11 01:33:04 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84C0210657D1 for ; Thu, 11 Feb 2010 01:33:04 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 430F68FC15 for ; Thu, 11 Feb 2010 01:33:03 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1B1X3rs017971 for ; Wed, 10 Feb 2010 18:33:03 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1B1X3mk017968 for ; Wed, 10 Feb 2010 18:33:03 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 10 Feb 2010 18:33:03 -0700 (MST) From: Warren Block To: embedded@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Wed, 10 Feb 2010 18:33:03 -0700 (MST) Cc: Subject: Preliminary Arduino port for testing 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: Thu, 11 Feb 2010 01:33:04 -0000 Thanks to Steven Kreuzer's help, this is a first pass at an Arduino port for FreeBSD. To test, first read the important note about avr-libc below. Then: mkdir /usr/ports/devel/arduino cd /usr/ports/devel/arduino fetch http://www.wonkity.com/~wblock/ardu/arduport.tgz tar xvzf arduport.tgz ...examine the files for quality and safety... make install clean Dependencies include Java 1.6, avr-gcc, and avr-libc, so it may take a while. ---- Important note: At present, devel/avr-libc is broken due to an upstream error that affects building the documents. If you comment out BROKEN= in the Makefile and build with -DNOPORTDOCS, it should build. Or... I have a patch that fixes the doc build and also makes it a config option. You can turn off that option to avoid building the docs and all of the doc tool dependencies. Of course, then you don't get the docs. To use the avr-libc patch: fetch http://www.wonkity.com/~wblock/ardu/patch-avr-libc cd /usr/ports patch < patch-avr-libc cd /usr/ports/devel/avr-libc ...examine the files for quality and safety... make config make install clean As usual, all of this seems to work for me, but I may have missed something horribly important. No warranties or guarantees. If symptoms persist, see your doctor. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Thu Feb 11 03:45:11 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D8A5106566C for ; Thu, 11 Feb 2010 03:45:10 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A73AF8FC0C for ; Thu, 11 Feb 2010 03:45:08 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1B3j7Ff018470 for ; Wed, 10 Feb 2010 20:45:07 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1B3j7Do018467 for ; Wed, 10 Feb 2010 20:45:07 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 10 Feb 2010 20:45:07 -0700 (MST) From: Warren Block To: embedded@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Wed, 10 Feb 2010 20:45:08 -0700 (MST) Cc: Subject: Re: Preliminary Arduino port for testing 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: Thu, 11 Feb 2010 03:45:11 -0000 Just added a missing dependency for avrdude, so those two of you who already downloaded this should download it again. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Thu Feb 11 16:14:35 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C86A106566B for ; Thu, 11 Feb 2010 16:14:35 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 99BE48FC16 for ; Thu, 11 Feb 2010 16:14:34 +0000 (UTC) Received: from gw ([192.168.10.10] helo=terran) by dlink.ua with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NfbQs-0003hO-Ic for embedded@freebsd.org; Thu, 11 Feb 2010 17:58:22 +0200 Date: Thu, 11 Feb 2010 18:02:34 +0200 From: Alexandr Rybalko To: embedded@freebsd.org Message-Id: <20100211180234.6015b7c6.ray@dlink.ua> Organization: D-Link X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Thu__11_Feb_2010_18_02_34_+0200_vyowsOPRKBOS2a.j" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: GEOM_MTD 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: Thu, 11 Feb 2010 16:14:35 -0000 This is a multi-part message in MIME format. --Multipart=_Thu__11_Feb_2010_18_02_34_+0200_vyowsOPRKBOS2a.j Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, in attachment GEOM module to support MTD partitioning. All systems in which I have seen support MTD partitions do it via values in source code. For more convenient change the partitions, I use hints. Example hints file also in attachment. In this example one of partitions (0x00040000-0x003e0000) split by keyword '--PaCkImGs--' into two partitions ("kernel" and "roots") Others think things will be clear from the file itself. -- Alexandr Rybalko --Multipart=_Thu__11_Feb_2010_18_02_34_+0200_vyowsOPRKBOS2a.j Content-Type: application/octet-stream; name="BCM5354.hints" Content-Disposition: attachment; filename="BCM5354.hints" Content-Transfer-Encoding: base64 aGludC5zaWJhLjAuYXQ9Im5leHVzMCIKaGludC5zaWJhLjAubWFkZHI9IjB4MTgwMDAwMDAiCmhp bnQuc2liYS4wLm1zaXplPSIweDEwMDAwIgoKIyB1YXJ0MApoaW50LnVhcnQuMC5hdD0ic2liYV9j YzAiCmhpbnQudWFydC4wLm1hZGRyPSIweDE4MDAwMzAwIgpoaW50LnVhcnQuMC5tc2l6ZT0iMHg4 IgpoaW50LnVhcnQuMC5mbGFncz0iMHgzMCIKaGludC51YXJ0LjAuaXJxPTAKCgoKaGludC5tdGQu MC5hdD0iY2ZpZDAiCmhpbnQubXRkLjAuc3RhcnQ9MHgwMDAwMDAwMApoaW50Lm10ZC4wLmVuZD0w eDAwMDMwMDAwCmhpbnQubXRkLjAubmFtZT0iY2ZlIgpoaW50Lm10ZC4wLnJlYWRvbmx5PTEKCgpo aW50Lm10ZC4xLmF0PSJjZmlkMCIKaGludC5tdGQuMS5zdGFydD0weDAwMDMwMDAwCmhpbnQubXRk LjEuZW5kPTB4MDAwNDAwMDAKaGludC5tdGQuMS5uYW1lPSJyZ2RiIgoKCmhpbnQubXRkLjIuYXQ9 ImNmaWQwIgpoaW50Lm10ZC4yLnN0YXJ0PTB4MDAwNDAwMDAKaGludC5tdGQuMi5lbmQ9MHgwMDNl MDAwMApoaW50Lm10ZC4yLm5hbWU9InVwZ3JhZGUiCgpoaW50Lm10ZC4zLmF0PSJjZmlkMCIKaGlu dC5tdGQuMy5zdGFydD0weDAwM2Y4MDAwCmhpbnQubXRkLjMuZW5kPTB4MDA0MDAwMDAKaGludC5t dGQuMy5uYW1lPSJudnJhbSIKCmhpbnQubXRkLjQuYXQ9ImNmaWQwIgpoaW50Lm10ZC40LnN0YXJ0 PTB4MDAzZjYwMDAKaGludC5tdGQuNC5lbmQ9MHgwMDNmODAwMApoaW50Lm10ZC40Lm5hbWU9ImJk Y2ZnIgoKaGludC5tdGQuNS5hdD0iY2ZpZDAiCmhpbnQubXRkLjUuc3RhcnQ9MHgwMDA0MDAwMApo aW50Lm10ZC41Lm5hbWU9Imtlcm5lbCIKaGludC5tdGQuNS5vZmZzZXQ9Ijk2IgpoaW50Lm10ZC41 LnNlYXJjaD0iZW5kIgpoaW50Lm10ZC41LnNlYXJjaGtleT0iLS1QYUNrSW1Hcy0tIgpoaW50Lm10 ZC41LnNlYXJjaHN0YXJ0PSI1MjQzODQiICMgOCA2NEsgYmxvY2tzICsgQWxwaGFIZWFkZXJTaXpl KCA5NkIgKQpoaW50Lm10ZC41LnNlYXJjaHN0ZXA9IjY1NTM2IgoKCmhpbnQubXRkLjYuYXQ9ImNm aWQwIgpoaW50Lm10ZC42LmVuZD0weDAwM2UwMDAwCmhpbnQubXRkLjYubmFtZT0icm9vdGZzIgpo aW50Lm10ZC42Lm9mZnNldD0iMzIiCmhpbnQubXRkLjYuc2VhcmNoPSJzdGFydCIKaGludC5tdGQu Ni5zZWFyY2hrZXk9Ii0tUGFDa0ltR3MtLSIKaGludC5tdGQuNi5zZWFyY2hzdGFydD0iNTI0Mzg0 IiAjIDggNjRLIGJsb2NrcyArIEFscGhhSGVhZGVyU2l6ZSggOTZCICkKaGludC5tdGQuNi5zZWFy Y2hzdGVwPSI2NTUzNiIKCgpoaW50Lm10ZC43LmF0PSJjZmlkMCIKaGludC5tdGQuNy5zdGFydD0w eDAwM2UwMDAwCmhpbnQubXRkLjcuZW5kPTB4MDAzZjAwMDAKaGludC5tdGQuNy5uYW1lPSJsYW5n cGFjayIKCg== --Multipart=_Thu__11_Feb_2010_18_02_34_+0200_vyowsOPRKBOS2a.j-- From owner-freebsd-embedded@FreeBSD.ORG Thu Feb 11 21:01:42 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A250F106566C for ; Thu, 11 Feb 2010 21:01:42 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 46ACA8FC0C for ; Thu, 11 Feb 2010 21:01:42 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o1BL1f9X022543 for ; Thu, 11 Feb 2010 14:01:41 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o1BL1fA7022540 for ; Thu, 11 Feb 2010 14:01:41 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 11 Feb 2010 14:01:41 -0700 (MST) From: Warren Block To: embedded@freebsd.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Thu, 11 Feb 2010 14:01:41 -0700 (MST) Cc: Subject: Re: Preliminary Arduino port for testing 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: Thu, 11 Feb 2010 21:01:42 -0000 ...and now there's been an update and fix to the avr-libc port. Updated information in the readme.txt: http://www.wonkity.com/~wblock/ardu/readme.txt -Warren Block * Rapid City, South Dakota USA From owner-freebsd-embedded@FreeBSD.ORG Fri Feb 12 17:15:54 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D520106568B for ; Fri, 12 Feb 2010 17:15:54 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id BF5728FC1F for ; Fri, 12 Feb 2010 17:15:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= mime-version:content-transfer-encoding:message-id:content-type: to:from:subject:date; q=dns/txt; s=beta; bh=FoMpyjngzu28qknuollU 0v+aBjwd/fLh/AW3tvolV/A=; b=rPjZoqhSdhyN/Xw8tA7euj0NYKDHA1wRh6Xk E4SE28xLxf+kpvFo8PuU6LJyom2OC3pydtKmLDRedy0CBpiHVtT801MMV4ooV7aD 0RDLhvzHKHuXtwK2QnhxQxBFREHut7P74ayfkYxwN6aXEONI9K8jqGGeY89jACDM Lxku1SY= Received: (qmail 18399 invoked from network); 12 Feb 2010 17:49:10 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@109.192.134.207) by mail.ud03.udmedia.de with ESMTPA; 12 Feb 2010 17:49:10 +0100 Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <61B7DB7D-CFF0-4691-9693-E289A685A183@jump-ing.de> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: embedded@freebsd.org From: Markus Hitter Date: Fri, 12 Feb 2010 17:52:44 +0100 X-Mailer: Apple Mail (2.753.1) Cc: Subject: Catching /etc/rc's output 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: Fri, 12 Feb 2010 17:15:54 -0000 Hello all, it's seemingly such a basic question, but I can't find a way to redirect /etc/rc's output to a file. Editing /etc/syslog.conf changed nothing, /var/log/messages still stops where /etc/rc should begin. I can see the output on the console, but that's far to fast for the human eye. Short of hooking up a serial console to catch the log on a second machine, is there a way to get this output logged into a file? Thanks, Markus - - - - - - - - - - - - - - - - - - - Dipl. Ing. Markus Hitter http://www.jump-ing.de/ From owner-freebsd-embedded@FreeBSD.ORG Fri Feb 12 20:39:20 2010 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 1EAE9106566B for ; Fri, 12 Feb 2010 20:39:20 +0000 (UTC) (envelope-from fb-embedded@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id A4A738FC1A for ; Fri, 12 Feb 2010 20:39:19 +0000 (UTC) Received: from mx1.psconsult.nl (localhost [80.89.238.138]) by mx1.psconsult.nl (8.14.2/8.14.2) with ESMTP id o1CKdDrq079213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Feb 2010 21:39:18 +0100 (CET) (envelope-from fb-embedded@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.2/8.14.2/Submit) id o1CKdCcf079212; Fri, 12 Feb 2010 21:39:12 +0100 (CET) (envelope-from fb-embedded@psconsult.nl) Date: Fri, 12 Feb 2010 21:39:12 +0100 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org, embedded@freebsd.org Message-ID: <20100212203912.GA79178@psconsult.nl> Mail-Followup-To: freebsd-embedded@freebsd.org, embedded@freebsd.org References: <61B7DB7D-CFF0-4691-9693-E289A685A183@jump-ing.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61B7DB7D-CFF0-4691-9693-E289A685A183@jump-ing.de> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: Catching /etc/rc's output 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: Fri, 12 Feb 2010 20:39:20 -0000 On Fri, Feb 12, 2010 at 05:52:44PM +0100, Markus Hitter wrote: > > Hello all, > > it's seemingly such a basic question, but I can't find a way to redirect > /etc/rc's output to a file. Editing /etc/syslog.conf changed nothing, > /var/log/messages still stops where /etc/rc should begin. I can see the > output on the console, but that's far to fast for the human eye. Short of > hooking up a serial console to catch the log on a second machine, is there > a way to get this output logged into a file? Try 'dmesg -a' > Thanks, > Markus Paul Schenkeveld From owner-freebsd-embedded@FreeBSD.ORG Fri Feb 12 20:59:28 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 464EB1065672 for ; Fri, 12 Feb 2010 20:59:28 +0000 (UTC) (envelope-from fb-embedded@psconsult.nl) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.freebsd.org (Postfix) with ESMTP id CFFD28FC0C for ; Fri, 12 Feb 2010 20:59:27 +0000 (UTC) Received: from mx1.psconsult.nl (localhost [80.89.238.138]) by mx1.psconsult.nl (8.14.2/8.14.2) with ESMTP id o1CKdDrq079213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 12 Feb 2010 21:39:18 +0100 (CET) (envelope-from fb-embedded@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.2/8.14.2/Submit) id o1CKdCcf079212; Fri, 12 Feb 2010 21:39:12 +0100 (CET) (envelope-from fb-embedded@psconsult.nl) Date: Fri, 12 Feb 2010 21:39:12 +0100 From: Paul Schenkeveld To: freebsd-embedded@freebsd.org, embedded@freebsd.org Message-ID: <20100212203912.GA79178@psconsult.nl> Mail-Followup-To: freebsd-embedded@freebsd.org, embedded@freebsd.org References: <61B7DB7D-CFF0-4691-9693-E289A685A183@jump-ing.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61B7DB7D-CFF0-4691-9693-E289A685A183@jump-ing.de> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: Catching /etc/rc's output 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: Fri, 12 Feb 2010 20:59:28 -0000 On Fri, Feb 12, 2010 at 05:52:44PM +0100, Markus Hitter wrote: > > Hello all, > > it's seemingly such a basic question, but I can't find a way to redirect > /etc/rc's output to a file. Editing /etc/syslog.conf changed nothing, > /var/log/messages still stops where /etc/rc should begin. I can see the > output on the console, but that's far to fast for the human eye. Short of > hooking up a serial console to catch the log on a second machine, is there > a way to get this output logged into a file? Try 'dmesg -a' > Thanks, > Markus Paul Schenkeveld From owner-freebsd-embedded@FreeBSD.ORG Sat Feb 13 02:22:13 2010 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 686131065672 for ; Sat, 13 Feb 2010 02:22:13 +0000 (UTC) (envelope-from mah@jump-ing.de) Received: from mail.ud03.udmedia.de (ud03.udmedia.de [194.117.254.43]) by mx1.freebsd.org (Postfix) with ESMTP id C7CB98FC0A for ; Sat, 13 Feb 2010 02:22:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=mail.ud03.udmedia.de; h= in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to; q=dns/txt; s= beta; bh=lVqQ7TrEzYbMF7NeeLYSeJqxc46sGXZcJIHgOUa/B5w=; b=t3tVMRy pj6HEInyfytBY8EM4bbHztcg749ugy+sqshEXTh1GjfvyXTG5Rn5+kNW4Nee5PUW ee3P8btE947VZkpI+gHgV731+kWWk++BctHTOoPAWqbZJ5gQqRcyolqnYJiCFQDO 0hSo+mj2Ma2copdvrHyQEwnIgfKtuAT8K/Wk= Received: (qmail 23795 invoked from network); 13 Feb 2010 03:22:08 +0100 Received: from unknown (HELO ?10.0.0.50?) (ud03?291p1@109.192.134.207) by mail.ud03.udmedia.de with ESMTPA; 13 Feb 2010 03:22:08 +0100 In-Reply-To: <20100212203912.GA79178@psconsult.nl> References: <61B7DB7D-CFF0-4691-9693-E289A685A183@jump-ing.de> <20100212203912.GA79178@psconsult.nl> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Markus Hitter Date: Sat, 13 Feb 2010 03:25:41 +0100 To: Paul Schenkeveld X-Mailer: Apple Mail (2.753.1) Cc: embedded@freebsd.org Subject: Re: Catching /etc/rc's output 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: Sat, 13 Feb 2010 02:22:13 -0000 Am 12.02.2010 um 21:39 schrieb Paul Schenkeveld: > On Fri, Feb 12, 2010 at 05:52:44PM +0100, Markus Hitter wrote: >> >> Hello all, >> >> it's seemingly such a basic question, but I can't find a way to >> redirect >> /etc/rc's output to a file. Editing /etc/syslog.conf changed nothing, >> /var/log/messages still stops where /etc/rc should begin. I can >> see the >> output on the console, but that's far to fast for the human eye. >> Short of >> hooking up a serial console to catch the log on a second machine, >> is there >> a way to get this output logged into a file? > > Try 'dmesg -a' That's it. Thanks, Paul. Obviously, this stuff is in RAM only, so searching the file system was the wrong place ... Markus From owner-freebsd-embedded@FreeBSD.ORG Sat Feb 13 02:32:44 2010 Return-Path: Delivered-To: embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B444106566C for ; Sat, 13 Feb 2010 02:32:44 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0E3AE8FC08 for ; Sat, 13 Feb 2010 02:32:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o1D2SusD051473; Fri, 12 Feb 2010 19:28:56 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Fri, 12 Feb 2010 19:29:03 -0700 (MST) Message-Id: <20100212.192903.756786594423214367.imp@bsdimp.com> To: mah@jump-ing.de From: "M. Warner Losh" In-Reply-To: References: <61B7DB7D-CFF0-4691-9693-E289A685A183@jump-ing.de> <20100212203912.GA79178@psconsult.nl> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: embedded@FreeBSD.org Subject: Re: Catching /etc/rc's output 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: Sat, 13 Feb 2010 02:32:44 -0000 In message: Markus Hitter writes: : : Am 12.02.2010 um 21:39 schrieb Paul Schenkeveld: : : > On Fri, Feb 12, 2010 at 05:52:44PM +0100, Markus Hitter wrote: : >> : >> Hello all, : >> : >> it's seemingly such a basic question, but I can't find a way to : >> redirect : >> /etc/rc's output to a file. Editing /etc/syslog.conf changed nothing, : >> /var/log/messages still stops where /etc/rc should begin. I can see : >> the : >> output on the console, but that's far to fast for the human eye. Short : >> of : >> hooking up a serial console to catch the log on a second machine, is : >> there : >> a way to get this output logged into a file? : > : > Try 'dmesg -a' : : That's it. Thanks, Paul. : : Obviously, this stuff is in RAM only, so searching the file system was : the wrong place ... Well, you can also put the following in your syslog.conf: console.info /var/log/console.log and reboot or restart things in the usual way. Maybe that's what you are looking for? Warner