Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2017 13:01:14 -0500
From:      Karl Denninger <karl@denninger.net>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: i2c on Pi3?
Message-ID:  <843bbe39-0b74-0d27-598d-ae16aea52a37@denninger.net>
In-Reply-To: <20170323175342.GA55627@bluezbox.com>
References:  <0b83d41a-1a9e-28cc-6ecd-03e6a63a06a2@denninger.net> <DAC58CC9-9D1C-483F-B748-3BD20A8245CE@thehowies.com> <f1c3c4bb-976c-05ba-24ec-212bc9412a33@denninger.net> <20170323175342.GA55627@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

On 3/23/2017 12:53, Oleksandr Tymoshenko wrote:
> Karl Denninger (karl@denninger.net) wrote:
>> On 3/23/2017 12:34, John Howie wrote:
>>
>>> Hi Karl,
>>>
>>> I can only speak to the Raspberry Pi 2 kernel, but I2C is supported. For an example how to use it from userland, check out a project I posted on github eighteen months ago, that was for the PiFace RTC.
>>>
>>> https://github.com/jhowie/FreeBSDPiFaceRTC
>>>
>>> There are useful routines I created for working with devices on the I2C bus, which you are free to use. They are not RPI2-specific, so they should work on other boards. 
> .. skipped ..
>> It works on the Pi2; I am using it in production.
>>
>> The driver appears to be /missing /in the Pi3 kernel.
> Probably it's not enabled in DTB. Try adding this line to config.txt:
>
> dtparam=i2c_arm=on,spi=on
>
Nope, already in the base config.txt file:

arm_control=0x200
dtparam=audio=on,i2c_arm=on,spi=on
dtoverlay=mmc
dtoverlay=pi3-disable-bt
device_tree_address=0x4000
kernel=u-boot.bin


-- 
Karl Denninger
karl@denninger.net <mailto:karl@denninger.net>
/The Market Ticker/
/[S/MIME encrypted email preferred]/

[-- Attachment #2 --]
0	*H
010
	`He0	*H
\0X0@=0
	*H
010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA0
161218194535Z
211217194535Z0W10	UUS10UFlorida10U
Cuda Systems LLC10Ukarl@denninger.net0"0
	*H
0
͍fd`1ie6";fSz`5¹/?{=Ӵowjħ_fnӴMG\ҢҖ4ib}>@mJo&mM;
Q9U cj]p퐆W.2E=
^¢tzĄ'5i7_`~#dY
`]R]N%R}EXzqV@[oN	T>5AwYˡA"\v&YG]+($p:M,T?=mJkMљg*ym
L!J[./d׷?W^LysD'1
+V'~{-SSX=q-f=%&V<m4BeSet|
l2m 6iO{wv
+aHXˈ5=~é*C!?uJr3tb'3`Oe)üLxt&3N526llU
.|Cp[l?007++0)0'+0http://cudasystems.net:88880	U00	`HB0U0,	`HB
OpenSSL Generated Certificate0U/Zi
0GhG0U#0$q}ݽʒm50U0karl@denninger.net0
	*H
b%X%gwq	
ɁэrK[DMJ35W6
sz8d|qB2Cyw2PbV}
â[!W{HD7oD.TZ'w6~g( -,]R8P{*[f<1=7jGj9铚~3f2AʺN	k~@vz^j(>ͺyh2y{/9}4.45#S|<fW!.,Bss*Q+h=}l@	"q "M&6J5*,G {hɫjbNgǠ.ЃXȶ4$O.5evHlZba!4eE!x|Za1򹿈nZ5TuPvW|#G+	DZpI7S'n0 haGa@vZ	e|]Cu+))vRyY100010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA=0
	`HeM0	*H
	1	*H
0	*H
	1
170323180118Z0O	*H
	1B@)HaohnZgJ
"Km"ӆ,@>zī~& e&չT6Tz0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA=0*H
	1010	UUS10UFlorida10U	Niceville10U
Cuda Systems LLC10UCuda Systems LLC CA1"0 	*H
	Cuda Systems LLC CA=0
	*H
ӿz	B M)O굎rf
C8>p-9$2}:$Rmx{M(gC¯߄r"1#zJɐI}ga)ʉSesS[6㷅(	=N{"՜RLiUÀKHZr7&^=U_˘2ӭ9hH8W#H$SK4x{[ &9?gY`m7nF1y"$VNm1]8U|E!7F!"Ųڌ-nRK#E?}1)tp&~މn[dIq~@KcñV[ yxl}q[W{hg:[m'"^H)<G,h9
<QU`79eW)l"x+/B/r`񰷉)*VQ'JPNY3V[l O,mp~mCCcXḐ-ߦy;b^g~Ty!蜛c%՟+;_	S

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?843bbe39-0b74-0d27-598d-ae16aea52a37>