Radius
Posts: 4
Joined: Mon Feb 04, 2013 9:09 am

[SOLVED] Beware of NEW firmware 3.18.5+, kills i2c bus

Sun Feb 01, 2015 6:22 pm

Hi,
I made many changes at same time (new enclosure, removing some packages, update packages, update firmware; can say shorter I have made great one day maintenance) and then RPI does not sees i2c bus (cannot measure pressure, light intensity and one wire temperature DS18B20). DHT22 WORKS :).

After two days of finding bug in wiring, reinstalling packages and so on, I' ve got idea, new firmware... I have downgrade him and voala, everything WORKS like a CHARM.

magic command is (Linux raspberrypi 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux):

Code: Select all

sudo rpi-update ba43047bec24d5f0a4150f09a37884240f8926d2
I have better use 3.12.35+, because firmware 3.12.36+ have freeze me RPI one time.

Radius

User avatar
joan
Posts: 15697
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Beware of NEW firmware 3.18.5+, kills i2c bus

Sun Feb 01, 2015 6:40 pm

http://www.raspberrypi.org/forums/viewt ... 28&t=97314

Add one or more of the following to your /boot/config.txt and reboot.

I2C
Add dtparam=i2c1=on (or dtparam=i2c0=on on old models)

SPI
Add dtparam=spi=on

I2S
Add dtparam=i2s=on

lirc-rpi
Add dtoverlay=lirc-rpi
Add module parameters to the end of the dtoverlay line,
e.g. dtoverlay=lirc-rpi,gpio_in_pin=16,gpio_in_pull=high

w1-gpio
If you require the external pullup
dtoverlay=w1-gpio-pullup,gpiopin=x,pullup=y
otherwise
dtoverlay=w1-gpio-pullup,gpiopin=x
(where x and y are gpios).

Audio card
Add one of the following
dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
dtoverlay=hifiberry-digi
dtoverlay=iqaudio-dac
dtoverlay=iqaudio-dacplus

heartbeat LED
dtparam=act_led_trigger=heartbeat


DirkS
Posts: 10663
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Beware of NEW firmware 3.18.5+, kills i2c bus

Sun Feb 01, 2015 6:45 pm

Radius wrote:Thanks, someone has post me this too:

http://www.raspberrypi.org/forums/viewt ... 29&t=97314
It's the same link as joan posted earlier

Return to “General discussion”