Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image | Sparky (Allo) #699

Closed
Fourdee opened this Issue Jan 6, 2017 · 10 comments

Comments

Projects
None yet
2 participants
@Fourdee
Copy link
Collaborator

commented Jan 6, 2017

Website ratings notes:

  • 100MBit eth
  • CPU performance rating: 35% (h3 = 40%)
  • Heat eff, 45'c idle 60'c full load:
  • 🈯️ USB3
  • 🈯️ EMMC

EMMC performance:
image

@Fourdee Fourdee added this to the v142 milestone Jan 6, 2017

@Fourdee Fourdee self-assigned this Jan 6, 2017

Fourdee added a commit that referenced this issue Jan 7, 2017

v142
+ HW_MODEL codes for Sparky:
#699
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 7, 2017

constant dmesg, with Kali + Piano attached:

[  126.325167] gsl_ts_read set data address fail!
[  126.325192] ------gslX680 test_i2c error------
[  128.325077] owl_i2c: owl_i2c_fifo_irq(): [i2c1] no ACK, fifostat 0x10013

[  128.325170] gsl_ts_read set data address fail!
[  128.325255] owl_i2c: owl_i2c_fifo_irq(): [i2c1] no ACK, fifostat 0x10013

[  128.325327] gsl_ts_read set data address fail!
[  128.325361] ======int_1st: 0 0 0 0 , int_2nd: 0 0 0 0 ======
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 7, 2017

cpu temp:

/sys/class/thermal/thermal_zone1/temp

Fourdee added a commit that referenced this issue Jan 7, 2017

v142
+ Sparky CPU temp: #699
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 7, 2017

Audio:

HDMI only supports S32_LE

speaker-test -c2 -F S32_LE
root@DietPi:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: atm7059link [atm7059_link], device 0: ATC2603C PCM atc2603c-dai-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: atm7059link [atm7059_link], device 1: HDMI PCM atm7059-hdmi-dai-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: atm7059link [atm7059_link], device 2: SPDIF PCM atm7059-spdif-dai-2 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PianoDAC [PianoDAC], device 0: PianoDAC pcm512x-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
root@DietPi:~# amixer -c 0 scontrols
Simple mixer control 'Mic0 Mode Mux',0
Simple mixer control 'ADC0 Digital Gain control',0
Simple mixer control 'ADC0 Mux',0
Simple mixer control 'AMP1 Gain boost Range select',0
Simple mixer control 'AOUT FL FR Mixer FL FR',0
Simple mixer control 'AOUT FL FR Mixer FM',0
Simple mixer control 'AOUT FL FR Mixer MIC',0
Simple mixer control 'Adc0 Digital Gain',0
Simple mixer control 'Adc0 Gain',0
Simple mixer control 'DAC Digital FL FR',0
Simple mixer control 'DAC FL FR PLAYBACK',0
Simple mixer control 'DAC FL Gain',0
Simple mixer control 'DAC FR Gain',0
Simple mixer control 'DAC PA',0
Simple mixer control 'DAC PA OUTPUT Stage',0
Simple mixer control 'Dummy earphone detect method',0
Simple mixer control 'Dummy earphone gain',0
Simple mixer control 'Dummy earphone volume',0
Simple mixer control 'Dummy mic Gain',0
Simple mixer control 'Dummy mic mode',0
Simple mixer control 'Dummy mic num',0
Simple mixer control 'Dummy speaker gain',0
Simple mixer control 'Dummy speaker volume',0
Simple mixer control 'External MIC Power Voltage',0
Simple mixer control 'External Mic Power',0
Simple mixer control 'Internal Mic Power',0
Simple mixer control 'PA Output Swing Mux',0
Simple mixer control 'audio output mode switch',0
Simple mixer control 'speaker on off switch',0
root@DietPi:~# amixer -c 0 sset 'audio output mode switch' 'i2s'
Simple mixer control 'audio output mode switch',0
  Capabilities: enum
  Items: 'i2s' 'hdmi' 'spdif'
  Item0: 'i2s'
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 7, 2017

WiFi:

  • iw reg set GB no effect
root@DietPi:~# iw reg get
country 00: DFS-UNSET
        (2402 - 2472 @ 40), (6, 20), (N/A)
        (2457 - 2482 @ 40), (6, 20), (N/A), NO-IR
        (2474 - 2494 @ 20), (6, 20), (N/A), NO-OFDM, NO-IR
        (5170 - 5250 @ 80), (6, 20), (N/A), NO-IR
        (5735 - 5835 @ 80), (6, 20), (N/A), NO-IR
        (57240 - 63720 @ 2160), (N/A, 0), (N/A)
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 7, 2017

GPU:

use blacklist to disable GPU modules by default (free up memory):

root@DietPi:~# cat /etc/modprobe.d/disable_sparkysbc_gpu.conf
blacklist pvrsrvkm
blacklist drm
blacklist videobuf2_vmalloc
blacklist bc_example
rm /etc/modprobe.d/disable_sparkysbc_gpu.conf

wget http://dietpi.com/downloads/binaries/sparkysbc/sparkysbc_gpu.7z -O package.7z
7z x -aoa package.7z -o/etc
rm package.7z

chmod +x /etc/sparkysbc_gpu/install.sh
/etc/sparkysbc_gpu/install.sh


#uninstall
/etc/sparkysbc_gpu/install.sh -u
cat << _EOF_ > /etc/X11/xorg.conf
Section "Device"
        Identifier "Video Device"
        Driver "pvr"
        Option "FlipChain""true"
EndSection

Section "Monitor"
        Identifier "Monitor"
EndSection

Section "Screen"
        Identifier "Screen"
        Monitor "Monitor"
        Device "Video Device"
EndSection
_EOF_
[    17.377] (WW) Warning, couldn't open module pvr

Fourdee added a commit that referenced this issue Jan 8, 2017

v142
+ Sparky code: #699
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 9, 2017

Looks like we had a corruption on 1st partition of the initial image. Image and partitions has been re-generated and uploaded.

🈯️ Just waiting for confirmation from Paul resolves inability to boot on his system.

@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 9, 2017

To Do (Many thanks to Jaikumar from Allo for the info):

  • 🈯️ Added to website board info | We are using Actions semiconductor S500 chip
  • 🈯️ module disabled during patch 142 | owl_i2c msg are related to touchscreen. It can be disabled in kernel config. or blacklist ctp_gsl3680
  • 🈯️ Test EMMC | Kernel Image will work for both sdcard & emmc. kernel.dtb is modified to work for both. If the image is built using https://github.com/sparkysbc/Linux.git it can be used for both sdcard & emmc.
  • 🈯️ HDMI snd currently only SE32_LE is supported

Fourdee added a commit that referenced this issue Jan 9, 2017

v142
+ Sparky SBC, disable touch screen module to resolve constant dmesg
errors associated with it: #699

Fourdee added a commit that referenced this issue Jan 10, 2017

v142
+ Ensure alsa-utils are installed when selecting any sound card
+ Sparky SBC image prep notes:
#699

Fourdee added a commit that referenced this issue Jan 13, 2017

v142
+ Correct module/dtoverlay for Piano 2.1:
#699
+ Allo Cheapo support: #699
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 13, 2017

  • 🈺 Allo Cheapo requires testing | Will test when it arrives
  • GPU support, as this SBC is mostly aimed towards Audiophiles and usage, will leave this out for now due to lack of time. Unless, we get significant interest from our users to implement it.

Fourdee added a commit that referenced this issue Jan 14, 2017

v142
+ RC
+ Inform Piano 2.1 users of new driver:
#699

@Fourdee Fourdee modified the milestones: v142, v143 Jan 14, 2017

@Fourdee Fourdee referenced this issue Jan 14, 2017

Merged

v142 #712

Fourdee added a commit that referenced this issue Jan 14, 2017

Merge pull request #712 from Fourdee/testing
v142
(14/01/17)

New Image:

DietPi for Sparky SBC (Allo) is now available: http://dietpi.com/phpbb/viewtopic.php?f=8&t=1161&p=4922#p4922

Changes / Improvements / Optimizations:

DietPi-Backup | Now supports BTRFS filesystems for target backup location.

DietPi-Backup | Now features "System only" and "Full backup" modes. In "Full backup" mode, DietPi User data is included in backups: #685

DietPi-Config | Audio > Sound card: "Allo Piano DAC 2.1", now applies correct module and dtoverlay (previously Piano DAC 1 was used): #699

DietPi-Config | Audio > Sound card: Added support for "Allo Cheapo" sound card on Sparky SBC.

DietPi-Config | Audio > Sound card: Added support for HDMI/3.5mm sound cards on NanoPi M2/M3.

DietPi-Config | Audio > Sound card: Added option for force 3.5mm output with Onboard RPi: #704

DietPi-Config | Audio > Sound card: Added support for selecting USB-DAC sound cards: #683

DietPi-Config | Audio > Sound card: Added support for RPi 'HifiBerry DIGI Pro' sound card.

DietPi-Config | WiFi: Reduced the DHCP retry count and timeouts, to prevent a unnecessary wait when enabling WiFi for the 1st time: #711

DietPi-Software | Open Media Vault: Is now available for installation: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=4859#p4859

DietPi-Software | MySQL/MariaDB: Data store is now located in the DietPi User data location (eg: /mnt/dietpi_userdata/mysql). Should offer improved performance for USB drive users: #672

DietPi-Software | NetData updated to latest version (1.4.0): #696

DietPi-Software | Added support for Apt-Fast if installed: #698

DietPi-Software | PiHole: Access via http://ip/admin is now supported, for new installations: #703

Typo | Correct use of MHz (previously Mhz). Thanks to Rainer.

Bug fixes:

General | RPi 3 onboard Bluetooth is now functional: #693

General | Odroid C2: Resolved an issue with deb-multimedia repo failing GPG key: #677

General | Resolved an issue where access to /mnt/usb_1 would hang the program/command, when no USB drive was attached: #684

General | Resolved an issue where alsamixer was unable to load sound card device: #705

General | Odroids: Resolved an issue where Meverics custom CPU governor script, would override DietPi applied CPU govs during boot.

DietPi-Config | Resolved an issue where NTPD Daemon + Drift mode, did not create drift file. This mode has now been moved to systemd-timesyncd: #709

DietPi-Config | Enabling the RPi camera will now apply the required 128MB minimum GPU memory split, if not already higher: #706

DietPi-Software | Resolved issues with non-functional RPi camera with DietPi-Cam: #706

DietPi-Automation | Resolved an issue with automated 1st run installation would hang on Odroid C2, during patch stage: #689

Sparky SBC | Resolved an issue with touch screen module causing dmesg errors associated with it. This module is now disabled: #699 (comment)

RPi Stretch:

General | RPi 3 Onboard WiFi is now functional.
@Fourdee

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 18, 2017

Completed. Will test Cheapo when it arrives.

@kotamotov

This comment has been minimized.

Copy link

commented Oct 15, 2017

Hi Fourdee!
I have one more question. Dietpi can't recognize my I2s DAC AK4495 connected to Sparky SBC+KALI.
What driver I need to install?
Here is my log file:
[ 0.982476] pcm512x 2-004c: Failed to reset device: -6
[ 0.983003] owl_i2c: owl_i2c_fifo_irq(): [i2c2] no ACK, fifostat 0x20013

[ 11.397985] soc-audio soc-audio.1: ASoC: machine PianoDACPlus should use snd_soc_register_card()
[ 11.400993] soc-audio soc-audio.1: ASoC: CODEC pcm512x.2-004c not registered
[ 11.404418] platform soc-audio.1: Driver soc-audio requests probe deferral

[ 11.611566] soc-audio soc-audio.1: ASoC: machine PianoDACPlus should use snd_soc_register_card()
[ 11.611632] soc-audio soc-audio.1: ASoC: CODEC pcm512x.2-004c not registered
[ 11.611692] platform soc-audio.1: Driver soc-audio requests probe deferral
[ 12.128501] soc-audio: probe of soc-audio.1 failed with error -22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.