Hi all ,
I spent a couple of days attempting to build a plugin on the zynthian.
I spent 24 hours or so attempting to upgrade gcc to version 11.
I did a lot of stuff attempting to upgrade cmake which worked out but getting gcc to 11 proved elusive. It seems that the “bullseye” version of the raspberry pi OS may have made life easier. I attempted to build it from sources but ended up nuking my zynthian using apt - update type commands. It now won’t connect to zynthian local but I can ssh into it still.
Perhaps even more foolish than using apt update when the thing displayed a red ERROR on boot up I then played around in the zynthian/scripts folder attempting to jolt the thing into some sort of bootstrapped state and get it to boot itself fresh for the first time. That didn’t do much other than nuke the web connection. It does not flash through and endless display of different lights. It would be an interesting artistic piece good for a dark cocktail party.
A left some output from terminal below perhaps someone has an idea of what I might do next. Can I say reflash an ssd and start from scratch somehow? When the machine mounts the ssd is it in read only mode or I have I nuked the image also ?
I have been a very naughty little boy this weekend haven’t I.
seanwayland@Air-de-sean zynthian % ssh root@zynthian.local
root@zynthian.local's password:
########################## ----------------------------------------
# # ZynthianOS: Built on os.zynthian.org
# ## # Timestamp: 2025-01-21
# ## # # ## # Optimized: Raspberry Pi 3 Model B Plus
# # # # # # # # ----------------------------------------
### # # # # # # ### Kit: V4
# # # # # # # # # # Display: ZynScreen 3.5 (v1)
# ## # # # # ## # Soundcard: HifiBerry DAC+ ADC PRO
# ## ## # Wiring Layout: MCP23017_ZynScreen
# # ----------------------------------------
##########################
zynthian-ui: testing (5d8b77)
zynthian-webconf: testing (841085)
zyncoder: testing (c452d2)
zynthian-sys: testing (ad43f0)
zynthian-data: testing (ec1011)
---------------------------------------
Linux zynthian 6.6.72-v8+ #1839 SMP PREEMPT Fri Jan 17 16:49:11 GMT 2025 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue Jan 21 03:21:48 2025 from fe80::146a:6f0:3eb4:2590%eth0
root@zynthian:~# systemctl status
● zynthian
State: degraded
Jobs: 0 queued
Failed: 1 units
Since: Thu 1970-01-01 01:00:01 BST; 55 years 0 months ago
CGroup: /
├─user.slice
│ └─user-0.slice
│ ├─session-3.scope
│ │ ├─2617 sshd: root@pts/0
│ │ ├─2685 -bash
│ │ ├─2933 systemctl status
│ │ └─2934 pager
│ └─user@0.service
│ └─init.scope
│ ├─904 /lib/systemd/systemd --user
│ └─908 (sd-pam)
├─init.scope
│ └─1 /sbin/init splash
└─system.slice
├─jack2.service
│ └─482 /usr/local/bin/jackd -P 70 -t 2000 -s -d alsa -d hw:sndrpihifiberry -r
├─zynthian.service
│ ├─ 483 /bin/sh /usr/bin/startx ./zynthian.sh -- -r -nocursor -s 0
│ ├─ 591 xinit ./zynthian.sh -- /usr/bin/X :0 -r -nocursor -s 0 -auth /tmp/serv
│ ├─ 598 /usr/lib/xorg/Xorg :0 -r -nocursor -s 0 -auth /tmp/serverauth.lcF4QvR8
│ ├─ 730 /bin/bash ./zynthian.sh
│ └─2920 sleep 10
├─systemd-udevd.service
│ └─165 /lib/systemd/systemd-udevd
├─rng-tools.service
│ └─452 /usr/sbin/rngd -r /dev/hwrng
├─polkit.service
│ └─642 /usr/lib/policykit-1/polkitd --no-debug
├─bluetooth.service
│ └─733 /usr/lib/bluetooth/bluetoothd --compat --experimental --noplugin=sap
├─systemd-journald.service
│ └─121 /lib/systemd/systemd-journald
├─ssh.service
│ └─841 /usr/sbin/sshd -D
├─snapd.service
│ └─475 /usr/lib/snapd/snapd
├─system-devmon.slice
│ └─devmon@root.service
│ ├─464 /bin/bash /usr/bin/devmon
│ └─691 /usr/bin/udevil --monitor
├─dhcpcd.service
│ └─833 /sbin/dhcpcd -q -w
├─mod-ttymidi.service
│ └─697 /usr/local/bin/ttymidi -s /dev/ttyAMA0 -b 38400
├─udisks2.service
│ └─453 /usr/lib/udisks2/udisksd
├─dbus.service
│ └─442 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile -
├─systemd-timesyncd.service
│ └─398 /lib/systemd/systemd-timesyncd
├─a2jmidid.service
│ └─698 /usr/bin/a2jmidid
├─system-getty.slice
│ └─getty@tty1.service
│ └─844 /sbin/agetty -o -p -- \u --noclear tty1 linux
├─avahi-daemon.service
│ ├─468 avahi-daemon: running [zynthian.local]
│ └─526 avahi-daemon: chroot helper
└─systemd-logind.service
└─472 /lib/systemd/systemd-logind
root@zynthian:~# uit
-bash: uit: command not found
root@zynthian:~# ls
cmake-3.22.1 cmake-3.31.4 first_boot.log gcc-11.3.0.tar.gz zynthian-sys
cmake-3.22.1.tar.gz cmake-3.31.4.tar.gz gcc-11.3.0 Pd
root@zynthian:~# ps -aux | grep zynthian
avahi 468 0.0 0.0 5884 2816 ? Ss 03:21 0:00 avahi-daemon: running [zynthian.local]
root 483 0.0 0.0 1932 1024 ? Ss 03:21 0:00 /bin/sh /usr/bin/startx ./zynthian.sh -- -r -nocursor -s 0
root 591 0.0 0.0 3864 2048 ? S 03:21 0:00 xinit ./zynthian.sh -- /usr/bin/X :0 -r -nocursor -s 0 -auth /tmp/serverauth.lcF4QvR8LC
root 730 0.1 0.0 7920 2560 ? S 03:21 0:00 /bin/bash ./zynthian.sh
root 3032 0.5 0.0 7792 2560 ? Ss 03:29 0:00 /bin/bash /zynthian/zynthian-webconf/zynthian_webconf.sh
root 3041 163 0.7 45748 29588 ? R 03:29 0:01 /usr/bin/python3 ./zynthian_webconf.py
root 3042 0.0 0.5 37460 21904 ? R 03:29 0:00 /usr/bin/python3 ./zynthian_main.py
root 3044 0.0 0.0 7344 1792 pts/0 S+ 03:29 0:00 grep zynthian
root@zynthian:~# ^