Go to advanced search

by jahboater
Sun Feb 07, 2016 9:48 pm
Forum: Beginners
Topic: Find IP when headless.
Replies: 6
Views: 1148

Re: Find IP when headless.

or try something like:- sudo nmap -sn 192.168.0.*/24 The traditional Pi's with ethernet show the Foundation name, the Zero has a separate USB ethernet adaptor. Nmap scan report for pi2 (192.168.0.80) Host is up (-0.096s latency). MAC Address: B8:27:EB:D1:4D:D8 (Raspberry Pi Foundation) Nmap scan rep...
by jahboater
Sun Feb 07, 2016 8:56 am
Forum: Troubleshooting
Topic: OOM compiling on pi2b
Replies: 4
Views: 764

Re: OOM compiling on pi2b

Make sure you are using "make" or "make -j1" rather than "make -j4" in the build. It will take longer but use a lot less memory.

I just use an old or cheap SD card and don't worry swap hammering it.
by jahboater
Sat Feb 06, 2016 9:26 am
Forum: Troubleshooting
Topic: SD Card Resizes after installing Raspian OS
Replies: 6
Views: 701

Re: SD Card Resizes after installing Raspian OS

SSH is enabled by default on Raspbian so you can always use something like "scp" to copy files across.
by jahboater
Sat Feb 06, 2016 8:50 am
Forum: General discussion
Topic: Best High Capacity Battery?
Replies: 8
Views: 1189

Re: Best High Capacity Battery?

When you turn off the pi with a system shutdown, can you just press the button to start it up again? Or do you need to unplug it and plug it back in? You need to unplug and plug it back in. I tried "sudo poweroff" as well as "sudo halt" and both sockets on the battery. Running Jessie, so its system...
by jahboater
Sat Feb 06, 2016 1:56 am
Forum: General discussion
Topic: Best High Capacity Battery?
Replies: 8
Views: 1189

Re: Best High Capacity Battery?

This might sound like a weird question, but does it have a power button that signals for it to start dishing out juice, or does it start whenever any USB device is plugged in?
The answer is both! Just plug the Pi in and it powers up. But there is a button on top as well.
by jahboater
Fri Feb 05, 2016 5:50 pm
Forum: General discussion
Topic: Best High Capacity Battery?
Replies: 8
Views: 1189

Re: Best High Capacity Battery?

I have a ravpower 16,000mah that works fine with a Pi2. Edit: that was a modestly overclocked 1GHz pi2, I just tried the ravpower with a standard Pi Zero (with a USB ethernet adapter)and its booted fine. Edit2: that was the 2,4A socket, I have now tried the 2.1A "smart" usb socket and that works OK ...
by jahboater
Fri Feb 05, 2016 5:06 pm
Forum: General discussion
Topic: Just got my first RPi2.
Replies: 13
Views: 1595

Re: Just got my first RPi2.

Could you give me an example of where the ARMv7 instruction set would benefit the core of RISC OS? All of the core stuff is pretty much integer only, and very little that does a repeated operation on multiple data elements. So for the OS itself I do not see the advantage, with very few exceptions. ...
by jahboater
Thu Feb 04, 2016 5:01 pm
Forum: Advanced users
Topic: GPIO level twilight zone
Replies: 5
Views: 748

Re: GPIO level twilight zone

I saw "you can configure the input gate to act as a Schmitt trigger". Maybe its not the default.
Looks like you can switch hysteresis on and off as well.
I've no idea how any of this is done.
by jahboater
Thu Feb 04, 2016 4:29 pm
Forum: Advanced users
Topic: GPIO level twilight zone
Replies: 5
Views: 748

Re: GPIO level twilight zone

Could a schmitt trigger help?
by jahboater
Thu Feb 04, 2016 4:20 pm
Forum: Beginners
Topic: How to detect corrupted file system
Replies: 5
Views: 1157

Re: How to detect corrupted file system

You probably want fsck (man fsck for details).
For boot messages try dmesg
by jahboater
Thu Feb 04, 2016 12:46 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 585562

Re: Overclocking

Yes. If sdram_freq>450 on Pi2 we disable the part of PVT that caused overclock issues, and we also bump over_voltage_sdram_p to 2 which helps a little. You may want to bump that voltage a little more if you are going above 500. It does work perfectly, rock solid. Thanks again! Perhaps the raspi-con...
by jahboater
Thu Feb 04, 2016 12:16 pm
Forum: General discussion
Topic: Just got my first RPi2.
Replies: 13
Views: 1595

Re: Just got my first RPi2.

Of course you are correct that Thumb is a subset of ARM, and Thumb2 a slight extension of Thumb. Though Thumb uses a 16 bit instruction word, and eliminates many of the advantages of the ARM ISA, such as almost all ARM instructions are conditional, not so with Thumb, as wall as a few other things T...
by jahboater
Wed Feb 03, 2016 11:09 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 585562

Re: Overclocking

Hi Dom, Thanks for doing all this, its really appreciated. Interesting. I've done some digging and found the part of disable_pvt that seems to help. Can you test this firmware: https://dl.dropboxusercontent.com/u/366 ... e_pvt2.zip Does this firmware version from rpi-update also include the above di...
by jahboater
Wed Feb 03, 2016 10:05 am
Forum: General discussion
Topic: Compiling on the Pi
Replies: 6
Views: 854

Re: Compiling on the Pi

Also another little question. Does the Raspbian allow compiling out of the box or should I install additional packages?
Yes, it comes with support included for the common languages and others are easily installed.
The Pi is 32-bit by the way.
by jahboater
Wed Feb 03, 2016 9:49 am
Forum: Beginners
Topic: Everything is a file?
Replies: 15
Views: 1721

Re: Everything is a file?

And get disk information from /proc/diskstats
by jahboater
Wed Feb 03, 2016 8:52 am
Forum: General discussion
Topic: Just got my first RPi2.
Replies: 13
Views: 1595

Re: Just got my first RPi2.

And some of those are extensions, not ARM (NEON, thumb/thumb2). I don't think thumb2 is an extension, some v7 processors (the Cortex-M series) support thumb2 only. If you are using UAL which people should be now, it doesn't matter anyway. RISC OS does not use them either. That's sad, there is a rea...
by jahboater
Tue Feb 02, 2016 11:28 am
Forum: General discussion
Topic: Just bought my second Pi 2
Replies: 13
Views: 2270

Re: Just bought my second Pi 2

Adrianfu wrote:Ok its the start of an adiction
Interference in only on AM radio and my HF radio gear
Four Pi2's, two Pi Zero's, two B+, one B - older ones given away to schools.
Perhaps the interference is down to the switching regulators?
by jahboater
Tue Feb 02, 2016 9:36 am
Forum: General discussion
Topic: Just got my first RPi2.
Replies: 13
Views: 1595

Re: Just got my first RPi2.

Its more than that:- It has NEON which is a very fast SIMD instruction set (NEON does integer arithmetic too - including 64-bit). It has full 16-bit immediate operands for MOV and the new MOVT (two insns for a 32-bit register load) It has ARM hardware integer division instructions (SDIV and UDIV) It...
by jahboater
Sun Jan 31, 2016 1:39 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 585562

Re: Overclocking

The thing is, if you need "vcgencmd schmoo" to make your RAM stable, it's entirely possible the system won't make it as far as /etc/rc.local or /storage/.config/autostart.sh etc. before crashing due to sdram issues...
Agreed.
The thermal inertia of a heatsink might help during the boot.
by jahboater
Sun Jan 31, 2016 1:12 pm
Forum: Advanced users
Topic: Overclocking
Replies: 1125
Views: 585562

Re: Overclocking

I added vcgencmd only, to /etc/rc.local.
I don't use force turbo, so I think the ondemand governor will change the frequencies the first time you run a cpu intensive command (and if you never run such a command, you don't need the overclock!)
by jahboater
Sun Jan 31, 2016 10:36 am
Forum: Advanced users
Topic: pigpio vs. wiringpi
Replies: 5
Views: 5776

Re: pigpio vs. wiringpi

There must be some advantage for using one over the other (speed, efficiency, memory footprint, etc.). Why don't you just try all three libraries for something simple at first and see how you get on? Perhaps do some measurements. Joan is a frequent, and obviously highly knowledgeable, contributor t...
by jahboater
Sun Jan 31, 2016 9:54 am
Forum: C/C++
Topic: gcc5 repository
Replies: 10
Views: 5145

Re: gcc5 repository

I added:- --disable-softfloat \ --enable-languages=c to try and speed things up a little, which may reduce the swap needed, I don't know. The configure in your build instructions looks better ../gcc-src/configure -v --enable-languages=c,c++ \ --prefix=/usr/local/gcc-5.3 --with-arch=armv7-a \ --with-...
by jahboater
Sat Jan 30, 2016 6:19 pm
Forum: C/C++
Topic: gcc5 repository
Replies: 10
Views: 5145

Re: gcc5 repository

My recollection is a that few hours means about 8 when compiling on the Pi 2B. Note that you will need a 2 GB swap file for the compilation to finish. It all depends on how long you have - "make" or "make -j1" will take nearly two days, but will succeed without any extra swap space. As you increase...
by jahboater
Fri Jan 29, 2016 1:12 pm
Forum: C/C++
Topic: gcc5 repository
Replies: 10
Views: 5145

Re: gcc5 repository

I use GCC 5.3 on the Pi2.
I don't think you can get it from the repositories.
You will have to build it yourself which takes a few hours!
by jahboater
Fri Jan 29, 2016 9:41 am
Forum: Other projects
Topic: R Pi 2 case
Replies: 4
Views: 1286

Re: R Pi 2 case

What does this box actually cool. They refer to the "chipset" ?? do they mean the sdram chip I wonder. There are three issues:- 1) damage or reduced longevity due to overheating This is a non-issue. The RPF have had no Pi's returned due to over heat damage. The chip is very robust. The expected life...

Go to advanced search