Zynthian Kit v1: Display not working with last Gorgona Edge SD image


#1

Hey jofemodo,

I finally built my Zynthian (with some small problems - of course I soldered one IC in the wrong way ^^, but we could replace it) and enjoyed testing all the functions for the last month.
At first I had the older image of gorgona on my micro SD (the second update then took for about an hour) and when I used my Zynthian it sometimes hung up when I was running through the menus too quick.
So I decided to rewrite the image on the micro SD with new gorgona edge version, after formatting the micro SD with windows format-option. When I now start my Zynthian it only comes white screen and I couldn´t find a reason for it. I also rewrote the image on the SD and fixed a soldered point that broke. Do you got any idea what the reason for the white screen could be?

Kind regards
Chris


Problem with touch on Zynthian Kit V2
Problem with touch on Zynthian Kit V2
#2

Hi @Broiler!

The last SD Gorgona Edge image is pre-configured for the new Kits v2. As you are using a Kit v1, you should access to the webconf tool using your browser and change some options before it works for you:

  • Display: PiTFT 2.8’ Resistive
  • Wiring Layout: PROTOTYPE-4
  • Style -> Font Size: 10

I put this question as a public topic for sharing with all the community :wink:

Regards!


#3

OK, thanks for your fast reply and for sharing of course! For now my screen isn´t just white but shows the Zynthian logo with an “error” after changing all the options you told me. Anything to configure else then?


#4

#5

Doing an update via ssh - for whatever reason - didn´t work yet. I´ll give it a new try tomorrow and let you know about my results :wink: Thanks for all of your help!


#6

So I tried updating, but it wouldn´t change anything ´til now. Also read through some other threads.
When getting the log appears an endless loop telling me “Unable to open I2C device: no such file or directory” :thinking:


#7

Hi have you execute the update procedure…

Login by ssh
cd /zynthian/zynthian-sys/scripts
./update_zynthian.sh
./update_zynthian_data.sh
reboot


#8

Yes, done this several times…still the “error” :frowning_face:


#9

Strange …i suggest to check the MDAsum of the image (ae8228c7561e7fd2241911a3302f4d1f)
and use Win32DiskImager to write the image on sd
If your hardware is

Display: PiTFT 2.8’ Resistive
Wiring Layout: PROTOTYPE-4
Style -> Font Size: 10

is the same i have…maybe some also hardare problem…


#10

or the wiring itself


#11

Hi @Broiler!

Please, send the output of this command:

cat /etc/modules

Thanks!


#12

doing that says:

stmpe-ts


#13

Hi @Broiler!

If you are using the last Gorgona Edge version,

Updated Gorgona SD image for the new Kits v2

the problem should be solved by updating the software. Please, update the software from the CLI:

/zynthian/zynthian-sys/scripts/update_zynthian.sh

and send back the output. Also check the content of /etc/modules again:

cat /etc/modules

Thanks


#14

Hey guys, I finally (!!!) found the mistake I was doing. I installed the image right and also used the right commands for updates etc., I just didn´t know that it makes any difference if you connect the network cable to the computer or directly to the router - thaught about it already two days ago, but it seemed to me that the zynthian is right connected through my PC :roll_eyes:
I´m sorry for that, but the whole SSH and how to use it right is completely new for me - so thanks again for helping everybody out who´s not yet so familiar with it!

for @jofemodo still the outputs (when zynthian connected to router :wink: from update:

/root$ /zynthian/zynthian-sys/scripts/update_zynthian.sh
Updating zynthian-sys …
From https://github.com/zynthian/zynthian-sys
e7777e2…e8d37bf master -> origin/master
Updating e7777e2…e8d37bf
Fast-forward
scripts/recipes/install_linuxsampler.sh | 2 ±
scripts/setup_system_rbpi_minibian_jessie.sh | 13 +++++++++±–
scripts/update_zynthian_sys.sh | 21 +++++++++++++++++±–
scripts/zynthian_envars.sh | 3 +++
4 files changed, 32 insertions(+), 7 deletions(-)
Updating System configuration …
SOUNDCARD CONFIG => dtoverlay=hifiberry-dacplus
DISPLAY CONFIG => dtoverlay=pitft28-resistive,rotate=90,speed=32000000,fps=20
mv: cannot stat ‘zynbanks/’: No such file or directory
cp: cannot stat ‘/zynthian/zynthian-sys/etc/udev/rules.d/
’: No such file or directory
Custom Config /zynthian/zynthian-sys/custom/display/PiTFT 2.8 Resistive …
Updating zynthian recipes …
Executing /zynthian/zynthian-sys/scripts/recipes.update/01_setup_zynthian_multilayer.sh …
Already upgraded to multilayer!
Executing /zynthian/zynthian-sys/scripts/recipes.update/02_setup_zynthian_webconf.sh …
Already upgraded to webconf!
Executing /zynthian/zynthian-sys/scripts/recipes.update/03_setup_zynthian_master.sh …
Already upgraded to master!
Executing /zynthian/zynthian-sys/scripts/recipes.update/04_setup_zynthian_edge.sh …
Executing /zynthian/zynthian-sys/scripts/recipes.update/update_dexed_dcoredump.sh …
From https://github.com/dcoredump/dexed

  • branch native-lv2 -> FETCH_HEAD
    1e7cefe…e142881 native-lv2 -> origin/native-lv2
    error: git-pull died of signal 13
    g++ -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mvectorize-with-neon-quad -fPIC -DPIC -std=c++11 -I. -I/usr/local/include/lvtk-2 -I/usr/local/include -DLVTK_DEBUG=false -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -O3 -Wall -c dexed.cpp
    g++ dexed.o fm_core.o env.o lfo.o dx7note.o sin.o pitchenv.o fm_op_kernel.o freqlut.o exp2.o EngineMkI.o EngineOpl.o PluginFx.o trace.o -shared -L/usr/local/lib -llvtk_plugin2 -o dexed.so
    rm -rf dexed.lv2
    mkdir dexed.lv2
    cp manifest.ttl Dexed.ttl modgui.ttl presets.ttl dexed.so dexed.lv2
    cp -R modgui dexed.lv2
    mkdir -p /zynthian/zynthian-plugins/lv2
    mkdir -p /zynthian/zynthian-my-plugins/lv2
    rm -rf /zynthian/zynthian-plugins/lv2/dexed.lv2
    rm -rf /root/.lv2/dexed.lv2
    cp -R dexed.lv2 /zynthian/zynthian-plugins/lv2
    cp -R user-presets/* /zynthian/zynthian-my-plugins/lv2
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_linuxsampler.sh …
    Already updated to linuxsampler-2.0!
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_modui.sh …
    Executing /zynthian/zynthian-sys/scripts/recipes.update/update_setBfree.sh …
    Updating zyncoder …
    From https://github.com/zynthian/zyncoder
  • [new branch] gh003 -> origin/gh003
    Already up-to-date.
    ++ Defined HAVE_WIRINGPI_LIB
    ++ Using wiringPI
    – Configuring done
    – Generating done
    – Build files have been written to: /zynthian/zyncoder/build
    [ 50%] Built target zyncoder
    [100%] Built target zyncoder_test
    Updating zynthian-ui …
    From https://github.com/zynthian/zynthian-ui
    75b30ed…e9e699a master -> origin/master
    Updating 75b30ed…e9e699a
    Fast-forward
    zynautoconnect/zynthian_autoconnect.py | 14 ++++++++++±–
    zyngine/zynthian_controller.py | 4 ±–
    zyngine/zynthian_engine.py | 18 ++++++++++++++±–
    zyngine/zynthian_engine_zynaddsubfx.py | 22 +++++++++++++±-------
    zyngine/zynthian_midi_filter.py | 21 ++++++++++++++++±—
    zyngui/zynthian_gui_admin.py | 2 ±
    zyngui/zynthian_gui_config.py | 1 +
    7 files changed, 60 insertions(+), 22 deletions(-)
    Updating zynthian-webconf …
    From https://github.com/zynthian/zynthian-webconf
    af02ac1…42261fa master -> origin/master
  • [new branch] gh23-zynbanks -> origin/gh23-zynbanks
    4a57109…768133c githubNo19 -> origin/githubNo19
    error: git-pull died of signal 13

and cat /etc/modules

/etc/modules: kernel modules to load at boot time.

This file contains the names of kernel modules that should be loaded

at boot time, one per line. Lines beginning with “#” are ignored.

Parameters can be specified after the module name.

i2c-dev

Modules Added by Zynthian System Config

stmpe-ts

Will check now if everything´s right function, but for now there´s no more “ERROR” :smiley:


#15

OK! Yes … perhaps it’s not clearly explained, but for updating you need to connect your Zynthian Box to Internet. The easiest way is connecting it to your local network using the ethernet connector. Your router is an Internet Gateaway :wink:
If you connect your Zynthian Box directly to your PC, a local link is created and you can communicate with the Zynthian Box from the computer, but you wont get an Internet connection. To do so you would need to configure your PC as a gateaway. This is out of the scope of this Forum, but if somebody want to write a little tutorial about how to do it …

Regards,


#16

same problem here getting this from env:

root@zynthian:~# env
ZYNTHIAN_RECIPE_DIR=/zynthian/zynthian-sys/scripts/recipes
ZYNTHIAN_UI_FONT_SIZE=10
XDG_SESSION_ID=c1
ZYNTHIAN_MY_PLUGINS_DIR=/zynthian/zynthian-my-plugins
DISPLAY_HEIGHT=240
CFLAGS_UNSAFE=-funsafe-loop-optimizations -funsafe-math-optimizations
TERM=xterm
SHELL=/bin/bash
ZYNTHIAN_SYS_DIR=/zynthian/zynthian-sys
SSH_CLIENT=192.168.1.5 1395 22
ZYNTHIAN_DIR=/zynthian
ZYNTHIAN_WIRING_SWITCHES=100,101,102,103
ZYNTHIAN_TOUCHOSC=1
SSH_TTY=/dev/pts/0
ZYNTHIAN_AUBIONOTES_OPTIONS=-O complex -t 0.5 -s -88  -p yinfft -l 0.5
ZYNTHIAN_UI_COLOR_TX=#ffffff
USER=root
ZYNTHIAN_AUBIONOTES=1
CXXFLAGS=-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mvectorize-with-neon-quad
ZYNTHIAN_DATA_DIR=/zynthian/zynthian-data
DISPLAY_NAME=PiTFT 2.8 Resistive
DISPLAY_CONFIG=dtoverlay=pitft28-resistive,rotate=90,speed=32000000,fps=20
ZYNTHIAN_WIRING_ENCODER_B=21,27,7,23
ZYNTHIAN_UI_FONT_FAMILY=Audiowide
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ZYNTHIAN_WIRING_ENCODER_A=26,25,2,4
ZYNTHIAN_UI_COLOR_PANEL_BG=#3a424d
PWD=/root
SOUNDCARD_CONFIG=dtoverlay=hifiberry-dac
LANG=en_GB.UTF-8
LV2_PATH=/zynthian/zynthian-plugins/lv2:/zynthian/zynthian-my-plugins/lv2
ZYNTHIAN_PLUGINS_DIR=/zynthian/zynthian-plugins
ZYNTHIAN_MY_DATA_DIR=/zynthian/zynthian-my-data
RBPI_VERSION=Raspberry Pi 3 Model B Rev 1.2
SHLVL=1
HOME=/root
ZYNTHIAN_SW_DIR=/zynthian/zynthian-sw
CFLAGS=-mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mneon-for-64bits -mfloat-abi=hard -mvectorize-with-neon-quad
JACKD_OPTIONS=-P 70 -t 2000 -s -d alsa -d hw:0 -r 44100 -p 256 -n 2 -X raw
MACHINE_HW_NAME=armv7l
FRAMEBUFFER=/dev/fb1
SOUNDCARD_NAME=HifiBerry DAC+ light
LOGNAME=root
SSH_CONNECTION=192.168.1.5 1395 192.168.1.2 22
ZYNTHIAN_UI_DIR=/zynthian/zynthian-ui
ZYNTHIAN_UI_COLOR_ON=#ff0000
ZYNTHIAN_PLUGINS_SRC_DIR=/zynthian/zynthian-sw/plugins
ZYNTHIAN_WIRING_LAYOUT=PROTOTYPE-4
DISPLAY_WIDTH=320
ZYNTHIAN_UI_COLOR_BG=#000000
XDG_RUNTIME_DIR=/run/user/0
_=/usr/bin/env
root@zynthian:~#

if i run cat /dev/input/event0:
i get no such file or directory

if i run lsmod:

root@zynthian:~# lsmod
Module                  Size  Used by
brcmfmac              222874  0
brcmutil                9092  1 brcmfmac
cfg80211              543027  1 brcmfmac
rfkill                 20851  2 cfg80211
fb_ili9340              3647  1
fbtft                  34966  1 fb_ili9340
syscopyarea             3225  1 fbtft
sysfillrect             3826  1 fbtft
sysimgblt               2480  1 fbtft
fb_sys_fops             1741  1 fbtft
snd_soc_pcm5102a        2310  1
snd_soc_hifiberry_dac     3230  2
snd_soc_bcm2835_i2s     6546  2
snd_soc_core          179915  3 snd_soc_bcm2835_i2s,snd_soc_hifiberry_dac,snd_soc_pcm5102a
gpio_backlight          3105  0
bcm2835_gpiomem         3940  0
snd_compress           10384  1 snd_soc_core
snd_pcm_dmaengine       5894  1 snd_soc_core
i2c_bcm2835             7167  1
spi_bcm2835             7596  0
snd_pcm                98501  4 snd_pcm_dmaengine,snd_soc_core,snd_soc_hifiberry_dac
snd_timer              23968  1 snd_pcm
snd                    70032  7 snd_compress,snd_timer,snd_soc_core,snd_pcm
uio_pdrv_genirq         3923  0
uio                    10204  1 uio_pdrv_genirq
fixed                   3285  0
stmpe_ts                4779  0
i2c_dev                 6913  2
ipv6                  408971  28

and if cat /boot/config.txt

root@zynthian:~# cat /boot/config.txt
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details

# Tell bootloader to use initram image
#initramfs initrd.img-4.1.13-v7+

# Load RT Kernel for RBPI2
#kernel=kernel7-rt.img

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

# Disable Splash Screen
disable_splash=1

# Disables dynamic frequency clocking
force_turbo=1

# Uncomment to overclock the arm. 700 MHz is the default.
[pi2]
arm_freq=900
core_freq=250
sdram_freq=450
over_voltage=2
[all]

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi


# Additional overlays and parameters are documented /boot/overlays/README

# Enable MMAP support (Jackd, etc.)
dtoverlay=i2s-mmap

# Enable UART for MIDI
enable_uart=1

[pi3]
# Disable Blutooth Support for HifiBerry compatibility with RBPi 3
dtoverlay=pi3-disable-bt
# Swap back the ttyAMA0 to GPIO
dtoverlay=pi3-miniuart-bt
[all]

# Soundcard Config
dtoverlay=hifiberry-dac

# Display Config
dtoverlay=pitft28-resistive,rotate=90,speed=32000000,fps=20

# Adjust UART clock for MIDI Baudrate (31250)

#New kernels
dtoverlay=midi-uart0

# Old kernels
#[pi3]
#init_uart_clock=39062500
#init_uart_baud=38400
#dtparam=uart0_clkrate=48000000
#[pi2]
#init_uart_clock=2441000
#init_uart_baud=38400
#dtparam=uart0_clkrate=3000000
#[all]

cheers


#17

Hi @martindunne!

This topic is related to v2 kits and you have a v1 kit. I moved your reply to this topic that is about v1 kits :wink:

Regards!


#18

Yeah, and I thaught the whole time that my zynthian would use the internet connection of my PC when connected - nearly despaired because it didn´t wanted to update


#19

and what if i have same issue of non working touch (PiTFT 2.8) with gorgona next V1 kit?.. with Edge it worked perfect…


#20

Have you tried to re-configure the display from webconf tool? Just click “Save” from display config tab.

Regards