From owner-freebsd-embedded@FreeBSD.ORG Mon Feb 17 11:06:45 2014 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 ESMTPS id 347C9CE4 for ; Mon, 17 Feb 2014 11:06:45 +0000 (UTC) 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 05F2011B1 for ; Mon, 17 Feb 2014 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 s1HB6iUc032995 for ; Mon, 17 Feb 2014 11:06:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1HB6iNA032993 for freebsd-embedded@FreeBSD.org; Mon, 17 Feb 2014 11:06:44 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Feb 2014 11:06:44 GMT Message-Id: <201402171106.s1HB6iNA032993@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.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Feb 2014 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 Wed Feb 19 12:58:58 2014 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 ESMTPS id C4D85B52; Wed, 19 Feb 2014 12:58:58 +0000 (UTC) Received: from mail-yh0-x234.google.com (mail-yh0-x234.google.com [IPv6:2607:f8b0:4002:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7351013CB; Wed, 19 Feb 2014 12:58:58 +0000 (UTC) Received: by mail-yh0-f52.google.com with SMTP id a41so321118yho.25 for ; Wed, 19 Feb 2014 04:58:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:message-id:date:to:mime-version; bh=Rq9JbySepSJlen7BZtrHxXBcKN0VleZkGWMl9TpW9lY=; b=dhsly0SthJIg4yJTxI0hZxBBKFsBk5INNiQ+vt8kvnYW44XAhBuTfFHhKcCxnyzgny o2ykay8zTsOORe2VpxZ1Nb2aDGqo5c0UMJbWg0ex/Ipzust0X9uZcxkjnr6+13LgcImz 2n344jvDlWjmH3AZBP2LstEHiZiP4PuTLfcI3BoJBjkmAa9vPHT5CiiUDm35oKN2698H /Y2DIr0x35VcCcN8TD6aVHcyGSRNqTF6mxeIZDEEJeZwiS2SrpwwH7rLOiIq4i9nNfDY z4Yh4liyKfnNRCiCfJb9haDSxpBxD3aZ1+ujiSi2HiVTD1WutW66Ycls7Qj0LtoYhtdS TYfw== X-Received: by 10.236.44.173 with SMTP id n33mr31437556yhb.98.1392814737747; Wed, 19 Feb 2014 04:58:57 -0800 (PST) Received: from [10.10.1.113] ([201.72.203.70]) by mx.google.com with ESMTPSA id c23sm374898yhk.23.2014.02.19.04.58.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 04:58:56 -0800 (PST) From: Luiz Otavio O Souza Content-Type: multipart/mixed; boundary="Apple-Mail=_93E3800A-CBBC-43A6-A941-EEADF69175A6" Subject: Enable I2C1 and I2C2 on BBB by default Message-Id: Date: Wed, 19 Feb 2014 09:58:47 -0300 To: freebsd-arm@freebsd.org, freebsd-embedded@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 12:58:58 -0000 --Apple-Mail=_93E3800A-CBBC-43A6-A941-EEADF69175A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Is there any problem if i enable the second and the third I2C = controllers by default on BBB ? ATM only the first controller is enabled and it is only used to connect = the on-board devices (PMIC and HDMI framer), this iicbus isn=92t exposed = on the expansion headers. The two additional controllers are exposed on P9 expansion header, the = I2C1 is at pins 17 and 18 and the I2C2 is at pins 19 and 20. The I2C2 is the default iicbus used to read the cape eeprom contents = (when you have a cape installed). Both controllers had been tested and seems to work fine on my BBB. Regards, Luiz --Apple-Mail=_93E3800A-CBBC-43A6-A941-EEADF69175A6 Content-Disposition: attachment; filename=bbb-i2c.diff Content-Type: application/octet-stream; name="bbb-i2c.diff" Content-Transfer-Encoding: 7bit Index: src/sys/boot/fdt/dts/am335x.dtsi =================================================================== --- src/sys/boot/fdt/dts/am335x.dtsi (revision 262131) +++ src/sys/boot/fdt/dts/am335x.dtsi (working copy) @@ -210,6 +210,26 @@ i2c-device-id = <0>; }; + i2c1: i2c@4802a000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "ti,i2c"; + reg =< 0x4802a000 0x1000 >; + interrupts = <71>; + interrupt-parent = <&AINTC>; + i2c-device-id = <1>; + }; + + i2c2: i2c@4819c000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "ti,i2c"; + reg =< 0x4819c000 0x1000 >; + interrupts = <30>; + interrupt-parent = <&AINTC>; + i2c-device-id = <2>; + }; + pwm@48300000 { compatible = "ti,am335x-pwm"; #address-cells = <1>; Index: src/sys/boot/fdt/dts/beaglebone-black.dts =================================================================== --- src/sys/boot/fdt/dts/beaglebone-black.dts (revision 262131) +++ src/sys/boot/fdt/dts/beaglebone-black.dts (working copy) @@ -52,6 +52,12 @@ /* I2C0 */ "I2C0_SDA", "I2C0_SDA","i2c", "I2C0_SCL", "I2C0_SCL","i2c", + /* I2C1 */ + "SPI0_D1", "I2C1_SDA", "i2c", + "SPI0_CS0", "I2C1_SCL", "i2c", + /* I2C2 */ + "UART1_CTSn", "I2C2_SDA", "i2c", + "UART1_RTSn", "I2C2_SCL", "i2c", /* Ethernet */ "MII1_RX_ER", "gmii1_rxerr", "input_pulldown", "MII1_TX_EN", "gmii1_txen", "output", --Apple-Mail=_93E3800A-CBBC-43A6-A941-EEADF69175A6-- From owner-freebsd-embedded@FreeBSD.ORG Wed Feb 19 15:12:11 2014 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 ESMTPS id 6B9726C for ; Wed, 19 Feb 2014 15:12:11 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 2D181111D for ; Wed, 19 Feb 2014 15:12:07 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:c896:bb5c:9b2b:52b0]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id E70524AC1C for ; Wed, 19 Feb 2014 19:12:06 +0400 (MSK) Date: Wed, 19 Feb 2014 19:12:02 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <397418344.20140219191202@serebryakov.spb.ru> To: freebsd-embedded@FreeBSD.org Subject: New ports for true-embedded developers :) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 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, 19 Feb 2014 15:12:11 -0000 Hello, Freebsd-embedded. I've committed some new ports: devel/gcc-arm-embedded devel/libopencm3 devel/lm4tools devel/stlink This set (and devel/openocd) allows to develop bare-metal code for Cortex-Mx-based microcontrollers with same tools as Linux/Windows/MacOS X users. I've checked lm4tools with TI/Stellaris TivaC Launchapd and stlink with STM32F4-DISCOVERY boards. -- // Black Lion AKA Lev Serebryakov From owner-freebsd-embedded@FreeBSD.ORG Wed Feb 19 18:18:11 2014 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 ESMTPS id D0FCED81 for ; Wed, 19 Feb 2014 18:18:11 +0000 (UTC) Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 91BBC13BE for ; Wed, 19 Feb 2014 18:18:11 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id h16so864634oag.38 for ; Wed, 19 Feb 2014 10:18:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=v4f7Zme+gJDuBMmkExmi5puB4pjwH754Gv/lxco9OjI=; b=NVC6f6UpUFAzBCiCLkKaBFaYtf4xONVeynwFngBnIPRvtqvtau9CqxKqTnWvyZVXom OKAQrnAt0aB4+9t2FPDjdx+FRIZ/eamjg5laeY/1wwL6k+Yre1FSXIXPvTHnn5pXh98J zvGzM1lvu9YjlIZ14HRcAQQM3j2UjWV9lc5THh7iKQbfc9oyep/U20swrcPTAv0GXf8D 8vPQKaGJIcUQmAx5ARy2RpmU64YH1Yf+l3ud/xp+jBgAa6p3wiGW2hMyVyC2C1HJBN25 yeJ2lHQTxp61qhIHzGX6g2MHUqXcn2QmYG5mVLehcIair87hICwemsR9f8QzT6I6xnmG Wv+Q== X-Gm-Message-State: ALoCoQlCZNZBR4VrU9sHFppqj2uGAzI1ao4BEM3hkA0HyriHXwubiY24paa5ii+RnoWFb5O22U0z X-Received: by 10.60.62.199 with SMTP id a7mr2580248oes.64.1392833884867; Wed, 19 Feb 2014 10:18:04 -0800 (PST) Received: from macmini.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id h4sm6203759oev.2.2014.02.19.10.18.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 10:18:04 -0800 (PST) Subject: Re: Enable I2C1 and I2C2 on BBB by default Mime-Version: 1.0 (Apple Message framework v1085) From: Warner Losh In-Reply-To: Date: Wed, 19 Feb 2014 11:17:59 -0700 Message-Id: <5BD1D8ED-1072-4329-A22A-68C6A4F01BEE@bsdimp.com> References: To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.1085) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-arm@freebsd.org, freebsd-embedded@freebsd.org X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Feb 2014 18:18:11 -0000 On Feb 19, 2014, at 5:58 AM, Luiz Otavio O Souza wrote: > These changes look good to my eye.. Warner