Go to advanced search

by soundcheck
Thu Dec 12, 2019 3:45 pm
Forum: Advanced users
Topic: RPi4 - GICv2 - IRQs still show on CPU0 !?!?
Replies: 1
Views: 135

RPi4 - GICv2 - IRQs still show on CPU0 !?!?

Could anybody explain to me why all the interrupts are still shown on CPU0? I had the the understanding that the GIC supposedly offloads the CPU from IRQs. Same look on 32/64bit kernels (4.19.86-v8+) btw. # cat /proc/interrupts CPU0 CPU1 CPU2 CPU3 3: 1083 1794 2181 14 GICv2 30 Level arch_timer 6: 0 ...
by soundcheck
Tue Nov 26, 2019 9:06 am
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

OK. I think I kind of isolated the behavior. The "halt" 700mA issue, that I ran into, pops up when running the 64bit foundation kernel (4.19.85-v8+) Booting the 32bit kernel does show the same 20mA behavior "halt=shutdown" as you folks reported. Perhaps somebody else gives the 64bit kernel a try to ...
by soundcheck
Mon Nov 25, 2019 5:53 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

You seem to have your rpi-eeprom or better vl805 not up2date.

i am running the 64 bit kernel.

my raspbian is just a couple of weeks old.

BL. There are plenty of differences.
by soundcheck
Mon Nov 25, 2019 12:46 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

What's your eeprom version? "rpi-eeprom-update"
by soundcheck
Sat Nov 23, 2019 1:32 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

My head keeps spinning. ;) Following above logic and findings, that peripherals simply don't power down themselves if they loose connection to the host on the PI4 might explain the difference to the PI3B+ . Which is: If I e.g. disconnect the USB/ethernet HUB from the host on the PI3 by unbinding the...
by soundcheck
Sat Nov 23, 2019 11:39 am
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

When checking that HALT state idle current draw, apparently nothing should be attached to the RPI. HALT won't cut off the rails. Everything attached to the rails will keep sucking. And that's not only limited to USB devices or HATs. It also applies to the onboard peripherals. E.g. In my HALT status ...
by soundcheck
Fri Nov 22, 2019 6:45 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

Here's what I'm looking at in HALT status.

It's a brandnew PI and
latest Raspbian (minimal)
latest RPI kernel (4.19.84-v8+)
latest firmware (tried critical and beta)

RPI4-HALT-current-draw-1024x768.jpg
RPI4-HALT-current-draw-1024x768.jpg (189.22 KiB) Viewed 1455 times
by soundcheck
Fri Nov 22, 2019 4:07 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

In my battery applications the opposite turned out to be true. Pi4 has ability to draw much lower halt current than my previous models. Set by ee boot code and discovered accidentally when original Pi4 was shipped turning off power by default. Coming back to the HALT state topic. If I run "halt" an...
by soundcheck
Fri Nov 22, 2019 8:02 am
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

@jdb Thx for explaining the ethernet behavior. It pretty much explains what I was measuring. The question is if there's an low power option beyond "energy detect". Basically an "all off" option. And. Is there a way to at least stop these Rx wakeups? *** On the RPI 3B+ - with USB/ethernet enabled and...
by soundcheck
Thu Nov 21, 2019 8:34 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

I'm fully aware of that. It's well known that "low f an high load" is worse than "high f and low load". High load situations I wouldn't consider the normal situation though. My main focus therefore is currently on the idle operation. Saving 100mA or more and not giving away anything is well worth th...
by soundcheck
Thu Nov 21, 2019 1:56 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

I just tried 1. lowering the number of active CPUs to 2 by adding maxcpus=2 to /boot/cmdline.txt 2. disabling onboard audio (also covers HDMI audio) dtparam=audio=off in /boot/config.txt None of it had any impact on the current draw. I had hoped that at least the disabled CPUs would enter a kind of ...
by soundcheck
Thu Nov 21, 2019 1:32 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

I just turned the PI4 DRM VC4 V3D driver on and off in /boot/config.txt

Code: Select all

# Enable DRM VC4 V3D driver on top of the dispmanx display stack
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
Having it off saves us

~10mA

under idle conditions.
by soundcheck
Thu Nov 21, 2019 11:26 am
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

Let's go on a little. I looked at the CPU governors. I guess I do not have to explain what these are for. Just some words. Each of the 6 governors offers a different CPU frequency scheme. The right choice of the scheme depends on the working conditions each user is running. The default frequency ran...
by soundcheck
Tue Nov 19, 2019 1:26 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

Thx for chiming in.

Yep. I know it's all separated now.
That's why I suggested to think about 3 different "disable_xxx overlays". ;)

Great that you'll have a look it. :D
by soundcheck
Tue Nov 19, 2019 11:20 am
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

Nice progress so far. The foundation seems to be on track. Most tested mods are working now. However. ~465mA @ 800MHz is not comparable to the 3B+- though. We talk Wifi and 4cores @idle. Exactly that scenario I had down to 230mA (actually similar to the PI 3A.) The key power save mod on my 3B+ insta...
by soundcheck
Tue Nov 19, 2019 10:58 am
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

One more. Now comes the ethernet port. That one behaves quite differently. All I figured so far is turning it on/off, or perhaps better would be saying putting it to idle and activate it, relates to: plug or unplug a cable Unfortunately there is NO overlay called "disable-ethernet". Below my tests. ...
by soundcheck
Tue Nov 19, 2019 10:37 am
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

On we go. I now tested Wifi and BT It's done via /boot/config.txt As you can see below, also here the overlay naming has changed recently. ##turn on/ off bluetooth dtoverlay=disable-bt ##turn on/off wifi dtoverlay=disable-wifi By turning off Wifi I measured ~ 45mA savings. Turning off bluetooth didn...
by soundcheck
Mon Nov 18, 2019 6:40 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

Next. Now come the ethernet jack LEDs. Good news! These can also be turned off again. (Didn't work last time I tried) /boot/config.txt ##turn off ethernet port LEDs dtparam=eth_led0=4 dtparam=eth_led1=4 Great another one! Now we've got a totally dark PI. And a couple of mA less. :D Just to mention i...
by soundcheck
Mon Nov 18, 2019 6:22 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

Now I tested the mainboard LEDs. /boot/config.txt needs to be edited. NOTE: Just recently the required overlay naming has been changed! (see below) ##turn off mainboard LEDs dtoverlay=act-led ##disable ACT LED dtparam=act_led_trigger=none dtparam=act_led_activelow=off ##disable PWR LED dtparam=pwr_l...
by soundcheck
Mon Nov 18, 2019 6:15 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

Re: RPi4 - Power Savings

I ran my 3B+ at 230mA (USB/ethernet off @ 800MHz). And now on the PI4 I'm at around [email protected]. ******** I just tested HDMI. HDMI is off at boot (probably without devices connected). That's nice. That was different in the past if I recall it correctly. Turning HDMI ON adds around 20mA (used to be ...
by soundcheck
Mon Nov 18, 2019 4:54 pm
Forum: Advanced users
Topic: RPi4 - Power Savings
Replies: 32
Views: 2861

RPi4 - Power Savings

Hi there. I'd like to collect all kind of power and/or load saving options related to the RPi4. As most of you know, the RPi4 has a higher power consumption then it's predecessors and runs at much higher idle temperatures. Putting the RPi4 into a case or running it with a HAT can an will increase th...
by soundcheck
Thu Oct 24, 2019 12:36 pm
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 111
Views: 22503

Re: VLI firmware v2.0 - powersaving features enabled

Thx a lot for the feedback.
by soundcheck
Thu Oct 24, 2019 11:42 am
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 111
Views: 22503

Re: VLI firmware v2.0 - powersaving features enabled

While you're at it. Not sure if this is the right place. Some more comments. Call it pedantics. * I think the script (rpi-eeprom-update) needs to get a bit more hardened. You don't check if "all" the userland tools (vcmailbox etc) are actually available. * Since now you combine all eeprom firmware y...
by soundcheck
Thu Oct 24, 2019 7:18 am
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 111
Views: 22503

Re: VLI firmware v2.0 - powersaving features enabled

Hi. Great news about the combined eeprom/VL package. Just tested it. #rpi-eeprom-update Bootloader EEPROM is up to date BOOTLOADER CURRENT: Tue Sep 10 10:41:50 UTC 2019 (1568112110) LATEST: Tue Sep 10 10:41:50 UTC 2019 (1568112110) VL805 CURRENT: 000137ab LATEST: 000137ab Comment: It still says "Boo...

Go to advanced search