Raspberry Pi Zero Support in 0.4

Raspberry Pi related support

Re: Raspberry Pi Zero Support in 0.4

Postby janui » 11 Nov 2017, 13:28

Thanks Frank,
You can try to modify the file /usr/share/alsa/alsa.conf
Quickly tried this. No change I am afraid.
Results for the Pi B+ are as folows:
load average: 1.75, 1.70, 1.19
%Cpu(s): 42.7 us, 15.1 sy, 0.0 ni, 18.4 id, 0.0 wa, 0.0 hi, 23.7 si, 0.0 st
Code: Select all
top - 12:55:39 up 19 min,  1 user,  load average: 1.75, 1.70, 1.19
Tasks: 124 total,   3 running, 121 sleeping,   0 stopped,   0 zombie
%Cpu(s): 42.7 us, 15.1 sy,  0.0 ni, 18.4 id,  0.0 wa,  0.0 hi, 23.7 si,  0.0 st
KiB Mem:    488068 total,   154448 used,   333620 free,    13836 buffers
KiB Swap:        0 total,        0 used,        0 free.    70800 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
  468 root      20   0   40524   3764   2604 S 13.8  0.8   2:15.82 shairport
 2955 root      20   0   19244  11404   8920 R  6.0  2.3   0:00.55 cmd_async
    3 root      20   0       0      0      0 S  1.8  0.0   0:24.02 ksoftirqd/0
  245 redis     20   0   27684   2740   2004 S  1.0  0.6   0:11.72 redis-server
 1076 root      20   0   37952  12992   9844 S  0.7  2.7   0:08.09 rune_PL_wrk
  664 upmpdcli  20   0   81224   4116   3696 S  0.5  0.8   0:06.46 upmpdcli
 1082 root      20   0    3088   1840   1628 R  0.5  0.4   0:06.06 top
 1389 root      20   0       0      0      0 S  0.5  0.0   0:02.61 kworker/u2:0
  661 mpd       20   0  103484  17840  11772 S  0.4  3.7   0:12.64 mpd
    7 root      20   0       0      0      0 R  0.2  0.0   0:02.54 rcu_sched
  255 root      39  19   28388  12144   9112 S  0.2  2.5   0:02.47 rune_SY_wrk
    1 root      20   0   23796   4472   3320 S  0.1  0.9   0:10.32 systemd
  204 root      20   0    1820    352    308 S  0.1  0.1   0:01.03 ifplugd
  248 root      20   0   21676   3124   2468 S  0.1  0.6   0:00.34 nginx
  600 root      20   0   29104  11184   8772 S  0.1  2.3   0:00.34 php-fpm

For the Zero id goes down to between 5 and 9. The other red values are higher. Even so, I have never seen it fail or heard gaps and/or clicks (using max overclocking).
Will contact you about the other points.
janui
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry Pi Zero Support in 0.4

Postby janui » 11 Nov 2017, 13:30

Thanks thanhvo31,
I will include the Dac in the tested models.
janui
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry Pi Zero Support in 0.4

Postby Tall Person » 12 Nov 2017, 03:52

Thanks again Janui, it sounds like you really have been busy! I have got both my pi B2 and zero w installed with python after a few fun and games and trying to get my shutdown script to run. Worked fine with the raspian build.
Enjoy the weekend! It's too easy to get sucked into these things and then before you know it the whole weekend has gone!
-Raspberry Pi B rev 2, Hifiberry DAC
-Raspberry Pi Zero W, Hifiberry DAC, Runeaudio 0.4
Tall Person
 
Posts: 16
Joined: 16 Sep 2017, 19:43

Re: Raspberry Pi Zero Support in 0.4

Postby zomtec » 13 Nov 2017, 20:30

Why the file /etc/netctl/test is not included? (in the new version)
How i get wlan only with a keyboard?
zomtec
 
Posts: 15
Joined: 17 Jun 2017, 19:39

Re: Raspberry Pi Zero Support in 0.4

Postby janui » 14 Nov 2017, 10:57

Hi zomtec,
Why the file /etc/netctl/test is not included? (in the new version)
This file is allways missing in a distribution build, but generated automatically after a clean initial start up.
How i get wlan only with a keyboard?
See here raspberry-pi-zero-support-in-0-4-t3711-80.html#p21460
janui
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry Pi Zero Support in 0.4

Postby zomtec » 14 Nov 2017, 19:33

After the first boot with "20170703_runeaudio_raspberry1_raspberryZero_4.9.17-1" a test file is in in the folder.
In "20171109_runeaudio_raspberry1_raspberryZero_4.9.58-1" not.
zomtec
 
Posts: 15
Joined: 17 Jun 2017, 19:39

Re: Raspberry Pi Zero Support in 0.4

Postby zomtec » 15 Nov 2017, 05:23

How i can change to german tastatur?
zomtec
 
Posts: 15
Joined: 17 Jun 2017, 19:39

Re: Raspberry Pi Zero Support in 0.4

Postby janui » 16 Nov 2017, 13:14

Hi zomtec,
See this post for an alternative way of creating an equivalent of the 'test' WiFi profile: post21460.html#p21460

See this for switching keyboard mapping to German: https://wiki.archlinux.org/index.php/Ke ... in_console
These commands seem to be important: 'localectl list-keymaps' and 'loadkeys keymap', for you this would be: 'loadkeys de'
janui
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry Pi Zero Support in 0.4

Postby janui » 16 Nov 2017, 14:12

Hi there,

Bug fix for the 20171109_runeaudio_raspberry1_raspberryZero_4.9.58-1.img Pi1 arch6h image

To fix error message 'wpa_cli: error while loading shared libraries: libreadline.so.7: cannot open shared object file: No such file or directory'.

First check that you are using the image which needs to be updated, via SSH:
Code: Select all
uname -r
redis-cli get hwplatformid
Only if the responce is : 4.9.58-1-ARCH, followed by "01", then you should apply the fix:
Code: Select all
cd /home
pacman -Sy readline
followed by
Code: Select all
ln -s /usr/lib/libncursesw.so.6 /usr/lib/libncursesw.so.5
ln -s /usr/lib/libreadline.so.7 /usr/lib/libreadline.so.6
curl -s -X GET 'http://localhost/clear'
It is possible that errors are given for one of the commands 'ln -s....', this is not a problem.

Some broken network functions will now work properly (e.g. Show stored profiles).
janui
Last edited by janui on 28 Feb 2018, 02:46, edited 2 times in total.
User avatar
janui
 
Posts: 699
Joined: 20 Dec 2014, 12:55
Location: Ollanda

Re: Raspberry Pi Zero Support in 0.4

Postby Mat » 22 Nov 2017, 10:46

Hi! For those, who managed to install RuneAudio on Pi Zero W... What is the Rune boot time on pi zero? Is there any other reasons not using pi zero vs pi 2 or 3? Does integrated wlan work? I am thinking on setup with PiZeroW and HifiBerryDac+Zero and would be grateful for sharing experiences.
Mat
 
Posts: 21
Joined: 01 Jul 2015, 12:19

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 10 guests