Page 1 of 1

Sense HAT on Pi Zero interim fix

Posted: Tue Dec 01, 2015 4:49 pm
by Davespice
Hi folks;
There is a known issue with using the Sense HAT on Pi Zero. To fix it you'll need to do two things:

Code: Select all

sudo rpi-update
and then add the following line to the end of /boot/config.txt

Code: Select all

core_freq=250
This will be resolved by a future update.

Re: Sense HAT on Pi Zero interim fix

Posted: Tue Dec 01, 2015 5:53 pm
by PhilE
There will be an updated .dtb file in the next rpi-update release, but until then you can download this replacement bcm2708-rpi-b-plus.dtb, copy it into /boot and remove the "core_freq=250" line from your config.txt. This file will then be harmlessly overwritten by the the next rpi-update.

Re: Sense HAT on Pi Zero interim fix

Posted: Thu Jan 14, 2016 1:41 pm
by kcranley
I have followed all the advice I can find but I can't get the Sense-hat software running on the pi zero. The problem arises when the sense = SenseHat() statement is encountered. Here is the message I keep getting, whatever example I try to run:

[email protected]:~/astro-pi-examples/python $ python random_sparkles.py
Traceback (most recent call last):
File "random_sparkles.py", line 5, in <module>
sense = SenseHat()
File "/usr/lib/python2.7/dist-packages/sense_hat/sense_hat.py", line 36, in __init__
raise OSError('Cannot detect %s device' % self.SENSE_HAT_FB_NAME)
OSError: Cannot detect RPi-Sense FB device
[email protected]:~/astro-pi-examples/python $

Can somebody please enlighten me?
Thanks

Re: Sense HAT on Pi Zero interim fix

Posted: Sat Jan 16, 2016 12:56 pm
by Psygregoria
Did you Update and upgrade the SOftware ?

i got the same problem but after i used the hints with the sudo rpi-update
everything works fine,

Re: Sense HAT on Pi Zero interim fix

Posted: Sat Jan 16, 2016 2:51 pm
by kcranley
I have tried all the updates and upgrades, but still no luck. What do you mean by the hints?

Re: Sense HAT on Pi Zero interim fix

Posted: Sat Jan 16, 2016 7:21 pm
by Psygregoria
what he post above about the Firmware Update that be needed

sudo rpi-update

that fixed my problem
Hope you try the latest raspbian version and ofc a clean new install
SenseHat and Zero are very new so you need all the updates

Re: Sense HAT on Pi Zero interim fix

Posted: Tue Jan 19, 2016 10:01 am
by kcranley
Every time I run sudo rpi-update, I get multiple messages like:
cp: failed to extend '...': No space left on device
cp: cannot create directory '......': No space left on device
I have tried many times re-formatting the disk and writing a new image but I still get the above problem, so presumably this prevents the python statement above from executing?
Please help!!!

Re: Sense HAT on Pi Zero interim fix

Posted: Tue Jan 19, 2016 10:26 am
by RaTTuS
kcranley wrote:Every time I run sudo rpi-update, I get multiple messages like:
cp: failed to extend '...': No space left on device
cp: cannot create directory '......': No space left on device
I have tried many times re-formatting the disk and writing a new image but I still get the above problem, so presumably this prevents the python statement above from executing?
Please help!!!
well there is your problem
you have run out of space
how big is the SD card ?
are you running noobs or raspbian
have you extended your file system if the latter

Re: Sense HAT on Pi Zero interim fix

Posted: Tue Jan 19, 2016 3:06 pm
by Psygregoria
kcranley wrote:Every time I run sudo rpi-update, I get multiple messages like:
cp: failed to extend '...': No space left on device
cp: cannot create directory '......': No space left on device
I have tried many times re-formatting the disk and writing a new image but I still get the above problem, so presumably this prevents the python statement above from executing?
Please help!!!
As you can see your SD Card is maybe to small or the Partition is to small.
1st be sure the SD Card is Big enough, dunno what size the complete Image need, but i think you need at least 4GB.

After installed the image you should start raspi-config and expand ur Filesystem
after this reboot and retry to update the FW with rpi-update.
If the message still is the same then ur SD card is to small.

Re: Sense HAT on Pi Zero interim fix

Posted: Thu Jan 21, 2016 8:46 am
by kcranley
RaTTuS wrote:
kcranley wrote:Every time I run sudo rpi-update, I get multiple messages like:
cp: failed to extend '...': No space left on device
cp: cannot create directory '......': No space left on device
I have tried many times re-formatting the disk and writing a new image but I still get the above problem, so presumably this prevents the python statement above from executing?
Please help!!!
well there is your problem
you have run out of space
how big is the SD card ?
are you running noobs or raspbian
have you extended your file system if the latter
Thanks for your reply. I'm using an 8Gb card, running Raspbian Jessie. Can you tell me exactly how to extend the file system?

Re: Sense HAT on Pi Zero interim fix

Posted: Thu Jan 21, 2016 2:49 pm
by Psygregoria
kcranley wrote:
RaTTuS wrote:
kcranley wrote:Every time I run sudo rpi-update, I get multiple messages like:
......
how big is the SD card ?
are you running noobs or raspbian
have you extended your file system if the latter
Thanks for your reply. I'm using an 8Gb card, running Raspbian Jessie. Can you tell me exactly how to extend the file system?
After installed the image you should start sudo raspi-config and expand ur Filesystem (there is a extra selectable entry in the Menu for that)

Re: Sense HAT on Pi Zero interim fix

Posted: Sat Jan 23, 2016 9:09 am
by kcranley
Thanks - I tried that but it makes no difference.

Re: Sense HAT on Pi Zero interim fix

Posted: Tue Feb 02, 2016 5:59 pm
by tomj83
Davespice

thanks for your post. My pi zero couldn't detect the sense HAT, after hours of searching and reformatting the SD several times i finally came across your post and the temporary workaround has worked.

Your post is a couple of months old now so do you know when the fix will be rolled out?

Re: Sense HAT on Pi Zero interim fix

Posted: Fri Feb 05, 2016 3:03 pm
by simonbugler
The also helped me to get the zero working with the sense hat after hours of reformatting os - updating and even questioning my soldering!

sudo rpi-update
and
boot/config adding core_freq=250