Time for the Buster RC-3 SD image

yes, still black…

Is there any manner to test the overlay is correctly loaded ?

May be it is another problem because I do a try with HDMI and get black screen also !

Output of this, please:

ls /sys/devices/platform/soc/fe204000.spi/spi_master/spi0/spi0.0
root@zynthian:~# ls /sys/devices/platform/soc/fe204000.spi/spi_master/spi0/spi0.0
driver	driver_override  graphics  modalias  of_node  power  statistics  subsystem  uevent

The modules are loaded (see the lsmod output) …

root@zynthian:~# cat /var/log/Xorg.0.log
[  2275.759] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[  2275.759] Build Operating System: Linux 4.15.0-99-generic armv8l Raspbian
[  2275.759] Current Operating System: Linux zynthian 5.4.51-v7l+ #1332 SMP Tue Aug 4 18:40:14 BST 2020 armv7l
[  2275.759] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1 bcm2708_fb.fbwidth=640 bcm2708_fb.fbheight=480 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:64:F5:96 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[  2275.760] Build Date: 07 July 2020  09:38:51PM
[  2275.760] xorg-server 2:1.20.4-1+rpt2 (https://www.debian.org/support) 
[  2275.760] Current version of pixman: 0.36.0
[  2275.760] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2275.760] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2275.760] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug  7 15:38:18 2020
[  2275.761] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2275.761] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2275.761] (==) No Layout section.  Using the first Screen section.
[  2275.761] (==) No screen section available. Using defaults.
[  2275.761] (**) |-->Screen "Default Screen Section" (0)
[  2275.761] (**) |   |-->Monitor "<default monitor>"
[  2275.762] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  2275.762] (**) |   |-->Device "Display"
[  2275.762] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  2275.762] (==) Automatically adding devices
[  2275.762] (==) Automatically enabling devices
[  2275.762] (==) Automatically adding GPU devices
[  2275.762] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2275.762] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/misc".
[  2275.762] 	Entry deleted from font path.
[  2275.762] 	(Run 'mkfontdir' on "/usr/share/fonts/X11/misc").
[  2275.762] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  2275.762] 	Entry deleted from font path.
[  2275.762] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  2275.762] 	Entry deleted from font path.
[  2275.762] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  2275.762] 	Entry deleted from font path.
[  2275.762] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[  2275.763] 	Entry deleted from font path.
[  2275.763] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  2275.763] 	Entry deleted from font path.
[  2275.763] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  2275.763] 	Entry deleted from font path.
[  2275.763] (==) FontPath set to:
	built-ins
[  2275.763] (==) ModulePath set to "/usr/lib/xorg/modules"
[  2275.763] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2275.763] (II) Loader magic: 0x1fcf80
[  2275.763] (II) Module ABI versions:
[  2275.763] 	X.Org ANSI C Emulation: 0.4
[  2275.763] 	X.Org Video Driver: 24.0
[  2275.763] 	X.Org XInput driver : 24.1
[  2275.763] 	X.Org Server Extension : 10.0
[  2275.764] (--) using VT number 2

[  2275.765] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  2275.766] (II) no primary bus or device found
[  2275.766] (II) LoadModule: "glx"
[  2275.766] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  2275.769] (II) Module glx: vendor="X.Org Foundation"
[  2275.769] 	compiled for 1.20.4, module version = 1.0.0
[  2275.769] 	ABI class: X.Org Server Extension, version 10.0
[  2275.769] (II) LoadModule: "fbdev"
[  2275.770] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  2275.770] (II) Module fbdev: vendor="X.Org Foundation"
[  2275.770] 	compiled for 1.20.3, module version = 0.5.0
[  2275.770] 	Module class: X.Org Video Driver
[  2275.770] 	ABI class: X.Org Video Driver, version 24.0
[  2275.770] (II) FBDEV: driver for framebuffer: fbdev
[  2275.771] (WW) Falling back to old probe method for fbdev
[  2275.771] (II) Loading sub module "fbdevhw"
[  2275.771] (II) LoadModule: "fbdevhw"
[  2275.772] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  2275.772] (II) Module fbdevhw: vendor="X.Org Foundation"
[  2275.772] 	compiled for 1.20.4, module version = 0.0.2
[  2275.772] 	ABI class: X.Org Video Driver, version 24.0
[  2275.772] (II) FBDEV(0): using /dev/fb1
[  2275.772] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 16/16
[  2275.772] (==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
[  2275.772] (==) FBDEV(0): RGB weight 565
[  2275.772] (==) FBDEV(0): Default visual is TrueColor
[  2275.772] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[  2275.772] (II) FBDEV(0): hardware: fb_ili9486 (video memory: 300kB)
[  2275.772] (DB) xf86MergeOutputClassOptions unsupported bus type 0
[  2275.773] (**) FBDEV(0): Option "fbdev" "/dev/fb1"
[  2275.773] (II) FBDEV(0): checking modes against framebuffer device...
[  2275.773] (II) FBDEV(0): checking modes against monitor...
[  2275.773] (II) FBDEV(0): Virtual size is 480x320 (pitch 480)
[  2275.773] (**) FBDEV(0):  Built-in mode "current"
[  2275.773] (==) FBDEV(0): DPI set to (96, 96)
[  2275.773] (II) Loading sub module "fb"
[  2275.773] (II) LoadModule: "fb"
[  2275.773] (II) Loading /usr/lib/xorg/modules/libfb.so
[  2275.773] (II) Module fb: vendor="X.Org Foundation"
[  2275.773] 	compiled for 1.20.4, module version = 1.0.0
[  2275.773] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2275.773] (**) FBDEV(0): using shadow framebuffer
[  2275.773] (II) Loading sub module "shadow"
[  2275.773] (II) LoadModule: "shadow"
[  2275.774] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  2275.774] (II) Module shadow: vendor="X.Org Foundation"
[  2275.774] 	compiled for 1.20.4, module version = 1.1.0
[  2275.774] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2275.774] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
[  2275.774] (==) FBDEV(0): Backing store enabled
[  2275.774] (==) FBDEV(0): DPMS enabled
[  2275.775] (II) Initializing extension Generic Event Extension
[  2275.775] (II) Initializing extension SHAPE
[  2275.775] (II) Initializing extension MIT-SHM
[  2275.776] (II) Initializing extension XInputExtension
[  2275.777] (II) Initializing extension XTEST
[  2275.777] (II) Initializing extension BIG-REQUESTS
[  2275.778] (II) Initializing extension SYNC
[  2275.778] (II) Initializing extension XKEYBOARD
[  2275.779] (II) Initializing extension XC-MISC
[  2275.779] (II) Initializing extension SECURITY
[  2275.780] (II) Initializing extension XFIXES
[  2275.780] (II) Initializing extension RENDER
[  2275.781] (II) Initializing extension RANDR
[  2275.782] (II) Initializing extension COMPOSITE
[  2275.782] (II) Initializing extension DAMAGE
[  2275.782] (II) Initializing extension MIT-SCREEN-SAVER
[  2275.783] (II) Initializing extension DOUBLE-BUFFER
[  2275.783] (II) Initializing extension RECORD
[  2275.784] (II) Initializing extension DPMS
[  2275.784] (II) Initializing extension Present
[  2275.785] (II) Initializing extension DRI3
[  2275.785] (II) Initializing extension X-Resource
[  2275.785] (II) Initializing extension XVideo
[  2275.786] (II) Initializing extension XVideo-MotionCompensation
[  2275.786] (II) Initializing extension SELinux
[  2275.786] (II) SELinux: Disabled on system
[  2275.786] (II) Initializing extension GLX
[  2275.786] (II) AIGLX: Screen 0 is not DRI2 capable
[  2275.873] (II) IGLX: Loaded and initialized swrast
[  2275.873] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[  2275.873] (II) Initializing extension XFree86-VidModeExtension
[  2275.874] (II) Initializing extension XFree86-DGA
[  2275.874] (II) Initializing extension XFree86-DRI
[  2275.874] (II) Initializing extension DRI2
[  2275.952] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/event0)
[  2275.952] (**) ADS7846 Touchscreen: Applying InputClass "libinput touchscreen catchall"
[  2275.952] (II) LoadModule: "libinput"
[  2275.952] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[  2275.962] (II) Module libinput: vendor="X.Org Foundation"
[  2275.962] 	compiled for 1.20.3, module version = 0.28.2
[  2275.962] 	Module class: X.Org XInput Driver
[  2275.962] 	ABI class: X.Org XInput driver, version 24.1
[  2275.962] (II) Using input driver 'libinput' for 'ADS7846 Touchscreen'
[  2275.962] (**) ADS7846 Touchscreen: always reports core events
[  2275.962] (**) Option "Device" "/dev/input/event0"
[  2275.962] (**) Option "_source" "server/udev"
[  2275.970] (II) event0  - ADS7846 Touchscreen: is tagged by udev as: Touchscreen
[  2275.971] (II) event0  - ADS7846 Touchscreen: device is a touch device
[  2275.971] (II) event0  - ADS7846 Touchscreen: device removed
[  2276.090] (**) Option "config_info" "udev:/sys/devices/platform/soc/fe204000.spi/spi_master/spi0/spi0.1/input/input0/event0"
[  2276.090] (II) XINPUT: Adding extended input device "ADS7846 Touchscreen" (type: TOUCHSCREEN, id 6)
[  2276.090] (**) Option "AccelerationScheme" "none"
[  2276.090] (**) ADS7846 Touchscreen: (accel) selected scheme none/0
[  2276.090] (**) ADS7846 Touchscreen: (accel) acceleration factor: 2.000
[  2276.090] (**) ADS7846 Touchscreen: (accel) acceleration threshold: 4
[  2276.095] (II) event0  - ADS7846 Touchscreen: is tagged by udev as: Touchscreen
[  2276.096] (II) event0  - ADS7846 Touchscreen: device is a touch device
[  2276.098] (II) config/udev: Adding input device ADS7846 Touchscreen (/dev/input/mouse0)
[  2276.098] (II) No input driver specified, ignoring this device.
[  2276.098] (II) This device may have been added with another device file.

Could you try full system update?

apt update
apt upgrade
apt dist-upgrade
rpi-update
reboot

Regards,

done, still no screen :

-- Logs begin at Fri 2020-08-07 19:17:15 BST. --
Aug 07 19:17:17 zynthian startx[512]: (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 7 19:17:17 2020
Aug 07 19:17:17 zynthian startx[512]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Aug 07 19:17:17 zynthian startx[512]: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Aug 07 19:17:19 zynthian startx[512]: ./zynthian.sh: line 55: /sys/class/backlight/*/bl_power: No such file or directory
Aug 07 19:17:20 zynthian startx[512]: error: failed to open file /zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl (No such file or directory)
Aug 07 19:17:20 zynthian startx[512]: lilv_world_load_file(): error: Error loading file `file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl'
Aug 07 19:17:20 zynthian startx[512]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/Surge.lv2/manifest.ttl
Aug 07 19:17:21 zynthian startx[512]: libjackpeak registering as 'jackpeak'.
Aug 07 19:17:21 zynthian startx[512]: libjackpeak created input ports
Aug 07 19:17:22 zynthian startx[512]: ERROR: PatternManager failed to open file for load /zynthian/zynthian-my-data/sequences/patterns.zynseq

Wiki still points to RC2.

Yes, of course. We still don’t have a RC-3 :wink:

RC3C :wink:

I would really like to have this woring on my V4, but after flashing back and forth I guess I’ll wait until someone has got it working…

It seems that recent Raspberry Pi OS versions has a problem with turning on/off the backlight on some displays (i.e. fb_ili9486). Any help with this issue will be welcome :wink:

Until this is solved, please, stop testing nightly builds and stick on Buster RC-2.

Regards,

Probably related to the cs_high issue.

Use an external SD Card reader/writer via USB and use a tool that works on arm to burn the image.

dd would do the job, but be sure to find the right device to write to…

Something like this should work:

sudo dd if=rasidiskimg.img of=/dev/mmcblXY status=progress bs=4M

#it reports like so:
2037383168 bytes (2.0 GB, 1.9 GiB) copied, 198.548 s, 10.3 MB/s

You may want to check dmesg after you plug in the external sd card reader with the target sd card to help you decide which one will get overwritten.

Make sure you have a backup of your original OS/SD card just in case this experiment ends badly :slight_smile:

1 Like

Thanks for that :smiley:

and how do I do that …? :smiley:

It’s turtles all the way down I tell ya…!

For backing up an SD card the same strategy would work, but in reverse: you create an image file from the SD card in the sd card reader.

Indeed, it’s turtles all the way down:

The only gotcha is you don’t want to make a backup of an SD card that is actually running the OS, so you need another machine to do that (or another SD card to boot your same raspberry pi) to make a backup of another SD card.

It might be easier and certainly faster from a PC, but it’s certainly doable from a RP alone, you just need an extra SD card with an OS containing DD that won’t be touched, and external SD card reader/writer. One you’re there make an image of the original SD card to an image file (using dd) and keep it somewhere safe in case ou need to restore it (again, dd will do that).
Once you have the backup, boot from that image to actually attempt to WRITE a NEW image to a new SD card (now knowing you have a backup of the OS you’re running in case you mess up).
If all is succesfull you can try and boot the new SD card.

I’ve never attempted it this way, but you’re sure to spend a lot of time on this and have some exciting moments :slight_smile:

Or you could simply do it from a PC… It won’t lock up the PC for very long…

Here’s some more light reading if you’re really heading this way:

1 Like

@twelve Thanks for this, so if I understand this right. Having a rpi to dd the image onto the sd card fixes the RC3 problem? (or am I completely misunderstanding the cs_high issue?)

Ah no worries & sorry I misunderstood I think.

So consensus for now is to give RC3 a bit of a wait and continue with RC2 for burning onto SD and use the built-in system update to get to the latest and greatest. Check :slight_smile:

That’s right :slight_smile:

Confirmed! It’s the SPI CS issue. I downgraded to kernel 4.19 that doesn’t have the issue using this command:

sudo rpi-update e1050e94821a70b2e4c72b318d6c6c968552e9a2

Reboot, and everything is working again! :wink:

I changed the build system to use the latest Raspberry Pi OS with kernel 4.19 and tomorrow’s build should be functional. Cross fingers!!

Thanks a lot!

3 Likes