Skip to content

add back gracefull shutdown for RPI Zero2#39

Merged
CoryManson merged 1 commit into
CoryManson:mainfrom
bademux:patch-1
Aug 15, 2025
Merged

add back gracefull shutdown for RPI Zero2#39
CoryManson merged 1 commit into
CoryManson:mainfrom
bademux:patch-1

Conversation

@bademux
Copy link
Copy Markdown

@bademux bademux commented Aug 11, 2025

No description provided.

@CoryManson
Copy link
Copy Markdown
Owner

CoryManson commented Aug 11, 2025

Instead of moving the config item to pi0.Txt, try simply uncommenting it from config.txt

pi0.txt is for all images so changes there effect all of them instead of just lakka.

@bademux
Copy link
Copy Markdown
Author

bademux commented Aug 11, 2025

If I uncomment the line in [all] section it will be applied for CM4 as well.
Unfortunately I'm not able to verify the impact for CM4 module.

@CoryManson
Copy link
Copy Markdown
Owner

A middle ground may be to uncomment it and move it down under [pi0].

But i m also happy to test cm4 images as my PSPI uses one.

@bademux
Copy link
Copy Markdown
Author

bademux commented Aug 11, 2025

well, we can to move it to "Zero" config section.
Seems like I don't understand whole config splitting. How we decide to leave device specific settings inside common config file or move it do device specific config file?

@CoryManson
Copy link
Copy Markdown
Owner

Thats okay, it's probably a good compromise until we know if it works on all images.I can't remember why but I have a feeling this setting wasn't placed into pi0.txt because it caused problems with one of the operating systems, but I'm probably wrong.

pi0.txt and cm4.txt are config settings which will be applied to all operating systems, they activate for their relevant hardware.

The config.txt in each operating system folder is unique to that operating system only.

@bademux
Copy link
Copy Markdown
Author

bademux commented Aug 11, 2025

Ok, so now I understand. Let me move it for lakka (fixed) config.txt

Well it is a bit confusing, in RPI world
config.txt is common one that usually distributed unchanged with bootloader
distroconfig.txt is distro specific
and the confusing part was pi0.txt and cm4.txt are generic one despite them included from distroconfig.txt
But pi0.txt and cm4.txt location is pretty selfexplanatory

@bademux
Copy link
Copy Markdown
Author

bademux commented Aug 12, 2025

tested on Rpi Zero2w with PSPiv6 1.3 motherboard - power off works well

@CoryManson
Copy link
Copy Markdown
Owner

I've pushed the fix for Kali, if you can re-sync your fork from main this should be good to go.

@CoryManson CoryManson merged commit d671000 into CoryManson:main Aug 15, 2025
15 of 17 checks passed
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

Successfully merging this pull request may close these issues.

2 participants