Raspberry Pi Zero Support in 0.4

Raspberry Pi related support

Re: Raspberry Pi Zero Support in 0.4

Postby hondagx35 » 14 Jun 2016, 14:25

Hi Peter,

After the update neither the Raspberry 1 nor the Raspberry Zero are even starting anymore.

Do you have a monitor connected to the Pi?
If so, what is the output?

Please check the boot folder for new files after the update.

Frank
User avatar
hondagx35
 
Posts: 3026
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Raspberry Pi Zero Support in 0.4

Postby hpeter » 14 Jun 2016, 18:59

Hi Frank,

i finally solved the update issue! :D

Now the updated RuneAudio image runs on both Raspberry 1 and the Raspberry Zero.
Following problem prevents the system to boot up, after system update:

    1. During the update two new files are created cmdline.txt and kernel.img. These files are now the ones to boot from.

    2. Because the file config.txt already exists pacman creates a new file called config.txt.pacnew, which is a good thing. The old version is the one too choose. Unfortnately after the update config.txt still points to the old files:
    Code: Select all
    # RuneAudio settings
    cmdline=cmdline_linux-arch-rpi_3.12.26-1-ARCH.txt
    kernel=linux-arch-rpi_3.12.26-1-ARCH.img

    This has to be changed to:
    Code: Select all
    # RuneAudio settings
    cmdline=cmdline.txt
    kernel=kernel.img


    3. The file cmdline.txt points to a wrong partiton so
    Code: Select all
    root=/dev/mmcblk0p2

    has to be changed to
    Code: Select all
    root=/dev/mmcblk0p5

    before we can boot up.

Thats all! Afterwards the Raspberry Zero (as well as the Raspberry 1) boots up from the updated System.

Things to add:
    - don't forget to add your WiFi before starting the Zero
    - I noticed, that the booting time of the Zero is much higher than the booting time of the Raspberry 1
    - I don't know if the config.txt needs to be changed in order to reflect the Raspberry Zero higher frequency

Peter

PS: I will create and upload an Image of my SD card soon!

@Frank Thanks for your help!
hpeter
 
Posts: 12
Joined: 08 Jun 2016, 07:50

Re: Raspberry Pi Zero Support in 0.4

Postby hondagx35 » 14 Jun 2016, 21:13

Hi Peter,

thank you for the work you did.

- I don't know if the config.txt needs to be changed in order to reflect the Raspberry Zero higher frequency

I'm not shure, but i would try:
Code: Select all
arm_freq=1000
gpu_freq=300
core_freq=400
over_voltage=6
force_turbo=1


PS: I will create and upload an Image of my SD card soon!

Before doing this please try to update to our Nightly Builds first.

I also would like to see the debug info.
Is it recognized as RP1 (MENU->Debug)?

Frank
User avatar
hondagx35
 
Posts: 3026
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Raspberry Pi Zero Support in 0.4

Postby flega » 15 Jun 2016, 17:32

hpeter wrote:Things to add:
[list]- don't forget to add your WiFi before starting the Zero


Hm, if I upload your image how will I connect to my network? Since Zero don't have ethernet I can't configure Rune to connect to my WiFi network... :o
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

Re: Raspberry Pi Zero Support in 0.4

Postby hpeter » 16 Jun 2016, 09:42

Hi,

@frank
You're welcome. Thanks for your tip concerning the frequency, will try that.

Before doing this please try to update to our Nightly Builds first.


Will do that at he weekend and tell you how it works.

However, do you know how I could easily remove my "footsteps" like Log files, bash history, ... from the SD card before I create an Image except doing it manually?


@flega
I don't have the SD card at hand, but I think you could add your WiFi manualy by editing the file
Code: Select all
/etc/network/interfaces

@Frank please correct me if I'wrong.

Additionally I will try to install a "standard WiFi", the Zero will try to autoconnect during boot. Nonetheless you then will have to create a WiFi with the same name and key.

Peter
hpeter
 
Posts: 12
Joined: 08 Jun 2016, 07:50

Re: Raspberry Pi Zero Support in 0.4

Postby hpeter » 18 Jun 2016, 18:20

Hi,

I have some news:

arm_freq=1000
gpu_freq=300
core_freq=400
over_voltage=6
force_turbo=1

Without setting the CPU frequency for the Raspberry Zero to 1000 MHz it is set to the frequency of the Raspberry 1. This is shown by the debug output: "bcm2835-cpufreq: min=700000 max=700000". So in order to enable the 1000 Mhz you have to add the corresponding entries in the config.txt


Before doing this please try to update to our Nightly Builds first.

Done :)
Used the tutorial in http://www.runeaudio.com/documentation/troubleshooting/updating/ using the dev branch. After restart the credits page shows "release version: (build: beta-20141027)", but when I chek the latest commit it was
Code: Select all
commit e6f6474bc90e1da82a619e3df5b362a04e0b1763
Author: hondagx35 <github@friedmann-elektronik.de>
Date:   Wed May 25 23:54:59 2016 +0200

    sorting for saved playlists

so I guess the credits page is outdated.


I also would like to see the debug info.
Is it recognized as RP1 (MENU->Debug)?

When I log in via ssh it says: "Hw-env: RaspberryPi"
The Debug output says the same: "HW platform: RaspberryPi (01)"


Hm, if I upload your image how will I connect to my network? Since Zero don't have ethernet I can't configure Rune to connect to my WiFi network... :o

I added a "temporary" wifi network to make a direct use of the Raspberry Zero possible. The Zero should autoconnect to the following wifi:

SSID: test
PASS: abcdefghabcdefgh

My assumption using the file
Code: Select all
etc/network/interfaces
for wifi settings is wrong, so I don't know how to manually add a WiFi.

@flega Would be nice if you could test if the autoconnection works!

Here is the link to the image file which is zipped using gzip:

http://www.mediafire.com/download/kzy8txlqadxly48/20160618_runeaudio_raspberry1_raspberryZero.img.gz

The SHA256 hash of the file is: d303bbb82f8171d7e529ace2bd05dff390fdd4c9726f808c2e2e4a43079447f2
http://www.mediafire.com/download/c846hxue9sfwr3c/20160618_runeaudio_raspberry1_raspberryZero.img.gz.sha256
hpeter
 
Posts: 12
Joined: 08 Jun 2016, 07:50

Re: Raspberry Pi Zero Support in 0.4

Postby emmanuelix » 19 Jun 2016, 14:27

Many thanks for this detailed information about updating.

I just would like to add a precision about an issue I had while doing the update on Raspberry Pi B+ (don't know if the same is happening on other versions).

When I rebooted, the integrated soundcard of the RPi was not detected anymore (I am not yet using any DAC), although snd_bcm2835 was running.

I checked on google and followed this post : https://archlinuxarm.org/forum/viewtopi ... =7&t=10147 which points out the need to add the following line on file /boot/config.txt :

Code: Select all
dtparam=audio=on

(it is for RPi3 but worked however... I'm not sure about what this line actually does)

This did the work for me.
Last edited by emmanuelix on 20 Jun 2016, 08:59, edited 1 time in total.
emmanuelix
 
Posts: 1
Joined: 19 Jun 2016, 14:16

Re: Raspberry Pi Zero Support in 0.4

Postby hondagx35 » 19 Jun 2016, 20:42

Hi emmanuelix,

(it is for RPi3 but worked however... I'm not sure about what this linue actually does)

"dtparam=audio=on/off" enables or disables the internal sound on all newer kernels.
It can be used also for the RP2/RP3 images.

Frank
User avatar
hondagx35
 
Posts: 3026
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Raspberry Pi Zero Support in 0.4

Postby hpeter » 20 Jun 2016, 08:41

Hi emmanuelix,

When I rebooted, the integrated soundcard of the RPi was not detected anymore

I did not think about this, because I use a pHat DAC (same chip as HifiBerry) and had to enable it in the config.txt as well, but you are right. The internal sound card of my Raspberry 1 is not detected anymore.

So, thanks for your hint.

Peter

PS: Because the Raspberry Zero does not have an audio jack I don't think rune audio will show the internal sound card.
hpeter
 
Posts: 12
Joined: 08 Jun 2016, 07:50

Re: Raspberry Pi Zero Support in 0.4

Postby flega » 01 Jul 2016, 17:31

Hi to all,
I have uploaded image from bpeter to SD card and put it in my Zero. Also connect my Wifi dongle and monitor to see what will happened...
Zero was boot and login screen was on monitor. I have changed my SSID and pass on my AP like hpeter wrote. But, Zero is not connecting to my AP, probably for not the same MAC as hpeter have.
Is there any other way to "make" Zero to connect to my network?
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 1 guest