Go to advanced search

by jahboater
Mon Aug 20, 2018 4:55 pm
Forum: Beginners
Topic: Best performance sans heatsinks ?
Replies: 6
Views: 128

Re: Best performance sans heatsinks ?

O.K. for hers, but since I constantly change mine I prefer bare. For you then, try one of these: https://www.amazon.co.uk/Kintaro-Aluminum-Raspberry-Cooling-Heatsink/dp/B07CTSNZYK/ref=sr_1_3?ie=UTF8&qid=1534784048&sr=8-3&keywords=kintaro+heatsink Very effective. For use without a heat sink, take a ...
by jahboater
Mon Aug 20, 2018 6:39 am
Forum: Troubleshooting
Topic: Pi3B+ Running Hot?
Replies: 7
Views: 151

Re: Pi3B+ Running Hot?

Also note that many (most) cheap heatsinks marketed for the Pi computers only have double-sticky cellophane tape on them (not thermal tape), and that reduces heat transfer to the heatsink, compounding the problem. Thats one reason why I use this heat sink: https://www.amazon.co.uk/Kintaro-Aluminum-...
by jahboater
Sun Aug 19, 2018 9:02 pm
Forum: Troubleshooting
Topic: Pi3B+ Running Hot?
Replies: 7
Views: 151

Re: Pi3B+ Running Hot?

richx wrote:
Sun Aug 19, 2018 8:56 pm
Throttles from 1.4GHz to 1.2GHz at 60C
You can change that to 70C with

Code: Select all

temp_soft_limit=70
Mine idles at around 38C with a 26C ambient temperature.
Thats outside of a case with a good heat sink.
by jahboater
Fri Aug 17, 2018 3:54 pm
Forum: Off topic discussion
Topic: With software, there's always a better way to do it
Replies: 24
Views: 562

Re: With software, there's always a better way to do it

Today I saw this comment on SO : It is worth mentioning that in early 2018 the glibc devs spent a bunch of time replacing hand-written assembly implementations of math.h functions with C, because the compilers have caught up on those, and C is ever so much more maintainable. I knew they had improved...
by jahboater
Tue Aug 14, 2018 12:51 pm
Forum: Advanced users
Topic: Fan or heatsink for overclocking the pi3
Replies: 13
Views: 657

Re: Fan or heatsink for overclocking the pi3

I found this heat sink to be very effective: https://www.amazon.co.uk/Kintaro-Raspberry-Pi-heatsink-Model/dp/B07CTSNZYK/ref=sr_1_4?ie=UTF8&qid=1534250923&sr=8-4&keywords=kintaro+heatsink Its large, but low profile, and importantly because it is bolted on, it uses proper thermal paste instead if stic...
by jahboater
Tue Aug 14, 2018 12:46 pm
Forum: Advanced users
Topic: Fan or heatsink for overclocking the pi3
Replies: 13
Views: 657

Re: Fan or heatsink for overclocking the pi3

My Nespi has a 3B+ inside it OC'd to 1550Mhz CPU and 550Mhz GPU and never goes higher than 59 degrees c. I'm curious, have you ever actually reached those fogures in a real-world scenario? For example, does it run stable at 100% CPU use? Yeah I ran stress with 4 threads and GLXgears, while playing ...
by jahboater
Tue Aug 14, 2018 12:40 pm
Forum: Python
Topic: IDE For Python - Best One
Replies: 8
Views: 196

Re: IDE For Python - Best One

I suggest you focus on Python3 by the way ...
by jahboater
Tue Aug 14, 2018 12:17 pm
Forum: Python
Topic: IDE For Python - Best One
Replies: 8
Views: 196

Re: IDE For Python - Best One

dheerajtiwari wrote:
Tue Aug 14, 2018 12:03 pm
Finally, i wanted to start with Python programming and for that i need an IDE
No, you do not need an IDE at all to use Python ...

However, if you feel you need the support, then Raspbian comes with IDLE(3) and Thonny pre-installed.
by jahboater
Mon Aug 13, 2018 7:13 am
Forum: Other programming languages
Topic: BASH script to check for Pi hardware and/or Raspbian
Replies: 9
Views: 3964

Re: BASH script to check for Pi hardware and/or Raspbian

Slightly OT, but you might also be interested in:

/proc/device-tree/model

which provides the full model name as a NUL terminated string.

Code: Select all

[email protected]:~ $ cat /proc/device-tree/model
Raspberry Pi 3 Model B Plus Rev 1.3
by jahboater
Sat Aug 11, 2018 1:17 pm
Forum: C/C++
Topic: How do I debug stdin?
Replies: 12
Views: 277

Re: How do I debug stdin?

Quite right - I should have looked at the standard first too :( C17 says: Description 2 If stream points to an output stream or an update stream in which the most recent operation was not input, the fflush function causes any unwritten data for that stream to be delivered to the host environment to ...
by jahboater
Sat Aug 11, 2018 8:14 am
Forum: Troubleshooting
Topic: MicroSD card writes are extremely slow
Replies: 14
Views: 291

Re: MicroSD card writes are extremely slow

Consider also the "hdparm -t" benchmark.
You might need to install hdparm with sudo apt install
by jahboater
Sat Aug 11, 2018 8:08 am
Forum: Troubleshooting
Topic: MicroSD card writes are extremely slow
Replies: 14
Views: 291

Re: MicroSD card writes are extremely slow

You might need "conv=fsync" for dd?
and/or "iflag=direct" and "oflag=direct" to avoid cache effects.
the is also "oflag=sync" and "oflag=nocache"
Not sure how many of those you need :)
by jahboater
Sat Aug 11, 2018 8:00 am
Forum: Troubleshooting
Topic: MicroSD card writes are extremely slow
Replies: 14
Views: 291

Re: MicroSD card writes are extremely slow

Local copy of a movie file: pv src.mp4 > dst.mp4 160MiB 0:00:00 [ 210MiB/s] <---- Wow, that seems impossible based on published benchmarks. Since the local write seems so fast, I guess I was mistaken on the practical write speeds of large files. It seems to be just fine. In fact, this particular Mi...
by jahboater
Sat Aug 11, 2018 7:06 am
Forum: C/C++
Topic: How do I debug stdin?
Replies: 12
Views: 277

Re: How do I debug stdin?

Perhaps there is simply no stuff in the buffer waiting to be read. In which case fflush() would do nothing. Perhaps? But isn't it clear there *is* something in the buffer "('y\n"), both before and after fflush? I would expect both _IO_read_end and (for sure) _IO_read_ptr to point to same address as...
by jahboater
Sat Aug 11, 2018 6:18 am
Forum: C/C++
Topic: How do I debug stdin?
Replies: 12
Views: 277

Re: How do I debug stdin?

Perhaps there is simply no stuff in the buffer waiting to be read.
In which case fflush() would do nothing.
by jahboater
Sat Aug 11, 2018 6:13 am
Forum: Other
Topic: Tutorial: How to install Ubuntu 18.04 for ARM64 on Raspberry Pi 3B
Replies: 10
Views: 469

Re: How to install Ubuntu 18.04 for ARM64 on Raspberry Pi 3B

Its complaining about my compiler ..... $ make CROSS_COMPILE=aarch64-linux-gnu- scripts/kconfig/conf --syncconfig Kconfig CHK include/config.h UPD include/config.h CFG u-boot.cfg GEN include/autoconf.mk GEN include/autoconf.mk.dep *** Your GCC is older than 6.0 and is not supported arch/arm/config.m...
by jahboater
Fri Aug 10, 2018 11:39 pm
Forum: C/C++
Topic: How do I debug stdin?
Replies: 12
Views: 277

Re: How do I debug stdin?

If someone can tell me how to view stdin in gdb, I would also very much like to know. I have tried 'print stdin, but it just return this: (gdb) print stdin $1 = (struct _IO_FILE *) 0x76f9d640 <_IO_2_1_stdin_> and I don't know how to get a readable value out of that... stdin is a pointer to a struct...
by jahboater
Fri Aug 10, 2018 11:38 pm
Forum: C/C++
Topic: How do I debug stdin?
Replies: 12
Views: 277

Re: How do I debug stdin?

If someone can tell me how to view stdin in gdb, I would also very much like to know. I have tried 'print stdin, but it just return this: (gdb) print stdin $1 = (struct _IO_FILE *) 0x76f9d640 <_IO_2_1_stdin_> and I don't know how to get a readable value out of that... stdin is a pointer to a struct...
by jahboater
Fri Aug 10, 2018 7:38 pm
Forum: Advanced users
Topic: Throttling
Replies: 7
Views: 210

Re: Throttling

Throttling events are recorded, try ... vcgencmd get_throttled If non-zero, the bits in the hex number returned may interpreted as: 1010000000000000101 <- 19 bits rpi 3b+ ||| |||_ under-voltage ||| ||_ currently throttled ||| |_ arm frequency capped |||_ under-voltage has occurred since last reboot ...
by jahboater
Fri Aug 10, 2018 4:49 pm
Forum: C/C++
Topic: How do I debug stdin?
Replies: 12
Views: 277

Re: How do I debug stdin?

I suspect mixing fgetc and getline is confusing things. Does this do what you want ? I simplified it a little (there is no need to keep mallocing/freeing the buffer every time). #include <stdlib.h> #include <stdio.h> static char *tmp_string = NULL; static size_t tmp_len = 50; void search_word() { pr...
by jahboater
Fri Aug 10, 2018 9:59 am
Forum: Other
Topic: Tutorial: How to install Ubuntu 18.04 for ARM64 on Raspberry Pi 3B
Replies: 10
Views: 469

Re: How to install Ubuntu 18.04 for ARM64 on Raspberry Pi 3B

Does this work for the new Pi3B+ ?
by jahboater
Fri Aug 10, 2018 9:09 am
Forum: Troubleshooting
Topic: MicroSD card writes are extremely slow
Replies: 14
Views: 291

Re: MicroSD card writes are extremely slow

Try one of the new A1 class SD cards:- https://www.amazon.co.uk/SanDisk-microSDXC-Memory-Adapter-Performance/dp/B073JYC4XM/ref=sr_1_2?ie=UTF8&qid=1533891912&sr=8-2&keywords=A1%2Bapp%2Bclass&th=1 These are designed specifically for fast random reads/writes in a computer/phone - unlike older cards tha...
by jahboater
Thu Aug 09, 2018 5:57 pm
Forum: Other
Topic: Tutorial: How to install Ubuntu 18.04 for ARM64 on Raspberry Pi 3B
Replies: 10
Views: 469

Re: How to install Ubuntu 18.04 for ARM64 on Raspberry Pi 3B

Many thanks for this well written tutorial.
I'll try it ASAP.
by jahboater
Thu Aug 09, 2018 6:55 am
Forum: General discussion
Topic: Aluminium Heatsink vs Copper Heatsink vs Copper Heatsink with Fan
Replies: 28
Views: 2149

Re: Aluminium Heatsink vs Copper Heatsink vs Copper Heatsink with Fan

My favorite heat sink for the 3B+ is now this:- https://www.amazon.co.uk/Kintaro-Raspberry-Pi-heatsink-Model/dp/B07CTSNZYK/ref=sr_1_2?ie=UTF8&qid=1533797148&sr=8-2&keywords=kintaro+raspberry+pi+3+heatsink With the Kintaro heat sink, throttling simply never happens under any normal workload. For exam...
by jahboater
Tue Aug 07, 2018 6:46 pm
Forum: Other projects
Topic: How do I write a Raspberry Pi 3 operating system in C#?
Replies: 6
Views: 407

Re: How do I write a Raspberry Pi 3 operating system in C#?

Ethangamerin2016 wrote:
Tue Aug 07, 2018 5:15 pm
I am wanting to make a full linux distro.
Here is one thats already been written for you and is open source, so you are free to read and study it:
https://www.kernel.org/

Go to advanced search