Comments (8)
from raspberrypipkg.
from raspberrypipkg.
@andreiw how to change it to soft power off (not cut down the electricity, just shutdown system and system will not auto start again, not really shutdown the electricity)? in normal mode not efi it comes system stop and not "auto
restart"
Normally, after we shut down the system, pi will not boot automatically unless power is turned on again after the power is turned off.
from raspberrypipkg.
right now there’s no way
Low prio work but I’ll get it done eventually
from raspberrypipkg.
@andreiw expect! When you done this , this firmware will be perfect!
from raspberrypipkg.
I think there is an interesting difference here between what the standard booted images do compared to what an image booted through Tiano Core does. With the standard booted images, doing a powerdown will not power cycle or soft-reset. With Tiano Core, halting does power cycle (or is it a soft-reset?)
(Am I wrong here?) This behavior is expected, so much so that there's provision for adding a soft-reset switch by jumping the P6 header as per here (apparently this was added in rev 2 of the original pi and has carried forward to newer versions.)
https://raspi.tv/2012/making-a-reset-switch-for-your-rev-2-raspberry-pi
It's nice to be able to tell the system to shutdown, so you can remove power or swap an SD card without risking corruption, especially for headless systems. Otherwise you have to time the shutdown command with pulling power as soon as the system has started to power cycle come back up.
Tl;DR: Expected behavior on sending shutdown is to shift the pi into a low power mode which can only be recovered from via power cycle or shorting header P6. With Tiano Core sending shutdown appears to end in a warm-reset.
from raspberrypipkg.
from raspberrypipkg.
Here's the officially suggested solution raspberrypi/firmware#1016 (comment) , which is to "write 0x555 (plus the usual password) to the RSTS register," before using the watchdog timer to reset the device.
That would be a minor modification to the rpi3_system_reset function in https://github.com/andreiw/raspberry-pi3-atf/blob/master/plat/rpi3/rpi3_pm.c, making rpi3_system_off a special case inside rpi3_system_reset, no?
Or was this what was happening in the originally without a shutdown function before you implemented the andreiw/raspberry-pi3-atf@b1f5b03 commit?
from raspberrypipkg.
Related Issues (20)
- Other single board computers HOT 1
- CPU clock issue HOT 3
- WIN10 (ARM) reboot after BIOS setup HOT 5
- Raspberry pi 3 b+ BIOS W10 HOT 2
- [Feature Request] add support to MultiBoot With GRUB2 HOT 3
- I can't install Windows 10 on my Raspberry Pi 3 Model B. HOT 1
- How to use PL011 UART on GPIO14&GPIO15 HOT 5
- Support for the Raspberry Pi 4 HOT 28
- Replace encoded MsftFunctionConfigs with their standard equivalent, PinFunction HOT 15
- Ability to load extra SSDTs from file, to support HATs HOT 5
- [error] Can not boot from 4.19 on Rpi3b+ HOT 6
- Drivers HOT 5
- WD Pi Drive shuts down during boot. (USB Boot problems) HOT 4
- Network Booting UEFI for Network Booting Kernel HOT 2
- How to set the default boot drive? HOT 2
- Can you make this for RaspberryPi 4b?I need it! HOT 2
- Can't download the windows 10 file
- Outdated UEFI with WoR Project HOT 1
- Does it support pi4? HOT 1
- THIS IS A DEPRECATED REPO - DO NOT USE - DO NOT FILE ISSUES
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raspberrypipkg.