Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Marvelous! The super-user's going to boot me! What a finely tuned response to the situation!


computers / comp.sys.raspberry-pi / Re: Power pins, aren't they powered down at poweroff/halt?

SubjectAuthor
* Power pins, aren't they powered down at poweroff/halt?Chris Green
`* Re: Power pins, aren't they powered down at poweroff/halt?Theo
 +* Re: Power pins, aren't they powered down at poweroff/halt?Andy Burns
 |`* Re: Power pins, aren't they powered down at poweroff/halt?Andy Burns
 | `* Re: Power pins, aren't they powered down at poweroff/halt?Chris Green
 |  `* Re: Power pins, aren't they powered down at poweroff/halt?Jim Jackson
 |   +* Re: Power pins, aren't they powered down at poweroff/halt?Martin Gregorie
 |   |+* Re: Power pins, aren't they powered down at poweroff/halt?Jim Jackson
 |   ||+- Re: Power pins, aren't they powered down at poweroff/halt?Computer Nerd Kev
 |   ||`* Re: Power pins, aren't they powered down at poweroff/halt?Theo
 |   || +- Re: Power pins, aren't they powered down at poweroff/halt?Jim Jackson
 |   || `* Re: Power pins, aren't they powered down at poweroff/halt?Computer Nerd Kev
 |   ||  `* Re: Power pins, aren't they powered down at poweroff/halt?Theo
 |   ||   `- Re: Power pins, aren't they powered down at poweroff/halt?Computer Nerd Kev
 |   |+* Re: Power pins, aren't they powered down at poweroff/halt?Ahem A Rivet's Shot
 |   ||+- Re: Power pins, aren't they powered down at poweroff/halt?druck
 |   ||+- Re: Power pins, aren't they powered down at poweroff/halt?Martin Gregorie
 |   ||`- Re: Power pins, aren't they powered down at poweroff/halt?The Natural Philosopher
 |   |+- Re: Power pins, aren't they powered down at poweroff/halt?Richard Kettlewell
 |   |`* Re: Power pins, aren't they powered down at poweroff/halt?The Natural Philosopher
 |   | `- Re: Power pins, aren't they powered down at poweroff/halt?Martin Gregorie
 |   `* Re: Power pins, aren't they powered down at poweroff/halt?The Natural Philosopher
 |    `* Re: Power pins, aren't they powered down at poweroff/halt?Andy Burns
 |     `* Re: Power pins, aren't they powered down at poweroff/halt?The Natural Philosopher
 |      `- Re: Power pins, aren't they powered down at poweroff/halt?Theo
 `* Re: Power pins, aren't they powered down at poweroff/halt?Chris Green
  +- Re: Power pins, aren't they powered down at poweroff/halt?Theo
  `* Re: Power pins, aren't they powered down at poweroff/halt?druck
   `- Re: Power pins, aren't they powered down at poweroff/halt?Chris Green

Pages:12
Re: Power pins, aren't they powered down at poweroff/halt?

<ukvg1g$1o5na$5@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8229&group=comp.sys.raspberry-pi#8229

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!newsfeed.endofthelinebbs.com!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: martin@mydomain.invalid (Martin Gregorie)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Power pins, aren't they powered down at poweroff/halt?
Date: Fri, 8 Dec 2023 16:25:20 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ukvg1g$1o5na$5@dont-email.me>
References: <rg114k-6r5.ln1@esprimo.zbmc.eu>
<-Yt*KF3wz@news.chiark.greenend.org.uk> <kt667nF99ekU1@mid.individual.net>
<kt66q8F99ejU2@mid.individual.net> <28914k-m5k.ln1@esprimo.zbmc.eu>
<slrnun42aa.53h.jj@iridium.wf32df> <ukt6vr$17mo2$3@dont-email.me>
<ukv9vj$1p5cp$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Dec 2023 16:25:20 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="79df898d28d83e9838db25f5f4b47935";
logging-data="1840874"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/LLxbiYVLL5eUWa5TTPfdWDsvOf65r0rY="
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:kKxFaKZFHlVyjhL7czarg7j6vvY=
 by: Martin Gregorie - Fri, 8 Dec 2023 16:25 UTC

On Fri, 8 Dec 2023 14:41:55 +0000, The Natural Philosopher wrote:

> On 07/12/2023 19:38, Martin Gregorie wrote:
>
>> Anything else can't stop because, even when its apparently idle, it
>> must be actively scanning for interrupts that require handling.
>>
> Ah, I see you do not understand hardware interrupts AT ALL.
>
> Hardware interrupts are not 'scanned' They actually toggle a hardware
> pin on the CPU (at leasts conceptually)
>
Agreed. Dunno what I was thinking when I wrote that.

Evidently I confused MC6809 operations, which of course were standard
interrupts, with MC6845 operations, which allowed direct read/write
operations to the address region that delimited video display memory.
Since the 6845's video memory scan was out of phase with the master clock,
there were no problems with access collisions between in and the 6809 MPU.

I handled all display updates by using subroutines in 4 K of EEPROM at the
top of the memory map.

--

Martin | martin at
Gregorie | gregorie dot org

Re: Power pins, aren't they powered down at poweroff/halt?

<ukvgjv$1q9bb$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8232&group=comp.sys.raspberry-pi#8232

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!usenet.network!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Power pins, aren't they powered down at poweroff/halt?
Date: Fri, 8 Dec 2023 16:35:11 +0000
Organization: A little, after lunch
Lines: 20
Message-ID: <ukvgjv$1q9bb$2@dont-email.me>
References: <rg114k-6r5.ln1@esprimo.zbmc.eu>
<-Yt*KF3wz@news.chiark.greenend.org.uk> <kt667nF99ekU1@mid.individual.net>
<kt66q8F99ejU2@mid.individual.net> <28914k-m5k.ln1@esprimo.zbmc.eu>
<slrnun42aa.53h.jj@iridium.wf32df> <ukv9q8$1p5cp$2@dont-email.me>
<ktgppkFga3qU3@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Dec 2023 16:35:11 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="168e5519fcf721083c47c1a2564251f6";
logging-data="1910123"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UPejBpKof12Z2RoAdtkqZf/04sRxZwEI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:2OmDyTSf3Qguyn5EfDPkzf93hHM=
In-Reply-To: <ktgppkFga3qU3@mid.individual.net>
Content-Language: en-GB
 by: The Natural Philosop - Fri, 8 Dec 2023 16:35 UTC

On 08/12/2023 15:07, Andy Burns wrote:
> The Natural Philosopher wrote:
>
>> in the bootconf.txt I changed to: POWER_OFF_ON_HALT=1"
>>
>> What this actually means in the context of a Pi is not 100% clear though
>
> I think that only affects a Pi5

Honestly, I dont know.

The good thing about this group is that the one person who possibly does
may just de-lurk and tell us the definitive answer.

--
“Politics is the art of looking for trouble, finding it everywhere,
diagnosing it incorrectly and applying the wrong remedies.”
― Groucho Marx

Re: Power pins, aren't they powered down at poweroff/halt?

<o7o*+qoxz@news.chiark.greenend.org.uk>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8243&group=comp.sys.raspberry-pi#8243

  copy link   Newsgroups: comp.sys.raspberry-pi
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsfeed.xs3.de!callisto.xs3.de!nntp-feed.chiark.greenend.org.uk!ewrotcd!.POSTED.chiark.greenend.org.uk!not-for-mail
From: theom+news@chiark.greenend.org.uk (Theo)
Newsgroups: comp.sys.raspberry-pi
Subject: Re: Power pins, aren't they powered down at poweroff/halt?
Date: 08 Dec 2023 21:56:10 +0000 (GMT)
Organization: University of Cambridge, England
Message-ID: <o7o*+qoxz@news.chiark.greenend.org.uk>
References: <rg114k-6r5.ln1@esprimo.zbmc.eu> <-Yt*KF3wz@news.chiark.greenend.org.uk> <kt667nF99ekU1@mid.individual.net> <kt66q8F99ejU2@mid.individual.net> <28914k-m5k.ln1@esprimo.zbmc.eu> <slrnun42aa.53h.jj@iridium.wf32df> <ukv9q8$1p5cp$2@dont-email.me> <ktgppkFga3qU3@mid.individual.net> <ukvgjv$1q9bb$2@dont-email.me>
Injection-Info: chiark.greenend.org.uk; posting-host="chiark.greenend.org.uk:212.13.197.229";
logging-data="17780"; mail-complaints-to="abuse@chiark.greenend.org.uk"
User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (Linux/5.10.0-22-amd64 (x86_64))
Originator: theom@chiark.greenend.org.uk ([212.13.197.229])
 by: Theo - Fri, 8 Dec 2023 21:56 UTC

The Natural Philosopher <tnp@invalid.invalid> wrote:
> On 08/12/2023 15:07, Andy Burns wrote:
> > The Natural Philosopher wrote:
> >
> >> in the bootconf.txt I changed to: POWER_OFF_ON_HALT=1"
> >>
> >> What this actually means in the context of a Pi is not 100% clear though
> >
> > I think that only affects a Pi5
>
> Honestly, I dont know.
>
> The good thing about this group is that the one person who possibly does
> may just de-lurk and tell us the definitive answer.

It affects Pi4 and 400 too:
https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#POWER_OFF_ON_HALT

This is a setting for the firmware EEPROM. Pis 0-3 don't have a firmware
EEPROM. It appears 3, 4, 400, CM4 have a PMIC addressable by I2C so in
theory they can turn the power off using it (if I understand the datasheet
right):

https://repair.wiki/w/MXL7704_(Raspberry_Pi)

but I don't know if they all do.

Theo

Re: Power pins, aren't they powered down at poweroff/halt?

<6573a0e6@news.ausics.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=8246&group=comp.sys.raspberry-pi#8246

  copy link   Newsgroups: comp.sys.raspberry-pi
Message-ID: <6573a0e6@news.ausics.net>
From: not@telling.you.invalid (Computer Nerd Kev)
Subject: Re: Power pins, aren't they powered down at poweroff/halt?
Newsgroups: comp.sys.raspberry-pi
References: <rg114k-6r5.ln1@esprimo.zbmc.eu> <-Yt*KF3wz@news.chiark.greenend.org.uk> <kt667nF99ekU1@mid.individual.net> <kt66q8F99ejU2@mid.individual.net> <28914k-m5k.ln1@esprimo.zbmc.eu> <slrnun42aa.53h.jj@iridium.wf32df> <ukt6vr$17mo2$3@dont-email.me> <slrnun498v.53h.jj@iridium.wf32df> <Y+b*0bjxz@news.chiark.greenend.org.uk> <65725e4d@news.ausics.net> <Y+b*BHmxz@news.chiark.greenend.org.uk>
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
NNTP-Posting-Host: news.ausics.net
Date: 9 Dec 2023 09:04:06 +1000
Organization: Ausics - https://ausics.net
Lines: 50
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: Computer Nerd Kev - Fri, 8 Dec 2023 23:04 UTC

Theo <theom+news@chiark.greenend.org.uk> wrote:
> Computer Nerd Kev <not@telling.you.invalid> wrote:
>> Theo <theom+news@chiark.greenend.org.uk> wrote:
>> >
>> > It is possible the Pi's GPU does other things like turning off power to
>> > various peripherals, but we don't have visibility of that side of the
>> > firmware.
>>
>> There are different power states that the GPU can be commanded to
>> enter:
>>
>> #define Get_Power_State 0x00020001 // Power: Get Power State (Response: Device ID, State)
>> #define Set_Power_State 0x00028001 // Power: Set Power State (Response: Device ID, State)
>
> Those are the mailbox property interface:
> https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface

Yes, that's the system for talking to the GPU running the
closed-source firmware. My point was that we don't need visibility
of the GPU firmware if we know what commands it's sent and what
it's supposed to turn off as a result.

Thanks for that link though, I'd forgotten that page existed.

>> In Linux, the routines for setting power states are in:
>> drivers/soc/bcm/raspberrypi-power.c
>> https://sources.debian.org/src/linux/6.5.13-1/drivers/soc/bcm/raspberrypi-power.c
>>
>> They seem to be called "power domains" in kernel speak, and there's
>> RPI_POWER_DOMAIN_ARM. That might mean the CPU, but I don't see any
>> useful comments that state it explicitly.
>
> Device tree usually tells you which power domains need to be up, eg need to
> power SD card controller before you can talk to it. But I don't see any
> mechanism for the CPU to tell the GPU to turn things off on shutdown -
> there's no 'I'm shutting down now' message documented.

My implication was supposed to be that Linux would likely set all
the "power domains" to the off state at shut down. Last possibly
being RPI_POWER_DOMAIN_ARM if that means the CPU. To be certain,
you'd have to work out whether from reboot() Linux somehow ends up
calling rpi_firmware_set_power() in raspberrypi-power.c to disable
things.

But it probably does, because the power consumption goes down a lot
after power-off.

--
__ __
#_ < |\| |< _# | Note: I won't see posts made from Google Groups |

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor