Open Piattica opened 3 months ago
You have not described how you update the bootloader. I would suggest flashing the Raspberry Pi bootloader in this way:
After this, insert a uSD with freshly flashed ZynthianOS and let it do its initial configuration and reboot. Make the changes to give a stable platform and use.
This method of configuring the RPi5 bootloader worked for me so try it and report back.
I did it following that procedure seggested to me by Jofemodo after issue #3
Sorry - did you do it via the procedure described by me in my last post or by another procedure described by jofemodo? If the latter then please describe that procedure in this ticket so that we have all the info here. And also try via this method I describe.
I followed your procedure that is exactly the same suggested me by Jofoemodo. I add a detail forgotten before: always I change the font size to 24.
Now I reflashed the system on a 16GB SD card and done all what I wrote before: HARDWARE Raspberry Pi 5 Model B Rev 1.0 Audio: JustBoom DAC Display: Generic HDMI Display Wiring: DUMMIES I2C: Not detected Profile: SYSTEM Debian GNU/Linux 12 (bookworm) Build Date: 2024-05-21 Memory: 18% (764M/4045M) SD Card: 96% (13G/15G) Temperature: 47.7ºC Overclock: None MIDI & UI Tuning: 440 Hz Master Channel: 16 Preload Presets: On ZS3 (SubSnapShots): On Power Save: 60 minutes Audio Levels on Snapshots: On SOFTWARE zyncoder: oram (e0014fe) zynthian-ui: oram (453726c) zynthian-sys: oram (8602194) zynthian-data: oram (e222e11) zynthian-webconf: oram (2dba270) LIBRARY Snapshots: 24 User Presets: 2 User Soundfonts: 0 Audio Captures: 0 MIDI Captures: 0 NETWORK Hostname: zynthian Wifi: PM IP: 192.168.137.177 VNC: Off MIDI Services:
this is the log:
Restarting UI in debug mode
Jun 14 15:39:46 zynthian systemd[1]: Started zynthian_debug.service - Zynthian User Interface (DEBUG).
Jun 14 15:39:46 zynthian startx[2967]: X.Org X Server 1.21.1.7
Jun 14 15:39:46 zynthian startx[2967]: X Protocol Version 11, Revision 0
Jun 14 15:39:46 zynthian startx[2967]: Current Operating System: Linux zynthian 6.6.31+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64
Jun 14 15:39:46 zynthian startx[2967]: Kernel command line: reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe smsc95xx.macaddr=2C:CF:67:14:E3:CA vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rootfstype=ext4 fsck.repair=yes rootwait console=tty3 logo.nologo quiet splash vt.global_cursor_default=0 modules-load=dwc2,libcomposite
Jun 14 15:39:46 zynthian startx[2967]: xorg-server 2:21.1.7-3+rpt2+deb12u7 (https://www.debian.org/support)
Jun 14 15:39:46 zynthian startx[2967]: Current version of pixman: 0.42.2
Jun 14 15:39:46 zynthian startx[2967]: Before reporting problems, check http://wiki.x.org
Jun 14 15:39:46 zynthian startx[2967]: to make sure that you have the latest version.
Jun 14 15:39:46 zynthian startx[2967]: Markers: (--) probed, (**) from config file, (==) default setting,
Jun 14 15:39:46 zynthian startx[2967]: (++) from command line, (!!) notice, (II) informational,
Jun 14 15:39:46 zynthian startx[2967]: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Jun 14 15:39:46 zynthian startx[2967]: (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 14 15:39:46 2024
Jun 14 15:39:46 zynthian startx[2967]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Jun 14 15:39:46 zynthian startx[2967]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Jun 14 15:39:47 zynthian startx[2983]: /zynthian/config/img/fb_zynthian_boot.png is 800x480 PNG image, color type GRAY, 8 bit
Jun 14 15:39:47 zynthian startx[2983]: Zooming image by 100%...done
Jun 14 15:39:47 zynthian startx[2983]: Merging...didn't find evidence of prior run.
Jun 14 15:39:47 zynthian startx[2983]: done
Jun 14 15:39:47 zynthian startx[2983]: Building XImage...done
Jun 14 15:39:47 zynthian startx[2976]: ----------------------------------------------
Jun 14 15:39:47 zynthian startx[2976]: Linux Version: bookworm
Jun 14 15:39:47 zynthian startx[2976]: Kernel Version: 6.6.31+rpt-rpi-2712
Jun 14 15:39:47 zynthian startx[2976]: ZynthianOS Version: 2405
Jun 14 15:39:47 zynthian startx[2976]: Virtualization: none
Jun 14 15:39:47 zynthian startx[2976]: Hardware Architecture: aarch64
Jun 14 15:39:47 zynthian startx[2976]: Hardware Model: Raspberry Pi 5 Model B Rev 1.0
Jun 14 15:39:47 zynthian startx[2976]: ----------------------------------------------
Jun 14 15:39:47 zynthian startx[3006]: INFO:zynthian_gui_config.
Okay - so having flashed the latest RPi5 bootloader and inserted a fresh ZynthianOS uSD, you booted, waited for the reboot, configured and it was working. It continued to work during your first session but then, after powering down (by pulling power rather than a proper shutdown process), the next time you tried to boot, having made no further hardware or software configuration, it failed with blank screen, green LED, unable to reach IP - e.g. ping last known IP address?
I repeat once more to be clearer: when it happens it is like to have a Zynthian HW without SD card
Okay - understood! This sounds like the uSD is getting corrupted. It is possible for this to happen when pulling power without a clean shutdown but it is very rare and the fact that you are experiencing it so often points to something odd with one or more of:
You have stated that this has happened with 2 different uSD cards. I would still recommend trying another. There has been anecdotal evidence of larger uSD not working well with Zynthian. I am suspicious of that and they may be related to the quality of the cards (there are many fake large cards) or maybe disk resizing not fully completing. But it may be worth (just for the sake of elimination) trying with a 32GB uSD. Also, all uSD are not equal. Even good brands have bad batches or behaviours that RPi finds odd. I have hade a lot of success with Kingston Canvas Select Plus 64GB 100MB/s. (Actually - those are 64GB which undermines my previous comment.) I use them because they are relatively cheap and have worked in all the RPi implementations I have put them in, including pulling the PSU without proper shutdown.
I think another uSD is the best next course of action.
Thanks a lot Brian, Kingston Canvas Select Plus 64 GB uSD coming soon... :-)
it happened one more time after activation of MIDI MASTER CHANNEL in Webconf
Describe the bug My Zynthian HW (custom because not based on a offial kit) sometimes stops booting and to go ahead you have to reflash Os on SD.
To Reproduce When it happens there are the previous actions:
Till now, it happened 4 times under ORAM 2024-05-22...2405 with 4 different progressive status of updates. I do not know how to reproduce systematically but I noticed that always it happens after an update. N.B.: it does not happen after each update; after some updates systems works perfectly.
Penultimate time I followed Jofemodo suggestion: I reflashed the bootloader then I reinserted the Zynthian OS SD that I removed after the issue: system did not boot
Last time after the issue I removed the SD and I inserted a SD with UBUNTU OS: system worked perfectly that I updated UBUTU, restared without issues. Then I removed UBUNTU and inserted Zynthian OS SD: it did not boot.
The only way to have th Zynthian working is to reflash the SD.
Setup: RPi5 4GB RAM with original active cooler (but it happened once without active cooler installed) 3A power supply (it happened either with the original of V4 kit either with another one) NXEZ HifiDAC 5" touch screen 64 GB Sandisk Ultra (it happened either with this SD either with another one)
Additional context zyncoder: oram (a7976d8) zynthian-ui: oram (1a505cb) zynthian-sys: oram (dcc37e6) zynthian-data: oram (db0355a) zynthian-webconf: oram (cce8b07)
About the SD preparation this is my procedure:
P.S. I change the interface font size to 24