Go to advanced search

by jahboater
Tue Nov 03, 2020 2:01 pm
Forum: General discussion
Topic: RPI 4 disappointment
Replies: 41
Views: 2341

Re: RPI 4 disappointment

GlowInTheDark wrote:
Tue Nov 03, 2020 12:57 pm
I find flaws in RPI products everyday (and I'm basically a fan), but I don't bother reporting them anymore.
Its the big numbers.

With 36 million? or more Pi's sold and relatively few problems reported, I would assume user error on my part first.

What are these flaw's you find "everyday"?
by jahboater
Tue Nov 03, 2020 1:48 pm
Forum: General discussion
Topic: Raspberry Pi 400 vs Raspberry Pi 4 speed tests
Replies: 12
Views: 806

Re: Raspberry Pi 400 vs Raspberry Pi 4 speed tests

AndrewPiEater wrote:
Tue Nov 03, 2020 12:27 pm
Thanks guys, 2 and 1800 appears to be working nice and stable.
Try also with over_voltage=1 (or leave as the default, the firmware may set the correct voltage anyway).
The C0 stepping has some fancy new power gating so things may be different.

I only suggested 2 as a ball park figure.
by jahboater
Tue Nov 03, 2020 1:45 pm
Forum: Raspberry Pi 400
Topic: The Raspberry Pi 400 thread!
Replies: 893
Views: 38645

Re: The Raspberry Pi 400 thread!

mrlinux2u wrote:
Tue Nov 03, 2020 1:25 pm
they're ideal for keeping out the dust and blocking off unused ports.
Wont they affect the cooling?
by jahboater
Tue Nov 03, 2020 10:39 am
Forum: General discussion
Topic: Raspberry Pi 400 vs Raspberry Pi 4 speed tests
Replies: 12
Views: 806

Re: Raspberry Pi 400 vs Raspberry Pi 4 speed tests

AndrewPiEater wrote:
Tue Nov 03, 2020 10:32 am
Thanks, I really want to run at the 1.8 speeds, will I need such a high overvoltage as Geerling Guy is using at 2.2?
I intend using the beta 64bit OS.
My Pi4 only needs over_voltage=2 to run at 1.8GHz.
by jahboater
Mon Nov 02, 2020 3:11 pm
Forum: General discussion
Topic: Is it recommended to turn off the Pi4 after use?
Replies: 10
Views: 433

Re: Is it recommended to turn off the Pi4 after use?

You will soon get bored with turning it on and off all the time :)
There should be very few writes to the SSD or SD if the system is idle.
I really would not worry about it.
All my Pi's in current use are left on 24/7 with never a problem.
by jahboater
Mon Nov 02, 2020 1:39 pm
Forum: Raspberry Pi 400
Topic: The Raspberry Pi 400 thread!
Replies: 893
Views: 38645

Re: The Raspberry Pi 400 thread!

kingosticks wrote:
Mon Nov 02, 2020 1:34 pm
You can make large power improvements with relatively little work by clock-gating wide internal data-buses. The gains entirely depend on the design.
I guess like Intel turning off the power to the unused portions of large registers.
by jahboater
Mon Nov 02, 2020 11:14 am
Forum: Raspberry Pi 400
Topic: The Raspberry Pi 400 thread!
Replies: 893
Views: 38645

Re: The Raspberry Pi 400 thread!

thatchunkylad198966 wrote:
Mon Nov 02, 2020 11:06 am
Sure, so that goes back to my original question though. an RPI4 with a heatsink should be able to handle 1.8ghz without a worry.
Why not just try it?
It costs nothing and will not hurt the Pi.
You will likely need over_voltage=2 for 1.8GHz
by jahboater
Mon Nov 02, 2020 11:02 am
Forum: Raspberry Pi 400
Topic: The Raspberry Pi 400 thread!
Replies: 893
Views: 38645

Re: The Raspberry Pi 400 thread!

As per the article, the Pi400 defaults to 1800. You can overclock it. See the Toms Hardware review. They overclocked it to 2.2GHz and remarkably it remained cool, with only a modest temperature rise compared to the stock speed. It seems like the built-in heatsink is very effective. Looking forward ...
by jahboater
Mon Nov 02, 2020 9:21 am
Forum: Beginners
Topic: *.sh file globally executable and more...
Replies: 32
Views: 922

Re: dir to put a *.sh file to make it globally exectuable

I would put it in /usr/local/bin but you will no doubt get various answers. Please see the standard: https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard You may simply copy the file in or use the "install" command, something like: install -C -o bin -g bin hello.sh /usr/local/bin Note that /u...
by jahboater
Sun Nov 01, 2020 11:20 am
Forum: Gentoo
Topic: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)
Replies: 551
Views: 165265

Re: Updated 64-bit Gentoo Image for RPi3 Released (now also for RPi3B+ and RPi4B)

joan wrote:
Sun Nov 01, 2020 10:09 am
You have been unfailingly courteous and kind.
+1
And obviously a truly brilliant engineer.

Your new employer is very lucky.

Best wishes for the future Sakaki.
by jahboater
Sat Oct 31, 2020 10:49 pm
Forum: General discussion
Topic: Raspberry Pi 4 Model B Not a 64 Bit ARM processor
Replies: 19
Views: 1049

Re: Raspberry Pi 4 Model B Not a 64 Bit ARM processor

i think arm64 made a lot of those floating point options into a single "fp" feature and removed a lot of options from the setup Yes, I think that's right. ARMv8 has NEON. It is mandated and not optional (and not a co-processor). Therefore all the fancy NEON FP stuff is always available. And GCC doe...
by jahboater
Sat Oct 31, 2020 5:12 pm
Forum: General discussion
Topic: Should I run fan all the time?
Replies: 21
Views: 547

Re: Should I run fan all the time?

rpdom wrote:
Sat Oct 31, 2020 3:28 pm
Infinity177 wrote:
Sat Oct 31, 2020 2:33 pm
Also I'm wondering how'd you know I'm from India?
Probably a guess because you are using a "PiBox India" fan.
Yes!
by jahboater
Sat Oct 31, 2020 12:37 pm
Forum: General discussion
Topic: Should I run fan all the time?
Replies: 21
Views: 547

Re: Should I run fan all the time?

Oh, I have connected it to pin 4 right now for high speed, should I use low speed or no? Why not try it and see? If at the high speed the temp remains below 80C and it doesn't throttle, then try the low fan speed. If it doesn't throttle at the low fan speed, then try without the fan. If it doesn't ...
by jahboater
Sat Oct 31, 2020 11:14 am
Forum: General discussion
Topic: Should I run fan all the time?
Replies: 21
Views: 547

Re: Should I run fan all the time?

This is a handy little script for watching temps and throttling. Run it in a terminal window while running the heaviest load possible. If "health" is not all zeros then it has throttled. #!/bin/bash Counter=14 DisplayHeader="Time Temp CPU Core Health Vcore PMIC" while true ; do let ++Counter if [ ${...
by jahboater
Sat Oct 31, 2020 10:55 am
Forum: General discussion
Topic: Should I run fan all the time?
Replies: 21
Views: 547

Re: Should I run fan all the time?

No need at all for a fan on the Pi4. None of my countless Pi's over the years have had a fan, nor come close to needing one. A silent Pi is obviously desirable for TV/video viewing. The worst that can happen is that it slows down due to overheating (throttling), in which case a simple stick on heats...
by jahboater
Fri Oct 30, 2020 11:14 pm
Forum: Beginners
Topic: Cannot Access to the internet on Pi using Ethernet cable
Replies: 19
Views: 693

Re: Cannot Access to the internet on Pi using Ethernet cable

Lastly i want to mention here that i couldn't access the "/etc" files unless i used the word "nano" in the command even after logging as a root user Some research is needed here. nano is a text editor. To view the files in /etc any program such as cat, more, less, vi, emacs etc would have done. "su...
by jahboater
Fri Oct 30, 2020 4:48 pm
Forum: Ubuntu
Topic: RaspberryPi 4 4GB vs. 8GB
Replies: 7
Views: 506

Re: RaspberryPi 4 4GB vs. 8GB

thatchunkylad198966 wrote:
Fri Oct 30, 2020 4:28 pm
Unless you just flashed the OS and just setting it up and nothing installed.
Raspberry Pi OS Lite with a few programs and libraries added - but nothing extra that is memory resident.

I presume its the "docker etc" you have installed that's using all the memory......
by jahboater
Fri Oct 30, 2020 11:46 am
Forum: Ubuntu
Topic: RaspberryPi 4 4GB vs. 8GB
Replies: 7
Views: 506

Re: RaspberryPi 4 4GB vs. 8GB

I currently use a raspberry pi 4 (4GB) for my NC. If I upgrade to the 8GB model will it much faster? Without knowing anything about your work its impossible to say. The following are just some general comments. Type "free -h" during your typical workload. My 2GB Pi4 looks like this: $ free -h total...
by jahboater
Thu Oct 29, 2020 8:52 pm
Forum: Beginners
Topic: Pi4 + HAT = overheating?
Replies: 3
Views: 126

Re: Pi4 + HAT = overheating?

I have a UnicornHD hat on one of my Pi4's.
No temperature problems of course.
Its running at the stock speed.
by jahboater
Thu Oct 29, 2020 11:05 am
Forum: C/C++
Topic: peek and poke for Raspberry Pi register manipulation
Replies: 63
Views: 2981

Re: peek and poke for Raspberry Pi register manipulation

Heater wrote:
Thu Oct 29, 2020 10:16 am
C says nothing about mmap,
Yes, its UNIX/MacOS/Linux specific.
Windows for example, uses CreateFileMapping() then MapViewOfFile().
by jahboater
Thu Oct 29, 2020 11:01 am
Forum: Raspberry Pi OS
Topic: Why is Raspberry pi OS so fragile?
Replies: 40
Views: 1569

Re: Why is Raspberry pi OS so fragile?

Just a question prompted by these two posts: Does writing to a network share also have to wait? Or is that done promptly? Good question. I don't know, hopefully someone else will. These days it does seem to be filesystem specific. For ext4 the flush rate is set by the commit=<secs> mount option (de...
by jahboater
Thu Oct 29, 2020 10:05 am
Forum: C/C++
Topic: peek and poke for Raspberry Pi register manipulation
Replies: 63
Views: 2981

Re: peek and poke for Raspberry Pi register manipulation

mmap() returns void* leaving the user to decide how to qualify it. So if I mmap a disk file, I do not need volatile, as long as I only need the file to be correct by program exit? If its MAP_PRIVATE and you are just reading the file, I cant see the need for volatile. This is quite common, for examp...
by jahboater
Thu Oct 29, 2020 9:44 am
Forum: C/C++
Topic: peek and poke for Raspberry Pi register manipulation
Replies: 63
Views: 2981

Re: peek and poke for Raspberry Pi register manipulation

I would think that in any system that implements mmap correctly, the compiler must understand it is not just a local array that can be optimized out. mmap() returns void* leaving the user to decide how to qualify it. Of course volatile is needed for memory mapped peripherals (probably why volatile ...
by jahboater
Thu Oct 29, 2020 8:28 am
Forum: C/C++
Topic: peek and poke for Raspberry Pi register manipulation
Replies: 63
Views: 2981

Re: peek and poke for Raspberry Pi register manipulation

Try -Wcast-qual

Code: Select all

try.c:11:7: error: cast discards 'volatile' qualifier from pointer target type: -Wcast-qual
11238 |  if( *(char*)p == '-' )
      |       ^
to save all the trouble.
Best never to ignore compiler warnings.
by jahboater
Wed Oct 28, 2020 11:32 pm
Forum: C/C++
Topic: peek and poke for Raspberry Pi register manipulation
Replies: 63
Views: 2981

Re: peek and poke for Raspberry Pi register manipulation

In case there really is an issue, please show some sequence of peek/poke (and if needed busybox devmem) to show the error -- otherwise poke.c is correct for what it does and how. The trouble with UB is that literally anything can happen. The program may crash, it may return incorrect results, it ma...

Go to advanced search