raspberrypi / bookworm-feedback

12 stars 1 forks source link

Scratch3 doesn't work on Pi5 with 16KB pages #91

Open lurch opened 8 months ago

lurch commented 8 months ago

As spotted on the forums https://forums.raspberrypi.com/viewtopic.php?t=357782

I tested all combinations of Scratch 1, Scratch 3, Bookworm 32-bit, Bookworm 64-bit, Pi4 and Pi5. Everything works fine except for Scratch 3 on 64-bit Bookworm running on a Pi5 (as noted in the forum, it results in a Segmentation fault when run from the Terminal). Seems strange that it works on 64-bit on Pi4 but not 64-bit on Pi5!

pelwell commented 8 months ago

You could try with kernel=kernel8.img in config.txt, so the Pi 5 is running exactly the same kernel as on Pi 4. Without this the Pi 5 will use 16KB pages.

lurch commented 8 months ago

Ah yes, that indeed gets things working :+1:

pelwell commented 8 months ago

Title updated accordingly.

spl237 commented 8 months ago

Scratch 3 not working is a known issue and the Foundation are already working on it. I believe I mentioned this in the launch blog post!

spl237 commented 8 months ago

Although now I check, I didn't, probably because at that time it didn't matter, as no-one had a Pi 5. Anyway, as above - know issue, Foundation already investigating.

SivaVasudevan0204 commented 7 months ago

Hello, im trying to use Raspberry Pi GPIO and Raspberry Pi Sense HAT from Scratch3 in Raspberry Pi 5. but its didnt response. Btw Im using 32 bit and 4kb size pages. Can anyone help me out?

popcornmix commented 7 months ago

@SivaVasudevan0204 create a new issue. Your issue doesn't fit the title "Scratch3 doesn't work on Pi5 with 16KB pages", so is just confusing this issue.

SivaVasudevan0204 commented 7 months ago

@SivaVasudevan0204 create a new issue. Your issue doesn't fit the title "Scratch3 doesn't work on Pi5 with 16KB pages", so is just confusing this issue.

ok sure

grega commented 4 months ago

The 3.30.6 release (https://archive.raspberrypi.org/debian/pool/main/s/scratch3/) fixes startup issues on Raspberry Pi 5, and the latest 3.30.8 release fixes issues loading the GPIO and Simple Electronic extensions:

64-bit: https://archive.raspberrypi.org/debian/pool/main/s/scratch3/scratch3_3.30.8_arm64.deb

32-bit: https://archive.raspberrypi.org/debian/pool/main/s/scratch3/scratch3_3.30.8_armhf.deb