RP4 Upgrade Issues

Hey folks. I’m having some issues upgrading to a Pi4.

All I’ve done is swapped out the board and power and it’s really not liking it.

My OS was Buster 2020-02-28 from my Pi3.
First thing was just a white screen. I use the PiScreen V2 but it’s not working, PiScreen V1 did work, but the screen upside down, which I guess I can sort, but the V2 used to work on the P3.
Next I have no encoder control, where it used to list MCP it says nothing.

I flashed a later build from yesterday (2020-03-05) and with that I cant even get to the web config page. I can ping the device, I can WinSCP in, but I can’t get in via Putty (Couldn’t agree a host key)
The login did briefly appear at one point but just hung there and timed out

I then flashed the 2019 RC1
Nothing, it wont even boot so I can’t ping it.

I’m trying a few SD cards

I’m about to retry the 2020-02-28 - is that the best one?
Should this just work, or should be doing something else for the P4?

I am using all my own custom built gear, but it was flawless on the P3.

It’s all a bit strange :anguished:

looks like I may have blown my MCP chip :grimacing:

I wouldn’t use an existing pi3 image but install from a fresh one. The first boot might set some values for pi3 and missing one for pi4 will never get installed.
29 works as well

I just tried a fresh install on my RP3 to test things out there.
As soon as I boot with my controller board attached, I get the error screen, the DAC is disabled, web I log floods with errors and then the webpage becomes unresponsive.

For the P3 i’m using the setting id normally have.

here is what the logs say.

– Logs begin at Thu 2019-02-14 10:11:59 GMT. –
Mar 07 09:51:11 zynthian startx[528]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/triceratops.lv2/manifest.ttl
Mar 07 09:51:11 zynthian startx[528]: error: failed to open file /zynthian/zynthian-plugins/lv2/b_whirl/b_whirl-configurable.ttl (No such file or directory)
Mar 07 09:51:11 zynthian startx[528]: lilv_world_load_bundle(): warning: Ignoring bundle <file:///zynthian/zynthian-plugins/lv2/b_whirl/>
Mar 07 09:51:11 zynthian startx[528]: lilv_world_load_bundle(): note: Newer version of http://gareus.org/oss/lv2/b_whirl#extended loaded from <file:///zynthian/zynthian-plugins/lv2/b_whirl_xt/>
Mar 07 09:51:11 zynthian startx[528]: error: failed to open file /zynthian/zynthian-plugins/lv2/Harmless.lv2/manifest.ttl (No such file or directory)
Mar 07 09:51:11 zynthian startx[528]: lilv_world_load_file(): error: Error loading file file:///zynthian/zynthian-plugins/lv2/Harmless.lv2/manifest.ttl' Mar 07 09:51:11 zynthian startx[528]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/Harmless.lv2/manifest.ttl Mar 07 09:51:11 zynthian startx[528]: error: failed to open file /zynthian/zynthian-plugins/lv2/triceratops-presets.lv2/manifest.ttl (No such file or directory) Mar 07 09:51:11 zynthian startx[528]: lilv_world_load_file(): error: Error loading file file:///zynthian/zynthian-plugins/lv2/triceratops-presets.lv2/manifest.ttl’
Mar 07 09:51:11 zynthian startx[528]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/triceratops-presets.lv2/manifest.ttl
Mar 07 09:51:12 zynthian startx[528]: WARNING:zynthian_gui_keybinding: Can’t load keyboard binding config file ‘/zynthian/config/keybinding.yaml’. Using default.
Mar 07 09:51:12 zynthian startx[528]: Cannot connect to server socket err = No such file or directory
Mar 07 09:51:12 zynthian startx[528]: Cannot connect to server request channel
Mar 07 09:51:12 zynthian startx[528]: jack server is not running or cannot be started
Mar 07 09:51:12 zynthian startx[528]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Mar 07 09:51:12 zynthian startx[528]: libjackpeak failed to start jack client: 17
Mar 07 09:51:13 zynthian startx[528]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Mar 07 09:51:13 zynthian startx[528]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Mar 07 09:51:13 zynthian startx[528]: Zooming image by 100%…done
Mar 07 09:51:13 zynthian startx[528]: Merging…done
Mar 07 09:51:13 zynthian startx[528]: Building XImage…done
Mar 07 09:51:18 zynthian startx[528]: error: failed to open file /zynthian/zynthian-plugins/lv2/triceratops.lv2/manifest.ttl (No such file or directory)
Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_file(): error: Error loading file file:///zynthian/zynthian-plugins/lv2/triceratops.lv2/manifest.ttl' Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/triceratops.lv2/manifest.ttl Mar 07 09:51:18 zynthian startx[528]: error: failed to open file /zynthian/zynthian-plugins/lv2/b_whirl/b_whirl-configurable.ttl (No such file or directory) Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_bundle(): warning: Ignoring bundle <file:///zynthian/zynthian-plugins/lv2/b_whirl/> Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_bundle(): note: Newer version of <http://gareus.org/oss/lv2/b_whirl#extended> loaded from <file:///zynthian/zynthian-plugins/lv2/b_whirl_xt/> Mar 07 09:51:18 zynthian startx[528]: error: failed to open file /zynthian/zynthian-plugins/lv2/Harmless.lv2/manifest.ttl (No such file or directory) Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_file(): error: Error loading file file:///zynthian/zynthian-plugins/lv2/Harmless.lv2/manifest.ttl’
Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/Harmless.lv2/manifest.ttl
Mar 07 09:51:18 zynthian startx[528]: error: failed to open file /zynthian/zynthian-plugins/lv2/triceratops-presets.lv2/manifest.ttl (No such file or directory)
Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_file(): error: Error loading file `file:///zynthian/zynthian-plugins/lv2/triceratops-presets.lv2/manifest.ttl’
Mar 07 09:51:18 zynthian startx[528]: lilv_world_load_bundle(): error: Error reading file:///zynthian/zynthian-plugins/lv2/triceratops-presets.lv2/manifest.ttl
Mar 07 09:51:19 zynthian startx[528]: WARNING:zynthian_gui_keybinding: Can’t load keyboard binding config file ‘/zynthian/config/keybinding.yaml’. Using default.
Mar 07 09:51:19 zynthian startx[528]: Cannot connect to server socket err = No such file or directory
Mar 07 09:51:19 zynthian startx[528]: Cannot connect to server request channel
Mar 07 09:51:19 zynthian startx[528]: jack server is not running or cannot be started
Mar 07 09:51:19 zynthian startx[528]: JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Mar 07 09:51:19 zynthian startx[528]: libjackpeak failed to start jack client: 17
Mar 07 09:51:20 zynthian startx[528]: PNG file: /zynthian/config/img/fb_zynthian_error_ip.png - Application must supply a known background gamma
Mar 07 09:51:20 zynthian startx[528]: /zynthian/config/img/fb_zynthian_error_ip.png is 480x320 PNG image, color type RGB_ALPHA, 8 bit, file gamma 0.4546
Mar 07 09:51:20 zynthian startx[528]: Zooming image by 100%…done
Mar 07 09:51:20 zynthian startx[528]: Merging…done
Mar 07 09:51:20 zynthian startx[528]: Building XImage…done

If I remove the MCP23017 chip off the board it boots fine.

Guess I should order a replacement unless anyone knows a way to test it.

yes, i would replace it as well.
The error messages like lilv_world_load_file are known.

Any clue as to what caused the failure?

Mcp23017 do seem rather theatrical as far as death is concerned. Connector reverses don’t seem to do them a lot of good…

Ah yes. I’m forgetting ribbon cables. I’ve been looking at hats for too long.

1 Like

I seem to recall when connecting the ribbon cable to my 2 way splitter, I missed a row and powered on.
I have done this before and its been fine, but this time, that may have been it.
I think that would have put 5V into the SDA, if I read that right in my head. :grimacing:

I guess it could have been ESD :man_shrugging:

I’ve checked the entire board with a multimeter and all the GPIO pins connect to where they should, no shorts or breaks. I even traced the pins to the legs of the IC.

I did wonder if the RP4 may have a different GPIO and could have done it but I sure others would have reported that. It does look to have extra functionality but should not affect anything.

I have ordered a new MCP chip for collection Monday. They are pretty cheap from my local electronics shop, so will have to see then.

I’ve stripped everything out of my case and I’ll test everything on my old RP3 first. All being well I can then slowly rebuild it around the RP4.

@Simon, Thanks for the info. I have a DIY MCP32017 board running first on Pi3, now converted to Pi4 with no issues and the GPIO is the same between the two. I’d expect this has more to do with mis-aligned connectors than anything else.

There are reports of them getting hot in a failure mode (dead…)

@smiths73v3 , I hope you’re right. It’s weird that it also disabled the DAC, but I guess everything is connected. I’m just glad the RP4 is OK. I tested that earlier with just the screen, DAC and a USB keyboard - pretty impressive difference in performance.

@wyleu, it got warm but not hot.

Hi @guys!

The latest ZynthianOS builds solve the problems with LV2 cache regeneration and some others too. Please, try this one:

https://os.zynthian.org/2020-03-06-zynthianos-buster-lite-1.0.0.zip

if we don’t find serious issues, it could be the Buster RC-2 :wink:

Regards,

3 Likes

I’m guessing here, but if the DAC uses I2C for configuration (not uncommon) then a bad MCP would easily cause the DAC to fail also.

Symptoms were the same when my MCP failed

Just replaced my MCP and the GPIO Expander is now visible :smiley:
This is just on the RP3 at the moment but it’s all looking good.

Thanks for all the comments and assistance.

Once i’m up and rebuilt with the RP4, i’ll see if I can post a sound or two.

Simon

2 Likes