Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lurch opened this issue Oct 18, 2023 · 9 comments
Open

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

lurch opened this issue Oct 18, 2023 · 9 comments

Comments

@lurch
Copy link
Collaborator

lurch commented Oct 18, 2023

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
Copy link

pelwell commented Oct 18, 2023

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
Copy link
Collaborator Author

lurch commented Oct 18, 2023

Ah yes, that indeed gets things working 👍

@pelwell pelwell changed the title Scratch3 doesn't work on 64-bit Bookworm on Pi5 Scratch3 doesn't work on Pi5 with 16KB pages Oct 18, 2023
@pelwell
Copy link

pelwell commented Oct 18, 2023

Title updated accordingly.

@spl237
Copy link

spl237 commented Oct 18, 2023

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
Copy link

spl237 commented Oct 18, 2023

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
Copy link

SivaVasudevan0204 commented Nov 24, 2023

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
Copy link

@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
Copy link

@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
Copy link

grega commented Feb 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants